[WIP] Basic hardware recs

Starts to address #1132, though not yet per-cloud.

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/03b0da80f150f82dcde0295ec092ee11f0e01694/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/ad4eea541c719ba78bfe3fdf818ecb9284f03850/

@bdarnell, @mberhault, is it worth publishing these basic hardware recommendations in advance of having cloud-specific guidance? If so, anything need to be tweaked or added?
Question: What exactly should I say about disk space? Cassandra has some nice **docs as well as a procedure for estimating usable disk space.

@jseldess Don't know if it's worth trying to fix, but the failing Azure page on TC loads much more quickly with a trailing slash (i.e., https://azure.microsoft.com/en-us/updates/create-empty-resource-groups/)

@sploiselle, hmm, we're already using a trailing slash...

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/ad4eea541c719ba78bfe3fdf818ecb9284f03850/

@jseldess Ah. The TC error was showing a URL without the slash; I didn't check the source. My mistake!

Yes, we should go ahead and publish this information even though we don't yet have it translated into the cloud provider's machine classes.

Review status: 0 of 1 files reviewed at latest revision, 5 unresolved discussions, all commit checks successful.

recommended-production-settings.md, line 14 at r1 (raw file):

## Hardware

Each node of a CockroachDB cluster requires at a mimimum:

This would be a good place to repeat the requirement that you need a minimum of three nodes for a replicated cluster.

recommended-production-settings.md, line 16 at r1 (raw file):

Each node of a CockroachDB cluster requires at a mimimum:

- 2 CPU cores

@mberhault Why make this a hard requirement? More is better, of course, but everything should work with a single core.  (i'd rather run with one core on an SSD than two cores on HDD, for example)

recommended-production-settings.md, line 21 at r1 (raw file):

If performance is a priority, also consider the following:

- Use SSDs over HHDs.

s/HHD/HDD/

recommended-production-settings.md, line 22 at r1 (raw file):

- Use SSDs over HHDs.
- Since CockroachDB balances data approximately evenly across nodes, use more nodes to increase the work that can be handled in parallel and to reduce the amount of data to recover in case of node failure.

It's not very clear to me what this line is trying to say.

recommended-production-settings.md, line 23 at r1 (raw file):

- Use SSDs over HHDs.
- Since CockroachDB balances data approximately evenly across nodes, use more nodes to increase the work that can be handled in parallel and to reduce the amount of data to recover in case of node failure.
- Use larger nodes to increase processing power and, on cloud platforms, to increase the chance of getting a dedicated machine.

We should also say that in most cases, adding more CPUs will be more beneficial than adding more RAM.

Comments from Reviewable

recommended-production-settings.md, line 16 at r1 (raw file):
Previously, bdarnell (Ben Darnell) wrote…
@mberhault Why make this a hard requirement? More is better, of course, but everything should work with a single core.  (i'd rather run with one core on an SSD than two cores on HDD, for example)

Oh, @mberhault's rec was 1 core. I saw a later comment from you in the issue and thought you were suggesting that 2 should be our minimum. I must've misunderstood.

Comments from Reviewable

recommended-production-settings.md, line 22 at r1 (raw file):
Previously, bdarnell (Ben Darnell) wrote…
It's not very clear to me what this line is trying to say.

Hmm, the main point not being made clearly is that recovery from node failure will be quicker with more nodes? How would you explain that?
I guess the other point I was trying to make - the the processing of queries is distributed just as the data is - isn't really relevant here...

Comments from Reviewable

Review status: 0 of 1 files reviewed at latest revision, 5 unresolved discussions, all commit checks successful.

recommended-production-settings.md, line 22 at r1 (raw file):
Previously, jseldess wrote…
Hmm, the main point not being made clearly is that recovery from node failure will be quicker with more nodes? How would you explain that?
I guess the other point I was trying to make - the the processing of queries is distributed just as the data is - isn't really relevant here...

More nodes will improve recovery speed, but will generally reduce performance (it's true that some queries will be able to take advantage of more nodes, but all queries will be able to take advantage of faster nodes). This is why I was confused to see this in the "performance" section.
How about making that tradeoff explicit with something like this:
For best performance:

Use SSDs over HDDs
Use larger/more powerful nodes. Adding more CPU is usually more beneficial than adding more RAM

For best resiliency:

Use many smaller nodes instead of fewer larger ones. Recovery from a failed node is faster when data is spread across more nodes.
Use zone configs to set a replication factor of 5 (instead of the default 3)

Comments from Reviewable

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/775a933b1f25f394a1d4bedddda729e6bd6774ec/

Review status: 0 of 1 files reviewed at latest revision, 5 unresolved discussions, some commit checks pending.

recommended-production-settings.md, line 14 at r1 (raw file):
Previously, bdarnell (Ben Darnell) wrote…
This would be a good place to repeat the requirement that you need a minimum of three nodes for a replicated cluster.

Done.

recommended-production-settings.md, line 21 at r1 (raw file):
Previously, bdarnell (Ben Darnell) wrote…
s/HHD/HDD/

Done.

recommended-production-settings.md, line 22 at r1 (raw file):
Previously, bdarnell (Ben Darnell) wrote…
More nodes will improve recovery speed, but will generally reduce performance (it's true that some queries will be able to take advantage of more nodes, but all queries will be able to take advantage of faster nodes). This is why I was confused to see this in the "performance" section.
How about making that tradeoff explicit with something like this:
For best performance:

Use SSDs over HDDs
Use larger/more powerful nodes. Adding more CPU is usually more beneficial than adding more RAM

For best resiliency:

Use many smaller nodes instead of fewer larger ones. Recovery from a failed node is faster when data is spread across more nodes.
Use zone configs to set a replication factor of 5 (instead of the default 3)

Done.
For the zone config bullet, I've just linked to the start of the zone config page. Is the more specific recommendation here to change the default zone config to replicate 5 ways? If so, I could link directly to this example instead: https://www.cockroachlabs.com/docs/configure-replication-zones.html#edit-the-default-replication-zone

recommended-production-settings.md, line 23 at r1 (raw file):
Previously, bdarnell (Ben Darnell) wrote…
We should also say that in most cases, adding more CPUs will be more beneficial than adding more RAM.

Done.

Comments from Reviewable

Review status: 0 of 1 files reviewed at latest revision, 5 unresolved discussions, all commit checks successful.

recommended-production-settings.md, line 16 at r1 (raw file):
Previously, jseldess wrote…
Oh, @mberhault's rec was 1 core. I saw a later comment from you in the issue and thought you were suggesting that 2 should be our minimum. I must've misunderstood.

I'm not sure if we need to list this if it's just 1 (unless it's to distinguish VMs that could otherwise get a fractional CPU)

recommended-production-settings.md, line 22 at r1 (raw file):
Previously, jseldess wrote…
Done.
For the zone config bullet, I've just linked to the start of the zone config page. Is the more specific recommendation here to change the default zone config to replicate 5 ways? If so, I could link directly to this example instead: https://www.cockroachlabs.com/docs/configure-replication-zones.html#edit-the-default-replication-zone

Yeah, linking to that example would be good.

Comments from Reviewable

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/e0663c5aaaad2f29a732e1f003569e66f68e7da1/

Review status: 0 of 1 files reviewed at latest revision, 5 unresolved discussions.

recommended-production-settings.md, line 16 at r1 (raw file):
Previously, bdarnell (Ben Darnell) wrote…
I'm not sure if we need to list this if it's just 1 (unless it's to distinguish VMs that could otherwise get a fractional CPU)

Done.

recommended-production-settings.md, line 22 at r1 (raw file):
Previously, bdarnell (Ben Darnell) wrote…
Yeah, linking to that example would be good.

Done.

Comments from Reviewable

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/7453e19c5e22475098f95cda84833eed1d137c16/

@mberhault, any feedback before I merge these initial hardware recommendations?

LGTM, sorry about the delay.


Refs #28643 -- Added LPad and RPad database functions.

https://code.djangoproject.com/ticket/28643

buildbot, test on oracle.

buildbot, test on oracle.

buildbot, test on oracle.

@timgraham Thanks for the review.

In https://github.com/django/django/pull/9220, Mariusz and I agreed that developers can use, for example, import LPad as LJust if they prefer a different name.

Okay, but that is not consistent with how we handled Trim and giving it an alias of Strip (the Pythonic term).

We didn't include those aliases. https://github.com/django/django/pull/9220#discussion_r174330991

Well, I stand corrected.  (The ticket mentions in the comments that it was done.)  It's hard to follow these conversations since they are scattered in so many different places.


White buttons

We appear to be missing the white raised button.
.btn-primary-white?

@pmmck I'd like to add this to the backlog and provide all the button colors as an example.

@pmmck This is ready for your review.

LGTM.


Added GitHub actions for automated testing and building

This creates GitHub actions that attempt to automate some of the development process. The idea is having actions for testing PRs, and doing continuous building (nightly and on every release).

Closing; pull requests will be against dev, not master.


2.91 release

Milestones (from https://developer.blender.org/project/view/117/)

Phase
Description
Start Date
Branch

Bcon1
New features and changes
July 22, 2020
master

Bcon2
Improve and stabilize
September 18, 2020
master

Bcon3
Bug fixing only
October 21, 2020
blender-v2.91-release

Bcon4
Prepare release
November 18, 2020
blender-v2.91-release

Bcon5
Release
November 24, 2020
blender-v2.91-release

At Bcon3

[x] Creation of blender-v2.91-release of the addon
[x] Bump master to version 1.5
[x] Create a 2.92 milestone in github, and rename 2.92+ to 2.93+

Before Bcon4

[x] Update doc
[x] Remove non closed ticket from miletone 2.91

Just before release

[x] Check link to documentation in addon code

Just after release

[ ] Update readme

2.91 is released.
Can someone with rights update the description of github repo ?

Looks like someone already updated the docs link to point at 2.91, is that what you meant?

Yes, confirmed, someone did it. Thanks :)


Can we create ApexClass? Any Example?

Hi,
First, this repo is GREAT! I was wondering if we can create and deploy the apex class?
Couldn't find any example in this repo. Can anybody share the example if its possible?

I've tried creating a method
public static void createClass()     {         MetadataService.MetadataPort service = createService();         MetadataService.ApexClass apexClass = new MetadataService.ApexClass();         apexClass.apiVersion = 50;         apexClass.fullName = 'test';         //apexClass.label = 'TestHamza';         apexClass.content = EncodingUtil.base64Encode(Blob.valueOf('public with sharing class TestHamza{}'));         List<MetadataService.SaveResult> results =             service.createMetadata(                 new MetadataService.Metadata[] { apexClass });         handleSaveResults(results[0]);     }
but it's giving the error
Line: 13432, Column: 1System.CalloutException: Web service callout failed: WebService returned a SOAP Fault: '' is not a valid value for the enum 'ApexCodeUnitStatus' faultcode=soapenv:Client faultactor=
--


Expand node toolbar when opening a PoI on mobile

This expands the toolbar to cover around half of the screen when opening the first PoI.

Logic is correct – naming was misleading though ;) Fixed.


Removing Overview Pages from sidebar

🚀 Deployed on https://6574fdd460517d3d01c11fca--cozy-fox-0defec.netlify.app


Measure exporter and updates

This pull request is an amalgam of all the various model, validator and serialiser fixes I have made as a result of building importers. We can split this down if we want, but the commits are faily logical so it might best to review on a commit-by-commit basis.

The main event is all of the serialisers necessary to output measures.
This also includes tweaks to the measure models to handle prefixes and abbreviations used in duty sentences, which power the duty sentence parser coming in a later PR.
There are also some fixes for other XML output.
And there are some fixes to handle National Schema models and legacy data where rules are violated.

There are not enough tests, but I thought I would get some input on where coverage needs to be improved by creating this PR.

Codecov Report

Merging #83 into master will decrease coverage by 0.16%.
The diff coverage is 12.90%.

@@            Coverage Diff             @@
##           master      #83      +/-   ##
==========================================
- Coverage   65.85%   65.68%   -0.17%
==========================================
  Files         123      123
  Lines        6085     6103      +18
  Branches      367      368       +1
==========================================
+ Hits         4007     4009       +2
- Misses       1988     2003      +15
- Partials       90       91       +1

Impacted Files
Coverage Δ

certificates/models.py
23.80% <ø> (ø)

footnotes/tests/test_validators.py
100.00% <ø> (ø)

footnotes/validators.py
28.57% <0.00%> (ø)

geo_areas/validators.py
38.23% <0.00%> (-5.10%)
:arrow_down:

measures/models.py
26.92% <0.00%> (-0.32%)
:arrow_down:

regulations/models.py
13.20% <0.00%> (-0.52%)
:arrow_down:

regulations/serializers.py
0.00% <0.00%> (ø)

regulations/tests/test_importer.py
100.00% <ø> (ø)

measures/validators.py
54.62% <2.85%> (ø)

regulations/validators.py
18.60% <25.00%> (-4.48%)
:arrow_down:

... and 4 more

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 67e43fa...d74c40d. Read the comment docs.

:+1:  :+1: :+1:  :+1: :+1:  :+1:


Add Per Class Analysis and Class Confusion Matrix

Add per class dAP analysis.
Add Confusion matrix according to class errors
fix crash when there are only detection results in labels and segmentation section is empty list "[]".

Can the author approve this ?

+1

This is great! I used it in my code, thanks!
@dbolya any chance this pr can be approved? :)

Until this PR is merged here, I've created a new fork where it is merged: https://github.com/yiftachbeer/tide


AppWrapper Compatibility Concerns

Commit db535fe8377dcfbb51747738e9ed9c90d8d47f4d (from PR #38 ) has introduced an altered AppWrapper template expectation that is currently incompatible with other existing components. This needs to be resolved before a new InstaScale release can be created.

I think SDK should be native to appwrapper go structs. This would be a fundamental design change for SDK which needs to be discussed.


Safely encode Strings to ASCII

Motivation:
The current implementation of the encoder writes each character of the
String as a single byte to the buffer, however not all characters are
mappable to a single byte.
Modifications:
Use an ASCII CharsetEncoder to do the encoding.
Result:
A safer encoder for String to ASCII, which replaces unmappable
characters.

Testing:
$ mvn test
[...snip...]
Results :

Tests run: 1777, Failures: 0, Errors: 0, Skipped: 4

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 56.313 s
[INFO] Finished at: 2015-03-17T15:08:23-07:00
[INFO] Final Memory: 53M/711M
[INFO] ------------------------------------------------------------------------

@luciferous  I may be confused but isn't US_ASCII be supposed to work like it was implemented before. Can you show a test-case which failed with the previous implementation ? /cc @trustin

@normanmaurer Hello!
So, the precipitating issue is that it's possible to sneak newlines into header values. Imagine encoding this:
val headerValue = "嘊嘍Set-Cookie: foo"

The current implementation iterates over the chars, essentially writing this sequence of bytes to the buffer:
headerValue.map(_.toByte) == Vector(10, 13, 83, 101, 116, 45, 67, 111, 111, 107, 105, 101, 58, 32, 102, 111, 111)

See the CRLF?
This makes it so that characters outside of the charset turn into '?'.
val v = new String(enc.encode(CharBuffer.wrap(s)).array(), CharsetUtil.US_ASCII)
v.map(_.toByte) == Vector(63, 63, 83, 101, 116, 45, 67, 111, 111, 107, 105, 101, 58, 32, 102, 111, 111)

Instead of using CharsetEncoder, could you use simple conversion, as shown here?

Thanks, @luciferous! Cherry-picked: 2828eab1e861529aa141149694ccb449d1098e7a (3.10), 42cd55fca523da8e85132cf41112bc020356fcf0 (master), 61859eefa02e2870beac268e0f1ece2a101acda5 (4.1),  c1ac64fb822f35d52091efe67f101ae6e55dcbc9 (4.0)

@luciferous thanks for the patch and details :) Also thanks to @trustin for taking care.


Document example to cast MongoDB ObjectId to VARCHAR

@blcksrx I meant a commit (≠ PR title). Also, please submit CLA if you haven't yet sent it.

Sorry. I fixed it and I submitted the CLA about a minute ago

@cla-bot check


Method getHttpHost()

Hey what about the method  getHttpHost()
In Phalcon, the method looks HTTP_HOST and SERVER_NAME and SERVER_ADDR.
public function getHttpHost() -> string
    {
        var host, strict, cleanHost;

        let strict = this->strictHostCheck;

        /**
         * Get the server name from $_SERVER["HTTP_HOST"]
         */
        let host = this->getServer("HTTP_HOST");

        if !host {
            /**
             * Get the server name from $_SERVER["SERVER_NAME"]
             */
            let host = this->getServer("SERVER_NAME");
            if !host {
                /**
                 * Get the server address from $_SERVER["SERVER_ADDR"]
                 */
                let host = this->getServer("SERVER_ADDR");
            }
        }

        if host && strict {
            /**
             * Cleanup. Force lowercase as per RFC 952/2181
             */
            let cleanHost = strtolower(
                trim(host)
            );

            if memstr(cleanHost, ":") {
                let cleanHost = preg_replace("/:[[:digit:]]+$/", "", cleanHost);
            }

            /**
             * Host may contain only the ASCII letters 'a' through 'z'
             * (in a case-insensitive manner), the digits '0' through '9', and
             * the hyphen ('-') as per RFC 952/2181
             */
            if unlikely ("" !== preg_replace("/[a-z0-9-]+\.?/", "", cleanHost)) {
                throw new UnexpectedValueException("Invalid host " . host);
            }
        } else {
            let cleanHost = host;
        }

        return (string) cleanHost;
    }

Should it also be done here?
    /**
     * Gets active server host or name
     *
     * @return string
     */
    public function getHttpHost(): string
    {
        return $this->getServer('http_host') ?:
            $this->getServerName();
    }

Or use each method separately?
    /**
     * Gets active server host
     *
     * @return string
     */
    public function getHttpHost(): string
    {
        return $this->getServer('http_host') ?: '';
    }

@Jeckerson  how did you plan to do it?

I think fallback with getServerName() is a good choice.

Ok, i created PR


fixed crash when running in Gazebo simulation

Fixed crash in recently introduced code when in Gazebo mode.

applied to devel branch.


Make sure youtube.onReady doesn't run twice

Link to related issue (if applicable)
#1108
Summary of proposed changes
Adds a condition to youtube.onReady and bails if it has already been run (checking if it has play).
I haven't actually been able to replicate #1108, so I can't test that this works (only that it doesn't break). It should work, but in case the real issue (onReady being called twice) is also caused by our code, this is not an optimal fix.
Checklist

[x] Use develop as the base branch
[x] Exclude the gulp build (/dist changes) from the PR
[ ] Test on supported browsers

Cheers! 👍


Some errors in OPC publisher when trying to receive 3 messages per 1 sec consistently from Kepserver

Describe the bug
A customer is using OPC publisher to get data from Kepserver. And it is required to be able to receive 1 message per every 300ms. (It is a requirement of their project.) That is, they would like to receive 3 messages / 1 second consistently from Kepserver regardless of whether the message size is large or small.
To meet this requirement, they tried to use 2.7.171/2.7.183 version of publisher and used --BatchTriggerInterval=00:00:00.500 and –bs=10 or higher.
To Reproduce
Steps to reproduce the behavior:

When they used “mcr.microsoft.com/iotedge/opc-publisher:2.7.171-linux-amd64” and the below options, an error occurred.
===
'--pf=/appdata/pn.json',
'--aa',
'--to',
'--ih=Mqtt',
'--si=1',
'--ms=0',
'--di=60',
'--BatchTriggerInterval=00:00:00.500',
'--oi=300',
'--mq=163840'
===
The error messages is "Failed to create session '5f5eb3672da238625099fe14cd1d152bc706536e' due to One or more errors occurred. (Unexpected error processing response.)" and the log file is opcpublisher-publisher_0806.log

When they used “mcr.microsoft.com/iotedge/opc-publisher:2.7.183-linux-amd64” and without BatchTriggerInterval options below, an error occurred.
But if they use “mcr.microsoft.com/iotedge/opc-publisher:linux-amd64”, the error doesn’t occur.
===
'--pf=/appdata/pn.json',
'--aa',
'--to',
'--ih=Mqtt',
'--si=1',
'--ms=262144',
'--di=60',
'--oi=500',
'--mq=163840'
===
The error messages is "Failed to create session '5f5eb3672da238625099fe14cd1d152bc706536e' due to One or more errors occurred. (Error establishing a connection: Error received from remote host: An error occurred verifying security.)" and the log file is
opcpublisher-publisher_0810.log

When they used “mcr.microsoft.com/iotedge/opc-publisher:2.7.183-linux-amd64” and with BatchTriggerInterval options below, another error occurred.
===
'--pf=/appdata/pn.json',
'--aa',
'--to',
'--ih=Mqtt',
'--si=1',
'--ms=262144',
'--BatchTriggerInterval=00:00:00.500',
'--di=60',
'--oi=500',
'--mq=163840'
===
The error messages is
"Error processing job Standalone_quest-dev-edge-dems-linux_OPCPublisher.
System.ObjectDisposedException: Cannot access a disposed object.
at System.Threading.TimerQueueTimer.Change(UInt32 dueTime, UInt32 period)
at System.Threading.Timer.Change(Int64 dueTime, Int64 period)
at System.Threading.Timer.Change(TimeSpan dueTime, TimeSpan period)
at Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker.JobProcess.ProcessAsync() in D:\a\1\s\common\src\Microsoft.Azure.IIoT.Agent.Framework\src\Agent\Default\Worker.cs:line 327"
and
"Failed to create session '5f5eb3672da238625099fe14cd1d152bc706536e' due to One or more errors occurred. (Error establishing a connection: Error received from remote host: An error occurred verifying security.)"
and the log file is
opcpublisher-publisher_0810_BatchTriggerInterval.log

Expected behavior
The customer expects to receive 3 messages / 1 second consistently from Kepserver.

Hi,
can you try to test non-secure connectivity to the Kepserver as a trial?
enable security policy none for the KepServer.

and to enable Anonymous user Login for the Kepware's OPC UA Server

If that works, we can take it from there tuning the security options for publisher and reverting the changes in Kepserver.

Hi,
Sorry for the delay.
When the customer applied the guide that cristipogacean provided, they had the below error using mcr.microsoft.com/iotedge/opc-publisher:2.7.183-linux-amd64 with BatchTriggerInterval option.
Note: Without BatchTriggerInterval option, it worked normally with mcr.microsoft.com/iotedge/opc-publisher:linux-amd64.
Please refer the below configuration and the log file.
"Cmd": [
"publisher",
"--pf=/appdata/pn.json",
"--aa",
"--to",
"--ih=Mqtt",
"--si=1",
"--ms=262144",
"--di=60",
"--oi=300",
"--BatchTriggerInterval=00:00:00.300", (This option is used only for opc-publisher:2.7.183-linux-amd64)
"--bs=10",
"--mq=163840"
],
[03:00:40 INF Microsoft.Azure.IIoT.Module.Framework.Hosting.ModuleHost] Initialize device twin for quest-dev-edge-dems-linux - OPCPublisher
[03:00:40 INF Microsoft.Azure.IIoT.Module.Framework.Hosting.ModuleHost] Applying initial desired state.
[03:00:40 INF Microsoft.Azure.IIoT.Module.Framework.Hosting.ModuleHost] Reporting currently initial state.
[03:00:41 INF Microsoft.Azure.IIoT.Module.Framework.Hosting.ModuleHost] Module Host started.
[03:00:41 INF Microsoft.Azure.IIoT.Agent.Framework.Agent.WorkerSupervisor] Creating new worker...
[03:00:41 INF Microsoft.Azure.IIoT.OpcUa.Edge.Publisher.Engine.LegacyJobOrchestrator] File /appdata/pn.json has changed, reloading...
[03:00:41 INF Microsoft.Azure.IIoT.OpcUa.Edge.Publisher.Models.PublishedNodesJobConverter] Read 1 items from published nodes file in 00:00:00.0070180
[03:00:41 INF Microsoft.Azure.IIoT.OpcUa.Edge.Publisher.Models.PublishedNodesJobConverter] Converted items to jobs in 00:00:00.1536499
[03:00:41 INF Microsoft.Azure.IIoT.Agent.Framework.Agent.WorkerSupervisor] Starting worker 'StandalonePublisher_0'...
[03:00:41 INF Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker] Worker StandalonePublisher_0: {}
[03:00:41 INF Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker] Worker: StandalonePublisher_0 processing job: Standalone_quest-dev-edge-dems-linux_OPCPublisher, mode: Active
[03:00:42 INF Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Subscription 'opc.tcp://<IP_ADDRESS>:49320_e84bc70de26cdfe582609cac9b1448a38f58421a' registered/updated in session '5f5eb3672da238625099fe14cd1d152bc706536e' in state Init
[03:00:42 INF Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Subscription 'opc.tcp://<IP_ADDRESS>:49320_e84bc70de26cdfe582609cac9b1448a38f58421a' registered/updated in session '5f5eb3672da238625099fe14cd1d152bc706536e' in state Init
[03:00:44 INF Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Creating session '5f5eb3672da238625099fe14cd1d152bc706536e' for endpoint 'opc.tcp://<IP_ADDRESS>:49320'...
[03:00:45 INF Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Azure IIoT 5f5eb3672da238625099fe14cd1d152bc706536e took 00:00:01.1853067.
[03:00:45 WRN Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Failed to create session '5f5eb3672da238625099fe14cd1d152bc706536e' due to One or more errors occurred. (Unexpected error processing response.)
[03:00:53 INF Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Creating session '5f5eb3672da238625099fe14cd1d152bc706536e' for endpoint 'opc.tcp://<IP_ADDRESS>:49320'...
[03:00:54 INF Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Azure IIoT 5f5eb3672da238625099fe14cd1d152bc706536e took 00:00:01.0481937.
[03:00:54 WRN Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Failed to create session '5f5eb3672da238625099fe14cd1d152bc706536e' due to One or more errors occurred. (Unexpected error processing response.)
[03:01:03 INF Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Creating session '5f5eb3672da238625099fe14cd1d152bc706536e' for endpoint 'opc.tcp://<IP_ADDRESS>:49320'...
[03:01:04 INF Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Azure IIoT 5f5eb3672da238625099fe14cd1d152bc706536e took 00:00:01.3317814.
[03:01:04 WRN Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Failed to create session '5f5eb3672da238625099fe14cd1d152bc706536e' due to One or more errors occurred. (Unexpected error processing response.)

Any updates?

The customer performed the test that you suggested today, but the OPC publisher becomes to be failed after some minutes.
The attached is the log using support-bundle --since 2m
support_bundle.zip

They used the below pn.json.
[
{
"EndpointUrl": "opc.tcp://<IP_ADDRESS>:49320",
"UseSecurity": false,
"OpcNodes": [
{
"Id": "ns=2;s=DA01.Panel-A.40002",
"OpcSamplingInterval": 300,
"OpcPublishingInterval": 300
},
{
"Id": "ns=2;s=DA01.Panel-A.40003",
"OpcSamplingInterval": 300,
"OpcPublishingInterval": 300
},
… snip …
The below is the option of OPC Publisher.

Can you please check what the problem is?

looks like the file pn.json file is corrupted:
An exception was thrown while activating Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker -> Microsoft.Azure.IIoT.OpcUa.Edge.Publisher.Engine.LegacyJobOrchestrator.
 ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Microsoft.Azure.IIoT.OpcUa.Edge.Publisher.Models.PublishedNodesJobConverter, Microsoft.Azure.IIoT.OpcUa.Edge.Publisher.Engine.ILegacyCliModelProvider, Microsoft.Azure.IIoT.Agent.Framework.IAgentConfigProvider, Microsoft.Azure.IIoT.Agent.Framework.IJobSerializer, Serilog.ILogger, Microsoft.Azure.IIoT.Module.IIdentity)' on type 'LegacyJobOrchestrator'.
 ---> Microsoft.Azure.IIoT.Exceptions.SerializerException: After parsing a value an unexpected character was encountered: {. Path '[0].OpcNodes[394].OpcPublishingInterval', line 1980, position 6.
 ---> Newtonsoft.Json.JsonReaderException: After parsing a value an unexpected character was encountered: {. Path '[0].OpcNodes[394].OpcPublishingInterval', line 1980, position 6.
   at Newtonsoft.Json.JsonTextReader.ParsePostValue(Boolean ignoreComments)

After fixing pn.json, it looks to work normally.
In order to check if a message is delivered every 300 ms, the customer displayed the log in a callback function of TestScheduler module that receives the output from OPC publisher.
In the screenshot, the log containing “Received message buffer at” is displayed from the callback function.
After analyzing the log, the customer found that the messages are occasionally delivered with 600 ms.
Is it an expected behavior or not? Any reasons?
opc-test_0924.zip

sounds good!
yes, probably the value is not changed in the server every now and then within the exact sampling interval. As I explained in the call, only value changes are propagated. if the value is static it will not transported. This is the default behavior of standard opc ua publishing mechanism.

According to the customer, the setting in Kepserver is set to generate new values for all tags continuously. And so the messages should be delivered every 300 ms. They considered that it was an abnormal situation.
The below is the simulation setting in Kepserver.
For example, for 40031 tag, a random value between 1 and 100 is generated every 100 ms. And other tags are also generated every 100 ms.
So, the customer think that it should be delivered every 300 ms.
Do you think that there could be any other reasons?

The latency of the OPC Publisher is not deterministic so we cannot guarantee an output of 3 messages per second. It was build for non-realtime cloud communication with eventual delivery but not for realtime scenarios like to one you described.


'unsupported/Eigen/CXX11/Tensor' file not found on iOS

when I ran this two projects( https://github.com/yjmade/ios_camera_object_detection )( https://github.com/jeffxtang/yolov2_tf_ios ) on ios. I met this warning.
Stack Overflow didn't give any help, case #4680 is for Raspberry Pi. It didn't help me.
Describe the problem
warning like this!
'unsupported/Eigen/CXX11/Tensor' file not found

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
macOS10.13.4 Xcode9.2 iOS11.2
TensorFlow installed from (source or binary):
install from github source.
TensorFlow version (use command below):
version 1.6.0

why you close a different issue which isn't solved?

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

of course it is still is an issue!

I apologize but I am having a hard time understanding what the problem is, where the problem is, and what version it affects. Please resubmit and pay attention to the issue template (https://github.com/tensorflow/tensorflow/issues/new) . Please provide all the information it asks. Thank you.

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

yes!

Please keep in mind that the TensorFlow GitHub Issues page is for tracking bugs and feature requests. It is not a way to escalate a Stack Overflow support question that is not getting enough attention. Thanks!

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

It has been 30 days with no activity and the awaiting response label was assigned. Is this still an issue?

We are closing this issue for now due to lack of activity. Please comment if this is still an issue for you. Thanks!


Nothing is shown after logging in

After logging in nothing is shown. If i type incorrect user and password it does not authenticate so I think it is untelated to the login process. I am running the current version of the Business Edition.

Never mind. I just saw the project is no longer maintained, shich is probably why I am having issues.
Best of luck!

Hey @niem94, since I'm not any longer actively maintaining this project, there might have been API changes to the Portainer API which aren't reflected in the app.
If you got time, you can download the project and find out which requests don't work and fix them, I'd gladly accept pull requests.
All the best,
Laurens


Ticket 1266 use build push action v2 buildkit with cache

Jira ticket URL
https://dfedigital.atlassian.net/browse/TEVA-1266
Changes in this PR:

Update GitHub action docker/build-push-action to v2 which has buildkit enabled
Uses GitHub cache action for Docker layer caching

Evaluated three different approaches with an iterative model. Closing without merging.


Create a meaningful 404 page

There aren't any 404 page defined.
404 page would invite the user to check other pages that might be similar to the title in the URL.

Done, example: http://teapot.io/404-test


Rename package to autoware_ndt_omp

There is an ongoing effort to prefix all packages with autoware_ to prevent clashes with existing packages and to signal that these are packages that are part of the Autoware project.
In fact, because this package is still named ndt_omp and the original upstream package is already in the ROS index, our buildfarm is can't any package that depends on ndt_omp properly (see https://github.com/autowarefoundation/autoware/issues/4569). For now, I'm ignoring  ndt_omp and ndt_scan_matcher in the buildfarm, but it'd be great if at least ndt_omp is renamed soon.

@SakodaShintaro @YamatoAndo @mitsudome-r @xmfcx I remember that it was planned to integrate ndt_omp inside autoware_ndt_scan_matcher, but this repository is still separate. Unfortunately because the package in this repository has the same name as in the ROS index, it's still breaking the builds in https://github.com/autowarefoundation/autoware-deb-packages/pull/98
For now I'll ignore autoware_ndt_scan_matcher in the builds, but we need to find a way to avoid duplicate package names:

We rename ndt_omp to something else (e.g. autoware_ndt_omp, tier4_ndt_omp, etc.)
We integrate the code from ndt_omp into autoware_ndt_scan_matcher and remove the dependency for ndt_omp

Please see https://github.com/autowarefoundation/autoware.universe/pull/8912#discussion_r1772670302

@SakodaShintaro oh, sorry I missed that comment, I'll reply there. Thanks for the link

This issue has been resolved by moving ndt_omp into autoware_ndt_scan_matcher, so I will close this issue.
https://github.com/autowarefoundation/autoware.universe/pull/8912


OpenGEE Blog - Foss4G Blog Post

Added a new entry to the blog for the recent FOSS4G event.
Preview of the entry here: preview

Any reason why there are so many commits here?  It would be nice to clean those up.

I think we should update upload our slides and link to them from the post.

@tst-ahernandez @tst-lsavoie I think as long as we "Squash and merge" we can get rid of all these extra commits. I wonder if maybe a lot of the merge commits are due to the branch needing to be rebased. You can usually fix that pretty easily with:
git fetch upstream
git rebase upstream/master
git push origin --force

@tst-ccamp The presentation slides are still in post-edit and not ready to upload yet. Do we want to wait on this post until that time?

Approvals are in!


Refactoring: add setter method for compileTime

Nothing big, but useful for composition scenarios like Sonyx. :-)

Thank you! :)


[Question] - Annotation based Retry After Exception

In your README you give an example of RetryAfterCertainTimeException. How does this work with Feign's RetryableException? I'm trying to implement a RetryAfterException that gets automatically retried, but without duplicating Feign's RetryAfterDecoder (or putting my exception class in the feign.codec package).

If you take a look at https://github.com/OpenFeign/feign/blob/master/core/src/main/java/feign/SynchronousMethodHandler.java (notice it's a final class/etc) you'll see that at method public Object invoke(Object[] argv) (line 74 at the time of this note) there's an attempt to decode the response/etc. That's where RetryableException gets caught. It then hands the retry to the Retryer (regardless of what Retryer you've configured).
That means that all your exception needs to do to get passed to the Retryer is extend RetryableException  - MyAwesomeRetryableException extends RetryableException.
You can then basically implement whatever you want as that exception and override the retryAfter() method to return whatever date you so desire to retry after - wether you choose to use the headers, or just a hard-coded value (timeOfExceptionCreation + 1000 for example) - it's all completely up to you :).
Let me know if that answers your question (and if so - please close ;))
Thanks,
-Fernando

I think so it pretty much ties up what I already had. The problem is that the RetryDecoder in feign.codec.ErrorDecoder only has package local visibility. To use this the exception I create would need to move my exception class to feign.codec OR duplicate the RetryDecoder into my own code base, which is a little frustrating.
Here's what I have which works;
package feign.codec;

import feign.RetryableException;
import feign.codec.ErrorDecoder.RetryAfterDecoder;

import java.util.Collection;
import java.util.Map;

import static feign.Util.RETRY_AFTER;

public abstract class RetryAfterException extends RetryableException {

    private static final long serialVersionUID = 1L;

    public RetryAfterException(int code, Map<String, Collection<String>> headers, String body) {
        super(code, body, null, new RetryAfterDecoder().apply(retryAfterOrNull(headers)));
    }

    private static <T> T retryAfterOrNull(Map<String, Collection<T>> map) {
        if (map.containsKey(RETRY_AFTER) && !map.get(RETRY_AFTER).isEmpty()) {
            return map.get(RETRY_AFTER).iterator().next();
        }
        return null;
    }

}

I guess the best solution would be to raise an issue on feign itself to get that access opened up a little more.

No prob. I'm now confused as to what it was you were trying to achieve... It isn't clear to me.
When do you want to retry and how?

(hit submit too soon...)
The RetryDecoder is an error decoder (just like the annotation-error-decoder is one). Feign only lets you pick one. I'd argue rather than using the RetryDecoder, you'd use this one to generate an exception that consumes the response and sets the retryAfter.
I think what you're trying to say is that there's some functionality (decoding the header) that is already written in the RetryDecoder that would wouldn't want to duplicate (specifically, reading the header).
I wonder if it makes sense to enhance that functionality to move to either the RetryableException (so that it offers it by consuming the response) or if we perhaps somehow allow for that functionality to exist in the annotation-error-decoder (though that doesn't feel completely like the right place as reading those headers is a more generic task - even if it did offer some extra value for the annotation decoder).
Thoughts?


Migrate project to gradle

Now we have https://github.com/JetBrains/gradle-intellij-plugin.
Any plan to migrate current project to Gradle build system?
Without gradle, project import and many other things is realy tedious and error prone.

I don't have such a plan yet.

PR welcomed ;)

I create a pr for this feature.Will you take a look at https://github.com/zzz40500/GsonFormat/pull/59 ?

You're amazing! @gengjiawen


Added TeamInvite type and teamInvite fields on team and user query types

Somehow the accept and decline methods in the TeamInvite model don't update the field from nil to Time. I tried with update_attribute and touch and both work fine in development, but when I call them in my mutation tests it fails.


Rawdevart

Source name
Rawdevart
Source link
https://rawdevart.art
Source language
Japanese - 日本語
Other details
there are PR #607 remove rawdevart, not sure it's the same or not

Acknowledgements

[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a meaningful title with the source name.
[ ] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements.
[X] I will fill out all of the requested information in this form.

It's a different site.


Abstract predicate

Defines the Predicate trait:
pub trait Predicate {
    fn evaluate(&self, row: &Row) -> bool;
}

Concrete implementations are currently as follows:

Comparison: Compares an attribute with a constant value
Conjunction: AND/OR between two predicates
Tautology: Always returns true

Change names :
Conjunction is AND, disjunction is OR

pure_project is used in parser.rs as a convenience function. Connective is not currently used since the rest of the pipeline doesn't support complex predicates.


recent_view: Reduce width of unread header.

discussion: https://chat.zulip.org/#narrow/stream/101-design/topic/sorting.20by.20unread.20count.20.2322790

Merged, thanks @amanagr!


Update to latest libs

com.android.support:support-v4:24.2.1
com.android.support:appcompat-v7:24.2.1
com.afollestad.material-dialogs:core:<IP_ADDRESS>

@ritdaw if you have a fork of my library could you make a pull request?


Problem with Sense component: Setup failed for sense: No setup function defined

The problem

After specifying credentials in configuration.yaml and restarting HA, the message:
Setup failed for sense: No setup function defined
is thrown
I've confirmed that the Sense integration files are present in config\custom_components\sense
Environment

Home Assistant 0.105.4
Docker
Integration causing this issue: Sense
https://github.com/home-assistant/home-assistant/tree/dev/homeassistant/components/sense

Problem-relevant configuration.yaml

sense:
 email: <emailAddressHere>
 password: <secretPasswordThere>

Traceback/Error logs

2020-02-22 16:57:04 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for sense which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2020-02-22 16:57:08 ERROR (MainThread) [homeassistant.setup] Setup failed for sense: No setup function defined.

Additional information

After stepping back and taking a break, I see that the issue was related to an improperly named init.py
Resolving the naming fixed the issue.


Fix some typos

Motivation
Fix some typos.

@pkumar-singh Could you please rebase your code to paas the ci? I saw you code base is 2021 Aug

/pulsarbot run-failure-checks


[Feature] Optional prefix for URL path

As my journey ended with the proxypass thing, ( #76 ), i went through the code could not understand hot to modify the python parts to be able to define the /path/ for the base url in the Flask app part.
Later i was going through the .js parts and the path is hardcoded for the static files :(.
Its not trivial, because people might be running this on subdomain -gpt.example.com, but some people who dont have a free subdomain left might want to run this on sub path example.com/gpt.
Something to this : https://stackoverflow.com/questions/18967441/add-a-prefix-to-all-flask-routes

I second this; we would like to run gpt4all-ui on our HPC systems using Open Ondemand (dot org), which essentially runs the software on a compute node in a cluster and sets up a reverse proxy so that the user can interact with it using a public-facing web frontend.
It would also be beneficial for multi user setups like this, to have the ability to pass an optional cookie to the python app.

I already run this on VM behind reverse proxy, It works if if you have subdomain or domain, but i haven't tested it on subpath.


Changing how applications are installed

Applications should be installed via flatpak (Discussion)
Describe the solution you'd like
The thing is, Linux is moving to a unified way to package apps, and flatpaks are the prominent one (if you are not on Ubuntu). We should really push flatpak instead of Distro packages. We all already know about the security benefits that come with Flatpak, and those aren't the only benefits. At least flatpak should be the default for apps like telegram, Discord, OBS which recommend using the flatpak version as the default. Even for apps like signal, like on fedora, it would be much better to get a flatpak instead of enabling someone's Copr repo and do it that way. I would like to have a discussion on this, as personally most of my GUI application are Flatpak, but I get why someone might want to use distro package too or even AUR Build.
Describe alternatives you've considered
If things were done my way I would probably make all application installation to flatpaks, but that isn't the reality so at least giving a choice between flatpak and distro package would be nice, and for apps that recommend flatpaks that should be the default.
Checklist

[x] I checked for duplicate issues.
[x] I checked already existing discussions.
[x] This feature is not included in the roadmap.

And if we all agree to some sort of decision, I will do a PR on this later on

There are features that will be missing if run as a flatpak, for example if you use Discord you are unable to share what game/application you are currently using since it's contained. For some that's a desirable feature.

There are features that will be missing if run as a flatpak, for example if you use Discord you are unable to share what game/application you are currently using since it's contained. For some that's a desirable feature.

I get that why i said i can be choice in this scenario, but there are applications in which flatpaks are a no-brainer like telegram desktop

We all already know about the security benefits that come with Flatpak, and those aren't the only benefits. At least flatpak should be the default for apps like telegram, Discord, OBS which recommend using the flatpak version as the default.

I do not agree. Yes, flapak has security advantages over "standard" distro packages but

In most cases, Flatpak is noticeably slower than the "standard" packages
Packages installed through Flatpak are a pain to manage
Another non-neccessary dependency
Some people just don't like Flatpak by design (me), and prefer alternatives (the AUR for example)

If things were done my way I would probably make all application installation to flatpaks

This is a opinion thing. I personally don't think Linutil should depend on Flatpak.

/unlabel 'enhancement'
/label 'question'

If you wish to continue the discussion on this topic, open a new discussion (obviously).


bump master version of felix to one that includes named port functionality

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

@bcreane what's up with this guy?

this might have been helpful a few days ago, but instead, let's focus on getting v3.0-integration branch merged ... and then update the master components in calico.

Note this bump references a branch off of master that Shaun created. Since the tag doesn't reflect the actual contents of felix/master, we should not use the tag (or this PR).


geometry: Add TangentSpaceMesh class outline

Defined class with documentation in comments
Implemented algorithm selection
No actual algorithms written yet

Part of google/filament#6358

I'm breaking the SurfaceOrientation successor down into multiple commits. This is the first.
Please take a look. Thank you!


JSDoc comment on TerminalShellIntegration*Event.terminal seem to be copied

Testing #226655
They all say:
		/**
		 * The terminal that shell integration has been activated in.
		 */

which talks about activated.

Closing. The doc makes sense since they are execution evens


[DELIVER] xar error if archive path contains space

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
[DELIVER] xar error if archive path contains space.
Error opening xar archive: ./_tmp/space

The used path: ./_tmp/space test/sample-apps-osx-10-11.pkg
Complete output when running fastlane, including the stack trace and command used
[11:34:13]: To not be asked about this value, you can specify it using 'username'
Your Apple ID Username: ***
[11:34:19]: Login to iTunes Connect (***)
[11:34:23]: Login successful
[11:34:23]: $ xar -C /var/folders/5_/0kdz8vzx7rq2vh8lq_ctyld80000gn/T/d20160525-4574-pzuew0 -xf ./_tmp/space test/sample-apps-osx-10-11.pkg
Error opening xar archive: ./_tmp/space
The Bundle Identifier of your App: ***
[11:34:44]: $ xar -C /var/folders/5_/0kdz8vzx7rq2vh8lq_ctyld80000gn/T/d20160525-4574-198di4n -xf ./_tmp/space test/sample-apps-osx-10-11.pkg
Error opening xar archive: ./_tmp/space
...

Configuration Files
I do not use Fastfile, just simply calling:
deliver --pkg "./_tmp/space test/sample-apps-osx-10-11.pkg"

Environment
fastlane version (run fastlane -v): fastlane 1.91.0
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)? NO
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)? rbenv

Hi @godrei Thanks for reaching out. This seems like a ruby quirk. Does it work when you escape the space with a \ ?
Thanks 👍

With:  deliver --pkg ./_tmp/space\ test/sample-apps-osx-10-11.pkg
[10:45:17]: To not be asked about this value, you can specify it using 'username'
Your Apple ID Username: ***
[10:45:22]: Login to iTunes Connect (***)
[10:45:25]: Login successful
[10:45:25]: $ xar -C /var/folders/5_/0kdz8vzx7rq2vh8lq_ctyld80000gn/T/d20160526-803-fxiemh -xf ./_tmp/space test/sample-apps-osx-10-11.pkg
Error opening xar archive: ./_tmp/space

Using: deliver --pkg "./_tmp/space\ test/sample-apps-osx-10-11.pkg"
[10:46:49]: Error setting value './_tmp/space\ test/sample-apps-osx-10-11.pkg' for option 'pkg'

[!] Could not find pkg file at path './_tmp/space\ test/sample-apps-osx-10-11.pkg'

@godrei Thanks for following up. I just reached out to the core team so we can look into this a little more. For now please don't use a space as a viable workaround. 👍

@TKBurner Thanks for your quick response! Please notify me about the progress!

I have reproduced locally and I am working on a fix.

Hi @godrei - I've committed a fix for this with https://github.com/fastlane/fastlane/pull/4923, which will go out with the next release.
Thanks for the report! 👍


Add mingw support x265

Description of changes
Add mingw support x265
Part of a larger effort to add mingw support for qtmultimedia
Relevant for https://github.com/NixOS/nixpkgs/issues/274274

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg build pkgs.pkgsCross.mingw32.x265

@ofborg build pkgs.pkgsCross.mingwW64.x265

@wegank :)

ran -> run

@ofborg build pkgs.pkgsCross.mingw32.x265

@ofborg build pkgs.pkgsCross.mingwW64.x265


Added recipes for curl (libcurl-static)

We can have 3 outputs here (curl, libcurl and libcurl-static). I guess we would not need the first two.

Need to

Add tests
look into the required configuration flags (a couple might be unncessary)

I did this for supporting magics in xeus-cpp but thinking about it, having libcurl would help us compile RCurl R package (cc @IsabelParedes might be interested here)

curl will not work in the browser.

curl will very likely not work in the browser (tempted to close this PR)

I had my doubts but then I saw curl being used in wasm at few resources

https://curl.se/download.html (its through wasix, so search for wasix)
https://github.com/wapm-packages/curl
https://github.com/curl/curl/issues/13018#issuecomment-2045699712

For the xeus-cpp use case, even if we can catch hold of the include/curl.h file it would do, so i thought of raising it.

curl will very likely not work in the browser (tempted to close this PR)

I had my doubts but then I saw curl being used in wasm at few resources

https://curl.se/download.html (its through wasix, so search for wasix)
https://github.com/wapm-packages/curl
Duplicate symbols when compiling for wasm with emscripten curl/curl#13018 (comment)

And the xeus-cpp use case was just blocked since a while so I thought of raising it and this recipe is only for libcurl-static (not for the other 2 components which are curl and libcurl). Let me know what you think.

So while compiling curl is possible I doubt that anything meaningful will work for the browser.
This can work for wasi  / wasix or other platforms when they emulate the appropriate syscalls, but in the browser you will need to use async APIs for downloading things (ie the fetch API  ).
If there is no dedicated code in the curl codebase to handle emscripten, this will not work to download things

Thanks for the explanation here @tharun571 why exactly do we use curl in xeus-cpp. Cause I guess the above confirms we might not be able to use it.

@anutosh491 I am using curl to call the LLMs in xeus-cpp. As mentioned above, fetch API might be something I will try for our project.

Closing as won't work.


Support for dashed border

A core feature for background kit is dashed border.
Both Android and iOS support dashed border.

Android implementation on dev branch

Fixed in 386543e920d12831653a9cbd87e35901e762c43f


Webhooks?

hello, I'm thinking about why and how do we use webhooks for this? I mean does the script send a webhook message when there is a valid code? and should we pass the webhook URL if we want to use a webhook when the script asks for? I have questions, please help

Yeah you are right in everything

it will send a weebhook messaage if u got a valid code.


Update cats-core, cats-free to 2.3.1

Updates

org.typelevel:cats-core
org.typelevel:cats-free

from 2.3.0 to 2.3.1.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel" } ]

labels: library-update, semver-patch

Codecov Report

Merging #147 (e7bf40a) into master (f768f9a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #147   +/-   ##
=======================================
  Coverage   71.59%   71.59%
=======================================
  Files          12       12
  Lines         426      426
  Branches       23       21    -2
=======================================
  Hits          305      305
  Misses        121      121

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 f768f9a...e7bf40a. Read the comment docs.


Errors appearing in log when viewing device, seems related to incorrect temperature display units in HomeKit

I have a HeatStorm wall heater in the Tuya Smart app, and it is set to show Fahrenheit. However, in HomeKit, while it also says the unit is set to Fahrenheit, it is showing 140 degrees as the set point instead of 60F.
The relevant HomeBridge log entries are as follows:
[10/20/2022, 9:02:04 AM] [homebridge-tuya-platform] This plugin threw an error from the characteristic 'Temperature Display Units': Unhandled error thrown inside read handler for characteristic: This callback function has already been called by someone else; it can only be called one time.. See https://homebridge.io/w/JtMGR for more info. [10/20/2022, 9:02:04 AM] [homebridge-tuya-platform] Error: This callback function has already been called by someone else; it can only be called one time.     at TemperatureDisplayUnits.<anonymous> (/homebridge/node_modules/homebridge-tuya-platform/lib/heater_accessory.js:114:11)
[10/20/2022, 9:02:04 AM] [homebridge-tuya-platform] This plugin threw an error from the characteristic 'Heating Threshold Temperature': Unhandled error thrown inside read handler for characteristic: This callback function has already been called by someone else; it can only be called one time.. See https://homebridge.io/w/JtMGR for more info.
[10/20/2022, 9:02:04 AM] [homebridge-tuya-platform] Error: This callback function has already been called by someone else; it can only be called one time.     at HeatingThresholdTemperature.<anonymous> (/homebridge/node_modules/homebridge-tuya-platform/lib/heater_accessory.js:114:11)
[10/20/2022, 9:02:04 AM] [homebridge-tuya-platform] This plugin threw an error from the characteristic 'Current Temperature': Unhandled error thrown inside read handler for characteristic: This callback function has already been called by someone else; it can only be called one time.. See https://homebridge.io/w/JtMGR for more info.
[10/20/2022, 9:02:04 AM] [homebridge-tuya-platform] Error: This callback function has already been called by someone else; it can only be called one time.     at CurrentTemperature.<anonymous> (/homebridge/node_modules/homebridge-tuya-platform/lib/heater_accessory.js:114:11)

If you want to change the temperature unit for HomeKit, please go to System setting -> General -> Language and Region -> Temperature Unit.
And for the error logs in homebridge, please try my beta version: https://github.com/0x5e/homebridge-tuya-platform

If you want to change the temperature unit for HomeKit, please go to System setting -> General -> Language and Region -> Temperature Unit.
And for the error logs in homebridge, please try my beta version: https://github.com/0x5e/homebridge-tuya-platform

You’re talking about changing the temperature unit globally on the entire phone here? My temperature units are already set there to Fahrenheit. This Tuya device is the only device in HomeKit using Celsius.

Currently there's no people maintaining the 1.5.0 version. Heater has been reimplemented in 1.6.0 beta. Please try if it solves your problem.


Deleting old completed invocations

We need a way to either manually or automatically clean up old workflow invocation data.

Related to #4

Partially fixed in #103 - the workflow engine will no longer keep subscribed to channels of completed invocations.

If it's not affecting users and not breaking fission, let's move this to a later milestone.

One of the problems we are hitting frequently is this and we resolved by workarounds that doesn't feel nice. Here is our feedback:
After nats is up and fission-workflows is under constant usage, nats starting to use more and more RAM (8-16 GB).
To solve this problem, we first go for file store type of nats but then we realized that it is still keeping everything in memory. So then we just decided to use memory store for some time because file store is impossible to clean up in the case of there is an error and nats restarted.
Our workaround for keeping memory usage under some boundary is using memory limits of k8s which restarts the NATS. However, this way we hit memory limit of 16GB too fast sometimes.
Then we realized default values in the nats config is not that good. We first make all limits unlimited because we don't want to hit them (like explained in #4):
          # Unlimited number of channels
          "--max_channels", "0",
          # Unlimited number of subscriptions per channel
          "--max_subs", "0",
          # Unlimited number of messages per channel
          "--max_msgs", "0",
          # Unlimited messages total size that can be stored per channel
          "--max_bytes", "0",

Then we also enabled deletions of inactive channels, sometimes it worked and clear the memory and sometimes not (after waiting more than 10 minutes, completed invocation channels are not cleared):
          # Max inactivity (no new message, no subscription) after which a channel can be garbage collected
          # We delete channels older than 10 minutes
          "--max_inactivity", "10m",

So, there maybe some subscriber somewhere sending nats a heartbeat or something that still keeps completed invocation channel active and don't let the channel to be deleted.
Then we also enforce deletition of messages older than 10 mins too because in our use case invocation should fail or success in 10 minutes anyway.
          # Max duration a message can be stored in a channel (the same as max inactivity)
          "--max_age", "10m",

I wish setting up max inactivity is enough to clear up old invocations but it is not somehow. Maybe this is a bug @erwinvaneyk but I am not sure.
At the moment, we have 2 nodepools. One is having big memory nodes and running nats, fission core and everything else outside of fission-function namespace to make sure it has enough resources for running critical pods. Other one is using smaller nodes to run fission functions themselves. BTW, fission workflow's engine pod is running together with big nodes because it couldn't scale horizontally right now too.
Also, as it mentioned in #4, we need more production ready nats. We probably need clustering (I am not sure if this is just replication of messages or distribution of them), partitioning (for distributing ram usage), persistency (for recovery from failure) features of nats to make sure all these memory and failure problems solved.
In that case, it means maintaining NATS instances and make sure they are running on bigger nodes with enough resources. I am sure that not everyone want to maintain a running message queue at scale, maybe adding cloud message queue (google pub/sub) support is less trouble free overall.
Thanks for reading our long feedback 👍

Hi @thenamly - this is a great analysis. I am writing this while reading your analysis.

After nats is up and fission-workflows is under constant usage, nats starting to use more and more RAM (8-16 GB).
To solve this problem, we first go for file store type of nats but then we realized that it is still keeping everything in memory.

This might be an issue to raise with the NATS project. I would expect that using a persistency measure, regardless of FILE or SQL, it should decrease the pressure on the memory.

As I understand it, NATS by design fills up the memory it can get. Once at max memory it should start deleting the oldest messages. I think the trick is to set the limits in NATS a bit below the pod resource limits, to avoid OOMs and give NATS the opportunity to start garbage collection. Did you recognize this behavior?

I wish setting up max inactivity is enough to clear up old invocations but it is not somehow. Maybe this is a bug @erwinvaneyk but I am not sure.

This sounds like a bug in NATS streaming, you might want to file it there. As a mentioned above, you might want to try using the --max-bytes too. Set it a bit under the resource limits assigned to the NATS pods.

we need more production ready nats

It is an interesting issue, which you can attack in a couple of ways.

dive deeper into NATS performance tweaking. You would probably need to talk to the NATS guys too.

we write a google pub/sub implementation of the event store. However, I am not sure how 'low-latency' their pubsub service is, especially since in our case the publisher is often times the interested subscriber as well.

another option we could investigate is, if fault-tolerance is not of utmost importance, we can improve the purely in-memory event store with a slower database implementation behind it that persists the events asynchronously. In this case you gain a lot performance and the backing event store is less of importance performance-wise, but you do risk loosing active flows in the case that the workflow engine crashes. It might be an idea to offer this as an option: if faster: true the engine does not wait for events to persist, if faster: false it requires full persistence of events before continuing  (cc @xiekeyang and I have discussed adding this too)

This might be an issue to raise with the NATS project. I would expect that using a persistency measure, regardless of FILE or SQL, it should decrease the pressure on the memory.

What I understand from their docs are: "memory/file/sql are simple interfaces. If you don't like, you can add yours"

As I understand it, NATS by design fills up the memory it can get. Once at max memory it should start deleting the oldest messages. I think the trick is to set the limits in NATS a bit below the pod resource limits, to avoid OOMs and give NATS the opportunity to start garbage collection. Did you recognize this behavior?
...
As a mentioned above, you might want to try using the --max-bytes too. Set it a bit under the resource limits assigned to the NATS pods.

--max-bytes is per channel limit, not for all nats store. I thought it is for all nats store too. I tried to set this up 14GB while keeping k8s limit 16GB. Then I realized from docs that it is per channel limit. So you can only set memory limit to nats by channel_limit x max_bytes which is get tricky and feels like hack and inflexible.

dive deeper into NATS performance tweaking. You would probably need to talk to the NATS guys too.

Performance tweaking in our case is mostly about garbage collection and distributing ram usage. I think they did fair job by providing all options. What we can do more is using partitioning etc. options of nats to go further but I see diminishing returns problem when I invested more time to nats. Also, probably maintaining nats instances and running them will cost something in total.

... faster: true/false ...

I think this is complex solution for simple problem that should be solved by more specialized services (message queues) outside of workflow engine. It may be redundant to add this, maintain this over time with all the bugs it brings.
Only benefit is probably decreased latency but in our use case latency that nats brings to table is nothing at all. We can use the same effort for "doing one thing well" instead of trying to implement communication/message storage layer.

we write a google pub/sub implementation of the event store. However, I am not sure how 'low-latency' their pubsub service is, especially since in our case the publisher is often times the interested subscriber as well.

Google pub/sub and other cloud message queue support is probably option for getting more benefit with least effort of 3 option. I am not sure about their channel/subscription creation latency too but message delivery should be fast enough.
What we can do before starting an implementation is benchmarking specific operations (channel/subscription creation, message delivery from publisher to subscriber...) and compare it with nats for example.
Overall, I don't expect it to be unacceptably bad and getting rid of headache of maintaining it, running on big nodes for scaling to higher number of invocations etc. We can invest the same time to improve other bits of fission workflow. We are probably ok with short term workarounds until it's solved.
However, I know there are also people out there running fission on bare-metal. So we still need to consider improving default nats deployment for them.

I checked some benchmarks of google pub/sub from spotify and others. Maybe it's not that good :(

What I understand from their docs are: "memory/file/sql are simple interfaces. If you don't like, you can add yours"
--max-bytes is per channel limit, not for all nats store. I thought it is for all nats store too. I tried to set this up 14GB while keeping k8s limit 16GB. Then I realized from docs that it is per channel limit. So you can only set memory limit to nats by channel_limit x max_bytes which is get tricky and feels like hack and inflexible.

Mmmh, I did not know that it was a per-channel limit. Weird that they don't provide a max_bytes for the overal limit. It seems to me like a common configuration you would want to set for any NATS cluster, or do they have other features to protect against OOMs?

Performance tweaking in our case is mostly about garbage collection and distributing ram usage. I think they did fair job by providing all options. What we can do more is using partitioning etc. options of nats to go further but I see diminishing returns problem when I invested more time to nats. Also, probably maintaining nats instances and running them will cost something in total.

Agreed!

What we can do before starting an implementation is benchmarking specific operations (channel/subscription creation, message delivery from publisher to subscriber...) and compare it with nats for example.

There might be reports or research papers that have done this benchmarking before.

I checked some benchmarks of google pub/sub from spotify and others. Maybe it's not that good :(

Interesting! Then I think we should start thinking about option 3, to create a hybrid solution that does not depend solely on the message queue. There are a lot of options in that space.


Stop Dragging when Tool Parent is Changed

Resolves https://github.com/Roblox/Core-Scripts/issues/1004 and https://github.com/Roblox/Core-Scripts/pull/1005

Hi there, thank you for your feedback. We're going to be closing this repository as we've chosen the Roblox Dev Forum as our venue for developer feedback. Please feel free to migrate your feedback to a DevForum post if you feel it is still relevant.


Added number plate detector

Description
The system of vehicle number plate detection and recognition is used to detect the plates then make the recognition of the plate that is to extract the text from an image.
Fixes #675 Detect and Recognize Car License Plate
Have you read the Contributing Guidelines on Pull Requests?

[x] Yes
[ ] No

Type of change

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

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[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 created a helpful and easy to understand README.md
[ ] My documentation follows Template for README.md
[x] My changes generate no new warnings
[ ] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works.

@antrikshmisri @santushtisharma10 I don't have TensorFlow set up so can you confirm this script?

Okay, I will add README.md

Okay, I will add README.md

@mehabhalodiya your code is exactly same as this code provided in geeks for geeks. Just only few function name has been changed.

Okay fine @santushtisharma10
I will change it appropriately.

Please give me sometime.

@mehabhalodiya okay, go ahead

@kaustubhgupta @santushtisharma10 Let me know if it works so that I can create a README.md file for this.

Afterwards, I thought to implement in this way.

Where is this classifier?
I am implementing using 'haarcascade_russian_plate_number.xml'. Will it be okay ?

This is simply a pytesseract image to text implementation. @santushtisharma10 Thoughts? As this is a level3 issue

@kaustubhgupta we should decrease the level.  Will level 2 be okay?

Where is this classifier?
I am implementing using 'haarcascade_russian_plate_number.xml'. Will it be okay ?

This is simply a pytesseract image to text implementation. @santushtisharma10 Thoughts? As this is a level3 issue

@kaustubhgupta we should decrease the level. Will level 2 be okay?

Yes, 👍🏼

@mehabhalodiya you have to copy the exact line as it is pytesseract.pytesseract.tesseract_cmd = input("Enter the path of tesseract in your local system")
then in the terminal you have to enter the path of tesseract

@mehabhalodiya just a minor change, take the input path of image from user

@mehabhalodiya just a minor change, take the input path of image from user

Now? Should I made this type of change?

Yes

@Kushal997-das

@kaustubhgupta @antrikshmisri @Kushal997-das Kindly review this.


nginx config generated by nginx-boot.sh does bogus 301 redirects

Creating an image using nginx-boot.sh as directed does not work if you are using port redirection in docker.
Procedure to reproduce:

Set up a gatsby project that uses markup files to generate pages.
Build a docker image, e.g.docker build -t test-gatsby .

Get a coffee, that's gonna take a while.
Once it builds, start up the image, setting a non-standard port:docker run --name k8s-test -d -p 8001:80 test-gatsby:latest

Verify your index page works by going to http://localhost:8001/
Open the Network tab of your dev tools.
Go to the URI of one of your built images.
Result for me was a 301 redirecting from http://localhost:8001/PATH to http://localhost/PATH. Since only 8001 is active, this will appear as connection refused immediately after the 301.

In the reproduction repo you provided me via the Discord group, I was able to confirm the issue.
http://localhost:8001/k8s would redirect to a trailing slash with the port removed. If you gave the trailing slash path from the start(http://localhost:8001/k8s/, this seems to work properly without redirecting to the dropped port.
If the setting enables port_in_redirect, it will instead add the nginx listen port(customizable via $HTTP_PORT as per README), so if you alter that from the default 80 to say 8002, then the docker mapping 8001:8002 will load http://localhost:8001/k8s/ fine, once JS kicks in, the url is modified to drop the trailing /, refreshing http://localhost:8001/k8s, then has nginx redirect to http://localhost:8002/k8s/(note the port change).
absolute_redirect being disabled seems to be the preferred way. As the docs say it performs a relative redirect, not absolute, this seems to not mess with the port.

@polarathene , much thanks for looking at this.  Looks like absolute_redirect is indeed the ticket. I've just pushed a PR that turns that off, and turns port_in_redirect on. That appears to work w/o modifying anything else.
Not sure what the side-effects are of these two settings (I see chatter that they are used when you put a proxy in front of nginx), but the fix does make my site work.

This works better, but it still doesn't work right.
I've figured out a way to test this issue that does not involve my repo at all:

Start up the container using the PR on port 8001 (-p 8001:80).
Go to the link http://localhost:8001/does-not-exist/.  You will get the Gatsby 404 page.
Now go to the link http://localhost:8001/does-not-exist.  You will get redirected to http://localhost/no-link/ and get the "Cannot load page" page for your browser.

This behavior is the same irrespective of what TRAILING_SLASH is set to, which likely is itself a bug (but one bug at a time...).

Turns out that the in the land of nginx redirects, the relative redirect is king.
It can be a little confusing to test this, since your browser remembers if you've done a 301. But using curl makes for a clearer test as to what the server is actually doing:
$ curl -v http://localhost:8001/does-not-exist > /dev/null
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 8001 (#0)
> GET /does-not-exist HTTP/1.1
> Host: localhost:8001
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Server: nginx
< Date: Sun, 21 Jun 2020 21:45:51 GMT
< Content-Type: text/html
< Content-Length: 162
< Connection: keep-alive
< Location: /does-not-exist/
<
{ [162 bytes data]
100   162  100   162    0     0   8951      0 --:--:-- --:--:-- --:--:--  9000
* Connection #0 to host localhost left intact

And for the alternative:
$ curl -v http://localhost:8001/does-not-exist/ > /dev/null
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 8001 (#0)
> GET /does-not-exist/ HTTP/1.1
> Host: localhost:8001
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Server: nginx
< Date: Sun, 21 Jun 2020 21:46:06 GMT
< Content-Type: text/html; charset=utf-8
< Content-Length: 11103
< Connection: keep-alive
< Vary: Accept-Encoding
< ETag: "5eefd289-2b5f"
<
{ [11103 bytes data]
100 11103  100 11103    0     0  1292k      0 --:--:-- --:--:-- --:--:-- 1355k
* Connection #0 to host localhost left intact

I'm not sure what the use case is for the Docker image, but this behavior meets my needs. FWIW.


mathjax.org not working with IE11/

On windows 7 with IE11, mathjax.org doesn't seem to want to render the math when you click on "view samples". See attached images for example and IE 11 version info. I also tried the other rendering options (SVG, etc) and they failed also.
The "live demo" buttons do display appropriately.

Is this specific to mathjax.org?

So far, that's the only site/example on which I have seen that happen.

Closed in favor of downstream issue https://github.com/mathjax/MathJax-website/issues/63


CopterHack 2022: Moopt UAV

Dear Moopt UAV team,
We are closing pull request for your project as you didn’t get to the final round of the competition.
You are welcome to submit your article to the clover documentation as an clover platform-based project. In order to do this please create a new pull request or make a comment to the existing one.
We wish you success in implementing your project and invite you to the next events.


Fix insightface installation issue in Docker container

This pull request addresses an issue encountered while installing the insightface package in a Docker container. The installation process was failing with the following error:
insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpp:36:10: fatal error: Python.h: No such file or directory    36 | #include "Python.h"       |          ^~~~~~~~~~ compilation terminated. error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
The error indicates that the Python.h header file, which is required for building Python extensions in C/C++, was missing.
To resolve this issue, the Dockerfile has been updated to install the necessary Python development packages.

Are you working with @nightgrey or is this just a weird coincidence? https://github.com/Stability-AI/StableSwarmUI/pull/331 other PR for needed docker apt package from a few hours ago

I'm afraid it's just a weird coincidence.

Are you working with @nightgrey or is this just a weird coincidence? https://github.com/Stability-AI/StableSwarmUI/pull/331 other PR for needed docker apt package from a few hours ago

That's funny. 🤣 No, that's just a coincidence.


Android install issue INSTALL_FAILED_CONFLICTING_PROVIDER (2.1)

Operating system or device, Godot version, GPU Model and driver (if graphics related):
MacOSX 10.12.6 (16G29), Android 4.4.2, Godot 2.1.4 (commit 8122d943c)
Issue description:

I buit two game apks with two different package name. I can install the first one. But when I try to install the second one I get an error message:
Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]

I think that the root of issue is the package name of android template com.godot.game. But if I change it to something else in AndroidManifest.xml.template I get during compiling another error:
/Users/vasya/projects/godotframework/godot/platform/android/java/src/com/google/android/vending/expansion/downloader/Helpers.java:19: error: package com.godot.game does not exist
import com.godot.game.R;
                     ^
/Users/vasya/projects/godotframework/godot/platform/android/java/src/com/google/android/vending/expansion/downloader/impl/DownloadNotification.java:19: error: package com.godot.game does not exist
import com.godot.game.R;
                     ^
/Users/vasya/projects/godotframework/godot/platform/android/java/src/com/google/android/vending/expansion/downloader/impl/V14CustomNotification.java:19: error: package com.godot.game does not exist
import com.godot.game.R;
                     ^
< a lot of messages like this ones>

Should I change all godot java sources to use the different package name or there is another way to fix this issue?
Steps to reproduce:
Build two apks with different package ID and try to install on the same device.
Link to minimal example project:

I uploaded both my apks:
https://www.dropbox.com/s/ouhqimd0s44b1kb/space-cute.apk?dl=0
package: name='org.asmstudio.spacecute' versionCode='25' versionName='0.0.25' platformBuildVersionName=''

https://www.dropbox.com/s/5bgehhkq0vvesih/galaxy-adventure.apk?dl=0
package: name='free.line.games.match.three.puzzle.galaxy.adventure.android' versionCode='10000' versionName='1.0.0' platformBuildVersionName=''

your android template has many android modules including com.google.android.gms
I guess it's firebase.
did you make 2 different templates with 2 different google-services.json and env.android_add_default_config("applicationId 'org.asmstudio.****")?

@volzhs Thank you very much! Actually android_add_default_config did the trick!
I use many modules, some of them have dependencies to firebase and other google services.


Does not pull symbols starting with the letter "A"

Is this a limitation set by Yahoo? If so, is there a work-around? Thanks!

It's an error in the recursion algorithm. The algorithm works like this:
-initialise search strings with this: "first_search_characters = 'abcdefghijklmnopqrstuvwxyz'"
-start recursion with "nextQuery", which start with adding 1 to the index. Python starts indexing at 0, so algorithm starts at index 1, which is letter "b".
-when everything is exhausted, do "a" when all the rest has been exhausted, but the condition is never fullfilled.
-when everything +a is exhausted, decode the pickle and write results.
I have modified this by:
-"first_search_characters = ' abcdefghijklmnopqrstuvwxyz'" (insert a space before the first character
-when this is done, it is also possible to simplify the testing of the exit condition.
My code is running since a few days now; When it is completed, i'll send a pull request with my changes.

Hi Bruno,
Thanks for the good work here! Did you get a positive outcome from your test?
Thanks!
Aquiba

Hi Aquiba,
sorry, forgot to post my results. Yes, it works.

It's 2021, there's no 'abcd...' line in code & I still can't find symbols starting with A in outputs. No clue how to change the code.


ORC-860: Add dependabot

What changes were proposed in this pull request?
This PR aims to add dependabot with a weekly schedule.
Why are the changes needed?
This will keep ORC community up-to-date and make the ORC community more efficiently by removing the burden of new dependency monitoring.
How was this patch tested?
N/A

Hi, @omalley , @wgtmac , @pgaref , @williamhyun .
I'd like to add this to keep ORC community up-to-date and make the ORC community more efficiently by removing the burden of new dependency monitoring. WDYT?

Hi, @omalley , @wgtmac , @pgaref , @williamhyun .
I'd like to add this to keep ORC community up-to-date and make the ORC community more efficiently by removing the burden of new dependency monitoring. WDYT?

It looks good and we need to be careful if the dependency update brings compatibility issue (e.g. breaking compression change)

Yes, right. This one makes PRs to us and we can pin the dependencies when they are incompatible.
For example, Apache Avro and Druid projects are using this like that.

https://github.com/apache/avro/blob/master/.github/dependabot.yml
https://github.com/apache/druid/blob/master/.github/dependabot.yml

It's another benefit to have the list of the explicit pinning . It converts the implicit knowledges to the community-wide explicit one. I'll update the PR description.

Thank you, @wgtmac and @williamhyun !
Merged to main.


Unable to set Python Interpreter - Error command 'python.setInterpreter' not found

Environment data
VS Code version:  Version 1.20.0-insider (1.20.0-insider), f4ed56b0d61050f6a94cfa033a058fabfdc0d651
Python Extension version:  0.9.1
Python Version:  2.7.10
OS and version:    OSX 10.12.6
Actual behavior
Pressing Command + Shift + P, and then selecting the "Python: Select Interpreter" command
Error message appears at top:
Error command 'python.setInterpreter' not found

Expected  behavior
The "Python: Select Interpreter" should allow you to pick a Python interpreter, rather than returning an error message.
Steps to reproduce:

Start up VS Code.
Press Command + Shift + P
Type in "python select", then select the first result ("Python: Select Interpreter")

Logs
Output from Python output panel
I'm not sure where this Python output panel is?
Output from Console window (Help->Developer Tools menu)
workbench.main.js:sourcemap:2618 [Extension Host] debugger listening on port 9334
workbench.main.js:sourcemap:2616 [Extension Host] debugger inspector at %cDebugger listening on port 9334.
Warning: This is an experimental feature and could change at any time.
To start debugging, open the following URL in Chrome:
    chrome-devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=<IP_ADDRESS>:9334/518ad386-7993-4474-a42e-82c7566ba4da

workbench.main.js:sourcemap:253 [Extension Host] Activating extension `ms-python.python` failed: Cannot find module '/Users/victorhooi/.vscode-insiders/extensions/ms-python.python-0.9.1/out/client/extension'. (at Object.showMessage (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:508:200))
t.log @ workbench.main.js:sourcemap:253
workbench.main.js:sourcemap:253 [Extension Host] Activating extension `ms-python.python` failed:  Cannot find module '/Users/victorhooi/.vscode-insiders/extensions/ms-python.python-0.9.1/out/client/extension' (at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:293:87)
t.log @ workbench.main.js:sourcemap:253
workbench.main.js:sourcemap:253 [Extension Host] Here is the error stack:  Error: Cannot find module '/Users/victorhooi/.vscode-insiders/extensions/ms-python.python-0.9.1/out/client/extension'
	at Function.Module._resolveFilename (module.js:470:15)
	at Function.Module._load (module.js:418:25)
	at Function.J.Y.t.getExtensionPathIndex.then.o._load (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:490:787)
	at Module.require (module.js:498:17)
	at require (internal/module.js:20:19)
	at Function.a [as __$__nodeRequire] (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/loader.js:31:863)
	at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:511:186
	at t._doActivateExtension (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:511:298)
	at t._activateExtension (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:510:233)
	at Object.actualActivateExtension (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:508:332) (at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:293:155)
workbench.main.js:sourcemap:4118 Activating extension `ms-python.python` failed: Cannot find module '/Users/victorhooi/.vscode-insiders/extensions/ms-python.python-0.9.1/out/client/extension'.
t._logMessageInConsole @ workbench.main.js:sourcemap:4118
workbench.main.js:sourcemap:2821 command 'python.setInterpreter' not found
e.doShow @ workbench.main.js:sourcemap:2821
workbench.main.js:sourcemap:1248  INFO Requested uninstalling the extension ms-python.python from window 3
workbench.main.js:sourcemap:1248  INFO Uninstalling the extension ms-python.python-0.9.1 from window 3
workbench.main.js:sourcemap:1248  INFO showMessageBox begin:  Object {message: "Are you sure you want to uninstall 'Python'?", buttons: Array(2), type: "question", cancelId: 1, noLink: true…}
workbench.main.js:sourcemap:1248  INFO showMessageBox closed, response:  Object {button: 0, checkboxChecked: false}
workbench.main.js:sourcemap:2821 command 'python.setInterpreter' not found
e.doShow @ workbench.main.js:sourcemap:2821
e.show @ workbench.main.js:sourcemap:2820
e.resume @ workbench.main.js:sourcemap:2820
(anonymous) @ workbench.main.js:sourcemap:4505
e.fire @ workbench.main.js:sourcemap:160
(anonymous) @ workbench.main.js:sourcemap:3292

I have tried uninstalling and reinstalling both VSCode Insiders, as well as the Python extension.
I saw this similar issue - https://github.com/DonJayamanne/pythonVSCode/issues/1394 - but reinstalling didn't fix it in this instance, and no explanation was given on that issue of the underlying issue.

I'm closing this issue due to inactivity. If you are still able to replicate this issue, then please ry disabling all except this extension and trying once again and re-open the issue.

Can (currently) recreate. No error when disabling all other extensions.

@spipes can you include the information we request in the issue template?

Environment data
VS Code version: 1.19.3
Python Extension version: 2018.1
Python Version: Python 3.5.2 :: Continuum Analytics, Inc.
OS and version: Windows 7
Actual behavior
[As above]
Expected  behavior
Steps to reproduce:
[As above]
Logs
Output from Python output panel
[No output
]
Output from Console window (Help->Developer Tools menu)
[Extension Host] Activating extension `ms-python.python` failed: Missing required @injectable annotation in: PlatformService..
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:249
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:249 [Extension Host] Activating extension `ms-python.python` failed:  Missing required @injectable annotation in: PlatformService.
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:249

[Extension Host] Here is the error stack:  Error: Missing required @injectable annotation in: PlatformService.
	at getTargets (C:\Users\spipes\.vscode\extensions\ms-python.python-2018.1.0\node_modules\inversify\lib\planning\reflection_utils.js:19:15)
	at Object.getDependencies (C:\Users\spipes\.vscode\extensions\ms-python.python-2018.1.0\node_modules\inversify\lib\planning\reflection_utils.js:10:19)
	at C:\Users\spipes\.vscode\extensions\ms-python.python-2018.1.0\node_modules\inversify\lib\planning\planner.js:106:51
	at Array.forEach (native)
	at _createSubRequests (C:\Users\spipes\.vscode\extensions\ms-python.python-2018.1.0\node_modules\inversify\lib\planning\planner.js:94:20)
	at Object.plan (C:\Users\spipes\.vscode\extensions\ms-python.python-2018.1.0\node_modules\inversify\lib\planning\planner.js:129:9)
	at C:\Users\spipes\.vscode\extensions\ms-python.python-2018.1.0\node_modules\inversify\lib\container\container.js:243:37
	at Container._get (C:\Users\spipes\.vscode\extensions\ms-python.python-2018.1.0\node_modules\inversify\lib\container\container.js:236:44)
	at Container.get (C:\Users\spipes\.vscode\extensions\ms-python.python-2018.1.0\node_modules\inversify\lib\container\container.js:195:21)
	at ServiceManager.get (C:\Users\spipes\.vscode\extensions\ms-python.python-2018.1.0\out\client\ioc\serviceManager.js:41:89)
	at Object.registerTypes (C:\Users\spipes\.vscode\extensions\ms-python.python-2018.1.0\out\client\common\platform\serviceRegistry.js:12:24)
	at C:\Users\spipes\.vscode\extensions\ms-python.python-2018.1.0\out\client\extension.js:97:27
	at Generator.next (<anonymous>)
	at C:\Users\spipes\.vscode\extensions\ms-python.python-2018.1.0\out\client\extension.js:7:71
	at Promise (<anonymous>)
	at __awaiter (C:\Users\spipes\.vscode\extensions\ms-python.python-2018.1.0\out\client\extension.js:3:12)
	at activate (C:\Users\spipes\.vscode\extensions\ms-python.python-2018.1.0\out\client\extension.js:78:12)
	at Function.t._callActivateOptional (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:512:370)
	at Function.t._callActivate (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:512:54)
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:511:329
	at Object.g [as _notify] (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:67:449)
	at Object.enter (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:70:778)
	at n.Class.derive._oncancel._run (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:72:573)
	at n.Class.derive._oncancel._completed (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:72:14)
	at c (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:75:460)
	at q.then.o.(anonymous function) (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:75:674)
	at Object.g [as _notify] (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:67:449)
	at Object.enter (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:70:778)
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:249

@spipes
Are you able to replicate this issue after disabling all other extensions?

No.

Ok, looks like we have an extension it there that's causing this to fall over. Please could you provide a list of the extensions installed. Easiest way to do this is to go into the 'Report an issue' command from the command palette. That'll create an issue on GitHub and prepoulate the list of extensions for you, copy that into this issue.

Python and Visual Studio Code Tools for AI are enabled. If I disable the latter, the problem goes away.

Please could yo ensure you have the latest versions of both extensions.

The problem is with the Visual Studio Code Tools for AI. I've filed an issue here https://github.com/Microsoft/vscode-tools-for-ai/issues/18#issuecomment-362724110
I'm closing this issue as the problem lies with the other (AI) extension.

I am on windows machine, I upgraded to the latest version and this problem started to appear.
I uninstalled all other extensions except python and when I am pressing Ctrl + Shift + P, and then selecting the "Python: Select Interpreter" command
I get: Error command 'python.setInterpreter' not found

@hargikas please open a new issue

I am using 1.21.0 on debian machine. Reinstallation or reset did not help.

If people have issues with the automatic updating then please completely uninstall the Python extension, close VS Code, open it again, and then try installing the extension. If that doesn't work then please open a new issue.


moved router tests to httprouter_test package

The router tests better be in separate package because of the "net/http/httptest" import, it is affecting global state, in particular the flag lib:
https://github.com/golang/go/blob/master/src/net/http/httptest/server.go#L78
Copied catchPanic, so it does not need to be exposed.

*_test.go are only build if called with test build mode (running go test), so I don't think this change has any point to it.

Yeah figured out that was another package, sorry.


Add screen below 1120px solution

Solution for #1
.intro-box height change is inevitable, i propose one way to solve it. Please merge if you find it useful.

Thanks for the proposed solution. It was a good idea but unfortunately did not fix the overflow issue on mobile devices.