Import document to the website > nested tables are not displayed and nowhere to be found

As per #94 I have imported a pre-existing document to the website
The table wrk in that document was nested under all in the left sidebar
When imported into the website, the document does not display the wrk table any longer in the left sidebar
However, the table is still active as it is referenced in other tables

Question: How do I display the table wrk again?

Not really: wrk is not displayed any longer. In fact, what happens is that all first quotations of each table were transferred but not the subsequent ones.
In my case (if you wish I can privately provide the original document):

the first quotation of the wrk table, in a page where it was compounded with a linked table
but the other (plain) quotation of wrk has disappeared

I think it is a recurrent behavior as it also happened with yet another table in the same document.

That sounds strange, I don't understand it yet. I'm<EMAIL_ADDRESS>if you're willing to grant access; or alternatively screenshots could help.

I just sent you the zipped original document on your email address.
When you have time, import the document on the website and you'll no doubt withness the weird behavior.

Thank you! For that document, I see:

Two tables, All and ByContext.
A column called wrk in the table All that is a reference column, referring to the dsc column of the ByContext table.
Two pages, called all and byContext.

I think I see some page nesting that didn't survive. You can nest the byContext page within the all page by grabbing the || handle to the right of the byContext page when hovering over it, and then dropping it on the all page https://support.getgrist.com/page-widgets/#pages
I don't see a wrk table in the .grist file. You can list tables in a .grist files without using Grist itself, if you have the sqlite3 utility - just list tables with .tables and ignore all the _grist ones:
$ sqlite3 tp*.grist .tables
All                            _grist_TableViews
ByContext                      _grist_Tables
_grist_ACLMemberships          _grist_Tables_column
_grist_ACLPrincipals           _grist_Validations
_grist_ACLResources            _grist_Views
_grist_ACLRules                _grist_Views_section
_grist_Attachments             _grist_Views_section_field
_grist_DocInfo                 _gristsys_Action
_grist_External_database       _gristsys_ActionHistory
_grist_External_table          _gristsys_ActionHistoryBranch
_grist_Imports                 _gristsys_Action_step
_grist_Pages                   _gristsys_FileInfo
_grist_REPL_Hist               _gristsys_Files
_grist_TabBar                  _gristsys_PluginData
_grist_TabItems

I feel like we might be using terminology differently. Could you tell me more about the other (plain) quotation of wrk has disappeared?

Hi Paul, thanks for the answer.
As a general rule when creating a new document on Grist, here is what I do:

I create the main table -- in this case: tdo (it is a debugging todo list), which is now all
I create all secondary reference tables and nest them under the main table -- here there was only one, wrk
then I create one or more dashboards linking the tables together -- in this case there was only one which is byContext: it allows me to visualize the tasks for each work plan.

Frankly this is not a big deal as the tables still exist.
I must admit being more worried about the docker images...

I'm not sure if it is related to your issue, but the relationship between pages and tables is currently confusing, with the first page created for a table playing a special, non-intuitive role. There's a task on our roadmap to disentangle that https://github.com/gristlabs/grist-core/issues/39. We're just starting to work on it now as it happens. It may not help you, but it should simplify the relationship between pages and tables.

I had indeed noticed that. For database newbies, this could however make sense: you begin by the most important/numerous records in what you have to manage...


AWSIOT client keeps connecting and disconnecting.

I have just implemented aws-iot-device-sdk-java in my android app but the client keeps connecting and disconnecting.
        try {
            LOGGER.severe("I am trying to connect now...");

            awsIotClient.connect();

            LOGGER.severe("I am subscribing now...");
            awsIotClient.subscribe(new TopicListener(topicIn, topicQOS), false);
            LOGGER.fine("Subscribed to topic " + topicIn);

        } catch (AWSIotException e) {
            LOGGER.severe("Failed to connect to Iot and subscribe to Topic " + topicIn);
        }

My logs:
2020-03-04 15:31:35.764 28801-28843/com.example.myapplication I/AwsIotConnection: Connection temporarily lost
2020-03-04 15:31:35.765 28801-28843/com.example.myapplication I/AbstractAwsIotClient: Client connection lost: DragosClient
2020-03-04 15:31:38.768 28801-28843/com.example.myapplication I/AwsIotConnection: Connection is being retried
2020-03-04 15:31:38.981 28801-28843/com.example.myapplication I/AwsIotConnection: Connection successfully established
2020-03-04 15:31:38.982 28801-28843/com.example.myapplication I/AbstractAwsIotClient: Client connection active: DragosClient
2020-03-04 15:31:42.090 28801-28843/com.example.myapplication I/AwsIotConnection: Connection temporarily lost
2020-03-04 15:31:42.090 28801-28843/com.example.myapplication I/AbstractAwsIotClient: Client connection lost: DragosClient
2020-03-04 15:31:45.092 28801-28843/com.example.myapplication I/AwsIotConnection: Connection is being retried
2020-03-04 15:31:45.366 28801-28843/com.example.myapplication I/AwsIotConnection: Connection successfully established
2020-03-04 15:31:45.366 28801-28843/com.example.myapplication I/AbstractAwsIotClient: Client connection active: DragosClient

What are the possible causes?
I can't seem to touch connect any way as its protected, and I can only assume that the awsIot client is working as it can at least connect successfully for a few seconds.

The issue was because I had another instance running in a terminal I forgot about.


Wiki Display Creature Stats and Spells

Display repo of all creature stats when clicking on creature information
API to gell creature Information:
https://www.dnd5eapi.co/
additionaL info:
https://www.5esrd.com/
https://improvedinitiative.app/e/

Do you know obsidian? There is a plugin called fantasy stat blocks, maybe we can adapt this ?


Synthetic antibodies and MiAIRR

@bussec and I have been having a discussion with a colleague around synthetic antibiody data and which fields would be nullable (related to #96). I wanted to capture this in an AIRR issue rather than in the email thread. I think the nullable part has been agreed, it is more around the definition and examples where discussion is ongoing.
Currently, the fields being discussed (and in particular their meaning for synthetic antibody data) are:
synthetic:
organism:
sample_type:
single_cell:
cell_storage:
template_class:
library_generation_method:
complete_sequences:
physical_linkage:
Other than some example clarification, the current fields where discussion is ongoing are:
sample_type
physical linkage
@bussec I think that is where our email conversation had ended, correct me if I am wrong, and if you think you have closure on this then you can close the issue. I thought there were a couple of outstanding thinks on the last two that still needed clarification?

@bcorrie, IMO the remaining issues are only misunderstandings, not general problems that would prevent the annotation of phage library repertoire data. We would probably need the following additions/clarifications:

organism: We assume that every phage library is somehow a derived from V and J segments that exist in some vertebrate species. This field should encode this species. Importantly, it MUST NOT encode the phage vector, the bacterial host or comparable biological components of the library system.

sample_type: Our previous assumption was that this field describes  the mode of sampling from an organism. For phage libraries we need to include additional terms into the vocabulary, e.g. for whole culture, affinity-selected phages or flow-through.

physical_linkage: Typically phage libraries use scFv format for display, i.e. constructs that encode both the IG heavy and light domains in a single polypeptide, separated by some type of Gly{3,4}Ser spacer. As this constitutes a physical linkage within the construct we need to introduce a term for this.

Closed via #319.


Update SwiftSyntax to 508

Fixes issues building with Xcode 14.3
Attempting to use bartycrouch via Mint would error with:
/private/var/folders/sv/knvktwjn467cm25718rm22mc0000gq/T/mint/github.com_FlineDev_BartyCrouch/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxParser.swift:17:8: error: no such module '_InternalSwiftSyntaxParser'

Cloning this repo and attempting to build with swift build --product bartycrouch had the same result.
Updating SwiftSyntax resolved this.

@alexdeem Thank you for this, looking good. Merging. 🎉


Testing, please ignore. (jetnoy)

Bug bounty test - please ignore.... Please DO NOT APPROVE THIS! (jetnoy)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.juaquinlarendo seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Fix encoding wb.WBProps.CodeName

Without this fix does not work macros in Excel in the national language.

This looks good.  Can you give an example of a real non-ASCII code name so we can use in a test?  For example, using 本工作簿, the following test fails against HEAD but passes with your changes:
var wb = XLSX.utils.book_new();
var ws = XLSX.utils.aoa_to_sheet([[1]]);
XLSX.utils.book_append_sheet(wb, ws, "Sheet1");
wb.Workbook = { WBProps: { CodeName: "本工作簿" } };
var bstr = XLSX.write(wb, {type: "binary", bookType:"xlsx"});
var nwb = XLSX.read(bstr, {type: "binary"});
assert.equal(nwb.Workbook.WBProps.CodeName, wb.Workbook.WBProps.CodeName);

In my case, the Cyrillic alphabet is used and the CodeName will be equal to ЭтаКнига.
var wb = XLSX.utils.book_new();
var ws = XLSX.utils.aoa_to_sheet([[1]]);
XLSX.utils.book_append_sheet(wb, ws, "Sheet1");
wb.Workbook = { WBProps: { CodeName: "ЭтаКнига" } };
var bstr = XLSX.write(wb, {type: "binary", bookType:"xlsx"});
var nwb = XLSX.read(bstr, {type: "binary"});
assert.equal(nwb.Workbook.WBProps.CodeName, wb.Workbook.WBProps.CodeName);


Left join doesn't return List instead returns null

I have two entities,
@Entity(
  tableName: "Articles",)
class Article {
  @primaryKey
  int? id;
  String? categoryIds;
  String? mediaType;
  String? title;
  String? image;
  String? video;
  String? publishedOn;
  String? url;}

and
@Entity(
tableName: "ArticleBookmark", foreignKeys: [
  ForeignKey(
      entity: Article,
      parentColumns: ["id"],
      childColumns: ["articleId"],
      onDelete: ForeignKeyAction.cascade,
      onUpdate: ForeignKeyAction.noAction)
], indices: [
  Index(value: ["articleId"])
])
class ArticleBookmark {
  @primaryKey
  int? articleId;
  bool isBookmark = false;

  ArticleBookmark({
    this.articleId,
    this.isBookmark = false,
  });
}

I Want to fetch the values of both the tables in another object(ArticleDetail) which isn't an entity.
ArticleDetails as follows:
class ArticleDetail {
  late Article article;
  late ArticleBookmark articleBookmark;

  ArticleDetail.name({required this.article, required this.articleBookmark});

}

I am using this following Query:
@Query('SELECT Articles.*, ArticleBookmark.* from Articles LEFT JOIN ArticleBookmark on Articles.id = ArticleBookmark.articleId ORDER BY dateCreated DESC') Future<List<ArticleDetail>?> getAllArticleItems();
The List returned by getAllArticleItems() method comes out to be null.
Please suggest, how can I use Left join to fetch the value from two entities and consolidate it together in a single object.

Would this be something that view can resolve?
https://pinchbv.github.io/floor/database-views/


Setting dropdown z-index

I have an autocomplete directive within a div that has a vertical scroll bar. When the dropdown appears, it is shown within the div and partially hidden.
I tried to change the z-index of the dropdown like this:
.angucomplete-dropdown {
z-index: 9999;
}
but it has no effect, the dropdown is still hidden. Any ideas? thanks.

It sounds like you need to tinker with overflow on your container div.

this is the css of the container div, the div has a scrollbar, what should I change?
.container {
height: 100px;
overflow-y: scroll;
}

Actually, this is a rather difficult problem.
My advise would be either:

revisit your design and don't make the parent container have a scroll
try some of the techniques from stack overflow, for example http://stackoverflow.com/questions/24301400/displaying-an-element-outside-overflow-hidden-container

any solution for this problem?

any solution for this problem?

any solution for this problem?

any solution for this problem????


Type inference

class A {
    x: number;
}
class B {
    y: number;
}

function fn<T, U>(x: T & U, y: T) { }

type T = A;
type U = B;
var x: T & U;
var y: T;

fn<T,U>(x, y); // fn(x:A&B, y:A)
fn(x, y);// fn(x:A, y:A)

I expected that the first and second call expressions above will resolve the same call signature.
Is it possibly to expect it to be implemented in the future?
Below example works:
function fn(x: A & B, y: A): string;
function fn(x: A, y: A):number;
function fn():string|number{
    return "";
}

var x: A & B;
var y: A;

//it works as expected
fn(x, y);//string
fn(y, y);//number

here is a simpler example:
function fn<T, U>(x: T & U) { }
var x: A & B;
fn(x);// T: {}, U: {}

The compiler tries to infer to T & U  from A & B but find no way to dive deeper into the intersection since there is no way to know how to split the input.. there is no reason why T should be A and U should be B instead of say T -> {}, U -> A & B, or  T -> A&B, U -> {}, or all other possible combinations in the middle.
If one of two types is shared in the input, i.e.:
function fn<T>(x: A & T) { }
var x: A & B;
fn(x);// T: B

then the compiler has a indication to how to infer to T.
the bottom line is type inference just a pattern matching exercise, and it needs enough similarity between source and target to make the desired inferences.

@mhegazy thanks, I understand that it is working as intended but my question (rephrase it) was about why isn't  possibly to dive deeper?
I expanded your case:
function fn<T, U>(x: A & U & T) { }
var x: A & B & C;
fn(x);// T: B

We have the same problem.
Type script now can solve equations with only the one unknown variable.
Why don't we try to do simply assumption.
If x has type A&B we can substitute it with T&U.
If, for example, first argument x has type A&B|C&D and first parameter annotation is T&U|M&N or T&M|T&N or all other combinations that has the same pattern x&x|x&x then substitute it with corresponding types, and try next parameter.
We don't need to solve, say, linear equations.
If we can't infer all parameter types with one pass substituting in simply manner then apply the standard inference approach.
More elaborate example:
function f1<T, U, P>(x: T & (U | P), y: U | P, z: P);
function f2<T, U, P>(z: P, y: U | P, x: T & (U | P));

var x: A & (B | C);
var y: B | C;
var z: C;

f1(x, y, z); //pass
f2(z, y, x); //pass


Calling AGS does nothing

Describe the bug
A clear and concise description of what the bug is.
I've just installed HyprPanel following the instructions. When I launch ags in bash, it doesn't start hyprpanel.
To Reproduce
Steps to reproduce the behavior:
Calling AGS using bash after a fresh installation :
10:48:57 | user@arch:~$ ags
Scaffolding CLI tool for Astal+TypeScript projects.

Usage:
  ags [command]

Available Commands:
  run         Run an app
  request     Send a request to an instance
  list        List running instances
  inspect     Open up Gtk debug tool
  toggle      Toggle visibility of a Window
  quit        Quit an instances
  types       Generate TypeScript types
  bundle      Bundle an app
  init        Initialize a project directory
  help        Help about any command

Flags:
  -h, --help      help for ags
  -v, --version   version for ags

Use "ags [command] --help" for more information about a command.

Expected behavior
A clear and concise description of what you expected to happen.
I expect ags to start HyprPanel, as mentioned in the documentation.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

Distribution: [e.g. Arch Linux] : Arch Linux
Window Manager/Desktop Environment: [e.g. Hyprland] : Hyprland

Additional context
Add any other context about the problem here.
My .config/ags directory content :
10:52:36 | user@arch:~$ ls .config/ags
total 424K
drwxr-xr-x  17 user user 4.0K Nov 14 10:52 .
drwx------  69 user user 4.0K Nov 14 10:41 ..
drwxr-xr-x   3 user user 4.0K Nov 14 10:41 assets
drwxr-xr-x  13 user user 4.0K Nov 14 10:41 customModules
drwxr-xr-x   3 user user 4.0K Nov 14 10:41 external
drwxr-xr-x   8 user user 4.0K Nov 14 10:41 .git
drwxr-xr-x   4 user user 4.0K Nov 14 10:41 .github
drwxr-xr-x   2 user user 4.0K Nov 14 10:41 globals
drwxr-xr-x   5 user user 4.0K Nov 14 10:41 lib
drwxr-xr-x   8 user user 4.0K Nov 14 10:41 modules
drwxr-xr-x   2 user user 4.0K Nov 14 10:41 nix
drwxr-xr-x 203 user user  12K Nov 14 10:42 node_modules
drwxr-xr-x   2 user user 4.0K Nov 14 10:41 scripts
drwxr-xr-x   3 user user 4.0K Nov 14 10:41 scss
drwxr-xr-x   3 user user 4.0K Nov 14 10:41 services
drwxr-xr-x   2 user user 4.0K Nov 14 10:41 themes
drwxr-xr-x   3 user user 4.0K Nov 14 10:41 widget
-rwxrwxrwx   1 user user  91K Nov 14 10:42 bun.lockb
-rw-r--r--   1 user user 1.4K Nov 14 10:41 config.js
-rw-r--r--   1 user user 1.4K Nov 14 10:41 directoryMonitorService.ts
-rw-r--r--   1 user user   19 Nov 14 10:41 .eslintignore
-rw-r--r--   1 user user  914 Nov 14 10:41 .eslintrc.js
-rw-r--r--   1 user user 1.9K Nov 14 10:41 flake.lock
-rw-r--r--   1 user user 2.4K Nov 14 10:41 flake.nix
-rw-r--r--   1 user user   27 Nov 14 10:41 .gitignore
-rw-r--r--   1 user user  113 Nov 14 10:41 .gitmodules
-rw-r--r--   1 user user  520 Nov 14 10:41 globals.d.ts
lrwxrwxrwx   1 user user   11 Nov 14 10:52 HyprPanel -> ./HyprPanel
-rwxr-xr-x   1 user user  649 Nov 14 10:41 install_fonts.sh
-rw-r--r--   1 user user 1.1K Nov 14 10:41 LICENSE
-rw-r--r--   1 user user 2.0K Nov 14 10:41 main.ts
-rw-r--r--   1 user user  50K Nov 14 10:41 options.ts
-rw-r--r--   1 user user  862 Nov 14 10:41 package.json
-rw-r--r--   1 user user 127K Nov 14 10:41 package-lock.json
-rw-r--r--   1 user user   27 Nov 14 10:41 .prettierignore
-rw-r--r--   1 user user  138 Nov 14 10:41 .prettierrc
-rw-r--r--   1 user user 8.6K Nov 14 10:41 README.md
-rw-r--r--   1 user user  555 Nov 14 10:41 tsconfig.json
lrwxrwxrwx   1 user user   37 Nov 14 10:41 types -> /usr/share/com.github.Aylur.ags/types

I believe this is because of v2 release of ags
Release

@monstaflame Can you please run git pull to get the latest version of Hyprpanel and following this FAQ section: https://hyprpanel.com/help/faq.html#help-i-upgrade-to-ags-v2-and-now-i-can-t-start-hyprpanel

@monstaflame Can you please run git pull to get the latest version of Hyprpanel and following this FAQ section: https://hyprpanel.com/help/faq.html#help-i-upgrade-to-ags-v2-and-now-i-can-t-start-hyprpanel

Verified, works

It worked ! Thanks for your quick response :D Feel free to close this issue.

Update: I followed the main page: https://hyprpanel.com/getting_started/installation.html#ags-v2 where nothing is written, that we now should use agsv1. Now it works.


bmap-tools: Don't test, as tests fail on hydra

e.g: https://hydra.nixos.org/build/126796743/nixlog/1/tail
Interestingly, this was supposed to be fixed by upstream at https://github.com/intel/bmap-tools/pull/16, and 3.4 which we use is supposed to include that patch.
cc @NixOS/nixos-release-managers

Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

thx :sparkles:


Integrating a bot into an existing .net application

Hello guys, i have been working with the bot framework for a few weeks now and have made a stand alone example on how we can use the bot in our current .net application. Now i am trying to integrate it into our current app, but it seems i am having some issues, since our app requires us to authenticate in order to gain access to the website. I am trying to figure out how i can host the bot and the application side by side so i can access our current app's methods and functions using the bot. Has anyone here done something like this or anyone have any insight on what's a good way of doing that?

@msft-shahins can you help with this?

Hi @samskhan, our Direct Line API is designed to allow you to easily embed your bot within an existing mobile application, a desktop application, or a web page. Since you're using .Net, you can use our Direct Line client directly from nuget: https://www.nuget.org/packages/Microsoft.Bot.Connector.DirectLine
Direct Line has a key/token mechanism so you can secure your bot within a client application.
Let me know if you've got any questions. Thanks!

Please at-mention or file a new issue if you'd like to discuss further. Thanks


param store refactor

Description of changes
Refactor the parameterManager into a standalone component, and out of the stackManager component. This is to facilitate creating code-based parameters for the CDK construct (since we don't want to actually invoke or add new parameters to the top-level CDK managed stack on customer behalf).
This does not add the new behavior yet, simply a refactor of the existing system.
CDK / CloudFormation Parameters Changed
N/A
Issue #, if available
N/A
Description of how you validated changes
Unit tests
Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The CI failure seems to be incorrect, looking into why it failed.


Norwegian keyboard

Hi!
This does not seem to work with Norwegian keyboard. ; and , is the same key, one get ; by using shift+,.
What I've tried:

cmd+,
cmd+shift+,

cmd + ø works

@arve0 You can set the shortcut to whatever combination you want. In VS Code go to File > Preferences > Keyboard Shortcuts and add an entry for the command "extension.trailing-semicolon"

Thanks!


Unable to run "adb", check your Android SDK installation and ANDROID_HOME environment variable

Everything was fine a couple weeks ago when I last worked on a project. Don't know what caused anything to change. Went back to it to add a package, and flutter pub get would fail with could not un-gzip.
I've tried uninstalling and reinstalling Flutter + Android Studio multiple times already to no luck. I'm able to create a new flutter project using VSCode, but when I run flutter doctor, it fails - as well as flutter pub get in the project directory I'm trying to work on.
*note: I tried installing the latest version of Flutter, installing an older version and upgrading, as well as using the git clone method to install
Logs
flutter pub get
`Could not un-gzip (exit code -1073741819). Error:`

`package:pub/src/io.dart 927:7               _extractTarGzWindows.<fn>
===== asynchronous gap ===========================
package:pub/src/io.dart 820:20              withTempDir
package:pub/src/io.dart 914:10              _extractTarGzWindows
package:pub/src/io.dart 842:18              extractTarGz
package:pub/src/source/hosted.dart 323:11   BoundHostedSource._download
===== asynchronous gap ===========================
package:pub/src/source/hosted.dart 217:13   BoundHostedSource.downloadToSystemCache
package:pub/src/entrypoint.dart 388:48      Entrypoint._get.<fn>
package:pub/src/http.dart 271:51            withDependencyType
package:pub/src/entrypoint.dart 384:12      Entrypoint._get
dart:async                                  Future.wait
package:pub/src/entrypoint.dart 245:18      Entrypoint.acquireDependencies
dart:async                                  _completeOnAsyncReturn
package:pub/src/solver/version_solver.dart  VersionSolver.solve
dart:async                                  _completeOnAsyncReturn
package:pub/src/solver/version_solver.dart  VersionSolver._result`
This is an unexpected error. Please run

    pub --trace '--verbosity=warning' get --no-precompile

and include the logs in an issue on https://github.com/dart-lang/pub/issues/new
Running "flutter pub get" in fire_interval_timer...
pub get failed (1; and include the logs in an issue on https://github.com/dart-lang/pub/issues/new)

flutter doctor -v
`[!] Flutter (Channel stable, v1.12.13+hotfix.9, on Microsoft Windows [Version 10.0.18363.778],    locale en-US)
    • Flutter version 1.12.13+hotfix.9 at C:\src\flutter
    • Framework revision f139b11009 (3 weeks ago), 2020-03-30 13:57:30 -0700
    • Engine revision af51afceb8
    • Dart version 2.7.2
    X Downloaded executables cannot execute on host.
      See https://github.com/flutter/flutter/issues/6207 for more information`

`[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\dag81\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.`

`[√] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)`

`[√] VS Code (version 1.44.2)
    • VS Code at C:\Users\dag81\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.9.1`

`[☠] Connected device (the doctor check crashed)
    X Due to an error, the doctor check did not complete. If the error message below is not
      helpful, please let us know about this issue at
      https://github.com/flutter/flutter/issues.
    X Exception: Unable to run "adb", check your Android SDK installation and ANDROID_HOME
      environment variable: C:\Users\dag81\AppData\Local\Android\sdk\platform-tools\adb.exe
    • #0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
      #1      getAdbDevices (package:flutter_tools/src/android/android_device.dart:731:5)
      #2      AndroidDevices.pollingGetDevices
      (package:flutter_tools/src/android/android_device.dart:65:53)
      #3      PollingDeviceDiscovery.devices (package:flutter_tools/src/device.dart:285:52)
      #4      DeviceManager.getAllConnectedDevices
      (package:flutter_tools/src/device.dart:140:46)
      <asynchronous suspension>
      #5      DeviceValidator.validate (package:flutter_tools/src/doctor.dart:851:54)
      #6      asyncGuard.<anonymous closure>
      (package:flutter_tools/src/base/async_guard.dart:111:32)
      #7      _rootRun (dart:async/zone.dart:1126:13)
      #8      _CustomZone.run (dart:async/zone.dart:1023:19)
      #9      _runZoned (dart:async/zone.dart:1518:10)
      #10     runZoned (dart:async/zone.dart:1502:12)
      #11     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #12     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:158:9)
      #13     Doctor.diagnose (package:flutter_tools/src/doctor.dart:252:41)
      #14     _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:45:6)
      #15     Doctor.diagnose (package:flutter_tools/src/doctor.dart:241:24)
      #16     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:59:39)
      #17     _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:45:6)
      #18     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:45:42)
      #19     FlutterCommand.verifyThenRunCommand
      (package:flutter_tools/src/runner/flutter_command.dart:615:18)
      #20     _asyncThenWrapperHelper.<anonymous closure>
      (dart:async-patch/async_patch.dart:73:64)
      #21     _rootRunUnary (dart:async/zone.dart:1134:38)
      #22     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
      #23     _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
      #24     Future._propagateToListeners.handleValueCallback
      (dart:async/future_impl.dart:680:45)
      #25     Future._propagateToListeners (dart:async/future_impl.dart:709:32)
      #26     Future._completeWithValue (dart:async/future_impl.dart:524:5)
      #27     Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:554:7)
      #28     _rootRun (dart:async/zone.dart:1126:13)
      #29     _CustomZone.run (dart:async/zone.dart:1023:19)
      #30     _CustomZone.runGuarded (dart:async/zone.dart:925:7)
      #31     _CustomZone.bindCallbackGuarded.<anonymous closure>
      (dart:async/zone.dart:965:23)
      #32     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
      #33     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
      #34     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
      #35     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:175:5)`

`! Doctor found issues in 2 categories.`
<!--
      Include the full logs of the commands you are running between the lines
      with the backticks below. If you are running any "flutter" commands,
      please include the output of running them with "--verbose"; for example,
      the output of running "flutter --verbose create foo".
-->

<!-- If possible, paste the output of running `flutter doctor -v` here. -->

Hi @dgonz234
Could you please provider your flutter pub get -v?

@dgonz234 The issue is with your Android SDK installation. From the crash output, can  you verify the following location:
    X Exception: Unable to run "adb", check your Android SDK installation and ANDROID_HOME
      environment variable: C:\Users\dag81\AppData\Local\Android\sdk\platform-tools\adb.exe

Since you said you've installed Android Studio, which comes with its own version of the Android SDK, the easiest solution might be just to uninstall the above sdk installation, and let the tool find the version in your Android Studio install.

also, this is the latest flutter doctor output that I get.
C:\Users\dag81>flutter doctor -v [√] Flutter (Channel master, 1.18.0-9.0.pre.73, on Microsoft Windows [Version     10.0.18363.778], locale en-US)     • Flutter version 1.18.0-9.0.pre.73 at C:\src\flutter     • Framework revision bd6ccb606a (4 hours ago), 2020-04-29 16:31:42 -0700     • Engine revision 2db3276573     • Dart version 2.9.0 (build 2.9.0-4.0.dev 726d3c7725)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)     • Android SDK at C:\Users\dag81\AppData\Local\Android\Sdk     • Platform android-29, build-tools 29.0.3     • ANDROID_HOME = C:\Users\dag81\AppData\Local\Android\Sdk     • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java     • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)     • All Android licenses accepted.
[√] Android Studio (version 3.6)     • Android Studio at C:\Program Files\Android\Android Studio     • Flutter plugin version 45.1.1     • Dart plugin version 192.7761     • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
[√] VS Code (version 1.44.2)     • VS Code at C:\Users\dag81\AppData\Local\Programs\Microsoft VS Code     • Flutter extension version 3.9.1
[☠] Connected device (the doctor check crashed)     X Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at       https://github.com/flutter/flutter/issues.      Doctor found issues in 1 category.

I am having the same issue. I installed the Android SDK through the setup wizard and I get the same output as the last one above. I also trie putting this in my .zshrc with no luck:
export PATH="$PATH:/Users/henryandersen/Library/Android/sdk/platform-tools"
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools

I am on Mac btw, here is my exact out put log:
[✓] Flutter (Channel stable, v1.17.3, on Mac OS X 10.15.5 19F101, locale en-US)
    • Flutter version 1.17.3 at /Users/henryandersen/flutter
    • Framework revision b041144f83 (5 days ago), 2020-06-04 09:26:11 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/henryandersen/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor
      --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.45.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.11.0

[☠] Connected device (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message
      below is not helpful, please let us know about this issue at
      https://github.com/flutter/flutter/issues.
    ✗ Exception: Unable to run "adb", check your Android SDK installation and
      ANDROID_HOME environment variable:
      /Users/henryandersen/Library/Android/sdk/platform-tools/adb
    • #0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
      #1      AndroidDevices.pollingGetDevices
      (package:flutter_tools/src/android/android_device_discovery.dart:62:7)
      <asynchronous suspension>
      #2      PollingDeviceDiscovery._populateDevices
      (package:flutter_tools/src/device.dart:321:52)
      #3      PollingDeviceDiscovery.devices
      (package:flutter_tools/src/device.dart:311:12)
      #4      DeviceManager.getAllConnectedDevices
      (package:flutter_tools/src/device.dart:152:20)
      #5      DeviceValidator.validate
      (package:flutter_tools/src/doctor.dart:926:54)
      #6      asyncGuard.<anonymous closure>
      (package:flutter_tools/src/base/async_guard.dart:111:32)
      #7      _rootRun (dart:async/zone.dart:1184:13)
      #8      _CustomZone.run (dart:async/zone.dart:1077:19)
      #9      _runZoned (dart:async/zone.dart:1619:10)
      #10     runZonedGuarded (dart:async/zone.dart:1608:12)
      #11     runZoned (dart:async/zone.dart:1536:12)
      #12     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #13     Doctor.startValidatorTasks
      (package:flutter_tools/src/doctor.dart:172:9)
      #14     Doctor.diagnose (package:flutter_tools/src/doctor.dart:271:47)
      #15     DoctorCommand.runCommand
      (package:flutter_tools/src/commands/doctor.dart:60:39)
      #16     FlutterCommand.verifyThenRunCommand
      (package:flutter_tools/src/runner/flutter_command.dart:723:18)
      #17     _rootRunUnary (dart:async/zone.dart:1192:38)
      #18     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
      #19     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
      #20     Future._propagateToListeners.handleValueCallback
      (dart:async/future_impl.dart:682:45)
      #21     Future._propagateToListeners (dart:async/future_impl.dart:711:32)
      #22     Future._completeWithValue (dart:async/future_impl.dart:526:5)
      #23     Future._asyncComplete.<anonymous closure>
      (dart:async/future_impl.dart:556:7)
      #24     _rootRun (dart:async/zone.dart:1184:13)
      #25     _CustomZone.run (dart:async/zone.dart:1077:19)
      #26     _CustomZone.runGuarded (dart:async/zone.dart:979:7)
      #27     _CustomZone.bindCallbackGuarded.<anonymous closure>
      (dart:async/zone.dart:1019:23)
      #28     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
      #29     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
      #30     _runPendingImmediateCallback
      (dart:isolate-patch/isolate_patch.dart:118:13)
      #31     _RawReceivePortImpl._handleMessage
      (dart:isolate-patch/isolate_patch.dart:169:5)

! Doctor found issues in 2 categories.

If I delete android studio I can run flutter apps on an iPhone simulator

Thanks for the additional info @henryandersen

I have the same problem and I found, that only flutter project don't allow to connect in AVD manager. With default android project with Kotlin emulator works fine, but when I go to flutter project, there is still loading device in device list and error "Unable to locate adb" when I tried power on emulator.
It worked fine before, on previous android studio (don't remember version, but less than 3.6)
Now I tried Android Studio 4.0 and this error just stops all my work

I solve my problem, maybe it will help:

I downgrade my Android Studio to 3.6 and problem with "Unable to connect adb" has gone
I still has problem with infinite loading device list in Android Studio (but able to run flutter through console). I changed flutter version to very old (from video courses, that version is fine for me). I changed from 1.17.0 to 1.2.1. And both problems has gone for me.

So, if your problems with adb on Mac (my mac is old MacBook pro 8.2) and you tried all solutions with PATH, tools etc, try switch to older version Android Studio.
Also, I though that it was problem with Android API, but now I used Nexus 6 with Android PIE (API 28) and it works fine in Android Studio 3.6, but not 4.0. And I tried different APIs, so, it's not this.

I just found a solution to the error.
It worked for me as at Fri, July 10.
I'm a flutter developer and had this issue 2 days ago also.
I found out that previous programs I use which need usb debugging to run (Android rooting apps in my case 😅) get installed with their own adb.exe which conflicts with Android platform-tools ADB.
So I advise you uninstall those programs, by opening task manager (CTRL+Shift+ESC)
Check for any adb.exe running and open file location. If it doesn't lead to Android>sdk>platform-tools
Then uninstall that program.
This worked for me !

It seems the problem is due to having more than one adb binary in the system.
In linux you can check from the command line if typing the command adb  is found; if it found then run which adb if the directory output from this commnand is different than platform-tools you could make a backup of the adb in the android SDK just in case and create a symbolic link "adb" to the one globally in your system (normally /usr/bin/adb),. This way it's just one binary of adb that youre using.
Windows useres just search the entire PC for adb.exe and uninstall any other program that shadows the androidSDK as pointed out by @Juicee999

it's really frustrating to encounter such a problem. I had a similar experience that drained my energy and time, but after examining my android SDK platform-tools, I discovered it was corrupted. so I deleted it and installed a new one, thereafter I had a sigh of relief. you can try it out.

Check this please, https://stackoverflow.com/questions/62468046/android-studio-launch-emulator-avd-unable-to-locate-adb/63735075#63735075

make sure TCP 5554 and TCP 5037 ports are not occupied. adb use them.

It seems the problem is due to having more than one adb binary in the system. In linux you can check from the command line if typing the command adb is found; if it found then run which adb if the directory output from this commnand is different than platform-tools you could make a backup of the adb in the android SDK just in case and create a symbolic link "adb" to the one globally in your system (normally /usr/bin/adb),. This way it's just one binary of adb that youre using. Windows useres just search the entire PC for adb.exe and uninstall any other program that shadows the androidSDK as pointed out by @Juicee999

I've been using flutter since 3 years now and this never occured to me, I have followed the steps before to set the correct env variables and reboot, and I've litterally ran "find" over my whole filesystem to check that I only had one adb executable with :
sudo find / -type f -name adb -executable 2>/dev/null

I understand the problem that this error occures in a lot of different situations but I believe that more granular logging during this phase would help people solve the issue.


Wildcard support in search engine

Function for 1st letter of names required. For use with uncertain characters at beginning of name.

The problem with this is that every entry will be found if they use a Star.
But I can see why it may be needed, so perhaps we allow a question mark for one character, and then there has to be more actual characters following.

Implemented

Is this live?  there and test3 it still says "Two letters must precede any wildcard in a surname."
test2 "You cannot use both wildcards and soundex in a search" (seached without county and place of census).
Search is for ?arshall Mary,  in Worksop, Nottinghamshire, all censuses.

I closed because wildcard is there and has been for a very long time.
Wild card requires 2 leading characters and anything following is ignored. Wild card is * or ?
Wild card will never work with soundex. They are different concepts.
I note our help has NO mention on use of wildcard.
We had this discussion over on REG along time ago.
UCF and wildcard are in conflict and cannot be merged in any sensible manner.
That is why we introduced the UCF additional results display in REG.

Hence "Wildcard support in search engine" is there.
NOW UCF is not there but do CEN transcribers use the UCF?.
If they do then it likely should be written as a new story which would be dependant on completing the REG story first

Hi Kirk, I was just querying the different messages.  I guess test2 just uses an older form.
FreeCEN does not use UCF.

Sounds good; will leave closed.
Messages on test2/3 are same. Just depends on the situation and order of precedence  error detected.
There is a 3rd message. Must use place with wild card or words to that effect


docs: create on-boarding and off-boarding docs

We need on-boarding and off-boarding docs for committee members. We have some of it documented here:
https://github.com/kubernetes/security/issues/16
https://github.com/kubernetes/security/issues/11

xref https://github.com/kubernetes/security/issues/17

https://github.com/kubernetes/security/pull/37 fixes this


Akkoma translation support

https://akkoma.dev/AkkomaGang/akkoma/issues/115

I don't think it's available via their mastodon api


ensure password isn't asked when installing plugins

Based on https://github.com/VundleVim/Vundle.vim/issues/662#issuecomment-154680786
Vundle should:

let $GIT_ASKPASS='true' right before cloning plugins to disable password asking and
restore previous value or unset the variable

Credits to @mgedmin for the find.

Hi,thanks for your suggestion,i do as you told me,but when i excute cd ~/.vim/bundle/YouCompleteMe; it comes out this error as below:
tupucenwei@ubuntu:~$ cd ~/.vim/bundle/YouCompleteMe
bash: cd: /home/tupucenwei/.vim/bundle/YouCompleteMe: No such file or directory
this is my information for .vimrc as follows:
set nocompatible              " be iMprovedi, required
filetype off                  " required
let $GIT_ASKPASS='true'
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" The following are examples of different formats supported.
" Keep Plugin commands between vundle#begin/end.
" plugin on GitHub repo
Plugin 'tpope/vim-fugitive'
" plugin from http://vim-scripts.org/vim/scripts.html
Plugin 'L9'
" Git plugin not hosted on GitHub
Plugin 'git://git.wincent.com/command-t.git'
" git repos on your local machine (i.e. when working on your own plugin)
Plugin 'file:///home/gmarik/path/to/plugin'
" The sparkup vim script is in a subdirectory of this repo called vim.
" Pass the path to set the runtimepath properly.
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
" Avoid a name conflict with L9
Plugin 'user/L9', {'name': 'newL9'}
" All of your Plugins must be added before the following line
call vundle#end()            " required
filetype plugin indent on    " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList       - lists configured plugins
" :PluginInstall    - installs plugins; append ! to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append ! to refresh local cache
" :PluginClean      - confirms removal of unused plugins; append ! to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line

Hi,gmarik,i need your help, looking forward to your reply!

@tupucenwei please no spamming with unrelated info…


Reorder the priority of the numerical type terms

We want to go i64,u64,f64 to align with the fast fields.

Done in tantivy.


[imgui] Update to 1.82

https://github.com/ocornut/imgui/releases/tag/v1.82

LGTM, thanks for the update PR!


Allow debugging with vscode

Enabling debugging with vscode
https://user-images.githubusercontent.com/24386780/113124870-4802a200-9216-11eb-84b2-b408e3c2a799.mp4
What do you think?

I've replaced dedicated .vscode configruation with documentation dedicated to VSCode users.
Setting-up debugging for ruby code in VSCode is still a bit tedious. That's why I suggest that kind of documentation, to help on-boarding potential new contributors.
What do you think?

looks good to me :)
To be honest, I don't use VSCode as an IDE (I mainly use it like an Emacs with tabs :D I still run the code through the terminal), so if it works for you with VSCode I guess it's good :)

In order to be able to properly execute rspec from vscode, I've added its binstub.
Is it an issue?


[bug]: Link v2 has no hover color/effect

What version of strapi-design-system are you using?
strapi 4.15.5
What's Wrong?
Link v2 doesn't show the hover color on rollover
To Reproduce
go to https://design-system-git-main-strapijs.vercel.app/?path=/docs/design-system-components-v2-link--docs
rollover any link, style doesn't get updated on hover
Expected Behaviour
The hover color defined here should be shown on rollover :
https://github.com/strapi/design-system/blob/85c0cbbe468155fd9d33817aa40feac8bc633889/packages/strapi-design-system/src/v2/Link/Link.tsx#L25-L27
It doesn't show up because it is overridden by the <Typography> component inside :
https://github.com/strapi/design-system/blob/85c0cbbe468155fd9d33817aa40feac8bc633889/packages/strapi-design-system/src/v2/Link/Link.tsx#L50
In Link V1, the hover effect works because the Typography component uses the currentColor CSS value :
https://github.com/strapi/design-system/blob/85c0cbbe468155fd9d33817aa40feac8bc633889/packages/strapi-design-system/src/Link/Link.tsx#L27-L30
(Note anyway that putting a Typography component with no prop passing on it makes it impossible to fix this kind of bug on our side, and prevents also customizing the text, for adding ellipsis on it for example. I pray every day that styled component in strapi gets dropped in favor of real css 😂 ...)

PRs always welcome!

Well I'm glad that taking the time to make a proper issue is so much appreciated... 🤦♂
We already passed a lot of time struggling with the design system without any real documentation (not mentioning the fight with the rigidity of the whole strapi's frontend) but that's another issue.
If we had the time to dig even more in the code of the design system we'd have already done a PR thanks, but please understand that if I submit an issue instead of a PR this is for a reason.
If you don't value it, feel free to close it.

I think we've had the discussion on the documentation & what you describe as the rigidity of strapi as well on discord, I can see you're frustrated & you've communicated this a few times. Unfortunately if you're not willing to give time for these issues to be solved then there's not much more I can do.
I of course appreciate the effort you've gone to to create a bug report, I just as with a few issues that I think are potentially easily solvable is remind people that PRs are welcome 😊 no one was commenting on your ability to decide whether to open an issue or a PR.

I already gave time for this issues to

@joshuaellis  I'm not "not willing to give time for these issues"... this is quite insulting since I just "gave time" (and a lot) for submitting issues as detailed as possible, pointing to the probable cause, to help people at strapi with better knowledge of the system to do the fix. Not mentioning the time passed on discord trying to help ppl.
I understand you'd want even more help, but by only replying "PRs are welcome!" after an issue that took more than half an hour to document/redact I'm sure you can understand how disrespectful it sounds when you "give time" to help strapi gets better instead of leaving for another product.
edit: deleted previous comment submitted too quickly by misclick

Hey, no you've misunderstood – when I was referring to give time to these issues, i was talking about your repetitive vocal frustration about front-end customisation & design-system documentation not this issue specifically.

Pardon me but whether you speak of this issue or generally, saying that I'm not willing to "give time" to those subjects (FE customization, etc) is still not true :
As you said yourself we already had "time" to discuss those topics in discord/github (and even if you made this personal from the very beginning, I want to remind you that it definitely wasn't, plus I'm not the only one raise those problems in strapi direction). I even accepted to "give time" to an interview with a strapi's PM to further discuss use cases and pain points met in our work with strapi UI.
Anyway I'm not a strapi team member, the time I "give" is free, saying that if I cannot give "more" then you "don't know what more you can do" is really disappointing from a user perspective.
Anyway if you still have concerns about my personal implication in strapi and the time I give or not, I suggest that you could maybe DM/mention me on discord instead of making reproaches in this issue comment section.


add x-engine compatibility by dropping ES5 isArray and switching to toString

This switches to using Object.prototype.toString.call(...) === '[object Array]' instead of Array.isArray(...) since the former allows this to work in older browsers without shims/polyfills.
As an aside, this also adds mocha to devDependencies so contributors don't necessarily have to have mocha installed globally.

thanks for the pr, but I'd rather this library be as performant and idiomatic as possible for node.js usage.  On average, calling toString on the Object prototype will be 10x slower (literally) than using Array.isArray.
With all of that said, I do really appreciate the pr, the time you have taken out of your own day and thoughtfulness of wanting to help me improve this library. I can look around for other libraries that can meet your needs if that helps.
also I can merge in the mocha changes if you want, but it sounds like you might not even be able to use this without your changes. I'll leave that to you. thank you!

No worries man, thanks anyhow :+1:

Just as a heads-up, I did go ahead and create what I was looking for as I couldn't find it anywhere on npm. Pretty much all the other options used the same method as you do here.
Thanks again though.

:+1:


kie-issues#6: Bump gwt version to 2.10.0 version in stunner-editors module

Closes https://github.com/kiegroup/kie-issues/issues/6
This PR upgrades gwt version used in stunner-editors to version 2.10.0 - Release Note.
Points to underline:

The groupId of gwt is formally changed: the new one is org.gwtproject. I updated all the pom files accordingly;
gwt-element was dropped in the new version. That dependency is currently used in errai for testing purposes. I added it as a separate dependency setting the old (and last) version 2.9
gwtmockito contains the old 2.8.0 ´gwt´ assets. I doubt there will be a new version of this dependency, so I excluded the old gwt assets (gwt-dev and gwt-user) it imports.
This commit https://github.com/gwtproject/gwt/commit/657ae98c5d8bb20b67639d3175cf843e86ce3cda in gwt repo, changed the String#substring emulation behavior. This required a change in BPMN module (StringUtils.java).

Not related changes:
I removed all wildfly related dependencies because no more used within the module.

@jomarko Can you please review this? :)

Hi @inodeman ! In gwt 2.10 there a fix that changed the String#substring emulation behavior ( commit https://github.com/gwtproject/gwt/commit/657ae98c5d8bb20b67639d3175cf843e86ce3cda ).
Basically, now the String#substring throws an exception if String#substring parameters are semantically wrong.
This required a change in BPMN module (StringUtils.java). Can you please check if the fix I provided correctly covers the expected behavior? Please ping me in case of more infos, thanks!

@danielezonca & @jomarko can you please review it? Thanks!

Looking right now

DMN High level sanity checklist:

[ ] expression editor old
[ ] expression editor new
[ ] monaco autosuggestions
[ ] docuemntation tabs
[ ] data types
[ ] data types constraints
[ ] headers popup editors
[ ] search
[ ] included models


Removed obsolete code

Not sure if this file is required anymore at all since package.json defines main as "./lib/connect-mongo"

You can drop it!
Le mar. 14 juil. 2015 à 23:31, Behcet<EMAIL_ADDRESS>a écrit :

Not sure if this file is required anymore at all since package.json
defines main as "./lib/connect-mongo"
—
Reply to this email directly or view it on GitHub
https://github.com/kcbanner/connect-mongo/pull/190#issuecomment-121396446
.

Done.


type issue of registering postFxPipeline

Version

Phaser Version: 3.80

Operating system:

Browser:

Description
Test code registers a post fx pipeline in game config.
import 'phaser';

class TestPostFX extends Phaser.Renderer.WebGL.Pipelines.PostFXPipeline {
}

class Demo extends Phaser.Scene {
    constructor() {
        super({
            key: 'examples'
        })
    }
}

var config = {
    type: Phaser.AUTO,
    parent: 'phaser-example',
    width: 800,
    height: 600,
    scene: Demo,
    pipeline: { TestPostFX }
};

var game = new Phaser.Game(config);

Typescript report a type bug :
Argument of type '{ type: number; parent: string; width: number; height: number; scene: typeof Demo; pipeline: { TestPostFX: typeof TestPostFX; }; }' is not assignable to parameter of type 'GameConfig'.
  Types of property 'pipeline' are incompatible.
    Type '{ TestPostFX: typeof TestPostFX; }' is missing the following properties from type 'PipelineConfig': name, pipelinets(2345)

It seems that there has type incompatible in game config's pipeline parameter.

That pipeline parameter could register multiple WebGLPipeline classes, so that it might be a list or a dictionary.

Phaser.Renderer.WebGL.WebGLPipeline[], or
{[name: string]: Phaser.Renderer.WebGL.WebGLPipeline}

Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.


[Feature] Move dev_only routes to regular [OSF-6457]

Purpose

This moves the list routes that are currently dev_mode into normal routes.
Changes

Add list routes to links in base.

Side effects

More lists.
Ticket

https://openscience.atlassian.net/browse/OSF-6457

Looks great. 🎉 🐧 🎉 Could you update the screenshot with the current version, and put a before screenshot of what's on production right now? (Or you can do blocks of json rather than screenshots, either way)

Done.


Formatting adds erroneous comma at end of struct update syntax when missing comma before ..

Following up on https://github.com/rust-lang/rust/issues/104373, when using functional record update syntax, if a comma is missed before the ..Default::default(), rustfmt will then "helpfully" add a comma after the ..Default::default().
When you fix the error with the missing comma, you now have a different error ("no trailing commas after...") that the user did not make, as automatic formatting added a comma in its confusion.
I'm new to this project, but the new error enum variant proposed in https://github.com/rust-lang/rust/pull/104504 may be helpful to identify these cases.

Thanks for reaching out. Using the latest master rustfmt 1.5.1-nightly (ee2bed96 2022-11-08) this is what I'm getting.
Input
fn main(){
    Outer {
        inner: Inner {
            a: 1,
            b: 2,
        }
        ..Default::default()
    };
}

Output
fn main() {
    Outer {
        inner: Inner { a: 1, b: 2 }..Default::default(),
    };
}

From my understanding the expected output is something like:
fn main() {
    Outer {
        inner: Inner { a: 1, b: 2 },
        ..Default::default(),
    };
}

If we want to stick to pure formatting, the input shouldn't change at all. But if you want to automatically fix this class of mistake (which would be super slick, but maybe too implicit?), the expected output is actually
fn main() {
    Outer {
        inner: Inner { a: 1, b: 2 },
        ..Default::default()
    };
}

Is it possible that the issue is that the input looks like range syntax?

@TehPers your hunch is correct. I just dug into this and from the perspective of the AST, which rustfmt operates on, Inner { a: 1, b: 2 }..Default::default(), gets parsed as an ast::Expr with a kind of ExprKind::Range.
Sadly, I don't think there's an easy fix for this on the rustfmt side 😕

I agree. I think there's some ambiguity that's preventing this. For example, how is the following supposed to be formatted?
#[derive(Default)]
struct Inner;

struct Outer {
    inner: Range<Inner>,
}

fn main() {
    let outer = Outer {
        inner: Default::default() // is this supposed to be Range<Inner> or Inner? compiles as Inner
        ..Default::default()
    };
}

Although I'm not sure that rustfmt is the right place to implement a fix for this, if anyone's interested in coming up with a solution this would be a good place to start:
https://github.com/rust-lang/rustfmt/blob/ee2bed96d60fd7e46b1fb868f6a8f27e3a8058d0/src/expr.rs#L269-L342

@alice-i-cecile given that https://github.com/rust-lang/rust/issues/104373 is closed can this be closed too? As mentioned above, the reason why rustfmt produces the formatting that it does is a result of how the rustc_parser parses expr..Default::defaut() as a range when the comma is missing. I'm not as familiar with the parser, but I'm assuming a proper fix for this would be to ensure that the rustc_parser parses ..Default::default() as ast::StructRest::Base even when the trailing comma is missing.

If we do want to try to special case the formatting on the rustfmt side it might be better to look into rewrite_struct_lit instead of looking into the code that's responsible for rewriting ranges.


Out of nowhere today I got error 'Unable to find a destination matching the provided destination specifier'

Steps to Reproduce

I did connect my iPhone XS with iOS 15.1
Opened VS Code and did run 'flutter run'

Running via Xcode works fine, no Errors. Cannot understand where is the problem. Rebooted system multiple times, rebooted vs code, tried it with IntelliJ, only Xcode is working, VS Code and IntelliJ are giving the same error. Please help me.
Logs

Logs
thomas@MBPvonTomas2021 flutter_applications % flutter run --device-id 'XS von Thomas'
Launching lib/main.dart on XS von Thomas in debug mode...
Found saved certificate choice "Apple Development: Thomas Fuhr (XXX)". To clear, use "flutter config".
Signing iOS app for device deployment using developer identity: "Apple Development: Thomas XXX (XXX)"
Running pod install...                                              5,1s
Running Xcode build...
Xcode build done.                                           31,4s
Failed to build iOS app
Error output from Xcode build:
↳
objc[60290]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x1f30f2b90) and
/Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1041c82c8). One of the two will be used. Which one is undefined.
objc[60290]: Class AMSupportURLSession is implemented in both /usr/lib/libauthinstall.dylib (0x1f30f2be0) and
/Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1041c8318). One of the two will be used. Which one is undefined.
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{ id:00008020-001025E6269A002E }
    The requested device could not be found because no available devices matched the request.

    Available destinations for the "Runner" scheme:
            { platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00006001-001C18A80204801E }
            { platform:iOS Simulator, id:0CC36DDA-043F-4B25-AC99-44D60CE5A20A, OS:15.2, name:iPad (9th generation) }
            { platform:iOS Simulator, id:17C304E0-09FA-4989-B236-943F80A7EA13, OS:15.2, name:iPad Air (4th generation) }
            { platform:iOS Simulator, id:3B6FA7FD-A1D6-40D9-A10D-3EBF0AA5EC35, OS:15.2, name:iPad Pro (9.7-inch) }
            { platform:iOS Simulator, id:D243AB27-9E64-4BCB-A7F3-8369320CB56D, OS:15.2, name:iPad Pro (11-inch) (3rd generation) }
            { platform:iOS Simulator, id:16B2AC5C-F4E6-4E1B-AA89-3F52D0F4C4D4, OS:15.2, name:iPad Pro (12.9-inch) (5th generation) }
            { platform:iOS Simulator, id:3DB3D87B-1DE2-4958-B21B-1A625FC589A0, OS:15.2, name:iPad mini (6th generation) }
            { platform:iOS Simulator, id:1028C962-25E9-46CF-949A-EB3D6EF79722, OS:15.2, name:iPhone 8 }
            { platform:iOS Simulator, id:069624D5-09CA-4985-A2B8-6BF10D3AB7B1, OS:15.2, name:iPhone 8 Plus }
            { platform:iOS Simulator, id:AE4E108B-B5FE-4A34-B63E-48EA7D027EA0, OS:15.2, name:iPhone 11 }
            { platform:iOS Simulator, id:B12CDE70-B587-4DD5-AECE-C9464B578C3B, OS:15.2, name:iPhone 11 Pro }
            { platform:iOS Simulator, id:540555E5-C7AF-49C8-8776-5C0E98363806, OS:15.2, name:iPhone 11 Pro Max }
            { platform:iOS Simulator, id:D4B08200-025F-44A0-840A-43205169258E, OS:15.2, name:iPhone 12 }
            { platform:iOS Simulator, id:27062E40-843A-402E-95E3-6611B44CCCAC, OS:15.2, name:iPhone 12 Pro }
            { platform:iOS Simulator, id:0E8FAF33-5626-4E61-9A04-EC2CAF225667, OS:15.2, name:iPhone 12 Pro Max }
            { platform:iOS Simulator, id:09D5386C-D2D1-40DC-B69F-1AA24DC71400, OS:15.2, name:iPhone 12 mini }
            { platform:iOS Simulator, id:0EDB3E97-2DAC-413E-8225-26171E1F587D, OS:15.2, name:iPhone 13 }
            { platform:iOS Simulator, id:6BDDB574-7581-4679-8A69-BE62A35129B9, OS:15.2, name:iPhone 13 Pro }
            { platform:iOS Simulator, id:6BE3DD50-691A-4E1C-841D-2BDE9CE10BBA, OS:15.2, name:iPhone 13 Pro Max }
            { platform:iOS Simulator, id:D9EE7952-07E3-41DB-88A7-C72639A8DBFA, OS:15.2, name:iPhone 13 mini }
            { platform:iOS Simulator, id:BE5779BA-E61E-4140-B11A-F6F265662D90, OS:15.2, name:iPhone SE (2nd generation) }
            { platform:iOS Simulator, id:9F4FC537-41DC-4748-9E28-459E7FEDDBEF, OS:15.2, name:iPod touch (7th generation) }

    Ineligible destinations for the "Runner" scheme:
            { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
            { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
            { platform:iOS, id:00008020-001025E6269A002E, name:XS von Thomas, error:Device is busy (Preparing the watch for development via XS von Thomas) }

Could not build the precompiled application for the device.
════════════════════════════════════════════════════════════════════════════════
Building a deployable iOS app requires a selected Development Team with a
Provisioning Profile. Please ensure that a Development Team is selected by:
1- Open the Flutter project's Xcode target with
open ios/Runner.xcworkspace
2- Select the 'Runner' project in the navigator then the 'Runner' target
in the project settings
3- Make sure a 'Development Team' is selected under Signing & Capabilities > Team.
You may need to:
- Log in with your Apple ID in Xcode first
- Ensure you have a valid unique Bundle ID
- Register your device with your Apple Developer Account
- Let Xcode automatically provision a profile for your app
4- Build or run your project again
For more information, please visit:
https://flutter.dev/docs/get-started/install/macos#deploy-to-ios-devices
Or run on an iOS simulator without code signing
════════════════════════════════════════════════════════════════════════════════
Error launching application on XS von Thomas.

[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-arm, locale
de-DE)
• Flutter version 2.8.1 at /Users/thomas/FlutterDev/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 77d935af4d (2 days ago), 2021-12-16 08:37:33 -0800
• Engine revision 890a5fca2e
• Dart version 2.15.1
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from:
https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK
components.
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup
for detailed instructions).
If the Android SDK has been installed to a custom location, please use
flutter config --android-sdk to update to that location.
[✓] Xcode - develop for iOS and macOS (Xcode 13.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio (not installed)
• Android Studio not found; download from
https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup
for detailed instructions).
[✓] IntelliJ IDEA Ultimate Edition (version 2021.2.3)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 63.0.3
• Dart plugin version 212.5632
[✓] IntelliJ IDEA Ultimate Edition (version 2021.2.2)
• IntelliJ at /Volumes/Storage/IntelliJ/IntelliJ IDEA.app
• Flutter plugin version 63.0.3
• Dart plugin version 212.5632
[✓] VS Code (version 1.63.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.29.0
[✓] VS Code
• VS Code at /Volumes/Storage/VSCode/Visual Studio Code.app/Contents
• Flutter extension version 3.29.0
[✓] Connected device (2 available)
• XS von Thomas (mobile) • 00008020-001025E6269A002E • ios            • iOS 15.1 19B74
• Chrome (web)           • chrome                    • web-javascript • Google Chrome 96.0.4664.110
! Error: XS von Thomas is busy: Fetching debug symbols for XS von Thomas. Xcode will continue when XS von Thomas is finished. (code -10)

Seems that it has been an certificate issue, removed it from key chain access and let xcode generate a new one. now its working again

I have the same error after running flutter upgrade. Cannot run my app on the device anymore.


PyTest configuration issue with VS code

🔍 Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

🐞 Description of the bug
After @dnwillia pointed out some issues related to PyTest in VS code, I tried configuring it on the testing machine. We encountered that the configuration issue comes with the following errors:

If I delete those two tests i.e. test_fluent_session.py and test_fix_doc.py, VS code works fine and it loads all the PyTests without any error. See below PyTest structure loaded successfully after deleting the above tests:

We, therefore, should look at those two tests on why are they showing module import errors in order to make PyTest work in VS code.
📝 Steps to reproduce
Open Pyfluent project in VS code, configure Python environment and try to load PyTests.
💻 Which operating system are you using?
Windows
🐍 Which Python version are you using?
3.8
📦 Installed packages
python 3.8

@ypatel-qa @dnwillia FYI

I might have beat you to it for part of this #1051.

Thanks, @dnwillia-work


Admin dashboard

[ ] Create register and login routes
[ ] Integrate register and login routes with flask_loginmanager
[ ] Check flask_loginmanager db is working
[ ] Wireframe dashboard layout
Here's one example (https://startbootstrap.com/themes/sb-admin-2/).
[ ] Create dashboard using Bootstrap
[ ] Link dashboard to flask_loginmanager
[ ] Create method of generating invite links under certain 'group code' to register
[ ] Integrate google maps plotting of pins to dashboard
[ ] Add ability to query dashboard (filter by date, region, etc)

Integrate google maps plotting of pins to dashboard

See #55

Add leaflet clustering https://github.com/Leaflet/Leaflet.markercluster

Add ability to load KMZ's into Leaflet
https://github.com/Raruto/leaflet-kmz

Add ability to select pins WITHIN kmz files, and download THOSE pins


excluded_extensions is ignored if "--ignore-hidden" is False (the default)

excluded_extensions is not used when "--ignore-hidden" is False.
I verified this by getting the sha256 checksum on one of my Python libraries. I want to exclude the pyc files. However, I noticed the result changed every time I deleted one of the pyc files in the library.
I reviewed the code and it appears that this possibly got left out after the --ignore-hidden option was added.

Fixed in version 1.1.4


fix model name in productSearch handler

getting undefined error when calling findAll on db.Products

Thanks! Merging it


Use separate channel to receive replication events

Currently, replication events, such as updating replication progress, are
transmitted via the notify channel. Since multiple leaders(with distinct votes)
share this channel on a single node, a new leader might receive a progress event
intended for a previous leader.
This issue is resolved by comparing the vote of the leader with the progress
event. If the event's vote differs from the current leader's vote, the event
is disregarded.
To simplify this process, a separate channel can be created for each leader, and
the channel can be abandoned when a leader steps down, such as when a higher
vote is observed. This approach eliminates the need for further vote
comparisons.

It does not look that bad with one notification channel 🤔


Hover API does not match LSP specification: Strange Horizontal Line rendering

The LSP spec defines the return type of the hover:
/**
 * The result of a hover request.
 */
export interface Hover {
	/**
	 * The hover's content
	 */
	contents: MarkedString | MarkedString[] | MarkupContent;

	/**
	 * An optional range is a range inside a text document
	 * that is used to visualize a hover, e.g. by changing the background color.
	 */
	range?: Range;
}

While VS Code uses arrays everywhere:
export class Hover {
	contents: Array<MarkdownString | MarkedString>;
...
}

MarkedString is deprecated so it is recommended to use MarkupContent. However, using MarkupContent content (with --- to separate content) in VS Code results in very small line heights. Compared to sending an array of MarkedString:
Returning an array of MarkedString (deprecated):

Returning a single MarkupContent:

Given that we can only return a single MarkupContent, how can we separate content like in the deprecated way above? (We currently use --- to add a horizontal line)?
Note: The issue only happens if using the markdown separators, if we remove the --- we get this, which looks good but still needs the separators:

The API is relevant here because an array can be used to separate content but that is not in the (non-deprecated) LSP spec, so we have to use a horizontal line for it work as expected...

The issue exists in monaco-editor too. The issue only seems to occur when there are fenced code blocks before/after the horizontal line.
The issue is that the horizontal line is rendered as a <hr /> tag that has a 1px top border, -4px top margin, and -4px bottom margin. I believe the bottom margin should be 4px, but this might affect rendering if there is not a fenced code block after the horizontal line.
Also, MarkedString is deprecated in favor of MarkupContent in the LSP spec, so MarkedString[] should probably be considered deprecated too


breaking: Transport.GetServerClientAddress(connId) => Transport.OnServerConnected(connId, address)

Refactor Transports.
Previously:
Transport.GetServerClientAddress(connId) needs to be called to get a connection's address.
Now: Transport.OnServerConnected changed from (connId) to (connId, address).
Reasons:

ThreadedTransports can't easily implement GetServerClientAddress because all the data is behind a thread that can't safely be accessed from main thread. Much easier to pass a connection's address once in OnConnected instead.
Cleaner API. This function was always very odd, leftover from the UNET days.
Performance: NetworkConnectionToClient.address is currently a getter which calls Transport.GetServerClientAddress every single time. This is way too much overhead.

I see this is a WIP - you're going to deal with all the obsolete warnings in all the transports in this PR or a separate one?

closing in favor of https://github.com/MirrorNetworking/Mirror/pull/3855


Add health field to the container

Now user can specify only health and it gets added
as livenessProbe and readinessProbe in the output.
It errors out if user specifies both readinessProbe and health.
Fixes #23

Adding readme in the example!


[WIP] Use template wrangler.toml when generating

This PR will take every value from a template's wrangler.toml on generate, and if it's not there, it will fill in a default value.
TODO: Additionally, it will warn users if the template they have generated from contains information in account_id, zone_id, route, and kv-namespaces
TODO: Do not allow --site to be passed if a repo is also passed
Fixes #315 and #759

The problems https://github.com/cloudflare/wrangler/issues/315, https://github.com/cloudflare/wrangler/issues/396 and future problems with generate could be solved if we just copy over the wrangler.toml file.
The only CON with copying the toml file is the account/zone tags, but the end user must adjust those fields anyways and none fo the templates in the gallery will populate those fields.
It would dramatically increase the usefulness to the end user and template developer by having all the wrangler config copied in projects. Especially as the wrangler.toml gains complexity (e.g. sites, import/export, buckets.. )

I can see this being useful - we would need to strip namespace ids from any kv namespace, zone id, account id, and replace the name with the name they passed.
Here's a question though. What happens if they pass --site to wrangler generate and the template has the site already configured?

I can see this being useful - we would need to strip namespace ids from any kv namespace, zone id, account id, and replace the name with the name they passed.
Here's a question though. What happens if they pass --site to wrangler generate and the template has the site already configured?

Not sure I understand, are you saying like:
wrangler generate temp --site https://github...

why would someone use --site with a git repo on generate? Do we support that now?
If we simply copied the wrangler.toml from the repo we wouldn't need to worry about the --site at all. It should be an invalid flag.

Yeah that's what I mean - I agree that if we copied everything over we should make any --site that is not wrangler generate --site fail. That should probably already be happening because if you run wrangler generate my-app https://github.com/cloudflare/worker-template --site it creates the site directory but completely ignores the template.

I started a proposal with some user stories I'd love your feedback/contribution on @EverlastingBugstopper https://wiki.cfops.it/display/~victoria/Proposal+%3A+init+and+generate

I've updated this PR with relevant info - the entire toml will be copied and if there are values that contain user-specific info, we will warn them about those fields and inform them that they should fill in their own values.

Running into a very interesting error with this
$ wrangler generate my-rust https://github.com/EverlastingBugstopper/rustwasm-worker-template/
🌀  🐑  Generating a new worker project with name 'my-rust'...
🔧   Creating project called `my-rust`...
✨   Done! New project created /Users/averyharnish/Documents/work/_tmp/my-rust
⚠  The template you generated from includes some account specific information that you may need to update with your own values.
Error: values must be emitted before tables

The last message is the most interesting and is related to how serde handles writing out HashMaps to tomls. Not sure what to do about fixing this.

Environment thing still not working but I was able to implement some errors for when user-specific info is included in a template manifest
https://github.com/EverlastingBugstopper/rustwasm-worker-template/ has a wrangler.toml that looks like this
type = "rust"
account_id = "12234"
route = "top-level"

[env.foo]
workers_dev = true

[env.bar]
account_id = "12345"
zone_id = "12345"
route = "bar-env"

when I generate with this template, this is the error message
wrangler generate my-rust https://github.com/EverlastingBugstopper/rustwasm-worker-template/
🌀  🐑  Generating a new worker project with name 'my-rust'...
🔧   Creating project called `my-rust`...
✨   Done! New project created /Users/averyharnish/Documents/work/_tmp/my-rust
⚠  Your generated project contains user-specific information that you will likely need to change.
⚠  Top level fields: account_id, route
⚠  [env.bar] fields: account_id, route, zone_id

Open to suggestions on better ways to print these warnings

Open to suggestions on better ways to print these warnings

What about shortening it to help developers action on it?:

Replace all account-specific info in your wrangler.toml

I've updated the messages to look like this:
$ wrangler generate my-rust https://github.com/EverlastingBugstopper/rustwasm-worker-template/
🌀  🐑  Generating a new worker project with name 'my-rust'...
🔧   Creating project called `my-rust`...
✨   Done! New project created /Users/averyharnish/Documents/work/_tmp/my-rust
⚠  Replace all account specific info in your wrangler.toml.
⚠  Your zone_id and account_id can be found in the right sidebar at https://dash.cloudflare.com

Top level fields
  - account_id
  - route
[env.bar]
  - account_id
  - route
  - zone_id

I'll be out next week, the work that still needs to be done on this is:

Add wrangler.tomls to each of our templates (especially rust)
I think it makes sense for each of these to have workers_dev = true and route/zone_id to be = "" so they can fill those in
Fix the error message "Error: values must be emitted before tables"
this can be reproduced with any toml that has environments in it, but an easy one is wrangler generate my-rust https://github.com/EverlastingBugstopper/rustwasm-worker-template/
QA wrangler generate with each of our templates and make sure there are no warnings and that they can all be wrangler publish

Thanks so much @victoriabernard92!

I agree that it would be good to re-use Manifest instead of introducing this new config but there are a couple of key differences:
namely TemplateConfig does not take name, at all, and account_id is an Option. We create a Manifest from a TemplateConfig

oops

I've updated the output given by wrangler generate. It will no longer warn people to fill in account_id/zone_id if they have the environment variables. I've also removed the newline at the beginning of the fields. Additionally, the dashboard link is much more helpful than just "dash.cloudflare.com"
$ wrangler generate my-rust https://github.com/EverlastingBugstopper/rustwasm-worker-template/
🔧   Creating project called `my-rust`...
✨   Done! New project created /Users/averyharnish/Documents/work/_tmp/my-rust
🕵  Your zone_id and account_id can be found in the right sidebar at https://dash.cloudflare.com/?account=workers
🕵  You will need to update the following fields in the created wrangler.toml file before continuing:
- account_id
- kv-namespace FOO
- kv-namespace BAR
- route

[env.foo]
  - kv-namespace FOOFOO
  - kv-namespace FOOBAR

[env.bar]
  - account_id
  - kv-namespace BARFOO
  - kv-namespace BARBAR
  - route
  - zone_id

$ wrangler generate
🔧   Creating project called `worker`...
✨   Done! New project created /Users/averyharnish/Documents/work/_tmp/worker
🕵  Your zone_id and account_id can be found in the right sidebar at https://dash.cloudflare.com/?account=workers
🕵  You will need to update the following fields in the created wrangler.toml file before continuing:
- account_id


ZEVA: forecast report template column mapping

The business area is going to decide what the "forecast report template" spreadsheet column names are going to be. After they do that, they should send us a revised spreadsheet containing those names, and we have to map those names to our internal column names (please see src/salesforecast/components/RecordsUpload.js, and implement the getInternalRecords() function there; additional notes are available as comments in the body of the aforementioned function).

Here's the spreadsheet with column names the business area wants:
forecast_report_template_TG_edits.xlsx

@tim738745 @JulianForeman
If I put in "Blah" instead of "Model Year" I get a 4-digit warning.
If I put in "Blah" unstead of "Make I get 250 characters warning, etc.

Resolved here: #2273


Bug in bato.to provider

Bug report
Environment (please complete the following information):

Description
Data

OS
Ubuntu 16.04.5 LTS

Python version
Python 3.5.2

Pip version
pip 18.1

Manga-py version
<IP_ADDRESS>

URL
https://bato.to/series/69583

To Reproduce:
Steps to reproduce the behavior:
pipenv run manga-py --cbz --zero-fill --rename-pages --no-webp --destination Manga/ https://bato.to/series/69583

Additional context
  File "~/.local/share/virtualenvs/0_bin-S-IZrhuG/lib/python3.5/site-packages/manga_py/provider.py", line 81, in process
    self.loop_chapters()
  File "~/.local/share/virtualenvs/0_bin-S-IZrhuG/lib/python3.5/site-packages/manga_py/provider.py", line 110, in loop_chapters
    self._info.add_volume(self.chapter_for_json(), self.get_archive_path())
  File "~/.local/share/virtualenvs/0_bin-S-IZrhuG/lib/python3.5/site-packages/manga_py/provider.py", line 155, in get_archive_path
    _path = remove_file_query_params(self.get_archive_name())
  File "~/.local/share/virtualenvs/0_bin-S-IZrhuG/lib/python3.5/site-packages/manga_py/providers/helpers/std.py", line 6, in get_archive_name
    idx = self.get_chapter_index()
  File "~/.local/share/virtualenvs/0_bin-S-IZrhuG/lib/python3.5/site-packages/manga_py/providers/bato_to.py", line 10, in get_chapter_index
    self.chapter[1]

Thanks for the issue.
I will fix it soon!

Works OK :+1:

Component
Value

OS
Ubuntu 16.04.5 LTS

Python version
Python 3.5.2

Pip version
pip 18.1

Manga-py version
<IP_ADDRESS>

URL
https://bato.to/series/69583


Custom delimiters

Mainly used for generating files based on React templates in Node.js, { } syntax conflicts with the syntax in React. Is it possible to customize the delimiter?
Custom delimiters (e.g. <% %>)

Maybe. Can you first describe why you want to mix React and Nue? Are you forced to do this, or the React mix solves some particular problem? Or is Nue lacking features? I want to understand!
Thanks

As Nuejs can run on the server and has elegant syntax, I hope to use Nuejs as a replacement for EJS to create a code generator tool. Based on templates, it can generate React code, similar to schematics-angular-builds.

Regardless of the purpose, I think it would be easier to use the delimiter if it could be changed as needed. For example, they anticipate many requests for "{{" and "}}" instead of "{" and "}" and so on.


uploads added to /tmp on server

Hi there,
Please excuse me if Im missing something simple or misunderstanding.... When running our app on the server, we found that before the uploads are uploaded to the s3 bucket they are also stored on the server in the /tmp folder. Now its beginning to fill up the server so, Im wondering Is there a way to specify the directory these uploads go to? Furthermore I guess Im planning to add a post save hook in order to delete the file in /tmp  when the upload is complete (not sure if this will work yet). Any Ideas or other suggestions would be greatly appreciated...
thanks!

is there way to remove these file in /tmp folder after upload in completed ?


styled the settings components

Description
Changed the settings components to match the styles of the rest of the site,
everything is staying consistent.
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] Tested links and routing
[x] Tested the rendering of the new styles

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My code has been reviewed by at least one peer
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Great work!!!


WIP: internal/value/exp

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Other information

Codecov Report

Merging #287 (1f42424) into master (2bb3c7b) will decrease coverage by 41.26%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master     #287       +/-   ##
===========================================
- Coverage   59.43%   18.17%   -41.27%
===========================================
  Files         167      131       -36
  Lines       16016    15227      -789
===========================================
- Hits         9519     2767     -6752
- Misses       5944    12246     +6302
+ Partials      553      214      -339

Flag
Coverage Δ

1.14.x
?

1.15.x
?

1.16.x
?

1.17.x
18.17% <ø> (-41.21%)
:arrow_down:

1.18.x
?

connection
12.79% <ø> (ø)

discovery
11.94% <ø> (ø)

e2e
18.17% <ø> (-27.73%)
:arrow_down:

integration
18.17% <ø> (-27.73%)
:arrow_down:

macOS-latest
?

ratelimiter
14.75% <ø> (+0.06%)
:arrow_up:

scripting
?

table
?

ubuntu-latest
18.17% <ø> (-41.21%)
:arrow_down:

unit
?

windows-latest
?

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

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

Benchmarking allocations:

internal/value implementation
ns/op
B/op
allocs/op

Current
14122
11304
195

Proposal
8249
0
0


allow Buffer as an input image for vision

Hi! I think it would be useful if vision api could allow images as Buffers.
I've seen issue https://github.com/GoogleCloudPlatform/gcloud-node/issues/1449, but I think Buffer is easier to detect than base64 string, I just use Buffer.isBuffer(image) and perhaps buffer is more natural way for passing binary data in node. I will be glad to make changes if something wrong with this patch

I signed it!

@calibr looks like there are a couple small linting issues, would you mind making those small changes?
You can lint locally via npm run lint

@callmehiphop of course, should I submit a fix in this merge request?

@calibr That would be perfect, we'll just squash the commits when we merge :)

Coverage remained the same at 100.0% when pulling b61cd4784b0771309a116e06e1ba9df4a0dfa275 on calibr:master into 66ac068085970fcd3760ef72d09bec1c1a64dab4 on GoogleCloudPlatform:master.

Coverage remained the same at 100.0% when pulling 74969dd2c789348bd133c4e74d0514135f42aec5 on calibr:master into 66ac068085970fcd3760ef72d09bec1c1a64dab4 on GoogleCloudPlatform:master.

@callmehiphop  is everything OK now with the patch?

@calibr yep, merged! Thanks!

@callmehiphop thanks! when the update is going to be on the npm?

I think closer to the end of the week

@callmehiphop can you add docs for this?

Sure!


How to define the most strict configuration possible for  PHP Cs fixer  ?

I’m collaborating in a opensource project :
https://bitbucket.org/AliasAPI/damnp/src/master/etc/php_cs_fixer/run_php_cs_fixer.sh
And i am finding trouble configuring PHP Cs fixer  in the most sensitive way possible, so it would detected every generally undesired line of code. If anyone has any tips, it would be very welcome.

what exactly you want to be sensitive about?
about style? then you need to define what style you want to have, or use one of available preset.
about strictness of code (eg === vs ==)? then I suggest to base it on https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/master/.php-cs-fixer.dist.php#L39 , potentially with addition of https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/master/.php-cs-fixer.php-highest.php#L25-L26 (depending on your PHP version)


Add mainnet numbers to Message count

Background
Describe the problem that we are trying to solve with this feature.
If a path to a solution is known, feel free to write it down, but have an open mind
When we have compass-evm contracts deployed on Mainnet, we need to add the mainnet counts to the API and include them in the totals on the website. In mixpanel, we want to distinguish between the mainnet and testnet numbers
Done when

[ ] a list of items, when checked, this ticket should be considered to be finished

closing until target chains are added


When deployer fails it returns exit code 0

Describe the bug
It seems Deployer doesn't return a non-zero exit code when an exception occurs.
To reproduce
This is a (slightly modified because of internal data) version of our entry.php:
<?php
/**
 * Main entry file for deployment
 */

namespace Deployer;

// Include common recipes
use Deployer\Task\Context;

include __DIR__ . '/../vendor/deployer/deployer/recipe/common.php';

inventory(__DIR__ . '/hosts.yml');

// Set the shared files and folders
set('shared_files', [/* hidden */]);
set('shared_dirs', [/* hidden */]);
set('project_root', realpath(__DIR__ . '/../'));

set('deploy_user', function () {
    return Context::get()->getHost()->getUser();
});

/**
 * Global deployment task
 */
desc('Deployment');
task('deploy', [
    'deploy:info',
    'deploy:prepare',
    'deploy:lock',
    'deploy:release',
    'deploy:unpack',
    'deploy:shared',
    'deploy:writable',
    'deploy:migrate_db',
    'deploy:post_install',
    'deploy:symlink',
    'deploy:unlock',
    'cleanup',
])->onRoles(['web', 'db', 'worker']);

/**
 * Unpack archive
 */
desc('Unpacking archive');
task('deploy:unpack', function () {
    writeln('📦 Unpacking build <fg=magenta>{{release_name}}</fg=magenta> to <fg=yellow>{{release_path}}</fg=yellow> on <fg=cyan>{{hostname}}</fg=cyan>');

    $scpBinPath = runLocally('which scp');
    runLocally($scpBinPath . ' {{project_root}}/dist/project.tar.gz {{deploy_user}}@{{hostname}}:{{release_path}}');
    run('tar -zxvf {{release_path}}/project.tar.gz -C {{release_path}}');
    run('rm {{release_path}}/project.tar.gz');
});

/**
 * Execute composer post install
 */
desc('Composer post install');
task('deploy:post_install', function () {
    run('cd {{release_path}} && ./vendor/bin/composer run post-install-cmd --no-interaction');
});

/**
 * Define a migration task
 */
desc('Migration of database');
task('deploy:migrate_db', function () {
    run('cd {{release_path}} && ./vendor/bin/composer run migrate --no-interaction');
    run('{{release_path}}/bin/cake orm_cache clear');
    run('{{release_path}}/bin/cake orm_cache build');
})->onRoles('db');

/**
 * Ensure opcache is reloaded
 */
task('server:opcache_reload', function () {
    writeln('Reloading opcache');
    run(locateBinaryPath('php-cachetool') . ' opcache:reset --fcgi');
})->onRoles('web');

/**
 * Set our own info task
 */
task('deploy:info', function () {
    writeln("✈ Deploying <fg=magenta>{{release_name}}</fg=magenta> on <fg=cyan>{{hostname}}</fg=cyan>");
})->shallow()
  ->setPrivate();

after('deploy', 'success');
after('deploy:failed', 'deploy:unlock');
after('success', 'server:opcache_reload');

Then if the deployment fails (for example because it can't connect to a host) it prints an exception but then gives exit code 0.
Expected behavior
I expect a non-zero exit code
Environment

Deployer version: Tested with both 6.3 and 6.6
PHP version: 7.4
Deployment target(s) OS: Ubuntu 20.04

Content of deploy.php
// see above

Additional context
I did some digging in the Symfony code, and it seems that in Symfony\Component\Console\Application $catchExceptions is set to true by default, which makes the run method catch exceptions, even if a custom exception handler is set (which Deployer does). That run method then does return a non-zero value, but that is not used by Deployer\Deployer::run to exit with that code.
A possible solution would be to let Deployer\Deployer::run return the code returned from $console->run and let bin/dep exit with that code.
I did see another issue here (#1045) that in 2017 this was broken but fixed with an update, so this feels to me like I might be doing something wrong. However, I don't know what.

Looks like a floating bug. Some test maybe needed. Can you write such test? Also in master it’s fixed already.

How exactly does it work in master? Anyway, if it is fixed there, that is fine for me. Then we will update at some point.

Fixed,


Bug Report - Examples Pre-populating parameters

Expected Behavior:  parameter examples display as help text below the parameter field in the request pane and are used to populate request fields when the 'fill example' button is clicked.
Actual Behavior:

array examples on array parameters pre-populate the field on load.
boolean true examples pre-populate the field on load.
boolean false examples do not appear as help text below the field.

Reproduction:
{
  "openapi": "3.0.2",
  "info": {
    "title": "Minimum Reproduction"
  },
  "paths": {
    "/path": {
      "get": {
        "operationId": "get.path",
        "parameters": [
          {
            "name": "param1",
            "in": "query",
            "description": "string examples on array params operate as expected.",
            "required": false,
            "style": "form",
            "explode": true,
            "schema": { "type": "array", "items": { "type": "string" } },
            "example": "example"
          },
          {
            "name": "param2",
            "in": "query",
            "description": "array examples on array params un-expectedly pre-populate the field with the given value(s).",
            "required": false,
            "style": "form",
            "explode": true,
            "schema": { "type": "array", "items": { "type": "string" } },
            "example": ["example1", "example2"]
          },
          {
            "name": "param3",
            "in": "query",
            "description": "boolean `true` examples un-expectedly pre-populate the field as well.",
            "required": false,
            "style": "form",
            "explode": true,
            "schema": { "type": "boolean" },
            "example": true
          },
          {
            "name": "param4",
            "in": "query",
            "description": "boolean `false` examples don't pre-populate the field, but they fail to render as an example.",
            "required": false,
            "style": "form",
            "explode": true,
            "schema": { "type": "boolean" },
            "example": false
          }
        ]
      }
    }
  }
}

First of all thanks for putting up a nice test case and the screenshots !!!
However there is a little misunderstanding on how the feature works
Here is what is expected

if you specify an example for a parameter it will always be filled
if you do not want to fill the examples by default then set the attribute fill-request-fields-with-example = 'false'

Having said that, the feature is little buggy, which will be fixed

here is the test case
https://rapidocweb.com/examples/fill-example-test.html


Fix default-width calculation in format-opts

(str nil) returns "", but this will always be a string I think.
This fixes the width for the :default and :default-desc fields. Prior to this change default-width would be 0 when there was no default-desc because (str nil) returns "". And the width calculation would be off when there was only a :default-desc because the if conditional was only looking for default.
If my assumption that default-desc doesn't need coercion to string is incorrect, I can do this instead:
(-> default-desc str not-empty)

@cap10morgan Is it possible to express what you fixed in a test that previously failed and now works?