Create setup.py to enable pip packaging/installation

Would be to have a setup.py script, so we could install this repo's tools via pip

Among the things I think would be in a pip package are:

the python scripts that are currently spread on the root directory of this repo:

The code in the util folder:

At least these nam files (which are needed for https://github.com/googlefonts/fontbakery/issues/1466):

possibly more of the *.nam files that are spread on the encodings directory and its subdirectories.

The protobuffer generated file fonts_public_pb2.py in this repo is redundantly kept at the FontBakery repo as well.

I'd chmod a+x all the python scripts.
I would also consider if they can be included as modules on other python code when needed or if they are only useful as standalone scripts. I have to look more carefully at that yet, though.

In other words, packaging means we should come up with a good description of which tools the package provides, if they're meant for stand-alone usage on the command-line or as modules for other python programs, etc.
Right now this repo is a bit messy which seems to be a side-effect of how it grew organically in the past as demands for new helper scripts showed up. Not much different from the current state of the FontBakery helper scripts, actually.

I'll start by creating a setup.py for packaging the fontbakery helper/hotfix scripts that will be merged into this "tools" repo: https://github.com/googlefonts/fontbakery/issues/1639
After that, we'll add the scripts from this repo to that setup.py as well.
I suggest that we push this python package to PyPI under the name gftools (which stands for "Google Fonts Tools").

done.
A first release built with this is available now for testing at https://pypi.python.org/pypi/gftools/0.1.0

Seems to install nicely:
$ sudo  /usr/local/Cellar/python/2.7.12/bin/pip2   install gftools
Collecting gftools
  Downloading gftools-0.1.0-py2-none-any.whl (97kB)
    100% |████████████████████████████████| 102kB 2.3MB/s
Requirement already satisfied: unidecode in /usr/local/lib/python2.7/site-packages (from gftools)
Collecting Flask (from gftools)
  Downloading Flask-0.12.2-py2.py3-none-any.whl (83kB)
    100% |████████████████████████████████| 92kB 6.1MB/s
Requirement already satisfied: protobuf in ./dcrossland/Library/Python/2.7/lib/python/site-packages (from gftools)
Requirement already satisfied: glyphsLib in /usr/local/lib/python2.7/site-packages (from gftools)
Requirement already satisfied: FontTools in ./dcrossland/Library/Python/2.7/lib/python/site-packages/FontTools (from gftools)
Requirement already satisfied: tabulate in /usr/local/lib/python2.7/site-packages (from gftools)
Requirement already satisfied: requests in /usr/local/lib/python2.7/site-packages (from gftools)
Collecting pillow (from gftools)
  Downloading Pillow-4.3.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (3.5MB)
    100% |████████████████████████████████| 3.6MB 406kB/s
Requirement already satisfied: google-apputils in ./dcrossland/Library/Python/2.7/lib/python/site-packages (from gftools)
Collecting itsdangerous>=0.21 (from Flask->gftools)
  Downloading itsdangerous-0.24.tar.gz (46kB)
    100% |████████████████████████████████| 51kB 8.5MB/s
Collecting Werkzeug>=0.7 (from Flask->gftools)
  Downloading Werkzeug-0.12.2-py2.py3-none-any.whl (312kB)
    100% |████████████████████████████████| 317kB 4.2MB/s
Requirement already satisfied: Jinja2>=2.4 in ./dcrossland/Library/Python/2.7/lib/python/site-packages (from Flask->gftools)
Collecting click>=2.0 (from Flask->gftools)
  Downloading click-6.7-py2.py3-none-any.whl (71kB)
    100% |████████████████████████████████| 71kB 9.0MB/s
Requirement already satisfied: six>=1.9 in ./dcrossland/Library/Python/2.7/lib/python/site-packages (from protobuf->gftools)
Requirement already satisfied: setuptools in ./dcrossland/Library/Python/2.7/lib/python/site-packages (from protobuf->gftools)
Requirement already satisfied: MutatorMath>=2.0.0 in /usr/local/lib/python2.7/site-packages (from glyphsLib->gftools)
Requirement already satisfied: defcon>=0.2.0 in /usr/local/lib/python2.7/site-packages (from glyphsLib->gftools)
Requirement already satisfied: idna<2.7,>=2.5 in /usr/local/lib/python2.7/site-packages (from requests->gftools)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in /usr/local/lib/python2.7/site-packages (from requests->gftools)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python2.7/site-packages (from requests->gftools)
Collecting olefile (from pillow->gftools)
  Downloading olefile-0.44.zip (74kB)
    100% |████████████████████████████████| 81kB 9.4MB/s
Requirement already satisfied: python-dateutil>=1.4 in ./dcrossland/Library/Python/2.7/lib/python/site-packages (from google-apputils->gftools)
Requirement already satisfied: python-gflags>=1.4 in ./dcrossland/Library/Python/2.7/lib/python/site-packages (from google-apputils->gftools)
Requirement already satisfied: pytz>=2010 in ./dcrossland/Library/Python/2.7/lib/python/site-packages (from google-apputils->gftools)
Requirement already satisfied: MarkupSafe in ./dcrossland/Library/Python/2.7/lib/python/site-packages (from Jinja2>=2.4->Flask->gftools)
Requirement already satisfied: ufoLib>=2.0.0 in /usr/local/lib/python2.7/site-packages (from MutatorMath>=2.0.0->glyphsLib->gftools)
Requirement already satisfied: fontMath>=0.4.1 in /usr/local/lib/python2.7/site-packages (from MutatorMath>=2.0.0->glyphsLib->gftools)
Building wheels for collected packages: itsdangerous, olefile
  Running setup.py bdist_wheel for itsdangerous ... done
  Stored in directory: /Users/dcrossland/Library/Caches/pip/wheels/fc/a8/66/24d655233c757e178d45dea2de22a04c6d92766abfb741129a
  Running setup.py bdist_wheel for olefile ... done
  Stored in directory: /Users/dcrossland/Library/Caches/pip/wheels/20/58/49/cc7bd00345397059149a10b0259ef38b867935ea2ecff99a9b
Successfully built itsdangerous olefile
Installing collected packages: itsdangerous, Werkzeug, click, Flask, olefile, pillow, gftools
Collecting google-apputils (from gftools)
  Downloading google-apputils-0.4.2.zip (101kB)
    100% |████████████████████████████████| 102kB 1.4MB/s
Requirement already satisfied: itsdangerous>=0.21 in /usr/local/lib/python2.7/site-packages (from Flask->gftools)
Requirement already satisfied: Werkzeug>=0.7 in /usr/local/lib/python2.7/site-packages (from Flask->gftools)
Collecting Jinja2>=2.4 (from Flask->gftools)
  Downloading Jinja2-2.9.6-py2.py3-none-any.whl (340kB)
    100% |████████████████████████████████| 348kB 5.5MB/s
Requirement already satisfied: click>=2.0 in /usr/local/lib/python2.7/site-packages (from Flask->gftools)
Requirement already satisfied: six>=1.9 in /usr/local/lib/python2.7/site-packages (from protobuf->gftools)
Requirement already satisfied: setuptools in /usr/local/lib/python2.7/site-packages (from protobuf->gftools)
Requirement already satisfied: MutatorMath>=2.0.0 in /usr/local/lib/python2.7/site-packages (from glyphsLib->gftools)
Requirement already satisfied: defcon>=0.2.0 in /usr/local/lib/python2.7/site-packages (from glyphsLib->gftools)
Requirement already satisfied: idna<2.7,>=2.5 in /usr/local/lib/python2.7/site-packages (from requests->gftools)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in /usr/local/lib/python2.7/site-packages (from requests->gftools)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python2.7/site-packages (from requests->gftools)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python2.7/site-packages (from requests->gftools)
Requirement already satisfied: olefile in /usr/local/lib/python2.7/site-packages (from pillow->gftools)
Collecting python-dateutil>=1.4 (from google-apputils->gftools)
  Downloading python_dateutil-2.6.1-py2.py3-none-any.whl (194kB)
    100% |████████████████████████████████| 194kB 6.1MB/s
Collecting python-gflags>=1.4 (from google-apputils->gftools)
  Downloading python-gflags-3.1.2.tar.gz (52kB)
    100% |████████████████████████████████| 61kB 6.9MB/s
Collecting pytz>=2010 (from google-apputils->gftools)
  Downloading pytz-2017.3-py2.py3-none-any.whl (511kB)
    100% |████████████████████████████████| 512kB 2.7MB/s
Collecting MarkupSafe>=0.23 (from Jinja2>=2.4->Flask->gftools)
  Downloading MarkupSafe-1.0.tar.gz
Requirement already satisfied: ufoLib>=2.0.0 in /usr/local/lib/python2.7/site-packages (from MutatorMath>=2.0.0->glyphsLib->gftools)
Requirement already satisfied: fontMath>=0.4.1 in /usr/local/lib/python2.7/site-packages (from MutatorMath>=2.0.0->glyphsLib->gftools)
Building wheels for collected packages: google-apputils, python-gflags, MarkupSafe
  Running setup.py bdist_wheel for google-apputils ... done
  Stored in directory: /var/root/Library/Caches/pip/wheels/c2/c7/36/083b74a76ab1eeea8ebeb52c0ab118d455caec0607699c0eb8
  Running setup.py bdist_wheel for python-gflags ... done
  Stored in directory: /var/root/Library/Caches/pip/wheels/e8/9e/c1/a54ef14b0aaa051d73277146a27de8addd93a966611a9c4492
  Running setup.py bdist_wheel for MarkupSafe ... done
  Stored in directory: /var/root/Library/Caches/pip/wheels/88/a7/30/e39a54a87bcbe25308fa3ca64e8ddc75d9b3e5afa21ee32d57
Successfully built google-apputils python-gflags MarkupSafe
Installing collected packages: python-dateutil, python-gflags, pytz, google-apputils, MarkupSafe, Jinja2
Successfully installed Jinja2-2.9.6 MarkupSafe-1.0 google-apputils-0.4.2 python-dateutil-2.6.1 python-gflags-3.1.2 pytz-2017.3
$

A small thing, in the tag, you wrote the date as 2017-Nov-04
I request dates formatted YYYY-MM-DD with numbers so they always sort correctly :)

oh! OK. I'll delete the current tag and create a new one.

ok, done :-)

let me know if the scripts work fine

they did work fine for me here when I tested them.

The scripts seem not to be in my path, eg
$ whereis add_font
$

This should return the path, if it exists

Seeing the other issue:
$ gftools
gftools: command not found
$


convert tests to pact V3

sub task of #644
depends on #645
in the tests we are dealing a lot with XML responses, to be able to create those easily in the interactions and not have to build complex regex expressions we need to migrate to pact V3. by that we will be able to use XmlBuilder and MatchersV3 see https://github.com/pact-foundation/pact-js/#pact-js-v3
POC: #637

Done with https://github.com/owncloud/owncloud-sdk/issues/645#issuecomment-760682335

Done with https://github.com/owncloud/owncloud-sdk/issues/645#issuecomment-760682335


Add integration test package

The golang tests are treated as the same package as the actual tracker; it would be good to have a small integration package which treated the tracker as external to ensure reliable behaviour when integrating into other packages.

This is done in the Snowplow Tracking CLI already.


Let Terminal auto-detect a busted AutoRun value for CMD

CMD has this magic AutoRun reg key that's a gigantic footgun.

HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun
HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun

Basically, if someone writes a bad value to that, it can mess up CMD.exe real bad. As a real life example: https://github.com/conda/constructor/pull/521
We attempted to patch this in Windows 11. But we'll surely be unable to backport that. While we're maintaining Windows 10 support, it might be nice to return a specific warning for this in Terminal. Something like:
if (profileGuid == {cmd} && error == 1 && reg query ....) { write("Hey your AutoRun value might be busted. Go check these reg keys:"); }

(for discussion. We can always just say meh, since we did fix this for cmd.exe)

And this warning will pop up every time you start the shell? For example, I have a prompt written there.

It would only pop up if CMD exited with code 1 immediately on launch and AutoRun was set. It would not display at any other time.


Fix for toFixed method

This patch fixes this bug which caused corrupted stack by preventing unnecessary double to ascii conversion even if
the convertable number of digits is higher than allowed.
In addition, improved ecma_double_to_binary_floating_point function by removing a needless buffer.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik<EMAIL_ADDRESS>

@akosthekiss I've updated this PR, please review.

Patch is fixed and I've added more precise description.

I can agree with your suggestions above. According to them I've updated this PR.

still LGTM


Please add more information to the page

Can you please add more information to this page, please add an important note that clearly states that before running "Capture a VM in portal" we need:

we need to run sysprep on the virtual machine:
https://learn.microsoft.com/en-us/azure/virtual-machines/generalize
after running "Capture" the Virtual Machine will not be available, it will be in the status: "Stopped (deallocated)":

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 3dfa7214-78bc-d8d9-bd29-8d465465e106
Version Independent ID: 349d0c58-4fd9-5009-9f2b-f81761f733e9
Content: Capture an image of a VM using the portal - Azure Virtual Machines
Content Source: articles/virtual-machines/capture-image-portal.md
Service: virtual-machines
Sub-service: imaging
GitHub Login: @cynthn
Microsoft Alias: cynthn

@cynthn
Can you add your comments on above query.


+1 681 NPA XXXX

Country/region affected (e.g., "US"): US/West Virginia
Example number(s) affected ("+1<PHONE_NUMBER>"):+1 681 NPA XXXX
The phone number range(s) to which the issue applies ("+1 555 555-XXXX"):+1 681 NPA XXXX
The type of the number(s) ("fixed-line", "mobile", "short code", etc.):
The cost, if applicable ("toll-free", "premium rate", "shared cost"):
Supporting evidence (for example, national numbering plan, announcement from mobile carrier, news article):
http://www.allareacodes.com/681
http://www.theet.com/opinion/we-must-adapt-to-area-code-change/article_b88cb885-7cb2-5b99-8fcc-90949171f0de.html
https://en.wikipedia.org/wiki/Area_codes_304_and_681

Duplicate of #1527.


1.16.5 ?

Hello i just ask it will possible support for 1.16.5 ?
Thank you.
MickeyMouseYT

Sorry, I'm personally not supporting any versions below the new 1.18.1 version.
Maybe someone else wants to pick things up for older versions?

Idk


Missing check for NULL interp when setting error results

	apn: just btw, found a small bug (or inconsistency either) - vtblPtr->getoption can be called with interp = NULL, e. g. https://github.com/apnadkarni/iocp/blob/master/win/tclWinIocp.c#L1472, but some of getoption callback uses interp handle to set error without to check it is NULL

Although the fix is pretty simple in general:
diff --git a/win/tclWinIocpWinsock.c b/win/tclWinIocpWinsock.c
index 26d344d..67709ab 100644
--- a/win/tclWinIocpWinsock.c
+++ b/win/tclWinIocpWinsock.c
@@ -709,12 +711,29 @@ WinsockClientGetOption(
         sprintf_s(integerSpace, sizeof(integerSpace), "%u", dw);
         Tcl_DStringAppend(dsPtr, integerSpace, -1);
         return TCL_OK;
     default:
+      if (interp) {
         Tcl_SetObjResult(
             interp,
             Tcl_ObjPrintf("Internal error: invalid socket option index %d",
                           opt));
+      }
         return TCL_ERROR;
     }
 }

diff --git a/win/tclWinIocpTcp.c b/win/tclWinIocpTcp.c
index fb9fddf..5e91402 100644
--- a/win/tclWinIocpTcp.c
+++ b/win/tclWinIocpTcp.c
@@ -1302,7 +1302,9 @@ IocpTclCode TcpListenerGetOption(
         Tcl_DStringAppend(dsPtr, integerSpace, -1);
         return TCL_OK;
     default:
+      if (interp) {
         Tcl_SetObjResult(interp, Tcl_ObjPrintf("Internal error: invalid socket option index %d", opt));
+      }
         return TCL_ERROR;
     }
 }

but... I see some another troubles here... Certain code pieces show that the interpreter is really needed in getoption handler. For instance:
https://github.com/apnadkarni/iocp/blob/26716b9d8de7eadecf89784a0e8e410baa5a128a/win/tclWinIocpWinsock.c#L666-L668
It can cause that value of option can deviate by chan configure $s -some-option (interp != NULL) compared to chan configure $s (interp == NULL).
So I think better would be always supply interp handle to vtblPtr->getoption and extend it with something like flags set to TCL_LEAVE_ERR_MSG. This will avoid error reporting overhead by getting of all options and at same point remain the consistent handling depending on interp (variables etc).

The check for interp == NULL is fixed but I don't quite understand the last comment with respect to getoption being passed interp. Are you saying there is a bug there or are you suggesting an optimization? (TBH, I don't care too much about optimizing the error reporting cases)

If I estimate correctly:

supplying interp as NULL is often used to suppress interim error message generation and overwriting of interpreter result.
there are places where interp is expected (see example above where noRDNS will be read from interpreters variable)
therefore it is possible that the config values would deviate sometimes, e. g. as I wrote above:

It can cause that value of option can deviate by chan configure $s -some-option (interp != NULL) compared to chan configure $s (interp == NULL).


use PyContextVar_Get backport until PyPy 7.3.6

PyContextVar_Get  was added to PyPy 7.3.6 (https://foss.heptapod.net/pypy/pypy/-/blob/branch/default/pypy/doc/release-v7.3.6.rst)

Thanks


[CH] Add pre-projection for hash shuffle with expressions failed

Describe the bug
A clear and concise description of what the bug is.
Following query failed
Comments
@[lgbo-ustc](https://github.com/lgbo-ustc)
lgbo-ustc commented [5 minutes ago](https://github.com/Kyligence/ClickHouse/issues/451#issue-1815240685)
(you don't have to strictly follow this form)

Describe the unexpected behaviour

Following query failed

select count(1) from ( select '2023-03-07' as sday
,abflag
,coalesce(country,'all') as country
,coalesce(usertype,'all') as usertype
,count(a.uid) as dau
,cast(null as bigint) as retention_1d_uv
,cast(null as bigint) as retention_2d_uv
,cast(null as bigint) as retention_3d_uv
,cast(null as bigint) as retention_4d_uv
,cast(null as bigint) as retention_5d_uv
,cast(null as bigint) as retention_6d_uv
,cast(null as bigint) as retention_7d_uv

,count(b.uid)/count(a.uid) as retention_1d_rate
,cast (null as float) as retention_2d_rate
,count(c.uid)/count(a.uid) as retention_3d_rate
,cast (null as float) as retention_4d_rate
,cast (null as float) as retention_5d_rate
,cast (null as float) as retention_6d_rate
,count(d.uid)/count(a.uid) as retention_7d_rate

from
    (select a.day
    ,a.abflag
    ,b.country
    ,if(c.uid is not null,'new','old') as usertype
    ,a.uid
    from
        (select day,abflag,app_uid as uid
        from swh_client_abflag
        where day = '2023-03-07'
        group by day,abflag,app_uid
        ) a
    join
        (select day,app_uid as uid,country
        from  com_dim_snapshot_user
        where day = '2023-03-07'
        and app_use_time_order_desc_rank=1
        ) b
    on a.day=b.day and a.uid=b.uid
    left join
        (select day,uid
        from account_registrations
        where day = '2023-03-07'
        and num_deleted=0
        group by day,uid
        ) c
    on a.day=c.day and a.uid=c.uid
    ) a
left join
    (
    select day,app_uid as uid
    from com_dim_snapshot_user
    where day = date_add('2023-03-07',1)
    and app_use_time_order_desc_rank=1
    ) b
on a.uid=b.uid
left join
    (
    select day,app_uid as uid
    from com_dim_snapshot_user
    where day = date_add('2023-03-07',3)
    and app_use_time_order_desc_rank=1
    ) c
on a.uid=c.uid
left join
    (-- 七留
    select day,app_uid as uid
    from com_dim_snapshot_user
    where day = date_add('2023-03-07',7)
    and app_use_time_order_desc_rank=1
    ) d
on a.uid=d.uid
group by abflag,country,usertype
grouping sets(
    (abflag),
    (abflag,country),
    (abflag,usertype),
    (abflag,country,usertype)
) )

got exception

java.lang.IllegalStateException: Couldn't find uid#0 in [day#121,abflag#113,imo_uid#115]
	at org.apache.spark.sql.catalyst.expressions.BindReferences$$anonfun$bindReference$1.applyOrElse(BoundAttribute.scala:80)
	at org.apache.spark.sql.catalyst.expressions.BindReferences$$anonfun$bindReference$1.applyOrElse(BoundAttribute.scala:73)
	at org.apache.spark.sql.catalyst.trees.TreeNode.$anonfun$transformDownWithPruning$1(TreeNode.scala:481)
	at org.apache.spark.sql.catalyst.trees.CurrentOrigin$.withOrigin(TreeNode.scala:82)
	at org.apache.spark.sql.catalyst.trees.TreeNode.transformDownWithPruning(TreeNode.scala:481)
	at org.apache.spark.sql.catalyst.trees.TreeNode.transformDown(TreeNode.scala:457)
	at org.apache.spark.sql.catalyst.trees.TreeNode.transform(TreeNode.scala:425)
	at org.apache.spark.sql.catalyst.expressions.BindReferences$.bindReference(BoundAttribute.scala:73)
	at io.glutenproject.extension.TransformPreOverrides.$anonfun$addProjectionForShuffleExchange$1(ColumnarOverrides.scala:182)
	at io.glutenproject.extension.TransformPreOverrides.$anonfun$addProjectionForShuffleExchange$1$adapted(ColumnarOverrides.scala:174)
	at scala.collection.immutable.List.foreach(List.scala:431)
	at io.glutenproject.extension.TransformPreOverrides.selectExpressions$1(ColumnarOverrides.scala:174)
	at io.glutenproject.extension.TransformPreOverrides.addProjectionForShuffleExchange(ColumnarOverrides.scala:194)
	at io.glutenproject.extension.TransformPreOverrides.replaceWithTransformerPlan(ColumnarOverrides.scala:359)
	at io.glutenproject.extension.TransformPreOverrides.replaceWithTransformerPlan(ColumnarOverrides.scala:382)
	at io.glutenproject.extension.TransformPreOverrides.replaceWithTransformerPlan(ColumnarOverrides.scala:275)
	at io.glutenproject.extension.TransformPreOverrides.replaceWithTransformerPlan(ColumnarOverrides.scala:382)
	at io.glutenproject.extension.TransformPreOverrides.replaceWithTransformerPlan(ColumnarOverrides.scala:275)
	at io.glutenproject.extension.TransformPreOverrides.replaceWithTransformerPlan(ColumnarOverrides.scala:340)
	at io.glutenproject.extension.TransformPreOverrides.replaceWithTransformerPlan(ColumnarOverrides.scala:382)
	at io.glutenproject.extension.TransformPreOverrides.replaceWithTransformerPlan(ColumnarOverrides.scala:275)
	at io.glutenproject.extension.TransformPreOverrides.replaceWithTransformerPlan(ColumnarOverrides.scala:382)
	at io.glutenproject.extension.TransformPreOverrides.replaceWithTransformerPlan(ColumnarOverrides.scala:275)
	at io.glutenproject.extension.TransformPreOverrides.replaceWithTransformerPlan(ColumnarOverrides.scala:382)
	at io.glutenproject.extension.TransformPreOverrides.replaceWithTransformerPlan(ColumnarOverrides.scala:275)
	at io.glutenproject.extension.TransformPreOverrides.replaceWithTransformerPlan(ColumnarOverrides.scala:327)
	at io.glutenproject.extension.TransformPreOverrides.genHashAggregateExec(ColumnarOverrides.scala:87)
	at io.glutenproject.extension.TransformPreOverrides.replaceWithTransformerPlan(ColumnarOverrides.scala:281)
	at io.glutenproject.extension.TransformPreOverrides.replaceWithTransformerPlan(ColumnarOverrides.scala:340)
	at io.glutenproject.extension.TransformPreOverrides.genHashAggregateExec(ColumnarOverrides.scala:87)
	at io.glutenproject.extension.TransformPreOverrides.replaceWithTransformerPlan(ColumnarOverrides.scala:281)
	at io.glutenproject.extension.TransformPreOverrides.genHashAggregateExec(ColumnarOverrides.scala:87)
	at io.glutenproject.extension.TransformPreOverrides.replaceWithTransformerPlan(ColumnarOverrides.scala:281)
	at io.glutenproject.extension.TransformPreOverrides.replaceWithTransformerPlan(ColumnarOverrides.scala:340)
	at io.glutenproject.extension.TransformPreOverrides.genHashAggregateExec(ColumnarOverrides.scala:87)
	at io.glutenproject.extension.TransformPreOverrides.replaceWithTransformerPlan(ColumnarOverrides.scala:281)
	at io.glutenproject.extension.TransformPreOverrides.apply(ColumnarOverrides.scala:548)
	at io.glutenproject.extension.TransformPreOverrides.apply(ColumnarOverrides.scala:48)
	at io.glutenproject.extension.ColumnarOverrideRules.$anonfun$preColumnarTransitions$5(ColumnarOverrides.scala:720)
	at io.glutenproject.extension.ColumnarOverrideRules.$anonfun$preColumnarTransitions$5$adapted(ColumnarOverrides.scala:719)
	at scala.collection.immutable.List.foreach(List.scala:431)

To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.

@liuneng1994

select count(1) from ( select all1.*
,today_pay_uv,today_pay_diamond
,next_pay_uv,next_pay_diamond,seven_pay_uv,seven_pay_diamond
from
(select  op_area ,country ,ticket_type ,get_pv ,get_uv ,use_pv ,
use_uv ,bet_diamond ,win_diamond
from xxxxxx where day = '2023-03-07'
) all1
join
(select
nvl(op_area,'all') as op_area
,nvl(country,'all') as country
,nvl(ticket_type,'all') as ticket_type
,count(distinct case when game_diamond1>0 then uid end) today_pay_uv
,sum(case when game_diamond1>0 then game_diamond1 else 0 end) as today_pay_diamond
,count(distinct case when game_diamond2>0 then uid end) next_pay_uv
,sum(case when game_diamond2>0 then game_diamond2 else 0 end) as next_pay_diamond
,count(distinct case when game_diamond3>0 then uid end) seven_pay_uv
,sum(case when game_diamond3>0 then game_diamond3 else 0 end) as seven_pay_diamond
from
(select base.*
,nvl(b.countrycode,'other') as country
,nvl(c.op_area,'other') as op_area
,nvl(game_diamond1,0) as game_diamond1
,nvl(game_diamond2,0) as game_diamond2
,nvl(game_diamond3,0) as game_diamond3
from
(select uid,case when  ticket_id !=  1011  then 'rengong' else 'zidong' end as ticket_type
from xxxxxxx
where is_gray = 0 and from_unixtime(create_time,'yyyy-mm-dd') = '2023-03-07'
group by uid, case when  ticket_id !=  1011  then 'rengong' else 'zidong' end
) base
left join xxxxxxx b
on base.uid = b.uid
left join xxxxxxx c
on b.countrycode = c.country
left join
(select  uid
,sum(case when bus_type in (33) and sub_bus_type != 40646  then -change_count else 0 end) as game_diamond1
from xxxxxx
where day between '2023-03-07' and '2023-03-07' and type = 2  and appid = 48  and change_count < 0
group by uid
) t1
on base.uid = t1.uid
left join
(select  uid
,sum(case when bus_type in (33) and sub_bus_type != 40646  then -change_count else 0 end) as game_diamond2
from xxxxxx
where day between date_add('2023-03-07',1) and date_add('2023-03-07',1) and type = 2  and appid = 48  and change_count < 0
group by uid
) t2
on base.uid = t2.uid
left join
(select  uid
,sum(case when bus_type in (33) and sub_bus_type != 40646  then -change_count else 0 end) as game_diamond3
from xxxxxx
where day between '2023-03-07' and date_add('2023-03-07',6) and type = 2  and appid = 48  and change_count < 0
group by uid
) t3
on base.uid = t3.uid
) tb_base
group by op_area,country,ticket_type with cube
) all2
on all1.op_area = all2.op_area and all1.country = all2.country and all1.ticket_type = all2.ticket_type )


Add quickstart leveraging_kumo_for_smarter_recommendations

FYI @sfc-gh-cwasilewsky @leon-kumo
Confirm build is OK:

I accept the CLA: https://github.com/snowflakedb/CLA

Section titles have been updated to align with the official example: https://quickstarts.snowflake.com/guide/getting_started_with_dataengineering_ml_using_snowpark_python/index.html#0

Also added some images to the front page in order to align with the reference example


Make pc.SceneRegistry public

Description
I know having more public classes is undesirable, so we wouldn't ask for this if it wasn't necessary.
Currently, there is no way for a developer to get a list of scenes, add/remove or search for one by name. This is important when a game or app needs to change or display available scenes etc.
Just like pc.AssetRegistry, pc.SceneRegistry needs to be accessible. In the future, a scene should preferably be handled like an asset - but as long as that is not the case, it makes sense to make pc.SceneRegistry public. It may be worth noting that Unity's equivalent SceneManager is also available to devs for the same reason.

I checked with @daredevildave who originally added the pc.SceneRegistry class and he was OK with this. From my perspective, I have just one comment. Currently, the pc.Application API has loadScene, loadSceneHierarchy and loadSceneSettings functions. And these just call directly through to pc.SceneRegistry functions with the same name/signature. So it feels like we should deprecate the pc.Application versions of these functions and encourage the use or the SceneRegistry directly instead.

+1 for better API on app.scenes

Any particular proposal on that @Maksims? Or are you basically just suggesting we do what I describe above?

@willeastcott PR is updated based on your feedback.

@willeastcott Any news regarding this issue/PR? Would be very valuable for us to have this in the coming release.


Picker localization

Hi,
how is possible to localize cancel and confirm strings of this picker? I have an app in english and italian language but when I run it in italian, the picker shows Cancel and Confirm label instad of their italian translation.
Thanks.
Flavio

You need to add it to Picker Localizations. You can send me the language you need and add it. Like this:
'ko': {
'cancelText': '취소',
'confirmText': '확인',
'ampm': ['오전', '오후'],
},

I import flutter_picker: ^1.0.9 via pubspec.yaml so I cannot edit PickerLocalizations class because it's inside the package.
Anyway at the moment I send you picker localization for italian language:
'it': {
'cancelText': 'Annulla',
'confirmText': 'Conferma',
'ampm': ['AM', 'PM'],
},

Thanks

OK,

hi @yangyxd ,
Could you please use this localization for Arabic language:
'ar':{
''cancelText': 'إلغاء الأمر',
'confirmText': 'تأكيد',
'ampm': ['صباحاً', 'مساءً'],
},
I was able to provide the picker with localized cancelText and confirmText properties tho.
Thanks.

@mohammadsyria93  OK

@yangyxd, spanish please!
'es': {
'cancelText': 'Cancelar',
'confirmText': 'Confirmar',
'ampm': ['AM', 'PM'],
},

@sotoyjuan OK

@yangyxd , vietnamese please!
'vi': {
'cancelText': 'Hủy',
'confirmText': 'Chọn',
'ampm': ['SA', CH'],
},


On sundays and mondays the whole week is displayed

On sundays and mondays the menus for the whole week are rendered, while we would like to only show the menu for monday.

I havent seen this for a while, so I guess this was fixed some time ago. Maybe at the place we get our data from. Closing.


[Linux] app doesn't work on Wine

System info:
wine-5.0 (Ubuntu 5.0-3ubuntu1)
No LSB modules are available.
Distributor ID: Linuxmint
Description:    Linux Mint 20
Release:        20
Codename:       ulyana
Command: sudo wine LZELEYPVZ.exe
Message:
wine: Unhandled page fault on read access to FFFFFFFF at address 7BC68556 (thread 0044), starting debugger...

@ErLinErYi Update from windows

It is true that some computers can not run, I have tried to solve, but still can not completely solve. There is another version in the attachment. Try to run it. If there is still a problem, I don't know how to solve it. In addition, this is the repository of GitHub.https://github.com/ErLinErYi/PlantsVsZombies
------------------ 原始邮件 ------------------
发件人:                                                                                "ErLinErYi/PlantsVsZombies"<EMAIL_ADDRESS>发送时间: 2020年9月17日(星期四) 凌晨3:48
收件人<EMAIL_ADDRESS>抄送: "尔灵尔亿"<2117610943<EMAIL_ADDRESS>主题: Re: [ErLinErYi/PlantsVsZombies] [Linux] app doesn't work on Wine (#6)
@ErLinErYi Update from windows
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
从QQ邮箱发来的超大附件
PlantsVsZombies.exe (80.79M, 2020年10月18日 16:49 到期)进入下载页面：http://mail.qq.com/cgi-bin/ftnExs_download?k=2d643037dc6f909cda4908491137514953540404000f57524852010f061a575f5c051d0f5352514b5251530200035504065d51563724633609055e434461103c0a09525e52444d031d01300a&t=exs_ftn_download&code=ed0777cf

Could not run before .dll file may be wrong. It has been fixed before. Try running it again if you have time. thank you.

Could not run before .dll file may be wrong. It has been fixed before. Try running it again if you have time. thank you.

@ErLinErYi Okey. I'll check it tomorrow.

@ErLinErYi Okey. I'll check it tomorrow.

@ErLinErYi Which version I can test?

@ErLinErYi Which version I can test?

You can try v<IP_ADDRESS>, the previous version of the file has been replaced.
---Original---
From: "Marat<EMAIL_ADDRESS>Date: Wed, Jan 27, 2021 00:05 AM
To<EMAIL_ADDRESS>Cc: "LZ"<2117610943<EMAIL_ADDRESS>Subject: Re: [ErLinErYi/PlantsVsZombies] [Linux] app doesn't work on Wine (#6)
@ErLinErYi Which version I can test?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

You can try v<IP_ADDRESS>, the previous version of the file has been replaced.
---Original---
From: "Marat<EMAIL_ADDRESS>Date: Wed, Jan 27, 2021 00:05 AM
To<EMAIL_ADDRESS>Cc: "LZ"<2117610943<EMAIL_ADDRESS>Subject: Re: [ErLinErYi/PlantsVsZombies] [Linux] app doesn't work on Wine (#6)
@ErLinErYi Which version I can test?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@ErLinErYi
Hello. I checked your game.
This is great! I want to help you with the translation. I don't know Chinese at all, but I know a little English, and my native language is Russian

@ErLinErYi
Hello. I checked your game.
This is great! I want to help you with the translation. I don't know Chinese at all, but I know a little English, and my native language is Russian

That's great. The new version to be released in a few days will make it easier to change the translation work. In the attachment is a language JSON file that can be read directly by the new version of the program. You can add languages freely. I'll let you know when the new version is finished。Thank you for your attention to this program
------------------ 原始邮件 ------------------
发件人:                                                                                "ErLinErYi/PlantsVsZombies"<EMAIL_ADDRESS>发送时间: 2021年1月27日(星期三) 凌晨2:15
收件人<EMAIL_ADDRESS>抄送: "尔灵尔亿"<2117610943<EMAIL_ADDRESS>主题: Re: [ErLinErYi/PlantsVsZombies] [Linux] app doesn't work on Wine (#6)
@ErLinErYi
Hello. I checked your game.
This is great! I want to help you with the translation. I don't know Chinese at all, but I know a little English, and my native language is Russian
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

That's great. The new version to be released in a few days will make it easier to change the translation work. In the attachment is a language JSON file that can be read directly by the new version of the program. You can add languages freely. I'll let you know when the new version is finished。Thank you for your attention to this program
------------------ 原始邮件 ------------------
发件人:                                                                                "ErLinErYi/PlantsVsZombies"<EMAIL_ADDRESS>发送时间: 2021年1月27日(星期三) 凌晨2:15
收件人<EMAIL_ADDRESS>抄送: "尔灵尔亿"<2117610943<EMAIL_ADDRESS>主题: Re: [ErLinErYi/PlantsVsZombies] [Linux] app doesn't work on Wine (#6)
@ErLinErYi
Hello. I checked your game.
This is great! I want to help you with the translation. I don't know Chinese at all, but I know a little English, and my native language is Russian
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@ErLinErYi Hello. But where is the attachment?

@ErLinErYi Hello. But where is the attachment?

I sent it by email. You can try checking it in your email.
---Original---
From: "Marat<EMAIL_ADDRESS>Date: Wed, Jan 27, 2021 23:16 PM
To<EMAIL_ADDRESS>Cc: "LZ"<2117610943<EMAIL_ADDRESS>Subject: Re: [ErLinErYi/PlantsVsZombies] [Linux] app doesn't work on Wine (#6)
@ErLinErYi Hello. But where is the attachment?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I sent it by email. You can try checking it in your email.
---Original---
From: "Marat<EMAIL_ADDRESS>Date: Wed, Jan 27, 2021 23:16 PM
To<EMAIL_ADDRESS>Cc: "LZ"<2117610943<EMAIL_ADDRESS>Subject: Re: [ErLinErYi/PlantsVsZombies] [Linux] app doesn't work on Wine (#6)
@ErLinErYi Hello. But where is the attachment?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@ErLinErYi I coudn't see it.

@ErLinErYi I coudn't see it.

Well, it may not have been sent successfully. I'll send it to you again tomorrow.
---Original---
From: "Marat<EMAIL_ADDRESS>Date: Wed, Jan 27, 2021 23:46 PM
To<EMAIL_ADDRESS>Cc: "LZ"<2117610943<EMAIL_ADDRESS>Subject: Re: [ErLinErYi/PlantsVsZombies] [Linux] app doesn't work on Wine (#6)
@ErLinErYi I coudn't see it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Well, it may not have been sent successfully. I'll send it to you again tomorrow.
---Original---
From: "Marat<EMAIL_ADDRESS>Date: Wed, Jan 27, 2021 23:46 PM
To<EMAIL_ADDRESS>Cc: "LZ"<2117610943<EMAIL_ADDRESS>Subject: Re: [ErLinErYi/PlantsVsZombies] [Linux] app doesn't work on Wine (#6)
@ErLinErYi I coudn't see it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

You can see that "Languagejson.rar " file?
------------------ 原始邮件 ------------------
发件人:                                                                                "ErLinErYi/PlantsVsZombies"<EMAIL_ADDRESS>发送时间: 2021年1月27日(星期三) 晚上11:46
收件人<EMAIL_ADDRESS>抄送: "尔灵尔亿"<2117610943<EMAIL_ADDRESS>主题: Re: [ErLinErYi/PlantsVsZombies] [Linux] app doesn't work on Wine (#6)
@ErLinErYi I coudn't see it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
从QQ邮箱发来的超大附件
Language json.rar (14.8K, 无限期)进入下载页面：http://mail.qq.com/cgi-bin/ftnExs_download?k=23353536a6f4c6cbda180d4842300b1b0603050f07550952480d00055d1d0d000350185751515b1955065703525309520105020564213978045b524305575c140f465a584a4258466508&t=exs_ftn_download&code=e556d094

You can see that "Languagejson.rar " file?
------------------ 原始邮件 ------------------
发件人:                                                                                "ErLinErYi/PlantsVsZombies"<EMAIL_ADDRESS>发送时间: 2021年1月27日(星期三) 晚上11:46
收件人<EMAIL_ADDRESS>抄送: "尔灵尔亿"<2117610943<EMAIL_ADDRESS>主题: Re: [ErLinErYi/PlantsVsZombies] [Linux] app doesn't work on Wine (#6)
@ErLinErYi I coudn't see it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
从QQ邮箱发来的超大附件
Language json.rar (14.8K, 无限期)进入下载页面：http://mail.qq.com/cgi-bin/ftnExs_download?k=23353536a6f4c6cbda180d4842300b1b0603050f07550952480d00055d1d0d000350185751515b1955065703525309520105020564213978045b524305575c140f465a584a4258466508&t=exs_ftn_download&code=e556d094

@ErLinErYi Yes, I can see. So I would like suggest changing default language to English, 'cause understanding Chineese so complicated if you don't know this language.

@ErLinErYi Yes, I can see. So I would like suggest changing default language to English, 'cause understanding Chineese so complicated if you don't know this language.

Thank you for your advice。
------------------ 原始邮件 ------------------
发件人:                                                                                "ErLinErYi/PlantsVsZombies"<EMAIL_ADDRESS>发送时间: 2021年1月28日(星期四) 下午2:26
收件人<EMAIL_ADDRESS>抄送: "尔灵尔亿"<2117610943<EMAIL_ADDRESS>主题: Re: [ErLinErYi/PlantsVsZombies] [Linux] app doesn't work on Wine (#6)
@ErLinErYi Yes, I can see. So I would like suggest changing default language to English, 'cause understanding Chineese so complicated if you don't know this language.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thank you for your advice。
------------------ 原始邮件 ------------------
发件人:                                                                                "ErLinErYi/PlantsVsZombies"<EMAIL_ADDRESS>发送时间: 2021年1月28日(星期四) 下午2:26
收件人<EMAIL_ADDRESS>抄送: "尔灵尔亿"<2117610943<EMAIL_ADDRESS>主题: Re: [ErLinErYi/PlantsVsZombies] [Linux] app doesn't work on Wine (#6)
@ErLinErYi Yes, I can see. So I would like suggest changing default language to English, 'cause understanding Chineese so complicated if you don't know this language.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@ErLinErYi I'm finishing translation. So I'm awaiting new release.

@ErLinErYi I'm finishing translation. So I'm awaiting new release.

Well, the new version will take a while. I can let you know when it's released.
---Original---
From: "Marat<EMAIL_ADDRESS>Date: Thu, Jan 28, 2021 20:20 PM
To<EMAIL_ADDRESS>Cc: "LZ"<2117610943<EMAIL_ADDRESS>Subject: Re: [ErLinErYi/PlantsVsZombies] [Linux] app doesn't work on Wine (#6)
@ErLinErYi I'm finishing translation. So I'm awaiting new release.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Well, the new version will take a while. I can let you know when it's released.
---Original---
From: "Marat<EMAIL_ADDRESS>Date: Thu, Jan 28, 2021 20:20 PM
To<EMAIL_ADDRESS>Cc: "LZ"<2117610943<EMAIL_ADDRESS>Subject: Re: [ErLinErYi/PlantsVsZombies] [Linux] app doesn't work on Wine (#6)
@ErLinErYi I'm finishing translation. So I'm awaiting new release.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@ErLinErYi Okey. I intend to send PR with readme on russian.

@ErLinErYi Okey. I intend to send PR with readme on russian.


undefined reference to `cv::Mat::~Mat()'

Operating system : Windows 10
The way you installed OpenCV: https://github.com/opencv/opencv/releases/download/4.6.0/opencv-4.6.0-vc14_vc15.exe
OpenCV version : 4.6.0
rustc version : rustc 1.64.0
Attach the full output of the following command from your project directory:
build.txt
My Cargo.toml :
[package]
name = "opencv-demo"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
opencv = { version = "0.68.0" }

My main.rs :
use opencv::{highgui, prelude::*, videoio, Result};

fn main() -> Result<()> {
    let window = "video capture";
    highgui::named_window(window, highgui::WINDOW_AUTOSIZE)?;
    opencv::opencv_branch_32! {
        let mut cam = videoio::VideoCapture::new_default(0)?; // 0 is the default camera
    }
    opencv::not_opencv_branch_32! {
        let mut cam = videoio::VideoCapture::new(0, videoio::CAP_ANY)?; // 0 is the default camera
    }
    let opened = videoio::VideoCapture::is_opened(&cam)?;
    if !opened {
        panic!("Unable to open default camera!");
    }
    loop {
        let mut frame = Mat::default();
        cam.read(&mut frame)?;
        if frame.size()?.width > 0 {
            highgui::imshow(window, &mut frame)?;
        }
        let key = highgui::wait_key(10)?;
        if key > 0 && key != 255 {
            break;
        }
    }
    Ok(())
}

running cargo build -vv after cargo clean
build.txt

I don't see anything obviously out of ordinary. By the sheer amount of linking issues it looks like the opencv_world460.lib is not getting linked at all. You might try building with Visual Studio C++ instead of Mingw, I haven't tested the mingw toolchain at all.

Thanks! There may be a problem with my opencv installation, lets close the issue and when I have time i will reinstall opencv.


Dpl 543 runs page bug

Mapping value field in custom component
Fall through attribute binding
Added unit test cases

All seems good to me. Might be worth adding back in some comments about what kind of attributes can be passed along with a bit about how it works?

Sure, will do

All seems good to me. Might be worth adding back in some comments about what kind of attributes can be passed along with a bit about how it works?

@stevieing  Comments added

@stevieing @BenTopping  I think I have made the changes you suggested

Documentation added
test case update
removed id field prop as it will mapped as part of $attrs


Issue with the Web Scraper

我对尝试这个项目很感兴趣。然而，我注意到刮纸器似乎出现了故障。

Yes, GitHub changed the structure of the repository pages, so this version does not work anymore. I'll update to a new version soon!


Fix redirect after admin updates another user's name

Trello: https://trello.com/c/DjdHEqxG
This was a mistake in #2497.
When the update completes successfully, the admin should be taken back to the "edit user" page for the user in question.
Previously they were redirected to the non-existent path for a non-existent UsersController#show action which was somehow (🤷) being handled by UsersController#edit as I intended!

I suspect it's this redirect in the routes that was making it work.

Ah, yes - I'd completely missed that! Thanks.


iframe grows to infinity in IE

Hi
I have unusual problem...i have in iframe CrushFTP web interface (http://www.crushftp.com/)
when i click on "Advanced upload"(uses java) the height of iframe in IE(tested in v11) grows and it does not stop. This is not the case in Firefox.
i run resizer with:

$('#iframe1').iFrameResize( {
log:true,
checkOrigin:false,
heightCalculationMethod: (navigator.userAgent.indexOf("MSIE") !== -1) ? 'max' : 'lowestElement'
});

Please find (only part of) console output -> ifrs.txt for troubleshooting
Any idea what is wrong?
Thank you for your time and help.

This is normally a CSS issue. Do you have an element that in IE is alway a few px more than the height of the page?

No. At least i dont think so. Page stays as it is.
Because when i open CrushFTP webinterface without iframe and do the same operation, everything is ok, it does not grow in height. Is there a way to see in console which element(name, id...) is causing this?
[iFrameSizer][iframe1] Trigger event: mutationObserver: [object HTMLDivElement] attributes

probably HTMLDivElement ?

But when you open it without an iFrame you don't have some JS constantly checking the size of the page and trying to keep the window the same size. Trust me I'm 99% sure it is a CSS problem.

hmmm, you are probably right. Andy idea how to fix this or steps i should take?

Have a look at the page outside the iFrame with the browser debug tool and look to see if you can spot the problem element.


feat: Adds global checks

This PR includes:

global checks for Apache v2 License headers
global checks for unit tests

Signed-off-by: Andrii Soluk<EMAIL_ADDRESS>

@m00sey sorry, I am still working on it. Moved to draft.


Translate page to EN and JP

Change the name of the line to Japanese

Finishing translating JP version.
Only train status in EN left


Crash in DayZDiag_x64.exe when registering class function

Console Output:
HookInit: Successfully hooked InitModules @ 00007FF660C36890
HookInit: Successfully hooked CanAccessFile @ 00007FF660CC43D0
HookInit: Successfully hooked IsValidForMode @ 00007FF660C4A660
InitModules: Initializing modules...
Loading plugins from: D:\SteamLibrary\steamapps\common\DayZ\Plugins\
        Found Plugin: ExamplePlugin
[Plugin]        Plugin Load!
[Plugin] RegisterFunction: Registering plugin function TestPluginFunc @ 00007FFC083110B0...
[Plugin] RegisterObject: Registering plugin object ExampleTestClass
[Plugin] RegisterFunction: Registering plugin function Create @ 00007FFC08311010...

Recommend not using Class and Class Function operations. Will need to take a closer look at them.

Recommend not using Class and Class Function operations. Will need to take a closer look at them.


add command to seed random number generator

Implemented in 483d2cc..e1676b8:

Use debugger command E<addr> to store seed.


Suggest NetDialTimeout be part of Dialer NOT Global

For systems like Google's app engine (standard), out going sockets need a context (per incoming http connection). see: https://godoc.org/google.golang.org/appengine/socket
This makes it really hard when the netDialout command is global, since simultaneous requests are coming in.  It's much more practical than before though.

Hi, any movement on this? Thanks.


[ASK] Implementation on NextJS 12

Hi,
Thanks for your effort on building this amazing lib!
I wanted to ask about the following issue in the repo.
I have implemented Dexie using Next 12 smoothly, and I would like to add encrypt/decrypt capability using this lib, and it works amazingly.  However, when I tried to reload the page, unfortunately an error occurred. The error said that "Could not decrypt message". I have already checked the secret key used, and I see that the key is consistent.
Would appreciate any insights or guidance on this matter. Thank you!
DexieDB.ts

list-sls.tsx

getserversideprops on list-sls.tsx

Error

Judging by your code some things that could have happened:

in list-sls.tsx props.secretKey is undefined when constructing the DB;
can't tell if you the database is constructed after getserversideprops() in list-sls.tsx. Could be a race condition on reload or reload on a different page; Passing no key or an undefined key gives no error but creates a new key. I probably fix this in a later release to error when no key is provided.
while developing, multiple keys have been used to store data with Dexie encrypted. This will not give errors because we are not storing your keys anywhere for obvious reasons. Reading data created with a different key than the creation key, will give this error. Databases must be deleted after the secret key has changed or you'll get this error and make the database useless (as intended!).

So delete the DB first and than make sure the same key is always used.
If you still have problems please let me know and, if possible provide, minimum reproduction of the issue.


Unable to install WP-CLI packages

I tried installing https://github.com/trepmal/wp-revisions-cli
ee wp rtcamp.li.rtdemo.in package install trepmal/wp-revisions-cli

Got error
<EMAIL_ADDRESS>~
╰─➤  ee4 wp rtcamp.li.rtdemo.in package install trepmal/wp-revisions-cli                                                             127 ↵
Error: Composer directory '/var/www/.wp-cli/packages' for packages couldn't be created: mkdir(): Permission denied

The wordpress image used by ee4 is being built using this Dockerfile
This issue can be solved by updating the permissions of the /var/www directory.


Interpolate variables on up command

Signed-off-by: Ryan Malesic<EMAIL_ADDRESS>
What I did
Interpolate variables on up command.
I am not certain if there was a specific reason not to interpolate variables on the up command, but this change makes it work.
Related issue

Fixes #202
(not mandatory) A picture of a cute animal, if possible in relation with what you did

Seems this was just by mistake
https://github.com/docker/ecs-plugin/pull/171/files#diff-142cec46f3742edd249a68395c8704beR22 should avoid this to happen in the future and enforce all commands get variable interpolation set from env

fixed by #171


Migrate type inference to Java

See https://github.com/CategoricalData/hydra/blob/main/hydra-haskell/src/main/haskell/Hydra/Inference.hs and its dependencies

Low priority. Type inference is currently only needed for Haskell, Java, and Scala targets, i.e. for programming languages. The main targets for Java at this time are data and schema languages.


A version to my tools

Hi,
I want put a modified copy to my site https://devxz.com/
There is any problems?

No problem


Tooltip only show for first element

reactstrap version 6.4
react verison 16.4.2
bootstrap 4
In cases where there are elements with the same ID created through a loop or rendered from reusable components, the tooltip only show for the first element with the ID.
I try to fix it myself but I lack the knowledge of reading other people's code. The issue, I suspect lies here
function getTarget(target) {
  var els = findDOMElements(target);
  if (isArrayOrNodeList(els)) {
    return els[0];
  }
  return els;
}

It's always returning the first element of the list, even when there are more than one elements. In the original bootstrap 4, it initializes tooltip for any elements with the attribute data-toggle (from the example), thus allowing same tooltip to show on different same elements. Consider using a loop to loop through NodeList and apply the addEventListener.

bootstrap works different and perhaps we should look into working more similar to how bootstrap does for this.
bootstrap has the reference to the tooltip on the trigger, allowing multiple triggers trigger the same tooltip.
reactstrap has a reference to the trigger on the tooltip. This allows multiple tooltips to be triggered by the same trigger.

HI there,
nobody interested in fixing this?
Is there a reasonable approach, that reaches the same goal?
Cheers

Definitely need a fix for this

I have fixed this, demo with the fix is here - https://stackblitz.com/edit/react-k8rkzv


Add query parameter to websocket connection

To be able to configure a query parameter on the puppet websocket connection, eg an API token, I have made the following changes.
I am currently using it in a proof of concept project but @tomalec mentioned it might be of value in the original project as well.

Thanks @kasper-f ! :)
LGTM,
@alshakero, Do you have any comments?
I think we can add it to 3.0.0 batch.

@tomalec the idea is great but the implimentation is regressive for our plans. Because it depends even more on URL Web API and this will add extra work to our upcoming Nodifying process.
Would it be cool if I implemented it again without that, so we release it with 3.0.0?

For me this looks smelly. We are baking URI structure into Palindrom. Wouldn't it be better to provide full remoteUrl, reconnectUrl from the outside?

@warpech I was thinking something close to that, I don't know I felt like this could lead to some potential XSS stuff. However, I'm not sure. But passing both URLs is better IMO. I'm always for less magic.

Sorry to say, but this PR will not be accepted.
As of version 3.0.5, Palindrom requires a remoteUrl configuration option which is the full URL to both HTTP and WebSocket endpoint. It assumes that these two protocols are provided at the same URL.
@kasper-f if this is not suitable for you, perhaps we can consider a remoteWebSocketUpgradeUrl property, where you will be able to provide the custom port number.


The component id is messed up when use with react-loadable at server-side rendering.

At first: we have 3 async components which would be loaded by react-loadable, we call it as c1, c2, c3. at server-side, react-loadable load all the components in order, but we only used 2 of them(c1, c3) at initial render, which means the c2is loaded afterc3`, and then, the component id is messed up!
Example code:

c1, c2, c3:
// SCAndRL.m1.tsx
import * as React from 'react';
import { PureComponent } from 'react';
import styled from 'styled-components';

const M1Root = styled.div`
  content: 'm1';
`;

export class SCAndRLM1 extends PureComponent {
  render() {
    return <M1Root>Content from m1.</M1Root>;
  }
}

export default SCAndRLM1;

console.log('m1 loaded');

// SCAndRL.m2.tsx
import * as React from 'react';
import { PureComponent } from 'react';
import styled from 'styled-components';

const M2Root = styled.div`
  content: 'm2';
`;

export class SCAndRLM2 extends PureComponent {
  render() {
    return <M2Root>Content from m2.</M2Root>;
  }
}

export default SCAndRLM2;

console.log('m2 loaded');

// SCAndRL.m3.tsx
import * as React from 'react';
import { PureComponent } from 'react';
import styled from 'styled-components';

const M3Root = styled.div`
  content: 'M3';
`;

export class SCAndRLM3 extends PureComponent {
  render() {
    return <M3Root>Content from M3.</M3Root>;
  }
}

export default SCAndRLM3;

console.log('M3 loaded');

entry component:
import * as React from 'react';
import { PureComponent } from 'react';
import Loadable from 'react-loadable';

const SCAndRLM1 = Loadable({
  loader: async () => import(/* webpackChunkName: 'm1' */ './SCAndRL.m1'),
  modules: [require.resolveWeak('./SCAndRL.m1')] as string[],
  webpack: () => [require.resolveWeak('./SCAndRL.m1')] as string[],
  loading: () => null,
});

const SCAndRLM2 = Loadable({
  loader: () => import(/* webpackChunkName: 'm2' */ './SCAndRL.m2'),
  modules: [require.resolveWeak('./SCAndRL.m2')] as string[],
  webpack: () => [require.resolveWeak('./SCAndRL.m2')] as string[],
  loading: () => null,
});

const SCAndRLM3 = Loadable({
  loader: () => import(/* webpackChunkName: 'm3' */ './SCAndRL.m3'),
  modules: [require.resolveWeak('./SCAndRL.m3')] as string[],
  webpack: () => [require.resolveWeak('./SCAndRL.m3')] as string[],
  loading: () => null,
});

export class SCAndRLEntry extends PureComponent {
  state = { isLoaded: false };

  render() {
    return (
      <div>
        <SCAndRLM1 />
        {this.state.isLoaded && <SCAndRLM2 />}
        <SCAndRLM3 />
      </div>
    );
  }
}

server side code:
(req, res) => {
  const modules = new Set<string>();
  req.data.content = renderToString(
    <Loadable.Capture report={(module) => {
      console.log('report module', module);
      modules.add(module)
    }}>
      {withRouter(req, SCAndRLEntry)}
    </Loadable.Capture>,
  );
  resolveLoadableResource(req, modules);
  res.end(req.render());
}

We called await Loadable.preloadAll() before listen in server side and await Loadable.preloadReady() before hydrate in client side. Just as you would expect, server side logs
M3 loaded
m2 loaded
m1 loaded

in order, and client side logs:
M3 loaded
M1 loaded

And then, the class name of M3Root becomes the class name of M2Root, react throws the warning:
Warning: Prop `className` did not match. Server: "sc-EHOje fGYMwV" Client: "sc-ifAKCX ciyLiT"

I see what the problem is.

Would be nice knowing what you saw mate. Just so people who also got this problem can see too ;-)

@KevinOl You need to use babel-plugin-styled-components or typescript-plugin-styled-components or typescript-styled-components-plugin to generate static componentId to avoid mangle id.


Update Beyond Compare.app to <IP_ADDRESS>20 and add zap stanza

sorry about that, got some bogus /'s in my editor somehow.  Thanks for the catch.

Looks good, now. Thank you. Only thing left is squashing?

sorry forgot to squash ... should be good now.

Thanks. Merged as 86de52b, with the following changes:

cleaned up commit message;
trimmed trailing whitespace.


ERROR: [Code: 500] Error fetching models

Error Screenshot:

My environment variables screenshot:

Logs:

I am using this Docker Image provided on GitHub Docs [Deployment with npm is giving too much errors in the cloud & I prefer docker always]

same issue but using the .env.local file and npm (no docker)

Check out https://github.com/mckaywrigley/chatbot-ui/pull/1008 for some possible resolutions. I was able to get a fork of the legacy branch at mckaywrigley working but it took a fair bit of wonky hacking.


add option for 24-hour time display

request to add option for 24-hour time display

here 1:00 PM would be displayed as 13:00 in 24 hour mode

This is kinda obscure, but change language to English (British)


Windows support

Some users are trying to run schema guru on Windows. Could we explore possibilities here?

To be clear - it should work already on Windows; at a minimum we should improve the documentation for Windows users, potentially we could make the file executable on Windows too?

Hey @ihortom! What exactly users want from Schema Guru? May they need igluctl?

Because almost everything from Schema Guru can be used in Web UI, except ddl command, which now is in igluctl.

Yeah, that is absolutely possible with just java -jar schema-guru-0.6.2. I'll document it on Schema Guru and Igluctl.


Added folder for standard DP problems

If you appreciate my work, please 🌟 this repository. It motivates me. 🚀


which tools could be used to create facial landmark datasets like these?

Point annotation? Try this one: https://www.menpo.org/


CI failure：when run a nightly e2e after create a tag, and no new pr merge to main branch, the E2E will fail.

when run a nightly e2e after create a tag, and no new pr merge to main branch, the E2E will fail.
debug:result
the method in nightly workflow yaml to get a helm version is not fit when run nightly e2e after create a tag.
need fix it

https://github.com/kubean-io/kubean/pull/466 fix it

/kind bug


added rollupify

use rollupify in gulp scripts
use rollupify in karma
updated cid service to test it out

NOTE: As we migrate modules to the es6 module syntax, make sure to do modules with the fewest dependencies first.

:+1: from byron


live server issue

How can I open liverServer.settings.port
Whenever i go live on a particular HTML file it goes to some directory that i don't know.

Sorry, I don't get that... Can you explain further more?

New Address #37


[PUI] Add pagination controls

This PR adds local (per table) pagination controls to PUI.
Closes https://github.com/invenhost/InvenTree/issues/100

Nice work, this is a great addition!


Bug: Unable to reliably trigger tilt

Describe The Bug
Had to clock "close" three times before the blinds started
To Reproduce
Click blind to close on iOS, did not work first two times
Expected behavior
Blinds should start to close.

            },
            "options": {
                "devices": [
                    {
                        "deviceId": "CC593EB66B3F",
                        "configDeviceName": "Blind1",
                        "configDeviceType": "Blind Tilt",
                        "connectionType": "OpenAPI",
                        "blindTilt": {
                            "mode": "only_down"
                        }
                    },
                    {
                        "deviceId": "D92A6CC6E12F",
                        "configDeviceName": "Blind2",
                        "configDeviceType": "Blind Tilt",
                        "connectionType": "OpenAPI",
                        "blindTilt": {
                            "mode": "only_down"
                        }
                    },
                    {
                        "deviceId": "E7390406D8FC",
                        "configDeviceName": "Blind3",
                        "configDeviceType": "Blind Tilt",
                        "connectionType": "OpenAPI",
                        "blindTilt": {
                            "mode": "only_down"
                        }
                    },
                    {
                        "deviceId": "F4CE05D89EFB",
                        "configDeviceName": "Blind4",
                        "configDeviceType": "Blind Tilt",
                        "connectionType": "OpenAPI",
                        "blindTilt": {
                            "mode": "only_down"
                        }
                    }
                ],
                "pushRate": 1,
                "logging": "debug"
            },
            "_bridge": {
                "username": "0E:0E:DC:F1:BE:AA",
                "port": 50726
            },
            "platform": "SwitchBot"
        }

Screenshots
Link to video showing the issue:
https://vimeo.com/809939417
Device & Model
Swithchbot Tilt
Node.js Version
v18.15.0
NPM Version
Unknown
Homebridge Version
v1.6.0
Homebridge Switchbot Plugin Version
v2.5.3-beta.15
Homebridge Config UI X Plugin Version
v4.50.2
Operating System
Ubuntu Ubuntu Jammy Jellyfish (22.04.1 LTS)

please try v2.6.0


Storage: Unhandled ETIMEDOUT

Hi,
I've been using the storage module exclusively with read/write stream interfaces on files. The issue is, the app occasionally has an unhandled error like this:
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: connect ETIMEDOUT <IP_ADDRESS>:443
    at Object.exports._errnoException (util.js:856:11)
    at exports._exceptionWithHostPort (util.js:879:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1063:14)

I'm absolutely certain that there are no missing callbacks on any calls and all stream instances have proper error handlers attached. Some of these timeout errors are being catched by error handlers and does not crash the process.
However, I can not find the source for the unhandled ones within our app. There are only 3 calls to stream creator functions and all of them has proper error handling.
Any ideas?

Can you narrow it down to a reproducible test case by any chance?

I've been trying to find a way to reproduce it but I believe it depends on intermittent network issues and that's hard to debug.
Since all my trials came up empty I just created test instances where one has resumable: false on writables. One uses bucket.upload rather than creating streams and one uses https://github.com/juliangruber/multipipe since I got paranoid if I was doing something wrong myself. Gonna see if any / all of these report errors.

Looking forward to hearing what you come up with. I've tried to reproduce without success yet. Any code you can share that has lit up your terminal in the past will be helpful. I manipulated the write stream code to simulate a timeout error, and was able to see it throw without my handler, but I was able to catch it when I assigned one.

Hi! Thanks for looking into it. I wanted to give it some time to make sure but none of my tries resulted in any improvement (and I did try a lot of stuff). This is the latest log:
Error: read ECONNRESET
    at exports._errnoException (util.js:856:11)
    at TLSWrap.onread (net.js:544:26)
cluster: worker 20 died
Listening to port 3000
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: read ECONNRESET
    at exports._errnoException (util.js:856:11)
    at TLSWrap.onread (net.js:544:26)
cluster: worker 392 died
Listening to port 3000
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: connect ETIMEDOUT <IP_ADDRESS>:443
    at Object.exports._errnoException (util.js:856:11)
    at exports._exceptionWithHostPort (util.js:879:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1063:14)
cluster: worker 403 died
Listening to port 3000

Not sure about ECONNRESET stuff but I've pinned the issue on gcloud due to the storage server IP on ETIMEDOUT error.
Just to make sure, I have written a barebones storage api client (https://gist.github.com/eknkc/20d05610ad05fb18bb03) and planning to switch to this one for a while to see if it resolves the issues completely. Then I'm planning to introduce gcloud back to different parts of the app to find the origin of the issue. Now that I think of it, maybe I could use node domains to pinpoint it..
Anyway, gonna let you know when I know more.

Just a little more info:
Node 5.1.1
gcloud 0.25.1
This happens maybe once in a couple hundred requests. Tried brute forcing it but that did not result in reproducible errors.
Found some reports about keepalive agents causing unhandled econnreset errors on node 4+ but as far as I can tell, gcloud does not use a custom agent or forever: true option on request calls.

Thanks for all the details. So it's occurred from both read and write streams?
We recently set a lib-wide 60s timeout for all requests that hasn't been released yet. Also, I've made some changes to our request dispatcher as part of an upcoming PR: #989. Specifically, this file: https://github.com/stephenplusplus/gcloud-node/blob/spp--prediction/lib/common/util.js. Previously, we were passing write streams to retry-request, when they should have only been tried once. This changed some of the event handling on a global basis. Might be nothing, but given the scope of the change, thought it might be worth mentioning.
Sorry I'm not more helpful in this case. I haven't tried with 5.x yet, so I'll be trying more tomorrow.

As far as I can tell, read streams did also cause some timeouts but they were handled properly by our error middleware:
  URL: /media/get/id-8fd7109d-dc96-4e97-b3af-63a70c1cd224/raw/s-qLCLyY8oIDNIj9cT3kwPggNZpDO.gif
  Error: connect ETIMEDOUT <IP_ADDRESS>:443
      at Object.exports._errnoException (util.js:856:11)
      at exports._exceptionWithHostPort (util.js:879:20)
      at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1063:14)

This is completely fine as it would simply return http 500 to the request. It seems that the unhandled ones are coming from write streams. I'll check around the code base again and report you back about my findings. Thanks.

I'm seeing similar issues. I managed to create a simple reproducible case on createReadStream() using nock here: https://gist.github.com/drtriumph/6048bccb1afdc9f881e6

From running that script on Node 4.2.3, and then Node 0.12.9, the last time this gist worked as expected was v0.16.0 - something changed here in 0.17.0

Thanks for the gist, that was very helpful. Hopefully, I caught the bug here: https://github.com/stephenplusplus/retry-request/commit/fff8a73c6e816777709761a54f6b599c39eddba6
You can re-install gcloud to pick it up in your projects. Let me know if it works!

Awesome, that appears to have fixed the problem for me at least

@eknkc I'm going to close this issue, but please re-open if you're still having issues. Thanks for helping us catch this.

I might still be experiencing this issue: https://sentry.io/share/issue/39333433362e323036353431313931/

Rather, here it is: https://sentry.io/share/issue/39333433362e323036383731393039/


ROX-25948: Secured Clusters certificate refresher

Description

This PR adds Sensor-side handling for the gRPC endpoint implemented here:

https://github.com/stackrox/stackrox/pull/12740

It was preceded by several refactor PRs:

https://github.com/stackrox/stackrox/pull/12825
https://github.com/stackrox/stackrox/pull/13023
https://github.com/stackrox/stackrox/pull/13000
https://github.com/stackrox/stackrox/pull/13260

The new Sensor component (SecuredClusterTLSIssuer) checks for Secured Cluster TLS certificates at startup. If they’re missing or nearing expiration, it automatically requests new ones.
Additionally, it also schedules a certificate refresh when the certificates are at ~50%, so there is little risk that the certificates will become stale if Sensor never restarts in the last months of certificate validity.
The added components (the Secured Cluster TLS issuer and Certificate Requester) are based on their Local Scanner counterparts, with a few changes, common code extracted out, and tests adapted. Because these components are tightly coupled with their respective gRPC APIs, this was the easier way to do, but results in some similar code.  And the majority of certrefresh code is being reused anyway. It's also making it easier for the Secured Cluster cert refresh logic to diverge, if necessary.
This PR uses generics to remove the duplication mentioned above, at the expense of adding complexity to already quite complicated code. It's also worth mentioning that from 4.7 onwards, the Local Scanner certificate refresher will be provided only for backwards compatibility with older Centrals, and will eventually be deprecated.
❗Important notes ❗

Secured Clusters using (soon to be legacy) init bundle secrets will retrieve the new refreshed certificates on startup (i.e. in 4.7 we'll have an automatic transition to the new certificates)
the new TLS secrets have a new naming scheme, and they can co-exist with the older init bundle secrets (see here)
the new certificates are not yet used by the services. That will be done after this PR is merged, see ROX-26055. tl;dr: the services will have initContainers that will check which TLS secrets exist in the cluster, and mount the correct ones.

User-facing documentation

[ ] CHANGELOG is updated OR update is not needed
[ ] documentation PR is created and is linked above OR is not needed

Testing and quality

[ ] the change is production ready: the change is GA or otherwise the functionality is gated by a feature flag
[ ] CI results are inspected

Automated testing

[ ] added unit tests
[ ] added e2e tests
[ ] added regression tests
[ ] added compatibility tests
[x] modified existing tests

How I validated my change

With a local deployment, checked that the new set of Secured Cluster certificates are being created. I also tried running with a short refresh interval (20 seconds instead of 9 months) to check that they are being rotated.

/test ocp-4-17-nongroovy-e2e-tests


Fixed IRepository's limit parameter, name changed to limitVal

I had originally defined the limit method as limit(limit: number), when it should have been limit(limitVal: number).
I thought I had fixed this everywhere, but I forgot to fix this in the types.ts module. This PR addresses that.
This change should've been included in https://github.com/wovalle/fireorm/pull/19

Thanks! @jonesnc.
I won't merge right away because we haven't finished configuring semantic-release and I'm afraid it'll trigger a deploy.


Doesn't rename files in Obsidian v1.6.3

Niether auto-rename, nor manual rename work in Obsidian v1.6.3.

Misconfigured, my mistake. It works.


Tensorflow Yolo GPU Problem

Hello Everyone,
I am trying to use yolo but I am completely new at programming. I guess the error is about my GPU memory.
I hope you can help. Thank you!
Caner
(base) C:\Users\derin\Desktop\Dark\darkflow-master>python flow --model cfg/yolo.cfg --load bin/yolov2.weights --demo videofile.mp4 --gpu 1.0 --saveVideo
C:\Users\derin\Anaconda3\lib\site-packages\h5py_init_.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
WARNING:tensorflow:From C:\Users\derin\Anaconda3\lib\site-packages\tensorflow\contrib\learn\python\learn\datasets\base.py:198: retry (from tensorflow.contrib.learn.python.learn.datasets.base) is deprecated and will be removed in a future version.
Instructions for updating:
Use the retry module or similar alternatives.
C:\Users\derin\Desktop\Dark\darkflow-master\darkflow\dark\darknet.py:54: UserWarning: ./cfg/yolov2.cfg not found, use cfg/yolo.cfg instead
cfg_path, FLAGS.model))
Parsing cfg/yolo.cfg
Loading bin/yolov2.weights ...
Successfully identified 203934260 bytes
Finished in 0.01562643051147461s
Model has a coco model name, loading coco labels.
Building net ...
Source | Train? | Layer description                | Output size
-------+--------+----------------------------------+---------------
|        | input                            | (?, 608, 608, 3)
Load  |  Yep!  | conv 3x3p1_1  +bnorm  leaky      | (?, 608, 608, 32)
Load  |  Yep!  | maxp 2x2p0_2                     | (?, 304, 304, 32)
Load  |  Yep!  | conv 3x3p1_1  +bnorm  leaky      | (?, 304, 304, 64)
Load  |  Yep!  | maxp 2x2p0_2                     | (?, 152, 152, 64)
Load  |  Yep!  | conv 3x3p1_1  +bnorm  leaky      | (?, 152, 152, 128)
Load  |  Yep!  | conv 1x1p0_1  +bnorm  leaky      | (?, 152, 152, 64)
Load  |  Yep!  | conv 3x3p1_1  +bnorm  leaky      | (?, 152, 152, 128)
Load  |  Yep!  | maxp 2x2p0_2                     | (?, 76, 76, 128)
Load  |  Yep!  | conv 3x3p1_1  +bnorm  leaky      | (?, 76, 76, 256)
Load  |  Yep!  | conv 1x1p0_1  +bnorm  leaky      | (?, 76, 76, 128)
Load  |  Yep!  | conv 3x3p1_1  +bnorm  leaky      | (?, 76, 76, 256)
Load  |  Yep!  | maxp 2x2p0_2                     | (?, 38, 38, 256)
Load  |  Yep!  | conv 3x3p1_1  +bnorm  leaky      | (?, 38, 38, 512)
Load  |  Yep!  | conv 1x1p0_1  +bnorm  leaky      | (?, 38, 38, 256)
Load  |  Yep!  | conv 3x3p1_1  +bnorm  leaky      | (?, 38, 38, 512)
Load  |  Yep!  | conv 1x1p0_1  +bnorm  leaky      | (?, 38, 38, 256)
Load  |  Yep!  | conv 3x3p1_1  +bnorm  leaky      | (?, 38, 38, 512)
Load  |  Yep!  | maxp 2x2p0_2                     | (?, 19, 19, 512)
Load  |  Yep!  | conv 3x3p1_1  +bnorm  leaky      | (?, 19, 19, 1024)
Load  |  Yep!  | conv 1x1p0_1  +bnorm  leaky      | (?, 19, 19, 512)
Load  |  Yep!  | conv 3x3p1_1  +bnorm  leaky      | (?, 19, 19, 1024)
Load  |  Yep!  | conv 1x1p0_1  +bnorm  leaky      | (?, 19, 19, 512)
Load  |  Yep!  | conv 3x3p1_1  +bnorm  leaky      | (?, 19, 19, 1024)
Load  |  Yep!  | conv 3x3p1_1  +bnorm  leaky      | (?, 19, 19, 1024)
Load  |  Yep!  | conv 3x3p1_1  +bnorm  leaky      | (?, 19, 19, 1024)
Load  |  Yep!  | concat [16]                      | (?, 38, 38, 512)
Load  |  Yep!  | conv 1x1p0_1  +bnorm  leaky      | (?, 38, 38, 64)
Load  |  Yep!  | local flatten 2x2                | (?, 19, 19, 256)
Load  |  Yep!  | concat [27, 24]                  | (?, 19, 19, 1280)
Load  |  Yep!  | conv 3x3p1_1  +bnorm  leaky      | (?, 19, 19, 1024)
Load  |  Yep!  | conv 1x1p0_1    linear           | (?, 19, 19, 425)
-------+--------+----------------------------------+---------------
GPU mode with 1.0 usage
2018-04-18 17:50:15.493755: I T:\src\github\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2018-04-18 17:50:15.737244: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1344] Found device 0 with properties:
name: Quadro P4000 major: 6 minor: 1 memoryClockRate(GHz): 1.2275
pciBusID: 0000:01:00.0
totalMemory: 8.00GiB freeMemory: 6.63GiB
2018-04-18 17:50:15.742500: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1423] Adding visible gpu devices: 0
2018-04-18 17:50:16.281176: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:911] Device interconnect StreamExecutor with strength 1 edge matrix:
2018-04-18 17:50:16.283690: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:917]      0
2018-04-18 17:50:16.285372: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:930] 0:   N
2018-04-18 17:50:16.287289: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1041] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 8192 MB memory) -> physical GPU (device: 0, name: Quadro P4000, pci bus id: 0000:01:00.0, compute capability: 6.1)
2018-04-18 17:50:16.292054: E T:\src\github\tensorflow\tensorflow\stream_executor\cuda\cuda_driver.cc:936] failed to allocate 8.00G<PHONE_NUMBER> bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
2018-04-18 17:50:16.294366: E T:\src\github\tensorflow\tensorflow\stream_executor\cuda\cuda_driver.cc:936] failed to allocate 7.20G<PHONE_NUMBER> bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
Finished in 12.376373767852783s
Press [ESC] to quit demo
2018-04-18 17:50:22.102653: E T:\src\github\tensorflow\tensorflow\stream_executor\cuda\cuda_dnn.cc:403] could not create cudnn handle: CUDNN_STATUS_NOT_INITIALIZED
2018-04-18 17:50:22.105704: E T:\src\github\tensorflow\tensorflow\stream_executor\cuda\cuda_dnn.cc:407] error retrieving driver version: Unimplemented: kernel reported driver version not implemented on Windows
2018-04-18 17:50:22.108692: E T:\src\github\tensorflow\tensorflow\stream_executor\cuda\cuda_dnn.cc:370] could not destroy cudnn handle: CUDNN_STATUS_BAD_PARAM
2018-04-18 17:50:22.110948: F T:\src\github\tensorflow\tensorflow\core\kernels\conv_ops.cc:712] Check failed: stream->parent()->GetConvolveAlgorithms( conv_parameters.ShouldIncludeWinogradNonfusedAlgo(), &algorithms)

I can't replicate the problem without more detail, but you have 2 potential problems here:
\cuda\cuda_driver.cc:936] failed to allocate 7.20G<PHONE_NUMBER> bytes) from device: CUDA_ERROR_OUT_OF_MEMORY

Your attempting to load too much into GPU memory (i.e. either the yolov2.weights or the videofile.mp4.  You have freeMemory: 6.63GiB, but are trying to load 7.2G.
could not create cudnn handle: CUDNN_STATUS_NOT_INITIALIZED

You may want to check that you have a version of cuDNN installed that is compatible with your CUDA version.

Hi,
Have you tried to use less memory during training constraining your GPU to work with less memory ?
Just pass:
#Memory constrain
gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=0.5)
cfg_ = tf.ConfigProto(gpu_options=gpu_options)

#... later, pass this into your session
tf.Session(config=cfg_)

Let me know if it worked.

Nagging Assignee @tatatodd: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatatodd: It has been 31 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatatodd: It has been 46 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatatodd: It has been 61 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatatodd: It has been 76 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatatodd: It has been 91 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatatodd: It has been 106 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatatodd: It has been 121 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatatodd: It has been 136 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatatodd: It has been 151 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@ccelik13 Hi, have you tried the workaround suggested by @cyberwillis  ?
Does this issue still exist ?

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

I'm getting this on a rtx 2080 super, cuda 10.1, driver 435, cudnn 7.6.5  trying to run https://github.com/theAIGuysCode/Object-Detection-API.
Getting this error
'
failed to allocate 3.97G<PHONE_NUMBER> bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory
'
The GPU has 8gb? Any ideas


Added IpBindAddressNoPort sockopt

From man page:
IP_BIND_ADDRESS_NO_PORT (since Linux 4.2)
       Inform the kernel to not reserve an ephemeral port when
       using bind(2) with a port number of 0.  The port will
       later be automatically chosen at connect(2) time, in a way
       that allows sharing a source port as long as the 4-tuple
       is unique.

What does this PR do
Checklist:

[x] I have read CONTRIBUTING.md
[x] I have written necessary tests and rustdoc comments
[x] A change log has been added if this PR modifies nix's API

You should enable this for Android, too.

ah, didn't realize that linux doesn't include android. Fixed!


Can't build with basel Python Configuration Error: --define PYTHON_BIN_PATH

Can't get what im doing wrong.
Win7 python 3.6, tensorflow from master, cuda 9.0, cudnn 7.0.5 for cuda 9.0, basel and swig loaded today
https://github.com/tensorflow/tensorflow/issues/12052

C:\Users\Andrey\Desktop\tensorflow>bazel clean
...........
INFO: Starting clean (this may take a while). Consider using --async if the clea
n takes more than several minutes.
C:\Users\Andrey\Desktop\tensorflow>python configure.py
WARNING: Running Bazel server needs to be killed, because the startup options ar
e different.
You have bazel 0.8.1 installed.
Please specify the location of python. [Default is C:\Users\Andrey\Anaconda3\pyt
hon.exe]:
Found possible Python library paths:
C:\Users\Andrey\Anaconda3\lib\site-packages
Please input the desired Python library path to use.  Default is [C:\Users\Andre
y\Anaconda3\lib\site-packages]
Do you wish to build TensorFlow with XLA JIT support? [y/N]: y
XLA JIT support will be enabled for TensorFlow.
Do you wish to build TensorFlow with GDR support? [y/N]: y
GDR support will be enabled for TensorFlow.
Do you wish to build TensorFlow with VERBS support? [y/N]: y
VERBS support will be enabled for TensorFlow.
Do you wish to build TensorFlow with CUDA support? [y/N]: y
CUDA support will be enabled for TensorFlow.
Please specify the CUDA SDK version you want to use, e.g. 7.0. [Leave empty to d
efault to CUDA 9.0]:
Please specify the location where CUDA 9.0 toolkit is installed. Refer to README
.md for more details. [Default is C:/Program Files/NVIDIA GPU Computing Toolkit/
CUDA/v9.0]:
Please specify the cuDNN version you want to use. [Leave empty to default to cuD
NN 7.0]:
Please specify the location where cuDNN 7 library is installed. Refer to README.
md for more details. [Default is C:/Program Files/NVIDIA GPU Computing Toolkit/C
UDA/v9.0]:
Please specify a list of comma-separated Cuda compute capabilities you want to b
uild with.
You can find the compute capability of your device at: https://developer.nvidia.
com/cuda-gpus.
Please note that each additional compute capability significantly increases your
build time and binary size. [Default is: 3.5,5.2]
Do you wish to build TensorFlow with MPI support? [y/N]: n
No MPI support will be enabled for TensorFlow.
Please specify optimization flags to use during compilation when bazel option "-
-config=opt" is specified [Default is -march=native]:
Add "--config=mkl" to your bazel command to build with MKL support.
Please note that MKL on MacOS or windows is still not supported.
If you would like to use a local MKL instead of downloading, please set the envi
ronment variable "TF_MKL_ROOT" every time before build.
Would you like to interactively configure ./WORKSPACE for Android builds? [y/N]:
n
Not configuring the WORKSPACE for Android builds.
C:\Users\Andrey\Desktop\tensorflow>bazel build --config=opt --config=win-cuda //
tensorflow/tools/pip_package:build_pip_package
...........
Loading:
Loading: 0 packages loaded
Analyzing: target //tensorflow/tools/pip_package:build_pip_package (3 packages l
oaded)
Analyzing: target //tensorflow/tools/pip_package:build_pip_package (24 packages
loaded)
Analyzing: target //tensorflow/tools/pip_package:build_pip_package (34 packages
loaded)
Analyzing: target //tensorflow/tools/pip_package:build_pip_package (72 packages
loaded)
ERROR: C:/users/andrey/desktop/tensorflow/third_party/py/numpy/BUILD:11:1: no su
ch package '@local_config_python//': Traceback (most recent call last):
File "C:/users/andrey/desktop/tensorflow/third_party/py/python_configure
.bzl", line 291
_create_local_python_repository(repository_ctx)
File "C:/users/andrey/desktop/tensorflow/third_party/py/python_configure
.bzl", line 251, in _create_local_python_repository
_check_python_bin(repository_ctx, python_bin)
File "C:/users/andrey/desktop/tensorflow/third_party/py/python_configure
.bzl", line 204, in _check_python_bin
_fail(("--define %s='%s' is not execut...)))
File "C:/users/andrey/desktop/tensorflow/third_party/py/python_configure
.bzl", line 27, in _fail
fail(("%sPython Configuration Error:%...)))
Python Configuration Error: --define PYTHON_BIN_PATH='C:/Users/Andrey/Anaconda3/
python.exe' is not executable. Is it the python binary?
and referenced by '//third_party/py/numpy:headers'
Analyzing: target //tensorflow/tools/pip_package:build_pip_package (72 packages
loaded)
ERROR: Analysis of target '//tensorflow/tools/pip_package:build_pip_package' fai
led; build aborted: Loading failed
INFO: Elapsed time: 6,710s
FAILED: Build did NOT complete successfully (72 packages loaded)

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

I filled.

If i remove check for python and python libs paths, i get this
May be problem with slash?

C:\Users\Andrey\Desktop\tensorflow\tensorflow>bazel build --config=win-cuda //te
nsorflow/tools/pip_package:build_pip_package
Loading:
Loading: 0 packages loaded
Analyzing: target //tensorflow/tools/pip_package:build_pip_package (1 packages l
oaded)
WARNING: C:/users/andrey/desktop/tensorflow/tensorflow/tensorflow/core/BUILD:180
6:1: in includes attribute of cc_library rule //tensorflow/core:framework_header
s_lib: '../../external/nsync/public' resolves to 'external/nsync/public' not bel
ow the relative path of its package 'tensorflow/core'. This will be an error in
the future. Since this rule was created by the macro 'cc_header_only_library', t
he error might have been caused by the macro implementation in C:/users/andrey/d
esktop/tensorflow/tensorflow/tensorflow/tensorflow.bzl:1131:30
Analyzing: target //tensorflow/tools/pip_package:build_pip_package (65 packages
loaded)
INFO: Analysed target //tensorflow/tools/pip_package:build_pip_package (70 packa
ges loaded).
INFO: Found 1 target...

Was this resolved?
What was the resolution?

@goydex The TF Bazel build with GPU support doesn't work currently on Windows. But the build with CPU support works well.
You can try to run this script:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/ci_build/windows/cpu/pip/build_tf_windows.sh

Thanks. We need XLA enabled and AFAIK we need Bazel to build that. If theres no way to build Windows + GPU + XLA then we’ll have to switch to developing on Linux.
Which IDE offers interactive debug and other good debug tools in Linux?

On Jun 6, 2018, at 1:26 AM, Yun Peng<EMAIL_ADDRESS>wrote:
@goydex The TF Bazel build with GPU support doesn't work currently on Windows. But the build with CPU support works well.
You can try to run this script:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/ci_build/windows/cpu/pip/build_tf_windows.sh
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

the problem is with slashes! took me a while to figure that out. use msys2 to run bazel


Safari 12 refuses to parse dataURLs

Bug report

Node Version: v10.11.0
Protractor Version: 5.4.1
Angular Version: 6.1.8
Browser(s): Safari 12
Operating System and Version macOS 10.13.6
Your protractor configuration file

The configuration file is the same as the one which was generated by the CLI. Only the browserName was changed and the directConnect property was removed.
  // ... as provided by @angular/cli
  capabilities: {
    'browserName': 'safari'
  },
  // remove the directConnect property
  // ...

A relevant example test

It's enough to just run the default tests.
ng e2e

Output from running the test

should display welcome message
      - Failed: Could not parse requested URL 'data:text/html,'

Steps to reproduce the bug

npx --package @angular/cli ng new safari-test
cd safari-test
# Change the browserName in the config to 'safari' and remove the directConnect property.
ng e2e

A workaround is to add browser.resetUrl = 'about:blank'; to the onPrepare function. But I think it would be nice if Protractor works with Safari out of the box. A fix for Safari which does at least not break tests with Chrome would be to change the DEFAULT_RESET_URL to 'about:blank'. But I don't know if that has implications which affect other browsers.
https://github.com/angular/protractor/blob/master/lib/browser.ts#L22
Please let me know if you think it is a viable solution. I'm happy to provide a pull request for changing that.

Any news on this issue?

Same here. Anything new?

Any update or fix for this issue ??

Bug report

Node Version: v10.11.0
Protractor Version: 5.4.1
Angular Version: 6.1.8
Browser(s): Safari 12
Operating System and Version macOS 10.13.6
Your protractor configuration file

The configuration file is the same as the one which was generated by the CLI. Only the browserName was changed and the directConnect property was removed.
  // ... as provided by @angular/cli
  capabilities: {
    'browserName': 'safari'
  },
  // remove the directConnect property
  // ...

A relevant example test

It's enough to just run the default tests.
ng e2e

Output from running the test

should display welcome message
      - Failed: Could not parse requested URL 'data:text/html,'

Steps to reproduce the bug

npx --package @angular/cli ng new safari-test
cd safari-test
# Change the browserName in the config to 'safari' and remove the directConnect property.
ng e2e

A workaround is to add browser.resetUrl = 'about:blank'; to the onPrepare function. But I think it would be nice if Protractor works with Safari out of the box. A fix for Safari which does at least not break tests with Chrome would be to change the DEFAULT_RESET_URL to 'about:blank'. But I don't know if that has implications which affect other browsers.
https://github.com/angular/protractor/blob/master/lib/browser.ts#L22
Please let me know if you think it is a viable solution. I'm happy to provide a pull request for changing that.

Do you have any update for this? My suite is not running on Safari
Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:13:22.693Z'
System info: host: 'INC02Q40GKG8WP', ip: 'fe80:0:0:0:c94:4b60:1b53:e9fb%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.14', java.version: '1.8.0_172'
Driver info: driver.version: unknown
Tried the example given in https://github.com/angular/protractor/blob/master/docs/browser-setup.md website, that as well is giving the same error. I think it has something to do with the driver.

Facing same issue, Any fix for this issue?

Any fix for this issue? What is the alternative anyone is trying right now?

We are now encountering the same issue in the @GlobaLeaks  project: https://api.travis-ci.org/v3/job/582019060/log.txt
@chrisguttandin have you found any solution?
@juliemr @cnishina do you have any advice?

@chrisguttandin: is it possible that the app you were testing was implementing Content Security Policy headers preventing data URIs?

Actually this comment by @juliemr seems relevant: https://github.com/angular/protractor/issues/1223#issuecomment-53091420

https://github.com/angular/protractor/issues/4964#issuecomment-529104052
Yes we have csp enabled in our app.

Hi @evilaliv3, no I don't use CSP when running the tests.
As mentioned in the bug report above a workaround is to add browser.resetUrl = 'about:blank'; to the onPrepare function as done for example here.

super, thank you!


NTR: caregiver role

Definition: A human social role that is realized in providing assistance in activities of daily living of another human being who lacks the capability to complete some of these activities alone.
Source: Wikipedia:caregiving and NCIT:'Activity of Daily Living'
This term might be suited to OMRSE, and it could include 'caretaker' as an alternative label, but 'caretaker' is more associated with responsibility for the care of a building. (ClinEpiDB labels also have been standardized to "caregiver" rather than "caretaker".) I would also suggest "caretaker" in VEuPath term labels be changed to "caregiver".

Agree with submitting to OMRSE.

https://github.com/ufbmi/OMRSE/issues/154

In OMRSE and imported. Closing.


Can I use Just as an embedded command runner in my Rust CLI tool?

I'm building a client to improve developer experience by creating and sharing workflows, and I want to use Just as an embedded runner for dev team internal workflows.
Is this possible with the create available at the moment? where should I look for examples of how to programmatically fetch and execute Justfiles.

There's a very simple run function here which can be used to run just with some arguments. This doesn't provide any more control or functionality over calling just as an external command, but means that you don't have to have it installed locally, and can include it as a dependency. See #365 for discussion on actually providing a more complete library API.


Open resume on a new page

If the resume is opened, open it on a new tab.

Closed request. I will create a new pull request (#77  )with the option to disable/enable this behavior.


Packaging with pyproject.toml

There is no need to use setup.py and setup.cfg for packaging. Everything is defined in pyproject.toml now.
Source code is moved to /src directory

@cpozogonzalez please review. I cleaned up a bit environment.yml. And now all package requirements are in pyproject.toml. After this PR is merge I let you sort out the upgrade to the latest lstchain version. Try to produce a new file to be used with the latest gammapy version.

@cpozogonzalez installations are tricky, I implemented several ways in the CI (mamba create env only works for 3.10, the rest with pip). For macOS (arm64) I created a first env and then installed the package as specified in the README.
Give it a try, but it should be good to be merged already. Later on, we can upgrade the requirements to newer lstchain versions, which will simplify the installation process.


Charts: Adjust padding for pie and donut charts

We want to adjust the padding for pie and donut charts from 8 to 20 to help display tooltips within the boundary of the svg.
Fixes https://github.com/patternfly/patternfly-next/issues/2246

PatternFly-Next preview: https://patternfly-next-pr-2247.surge.sh

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


update proxy of master to raftstore-proxy-6.2 by proxy pr 165

What problem does this PR solve?
Issue Number: close #5813
Problem Summary:
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/hold Need firstly have encryption merged

/run-all-tests

/merge

/run-unit-test

/unhold


Fixing issue: #45 Invalid URL in region us-east-1

Fixing issue: https://github.com/Fausto95/aws-s3/issues/45
When the region is us-east-1 the URL should be built in another way than the other regions (regions in China do not apply this rule)

Can you please update your branch and keep the switch statement instead of the if statement

I don't see any problem using the if statement, besides, we use two different variables countryCode and region.  I think an if/else seems more readable than a switch in this case.

Using countryCode is the better way IMO,
case countryCode === us then format the url

FYI - at the rate this is maintained, you're best off using the plain-jane aws-sdk

@Fausto95 Switch won't work in this case since we are only aware 'us-east-1' causes the problem. using countryCode === 'us' might raise issues for other users


use ttl handle config to compute creation and expiration timestamps f…

…or references when stored with an handle

thanks, all done