Fix packages in Dockerfile

Command RUN apt-get -y install linux-tools-common linux-tools-`uname -r` linux-cloud-tools-`uname -r produces the following output on docker build:
E: Unable to locate package linux-tools-4.9.49-moby
E: Couldn't find any package by regex 'linux-tools-4.9.49-moby'
E: Unable to locate package linux-cloud-tools-4.9.49-moby
E: Couldn't find any package by regex 'linux-cloud-tools-4.9.49-moby'
The command '/bin/sh -c apt-get -y install linux-tools-common linux-tools-`uname -r` linux-cloud-tools-`uname -r`' returned a non-zero code: 100

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


Runtime segment invalid block_index error

Describe the bug
During runtime, my application print an error message of :
E1120 05:41:34.842531 63319 segment.cc:86] [myapplicationname]invalid block_index[161].
E1120 07:05:55.856097 63319 segment.cc:86] [myapplicationname]invalid block_index[115].

the code should is here:
https://github.com/ApolloAuto/apollo/blob/master/cyber/transport/shm/segment.cc#L84-L88
  auto index = readable_block->index;
  if (index >= conf_.block_num()) {
    AERROR << "invalid block_index[" << index << "].";
    return false;
  }

Desktop (please complete the following information):

OS: Ubuntu 20
Version: Apollo 7.0

Additional context
This happens when my application is running overnight (for stability test)
I don't know how to reproduce the issue, it happens randomly.

I meet the same problem too.
this happens when i use cyber's client-service communication. and the "invalid block_index" error not immediately come but after running for hours, then client send request and get response will always be nullptr (and this caused by response timeout).
how can i fix it or avoid this happen?


Getting the size of a widget should have a simplified API

Currently to get the size of a widget you need to do this:
  Size get _size {
    assert(mounted);
    RenderBox box = context.findRenderObject();
    assert(box != null);
    assert(box.hasSize);
    return box.size;
  }

It'd be nice to have this as a built in api.
((I'm copying this code all over the place.))
Similarly getting the size of the widget via  GlobalKey would be good too.  Maybe something can be added to GlobalKey?

From @Hixie duplicate of this bug.
This is a common pattern:
  Size get size {
    assert(mounted);
    RenderBox box = context.findRenderObject();
    assert(box != null);
    assert(box.hasSize);
    return box.size;
  }

We should add this to the BuildContext method as a function that returns a Size. It should assert we're not calling it during a frame (certainly not in the build phase, anyway). In checked mode, it should return a _WidgetDebugSize, a new class that refuses to be used during the build phase.


Make assert_login_access fail when it should fail

Our assert_login_access used to always return 0 no matter what.
Fixes #54

[test] again

yet another reason why not use bash and move these tests to extended tests in origin.

@mfojtik yep... that's my point :) I uncovered at least two bugs yesterday.

@bparees @mfojtik PTAL

lgtm, will get it tested after the new ami is available (building now)

LGTM (but I really wish we have these test as extended test ;-)

[test]

[test]

lgtm, passed tests.


Change register// URL route to register/<realm_str>/.

Automated message from Dropbox CLA bot
@rishig, it looks like you've already signed the Dropbox CLA. Thanks!

I fixed the merge conflicts and the spacing issue and merged this.
It would be nice to eliminate the use of request.session storage for the realm storage, just because that does increase the security impact of a SESSION_KEY leak.


Specify an editor ID for notebook inputs.

Fixes #21641

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 41.939%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/sql/workbench/contrib/notebook/browser/models/notebookInput.ts
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
28645

Relevant Lines:
63441

💛  - Coveralls

Never mind, all our editor inputs in the SQL folder are missing this field. I'll keep this change scoped to notebooks


Delete Product Deal Tracking Deal

Coverage remained the same at 75.879% when pulling eabcfe0d07c2a19a7ffce473dfe17c7e0c4fd54f on jackyrusly:dev into 721a73c4b88feb72d150d46cd3ae01825e17ea0b on danliris:dev.


Add aversion functionality that mirrors favorite functionality

Sometimes, I take meals that I'd had before and didn't like because I forgot about that. I'm not learning from my mistakes, so to say.
The solution for this could be the opposite of the current favorite functionility, aversion functionality. Where I can note to myself that I've had this before and didn't like it. The icon would be a warning triangle next to the heart for favorites. In the menu view, there would be a red border around meals I've marked as aversions instead of the green favorites border. In the filter, there would be an option to hide aversions.
What I currently do is give such meals a bad rating. But this doesn't really work since my own rating isn't displayed prominently. Really, the justification for this system is the same as for the favorites system, sometimes I just want to make a note to myself and then use that for filtering.
I would be open to implementing this, since it's basically the same as the favorites functionality this shouldn't be too much work.

That sounds like a great feature!
It might be possible to just highlight meals with a bad own rating (1 star). This information should be available on the client.
That might also be a more elegant solution to favorites, as they currently are stored only locally and have created some problems in the past.
One reason to justify favorites being handled differently is that there is an additional screen showing a summary of all favorites, something that might not be as relevant for "aversions" IMO.
I would love to see your attempt on this. If you need any help, feel free to ask!


Python 3 updates

Extended gitignore for Flask, pipenv
Updated templates with new DTC locations
Updated for Python 3 libraries and syntax
Fixed unused dependencies
Moved to pipenv
Improve clarity of setup instructions
Better error reporting

bump any chance to look at this yet @jaakko-sf? trying to get some documentation links updated.

ping hey Jake we'd really like to migrate this to the TwitterDev org if you're agreeable, it is holding up some docs work. Thanks!


Install kafka connect for PostgreSQL using Strimzi operator to integrate Kafka and PostgreSQL

kafka connect for PostgreSQL using Strimzi operator in progress

KafkaConnect (using custom image) and KafkaConnector using Strimzi were deployed.

Deployed kafkaConnect (using custom image) and kafkaConnector , and tested for integration of kafka and PostgreSQL


New theme: viBook

Theme submission
Before submitting a theme please make sure you've read the README.md. It describes in detail what information are needed and which requirements have to be fulfilled for the submission. The check list below can help you.
Link to my theme repository: https://github.com/shunito/vibook
I made sure that...

[X] the repository contains a good README.md describing my theme
[X] an open source license has been added to LICENSE.md
[X] all metadata have been added to theme.toml
[X] screenshots have been added in the images/ folder with the required dimensions
[X] in case I'm using a customized demo via the exampleSite folder that

[X] https://example.com is set as base url in exampleSite/config.{toml, yaml, json} to avoid the abuse of unused domains
[X] I tested that my theme's demo works with the content directory of gohugoio/HugoBasicExample

[X] I tested my theme against the gohugoio/HugoBasicExample

[X] I've checked the developer tools' console in my browser for error messages

[X] in case my theme is using Hugo Pipes features like toCSS and PostCSS that I have committed the /resources directory with all generated assets, for my theme to work in the basic version of Hugo

Feel free to ask questions. We're glad to help.

Hello Shunsuke,
thank you for sharing this theme with us :+1:
While reviewing your theme I noticed that the generated demo of your theme has some issues with the setup on the hugo theme site. Those issues are related to the way content is linked.
On the Hugo theme site all demos are hosted in a subdirectory, in your case it would be https://themes.gohugo.io/theme/vibook. Currently, all your links are relative to the root directory and miss the subfolder themes in the url above. This causes the reader to fetch non-existing content from the wrong url.
You can recreate the setup of the Hugo theme site by modifying / adding the following lines to exampleSite/config.toml and by starting Hugo inside the exampleSite directory:
# config.toml

baseURL = "http://example.com/theme"
theme = "../.."

Now open the browser with the url http://localhost:1313/theme.
Then you will notice that the first link in the "Vivliostyle プレビュー" section points to a non-existing page. Based on the libraries you're using I'm not sure where it should point to instead.
Let's move to the "ページ個別" section:
When you open the first link a cover should be displayed. However, the pages look either broken or are empty.
When opening the viewer under first link the expected content can't be found because the path provided in the url as parameter isn't correct anymore. A possible fix is to add .. as prefix to the path /theme/cover/cover in the url http://localhost:1313/viewer/#x=/theme/cover/cover such that the get the url http://localhost:1313/viewer/#x=../theme/cover/cover. This worked both with your current setup and with a baseurl that hosts the site in a subfolder (as suggested above by appending /theme to the baseurl in the config file).
Furthermore, please add a translation of the README (at least in an English version) for the international users as you already planned in https://github.com/shunito/vibook/issues/3. The same applies to the demo content provided in exampleSite/content.


Not able to run the migration.

Hi Justin,
I cloned your project,configure the database and run the bundle install. All went well, but when I tried to migrate the application I am getting the 'Load Error' message of unable to load the guard the file. The following shows tracing of error.
LoadError: cannot load such file -- guard/guard
/Library/Ruby/Gems/2.0.0/gems/guard-spork-1.5.0/lib/guard/spork.rb:2:in require' /Library/Ruby/Gems/2.0.0/gems/guard-spork-1.5.0/lib/guard/spork.rb:2:in <top (required)>'
/Library/Ruby/Gems/2.0.0/gems/bundler-1.9.3/lib/bundler/runtime.rb:85:in require' /Library/Ruby/Gems/2.0.0/gems/bundler-1.9.3/lib/bundler/runtime.rb:85:in rescue in block in require'
/Library/Ruby/Gems/2.0.0/gems/bundler-1.9.3/lib/bundler/runtime.rb:68:in block in require' /Library/Ruby/Gems/2.0.0/gems/bundler-1.9.3/lib/bundler/runtime.rb:61:in each'
/Library/Ruby/Gems/2.0.0/gems/bundler-1.9.3/lib/bundler/runtime.rb:61:in require' /Library/Ruby/Gems/2.0.0/gems/bundler-1.9.3/lib/bundler.rb:134:in require'
/Users/hemashree/workspace/fat-code-refactoring-techniques/config/application.rb:11:in <top (required)>' /Users/hemashree/workspace/fat-code-refactoring-techniques/Rakefile:4:in require'
/Users/hemashree/workspace/fat-code-refactoring-techniques/Rakefile:4:in `<top (required)>'
(See full trace by running task with --trace)
and I tried to run the command 'guard' in the console, for that I am getting this...
13:04:20 - ERROR - Could not load 'guard/spork' or find class Guard::Spork
13:04:20 - ERROR - Error is: cannot load such file -- guard/guard
13:04:20 - ERROR - /Library/Ruby/Gems/2.0.0/gems/guard-spork-1.5.0/lib/guard/spork.rb:2:in `require'

[#] /Library/Ruby/Gems/2.0.0/gems/guard-spork-1.5.0/lib/guard/spork.rb:2:in <top (required)>' [#] /Library/Ruby/Gems/2.0.0/gems/guard-2.12.8/lib/guard/plugin_util.rb:105:in require'
[#] /Library/Ruby/Gems/2.0.0/gems/guard-2.12.8/lib/guard/plugin_util.rb:105:in rescue in plugin_class' [#] /Library/Ruby/Gems/2.0.0/gems/guard-2.12.8/lib/guard/plugin_util.rb:97:in plugin_class'
[#] /Library/Ruby/Gems/2.0.0/gems/guard-2.12.8/lib/guard/plugin_util.rb:56:in initialize_plugin' [#] /Library/Ruby/Gems/2.0.0/gems/guard-2.12.8/lib/guard/internals/plugins.rb:26:in add'
[#] /Library/Ruby/Gems/2.0.0/gems/guard-2.12.8/lib/guard/dsl.rb:185:in block in guard' [#] /Library/Ruby/Gems/2.0.0/gems/guard-2.12.8/lib/guard/dsl.rb:182:in each'
[#] /Library/Ruby/Gems/2.0.0/gems/guard-2.12.8/lib/guard/dsl.rb:182:in guard' [#] /Users/hemashree/workspace/fat-code-refactoring-techniques/Guardfile:5:in evaluate'
[#] /Library/Ruby/Gems/2.0.0/gems/guard-2.12.8/lib/guard/dsl.rb:377:in instance_eval' [#] /Library/Ruby/Gems/2.0.0/gems/guard-2.12.8/lib/guard/dsl.rb:377:in evaluate'
[#] /Library/Ruby/Gems/2.0.0/gems/guard-2.12.8/lib/guard/guardfile/evaluator.rb:91:in evaluate' [#] /Library/Ruby/Gems/2.0.0/gems/guard-2.12.8/lib/guard.rb:134:in _evaluate'
[#] /Library/Ruby/Gems/2.0.0/gems/guard-2.12.8/lib/guard.rb:49:in setup' [#] /Library/Ruby/Gems/2.0.0/gems/guard-2.12.8/lib/guard/commander.rb:32:in start'
[#] /Library/Ruby/Gems/2.0.0/gems/guard-2.12.8/lib/guard/cli/environments/valid.rb:16:in start_guard' [#] /Library/Ruby/Gems/2.0.0/gems/guard-2.12.8/lib/guard/cli.rb:122:in start'
[#] /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:27:in run' [#] /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in invoke_command'
[#] /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:in dispatch' [#] /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in start'
[#] /Library/Ruby/Gems/2.0.0/gems/guard-2.12.8/lib/guard/aruba_adapter.rb:32:in execute' [#] /Library/Ruby/Gems/2.0.0/gems/guard-2.12.8/lib/guard/aruba_adapter.rb:19:in execute!'

I'd get rid of any references to spork.
If you want to submit a PR with updated gems, please do so!


Update stable version in repo from 0.0.0 to 0.1.4

Think about adding version 0.1.4 to stable repository.
Version: stable=0.0.0 (0 days old) => latest=0.1.4 (30 days old)
Installs: stable=0 (0%), latest=10 (35.71%), total=28
Click to use developer portal
Click to edit
Do not close this issue manually as a new issue will be created if condition for update still exists.
Please drop a comment if any reason exists which blocks updating to version 0.1.4 at this time.
Note: This is an automatically generated message and not personally authored by bluefox!
@mcm1957 for evidence

Is there any reason to delay adding this adapter to stable any longer?
Please drop a commit if you know any reason to refrain from adding.
If there is no response until 13.7.2024 we could decide to add it anyway.

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 0.1.4 but in the meantime an update to version 0.1.5 is suggested.
So this issue will be closed and replaced by an updated one.
@mcm1957 for evidence


[Julia] Array Element is not matched during isa()

See Test #1 in CombinationalArguements in NevadaTestingGround folder.

@jakebolewski
@tkelman

See http://docs.julialang.org/en/release-0.4/manual/types/#man-parametric-types, this is a common point of confusion. Abstract type parameters don't mean what you might think they mean.

That makes more sense now!  Thanks!


Cannot read null from empty scrolls/slates

You cannot use Scribe's Reflection to read Null from empty scrolls or slates.
This is inconsistent with how spellbooks and foci work, as both allow players to read Null from their empty forms.
While scrolls and slates are not exactly the same as those other two, they are essentially the same thing when dealing with individual pattern iotas and thus should function similarly to spellbooks and foci.
Changing this would allow for easier slate writing, such as with an individual pattern copier/eraser artifact, instead of separating the artifact into an eraser and a copier.

Couldn't reproduce on the latest version, but that was because during the port I accidentally made it return Null for all items, regardless of whether they were ever readable. so, fixed that, and am making scrolls and slates default to returning Null

@Talia-12 Resolution from Discord: (@Alwinfy fyi)

Auditor's returns true if and only if the item is a container that has had an iota written to it.
Scribe's Reflection mishaps if and only if Auditor's returns false.
"Contains NULL" and "empty" are distinct states.
All iota-holding items should behave like this, including slates and scrolls.

Auditor
Assessor
Result

false
false
non-container

false
true
empty container

true
false
sealed written container

true
true
unsealed written container

alright, implemented that according to the desired specs now


query always returns  empty array

const users = await client.query(`SELECT * FROM users`)

expected behavior
returns array of objects with data from database.
actual behavior
returns an empty array.
server info
innodb_version: 5.6.45-86.1
protocol_version: 10
version: 10.1.43-MariaDB
The test database has actual data stored, works with other clients.
I logged some received data in connection.ts. Looks like the field names are received but not the values.

Do you execute test.ts code?
If you do it, your local database might have a test database and users table. and the you can watch one record.
Try to type 'deno -A test.ts'
:)

Yeah I did.
Getting following console output (like the other issue I posted):
NFO connecting <IP_ADDRESS>:3306
INFO connected to <IP_ADDRESS>
error: Uncaught Error: Got packets out of order
► connection.ts:113:17
113           throw new Error(error.message);
    at nextPacket (connection.ts:113:17)

The mysql protocol is slightly different in different versions, and the compatibility work makes me tired, which requires a long investment. This is a bit difficult for me, and I need more help. Or should I consider using Rust's mature client instead of writing from scratch

I think a typescript implementation would be best. where can i find the different version specs? Which version did you implement?

deno_mysql is not very compatible with MariaDB at the moment, you can try MariaDB 10.2 and above

Looks like the bug comes from the this.lessThan57 method.
the version can have a weird format like "5.5.5-10.1.43-MariaDB"
So I could fix it by adding that line:
if (segments[2] === "MariaDB") return segments[1] < "5.7.0"

This is just a patch. There might be a better way of version detection.

I think I'm looking at the same bug.
I'm running with the latest version of Deno, 1.4.6.  I get the same results with Deno running on Windows 10 and on Fedora.
I make a very simple query.  I send to three different databases.  Two of them work as expected.  The third will return an empty list the first time I run the query.
The databases that work are 5.5.39-MariaDB-log MariaDB Server and 5.5.5-10.2.19-MariaDB MariaDB Server.  The database that does not work is 5.5.5-10.0.19-MariaDB MariaDB Server.
These databases all contain identical data managed by MySQL replication.  We've been using these databases in production with C++ clients for years with no issues.  And I can run the query on the MySQL command prompt, so I know the data is there.
Test code and the results:
// I'm having trouble accessing some databases, while others work fine.  This seems to be related to
// https://github.com/manyuanrong/deno_mysql/issues/29

import { Client, ClientConfig } from "https://deno.land/x/mysql/mod.ts";

// The following line causes a problem.  Things run like normal at first, but at the end the program would hang.
// More info:  https://github.com/manyuanrong/deno_mysql/issues/60#issuecomment-714828978
//import { Client, ClientConfig } from "https://github.com/manyuanrong/deno_mysql/raw/00d4651316a66b7cb7d98625380c98098556a26b/mod.ts";

function getServerName(): string {
  let serverList = Deno.args;
  if (serverList.length == 0) {
    serverList = ["its-the-cops", "race-condition", "malfunctioning-eddie"];
  }
  const index = Math.floor(Math.random() * serverList.length);
  return serverList[index];
}

async function getClient(): Promise<Client> {
  const config: ClientConfig = {
    hostname: getServerName(),
    username: "web_client",
    password: "NeverSayDie!",
    db: "mydb",
  };
  console.log("config", config);
  const client = await new Client().connect(config);
  return client;
}

async function getData(client: Client) {
  const sql =
    "SELECT start_time AS time FROM bars_1m WHERE symbol = ?  ORDER BY time DESC LIMIT 500";
  const args = ["ORCL"];
  const databaseResult: any[] = await client.query(sql, args);
  if (databaseResult.length <= 10) {
    console.log("full databaseResult", databaseResult);
  } else {
    console.log(
      "databaseResult.length",
      databaseResult.length,
      "start",
      databaseResult.slice(0, 5),
      "end",
      databaseResult.slice(databaseResult.length - 5),
    );
  }
}

async function test() {
  const client = await getClient();
  // On malfunctioning-eddie this first one returns an empty list.
  await getData(client);
  // On malfunctioning-eddie this second one returns a lot of nulls.
  await getData(client);
  // Full results are shown below.
}

test();

// Server version info:

// [phil@joey-mousepad overnight]$ mysql -uweb_client -p'NeverSayDie!' -h its-the-cops
// mysql: [Warning] Using a password on the command line interface can be insecure.
// Welcome to the MySQL monitor.  Commands end with ; or \g.
// Your MySQL connection id is 1298638
// Server version: 5.5.39-MariaDB-log MariaDB Server

// Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.

// Oracle is a registered trademark of Oracle Corporation and/or its
// affiliates. Other names may be trademarks of their respective
// owners.

// Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

// mysql> ^DBye
// [phil@joey-mousepad overnight]$ mysql -uweb_client -p'NeverSayDie!' -h race-condition
// mysql: [Warning] Using a password on the command line interface can be insecure.
// Welcome to the MySQL monitor.  Commands end with ; or \g.
// Your MySQL connection id is 310271
// Server version: 5.5.5-10.2.19-MariaDB MariaDB Server

// Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.

// Oracle is a registered trademark of Oracle Corporation and/or its
// affiliates. Other names may be trademarks of their respective
// owners.

// Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

// mysql> ^DBye
// [phil@joey-mousepad overnight]$ mysql -uweb_client -p'NeverSayDie!' -h malfunctioning-eddie
// mysql: [Warning] Using a password on the command line interface can be insecure.
// Welcome to the MySQL monitor.  Commands end with ; or \g.
// Your MySQL connection id is 14794723
// Server version: 5.5.5-10.0.19-MariaDB MariaDB Server

// Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.

// Oracle is a registered trademark of Oracle Corporation and/or its
// affiliates. Other names may be trademarks of their respective
// owners.

// Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

// mysql>

// Results.  The first two are exactly as expected, the thrid is clearly wrong.

// [phil@joey-mousepad overnight]$ deno run --allow-net DatabaseTest.ts its-the-cops
// Check file:///home/phil/cpp_alert_server/deno/overnight/DatabaseTest.ts
// config {
//   hostname: "its-the-cops",
//   username: "web_client",
//   password: "NeverSayDie!",
//   db: "mydb"
// }
// INFO connecting its-the-cops:3306
// INFO connected to its-the-cops
// databaseResult.length 500 start [
//   { time: 2020-10-21T19:59:00.000Z },
//   { time: 2020-10-21T19:58:00.000Z },
//   { time: 2020-10-21T19:57:00.000Z },
//   { time: 2020-10-21T19:56:00.000Z },
//   { time: 2020-10-21T19:55:00.000Z }
// ] end [
//   { time: 2020-10-20T18:14:00.000Z },
//   { time: 2020-10-20T18:13:00.000Z },
//   { time: 2020-10-20T18:12:00.000Z },
//   { time: 2020-10-20T18:11:00.000Z },
//   { time: 2020-10-20T18:10:00.000Z }
// ]
// databaseResult.length 500 start [
//   { time: 2020-10-21T19:59:00.000Z },
//   { time: 2020-10-21T19:58:00.000Z },
//   { time: 2020-10-21T19:57:00.000Z },
//   { time: 2020-10-21T19:56:00.000Z },
//   { time: 2020-10-21T19:55:00.000Z }
// ] end [
//   { time: 2020-10-20T18:14:00.000Z },
//   { time: 2020-10-20T18:13:00.000Z },
//   { time: 2020-10-20T18:12:00.000Z },
//   { time: 2020-10-20T18:11:00.000Z },
//   { time: 2020-10-20T18:10:00.000Z }
// ]
// [phil@joey-mousepad overnight]$ deno run --allow-net DatabaseTest.ts race-condition
// config {
//   hostname: "race-condition",
//   username: "web_client",
//   password: "NeverSayDie!",
//   db: "mydb"
// }
// INFO connecting race-condition:3306
// INFO connected to race-condition
// databaseResult.length 500 start [
//   { time: 2020-10-21T19:59:00.000Z },
//   { time: 2020-10-21T19:58:00.000Z },
//   { time: 2020-10-21T19:57:00.000Z },
//   { time: 2020-10-21T19:56:00.000Z },
//   { time: 2020-10-21T19:55:00.000Z }
// ] end [
//   { time: 2020-10-20T18:14:00.000Z },
//   { time: 2020-10-20T18:13:00.000Z },
//   { time: 2020-10-20T18:12:00.000Z },
//   { time: 2020-10-20T18:11:00.000Z },
//   { time: 2020-10-20T18:10:00.000Z }
// ]
// databaseResult.length 500 start [
//   { time: 2020-10-21T19:59:00.000Z },
//   { time: 2020-10-21T19:58:00.000Z },
//   { time: 2020-10-21T19:57:00.000Z },
//   { time: 2020-10-21T19:56:00.000Z },
//   { time: 2020-10-21T19:55:00.000Z }
// ] end [
//   { time: 2020-10-20T18:14:00.000Z },
//   { time: 2020-10-20T18:13:00.000Z },
//   { time: 2020-10-20T18:12:00.000Z },
//   { time: 2020-10-20T18:11:00.000Z },
//   { time: 2020-10-20T18:10:00.000Z }
// ]
// [phil@joey-mousepad overnight]$ deno run --allow-net DatabaseTest.ts malfunctioning-eddie
// config {
//   hostname: "malfunctioning-eddie",
//   username: "web_client",
//   password: "NeverSayDie!",
//   db: "mydb"
// }
// INFO connecting malfunctioning-eddie:3306
// INFO connected to malfunctioning-eddie
// full databaseResult []
// databaseResult.length 480 start [ { null: null }, { null: null }, { null: null }, { null: null }, { null: null } ] end [ { null: null }, { null: null }, { null: null }, { null: null }, { null: null } ]
// [phil@joey-mousepad overnight]$ deno --version
// deno 1.4.6
// v8 <IP_ADDRESS>
// typescript 4.0.3
// [phil@joey-mousepad overnight]$

// When I ran this in the debugger I could see that the keys were all the string "null" while the values were null.

// I got the previous result on many, many runs.
// One time I saw the following result on the bad machine.
// The database did not shrink.  The number of rows should always be 500.  But that number changes frequently.
// full databaseResult []
// databaseResult.length 222 start [ { null: null }, { null: null }, { null: null }, { null: null }, { null: null } ] end [
//   { null: null },
//   { null: null },
//   {
//     null: "22 08:25:00\x14\x00\x00\x17\x132020-10-22 08:24:00\x14\x00\x00\x18\x132020-"
//   },
//   { null: null },
//   { null: null }
// ]

I found some more servers.  I had to modify my test program slightly, but it's similar to what's above.  I was importing from https://github.com/manyuanrong/deno_mysql/raw/00d4651316a66b7cb7d98625380c98098556a26b/mod.ts
Two new servers failed in the same way.  They returned an empty list when I know the result should not have been empty.
Another server failed in a different way.  It threw an exception.
Most of the servers responded with no issues.  This was 100% repeatable.
I've listed all the output below.  Please let me know if you need anything else.
{
  status: "Bad",
  serverName: "malfunctioning-eddie",
  version: [
    [ "innodb_version", "5.6.23-72.1" ],
    [ "protocol_version", "10" ],
    [ "slave_type_conversions", "" ],
    [ "version", "10.0.19-MariaDB" ],
    [ "version_comment", "MariaDB Server" ],
    [ "version_compile_machine", "x86_64" ],
    [ "version_compile_os", "Linux" ],
    [ "version_malloc_library", "system" ]
  ]
}
{
  status: "Bad",
  serverName: "clamps",
  version: [
    [ "innodb_version", "5.6.36-82.0" ],
    [ "protocol_version", "10" ],
    [ "slave_type_conversions", "" ],
    [ "version", "10.1.24-MariaDB" ],
    [ "version_comment", "MariaDB Server" ],
    [ "version_compile_machine", "x86_64" ],
    [ "version_compile_os", "Linux" ],
    [ "version_malloc_library", "system jemalloc" ],
    [ "version_ssl_library", "OpenSSL 1.0.2k-fips  26 Jan 2017" ],
    [ "wsrep_patch_version", "wsrep_25.19" ]
  ]
}
{
  status: "Bad",
  serverName: "id-10-t",
  version: [
    [ "innodb_version", "5.6.39-83.1" ],
    [ "protocol_version", "10" ],
    [ "slave_type_conversions", "" ],
    [ "version", "10.1.33-MariaDB" ],
    [ "version_comment", "MariaDB Server" ],
    [ "version_compile_machine", "x86_64" ],
    [ "version_compile_os", "Linux" ],
    [ "version_malloc_library", "system jemalloc" ],
    [ "version_ssl_library", "OpenSSL 1.1.0h-fips  27 Mar 2018" ],
    [ "wsrep_patch_version", "wsrep_25.23" ]
  ]
}
{
  status: "Bad",
  serverName: "wally-balls",
  version: [
    [ "protocol_version", "10" ],
    [ "version", "5.1.51-log" ],
    [ "version_comment", "MySQL Community Server (GPL) by Remi" ],
    [ "version_compile_machine", "x86_64" ],
    [ "version_compile_os", "redhat-linux-gnu" ]
  ],
  exception: "Error: ndshake\n    at PoolConnection.nextPacket (connection.ts:143:13)\n    at async PoolConnection._..."
}
{
  status: "Good",
  serverName: "flexo",
  version: [
    [ "innodb_version", "1.1.8" ],
    [ "protocol_version", "10" ],
    [ "slave_type_conversions", "" ],
    [ "version", "5.5.18-log" ],
    [ "version_comment", "MySQL Community Server (GPL)" ],
    [ "version_compile_machine", "x86_64" ],
    [ "version_compile_os", "Linux" ]
  ]
}
{
  status: "Good",
  serverName: "calculon",
  version: [
    [ "innodb_version", "5.5.35-MariaDB-33.0" ],
    [ "protocol_version", "10" ],
    [ "slave_type_conversions", "" ],
    [ "version", "5.5.35-MariaDB-log" ],
    [ "version_comment", "MariaDB Server" ],
    [ "version_compile_machine", "x86_64" ],
    [ "version_compile_os", "Linux" ]
  ]
}
{
  status: "Good",
  serverName: "its-the-cops",
  version: [
    [ "innodb_version", "5.5.38-MariaDB-35.2" ],
    [ "protocol_version", "10" ],
    [ "slave_type_conversions", "" ],
    [ "version", "5.5.39-MariaDB-log" ],
    [ "version_comment", "MariaDB Server" ],
    [ "version_compile_machine", "x86_64" ],
    [ "version_compile_os", "Linux" ]
  ]
}
{
  status: "Good",
  serverName: "null-pointer",
  version: [
    [ "innodb_version", "5.5.59-MariaDB-38.11" ],
    [ "protocol_version", "10" ],
    [ "slave_type_conversions", "" ],
    [ "version", "5.5.60-MariaDB" ],
    [ "version_comment", "MariaDB Server" ],
    [ "version_compile_machine", "x86_64" ],
    [ "version_compile_os", "Linux" ]
  ]
}
{
  status: "Good",
  serverName: "bender",
  version: [
    [ "innodb_version", "5.7.22" ],
    [ "protocol_version", "10" ],
    [ "slave_type_conversions", "" ],
    [ "tokudb_version", "5.6.39-83.1" ],
    [ "version", "10.2.16-MariaDB" ],
    [ "version_comment", "MariaDB Server" ],
    [ "version_compile_machine", "x86_64" ],
    [ "version_compile_os", "Linux" ],
    [
      "version_malloc_library",
      "jemalloc 5.0.1-0-g896ed3a8b3f41998d4fb4d625d30ac63ef2d51fb"
    ],
    [ "version_ssl_library", "OpenSSL 1.1.0h-fips  27 Mar 2018" ],
    [ "wsrep_patch_version", "wsrep_25.23" ]
  ]
}
{
  status: "Good",
  serverName: "crushinator",
  version: [
    [ "innodb_version", "5.7.22" ],
    [ "protocol_version", "10" ],
    [ "slave_type_conversions", "" ],
    [ "tokudb_version", "5.6.39-83.1" ],
    [ "version", "10.2.16-MariaDB" ],
    [ "version_comment", "MariaDB Server" ],
    [ "version_compile_machine", "x86_64" ],
    [ "version_compile_os", "Linux" ],
    [
      "version_malloc_library",
      "jemalloc 5.0.1-0-g896ed3a8b3f41998d4fb4d625d30ac63ef2d51fb"
    ],
    [ "version_ssl_library", "OpenSSL 1.1.0h-fips  27 Mar 2018" ],
    [ "wsrep_patch_version", "wsrep_25.23" ]
  ]
}
{
  status: "Good",
  serverName: "dirty-laundry",
  version: [
    [ "innodb_version", "5.7.22" ],
    [ "protocol_version", "10" ],
    [ "slave_type_conversions", "" ],
    [ "tokudb_version", "5.6.39-83.1" ],
    [ "version", "10.2.16-MariaDB" ],
    [ "version_comment", "MariaDB Server" ],
    [ "version_compile_machine", "x86_64" ],
    [ "version_compile_os", "Linux" ],
    [
      "version_malloc_library",
      "jemalloc 5.0.1-0-g896ed3a8b3f41998d4fb4d625d30ac63ef2d51fb"
    ],
    [ "version_ssl_library", "OpenSSL 1.1.0h-fips  27 Mar 2018" ],
    [ "wsrep_patch_version", "wsrep_25.23" ]
  ]
}
{
  status: "Good",
  serverName: "joe-walsh",
  version: [
    [ "innodb_version", "5.7.22" ],
    [ "protocol_version", "10" ],
    [ "slave_type_conversions", "" ],
    [ "tokudb_version", "5.6.39-83.1" ],
    [ "version", "10.2.16-MariaDB" ],
    [ "version_comment", "MariaDB Server" ],
    [ "version_compile_machine", "x86_64" ],
    [ "version_compile_os", "Linux" ],
    [
      "version_malloc_library",
      "jemalloc 5.0.1-0-g896ed3a8b3f41998d4fb4d625d30ac63ef2d51fb"
    ],
    [ "version_ssl_library", "OpenSSL 1.1.0h-fips  27 Mar 2018" ],
    [ "wsrep_patch_version", "wsrep_25.23" ]
  ]
}
{
  status: "Good",
  serverName: "lifes-been-good",
  version: [
    [ "innodb_version", "5.7.22" ],
    [ "protocol_version", "10" ],
    [ "slave_type_conversions", "" ],
    [ "tokudb_version", "5.6.39-83.1" ],
    [ "version", "10.2.16-MariaDB" ],
    [ "version_comment", "MariaDB Server" ],
    [ "version_compile_machine", "x86_64" ],
    [ "version_compile_os", "Linux" ],
    [
      "version_malloc_library",
      "jemalloc 5.0.1-0-g896ed3a8b3f41998d4fb4d625d30ac63ef2d51fb"
    ],
    [ "version_ssl_library", "OpenSSL 1.1.0h-fips  27 Mar 2018" ],
    [ "wsrep_patch_version", "wsrep_25.23" ]
  ]
}
{
  status: "Good",
  serverName: "project-satan",
  version: [
    [ "innodb_version", "5.7.22" ],
    [ "protocol_version", "10" ],
    [ "slave_type_conversions", "" ],
    [ "tokudb_version", "5.6.39-83.1" ],
    [ "version", "10.2.16-MariaDB" ],
    [ "version_comment", "MariaDB Server" ],
    [ "version_compile_machine", "x86_64" ],
    [ "version_compile_os", "Linux" ],
    [
      "version_malloc_library",
      "jemalloc 5.0.1-0-g896ed3a8b3f41998d4fb4d625d30ac63ef2d51fb"
    ],
    [ "version_ssl_library", "OpenSSL 1.1.0h-fips  27 Mar 2018" ],
    [ "wsrep_patch_version", "wsrep_25.23" ]
  ]
}
{
  status: "Good",
  serverName: "roberto",
  version: [
    [ "innodb_version", "5.7.22-22" ],
    [ "protocol_version", "10" ],
    [ "slave_type_conversions", "" ],
    [ "tls_version", "TLSv1,TLSv1.1,TLSv1.2" ],
    [ "version", "5.7.22-22" ],
    [ "version_comment", "Percona Server (GPL), Release 22, Revision f62d93c" ],
    [ "version_compile_machine", "x86_64" ],
    [ "version_compile_os", "Linux" ],
    [ "version_suffix", "" ]
  ]
}
{
  status: "Good",
  serverName: "race-condition",
  version: [
    [ "innodb_version", "5.7.24" ],
    [ "protocol_version", "10" ],
    [ "slave_type_conversions", "" ],
    [ "version", "10.2.19-MariaDB" ],
    [ "version_comment", "MariaDB Server" ],
    [ "version_compile_machine", "x86_64" ],
    [ "version_compile_os", "Linux" ],
    [ "version_malloc_library", "system" ],
    [ "version_ssl_library", "OpenSSL 1.1.0i-fips  14 Aug 2018" ],
    [ "wsrep_patch_version", "wsrep_25.23" ]
  ]
}
{
  status: "Good",
  serverName: "hotel-california",
  version: [
    [ "innodb_version", "5.7.24" ],
    [ "protocol_version", "10" ],
    [ "slave_type_conversions", "" ],
    [ "version", "10.2.21-MariaDB" ],
    [ "version_comment", "MariaDB Server" ],
    [ "version_compile_machine", "x86_64" ],
    [ "version_compile_os", "Linux" ],
    [ "version_malloc_library", "system" ],
    [ "version_ssl_library", "OpenSSL 1.1.0i-fips  14 Aug 2018" ],
    [ "wsrep_patch_version", "wsrep_25.23" ]
  ]
}
{
  status: "Good",
  serverName: "izac",
  version: [
    [ "innodb_version", "5.7.24" ],
    [ "protocol_version", "10" ],
    [ "slave_type_conversions", "" ],
    [ "version", "10.2.21-MariaDB" ],
    [ "version_comment", "MariaDB Server" ],
    [ "version_compile_machine", "x86_64" ],
    [ "version_compile_os", "Linux" ],
    [ "version_malloc_library", "system" ],
    [ "version_ssl_library", "OpenSSL 1.1.0i-fips  14 Aug 2018" ],
    [ "wsrep_patch_version", "wsrep_25.23" ]
  ]
}
{
  status: "Good",
  serverName: "monique",
  version: [
    [ "innodb_version", "5.7.24" ],
    [ "protocol_version", "10" ],
    [ "slave_type_conversions", "" ],
    [ "version", "10.2.21-MariaDB" ],
    [ "version_comment", "MariaDB Server" ],
    [ "version_compile_machine", "x86_64" ],
    [ "version_compile_os", "Linux" ],
    [ "version_malloc_library", "system" ],
    [ "version_ssl_library", "OpenSSL 1.1.0i-fips  14 Aug 2018" ],
    [ "wsrep_patch_version", "wsrep_25.23" ]
  ]
}
{
  status: "Good",
  serverName: "nurse-ratchet",
  version: [
    [ "innodb_version", "5.7.24" ],
    [ "protocol_version", "10" ],
    [ "slave_type_conversions", "" ],
    [ "version", "10.2.21-MariaDB" ],
    [ "version_comment", "MariaDB Server" ],
    [ "version_compile_machine", "x86_64" ],
    [ "version_compile_os", "Linux" ],
    [ "version_malloc_library", "system" ],
    [ "version_ssl_library", "OpenSSL 1.1.0i-fips  14 Aug 2018" ],
    [ "wsrep_patch_version", "wsrep_25.23" ]
  ]
}
{
  status: "Good",
  serverName: "parts-hilton",
  version: [
    [ "innodb_version", "5.7.24" ],
    [ "protocol_version", "10" ],
    [ "slave_type_conversions", "" ],
    [ "version", "10.2.21-MariaDB" ],
    [ "version_comment", "MariaDB Server" ],
    [ "version_compile_machine", "x86_64" ],
    [ "version_compile_os", "Linux" ],
    [ "version_malloc_library", "system" ],
    [ "version_ssl_library", "OpenSSL 1.1.0i-fips  14 Aug 2018" ],
    [ "wsrep_patch_version", "wsrep_25.23" ]
  ]
}
{
  status: "Good",
  serverName: "angleyne",
  version: [
    [ "innodb_version", "5.7.25" ],
    [ "protocol_version", "10" ],
    [ "slave_type_conversions", "" ],
    [ "tokudb_version", "5.6.41-84.1" ],
    [ "version", "10.2.22-MariaDB" ],
    [ "version_comment", "MariaDB Server" ],
    [ "version_compile_machine", "x86_64" ],
    [ "version_compile_os", "Linux" ],
    [
      "version_malloc_library",
      "jemalloc 5.0.1-0-g896ed3a8b3f41998d4fb4d625d30ac63ef2d51fb"
    ],
    [ "version_ssl_library", "OpenSSL 1.1.0i-fips  14 Aug 2018" ],
    [ "wsrep_patch_version", "wsrep_25.24" ]
  ]
}

Closing this because of inactivity. Not sure, I don't know if the bug is fixed. Else feel free to reopen.


Numpy "float" issue

I'm able to run it in CPU and Cuda, the DDIM Sampler reaches 100%, but then this error displays and the output folder is empty.
Traceback (most recent call last):
  File "C:\Users\Miguel\miniconda3\envs\audiosr\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\Miguel\miniconda3\envs\audiosr\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\Miguel\miniconda3\envs\audiosr\lib\site-packages\audiosr\__main__.py", line 115, in <module>
    waveform = super_resolution(
  File "C:\Users\Miguel\miniconda3\envs\audiosr\lib\site-packages\audiosr\pipeline.py", line 168, in super_resolution
    waveform = latent_diffusion.generate_batch(
  File "C:\Users\Miguel\miniconda3\envs\audiosr\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "C:\Users\Miguel\miniconda3\envs\audiosr\lib\site-packages\audiosr\latent_diffusion\models\ddpm.py", line 1546, in generate_batch
    waveform = self.postprocessing(waveform, waveform_lowpass)
  File "C:\Users\Miguel\miniconda3\envs\audiosr\lib\site-packages\audiosr\latent_diffusion\models\ddpm.py", line 1595, in postprocessing
    out_renewed = librosa.istft(stft_out, length=length)
  File "C:\Users\Miguel\miniconda3\envs\audiosr\lib\site-packages\librosa\util\decorators.py", line 88, in inner_f
    return f(*args, **kwargs)
  File "C:\Users\Miguel\miniconda3\envs\audiosr\lib\site-packages\librosa\core\spectrum.py", line 394, in istft
    dtype = util.dtype_c2r(stft_matrix.dtype)
  File "C:\Users\Miguel\miniconda3\envs\audiosr\lib\site-packages\librosa\util\decorators.py", line 88, in inner_f
    return f(*args, **kwargs)
  File "C:\Users\Miguel\miniconda3\envs\audiosr\lib\site-packages\librosa\util\utils.py", line 2185, in dtype_c2r
    np.dtype(complex): np.dtype(np.float).type,
  File "C:\Users\Miguel\miniconda3\envs\audiosr\lib\site-packages\numpy\__init__.py", line 324, in __getattr__
    raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'float'.
`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
    https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations

I'm guessing that you've installed a cuda enabled version of pytorch, which in turn installs a version of numpy which this repo doesn't support (version 1.23.5 vs 1.26)
One way, which I used to work around the issue, is to force install the old numpy version: pip install numpy==1.23.5 --force

I'm guessing that you've installed a cuda enabled version of pytorch, which in turn installs a version of numpy which this repo doesn't support (version 1.23.5 vs 1.26)
One way, which I used to work around the issue, is to force install the old numpy version: pip install numpy==1.23.5 --force

Yes, I've installed Cuda. I've reinstalled numpy with the command you shared and it does not return that error. Thanks!


Container image build for user-management fails due to changes to main.ts (probable fix enclosed)

Context:  workshop lab 1, core microservices, step 12 - build and deploy remaining shared services
when ./scripts/deploy-user-management.sh runs, it fails with the following:

ERROR in apps/user-management/src/main.ts:25:20
TS2554: Expected 0 arguments, but got 1.
23 |     options,
24 |   );

25 |   await app.listen(() => {
|                    ^^^^^^^
26 |     console.log('Users microservice is listening...');
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/*
27 |   });
| ^^^^
28 | }
29 | bootstrap();
30 |

In the original commit for this file, the relevant code at line 25 was only:
await app.listen(3000);
I updated my version of the file to:
await app.listen();       // assume that port defined in options block where it is defined as 3015 will take care of port assignment
With that, the build was successful and the user-management image was loaded to the repo. I don't know if my interpretation of the fix is appropriate. I'll press on from here.
EDIT: Yes, this appeared to work fine. Pod deployed running on port 3015 as expected. This looks to be a valid fix.

@lspellman thanks for the feedback, and so sorry for the troubles! I just looked through Nest's code, and this was a breaking change between version 7 and 8. We'll work on getting a build setup to catch silliness like this in the future. Apologies again.
In the interim, I'll commit your fix. Also, please feel free to PR any of these changes you come across. Happy to accept your input.

No problem Toby, I've enjoyed digging into it. I did the workshop at Re:Invent but didn't have time to go deep. So I knew it "worked" fairly recently and that some things must have changed in the interim.  I completed it earlier today, and am preparing some presentations for internal teams and customers.

Oh, nice. Thanks for the note! Happy to entertain suggestions.


Merge wait and waitForElement

To simplify the wait() API I think we could merge wait() and waitForElement().
The implementation would be something like:
const isElement = obj => obj && obj.nodeType === Node.ELEMENT_NODE

function wait(callback = () => {}) {
  const result = callback()
  return isElement(result) ? waitForElement(callback) : waitForExpect(callback)
}

I'm in support of this 👍 thoughts from others? I think I'd accept a PR for this.

@kentcdodds sure, I can submit a PR, I'll just wait for thoughts from other people.

waitForElement has quite a few options (and could be more to come) that are specifically about the DOM:
function waitForElement<T>(
  callback?: () => T | null | undefined,
  options?: {
    container?: HTMLElement
    timeout?: number
    mutationObserverOptions?: MutationObserverInit
  },
): Promise<T>

wait has a different set of options:
function wait(
  callback?: () => void,
  options?: {
    timeout?: number
    interval?: number
  },
): Promise<void>

@sompylasar I don't see any problem on it because they are just optional options, when you provide the callback you are returning an element anyway, so you know that you can pass container or mutationObserverOptions as options.
It's also very easy to validate if the passed option is allowed in the context. The trade-off is an easier API.

I see good points from @hnordt. We are using react-test-utils in a project and honestly I think we can have a single wait API exposed, as a result we will get an easier API. Its good to hide the implementation details like waitForElement inside wait.

Closed due to https://github.com/kentcdodds/dom-testing-library/pull/58#issuecomment-398217658


Mobile issue: demo game only goes right

When I click this game the "d" key moves me right, but the "a" key doesn't move me back to the left

This is in fact the game, it's the tutorial. We discussed changing the default game for mobile for this reason.

Looks like I misunderstood the game inputs– "a" isn't bound to anything: https://github.com/hackclub/sprig/issues/349#issuecomment-1242531419. "j" is bound to left, which works correctly.


IDE in HTML page

👨💻 Changes proposed
This pullr request is regarding the issue #291
✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
Embedded IDEs in images tag page of HTML section.
📷 Screenshots

Output Demo

@singhmansi25 @KKhushhalR2405 @raghavTinker do review it once.

@nikhil25803 It looks good. Please add IDEs to all HTML sub-topics too.

Added IDEs to all HTML sub-topics and fixed an error in tables page of HTML.
(home/base.html was not extended in the pages ) Fixed it !

@KKhushhalR2405 Do check it once :)


Windows 7.8.10 Installation Guide Cygwin

Hi, I have problem with connecting Outline Client o Windows 8.1. and I coul not reach any tutorial on Youtube. How can I install Cygwin correctly step by step

Hi @egosha17, I suggest you start by looking at the cygwin install site. In order to build Outline in cygwin, you should select the rsync and git packages in the cygwin installer.

Already installed Cygwin but I could install Outline client
$ yarn do src/electron/build
yarn run v1.22.4
error Command "do" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Hi @egosha17, I suggest you start by looking at the cygwin install site. In order to build Outline in cygwin, you should select the rsync and git packages in the cygwin installer.

Already installed Cygwin but I could not run below command
$ yarn do src/electron/build
yarn run v1.22.4
error Command "do" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

There is no any DO command in YARN

The do command is defined in package.json. Make sure you are running the command within the repository directory.

Thanks a lot for your help but still issues to fix.In this case
esgergoshayev@goshayev ~$ yarn do src/electron/buildyarn run
v1.22.4warning package.json: No license field$ bash ./scripts/do_action.sh
src/electron/buildbash: ./scripts/do_action.sh: No such file or
directoryerror Command failed with exit code 127.info Visit
https://yarnpkg.com/en/docs/cli/run https://yarnpkg.com/en/docs/cli/run
for documentation about this command.
On Tue, Jul 7, 2020 at 11:23 PM alalamav<EMAIL_ADDRESS>wrote:

The do command is defined in package.json
https://github.com/Jigsaw-Code/outline-client/blob/master/package.json#L7.
Make sure you are running the command within the repository directory.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Jigsaw-Code/outline-client/issues/819#issuecomment-655041339,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQGD6OTIG3WJ4CCBW66WXDDR2NR2FANCNFSM4ORUF26A
.

Done


Clean contributing

Coverage remained the same at 100.0% when pulling 3990675a893a4e387649ce57a283542c1a4cac52 on cho-clean-contributing into 02f8ac6fd301e2bc4174f6fca4e3096bb69b0c2e on master.

Coverage remained the same at 100.0% when pulling 3990675a893a4e387649ce57a283542c1a4cac52 on cho-clean-contributing into 02f8ac6fd301e2bc4174f6fca4e3096bb69b0c2e on master.

Coverage remained the same at 100.0% when pulling 3990675a893a4e387649ce57a283542c1a4cac52 on cho-clean-contributing into 02f8ac6fd301e2bc4174f6fca4e3096bb69b0c2e on master.


build: mark server tests as flaky

These server tests frequently fail due to timeouts. Despite efforts, the root cause has not yet been identified, so they are being marked as flaky to prevent blocking the pipeline while further investigation continues.

The changes were merged into the following branches: main, 18.2.x


root: integrated C programming language for its library construction

Since the hardest library construction is C programming language, we should deal with it first. Hence, let's do this.
This patch integrates C programming language for its library construction in root repository.

By the way, where is MSI packager?

And also, in some codes, I assume this patch will implement flat package repository feature?

By the way, where is MSI packager?

Will implement in the next patch. It has this issue https://github.com/wixtoolset/issues/issues/7896 to co-implement as well.

And also, in some codes, I assume this patch will implement flat package repository feature?

yes

OK. In that case, all clear. You may also want to push to upstream (AutomataCI repo) before I go to bed.


dev: add hubone schema container

Issue Number: #56

:tada: This PR is included in version 2.2.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add Docker file

Also, are you OK to license this change and others under MIT/Apache2? ( #92 )

I'm OK 👌

Excellent, thank you 🚀


Implement API for branches listing

Same as #2419 but on the develop branch.

LGTM, thanks again.


Add Istanbul for coverage and coveralls

Hello 👋
This PR adds Istanbul to measure test coverage and add settings to track coverage over time with https://coveralls.io
We (@gr2m and me) think this is crucial for adding semantic-release and Greenkeeper to Hubot, both of which depend on reliable tests, and ideally 100% coverage. semantic-release uses tests to determine whether a commit introduces breaking changes, and Greenkeeper uses tests to determine whether a dependency update breaks Hubot. We’d like to automate away as much of the release process as possible (to make it more convenient, so we can release more often, and to avoid sentimental versioning, and we’d like to use Greenkeeper to be sure that users don’t get frustrated with Hubot because some dependency broke it without us noticing.

npm test now displays coverage information at the end of each test run
The readme now shows build status and coverage info badges
Hubot has a status page on coveralls.io (check this page from hoodiehq/hoodie https://coveralls.io/github/hoodiehq/hoodie to see what this looks like)

Coveralls.io requires additional configuration:

An admin/owner of github/hubot must sign in to https://coveralls.io with their GitHub account
On https://coveralls.io/repos/new , enable github/hubot
On https://coveralls.io/github/{username}/hubot/settings, disable leave comments
On the same page, set coverage decrease threshold for failure to 0 and save changes
Check coveralls/coveralls in Require status checks to pass before merging on https://github.com/github/hubot/settings/branches/master

Coveralls now runs when Travis runs, and the build should fail when coverage falls below the previous test run’s level.

ping @technicalpickles @mose @bkeepers


Renaming the primary key of a table blows everything up

A project with the following migration would fail to compile when using infer_schema!
CREATE TABLE users (non_standard_pk SERIAL PRIMARY KEY);
ALTER TABLE users RENAME COLUMN non_standard_pk TO id;

While the column has been renamed, the pg_attribute entry that the index is pointing to continues to have the old name. This causes our generated code to explode when we do type PrimaryKey = users::non_standard_pk. I haven't looked too deeply into this. My guess is that there is some indicator on the pg_attribute entry which will indicate that it's no longer being directly used, and the new entry is somehow referencing the old one.

Probably worth mentioning that the value of attisdropped on the entry with the wrong name is 'f'

I tried it and can't reproduce. Has this been fixed and the issue forgotten ? Maybe postgres has been fixed ?


Add text field UI component

Current Behavior
Add Text field Ui component
Desired Behavior
A text field is a commonly used UI component that allows users to input and edit text. It is used in various forms and data entry scenarios throughout web and mobile applications.
Screenshots / Mockups

Add gssoc label @thekavikumar


Make appsWhiteList optional in PopupProps

Application runs fine without this prop, but Typescript complains about it being missing.

Thanks for your contribution! Released as<EMAIL_ADDRESS>


I'm a little confused

I'm only seeing it run once?

Could you show how you're using the cache and what output you're seeing? There are test cases for this behavior and I was able to confirm that the library is working for me locally.

main :: Relude.IO () main = do   let opts = Data.Cache.Polling.basicOptions (Data.Cache.Poling.DelayForMicroseconds 100000) Data.Cache.Polling.Ignore   cache <-     Data.Cache.Polling.newPollingCache       opts       (Relude.return 1)   Control.Concurrent.threadDelay 100   latestResult <- Data.Cache.Polling.Cache.cachedValue cache   Relude.print latestResult

cabal runs and then exists

So, to be specific, the library will poll regardless of calls to cachedValue. The exiting behavior is because there's nothing in that program that tells cabal to keep running (or, rather, not to exit).
You would need to call cachedValue multiple times to see values as they change though!

I'm going to close this for now since it doesn't appear to be an issue with the library, but please feel free to ask further questions here if you have them.


Graph terminates in small horizontal bar

Is this a display issue (if so, how can I see the whole graph?) Or is it showing me that the gradients have stopped propagating at that point?

Hi,
Could you share the code that leads to this please?


Phoneix Wright Ace Attorney

Hi kaplas, Are you considering an update for phoneix wright ace attorney? i tried to use to it translation framework 2.0 but i think it doesnt work anymore. if your answer no, do u know any tool for pwaa steam edition ? sorry for asking like this way .

Hello!
No, that game is not in my future plans. As you say, in TF2 I did it wrong and it doesn't work well, and the guy who was going to translate it to Spanish abandoned the project, so I stopped developing it.
I think there are other tools to translate, because other group translated the game to Spanish, but I don't know if those tools are publicly available.

Thanks for answering Kaplas ! Thanks to your works, yakuza 0 was translated into Turkish .I wish i could same thing for Phoenix Wright. I hope all goes well with you.


We can label intentional fall-throughs and tell clang to report unannotated ones, to catch bugs that would be caused by involuntarily falling through between switch labels.
The result is not super aesthetic in builtins.h or jhash.h, but at the same time it's just one keyword so not too much boilerplate either. And it catches bugs. The one fixed in commit 9a641116021a ("bpf: test: fix pktgen for IPv6 NEXTHDR_DEST option"), or the first commit in this PR, were found this way.
I wasn't able to pin down the exact version that got support for the relevant attribute, but clang 10 has it for sure and it seems to be much older than that, so we don't have to worry and test for its availability.
Inspired by checkpatch complaining about the /* fall through */ comments.

/test

/test

/test

/test-runtime

/test

/test

Repeating here the warning for backporters that only the first commit should be backported to 1.13.

Thanks for the warning @qmonnet!


Requested Resource Does Not Support HTTP Method PUT in azure-mgmt-authorizations

Package Name: azure-mgmt-authorizations
Package Version:  v2015_07_01
Operating System: Ubuntu Linux
Python Version: 3.8

Describe the bug
Getting "requested resource does not support http method 'PUT' error when running create_or_update from role_definitions_operations
Was previously functioning - breaking on new container build
To Reproduce
def update_role_definition(creds: ClientSecretCredential, sub_id: str) -> None:
"""Adds new subscription to scope"""
client = AuthorizationManagementClient(
creds, subscription_id=ROLE_DEF_UPDATE_SUBSCRIPTION)
current_role_def = client.role_definitions.get_by_id(role_definition_id=ROLE_DEF_ID)
current_role_def.assignable_scopes.append(f'/subscriptions/{sub_id}')
client.role_definitions.create_or_update(
scope=f'/subscriptions/{ROLE_DEF_UPDATE_SUBSCRIPTION}/',
role_definition_id=ROLE_DEF_ID,
role_definition=current_role_def)
Expected behavior
Modification of the role definition to include new subscription
Screenshots
client.role_definitions.create_or_update(
File "/var/lang/lib/python3.8/site-packages/azure/mgmt/authorization/v2015_07_01/operations/_role_definitions_operations.py", line 220, in create_or_update
raise HttpResponseError(response=response, error_format=ARMErrorFormat)\nazure.core.exceptions.HttpResponseError: (None) The requested resource does not support http method 'PUT'.",

Hi @CloudSecuritySmith, thank you for opening this issue! We'll investigate ASAP.

@CloudSecuritySmith Can you please check and confirm back if your issue is resolved.


OTP not sent!

getting this issue when trying to send OTP

Hi @Aqib-1998, The package is on an update, and the test servers are on high load, So thus Kindly wait until 31st 12:00 am. and after the update you will be able to set a custom production server to match your needs. Sorry for the inconvenience.

Aight, thanks alot for the reply .. A tutorial on setting up the server would be appreciated

Hi All,
The steps to setup the production server are mentioned here in a detailed way, Kindly have a look at it.
https://saran-surya.github.io/email-auth-node/

Hi All, Kindly update the package, version 1.0.0 is out. And you can have a custom server with it 🚀


'Add new' button: creation of new project and repository fails for all profiles except first one

'Add new' button: creation of new project and repository fails for all profiles except first one
Steps to reproduce:

Open web site and connect to web client
Change user profile to different from the first one
Navigate to the organizations screen
Open one off own organizations/projects
Click "Add new" button
Fill in a new project name/new repository name
Click 'continue' button
Actual result: new project/repository creation fails
Expected result: new project/repository is successfuly created

https://user-images.githubusercontent.com/68267190/177984561-04ffeee4-b37f-45b3-a418-e5d5c0a8af00.mp4

Checked


Running CMD+ALT+B Twice executes CMD twice and looses the first

When i run CMD+ALT+B my "gulp" command runs. Perfectly! My gulp script runs a server (listning to a port) and everythings perfect.
If i press it again it re-runs the same command, which generats an "error listning to port" since the first one already is running. Problem is that now the first one are lost in the background. To close it i need to:
ps -x | grep gulp
kill -9
Then i can do a new cmd+alt+b :)

I guess you should stop any running builds when starting a new one, but some people might be relying on this feature.

I'm suspecting a problem with the webserver that gulp spawns. It's likely not propagating the kill signal. For example, a simple gulpfile:
const gulp = require('gulp');

gulp.task('untz', () => {
  setInterval(() => { console.log('im running', process.pid); }, 2000);
  gulp.watch('gulpfile.js', () => {
    console.log('changed');
  });
});

And I can press cmd-alt-b over and over and it properly closes the previous command before spawning the next one. I can verify that be noticing that there's ever only one PID being output every 2 seconds.
What webserver is being spawned?

Closing due to inactivity.


Notification via SMTP

These commits aim to implement a simple configurable SMTP client that then sends mails if backups fail.
Backups are considered as failed if the respective backup methods return False.
If the SMTP client is configured (smtp key in config.yaml), sending mails can also be tested using python3 backup_client.py notify.
The SMTP configuration is optional and no mail will be sent if the config is missing.

tests done. notify works on database dump error.


Excluding comments

Hi, thanks for creating this great plugin!
When long form writing, I often make in-line comments using %% ... %%.
Would it be possible to exclude counting the words in any in-line comments.
Thanks

Please exclude HTML comments, too (I use them for wider compatibility).
I imagine comment-excluding should probably be optional.


Add 'crossOrigin' attribute to SVG image element.

This is to prevent the following error when trying to load SVG images from foreign origins (that provide proper CORS headers):
Uncaught DOMException: Failed to execute 'texImage2D' on 'WebGLRenderingContext': Tainted canvases may not be loaded.

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


Fixed params for Ubuntu to ensure su is set

Pull Request (PR) description
Fixed params for Ubuntu to ensure su is set because su_user and su_group are no longer sufficient to get the logrotate.conf template to output the su directive.
This Pull Request (PR) fixes the following issues
No issue raised.

I just don't understand how such a simple change can cause all these tests to fail.
I want to contribute to this project but understanding what this means is beyond me.
An error occurred in an `after(:suite)` hook.
Failure/Error:
defstat(host, path)
ruby = ruby_command(host)
owner = on(host"#{ruby} -e 'require\"etc\"; puts (Etc.getpwuid(File.stat(\"#{path}\").uid).name)'").stdout.chomp
group = on(host"#{ruby} -e 'require\"etc\"; puts (Etc.getgrgid(File.stat(\"#{path}\").gid).name)'").stdout.chomp
mode  = on(host"#{ruby} -e 'puts (File.stat(\"#{path}\").mode & 0777).to_s(8)'").stdout.chomp.to_i
[owner, group, mode]
end
Excon::Error::Socket:
  wrong number of arguments (given 0, expected 2) (ArgumentError)

@bastelfreak anyway to kick the checks off on this PR also?

thanks for the fix @acurus-puppetmaster !


Pull ideas from other react-webpack starter kits

Placeholder for sources of inspiration.
This one has some good stuff:
https://github.com/kriasoft/react-starter-kit
@mbreining Thoughts?

So far, I haven't seen anything jumping out. Closing this issue. We'll open a specific issue if we see something useful.


CSV parsing fault

What happened?
When parsing a .csv file, every row in the first column has null value and is marked with - (as it is set in the settings).
It happens in every .csv file that I have tried, in both cases of using DQL or JS.
Sample csv file:
Book1.csv
Result:

Workaround:
(applied/work only when using JS)
(credit to Discord user @River)
It works if this line would be changed with
dv.table(headers , data.map(x=> [x.eventdate, x.eventName]))

this line
dv.table(headers , data.map(x=> [x["-eventdate"], x.eventName]))

DQL
TABLE WITHOUT ID eventDate, eventName
FROM csv("attachments/book1.csv")

JS
const data = await dv.io.csv("attachments/book1.csv")
const headers = ["eventDate","eventName"]
dv.table(headers , data.map(x=> [x.eventdate, x.eventName]))

Workaround:
const data = await dv.io.csv("attachments/book1.csv")
const headers = ["eventDate","eventName"]
dv.table(headers , data.map(x=> [x["-eventdate"], x.eventName]))

Dataview Version
0.5.52
Obsidian Version
1.1.9
OS
MacOS

From my brief investigation, it looked like the first column of the CSV was prepended with a zero-width space character. There was no ZWS in the csv file, so I believe DV added it.
This explains the normalised name beginning with -, but I didn't figure out the root cause.

Thanks for the report. This is certainly one of the more detailed ones haha. ❤


Convert tabs to spaces

There were some mixed tabs and spaces in these files.

@rwols could you fix the conflicts?

fixed in #44


Xeditable fields added dynamically are not initialized as Xeditable

I am trying to add dynmic editable field in dropzone.js thumnail part ? now i know that Xeditable fields added dynamicaly are initialize . i am trying it ion angular
Fiddle:
http://jsfiddle.net/NfPcH/2008/
After click on add Xeditable field , a new field is added but it is not getting initialize.

@eugef please close, this issue looks like it's answered.


problem launch flannel docker0

Hello,
I have a issue with your last release, pods I launch are not connected in flannel network (10.244.X.X) but in docker0 network (10.1.X.X) so I can connect my pods from other nodes of the cluster

It works pretty well before, the issue come with the last commit I think

@MCyprien thanks for reporting this. fix is already in my tree. should land here soonish.


feature/parameter-units

Description
Adds units to the parameter view and sets a new ESID release in the changelog.
Design Decisions
This hardcodes the units in the translation file. There is also logic to transform numbers with percent to be shown as percentages instead of normalized.
Checklist
I, the author of this PR checked the following requirements for good software quality:

[x] The code is properly formatted (I ran the formatter)
[x] The code is written with our software quality standards (I ran the linter)
[x] The code is written using our code style
[x] Extensive in source documentation has been added
[ ] Unit and/or integration tests have been added
[x] All texts have been internationalized with at least the following languages:

[x] English
[x] German

[x] I tried addressing all new accessibility problems displayed in the console and documented if they can't be fixed
[ ] I attached performance measurements to prevent performance degradation
[x] I added the changes to the next release section of the changelog

I, the reviewer checked the following things:

[ ] I ran the software once and tried all new and related functionality to this PR
[ ] I looked at all new and changed lines of code and commented on possible problems
[ ] I read the added documentation and checked if it is understandable and clear
[ ] I checked the added tests for completeness
[ ] I checked the internationalized strings for spelling errors
[ ] I checked the performance metrics for problems or unexplained degradation
[ ] I checked that the changes are noted in the changelog

How feasible is it to add a spanning parent cell in the header that has the category name (i.e. "Alter"/"Age")? It could help users understand the differenty columns quicker.

decided to be moved to a separate issue


Card Profile result responsive CSS fixes

Description
Aijaz is working on making the quiz result page responsive. He needed me to make some changes to the CSS of the Card Profile Result component so that it doesn't go off the page.
Fixes # I'm not sure which issue Aijaz is working on.
How to test?
Open component in storybook to see changes.
Checklist

[ x] I have performed a self-review of my own code
[x ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ x] This PR is ready to be merged and not breaking any other functionality

Hi Beth!
We don't need this PR now. As I have changed your CSS in my PR by adding some media query to make it responsive on small screens.
so you can delete this PR


Tests fixed, forEachInParallel method added for Collection protocol

Hello! forEachInParallel behaves exactly like forEach method from Swift Standard Library, but may perform iterations in parallel. It uses DispatchQueue.concurrentPerform(former dispatch_apply) under the hood.

Checklist

[x] I checked the Contributing Guidelines before creating this request.
[ ] I have only one commit in this pull request.
[x] New extensions support iOS 8 or later.
[x] New extensions are written in Swift 3.
[x] New extensions were created in development branch.
[x] Pull request was created to development head branch.
[x] All extensions have a clear comments explaining their functionality, all parameters and return type in English.
[x] All comments headears have the word SwifterSwift: before description.

Any updates? @omaralbeik

@SiarheiFedartsou Added to development branch, will be added to master in the next release, Sorry I could not merge #57 because it has 2 commits and some conflicts.
Thank you!

@SiarheiFedartsou added in v1.3.8. Thank you!


Restrict the deletion of comments to the commenter only.

At present, any user can delete any comment. We need to enforce a rule that only the original commenter can delete their own comment.

I have worked on this in https://github.com/vuvuong003/CampusJobReview/pull/21. @vuvuong003 can you check if the working is as expected? Thanks.

Yeah, it works

Great. Closing the issue now.


NOT not working

It looks like the NOT operator in search isn't working.
I believe there is something wrong with generating the index query.

for example NOT ubi9 leads to "no results", although I would expect e.g. ubi7 containers to show up.


Too much memory usage

As the application runs it's consume far more memory than it should. It appears a good chunk of allocated, in-use heap is from the HTTP router and context. A possibility worth pursuing is to replace the router with a less memory intensive one like julienschmidt/httprouter. Also, playing with the context system could prove useful in reducing memory usage. It seems to top out eventually, but it takes up nearly a gig or more before doing so.

Fixed in v0.14.0.


[Feature request] Improve row and linebreak selection

Is your feature request related to a problem? Please describe.
When I'd like to reorder rows or multiple rows in a text document, I can't easily select the text together with the previous linebreak.
What happens when selecting a line and moving the mouse up one line, is that:

either only the line gets selected with no linebreaks,
the line gets selected with the following linebreak
or both the previous and the following linebreaks are selected.

Describe the solution you'd like
In Windows Notepad (and most other text editors), selection with linebreaks feels much more predictable, when moving the mouse up a line, the cursor follows, and only the previous linebreak gets selected.
The behavior I mean, is basically what happens when you are the end of a line with the cursor, and press shift + up arrow once (when the previous line is shorter of course).
Describe alternatives you've considered
I can use the keyboard alternatively, but that takes extra steps each time, and sometimes that also highlights the following linebreak somehow...
Additional context

One other alternative I found is:
Starting the selection from the top row, and going to the end of the lower line.
This is also cumbersome, because you have to end precisely on the end of the lower line, otherwise the next linebreak will also be selected.

Try alt + ^ or alt + V (arrow key)

@0x7c13 As I mentioned in the original post, using the keyboard is a viable alternative, but that takes extra steps each time, can't be done without letting go of the mouse and the selection feels inconsistent this way.

This is how the underline WinRT richedit text control implemented by Microsoft. I cannot do anything unless they change the way how it works or giving us option to configure its behavior like what you described earlier.

Well that's too bad, thanks for the reply tho.
Should I close the issue than?


Support kind and go CI jobs on feature branch

Add feature label to branch filter.
Fixes #3551
Signed-off-by: Shuyang Xin<EMAIL_ADDRESS>

Codecov Report

Merging #3560 (6469509) into main (c927d1a) will decrease coverage by 25.95%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #3560       +/-   ##
===========================================
- Coverage   64.11%   38.16%   -25.96%
===========================================
  Files         278      114      -164
  Lines       27833    15266    -12567
===========================================
- Hits        17846     5826    -12020
- Misses       8069     8959      +890
+ Partials     1918      481     -1437

Flag
Coverage Δ

integration-tests
38.16% <ø> (?)

kind-e2e-tests
?

unit-tests
?

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

Impacted Files
Coverage Δ

pkg/agent/cniserver/ipam/antrea_ipam_controller.go

pkg/agent/flowexporter/exporter/certificate.go

...kg/controller/networkpolicy/antreanetworkpolicy.go

...uster/commonarea/acnp_resourceimport_controller.go

pkg/agent/ipassigner/local_ip_detector_linux.go

pkg/agent/util/net_linux.go

pkg/agent/multicast/mcast_socket_linux.go

...lticluster/commonarea/resourceimport_controller.go

pkg/agent/config/traffic_encryption_mode.go

pkg/agent/proxy/types/types.go

... and 382 more

/skip-all


Feature/better input parsing

An input parsing based on importing the input files as python modules instead of executing the code.
A check is performed to ensure all necessary parameters are provided in the correct files, and that no parameters are there which are not recognized.
This change is python3 compatible.

closed in favor of better_inpt_parsing2


Factor out depresolve logic into separate pkg

This makes ResolveImportPath callable from external packages. One instance where this will be called is in sourcegraph.com/sourcegraph/sourcegraph/util/resolveutil to resolve custom Go package import paths (upcoming PR).

LGTM


make setup-python works on Linux

Goal: add support for Linux
It should have been working already, but in theory. Need to check & adapt.

tested on ubuntu @ github actions, it works


Travis tests are failing

It seems all recent commits and PR are resulting in test failures from travis. Someone should fix them
There were 14 errors:
1) PushServiceTest::testBrowsers with data set #0 ('firefox', 'stable', array())
Exception: web-push-testing-service error: {"error":{"id":"unable_to_get_subscription","message":"An issue occured while attempting to get the subscription: Error retrieving push subscription."}}
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:265
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:156
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:101
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:119
2) PushServiceTest::testBrowsers with data set #1 ('firefox', 'beta', array())
Exception: web-push-testing-service error: {"error":{"id":"unable_to_get_subscription","message":"An issue occured while attempting to get the subscription: Error retrieving push subscription."}}
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:265
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:156
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:101
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:119
3) PushServiceTest::testBrowsers with data set #2 ('chrome', 'stable', array('AIzaSyBAU0VfXoskxUSg81K5VgLgw...ZWe6tA'))
Exception: web-push-testing-service error: {"error":{"id":"webdriver_issue","message":"An issue occured while attempting to get the subscription: session not created: Chrome version must be between 71 and 75\n  (Driver info: chromedriver=2.46.628388 (4a34a70827ac54148e092aafb70504c4ea7ae926),platform=Linux 4.4.0-101-generic x86_64)"}}
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:265
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:156
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:101
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:119
4) PushServiceTest::testBrowsers with data set #3 ('chrome', 'beta', array('AIzaSyBAU0VfXoskxUSg81K5VgLgw...ZWe6tA'))
Exception: web-push-testing-service error: {"error":{"id":"webdriver_issue","message":"An issue occured while attempting to get the subscription: session not created: Chrome version must be between 71 and 75\n  (Driver info: chromedriver=2.46.628388 (4a34a70827ac54148e092aafb70504c4ea7ae926),platform=Linux 4.4.0-101-generic x86_64)"}}
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:265
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:156
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:101
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:119
5) PushServiceTest::testBrowsers with data set #4 ('firefox', 'stable', array('AIzaSyBAU0VfXoskxUSg81K5VgLgw...ZWe6tA'))
Exception: web-push-testing-service error: {"error":{"id":"unable_to_get_subscription","message":"An issue occured while attempting to get the subscription: Error retrieving push subscription."}}
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:265
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:156
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:101
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:119
6) PushServiceTest::testBrowsers with data set #5 ('firefox', 'beta', array('AIzaSyBAU0VfXoskxUSg81K5VgLgw...ZWe6tA'))
Exception: web-push-testing-service error: {"error":{"id":"unable_to_get_subscription","message":"An issue occured while attempting to get the subscription: Error retrieving push subscription."}}
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:265
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:156
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:101
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:119
7) PushServiceTest::testBrowsers with data set #6 ('chrome', 'stable', array(array('http://test.com', 'BA6jvk34k6YjElHQ6S0oZwmrsqHdC...lLQHDk', '-3CdhFOqjzixgAbUSa0Zv9zi-dwDV...BxSFPQ')))
Exception: web-push-testing-service error: {"error":{"id":"webdriver_issue","message":"An issue occured while attempting to get the subscription: session not created: Chrome version must be between 71 and 75\n  (Driver info: chromedriver=2.46.628388 (4a34a70827ac54148e092aafb70504c4ea7ae926),platform=Linux 4.4.0-101-generic x86_64)"}}
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:265
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:156
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:101
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:119
8) PushServiceTest::testBrowsers with data set #7 ('chrome', 'beta', array(array('http://test.com', 'BA6jvk34k6YjElHQ6S0oZwmrsqHdC...lLQHDk', '-3CdhFOqjzixgAbUSa0Zv9zi-dwDV...BxSFPQ')))
Exception: web-push-testing-service error: {"error":{"id":"webdriver_issue","message":"An issue occured while attempting to get the subscription: session not created: Chrome version must be between 71 and 75\n  (Driver info: chromedriver=2.46.628388 (4a34a70827ac54148e092aafb70504c4ea7ae926),platform=Linux 4.4.0-101-generic x86_64)"}}
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:265
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:156
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:101
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:119
9) PushServiceTest::testBrowsers with data set #8 ('firefox', 'stable', array(array('http://test.com', 'BA6jvk34k6YjElHQ6S0oZwmrsqHdC...lLQHDk', '-3CdhFOqjzixgAbUSa0Zv9zi-dwDV...BxSFPQ')))
Exception: web-push-testing-service error: {"error":{"id":"unable_to_get_subscription","message":"An issue occured while attempting to get the subscription: Error retrieving push subscription."}}
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:265
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:156
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:101
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:119
10) PushServiceTest::testBrowsers with data set #9 ('firefox', 'beta', array(array('http://test.com', 'BA6jvk34k6YjElHQ6S0oZwmrsqHdC...lLQHDk', '-3CdhFOqjzixgAbUSa0Zv9zi-dwDV...BxSFPQ')))
Exception: web-push-testing-service error: {"error":{"id":"unable_to_get_subscription","message":"An issue occured while attempting to get the subscription: Error retrieving push subscription."}}
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:265
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:156
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:101
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:119
11) PushServiceTest::testBrowsers with data set #10 ('chrome', 'stable', array('AIzaSyBAU0VfXoskxUSg81K5VgLgw...ZWe6tA', array('http://test.com', 'BA6jvk34k6YjElHQ6S0oZwmrsqHdC...lLQHDk', '-3CdhFOqjzixgAbUSa0Zv9zi-dwDV...BxSFPQ')))
Exception: web-push-testing-service error: {"error":{"id":"webdriver_issue","message":"An issue occured while attempting to get the subscription: session not created: Chrome version must be between 71 and 75\n  (Driver info: chromedriver=2.46.628388 (4a34a70827ac54148e092aafb70504c4ea7ae926),platform=Linux 4.4.0-101-generic x86_64)"}}
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:265
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:156
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:101
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:119
12) PushServiceTest::testBrowsers with data set #11 ('chrome', 'beta', array('AIzaSyBAU0VfXoskxUSg81K5VgLgw...ZWe6tA', array('http://test.com', 'BA6jvk34k6YjElHQ6S0oZwmrsqHdC...lLQHDk', '-3CdhFOqjzixgAbUSa0Zv9zi-dwDV...BxSFPQ')))
Exception: web-push-testing-service error: {"error":{"id":"webdriver_issue","message":"An issue occured while attempting to get the subscription: session not created: Chrome version must be between 71 and 75\n  (Driver info: chromedriver=2.46.628388 (4a34a70827ac54148e092aafb70504c4ea7ae926),platform=Linux 4.4.0-101-generic x86_64)"}}
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:265
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:156
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:101
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:119
13) PushServiceTest::testBrowsers with data set #12 ('firefox', 'stable', array('AIzaSyBAU0VfXoskxUSg81K5VgLgw...ZWe6tA', array('http://test.com', 'BA6jvk34k6YjElHQ6S0oZwmrsqHdC...lLQHDk', '-3CdhFOqjzixgAbUSa0Zv9zi-dwDV...BxSFPQ')))
Exception: web-push-testing-service error: {"error":{"id":"unable_to_get_subscription","message":"An issue occured while attempting to get the subscription: Error retrieving push subscription."}}
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:265
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:156
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:101
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:119
14) PushServiceTest::testBrowsers with data set #13 ('firefox', 'beta', array('AIzaSyBAU0VfXoskxUSg81K5VgLgw...ZWe6tA', array('http://test.com', 'BA6jvk34k6YjElHQ6S0oZwmrsqHdC...lLQHDk', '-3CdhFOqjzixgAbUSa0Zv9zi-dwDV...BxSFPQ')))
Exception: web-push-testing-service error: {"error":{"id":"unable_to_get_subscription","message":"An issue occured while attempting to get the subscription: Error retrieving push subscription."}}
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:265
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:156
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:101
/home/travis/build/web-push-libs/web-push-php/tests/PushServiceTest.php:119

Looks like this is related to https://github.com/GoogleChromeLabs/web-push-testing-service and @Minishlink wanted to work on this last year, but did not get to it...
https://github.com/web-push-libs/web-push-php/pull/228#issuecomment-500021751

It does seem that https://github.com/web-push-libs/web-push-php/commit/682b99f8a11c723099cf918e18350ee6b68f450e at least skips the tests from https://github.com/web-push-libs/web-push-php/pull/228#issuecomment-498856174

Yeah web-push-testing-service is hard to fix.. I tried back in February https://github.com/web-push-libs/web-push-php/branches but no luck.
I don't see many solutions, either one of these:

We fix web-push-testing-service completely, but it's very time consuming and I really don't have the time right now
We fix web-push-testing-service but only for stable version of Chrome, looks a bit more promising, I may have some time next week or the week after
We don't fix web-push-testing-service, and every PR should be accompanied by a video that shows that the PR changes work as expected, and that core feature (sending a simple push and receiving) works : I can accept PR quickly then but this introduces a burden on contributors

In any way, I can't accept PRs without being sure that core feature doesn't break...
If somebody wants to help, that would be highly appreciated

@Minishlink the best possible solution I see for the moment is to disable the tests that use the https://github.com/GoogleChromeLabs/web-push-testing-service. This will unblock all other tests and will allow accepting unrelated to Web Push PRs like the one I've created - https://github.com/web-push-libs/web-push-php/pull/268

Also, it seems that it's worth to mention in README.md's head section that none of bug fixes/feature reqeusts will be accepted until the issue with tests is resolved so the community might not waste their time on contributing or will do that to their forks directly (as I was forced to do). Or otherwise, more people will be aware that help needed.


[FIREBASE_AUTH] Email Sign-in not working as expected on Android

Using the FlutterFire Auth demo app, after setting up dynamic links, the FirebaseDynamicLinks.instance.getInitialLink(); call only returns null.
To Reproduce
Use the FlutterFire auth sample, add values for project, i.e.
      email: _userEmail,
      url: 'https://flutterfirestore.page.link/emailSignInLink',
      handleCodeInApp: true,
      iOSBundleID: 'com.google.firebase.flutterfirestore',
      androidPackageName: 'com.google.firebase.flutterfirestore',
      androidInstallIfNotAvailable: true,
      androidMinimumVersion: "1",
    );

Manifest mimics the Android sample, which does work with my console setup:
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <data
                    android:host="flutterfirestore.page.link"
                    android:scheme="https" />
                <category android:name="android.intent.category.BROWSABLE" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>

Enable Dynamic Links and auth per docs https://firebase.google.com/docs/auth/android/email-link-auth. Ensure dependencies added to build.gradle at the project level:
    implementation 'com.google.firebase:firebase-auth:19.3.1'
    implementation 'com.google.android.gms:play-services-auth:18.0.0'

Make sure the rest of Firebase is initialized to get the json file, and app is registered with the debug sha1.
Set launchMode for android to singleInstance to get around issue with multiple instances of the app being opened up.
When opening the link sent to the email, the app opens, but then data pulled from the dynamic link is null and the red 'sign-in failed' message is displayed.
Expected behavior
App should open to the sign-in page and finish authenticating against the registered user.
Additional context
Add any other context about the problem here.
Flutter doctor
Run flutter doctor and paste the output below:
➜ flutter_firestore /Users/ptruiz/Documents/code/flutter/bin/flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.15.3 19D76, locale en-US)
    • Flutter version 1.12.13+hotfix.8 at /Users/ptruiz/Documents/code/flutter
    • Framework revision 0b8abb4724 (4 months ago), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/ptruiz/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

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

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

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

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)

• No issues found!

pubspec.yaml:
name: flutterfirestore
description: A new Flutter application.

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1

environment:
  sdk: ">=2.1.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2
  cloud_firestore: ^0.13.6
  firebase_core: ^0.4.4
  firebase_auth: ^0.16.0
  google_sign_in: ^4.4.4
  firebase_dynamic_links: ^0.5.0+11

dev_dependencies:
  flutter_test:
    sdk: flutter

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  # To add assets to your application, add an assets section, like this:
  # assets:
  #  - images/a_dot_burr.jpeg
  #  - images/a_dot_ham.jpeg

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/assets-and-images/#resolution-aware.

  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/assets-and-images/#from-packages

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages

Additional context: rolled the dynamic links dependency back to 0.4.0 from 0.5.0+11 and changed getInitialLink to retrieveDynamicLink. That works, so there's a regression in dynamic links

More context: on 0.5.0+11, changed getInitialLink in the plugin to
  Future<PendingDynamicLinkData> getInitialLink() async {
    final Map<String, dynamic> linkData =
        await channel.invokeMapMethod<String, dynamic>(
            'FirebaseDynamicLinks#retrieveDynamicLink');
    return getPendingDynamicLinkDataFromMap(linkData);
  }

firebase_dynamic_links.dart calls a method that doesn't exist in the SDK, so it's returning null

Solution: https://github.com/FirebaseExtended/flutterfire/issues/1537
Will get a PR up with the sample updated

Hey 👋
Our rework of the firebase_auth plugin as part of the FlutterFire roadmap was published over a week ago with a ton of fixes and new features. Please could you try the new version and see if this is still an issue for you? If it is then please submit a new up to date GitHub issue.
For help migrating to the new plugins please see the new migration guide: https://firebase.flutter.dev/docs/migration