Only create one Service with one EndpointSlice per every 100 compute …

…nodes to avoid overloading the control plane

recheck

recheck

+2

Could you please approve and lgtm?

As Zuul has passed all the jobs independently, someone can merge this manually?

Has the baremetal job passed?  I don't see a successful execution.

True, I was wrong.
I have been reviewing the logs and everything seems to be working perfectly: the operator and the ansibleee executions. It seems to be a permissions issue from the CI:
"E0809 08:25:54.138639   23810 reflector.go:140] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: Unauthorized", "error: timed out waiting for the condition on openstackdataplanes/openstack-edpm"]
So, lets see with another recheck.

recheck

recheck

recheck

recheck

recheck

/override rdoproject.org/github-check

/test dataplane-operator-build-deploy-kuttl


🙅 HTTP 404 on https://github.com/xmtp/xmtp-js

❓ When will it be publicly available?

@marcellodesales this is addressed in #10


How can we help?
I would like someone else to build the manifest.
Please read and ensure the following

[X] The installer meets the above requirements

Please provide the following information
Download Page Url: https://hourglass.flyingpimonster.net/
Publisher: James Westman and other contributors.
Package Name: Hourglass
Description: Hourglass is a third-party project manager for Godot Engine, the free and open-source game engine. It keeps track of all your projects, but also the engine versions they use—all installed in parallel through one simple interface.
Package Version: 0.9.4
Installer URL: https://jwestman.gitlab.io/hourglass/hourglass-windows.zip

Thank you!


[admin] Publish

Docs Build status updates of commit 39e4dd8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/develop/scripting-fundamentals.md
:white_check_mark:Succeeded
View

docs/develop/typescript-restrictions.md
:white_check_mark:Succeeded
View

docs/images/explicit-any-editor-message.png
:white_check_mark:Succeeded
View

docs/images/explicit-any-error-message.png
:white_check_mark:Succeeded
View

docs/images/implicit-any-editor-message.png
:white_check_mark:Succeeded
View

docs/includes/preview-note.md
:white_check_mark:Succeeded

docs/index.md
:white_check_mark:Succeeded
View

docs/overview/code-editor-environment.md
:white_check_mark:Succeeded
View

docs/overview/excel.md
:white_check_mark:Succeeded
View

docs/resources/samples/samples-overview.md
:white_check_mark:Succeeded
View

licensing-information.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


proposal: compare index with both index names and fields when doing schema migration

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary
i get a problem when doing schema migration with migrate.WithDropIndex(true) setted true just like below.
// Run migration.
err = client.Schema.Create(
    ctx,
    migrate.WithDropIndex(true),
    migrate.WithDropColumn(true),
)
if err != nil {
    log.Fatalf("failed creating schema resources: %v", err)
}

func (User) Indexes() []ent.Index {
    return []ent.Index{
        index.Fields("field1", "field2").
            StorageKey("custom_index"),
    }
}

Custom index name is configured using StorageKey(),  but when i add a field to the index without change the custom index name, the index will not be considered to be changed. this will not happen without StorageKey because the default index name is constructed with fields connected by _  and any change of fields will change the index name.
i try to figure out what happens and get this in schema/migrate.go.
func (m *Migrate) txCreate(ctx context.Context, tx dialect.Tx, tables ...*Table) error {
    ...
	change, err := m.changeSet(curr, t)
	if err != nil {
	    return fmt.Errorf("creating changeset for %q: %w", t.Name, err)
	}
    ...
}

// changeSet returns a changes object to be applied on existing table.
// It fails if one of the changes is invalid.
func (m *Migrate) changeSet(curr, new *Table) (*changes, error) {
    ...
	// Add or modify indexes.
	for _, idx1 := range new.Indexes {
	    switch idx2, ok := curr.index(idx1.Name); {
	    ...
        }
    ...
}

// index returns a table index by its name.
func (t *Table) index(name string) (*Index, bool) {
	for _, idx := range t.Indexes {
		if name == idx.Name || name == idx.realname {
			return idx, true
		}
		// Same as below, there are cases where the index name
		// is unknown (created automatically on column constraint).
		if len(idx.Columns) == 1 && idx.Columns[0].Name == name {
			return idx, true
		}
	}
	// If it is an "implicit index" (unique constraint on
	// table creation) and it wasn't loaded in table scanning.
	c, ok := t.column(name)
	if !ok {
		// Postgres naming convention for unique constraint (<table>_<column>_key).
		name = strings.TrimPrefix(name, t.Name+"_")
		name = strings.TrimSuffix(name, "_key")
		c, ok = t.column(name)
	}
	if ok && c.Unique {
		return &Index{Name: name, Unique: c.Unique, Columns: []*Column{c}, columns: []string{c.Name}}, true
	}
	return nil, false
}

index() method of Table struct only compares the name and the realname. i think it is better to compare whether the fields are changed.
Motivation
I only get the problem when i try to set the name of index. Actually, i am not sure whether this is designed for, if so, it is better to clarify this in docs.

Hey @oclld 👋

Custom index name is configured using StorageKey(), but when i add a field to the index without change the custom index name, the index will not be considered to be changed.

Using the new Atlas migration engine on the latest master should solve the problem. Please, run the migration with it and report if we can close this issue. Thanks

Thanks you @a8m , atlas migration works for this situation. i will close this issue.


Feature/159440 content assistant

Adding content assistant endpoints

Provide a description explaining what was changed.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


"Video_and_audio_content" SVG diagram contains multiple typos

Request type

[x] Correction or update

Details
The main SVG image on the document contains many typos. I'd be pleased to help out and fix them, though I'm not sure how to do it.

article in question: https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Video_and_audio_content

@misterybodon you're right; it'd be nice to fix this. Although I'm not sure if this is out and out typos, or some formatting weirdness —it is more spacing issues than incorrect spelling, I think.
@a2sheppy , did you put this diagram on this article?

@misterybodon you're right; it'd be nice to fix this. Although I'm not sure if this is out and out typos, or some formatting weirdness —it is more spacing issues than incorrect spelling, I think.
@a2sheppy , did you put this diagram on this article?

I did not; if I had, it would be perfect. I will look at it though.

That does look like an SVG I created, but I don't believe it looked like that when I made it...

Looks like the export from my editor way back then made assumptioms about font spacing that are no longer true. I'll see if I can update the SVG here.


ControlPosition enum in google-maps-types.d.ts contains the wrong identifiers.

ControlPosition enum in google-maps-types.d.ts contains the wrong identifiers.
Case: Place zoom buttons at top right.
Config: zoomControlOptions:ZoomControlOptions = { position: ControlPosition.TOP_RIGHT, style: ZoomControlStyle.LARGE }
Expectation: Zoom buttons appear at the top right of the map
Actual: Zoom buttons appear at bottom center
Version: 1.0.0-beta.0
For example to get the zoom controls at TOP_RIGHT position I actually have to use LEFT_BOTTOM.
Java script API ControlPosition
ControlPosition =
{
        TOP_LEFT: 1,
        TOP_CENTER: 2,
        TOP: 2,
        TOP_RIGHT: 3,
        LEFT_CENTER: 4,
        LEFT_TOP: 5,
        LEFT: 5,
        LEFT_BOTTOM: 6,
        RIGHT_TOP: 7,
        RIGHT: 7,
        RIGHT_CENTER: 8,
        RIGHT_BOTTOM: 9,
        BOTTOM_LEFT: 10,
        BOTTOM_CENTER: 11,
        BOTTOM: 11,
        BOTTOM_RIGHT: 12,
        CENTER: 13
}

google-maps-types.d.ts
export declare enum ControlPosition {
    BOTTOM_CENTER = 0,
    BOTTOM_LEFT = 1,
    BOTTOM_RIGHT = 2,
    LEFT_BOTTOM = 3,
    LEFT_CENTER = 4,
    LEFT_TOP = 5,
    RIGHT_BOTTOM = 6,
    RIGHT_CENTER = 7,
    RIGHT_TOP = 8,
    TOP_CENTER = 9,
    TOP_LEFT = 10,
    TOP_RIGHT = 11,
}

For reference, the snippet is below in the current snapshot of code.
https://github.com/SebastianM/angular-google-maps/blob/af678880df819ec95ccc5a3b4c0126884e2bb403/packages/core/services/google-maps-types.ts#L425-L443
And the official reference is here: https://developers.google.com/maps/documentation/javascript/controls#ControlPositioning.

As @codemasterover9000 says, the enum values are a mess.

I am not aware of the reason the official ones were not followed when creating the enumeration, but I guess we could fix it now :sweat_smile:


Merge pull request #107 from ICB-DCM/develop

Release 0.0.0a14

Codecov Report

Merging #114 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #114   +/-   ##
========================================
  Coverage    60.14%   60.14%
========================================
  Files            7        7
  Lines          803      803
  Branches       173      173
========================================
  Hits           483      483
  Misses         292      292
  Partials        28       28

Continue to review full report at Codecov.

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


Missing Emmet extension

Type: Bug
Emmet stopped working all of a sudden since a few days ago.
I just checked in settings.json and no config with emmet prefix is recognized.
In the user folder (C:\Users<user>.vscode\extensions), there is no emmet folder installed.

It can still be disabled, you can see it by searching for @id:vscode.emmet in extension panel.

@yume-chan, you are right. I found a resource that says to filter my VSCode extensions with '@builtin' (without the quotes). Then I could see Emmet in one of the items being greyed out. Turns out it was disabled. Thanks.

Closing as resolved


Different behavior from Sqlite3 CLI because of default configuration

Describe the bug
The following program has different behavior from Sqlite3, in CLI it will report an error, but with JDBC, it will return NULL, which might be an unexpected result.
CREATE TABLE vt0(c0);
CREATE VIRTUAL TABLE rt1 USING rtree_i32(c0, c1, c2, +c3);

CREATE VIEW v0(c0) AS SELECT (rt1.c0) FROM rt1;

INSERT INTO vt0(c0) VALUES (1);
INSERT INTO rt1(c0) VALUES (1);

SELECT rt1.c0  FROM v0 INNER JOIN vt0 FULL OUTER JOIN rt1;

To Reproduce
I write a java program to reproduce this:
package reproduce;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
import java.io.IOException;
import java.sql.SQLException;
import java.util.ArrayList;

public class reproduce14 {
    public static void main(String[] args) throws Exception {
        try {
            String cmd = "rm ./test.db";
            Runtime.getRuntime().exec(cmd);
        } catch (Exception e) {
            e.printStackTrace();
        }

        String DRIVER_NAME = "org.sqlite.JDBC";
        String URL = "jdbc:sqlite:test.db";
        Connection connection = null;
        try {
            Class.forName(DRIVER_NAME);
            connection = DriverManager.getConnection(URL);
        } catch (Exception e) {
            e.printStackTrace();
            connection = null;
        }

        ArrayList<String> sqls = new ArrayList<>();
        sqls.add("CREATE TABLE vt0(c0);");
        sqls.add("CREATE VIRTUAL TABLE rt1 USING rtree_i32(c0, c1, c2, +c3 INTEGER);");
        sqls.add("CREATE VIEW v0(c0) AS SELECT (rt1.c0) FROM rt1;");
        sqls.add("INSERT INTO vt0(c0) VALUES (1);");
        sqls.add("INSERT INTO rt1(c0) VALUES (1);");
        sqls.add("SELECT rt1.c3  FROM v0 INNER JOIN vt0 FULL OUTER JOIN rt1;");

        try (Statement statement = connection.createStatement()){
            for(String script: sqls) {
                System.out.println("Query: " + script);
                try {
                    if (script.startsWith("SELECT")) {
                        try (ResultSet rs = statement.executeQuery(script)) {
                            while (rs.next()) {
                                System.out.println(Long.valueOf((Integer) rs.getObject(1)));
                            }
                        }
                    }
                    statement.execute(script);
                } catch (SQLException e) {
                    System.out.println(e.getMessage());
                } catch (Exception e) {
                    System.out.println(e.getMessage());
                }
            }
        }catch (Exception e) {
            System.out.println(e.getMessage());
        }
    }
}

I report this to Sqlite3 forum, the developer said this is because the different default value of configuration SQLITE_DBCONFIG_TRUSTED_SCHEMA, I tried to add PRAGMA trusted_schema = boolean; in program and found it will have the same results in CLI and JDBC.
I am not sure which one is the best configuration, so this is just a hint of a potential problem.
Expected behavior
Report an error on this program
Environment (please complete the following information):

OS: [Ubuntu 22.04]
CPU architecture: [x86_64]
sqlite-jdbc version [<IP_ADDRESS>]

we don't set that pragma, but the website says that the default behaviour is that it is ON. However the CLI has it off.
This pragma is not in the supported list, you can send a PR to add it.

Hi @gotson, thank you for your reply. As stated in this document, the default value for this configuration is ON for maintaining backwards compatibility, and it is only set to OFF by default in the CLI. Therefore, I believe that leaving it unchanged may be a better option to avoid any compatibility issues.

Hi @gotson, thank you for your reply. As stated in this document, the default value for this configuration is ON for maintaining backwards compatibility, and it is only set to OFF by default in the CLI. Therefore, I believe that leaving it unchanged may be a better option to avoid any compatibility issues.

yes, we don't handle this. If you want to be able to set the PRAGMA in sqlite-jdbc, it needs to be handled in the code (like all other pragmas). We would accept a PR for this.


Skype ext not working with latest Skype

Ref: Conversation #6281 / Timothy

Ref: Conversation #7092 / Timothy


User profile style

Further visual changes to user profile page and slight changes to homepage

think we are done for now


Misleading splashscreen message

Trying to solve #40 i was quite distracted by the 'build: unknown - requires cygwin + git' message in the splashscreen. I almost actually installed cygwin before i figured out i had Scout open.
Might be a good idea to remove that message (and probably show the the actual build number '0.5.1').

Thanks for your reports, I've transferred these bugs over to the hxScout repo. (I'll probably make that repo public again sometime soon.)


Rerun

Are scalper window in the scalper code and the min frequency that we rerun the trading code necessarily the same? not sure, they might be, but if not, use two variables

Scalper window should always equal the rerun window

Current version doesnt seem to pull in the current open DIP position. Should be .098 of the SOL $45 8/26/2022 DIP

Is it getting the wrong number, or not getting anything?
Which config is that position on?

Not getting anything upon the first run (doesn't pull the SOL DIP) then pulls but with 0 quantity

Looks actually like the above pool was the old one without the 1000x expiration time multiplier. But it should pull in this one without needing a deposit:

It only updates when there is a deposit. Need to do a cold restart, will add that to this change

Upon start it doesn't get the correct delta position

We keep flipping back and forth that delta each time we test

Rerun looks good.
TODO: Allow for new DIP listening within a rerun. New SOL DIP listening seems to only work with a hard restart


[Feature Request]: Option to specify an external icon for the titlebar/taskbar/etc. icon.

Preflight Checklist

[X] I have read the Contributing Guidelines for this project.
[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Problem Description
Supermium-Electron uses the built-in default Electron icon. (Which in of itself is fine, but...) When using it to replace an existing app's Electron, it would be nice for the window to have that app's icon in the titlebar/taskbar/etc., rather than the generic Electron icon. (Especially if running multiple different Electron apps with it at the same time, to tell them apart in the taskbar with just a glance over the icon.)
Proposed Solution

Add a -icon <icon_file> launch flag to specify what icon to use. (This approach would be particularly useful for someone also using one Supermium-Electron install to launch multiple things by specifying different resources folders.)
If the flag is not used, check in the launch directory for an app.ico to use (much like Discord has, IIRC?).
If that is not present either, then fall back to using the internal default icon.

Alternatives Considered
I already tried using a resource editor to replace the icon in the exe of the testing release. That... did not go well.
Even if it had worked for me, hardcoding one icon in (either by building it with that icon substituted in place of of the default icon.png file, or by editing the new icon into the existing exe) would be less useful if someone wanted to use one install of Supermium-Electron pointed at different resources folders to launch different Electron apps with.
Being able to specify (or otherwise supply) a replacement icon without having to build with the substituted icon or to resource edit the exe would also be much more user-friendly.
Additional Information
I did look to see if there was already any way to specify this with Electron, but all I could find were ways for app developers to specify what icon would be built-in, and/or what code to use to have an app set its window icon from an internal image.
If there's already something that I missed that's closer to what I'm looking for (or even a workaround that has a prebuilt app run a script at launch to switch to using an external icon), I'd be happy to hear more about it.

Seems feasible, as we can obviously review the contents of the command line when registering the window class for the windows that appear on the taskbar.


Enlightened Fused Quartz/Glass

Hey i'm looking for a way to edit light level of Enlightened Fused Quartz and Glass, i've alreadry try few things so i decide to try to remove their recipe and i'm still unsuccess ...
Could you help me to edit this ?

Wtf? why did you create a pull request?

did i make a mistake ?


fixed broken link

[x] This is a small change

Description:
This fixes broken link for 'actions' in 'expect' doc

thanks :)


Downstream test: temporarily exclude redeyed

(while its smoke tests are being investigated)

Codecov Report

Merging #1797 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #1797   +/-   ##
======================================
  Coverage     100%    100%
======================================
  Files           1       1
  Lines        4030    4030
  Branches      713     713
======================================
  Hits         4030    4030

Continue to review full report at Codecov.

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

Obsoleted by PR #1798 (update CircleCI run to use Node.js v6).


Parallel read and write

Adding parallel read write when using reg_read_only reg_write_only.
Previous implementation used to read sequentially each motor instead of reading and writing them concurrently.
This use rayon threadpool to make it performant.
Future PR could use tokio threadpool instead and async so that we can read and write concurrently.
On my arm, I'm able to divide by 2 read and write time.

Yep, indeed! It wasn't the thing I wanted to do.
Sorry I think I went too fast.
Going to have a look again in the future, but going to close this for now.
Thanks for the quick response!

Ok, so what I wanted to do doesn't work because serialport is not Sync.
So, probably will have to use something like tokio-serial for parallel read/write.


add checklist for update

Description

[x] Java Quarkus
[x] Docker Images
[x] Kubernetes
[x] minikube

Related links

https://github.com/yurake/k8s-3tier-webapp/blob/master/.github/workflows/check-for-update.yml

fixed by #147


Build fails for iOS on RN 0.57.0

Multiple methods named 'goForward' found with mismatched result, parameter type or attributes

Duplicate of #35


UnicodeDecodeError when installing

Fresh install of Anaconda and git command line.
Sorry if this is a simple problem, I am getting started on a couple different levels, so most of the messages below do not mean much to me.
(C:\Users\sac\AppData\Local\Continuum\Anaconda3\envs\scopus) C:\Users\sac>pip install git+git://github.com/scopus-api/scopus
Collecting git+git://github.com/scopus-api/scopus
Cloning git://github.com/scopus-api/scopus to c:\users\sac\appdata\local\temp\1\pip-qwjphy1x-build

Complete output from command python setup.py egg_info:
Installed c:\users\sac\appdata\local\temp\1\pip-qwjphy1x-build\.eggs\pbr-3.1.1-py3.6.egg
[pbr] Generating ChangeLog
ERROR:root:Error parsing
Traceback (most recent call last):
  File "c:\users\sac\appdata\local\temp\1\pip-qwjphy1x-build\.eggs\pbr-3.1.1-py3.6.egg\pbr\core.py", line 111, in pbr
    attrs = util.cfg_to_args(path, dist.script_args)
  File "c:\users\sac\appdata\local\temp\1\pip-qwjphy1x-build\.eggs\pbr-3.1.1-py3.6.egg\pbr\util.py", line 251, in cfg_to_args
    kwargs = setup_cfg_to_setup_kwargs(config, script_args)
  File "c:\users\sac\appdata\local\temp\1\pip-qwjphy1x-build\.eggs\pbr-3.1.1-py3.6.egg\pbr\util.py", line 315, in setup_cfg_to_setup_kwa
    value += description_file.read().strip() + '\n\n'
  File "C:\Users\sac\AppData\Local\Continuum\Anaconda3\envs\scopus\lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 23899: character maps to <undefined>
error in setup command: Error parsing C:\Users\sac\AppData\Local\Temp\1\pip-qwjphy1x-build\setup.cfg: UnicodeDecodeError: 'charmap' code
code byte 0x81 in position 23899: character maps to <undefined>

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\sac\AppData\Local\Temp\1\pip-qwjphy1x-build\`

Hi!  Seems like a similar problem to #41.  If are on a mac, can you try the solution proposed here?
If not, are you able to install other packages?

Macs use c:\ ?? :) I am not on a Mac, this is Windows 7. I have not tried to install any other packages via pip, yet. Let me hunt one down....

Out of curiosity: Could you solve the issue and install scopus?

I am now trying on a different computer, but with the same symptoms. pip install clock works just fine; pip install scopus gives me errors (see attached utf-8 text file)
pip_install_scopus_unicode_error.txt

Here is something else that I find odd. cp1252.py is not in this github repository, but yet I have it on my computer now; when I run pip install scopus, does it not install from this repository?
I have a little knowledge of character sets, and I know 1252 is specific to Windows, so that makes sense. I think the error refers to this line:
    '\ufffe'   #  0x81 -> UNDEFINED
But I have no idea why.
cp1252_py.txt

Basically the same message if using the this git repository directly:
(C:\Users\schultz\Anaconda3\envs\scopus) C:\Users\schultz>pip install git+git://github.com/scopus-api/scopus
Collecting git+git://github.com/scopus-api/scopus
Cloning git://github.com/scopus-api/scopus to c:\users\schultz\appdata\local\temp\pip-cuohnvya-build
Complete output from command python setup.py egg_info:
Installed c:\users\schultz\appdata\local\temp\pip-cuohnvya-build\.eggs\pbr-3.1.1-py3.6.egg
[pbr] Generating ChangeLog
ERROR:root:Error parsing
Traceback (most recent call last):
  File "c:\users\schultz\appdata\local\temp\pip-cuohnvya-build\.eggs\pbr-3.1.1-py3.6.egg\pbr\core.py", line 111, in pbr
    attrs = util.cfg_to_args(path, dist.script_args)
  File "c:\users\schultz\appdata\local\temp\pip-cuohnvya-build\.eggs\pbr-3.1.1-py3.6.egg\pbr\util.py", line 251, in cfg_to_args
    kwargs = setup_cfg_to_setup_kwargs(config, script_args)
  File "c:\users\schultz\appdata\local\temp\pip-cuohnvya-build\.eggs\pbr-3.1.1-py3.6.egg\pbr\util.py", line 315, in setup_cfg_to_setup_kwargs
    value += description_file.read().strip() + '\n\n'
  File "C:\Users\schultz\Anaconda3\envs\scopus\lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 23899: character maps to <undefined>
error in setup command: Error parsing C:\Users\schultz\AppData\Local\Temp\pip-cuohnvya-build\setup.cfg: UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 23899: character maps to <undefined>

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in C:\Users\schultz\AppData\Local\Temp\pip-cuohnvya-build\

That's  really a riddle to me - tomorrow I have the opportunity to test on a Windows machine.
It looks like it complains about setup.cfg, but I really can't spot a non-ASCII character that might cause the error.
And no, pip install scopus installs from PyPI, the Python Project Inventory.  It's a stable version.  If you install from the GitHub repo without further specifications it installs the current development version, which might be unstable.

I think setup.cfg might be calling cp1252.py, which is why I was curious where cp1252.py comes from. It is not listed in this repository, but somehow I have it on my PC in the scopus folder.

Is pbr compliant with Python 3?

I can replicate the error on a Windows machine.  I am looking for a solution now.  It is not because of pbr, which I could successfully install.

The error was introduced after 0.2.1.  So you can install scopus0.2.1 with pip install scopus=0.2.1.
But I would like to ask to help me hunt down the bug because I cannot on my Windows machine.  The way to do this is to install commits between
0.2.1 and 0.3 - the one commit that breaks contains the bug.  These commits are

48aa46af4276187972e74605ba73e40e2ab8cea8
2d9712f8895fc14f9c4bd785e08f883a9b3b45b0
`143805b8a01006a97a90b2b02437851cc68426ce
e27facc4c8a789a71b59d22bb6cbc6fc7225242a
8c67b3ff5737d8c7600a22e038d20b66c09d5625
18dd5a8f2221c33bc24eb41d71c9e05f8b0029e4
d04a15e240defe4968f3aef239ab35ad27dc272e
2d6d360573e4860a20449533f141559b9b0323b1
74f96b5f96ec0ce05a66db830014a840649f6a97

To install a specific commit, use pip install git+git://github.com/scopus-api/scopus.git@COMMIT.  I expect the last one to break and the others to work.  This would indicate that switching to pbr for project management introduced the bug.
Thanks in advance!

Michael,
Well, that was definitely interesting. :) And you hit the nail on the head - all the commits work except the last one (see attached utf8 text file).
scopus_bug_hunting.txt

I found the problem.  It was in README.org which is the "description-file" mentioned in your traceback. It is being parsed by pbr while installing.  In the usage examples, the name of one co-author is Áshildur which can't translate in encoding cp1252.
I removed the examples from the README in bd558c7ef3ffcc0a4699aa6b9de48f2df73ca579 - it is in the examples in the docs anyways.
You should now be able to install the current version (0.4.4) via pip install scopus --upgrade.  Many thanks for reporting this annoying issue!


(3.0.50) debugger frame trimmed too far on halt

I sent the message halt so that I could inspect the receiver of the halt message but the stack has been trimmed to the point where the frame with the receiver is not visible in debugger:

It is convenient to position the debugger at the frame that sends halt since that is often a good default, however, trimming the stack removes useful frames from the stack that prvide information that is otherwise unreachable ...

The method frame in which the halt is sent should not be the top of the debugger.
In GBS/VW, there are three further frames which may be overkill, but at least the Object >> halt frame ought to be there.
GBS/VW selects the top frame so you do have to select the frame you want but this isn't a big deal.

 Here are three examples of how the debugger would open. Would this satisfy the demand? @rjsargent @LisaAlmarode @dalehenrich

Assigning to @LisaAlmarode for feedback

Have a fix that seems solid in Oscar 3.0.54. Stack no longer trimmed, but selected frame is the frame that raised the error (i.e. - right before the halt frame)


Bot Raid Protection

Need to remake https://github.com/Sirush/UDHBot/pull/112 in this repo

I'll implement it using the same logic as the setup as Sirush#112 but I'll make this into a proper service with a command that can be used to enable it manually with some sort of cooldown before it automatically turns back off.

Do we still need this? Does wick do this? If we do still need something, was the original solution to just kick any new joins after X number of people join at the same time acceptable?
Think I got most of the way with this, but stopped. I'll see if this was complete and try testing it sometime in the next couple days.

Wick has this feature but only on premium.
So that might still be good to have, especially since you already did some work and it would be a shame to waste it!


Syntax error on kreait\firebase-php\src\Firebase.php

1. Which version of kreait/firebase-php are you using?
latest
2. Which version of PHP are you using?
7.1
3. What's the issue?
Syntax error on kreait\firebase-php\src\Firebase.php on line 33 unexpected ':', expecting ';' or '{'
4. Code that lead to the issue
public function getDatabase(): Database     {         return $this->database;     }
can someone help with this

Please check the environment you are running the code in - the error message indicates that you are not running it with PHP 7, but PHP 5.

Also see: https://github.com/kreait/firebase-php/issues?utf8=✓&q=syntax+error

oh sure thanks a lot!


feat(tutorial): complete step 2

Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

Not sure why the netlify isn't rendering. The app looks fabulous on my screen. If I need to resubmit, how can I fix this?


Upload tar package of image from Board UI and push to register

In GitLab by @liyanq528 on Feb 26, 2018, 09:59

In GitLab by @sokril on Nov 8, 2019, 07:46
fix with pr #1865

In GitLab by @liyanq528 on Nov 8, 2019, 07:46
pr #1878

In GitLab by @sokril on Nov 8, 2019, 08:18
closed

In GitLab by @sokril on Nov 8, 2019, 08:18
assigned to @sokril


Refactoring jtreg prep script and dependent scripts

Fully resolves issue #53. Amends all .sh scripts in the repo that has to do with jenkins or local builds.
Beware there are plenty of small changes, mainly due to the replacement of the existing use of $VAR, ${VAR} and "${VAR}" with the respective versions depending on where the VAR was placed:

use "$VAR" in if conditions
use ${VAR} if it was part of another string/variable i.e. "The source is ${VAR}"
use $VAR in all other circumstances

See the ref guide

Added documentation and updated both short and long param flags

Running a number of builds to do sanity check, see https://ci.adoptopenjdk.net/view/work in progress/

use "$VAR" in if conditions
use ${VAR} if it was part of another string/variable i.e. "The source is ${VAR}"
use $VAR in all other circumstances
Note: ${VAR} is same as "$VAR", hence "${VAR}" is a bit overloaded

I don't think that's true, I'd say:

use "${VAR}" if you can't use "$VAR"
use "$VAR" otherwise

Double quotes are always good, you need them to handle spaces in your input (you have to be careful with spaces in bash).
The {} is useful when the character after the variable name is a to z or _, e.g.:
VAR=foo
[ "$VARbar" = foobar ] && echo true # Returns false as it thinks $VARbar is a variable name
[ "${VAR}bar" = foobar ] && echo true # Returns true, concatenates $VAR and "bar"

there are also some cool things you can do with ${}:
echo ${VAR:-default} # Echo's $VAR, or "default" if $VAR is undefined

and some people just think they look neater (I find they usually don't help, but YMMV):
git clone "https://github.com/${ORG}/${REPO}"
git clone "https://github.com/$ORG/$REPO"    # Personal preference

Thanks @gibfahn - that makes it much clearer.  I think we should add your comment to the Contributing.md file.

@gibfahn has it right.  Also see previous discussion.
There is a good, clear explanation on the shellcheck wiki.  Take a read of their "minimal" and "canonical" style suggestion.  I don't have a strong feeling of which we adopt.

@neomatrix369 - Conflicts :-).  @tellison and @gibfahn I learned something new today, thanks! I have a slight preference for canonical, but in all honesty I'll leave that decision to those actually doing the coding :-).

Temporarily closing PR till fixes the conflicts, too many of them caused due to other PRs


TP2000-648 Add measures tab

TP2000-648 Add measures tab

Why

Users need to be able to find measures related to a quota order number

What

Adds a measures tab to the quota order number detail page that shows currently active measures
Adds a link to the find and edit measures page that filters by the quota order number

with current_definition = definitions.as_at(date.today()).first() why is first() necessary? If there are more than one objects returned - what are they ordered by i.e. what will first() return here?

@TomMacca definitions.as_at(date.today()) returns a queryset but we only want one. The queryset should only contain one because there should only be one quota definition period active at a time or else this is a business rule violation

@eadpearce that makes sense but if it should only return one why is first() used as well? Just in case it returns more than one? I wonder how first() orders the objects, by tracked model number?

@TomMacca .as_at() returns a queryset which is treated like a list. The template only wants one object. I presume the objects are ordered by pk by default


null safety

Straight migration to null safety without related optimization.

sorry, the tests don't pass.
I'm closing this PR.

sorry, the tests don't pass.
I'm closing this PR.


Pre-trained weights for Panoptic CMU

Thanks for the release of your excellent work, could you please provide the model's weights trained with the Panoptic CMU dataset as the first table in your paper presents results with this dataset?
Thanks in advance

hello, have you retrained the model on CMU dataset, and what's the result of the model??
The result after training it on the dataset is so bad by myself.

@ZXin0305  How many GPUs did you use for training?

@raypine could you provide the weights trained with Panoptic dataset?

Sorry for that. It is not preserved.
However, according to our experience, for Panoptic, to achieve the performance in our paper (even better) is easy, since the distribution of training data is close to that of testing data to some extent, e.g. the camera viewing angle, the environment.
If you want to perform the experiments on the Panoptic dataset, you could finetune our provided model or train from scratch on it.

I would train it, however, I tried that and the model takes too long to train as it is very big. The estimated time with 4 GPUs was 75 hours per epoch.
Maybe I made a mistake, but could you provide more detail about the training time? How many GPUs did you use and how long did it take you to train?
Thanks

Hello,i trained the model on CMU using 3 Nvidia Titan xp cards,and using 200k images.For a complete training process,it takes about half a month....Maybe the computation power is much lower than A100,the biggest batch size is only 6,so the training procedure is very slow on myself host sever.What is your situation？

The training epochs we set is relatively large and you can stop early according to the loss curve and performance on validation set you choose.

We use 8 1080Ti and the whole training takes several days (cannot remember, but not much due to the early stopping)

Have you got pretrained weights on Panoptic?If do,could you please help me？I would appreciate it very much.


check_memcached: add description of bytes counters

Hi!
Thanks for a good place to start with monitoring memcached :)
I had to look around a little to try to figure out what these metrics meant and what it would be alerting on. So to save someone else from looking this up - add what those metrics mean to the check.
Source:
https://dev.mysql.com/doc/refman/5.5/en/ha-memcached-stats-general.html

Hi!
Thank your for your contribution. I've just reworded the commit message and moved to top the description.
Merged https://github.com/bdossantos/nagios-plugins/commit/dc0ea723e82b03ba5db12a1bd271028da566178d


maxarchivefiles at runtime???

Hi! i set maxarchivefiles for one day, and it works when i execute application every time.
but if i didn't shutdown application and the next day the old Log file still exist.
so is there any way that i can delete old Log file at runtime???
NLog version: (e.g. 4.6.8)
Platform:  .Net 4.0
Current NLog config
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      autoReload="true">

  <targets async="true">
    <target name="TraceTarget" xsi:type="File"
            layout="${level:uppercase=true:padding=-5} ${date:format=yyyy\-MM\-dd\ HH\:mm\:ss\.fff} - ${message}"
            fileName="${basedir}/Log/${date:yyyyMMdd}_Trace.txt"
            maxarchivefiles="1"
            />
  </targets>

  <rules>
    <logger ruleName="Trace" name="Trace" minlevel="Debug" writeTo="TraceTarget" />
  </rules>
</nlog>

What is the current result?
i set maxarchivefiles for one day,and the next day the old Log file still exist.
What is the expected result?
I would expect delete old Log file at runtime.
Did you checked the Internal log?
Yes
Please post full exception details (message, stacktrace, inner exceptions)
None
Are there any workarounds?
No
Is there a version in which it did work?
Don't think so
Can you help us by writing an unit test?
Sorry, I don't know how to writing an unit test

Hi, Please fill in the template.

Maybe try adding archiveOldFileOnStartup="true". See also:
https://github.com/NLog/NLog/wiki/File-target

Maybe try adding archiveOldFileOnStartup="true". See also:
https://github.com/NLog/NLog/wiki/File-target

i did try that, but it's not working either.

Could you add the internal-log-ouput on debug-level where archiveOldFileOnStartup="true" is configured, and it fails to cleanup the log-file from last run?


certbot-dns-dynu broken with certbot 2.0.0

Hi, the plugin has been working great, but broke on certbot 2.0
Thank you!
admin@nova ~ % certbot --version
An unexpected error occurred:
AttributeError: module 'certbot.interfaces' has no attribute 'IAuthenticator'

Happened here as well
...
an unexpected error occurred:
AttributeError: module 'certbot.interfaces' has no attribute 'IAuthenticator'
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-qz7ll5g8/log or re-run Certbot with -v for more details.
[root@docker-cd9cae702edc:/app]# cat /tmp/certbot-log-qz7ll5g8/log
2022-11-23 07:48:50,845:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
  File "/usr/local/bin/certbot", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/dist-packages/certbot/main.py", line 19, in main
    return internal_main.main(cli_args)
  File "/usr/local/lib/python3.7/dist-packages/certbot/_internal/main.py", line 1707, in main
    plugins = plugins_disco.PluginsRegistry.find_all()
  File "/usr/local/lib/python3.7/dist-packages/certbot/_internal/plugins/disco.py", line 208, in find_all
    cls._load_entry_point(entry_point, plugins)
  File "/usr/local/lib/python3.7/dist-packages/certbot/_internal/plugins/disco.py", line 215, in _load_entry_point
    plugin_ep = PluginEntryPoint(entry_point)
  File "/usr/local/lib/python3.7/dist-packages/certbot/_internal/plugins/disco.py", line 56, in __init__
    self.plugin_cls: Type[interfaces.Plugin] = entry_point.load()
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 2450, in load
    return self.resolve()
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 2456, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python3.7/dist-packages/certbot_dns_dynu/dns_dynu.py", line 17, in <module>
    @zope.interface.implementer(interfaces.IAuthenticator)
AttributeError: module 'certbot.interfaces' has no attribute 'IAuthenticator'
2022-11-23 07:48:50,845:ERROR:certbot._internal.log:An unexpected error occurred:
2022-11-23 07:48:50,845:ERROR:certbot._internal.log:AttributeError: module 'certbot.interfaces' has no attribute 'IAuthenticator'

FYI I tried both Python 3.10 and 3.11 and have the same issue.


Make the tests run faster

Index-Scheduler
Only check the consistency of the index-scheduler on snapshots when running in release mode
This saves 12s on the tests, and since the tests run in release mode in the CI, we don't lose any information.
From 28s to 16s
We were snapshotting the index for no reason in advance_till, I removed this call
This saved an additional 8s on the tests, going from 16s to 8s.

After these two optimizations, the test suite as a whole executes 14% quicker
Meilisearch integration tests
While profiling this test suite, nothing stands out. The only noticeable thing is that we're losing most of our time creating and dropping threads.
I made the theory that by sharing a single common instance between all integrations tests I would gain some time again.
In https://github.com/meilisearch/meilisearch/pull/4808/commits/355a7acd1c85a1f728f31fb7f4e9c17233ea1a95 I saved another 15s by only testing this theory on the module that tests the error messages.
But we can do it on many more tests. We must take care of not making any test flaky, though.
Use two indexing threads
By moving from one to two indexing threads, we gain an additional 30% in performance.
Conclusion
Before
The execution of the test suite was taking around:

4m40s on my computer
15 minutes on the debug CI with cache
29 minutes on the Windows CI with cache

After
The execution of the test suite is taking around:

2m20 on my computer
8 minutes on the debug CI with cache
29 minutes on the Windows CI with cache

This means the test suite should now run ~50% faster on your computer; the CI may report errors twice faster, but we'll still wait for ~the same amount of time to merge a PR

bors merge


Opt out signal not detected on GPC landing page

It seems that the landing page does not detect OptMeowt's GPC signal. When I visit it (on the current Brave browser with ad blocking turned off), I am seeing the following.

Probably, @kalicki1 is in the best position to address this issue. But if you, @asalia-1 or @dknopf, want to give it a go, feel free.

Not sure, possibly @dharb could also provide some info where the issue may be.

Right now that indicator is just checking if the DOM signal is set, we punted on hooking up a header check until post launch due to time crunch. Eg if (navigator.globalPrivacyControl) { success }. OptMeowt must not be setting that signal, see https://gist.github.com/dharb/15bb3888c258d15cf96efec9b72dd605#setting-the-dom-signal for approach.

@SebastianZimmeck @kalicki1 if you just change this line to use navigator instead of window it should fix things. Two things to keep in mind though:

You should wrap Object.defineProperty... in a try catch block. If that property has already been set by a different extension with writable: false that will throw an error.
Adding a script tag to the DOM like that can be blocked by a site's CSP in Firefox (for instance, on twitter.com). Check out the section in the gist I shared about Xray vision for details.

@dharb good catch, I updated the navigator line our code base. I will take a look at updating the other things you brought up as well, they are great suggestions.
The only thing I'm worried about now is that even with the navigator change, the landing page seems to recognize our DOM signal when I open a new tab and visit the site, though subsequent refreshes seem to kick it back to not recognizing the signal. My guess as to why is that our extension just loads the signal right after the site checks for it and its a timing issue. I'm not sure if you would know what this could be related to, but I will take a look as well.

@kalicki1 I just took a look and it appears that you're injecting the content script in the addHeaders function, which is being called by the chrome.webRequest.onBeforeSendHeaders listener: https://github.com/privacy-tech-lab/optmeowt-browser-extension/blob/master/src/background.js#L221. Maybe try injecting the dom signal using chrome.webNavigation.onCommitted instead?

Very nice work, @kalicki1! The signal is now detected on the site. I released a new version v1.0.1 with this bug fix and submitted it to the Chrome Web Store as well. It should be up there soon.
Thanks a bunch, @dharb!


Driver/Input: Migrate audio backend to Symphonia

This begins work on #67, which will be a huge step towards purely in-process audio processing (i.e., one day eliminating ffmpeg).

[x] Audiopus-based Symphonia codec and DCA1 framing.
[x] Ensure that Opus packet passthrough can be performed through Symphonia.
[x] Port mixing infrastructure (and packet passthrough).
[x] Rework input interface.
[x] Implement basic DASH handling for youtube and other multimedia handlers extracted from youtube-dl.
[ ] Investigate upstreaming MKV support to Symphonia.
[x] Port our stream-cacheing wrappers to this ecosystem.

There will be some slight issues stemming from the fact that we will now be parsing metadata from bytestreams as they arrive:

How will metadata be accessible to users before it enters the mixer? Is this just a spawn_blocking on the initial Format parse phase? Pass messages out from the main mixer context?
Users will need to be able to both pass in raw MediaSourceStreams, Reads, and fully processed (Format, Metadata, ...) sets -- due to the above, and as some extra metadata will only be exposed by youtube-dl, for instance.
Until MKV support is impl'd, we'll probably need to peek at bytes internally and pass over to ffmpeg on a decode failure. Having such a fallback should probably be toggleable.
We'll probably need to offer one or two wrappers to hand over AsyncReads into the mixing system (as well as automating extension/MIME type extraction from Files or HTTP responses).

Rough status update: we now have a decent mixing pipeline for audio files of different formats, samples rates, packet lengths etc. into a single buffer. This is horrifically messy. Opus packet passthrough isn't there yet, but should be possible with some care around codec resets. There are some issues around track data cleanup right now.
We also have a wrapper for running seeks/reads over async audio sources (i.e., reqwest calls) and passing those bytes in via ring buffer, which seem to be working great for exposing some amount of flexibility around input sources. In tandem, mkv support in symphonia seems to be coming along well -- hopefully with that youtube-dl should integrate nicely to allow e.g. WebMs. I hope that will come down to simple parsing, with occasional renegotiation for a new DASH source if we don't want the stream to cut out halfway through.

There are a couple things I want to take care of before this is ready:

[ ] A WAV adapter for raw interleaved audio streams. This is probably necessary to support voice bridge use cases since symphonia needs input data to use an actual framing mechanism, e.g., TS3<->Discord and Discord<->Discord.
[ ] Removing the Option<EventStore> and Option<Input> from the inner Track representation, since these are now just wasting space. This might be a good opportunity to also look into a struct-of-arrays layout.
[ ] Some way of inspecting metadata from the parsed files by external code. Currently, these can't be moved out of the driver at all, which is awful (but sensible, as a Format may append further metadata at any point i the stream in theory).
[ ] Track error events, particularly since seek results are a little trickier to reason about.
[ ] Fix docs and ARCHITECTURE.md to be corrected now that we no longer provide our own input system.

Hopefully afterwards we'll be in a good place for more widespread testing.

Rearranging Tracks internally to have a struct-of-arrays layout made no statistical performance difference, aside from making Opus passthrough some 2% worse. For all the effort involved (and the extra mental overhead in making it borrow-checker friendly), this at least justifies the simpler format from a development point of view.

I think this is now in a very good place in terms of code organisation and API documentation. There are probably some rough edges with the API, but I think these are only going to be sanded down in a pre-release version or similar once people start to actually use it.
One thing I want to do before unmarking this as a draft is to add some #[cfg(test)] modifications to the Driver to allow it to work headlessly so that we can enforce better integration testing of events, queue systems, and input behaviour. This is really needed, since there's been a lot of internal and external churn.

I've put a fairly in-depth review and commenting round into the core driver changes, and I've had a more cursory look over the rest of the changes (inputs, adapters, tracks). I'll be merging shortly -- between this and the adventurous use in prod from a handful of users I think this is really quite stable now. Most importantly, it's fast and it's lightweight as a pure Rust implementation should be.
One caveat is that we're waiting on one symphonia bug fix being merged and released before this can go to crates.io, at some point this might need to be pushed out with a disclaimer that the current symphonia fork should be Cargo patched in instead. Hopefully this won't be the case!


Problem installing dashing-js

Hi,
First, thank you for the help!
I would like to install dashing-js but I got error msg when I do npm install.
Here is what I did:

Download dashing-js from https://github.com/fabiocaseri/dashing-js
Install the downloaded package(folder name is "dashing-js-master-2/")
sudo npm install -g dashing-js-master-2/

Here is the error I got:
ivan@da0704a-dhcp89:~/Downloads$ sudo npm install -g dashing-js-master-2/
npm WARN deprecated<EMAIL_ADDRESS>Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated<EMAIL_ADDRESS>ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":">=6"} (current: {"node":"4.4.7","npm":"2.15.8"})
npm WARN deprecated<EMAIL_ADDRESS>Deprecated, use jstransformer
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"0.8.x"} (current: {"node":"4.4.7","npm":"2.15.8"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"0.8.x"} (current: {"node":"4.4.7","npm":"2.15.8"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"0.8.x"} (current: {"node":"4.4.7","npm":"2.15.8"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"0.8.x"} (current: {"node":"4.4.7","npm":"2.15.8"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"0.8.x"} (current: {"node":"4.4.7","npm":"2.15.8"})
npm WARN excluding symbolic link test/fixtures/app/views/.#application.js.coffee.erb -><EMAIL_ADDRESS>npm WARN deprecated<EMAIL_ADDRESS>Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

<EMAIL_ADDRESS>install /usr/local/lib/node_modules/dashing-js/node_modules/node-sass
node build.js

(node) child_process: options.customFds option is deprecated. Use options.stdio instead.
gyp WARN EACCES user "root" does not have permission to access the dev dir "/Volumes/Data/HomeDirectory/.node-gyp/4.4.7"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/dashing-js/node_modules/node-sass/.node-gyp"
CXX(target) Release/obj.target/binding/binding.o
In file included from ../binding.cpp:7:
../sass_context_wrapper.h:10:3: error: unknown type name 'uv_work_t'
uv_work_t request;
^
../sass_context_wrapper.h:20:3: error: unknown type name 'uv_work_t'
uv_work_t request;
^
../binding.cpp:13:20: error: unknown type name 'uv_work_t'
void WorkOnContext(uv_work_t* req) {
^
../binding.cpp:19:22: error: unknown type name 'uv_work_t'
void MakeOldCallback(uv_work_t* req) {
^
../binding.cpp:20:17: error: calling a protected constructor of class 'v8::HandleScope'
HandleScope scope;
^
/usr/local/lib/node_modules/dashing-js/node_modules/node-sass/.node-gyp/4.4.7/include/node/v8.h:885:13: note: declared protected here
V8_INLINE HandleScope() {}
^
../binding.cpp:29:31: error: no matching function for call to 'Null'
Local::New(Null()),
^~~~
/usr/local/lib/node_modules/dashing-js/node_modules/node-sass/.node-gyp/4.4.7/include/node/v8.h:8130:18: note: candidate function not viable: requires single argument 'isolate', but no arguments were provided
Local Null(Isolate* isolate) {
^
../binding.cpp:30:39: error: no member named 'New' in 'v8::String'
Local::New(String::New(ctx->output_string))
~~~~~~~~^
../binding.cpp:30:43: error: calling a private constructor of class 'v8::Localv8::FunctionTemplate'
Local::New(String::New(ctx->output_string))
^
/usr/local/lib/node_modules/dashing-js/node_modules/node-sass/.node-gyp/4.4.7/include/node/v8.h:326:13: note: declared private here
V8_INLINE Local(S* that)
^
../binding.cpp:33:24: error: member reference type 'v8::Persistentv8::Function' is not a pointer; maybe you meant to use '.'?
ctx_w->callback->Call(Context::GetCurrent()->Global(), argc, argv);
~~~~~~~~~~~~~~~^~
.
../binding.cpp:33:26: error: no member named 'Call' in 'v8::Persistent<v8::Function, v8::NonCopyablePersistentTraitsv8::Function >'
ctx_w->callback->Call(Context::GetCurrent()->Global(), argc, argv);
~~~~~~~~~~~~~~~  ^
../binding.cpp:33:40: error: no member named 'GetCurrent' in 'v8::Context'
ctx_w->callback->Call(Context::GetCurrent()->Global(), argc, argv);
~~~~~~~~~^
../binding.cpp:38:39: error: no member named 'New' in 'v8::String'
Local::New(String::New(ctx->error_message))
~~~~~~~~^
../binding.cpp:38:43: error: calling a private constructor of class 'v8::Localv8::FunctionTemplate'
Local::New(String::New(ctx->error_message))
^
/usr/local/lib/node_modules/dashing-js/node_modules/node-sass/.node-gyp/4.4.7/include/node/v8.h:326:13: note: declared private here
V8_INLINE Local(S* that)
^
../binding.cpp:41:24: error: member reference type 'v8::Persistentv8::Function' is not a pointer; maybe you meant to use '.'?
ctx_w->callback->Call(Context::GetCurrent()->Global(), argc, argv);
~~~~~~~~~~~~~~~^~
.
../binding.cpp:41:26: error: no member named 'Call' in 'v8::Persistent<v8::Function, v8::NonCopyablePersistentTraitsv8::Function >'
ctx_w->callback->Call(Context::GetCurrent()->Global(), argc, argv);
~~~~~~~~~~~~~~~  ^
../binding.cpp:41:40: error: no member named 'GetCurrent' in 'v8::Context'
ctx_w->callback->Call(Context::GetCurrent()->Global(), argc, argv);
~^
../binding.cpp:44:15: warning: 'FatalException' is deprecated: Use FatalException(isolate, ...) [-Wdeprecated-declarations]
node::FatalException(try_catch);
^
/usr/local/lib/node_modules/dashing-js/node_modules/node-sass/.node-gyp/4.4.7/include/node/node.h:283:29: note: 'FatalException' has been explicitly marked deprecated here
inline void FatalException(const v8::TryCatch& try_catch) {
^
/usr/local/lib/node_modules/dashing-js/node_modules/node-sass/.node-gyp/4.4.7/include/node/node.h:66:42: note: expanded from macro 'NODE_DEPRECATED'
attribute((deprecated(message))) declarator
^
../binding.cpp:50:31: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
 System Darwin 15.4.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/dashing-js/node_modules/node-sass
gyp ERR! node -v v4.4.7
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
Build failed
npm ERR! Darwin 15.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "dashing-js-master-2/"
npm ERR! node v4.4.7
npm ERR! npm  v2.15.8
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node build.js'.
npm ERR! This is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls node-sass
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Volumes/Data/HomeDirectory/Downloads/npm-debug.log
npm-debug.log.zip

Sorry, 0.7 is a very old version of node-sass, and won't support NodeJS 4. Please update your node-sass version to latest.

Still reproducible with 3.10.1 version of node-sass

4.5.0 is the latest release
On 7 Feb. 2017 2:25 am, "Gennady Verdel"<EMAIL_ADDRESS>wrote:

Still reproducible with 3.10.1 version of node-sass
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sass/node-sass/issues/1666#issuecomment-277715717,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjZWOxqffyXtqsHLZ_7GGL189mrYKZcks5rZzuFgaJpZM4JjiBE
.

@nschonni  I'm still encounter this issue
npm ERR<EMAIL_ADDRESS>install: node build.js
npm ERR! Exit status 1
Did the node-sass dependency was updated?
Thanks

npm ERR<EMAIL_ADDRESS>install

0.7.0 is unsupported. Please upgrade to 4.5.0.

I'm having the same error. I used 'npm install node-sass' to get the latest version of node-sass.
Now when I do node-sass -v, it is giving version 4.5.0.
But still while installing dashing-js, it is taking 0.7 version.
How to resolve this issue?

You'll need to ask the dashing-js team to update their node-sass dependency


It's owesome.But there is a bug in the demo.

java.lang.IndexOutOfBoundsException: Invalid index 6, size is 6                                                                                at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)                                                                                at java.util.ArrayList.remove(ArrayList.java:403)                                                                                at apps.xenione.com.swipelayout.example.adapter.RightSwipeAdapter.deleteItem(RightSwipeAdapter.java:70) ……
This bug is reproduceable,if you follow two steps.
1.Swip delete the item 5.
2.Before the item 5 dismiss,Quick swip dismiss item 6.

Thanks @lancewong2014 as you mentioned issue is in the app side so no effect on the library.  Bad approach to remove item since is done by position it should remove passing through the whole object instead I will change as soon as possible.

this isssue from demo app is close no effect on swipe library so no new version library needed


Create utm-parameters

added ads glossary term: UTM Parameters
Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @negarzipan,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Feature Req: Text to Speech

Hi there,
I am suggesting a feature to have a Text to Speech, which is basically to speech (Read Aloud) what the Llm generated.
I am imagining there will be an option to select where the speech starts whenever the response completed.
I am not sure of Gradio is supporting this, or the feasibility of the implementation. However it is good to have.
I did a quick research and found these articles (I am a noob, they might not related):

https://huggingface.co/spaces/Flux9665/IMS-Toucan
https://github.com/DigitalPhonetics/IMS-Toucan

Thanks!

You can try out alpha version here: https://github.com/h2oai/h2ogpt/pull/1089

Hi @pseudotensor,
I was in travel and away from my PC.
I have tries the TTS and the experience was great. Thank you very much for the hard work.
When I tried it in the first time, I started receiving this error:
soundfile, librosa, and wavio not installed, disabling STT
So I piped all of them and the TTS worked fine, I did not see them in the requirements file.
I think so far there is no way to control the speed of the speech?!.
Plz check if the below command line is fine:
python generate.py --base_model='llama' --model_path_llama=..\AddedModels\zephyr-7B-beta\zephyr-7b-beta.Q5_K_M.gguf --prompt_type=zephyr --hf_embedding_model=hkunlp/instructor-large --score_model=None --langchain_mode='UserData' --user_path=user_path --llamacpp_dict="{'n_gpu_layers':35,'n_batch':128}" --do_sample=True --top_k_docs=-1 --temperature=0.7 --repetition_penalty=1.1 --top_p=0.9 --max_seq_len=8192 --max_input_tokens=6000 --open_browser=True --tts_coquiai_deepspeed=False --enable_sst=False --chatbot_role="Female AI Assistant" --speaker="SLT (female)"
My operating system in Windows.


Compiling grpc_csharp_ext for Android .so file (for use in Unity)

Should this be an issue in the gRPC issue tracker?
No; probably not a bug, just can't figure it out.
What version of gRPC and what language are you using?
1.8.3, C# w/ .NET 4.6 and Unity 2017.3.0p4
What operating system (Linux, Windows, …) and version?
OSX High Sierra 10.13.3
What runtime / compiler are you using (e.g. python version or version of gcc)
arm-linux-androideabi-gcc in attempts to compile /src/csharp/ext/grpc_csharp_ext.c into a .so that may be linked with Unity. Also tried running the csharp py test/build script as well as the Visual Studio project.
What did you do?
I am attempting to use GRPC with Unity. I'm stuck compiling a libgrpc_csharp_ext.so file which will successfully work with the arm-v7a Android architecture. The NuGet package ships with both an x86 and an x64 binary; neither works on arm-v7a.
I've tried two approaches. One is to modify the Makefile to have it produce the correct .so file, but since I'm on OSX (Darwin) I'm struggling to find the right flags.
The other is using the Android NDK directly. I expected the following command to work from the GRPC repository root:
arm-linux-androideabi-gcc -I. -I./include -fPIC -o libgrpc_csharp_ext.o -c src/csharp/ext/grpc_csharp_ext.c
arm-linux-androideabi-gcc -I. -I./include -shared libgrpc_csharp_ext.o -o libgrpc_csharp_ext.so

It compiles successfully and Unity recognizes the file when placed in /Plugins/Android as an arvm7 library. However, it does not have all of the required symbols.
What did you expect to see?
A successful DllImport("grpc_csharp_ext") and a connection to a GRPC server in the same Unity project which successfully does so on iOS, Linux, etc.
What did you see instead?
When GRPC attempts to DllImport("grpc_csharp_ext") on an actual Android device, I get an error:
Unable to load library '/data/app/PACKAGE/lib/arm/libgrpc_csharp_ext.so', native render plugin support disabled: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "grpc_slice_from_copied_buffer" referenced by "/data/app/PACKAGE/lib/arm/libgrpc_csharp_ext.so"...
Followed by:
Unable to find grpc_csharp_ext
I know this is possible because this open-source project has successfully cross-compiled the necessary files. When I download the .so file from their project and drop it into mine it successfully loads, except it was compiled with a very old version of GRPC and I therefore do not wish to use it. Furthermore, I've already successfully created an .a file for iOS which works well with a similar strategy. When I check my file with file libgrpc_csharp_ext.so I see that it is ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /system/bin/linker, with debug_info, not stripped. This matches the type of the file obtained from the open-source repository.
It seems like the appropriate symbols are not included in the resulting .so, based upon the error message above and also that the .so is ~36kb, but the "correct" .so from the open-source project is >5mb. I guess I'm compiling a dynamic library that doesn't include all the necessary symbols, but I'm not enough of a compiler guru to find the correct options.
Anything else we should know about your project / environment?
c.f. this Stack Overflow: https://stackoverflow.com/questions/48727035/compiling-grpcs-csharp-extensions-with-ndk-for-android

Thank you for triaging, @ncteisen and @jtattermusch . I would very much appreciate any recommendations or direction you might provide in attempts to successfully bring GRPC to Unity game development.
At the recommendation of a friend, I have attempted to use DockCross to compile the C# plugin for the Android arm architecture, but quickly ran into the problem of dotnet dependencies. Before I get sucked into the wormhole of trying to create a perfect Docker container that has all the right dependencies to compile the CSharp plugin for ARMv7, do you think that this is the right road to head down? If not, do you have a better recommendation?

@zaneclaes  thanks for experimenting with the crosscompiling.  I think using a docker image with the right environment to crosscompile for android is a good idea (especially because we are using docker quite extensively for grpc testing already, so if you could provide a well curated Dockerfile, we would be able put tests in place for the work that's done - or even automate the building of grpc_csharp_ext.so in the future).
I'm pretty sure other developers have been able to build grpc C core on ARM before - see my comment here https://github.com/grpc/grpc/issues/1620#issuecomment-368057678 (perhaps you can join forces).
Btw, once you have some success, please share your work somewhere so others can build on top of your results - I suspect that we have several developers trying to achieve the same thing but I haven't seen much collaboration between the individual engineers. If we all join forces I think we'll be able to tackle this much more easily.

@zaneclaes some ideas for your docker experiments:

can't you just take the  standard docker image for dotnet and just install android native SDK into that image, which would give you both working dotnet and android native SDK.
When you are building grpc_csharp_ext.so (just the native library) - you actually don't need dotnet at all. You can have a 2-step build - first step builds the native library   and the other step just takes the native library produced before and builds the nuget file (if the nuget file is what you need for running on unity).

Here's some additional resources on compiling on ARM:
We've actually successfully setup the native library compilation for Node.js and Python. Here are the PRs:
https://github.com/grpc/grpc/pull/11457/files (uses crosscompiler, see the PR for command line arguments to use)
https://github.com/grpc/grpc/pull/11108/files (uses qemu based crosscompiler for ARM).
https://github.com/murgatroid99/grpc/blob/17e016869a22b13b1f568ec534444928ff136a8e/tools/dockerfile/grpc_artifact_linux_x64/Dockerfile#L107
https://github.com/grpc/grpc/blob/a2310c00005bdaa9066e70d8af45dc1739bd7b44/tools/dockerfile/grpc_artifact_linux_armv7/Dockerfile

Thanks so much @jtattermusch . I'm afraid I'm in a bit over my head, and have (embarrassingly) sunk dozens of hours into this already, but let me describe where I'm at and maybe you can provide a few more tips...
First, the only thing I need is the libgrpc_csharp_ext.so file compiled for arm-v7a; so your "step 2" is not needed. I used the dockcross open-source project and modified their android-arm Dockerfile to build ./dockcross-android-arm. With this, I'm trying to cross-compile with: ./dockcross-android-arm make grpc_csharp_ext -B
The first thing I run into is /usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: -pthread: unknown option. Based upon some StackOverflow searches, I gather Android NDK may not support this. If I comment out the following:
# LIBS = dl rt m pthread
# LDFLAGS += -pthread

As well as remove the -Werror flag, I get much further (albeit with warnings). It finally craps out at:
[CXX]     Compiling src/core/ext/transport/chttp2/transport/flow_control.cc
src/core/ext/transport/chttp2/transport/flow_control.cc: In member function 'double grpc_core::chttp2::TransportFlowControl::TargetLogBdp()':
src/core/ext/transport/chttp2/transport/flow_control.cc:326:44: error: 'log2' was not declared in this scope
       1 + log2(bdp_estimator_.EstimateBdp()));

I'm a bit at a loss now =/

Going off a hunch here, but could you try changing that entire line to be:
  return AdjustForMemoryPressure(
      grpc_resource_user_quota(grpc_endpoint_get_resource_user(t_->ep)),
      1 + log2(static_cast<double>(bdp_estimator_.EstimateBdp())));

Not sure about how things work on android, but you might need the "m"  from # LIBS = dl rt m pthread back for log2 to be available (https://stackoverflow.com/questions/1033898/why-do-you-have-to-link-the-math-library-in-c)

@ncteisen great guess! That gets me further, but indeed, @jtattermusch was correct... the same line ends up erroring, now with: error: 'log2' was not declared in this scope. Even after linking to m, it appears log2 is not part of Android, but there is a workaround. This led me to this flag, which got me past the error:
CXXFLAGS += "-Dlog2(x)=(log(x)/log(2))"
Next I ran in to a No such file or directory error for #include <openssl/rsa.h> (later, I ran into a similar problem with ares.h). My problems ended up being a lot like this question -- I ended up needing to add the AROPTS='-r', for example. However, I'm afraid I'm not sure I understand how I compile the third party libraries. I get further if I add this...
CPPFLAGS := -Ithird_party/boringssl/include -Ithird_party/cares -Ithird_party/cares/cares $(CPPFLAGS)
But I still end up with...
[LD]      Linking /work/libs/opt/libgrpc.so.5.0.0
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: cannot find -lssl
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: cannot find -lcrypto
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/lib/channel/channel_stack.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/lib/channel/channel_stack_builder.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/lib/http/parser.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/lib/iomgr/call_combiner.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/lib/iomgr/combiner.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/lib/iomgr/ev_posix.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/lib/iomgr/executor.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/lib/iomgr/resource_quota.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/lib/iomgr/tcp_posix.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/lib/iomgr/timer_generic.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/lib/surface/api_trace.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/lib/surface/call.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/lib/surface/completion_queue.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/lib/surface/server.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/lib/transport/bdp_estimator.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/lib/transport/connectivity_state.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/ext/transport/chttp2/transport/chttp2_transport.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/ext/transport/chttp2/transport/flow_control.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/ext/transport/chttp2/transport/stream_lists.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/lib/security/credentials/plugin/plugin_credentials.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/lib/security/transport/secure_endpoint.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/tsi/transport_security.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/ext/filters/client_channel/client_channel.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/ext/transport/inproc/inproc_plugin.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/usr/arm-linux-androideabi/bin/arm-linux-androideabi-ld: error: /work/objs/opt/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
src/core/lib/channel/channel_stack.cc:26: error: undefined reference to '__dso_handle'
src/core/lib/channel/channel_stack_builder.cc:26: error: undefined reference to '__dso_handle'
src/core/lib/http/parser.cc:28: error: undefined reference to '__dso_handle'
src/core/lib/iomgr/call_combiner.cc:27: error: undefined reference to '__dso_handle'
Makefile:3323: recipe for target '/work/libs/opt/libgrpc.so.5.0.0' failed
make: *** [/work/libs/opt/libgrpc.so.5.0.0] Error 1

For reference I'm following this in the makefile:
# The steps for cross-compiling are as follows:
# First, clone and make install of grpc using the native compilers for the host.
# Also, install protoc (e.g., from a package like apt-get)
# Then clone a fresh grpc for the actual cross-compiled build
# Set the environment variable GRPC_CROSS_COMPILE to true
# Set CC, CXX, LD, LDXX, AR, and STRIP to the cross-compiling binaries
# Also set PROTOBUF_CONFIG_OPTS to indicate cross-compilation to protobuf (e.g.,
#  PROTOBUF_CONFIG_OPTS="--host=arm-linux --with-protoc=/usr/local/bin/protoc" )
# Set HAS_PKG_CONFIG=false
# To build tests, go to third_party/gflags and follow its ccmake instructions
# Make sure that you enable building shared libraries and set your prefix to
# something useful like /usr/local/cross
# You will also need to set GRPC_CROSS_LDOPTS and GRPC_CROSS_AROPTS to hold
# additional required arguments for LD and AR (examples below)
# Then you can do a make from the cross-compiling fresh clone!
#

I've started afresh following these instructions. I make it through every step until the last. Based upon these instructions, the command I'm running is:
./dc-android-grpc make grpc_csharp_ext HAS_PKG_CONFIG=false GRPC_CROSS_COMPILE=true PROTOBUF_CONFIG_OPTS="--host=arm-linux --with-protoc=/usr/local/bin/protoc"  GRPC_CROSS_AROPTS="rc --target=elf32-little" HOST_CC=cc HOST_CXX=c++ HOST_LD=cc HOST_LDXX=c++ -B

And now I get stuck on:
[C]       Compiling third_party/cares/cares/ares_create_query.c
third_party/cares/cares/ares_create_query.c:28:35: fatal error: arpa/nameser_compat.h: No such file or directory
 #  include <arpa/nameser_compat.h>

This seems like a simple problem; it sounds like the usr includes are not being included properly.  I'm not sure how to fix this correctly though. Inside both the host machine and docker image, the file in question is at /usr/include/arpa/nameser_compat.h. If I try to set INCLUDES to have /usr/include, I end up with a different error:
[CXX]     Compiling src/core/lib/gpr/alloc.cc
In file included from /usr/include/stdint.h:25:0,
                 from include/grpc/impl/codegen/port_platform.h:369,
                 from include/grpc/support/alloc.h:24,
                 from src/core/lib/gpr/alloc.cc:19:
/usr/include/features.h:398:23: fatal error: gnu/stubs.h: No such file or directory
 #include <gnu/stubs.h>

@zaneclaes   have you seen this comment: https://github.com/grpc/grpc/issues/1620#issuecomment-369847174

Success! For future searchers, full instructions follow...

Checkout the grpc repo and do the usual git submodule update --init
Make sure the Android NDK is installed at $ANDROID_NDK
Modify ./grpc/CMakeLists.txt to change the _gRPC_ALLTARGETS_LIBRARIES in Unix to not include rt or pthread. In my case, it now looks like:

if(_gRPC_PLATFORM_MAC)
  set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m pthread)
elseif(UNIX)
  set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m)
endif()

cd ./grpc
Run:

 cmake \
  -DCMAKE_SYSTEM_NAME=Android \
  -DCMAKE_SYSTEM_VERSION=15 \
  -DCMAKE_ANDROID_ARCH_ABI=armeabi-v7a \
  -DCMAKE_ANDROID_NDK=$ANDROID_NDK \
  -DCMAKE_ANDROID_STL_TYPE=c++_static \
  -DRUN_HAVE_POSIX_REGEX=0 \
  -DRUN_HAVE_STD_REGEX=0 \
  -DRUN_HAVE_STEADY_CLOCK=0 \
  -DCMAKE_BUILD_TYPE=Release

Run make grpc_csharp_ext ... on OSX, I also used EMBED_OPENSSL=true.
Copy ./libgrpc_csharp_ext.so to the necessary directory (i.e., Assets/Plugins/Android/)

Note that I also ran into https://github.com/google/protobuf/issues/2719. I ended up commenting out the use of the native log function all together, and rewriting NativeLogRedirector.cs in my Grpc.Core.
Note that in my build, I've also modified some of the Grpc Core to handle Unity's needs. I've got a full blog post on it going here: http://examinedself.com/cross-compile-grpc-unity/

@zaneclaes nice work on the blogpost, very useful resources!  One thing I didn't see in the blogpost is a link to the diffs you've made to Grpc.Core (you're mentioning the changes you've done, but a full diff would be very useful - a link to your fork of Grpc.Core on github would be the best).

To encourage collaboration, I'm making the instructions available in the main repo:
https://github.com/grpc/grpc/pull/14576
Thanks everyone for helping out!

I guess it's safe to close this issue now (as we have a way to compile now).

Thanks @jtattermusch ! You're right, I should do a real fork of the library. There are a few more polish touches I'd like to make to the Core library before posting such a fork; right now, I've got each target compiling separately. The problem is bridging the UnmanagedLibrary to a static library in such a way that doesn't require preprocessor macros, since I wish to compile only one version of the library (as opposed to having one target compiled with DllImport("__Internal"), one with DllImport("grpc_csharp_ext"), etc). I'm hoping to get to it this weekend.

@zaneclaes  feel free to share whatever work-in-progress you might have. It would help me to see what pieces I could easily cherrypick into upstream gRPC (my mileage with gRPC c# codebase is pretty good so I'm sure I'd know what cleanup to do ;-) ). If you have two forks currently, that's fine too.

Okay, will do ASAP! Not sitting in front of the project at the moment.

@zaneclaes  thanks! Btw, preprocessor macros are not necessarily a bad thing  - there's going to be more considerations in play. I'll basically try to think of what would be the best way to define DllImports and native delegates for all the platform we'd want to support (and if it becomes too repetitive, we can use other approaches like codegenerating platform-specific definitions from a template).

Very true. More accurately described, the problem is that I'd like to use the Unity preprocessor macros which already come prepackaged for each platform. However, doing so means that we need to either (1) make the Grpc.Core code live in the actual Unity project [no] or (2) bridge the defines from Unity into the Grpc.Core DLL's code. I'm not sure if (2) even makes sense, so instead, I was naively thinking to build 3 different bridge (one of each flavor of import), and use a runtime flag (set by Unity) to switch which one ends up being loaded in the Native bridge.