Fixed #34882 -- Fixed no options in AsGeoJSON() for geometries in non-default CRS.

When calling AssGeoJSON, if bbox and crs are both false, then options = 0, there fore not added to the expression.
In Postgis, with geometries, the default is not 0 but 8, meaning the CRS is returned, not respecting the original call arguments.
fixes #34882 https://code.djangoproject.com/ticket/34882#ticket

@3nids Do you have time to keep working on this?

I'm a rookie in the code, but I can give it a shot. Could you point me to a similar case in the tests?

We could add a test for geometry with non-default crs and check an expected JSON format, e.g.
diff --git a/tests/gis_tests/geoapp/test_functions.py b/tests/gis_tests/geoapp/test_functions.py
index e9e2a5dcae..91441bf90c 100644
--- a/tests/gis_tests/geoapp/test_functions.py
+++ b/tests/gis_tests/geoapp/test_functions.py
@@ -11,7 +11,7 @@ from django.db.models import IntegerField, Sum, Value
 from django.test import TestCase, skipUnlessDBFeature

 from ..utils import FuncTestMixin
-from .models import City, Country, CountryWebMercator, State, Track
+from .models import City, Country, CountryWebMercator, ManyPointModel, State, Track

 class GISFunctionsTests(FuncTestMixin, TestCase):
@@ -119,6 +119,25 @@ class GISFunctionsTests(FuncTestMixin, TestCase):
                 chicago_json,
             )

+    @skipUnlessDBFeature("has_AsGeoJSON_function")
+    def test_asgeojson_option_0(self):
+        p1 = Point(1, 1, srid=4326)
+        p2 = Point(2, 2, srid=4326)
+        obj = ManyPointModel.objects.create(
+            point1=p1,
+            point2=p2,
+            point3=p2.transform(3857, clone=True),
+        )
+        self.assertJSONEqual(
+            ManyPointModel.objects.annotate(geojson=functions.AsGeoJSON("point3"))
+            .get(pk=obj.pk)
+            .geojson,
+            # GeoJSON without CRS.
+            json.loads(
+                '{"type":"Point","coordinates":[222638.98158655,222684.20850554]}'
+            ),
+        )
+
     @skipUnlessDBFeature("has_AsGML_function")
     def test_asgml(self):
         # Should throw a TypeError when trying to obtain GML from a

@3nids Check out https://github.com/django/django/pull/17320#issuecomment-1748243526.

@felixxm many thanks!!!!

@3nids Welcome aboard :boat:

@felixxm small question, guessing that main is the current dev branch, is a backport to 4.2.x possible? how is this handled?
cheers!

guessing that main is the current dev branch, is a backport to 4.2.x possible?

No, it doesn't qualify for a backport to 4.2 based on our supported versions policy.

Oh, pity. Thanks for the feedback!


Update documentation for contingency situations

In order to hold an effective contingency plan rehearsal, we need enough documentation and updated runbooks for the team to not waste too much time.
The assigned engineers should also review the current docs in internal-docs to add some hints on

How to recover from a lost BOSH director
How to scale up in a single AZ

Acceptance Criteria

[ ]  PRs accepted to internal-docs

Security considerations
Required for authorization and also a good idea

@ChrisMcGowan Is this on track to be ready for the CP exercise on the 25th?

Yes @pburkholder it will be.


feat: Change pageLabels to match page url

Closes #2816

Before merging I will update page label in CMS so the e2e would pass.


wasm32: non-spirv shader specialization

It implements shader specialization for wasm32  (where spirv is not available), by adding preprocessor's #define statements to shader source.

The one thing: maybe we should change get_spirv_shader method name to get_specialized_shader or so - because for wasm32 we are returning modified shader source instead of spirv.


Figure out how to hide Services from Post group

I don't see any reason for this right now, it looks good as it is


implement Billy's eof_gap_sub5 for computation savings

Reported by Ansley B Manke on 9 Jul 2004 18:25 UTC
Billy Kessler, 7/9/2004:
eof_gap_sub5  in ~ansley/FERRET/external_functions/eof
It allows the saving of large amounts of CPU by specifying
the (usually small) number of EOFs wanted. Several loops that
previously went over all space (NX) only need to go over the
number of EOFs wanted. The covariance matrix still needs to
be inverted (which will still take a long time if NX is large),
but the very time-consuming loops after that can be drastically
shortened.
The subroutine is essentially the same as v4 except for changing
many loop counters from NX to NEOF. There are also a few more
screen notations "write(6,*)" that can be removed for this purpose.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/927

Comment by<EMAIL_ADDRESS>on 5 Nov 2004 19:30 UTC
Changing these bugs in Ferret Tasks to the External Functions component

Comment by ansley.b.manke on 25 Sep 2013 23:10 UTC
The SVD functions (and pyFerret ones to come) make this bug obsolete


Zebra node panics on sync with 'best_chain empty' error

When a node started and the first block has an error the node panics with a 'best chain empty' error ("only called after inserting a block").
No block error is printed in the log.
This crash occurs because the failed block is not added to the chain in the validate_and_commit() call called from process_queued() so chain_set in self.mem remains empty. However after process_queue() there is a call to self.mem.best_chain_len() which causes panic because of it was accessing the empty chain_set.
Also the block error is lost because in validate_and_commit() the result with the error is sent over an async channel which apparently does not have time to process the error because of the immediate crash in self.mem.best_chain_len().
Fixed in ffc61d53f4d628c7da52379ace64bbac5ae01977 by adding printing the result in validate_and_commit so at least we can see the error and also added a check that if best chain is empty then return from the call.
See also the upstream where this code is refactored.

Fixed in https://github.com/KomodoPlatform/zebra/commit/ffc61d53f4d628c7da52379ace64bbac5ae01977 by adding printing the result in validate_and_commit so at least we can see the error and also added a check that if best chain is empty then return from the call.
See also the upstream where this code is refactored.


Switch from epee http server to boost::beast http server. Min boost 1.70

Comments in log
There is roughly a 7.4% increase in performance in the switch to boost::beast. Additionally, the REST endpoints /daemon_status, /get_unspent_outs, and /submit_raw_tx do not block in ZMQ calls, allowing for better response times regardless of monerod status.
The REST endpoints /login and /get_random_outs still need updates to prevent blocking (/login is conditional on DB state).
Additional Commentary
The REST endpoints /daemon_status, /get_unspent_outs, /get_random_outs, /get_unspent_outs, and /submit_raw_tx all require calls into monerod to complete. The endpoint /login may perform blocking HTTP I/O if webhooks are configured for new accounts. Some of the values can be cached, but even then all of the mentioned endpoints could be temporarily blocked by a slow, unresponsive, or unavailable monerod (or slow HTTP server for /login webhooks). This hurts throughput on the REST threads, especially the endpoints /get_address_info, /get_address_txs, and (sometimes) /login which require disk I/O but no outside information.
Since the default is 1 REST thread, these blocking events can give the appearance of an unresponsive REST server when it is monerod (or outside HTTP server) that is the source of the slowdown. This patch (begins) to alleviate the issue by making /daemon_status, /get_unspent_outs, and /submit_raw_tx asynchronous when blocking I/O into monerod needs to be performed. While waiting for monerod response, additional requests to the same endpoint will queue and then perform a batch response when the monerod I/O completes. In the best case scenario, this takes 2-3 milliseconds, but can be longer for various reasons.
Additionally, /daemon_status and /get_unspent_outs now cache monerod responses for 5 seconds to reduce unnecessary burden on monerod. This improves the throughput of these endpoints dramatically, and wrk2 load stressing is now somewhat pointless on /daemon_status in particular since it generates a cache response instantly.
Implementation Details
A REST endpoint can now be: (1) full synchronous (all admin endpoints, /get_address_info, get_address_txs, and /login eventually), (2) partially synchronous (/daemon_status, and /get_unspent_outs) or (3) fully asynchronous (/get_random_outs eventually, and get_unspent_outs). These three possibilities help with micro-optimizations internally on performance:

Fully synchronous endpoints never allocates memory for std::function callback
Partially asynchronous sometimes uses the faster templated callback (as opposed to std::function callback). Basically, some checks have to be done for synchronous endpoints, and std::function is duplicating the checks (in addition to being slightly slower in invocation).
Fully asynchronous always uses the type-erased std::function callback

This patch doesn't have code comments describing how this works, I will most likely update this PR in the future with such information (before merging). Additionally, /submit_raw_tx still needs additional stress testing.
Otherwise, this is a good end-of-month PR as its 99% complete.

Force pushed some bug fixes. The build will still fail, that will be updated in a separate PR.

Force pushed a few modifications - changed how the strand wrapping works. Also updated a comment.

Force pushed a rebase (checks pass!), and 2 bug fixes.

Force pushed Boost dependencies update.

Noticed some whitespace differences in zmq_asnyc.cpp, corrected.


[Visual Studio Code Recent Projects] ...

Extension
https://www.raycast.com/thomas/visual-studio-code
Description
I would like the ability to open files I have no opened before in vscode, I use PathFinder instead of Finder so the open from finder command doesnt work for me. Either way it would nice if it was possible to have a command that searches all the files and folders on your system like the File Search UI within Raycast that when you action a folder/file it opens in VSCode. The current system only allows you to open a folder I have already opened in VSCode and the option to open through finder defeats the point of raycast as it requires about as many steps as it would take to actually open the file manually in vscode through finder. Raycast should be able to do it all through the command line.
Who will benefit from this feature?
Everyone who is using this extension already will at some point need to open a new file/folder and the current implementation is cumbersome and doesn't work for other file management applications like PathFinder
Anything else?
No response

@rollokd agreed, it would be nice, but that also seems out of scope for the original purpose of this extension.
For what it’s worth, the File Search command does have an “Open With” command (⌘ + O) that I frequently use to accomplish this.

The extension already includes the "Open With Visual Studio Code" command. With the command, you can select a folder or file in the Finder and then run the command to open it in VS Code.
I hope that helps. Alternatively there is also the "Open With App" extension which can come in handy to open files/folders.


[ZEPPELIN-1928]: Get a rid of preinstalled external dependencies (nodejs and npm) for maven build

What is this PR for?
Get a rid of preinstalled external dependencies (nodejs and npm) for maven build

We do not need install nodejs npm and libfontconfig anymore
zeppelin-web tests will run via maven build
Fix documentation

What type of PR is it?
[Bug Fix | Improvement |  Documentation]
Todos
N/A
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1928
How should this be tested?

Create new empty instance of (Centos7|Ubuntu|Windows) in VirtualBox
Install JDK and Maven (also export JAVA_HOME and M2_HOME etc.)
Go to project directory and run
mvn clean package -Pbuild-distr

Screenshots (if appropriate)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Zeppelin ........................................... SUCCESS [ 53.338 s]
[INFO] Zeppelin: Interpreter .............................. SUCCESS [ 37.829 s]
[INFO] Zeppelin: Zengine .................................. SUCCESS [ 25.306 s]
[INFO] Zeppelin: Display system apis ...................... SUCCESS [ 26.981 s]
[INFO] Zeppelin: Spark dependencies ....................... SUCCESS [01:21 min]
[INFO] Zeppelin: Spark .................................... SUCCESS [ 33.265 s]
[INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [  3.576 s]
[INFO] Zeppelin: Angular interpreter ...................... SUCCESS [  1.225 s]
[INFO] Zeppelin: Shell interpreter ........................ SUCCESS [  2.526 s]
[INFO] Zeppelin: Livy interpreter ......................... SUCCESS [03:03 min]
[INFO] Zeppelin: HBase interpreter ........................ SUCCESS [ 17.911 s]
[INFO] Zeppelin: Apache Pig Interpreter ................... SUCCESS [ 13.064 s]
[INFO] Zeppelin: PostgreSQL interpreter ................... SUCCESS [  4.306 s]
[INFO] Zeppelin: JDBC interpreter ......................... SUCCESS [  6.681 s]
[INFO] Zeppelin: File System Interpreters ................. SUCCESS [  4.661 s]
[INFO] Zeppelin: Flink .................................... SUCCESS [ 30.573 s]
[INFO] Zeppelin: Apache Ignite interpreter ................ SUCCESS [ 13.729 s]
[INFO] Zeppelin: Kylin interpreter ........................ SUCCESS [  2.170 s]
[INFO] Zeppelin: Python interpreter ....................... SUCCESS [  3.098 s]
[INFO] Zeppelin: Lens interpreter ......................... SUCCESS [ 16.616 s]
[INFO] Zeppelin: Apache Cassandra interpreter ............. SUCCESS [01:11 min]
[INFO] Zeppelin: Elasticsearch interpreter ................ SUCCESS [ 12.687 s]
[INFO] Zeppelin: BigQuery interpreter ..................... SUCCESS [ 24.615 s]
[INFO] Zeppelin: Alluxio interpreter ...................... SUCCESS [ 10.031 s]
[INFO] Zeppelin: Scio ..................................... SUCCESS [ 54.854 s]
[INFO] Zeppelin: web Application .......................... SUCCESS [39:47 min]
[INFO] Zeppelin: Server ................................... SUCCESS [ 36.567 s]
[INFO] Zeppelin: Packaging distribution ................... SUCCESS [23:54 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:16 h
[INFO] Finished at: 2017-02-09T11:07:53+00:00
[INFO] Final Memory: 204M/1102M
[INFO] ------------------------------------------------------------------------
Questions:

Does the licenses files need update? - No
Is there breaking changes for older versions? - No
Does this needs documentation? - Update of docs are part of PR

FYI - https://github.com/eirslett/frontend-maven-plugin/issues/562

I have had similar issues. The main problem with this plugin.  It can run scripts in package.json via shell (postinstall, pretest etc) but not provide that they accessible for current shell session.
Отправлено с беспроводного устройства BlackBerry®
-----Original Message-----
From: Hoon<EMAIL_ADDRESS>Date: Thu, 09 Feb 2017 17:20:23
To<EMAIL_ADDRESS>Reply-To: apache/zeppelin<EMAIL_ADDRESS>Cc: Dmytro<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [apache/zeppelin] [ZEPPELIN-1928]: Get a rid of preinstalled
external dependencies (nodejs and npm) for maven build (#2002)
FYI - https://github.com/eirslett/frontend-maven-plugin/issues/562
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/zeppelin/pull/2002#issuecomment-278830036

@1ambda Seems to Ignite and MR filed. They not related to zeppelin-web.
Is problem in proxy-configuration for bower? I could add support for this in POM.xml via -D parameters. But I think we could open another jira for this.

All these packages are required and used in scripts of  package.json. I have tested this (run mvn build at clean vbox). And when I tried run
$ npm install -g yarn
$ yarn install
It failed because scripts from package.json couldn't resolve these packages.
Please note: I in this case I would add also following command:
$ apt-get install -y nodejs
Отправлено с беспроводного устройства BlackBerry®
-----Original Message-----
From: Lee moon soo<EMAIL_ADDRESS>Date: Sat, 11 Feb 2017 00:26:51
To<EMAIL_ADDRESS>Reply-To: apache/zeppelin<EMAIL_ADDRESS>Cc: Dmytro<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [apache/zeppelin] [ZEPPELIN-1928]: Get a rid of preinstalled
external dependencies (nodejs and npm) for maven build (#2002)
Leemoonsoo commented on this pull request.

install required depepdencies and bower packages (only once)

-$ npm install -g yarn
-$ yarn install
+```
+$ npm install -g yarn bower npm-run-all rimraf grunt webpack karma karma-phantomjs-launcher
I'm don't think 'rimraf grunt webpack karma karma-phantomjs-launcher' are really a required package installed globally for development. Shell we remove them?
Also shell we not use 'npm-run-all' package?
After this PR, every existing developer will face error, such as
$ npm-run-all --parallel dev:server dev:watch
sh: npm-run-all: command not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

and all developer need to read README.md again and install necessary package. which is big impact compare to benefit that we can get from npm-run-all here.
What do you think?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/zeppelin/pull/2002#pullrequestreview-21381858

Hi @1ambda, when we install nodejs modules locally(only for project) we do not have access to them from command line outside. So we need install these modules globally. I'm not so plural with nodejs to export locally installed modules. I have added installation these modules only for compatibility with old style of development:
$ yarn build
$ yarn test
Отправлено с беспроводного устройства BlackBerry®
-----Original Message-----
From: Hoon<EMAIL_ADDRESS>Date: Sat, 11 Feb 2017 20:15:14
To<EMAIL_ADDRESS>Reply-To: apache/zeppelin<EMAIL_ADDRESS>Cc: Dmytro<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [apache/zeppelin] [ZEPPELIN-1928]: Get a rid of preinstalled
external dependencies (nodejs and npm) for maven build (#2002)
1ambda commented on this pull request.

install required depepdencies and bower packages (only once)

-$ npm install -g yarn
-$ yarn install
+```
+$ npm install -g yarn bower npm-run-all rimraf grunt webpack karma karma-phantomjs-launcher
@DmytroShkvyra We don't need to install these packages as global.  All packages installed locally (node_modules) can be used in scripts tag in package.json as command like grunt, webpack
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/apache/zeppelin/pull/2002

BTW @Leemoonsoo , I agree with you that install libfontconfig with shell script is graceful solution. Unfortunately, in phantomjs package for linux absent this dependency and we can't build zeppelin at empty linux box without installation by hand all hidden dependences. I think it would better change phantomjs to another one.
Отправлено с беспроводного устройства BlackBerry®
-----Original Message-----
From: Lee moon soo<EMAIL_ADDRESS>Date: Sat, 11 Feb 2017 22:40:54
To<EMAIL_ADDRESS>Reply-To: apache/zeppelin<EMAIL_ADDRESS>Cc: Dmytro<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [apache/zeppelin] [ZEPPELIN-1928]: Get a rid of preinstalled
external dependencies (nodejs and npm) for maven build (#2002)
Leemoonsoo commented on this pull request.

@@ -0,0 +1,2 @@
+#!/bin/bash
+( sudo apt-get install libfontconfig -y || sudo yum install fontconfig -y ) || exit 0;

I'm not sure it's best idea install package on the system without asking user. Shell we remove this file?

@@ -120,34 +152,77 @@

       <execution>

       <id>yarn install</id>

       <goals>

         <goal>yarn</goal>

       </goals>

       <configuration>

         <arguments>install --no-lockfile</arguments>

       </configuration>

         <id>yarn add bower</id>

         <goals>

             <goal>yarn</goal>

         </goals>

         <configuration>

           <!--ignore-scripts-->

             <arguments>add bower --no-lockfile --no-bin-links</arguments>

we don't need to run
'yarn add bower'
'yarn add karma-phantomjs-launcher'
and we can just run command defined in 'script' field in 'package.json'.
like
'yarn install'
'yarn build'
'yarn test'
we don't want to define the same command in the pom.xml that 'package.json' already has in 'script' field, such as
'bower install'
'webpack build'
'grunt pre-webpack-dist'
'grunt post-webpack-dist'
'karma test'
I think all changes made in 'executions' section of 'frontend-maven-plugin' are unnecessary and should be reverted.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/apache/zeppelin/pull/2002#pullrequestreview-21400884

@DmytroShkvyra
If you want to use node modules in terminal, you have to install them globally. (e.g $ yarn install)
But in case of grunt (and karma so on..), we don't need to do that. Since they are used in scripts (package.json). That's what i meant.

@1ambda

If you want to use node modules in terminal, you have to install them globally. (e.g $ yarn install)

But in case of grunt (and karma so on..), we don't need to do that. Since they are used in scripts >(package.json). That's what i meant.
I dont care about use modules in terminal. I want to run

mvn package

and execute clean->process-resources->test->package phases of maven automatically, without errors and manual maintenance of local environment.

@DmytroShkvyra That's cool. You are trying to modify something without understanding. Anyway, We have 2 problems.

local development

you must install yarn if you want to use yarn in terminal. there is no exception.

mvn package

convert yarn to npm instead of this kind of big change.

@1ambda

That's cool. You are trying to modify something without understanding. Anyway, We have 2 problems.
local development
you must install yarn if you want to use yarn in terminal. there is no exception.
mvn package
convert yarn to npm instead of this kind of big change.

I don't change anything that impact local development. You can see
https://github.com/apache/zeppelin/pull/2002/files#diff-606da5c2abcc66b817845ab483a4f1cd
If you really read comments in ZEPPELIN-1928 may be read that npm failed because "Max stack size" when we install this locally. So use yarn for build with maven is good idea.

My OS ():
[vagrant@c7 zeppelin-web]$ cat /etc/*-release
CentOS Linux release 7.3.1611 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux release 7.3.1611 (Core)
CentOS Linux release 7.3.1611 (Core)

P.S. When first assignee have asked for clarification nobody answer him. So say "That's cool. You are trying to modify something without understanding" was a little bit rude because I have tried almost all possible alternatives.

@DmytroShkvyra Please read and try #2016
Details

yarn installed by frontend-maven-plugin can't run commands described in scripts tag (package.json)
but npm is able to execute them.
so, it's bug of the maven plugin.
the most simple and appropriate way to solve this build failure is, use npm instead of yarn.

@DmytroShkvyra Really sorry if you feel like that.
But IMO

you didn't try almost all possible alternatives
you didn't try to understand my comments at all. I repeatedly said script tags is not the problem.

Regrading to max call stack size what @DmytroShkvyra mentioned in above comment (for other people)

https://github.com/npm/npm/issues/9953
https://github.com/npm/npm/issues/10776#issuecomment-208791872

Symlinks are only supported in POSIX filesystem i.e. ext3 or ext4, not on Windows filesytems i.e. NTFS, FAT. This is a serious bug while using docker. Just switch to ext4 filesystem and everything will run as expected. So I think that is why on windows it recursively tries to suppress the creation of symlinks using the flag, whose result is unidentified by the (windows) filesystem, results in stackoverflow (Maximum call stack size exceeded).

@DmytroShkvyra
I think the log you'v just posted is quite different. It's not for build.

@1ambda Yes, this different from build, but cause the same. Helium installed npm with frondend-maven-plugin.
BTW. Many contributors cant use windows because this is proprietary and costs some money.
I though zeppelin is cross-platform system. ;-)

So, what you want to solve is building zeppelin in vms which can't have enough symlinks? right?

@1ambda No, I want make "normal|classical" maven project which do not need preinstall everybody nodejs and their packages by hand. More over - yarn works faster than npm

@DmytroShkvyra

I think we don't need to worry about max call stack size since it occurs in unusual env like windows, linux on vm.
Zeppelin is not the thing like JDK. There is no reason to support windows build. Working is enough.
Even nodejs fails to support all platforms. (e.g max call stack size).

@1ambda BTW I have reverted my changes in README.md for build and test from CL and add section about build and test with maven like this example:
mvn test -Dmaven.clean.skip=true -Dmaven.compile.skip=true

Output
[INFO] Running "replace:dist" (replace) task
[INFO] >> 36 replacements in 37 files.
[INFO]
[INFO] Running "cacheBust:taskName" (cacheBust) task
[INFO] >> Busted: dist/index.html
[INFO]
[INFO] Done, without errors.
[INFO]
[INFO]
[INFO] Execution Time (2017-02-13 18:24:21 UTC)
[INFO] concurrent:dist       6.8s  ▇ 2%
[INFO] copy:dist         4m 56.9s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 85%
[INFO] uglify:generated     15.1s  ▇▇ 4%
[INFO] replace:dist         23.7s  ▇▇▇ 7%
[INFO] Total 5m 50.3s
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:59 min
[INFO] Finished at: 2017-02-13T18:30:11+00:00
[INFO] Final Memory: 18M/221M
[INFO] ------------------------------------------------------------------------
[vagrant@c7 zeppelin-web]$ mvn test -Dmaven.clean.skip=true -Dmaven.compile.skip=true

@1ambda

I think we don't need to worry about max call stack size since it occurs in unusual env like windows, linux on vm.
Zeppelin is not the thing like JDK. There is no reason to support windows build. Working is enough.
Even nodejs fails to support all platforms. (e.g max call stack size).
The problem not in OS or NodeJS. Problem is that I and my colleagues are backend developers whom want develop interpreters and integrate zeppelin  (to Hadoop e.g. and other cluster technologies) and the do not know anything about UI development (in common). They use usually vms for testing and development. And they use maven as the most mature build tool. I and my collegues don't want learn nodejs and how to solve it's bugs. I have more than 15 years experience as developer. Last time I have developed UI 7 years ago. Only this gave me possibility find solution fast. To be honest my experience with nodejs was not so sweet.
Let's give to all developers possibility contribute to zeppelin! :-)

Failed tests:
IgniteSqlInterpreterTest.testSql:95 expected: but was:
This test do not related with PR.

@1ambda

Could you share the content of /vagrant/zeppelin/local-repo/helium-bundle/npm-debug.log? when node/node node_modules/webpack/bin/webpack.js --display-error-details --json failed. (Gist will be enough)

I would like to check. It seems that helium bundling failed due to network is offline not because of to max stack size.

https://issues.apache.org/jira/secure/attachment/12852597/npm-debug.log

Installation of hidden dependencies was removed. (accordingly to reviewers comments).

Incompatible with https://github.com/apache/zeppelin/pull/2016

Now it is 2017-09-20, and I cloned the master branch, and it still have error:
[INFO] [4/4] Building fresh packages...
[INFO] $ bower install --silent
[ERROR] [{
[ERROR]   "code": "ESUDO",
[ERROR]   "details": "Since bower is a user command, there is no need to execute it with superuser permissions.\nIf you're having permission errors when using bower without sudo, pleas
e spend a few minutes learning more about how your system should work and make any necessary repairs.\n\nhttp://www.joyent.com/blog/installing-node-and-npm\nhttps://gist.github.com/isa
acs/579814\n\nYou can however run a command with sudo using --allow-root option",
[ERROR]   "id": "ESUDO",
[ERROR]   "level": "error",
[ERROR]   "data": {},
[ERROR]   "message": "Cannot be run with sudo",
[ERROR]   "stacktrace": "Error: Cannot be run with sudo\n    at createError (/root/software/zeppelin-master/zeppelin-web/node_modules/bower/lib/util/createError.js:4:15)\n    at rootCh
eck (/root/software/zeppelin-master/zeppelin-web/node_modules/bower/lib/util/rootCheck.js:26:24)\n    at Object.<anonymous> (/root/software/zeppelin-master/zeppelin-web/node_modules/bo
wer/lib/bin/bower.js:33:1)\n    at Module._compile (module.js:570:32)\n    at Object.Module._extensions..js (module.js:579:10)\n    at Module.load (module.js:487:32)\n    at tryModuleL
oad (module.js:446:12)\n    at Function.Module._load (module.js:438:3)\n    at Module.require (module.js:497:17)\n    at require (internal/module.js:20:19)"
[ERROR] }]
[ERROR] error Command failed with exit code 1.
[INFO] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Zeppelin ........................................... SUCCESS [  2.472 s]
[INFO] Zeppelin: Interpreter .............................. SUCCESS [  5.529 s]
[INFO] Zeppelin: Display system apis ...................... SUCCESS [  9.437 s]
[INFO] Zeppelin: Python interpreter ....................... SUCCESS [01:20 min]
[INFO] Zeppelin: Spark .................................... SUCCESS [ 19.324 s]
[INFO] Zeppelin: Zengine .................................. SUCCESS [  6.182 s]
[INFO] Zeppelin: Spark dependencies ....................... SUCCESS [ 39.089 s]
[INFO] Zeppelin: Groovy interpreter ....................... SUCCESS [  0.269 s]
[INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [  0.482 s]
[INFO] Zeppelin: Angular interpreter ...................... SUCCESS [  0.292 s]
[INFO] Zeppelin: Shell interpreter ........................ SUCCESS [  0.392 s]
[INFO] Zeppelin: Livy interpreter ......................... SUCCESS [  2.483 s]
[INFO] Zeppelin: HBase interpreter ........................ SUCCESS [ 10.656 s]
[INFO] Zeppelin: Apache Pig Interpreter ................... SUCCESS [  6.431 s]
[INFO] Zeppelin: JDBC interpreter ......................... SUCCESS [  0.862 s]
[INFO] Zeppelin: File System Interpreters ................. SUCCESS [  0.906 s]
[INFO] Zeppelin: Flink .................................... SUCCESS [  4.536 s]
[INFO] Zeppelin: Apache Ignite interpreter ................ SUCCESS [  1.260 s]
[INFO] Zeppelin: Kylin interpreter ........................ SUCCESS [  0.659 s]
[INFO] Zeppelin: Lens interpreter ......................... SUCCESS [  6.755 s]
[INFO] Zeppelin: Apache Cassandra interpreter ............. SUCCESS [ 35.240 s]
[INFO] Zeppelin: Elasticsearch interpreter ................ SUCCESS [  2.318 s]
[INFO] Zeppelin: BigQuery interpreter ..................... SUCCESS [  3.289 s]
[INFO] Zeppelin: Alluxio interpreter ...................... SUCCESS [  1.814 s]
[INFO] Zeppelin: Scio ..................................... SUCCESS [ 26.458 s]
[INFO] Zeppelin: web Application .......................... FAILURE [01:04 min]
[INFO] Zeppelin: Server ................................... SKIPPED
[INFO] Zeppelin: Jupyter Support .......................... SKIPPED
[INFO] Zeppelin: Packaging distribution ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:32 min
[INFO] Finished at: 2017-09-20T05:09:38Z
[INFO] Final Memory: 519M/2922M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:yarn (yarn install) on project zeppelin-web: Failed to run task: 'yarn install --no-lockfile' failed. (error code 1) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:yarn (yarn install) on project zeppelin-web: Failed to run task
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)

Should I need to modify some files? @1ambda

i am not able to get data from hbase using spark hbase connector,
any one did this so plz let me know all of its hbase,spark and other
configuation.
i got Error...
java.io.IOException: java.lang.reflect.InvocationTargetException
at
org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:240)
at
org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:218)
at
org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:119)
at
org.apache.spark.sql.execution.datasources.hbase.HBaseConnectionCache$$anonfun$getConnection$1.apply(HBaseConnectionCache.scala:141)
at
org.apache.spark.sql.execution.datasources.hbase.HBaseConnectionCache$$anonfun$getConnection$1.apply(HBaseConnectionCache.scala:141)
at
org.apache.spark.sql.execution.datasources.hbase.HBaseConnectionCache$$anonfun$1.apply(HBaseConnectionCache.scala:132)
at
org.apache.spark.sql.execution.datasources.hbase.HBaseConnectionCache$$anonfun$1.apply(HBaseConnectionCache.scala:130)
at
scala.collection.mutable.MapLike$class.getOrElseUpdate(MapLike.scala:194)
at scala.collection.mutable.AbstractMap.getOrElseUpdate(Map.scala:80)
at
org.apache.spark.sql.execution.datasources.hbase.HBaseConnectionCache$.getConnection(HBaseConnectionCache.scala:130)
at
org.apache.spark.sql.execution.datasources.hbase.HBaseConnectionCache$.getConnection(HBaseConnectionCache.scala:141)
at
org.apache.spark.sql.execution.datasources.hbase.RegionResource.init(HBaseResources.scala:93)
at
org.apache.spark.sql.execution.datasources.hbase.ReferencedResource$class.liftedTree1$1(HBaseResources.scala:57)
at
org.apache.spark.sql.execution.datasources.hbase.ReferencedResource$class.acquire(HBaseResources.scala:54)
at
org.apache.spark.sql.execution.datasources.hbase.RegionResource.acquire(HBaseResources.scala:88)
at
org.apache.spark.sql.execution.datasources.hbase.ReferencedResource$class.releaseOnException(HBaseResources.scala:74)
at
org.apache.spark.sql.execution.datasources.hbase.RegionResource.releaseOnException(HBaseResources.scala:88)
at
org.apache.spark.sql.execution.datasources.hbase.RegionResource.(HBaseResources.scala:108)
at
org.apache.spark.sql.execution.datasources.hbase.HBaseTableScanRDD.getP......

Thanks & Regards
Er. Atul VermaStudent of CSE department.
On Wed, Sep 20, 2017 at 11:46 AM, liang<EMAIL_ADDRESS>wrote:

Should I need to modify some files? @1ambda https://github.com/1ambda
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/zeppelin/pull/2002#issuecomment-330755633, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AeFWGwGc1sTwoIM4-XPm53V1FfRIm1CIks5skK3TgaJpZM4L8lLl
.

./bin/spark-shell --jars /home/ist/jarfile/shc-core-1.1.1-2.1-s_2.11.jar,/home/iile/hbase-spark-2.0.0-alpha-1.jar,/home/ist/jarfile/hbase-client-<IP_ADDRESS>.jar,/home/ist/jarfile/hbase-0.94.2.jar,/home/ist/jarfile/hbase-common-0.98.3-hadoop1.jar
     import org.apache.spark.sql._
     import org.apache.spark.sql.datasources.hbase._
     import org.apache.spark.sql.execution.datasources.hbase._
     import org.apache.hadoop._
     import org.apache.hadoop.hbase.util._
      val sqlContext = new SQLContext(sc)

      def catalog = s"""{
         |"table":{"namespace":"default", "name":"table1"},
         |"rowkey":"key",
         |"columns":{
           |"col0":{"cf":"rowkey", "col":"key", "type":"string"},
           |"col1":{"cf":"cf1", "col":"col1", "type":"string"}
         |}
       |}""".stripMargin

     def withCatalog(cat: String): DataFrame = {
     sqlContext
    .read
    .options(Map(HBaseTableCatalog.tableCatalog->cat))
    .format("org.apache.spark.sql.execution.datasources.hbase")
    .load()
  }

	val df = withCatalog(catalog)

	df.printSchema()
	df.show()

Caused by: java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError: org.apache.hadoop.hbase.util.Addressing.getIpAddress()Ljava/net/InetAddress;
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:238)
... 111 more
Caused by: java.lang.NoSuchMethodError: org.apache.hadoop.hbase.util.Addressing.getIpAddress()Ljava/net/InetAddress;
at org.apache.hadoop.hbase.client.ClientIdGenerator.getIpAddressBytes(ClientIdGenerator.java:83)
at org.apache.hadoop.hbase.client.ClientIdGenerator.generateClientId(ClientIdGenerator.java:43)

I installed nodejs and npm before package zeppelin, but another error occurs, a timeout occurs; someone says that it is the yarn problem, and I use the yarn-1.0.2 got a similar error as below, lots of people meet the same problem, can we don't use yarn?
[INFO]
[INFO] --- frontend-maven-plugin:1.3:yarn (yarn install) @ zeppelin-web ---
[INFO] Running 'yarn install --no-lockfile --network-concurrency 1' in /root/software/zeppelin-0.7.2/zeppelin-web
[INFO] yarn install v1.0.2
[INFO] [1/5] Validating package.json...
[INFO] [2/5] Resolving packages...
[WARNING] warning There appears to be trouble with your network connection. Retrying...
[WARNING] warning There appears to be trouble with your network connection. Retrying...
[WARNING] warning There appears to be trouble with your network connection. Retrying...
[WARNING] warning There appears to be trouble with your network connection. Retrying...
[WARNING] warning There appears to be trouble with your network connection. Retrying...
[WARNING] warning There appears to be trouble with your network connection. Retrying...
[ERROR] error An unexpected error occurred: "https://registry.yarnpkg.com/clean-css: ETIMEDOUT".
[INFO] info If you think this is a bug, please open a bug report with the information provided in "/root/software/zeppelin-0.7.2/zeppelin-web/yarn-error.log".
[INFO] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[WARNING] warning There appears to be trouble with your network connection. Retrying...
[WARNING] warning<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
[WARNING] warning There appears to be trouble with your network connection. Retrying...
[WARNING] warning There appears to be trouble with your network connection. Retrying...
[ERROR] Error: https://registry.yarnpkg.com/async: ETIMEDOUT
[ERROR]     at Timeout._onTimeout (/root/software/zeppelin-0.7.2/zeppelin-web/node/yarn/dist/lib/cli.js:118034:19)
[ERROR]     at ontimeout (timers.js:365:14)
[ERROR]     at Timeout._onTimeout (/root/software/zeppelin-0.7.2/zeppelin-web/node/yarn/dist/lib/cli.js:118034:19)
[ERROR]     at ontimeout (timers.js:365:14)
[ERROR]     at tryOnTimeout (timers.js:237:5)
[ERROR]     at Timer.listOnTimeout (timers.js:207:5)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Zeppelin ........................................... SUCCESS [  2.181 s]
[INFO] Zeppelin: Interpreter .............................. SUCCESS [  2.417 s]
[INFO] Zeppelin: Zengine .................................. SUCCESS [  2.840 s]
[INFO] Zeppelin: Display system apis ...................... SUCCESS [  0.644 s]


AEROGEAR - 3416 Add ssl check

Motivation

JIRA: https://issues.jboss.org/browse/AEROGEAR-3416
Description
Add function to home page checking ssl conection
Verify

Checkout PR
Oc cluster up running, with a cordova project and keycloak provisioned and bound
Copy service config to mobile-service.json
Launch app
A dialog will be shown on the home page warning of ssl issue
run :

oc get secret router-certs --template='{{index .data "tls.crt"}}' -n default  |  \
base64 --decode | sed -e '1,/^-----END RSA PRIVATE KEY-----$/ d'  > /tmp/localcluster.crt

adb push /tmp/localcluster.crt /sdcard/Download/localcluster.crt

Launch app again
No dialog will be shown and you can access keycloak server

@StephenCoady mind having another look when you get a chance.


Add wait flag to service create

What is the purpose of this change? What does it change?
Add wait flag to service create and also use spinners to display progress
Was the change discussed in an issue?
Fixes: #1144, #1063
How to test changes?
Both
odo service create mongodb-ephemeral --plan default -p MONGODB_VERSION=3.2
and
odo service create mongodb-ephemeral --plan default -p MONGODB_VERSION=3.2 -w should work with the latter waiting for the service to come up fully

:white_check_mark: odo build 1579 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/ce0c38e022 by @geoand)


skaffold vulnerabilities found in edge binary

message--

Closing as the issue is tracked in https://github.com/ericzzzzzzz/kokoro-codelab-ericwork/issues/23


Use with ReactJS - only working if polyfill set to false

I am trying to use this great range slider with React.
If polyfill is set to false, tracking events like onInput or onChange work perfectly. As soon as polyfill is enabled, the event listeners completely stop working. Is there any reason for that?
Anyone else successfully using this slider with React?

Hi @simonswiss if you pass {polyfill: true} (default setting) the rangeslider.js feature detects if the browser has native support for the <input type="range"> element. If so it will do nothing and don't execute the other code. Otherwise it will polyfill the range slider element.
If you want to use rangeslider.js in every browser and create a range slider element just pass {polyfill: false}.

As soon as polyfill is enabled, the event listeners completely stop working. Is there any reason for that?

If you add your event listeners to the <input type="range"> element rangeslider.js will not change anything here. I guess there must be another reason for that...
If you have some code examples I could have a look if you want.
:v:

Makes sense, thanks!
I managed to get it working by initiating the range slider inside the React componentDidMount() lifecycle hook, and using the setState() method in the rangeslider onSlide() event. Works great now!
Thanks for the initial pointers!


Support by Fire Point Draw Rules and Example

MIL-STD-2525 alludes to variation in the angle of the two lines for the arrows created by points three and four. However, this variation is seldom used in digital representations, presumably because of the difficulty in rendering it and the fact that the message format doesn't support it. For instance, here it is used in a doctrinal publication:

Note that the lines showing the field of fire don't necessarily match the angle of the support by fire fields
So, my suggestion is to set this as a line feature with two points, and fix the brackets and arrows on either side (remove PT 3 and PT 4).
Also, I would update the example to include a friendly unit icon or remove the enemy unit icon.
For reference:

@joebayles I think that this symbol should actually be a multi-layer marker symbol with two attribute driven symbol components/layers. How someone would draw the symbol would work like this:

User draws the symbol by clicking on the map at the centerpoint of the support by fire
User can rotate and scale the symbol depending on the size
User sets length of lateral support by fire line (attribute driven)
User sets angle of two fires arrows (attribute driven)

I don't think this is currently implementable in ArcGIS, but is definitely in the realm of possibility with symbol overrides, etc. Something to bring to both the SSMC and core.

@Dbarnes1 agreed, I guess I didn't really make my committee suggestion clear. Schema has to be updated.

@joebayles ideally these special case symbols can have UI where user enters angle/line length that isn't locked into our schema (Like how you can apply extrusion without it being in your schema), but we're definitely on the same page.

@joebayles if you are attending the next SSMC in person, this might be a good thing to discuss with the Army representative.  If the angle of the arrows is doctrinally significant, the message standards can be updated.  It takes a few years between the time a message standard is updated and the new version is implemented, tested, and fielded; in the mean time what you are implementing is very usable.

@ottenw - After discussing it at the committee, two things:
Suggest we only vary the length between points 1 and 2

Army rep will discuss with proponent agency.

This generated quite a bit of conversation. BLUF: This is a draw rule and implementation issue that affects several control measures and tactical mission tasks. The suggestion is that Army and Marine Corps will review and generate CPs to clarify guidance.

Esri should review control measures and ensure that the list is complete. Will open another issue for that.

According to the US Army, the only difference from the above graphic is that the angle between the arrows and the base line should be variable, though the length of the arrows should not be. The committee needs some help in deciding what the draw rule should like like, but in this case, it will still probably have to be 4 points. This will be the same for Attack by Fire, just with the one centered arrow, instead of two.
FYI @jeconley @kerryrobinson @ralfgottschalk @lfunkhouser


Question: Is there a way to print back the modified AST

I am able to parse the typescript source into AST. And I am able to modify the AST. But I am not sure how to print back the AST as the source file.
If this is not possible with this library, please let me know if there is any way to achieve this. Thank you.

Hey @shashikiran797
I started the generation of typescript code from the AST, but I never finished it.
Some parts however can be generated:
https://github.com/buehler/node-typescript-parser/tree/master/src/code-generators/typescript-generators


Creating sliders with non-zero begin

Great slider! However I have found this one issue if I modify the minimal example as so:
var slider = createD3RangeSlider(10, 100, "#slider-container");
On initial assignment of slider range (e.g. slider.range(10,20);), the slider appears at the wrong location. Dragging it around or changing the range via the UI fixes things.

Fixed.
https://github.com/pheel/d3RangeSlider/commit/946bf069de29f4ae820922420b602cbbfce10a49


Check build sphinx documentation on Travis CI is broken

Looks like build on Travis is always passing even though doc was clearly broken when @sslattery and I tried to build locally.

@dalg24 was this fixed with #459?

No

DataTransferKit is going to be archived.


[1.21] Enchantment issues

I guess there is a problem with some of the enchantable tags
armors aren't enchantable

the tools and weapons can't be enchanted either

I will look into this.

Minecraft looks for items in Minecraft/tags/item/enchantable for standard tags containing items that can be enchanted in the table

This is due to the update as well... I guess cause of the data-driven enchantments. will be resolved soon.

it would seem that tools and weapons can be enchanted.


Create an API endpoint to manage tickets (including custom fields)

I made a lot of changes inside this proposal for the API. I'm not sure if this does not break anything so this does need testing.
But I believe this could be cleaner and it displays custom fields in the API !

Thanks @Benbb96

Toward #198 for a new API using django restframework

Need some documentation and maybe some unit tests. An example of how to use it in practice would be great. Thanks for the work so far!

Any documentation to use the API calls?

@Benbb96 would you have some time to write up or share some documentation on how to use this API and django rest framework? I'm personally not very familiar with it. Thanks!

@gwasser Yes I think I'll have some tomorrow to add a section in the documentation. I'm willing to add some tests too.

@anust I've added an API section in the docs, can you check in the Files changed if the API is clear enough to you?

Thank you for your work on this @Benbb96! Documentation looks good to me. Needs some testing before getting merged into stable though.

{"detail":"Invalid username/password."}
curl --location --request POST 'http://<IP_ADDRESS>:8000/api/tickets/'     --header 'Authorization: Basic YWRtaW46YWRtaW4='     --header 'Content-Type: application/json'     --data-raw '{"queue": 1, "title": "Test Ticket API", "description": "Test create ticket from API", "submitter_email": "aaminahassan@hotmail.com","priority": 4}'

I have created a user help:help, did curl request
url --location --request POST 'http://<IP_ADDRESS>:8000/api/tickets/'     --header 'Authorization: Basic aGVscDpoZWxwCg=='     --header 'Contentadmin:adminon/json'     --data-raw '{"queue": 1, "title": "Test Ticket API", "description": "Test create ticket from API", "submitter_email": "aaminahassan@hotmail.com","priority": 4}'
got error msg
**{"detail":"Invalid username/password."}**

@anust, your Authorization and Content-Type headers seem to be wrong. Can you try with :
curl --location --request POST 'http://<IP_ADDRESS>:8000/api/tickets/' --header 'Authorization: Basic aGVscDpoZWxw' --header 'Content-Type: application/json' --data-raw '{"queue": 1, "title": "Test Ticket API", "description": "Test create ticket from API", "submitter_email": "aaminahassan@hotmail.com","priority": 4}'

Its working @Benbb96  thanks [

]

Great! I'm glad @anust got it working so easily, sounds like it's about ready to merge. Is it possible to make some unit tests so we don't accidentally break it in future merges?

@gwasser Yes, I hope to get some time this weekend to do this, either way I'll do it next week 😉

Thank you @Benbb96 ! Really appreciate your work on this PR.

I added some tests and I updated the documentation. I believe it's all good for that PR.
Unless you think it would be better to create a new setting in order to activate or not the API?

Thank you @Benbb96 this looks great! I think it might be good to have the API as a setting that can be toggled on/off, since it could potentially be an unnecessary security hole for someone that doesn't intend to use it. Would it be easy to make it a setting or is that a lot of work adding if-then blocks everywhere?

@gwasser Yes I agree, it would be nice to have this setting in order to keep the default behavior with no API.
I believe I can do it during this week.

Ok I believe it's all good for me in that PR. I created a setting HELPDESK_ACTIVATE_API_ENDPOINT which is False by default so it needs to be set to True to get access to the API (which is also restricted to staff users only).
I tried to fix some other tests too but I still have 16 out of 105 tests which don't pass (but this must be worked on another PR)

Thank you @Benbb96 for this very complete PR! We'll have to figure out the tests but this looks good to me for now!

@Benbb96 All API's are working fine, please create one for closing the ticket.

PATCH API closes the tickets but does not generate an email as its response or ticket follow-up.

Hi @anust
In fact, the API doesn't generate emails when adding a followup to a ticket. It would be a lot of work to refactor all the logic inside the update view in staff.py in order to reuse it in the API.
I'll try to take a look but I cannot guarantee that I'll get time to do it.

What should be the closing API for tickets? PATCH? Or followup?
On Mon, 15 Aug 2022 at 9:43 PM, Benbb96 @.***> wrote:

Hi @anust https://github.com/anust
In fact, the API doesn't generate emails when adding a followup to a
ticket. It would be a lot of work to refactor all the logic inside the
update view in staff.py in order to reuse it in the API.
I'll try to take a look but I cannot guarantee that I'll get time to do it.
—
Reply to this email directly, view it on GitHub
https://github.com/django-helpdesk/django-helpdesk/pull/1006#issuecomment-1215338775,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALTJWETPSXEQHEICYKVJDRDVZJXRJANCNFSM5SFYLX4Q
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Best Regards
Aamina Hassan
NUST,Pakistan
"Only dead fish go with the flow*!"*            Andy Hunt

For now with the current API, it should be both. You can first use the Followup endpoint to write a new followup then use the Ticket endpoint with a PATCH request in order to change ticket status to CLOSED (and fill the resolution field as well if you want).


Feat(extras): Add Database Support

Dadbod UI integration For LazyVim

Oh with the optional part I meant
optional = true,

right after the plugin name, not as opts.optional = true

@folke will this get merged?

this is a duplicate of https://github.com/LazyVim/LazyVim/pull/1740

ok then would that get merged?

That depends on the maintainer :)

well i had two other things in mind for a pr but seeing these 60+ open pr's i dont think those will get merge either

Well he does manage alot of open source projects with 100+ prs open so I guess the delay is slef explanatory :)

oh now i remember he has alot of repos, thats okay, i will open my dart and laravel pr's , for lazy extra

@muneebusmani dunno which one would get merged, mine is quite old...
I have this plugin that you don't have:
{ "jsborjesson/vim-uppercase-sql", ft = sql_ft },

Really like it because the SQL convention is all UPPERCASE keywords and I don't type like that (I have capslock obviously mapped to ctrl).

Does completions work in your pr like does sql lsp gets attached into the query window?

@muneebusmani I'm not sure if it uses an LSP but I also included this: vim-dadbod-completion like your pr does. Are you looking into getting diagnostics? I see there are a few LSPs in the mason registry for SQL but I haven't tried any of them.

Closing in favor of #1740
Thank you anyway!


Issue & PR templates

I can work on this, please assign me.

Sure @KendallDoesCoding

Sure @KendallDoesCoding

Thanks.

@KendallDoesCoding are you still working on it?
@agamjotsingh18 Please assign the issue under GSSOC'22 to me.

Sure @jyotivakare33

Yup no problem..
You had 12 days and i still didn't removed the assignment from you.

Yup no problem.. You had 12 days and i still didn't removed the assignment from you.

Thanks! You could've reminded by about it tho :)

@agamjotsingh18 Please review pull-request

We can make a bug and feat issue template instead of just one.


run vscode as root

It would be nice to be able to run vscode as root. When experimenting on this image, it is nice to be able to install software as root and edit root config files in vscode.

VSCode-linux-x64-stable.zip doesn't run as root https://github.com/Microsoft/vscode/issues/5679

With the insiders build, it does run with a warning:
sudo code-insiders --user-data-dir=~/root-data-dir ~/perms-test

I think the solution is to allow it to be run via sudo by adding vscode user to sudo group.
apt-get install -y sudo
adduser vscode sudo
echo 'vscode ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers

Shouldn't be used gksudo to run GUI programs as root?

You should never use normal sudo to start graphical applications as root. You should use gksudo (kdesudo on Kubuntu) to run such programs.  gksudo sets HOME=/root, and copies .Xauthority to a tmp directory. This prevents files in your home directory becoming owned by root.

What is the difference between “gksudo nautilus” and “sudo nautilus”?
https://github.com/Microsoft/vscode/issues/3068 running vscode with gksudo or sudo permission


fix: Poor performance with Nuxt-Mapbox & No access to map data (Circular JSON object)

🐛 The bug
When using devtools with the Nuxt-Mapbox module causes poor performance once the map is loaded. Data from the map stored with useState is not visible with this error shown in console:

🛠 To reproduce
https://stackblitz.com/edit/github-mdpukv
🌈 Expected behavior
Expect the same performance with or without devtools, and be able to analyze the mapbox object in the devtools.
ℹ Additional context
No response

would be great if this issue can be resolved, really sucks having to disable the devtools to test the map

@Flowko I have a fix for this in the works with v1.6 of the module. There is a dev preview you can download.
It involved creating a custom state & reactivity system for the map, but has also brought the performance to be nearly identical to using vanilla mapbox. Unfortunately since this is such a large change it will most likely take me a while to ensure it is complete with no bugs.


[Help] Working SSL on localhost?

Hi, first of all it's more likely that this is not an issue, probably I did something wrong (I'm not an expert!) :D
What I'm trying to do is to have the jwilder proxy container to route all my requests! And for now it's working!
I have the proxy container, then a laravel installation (laradock) and some more lamp containers with other small websites. Everyone have their VIRTUAL_HOST set and all those virtual hosts redirect on <IP_ADDRESS> (edited host file).
What I can't do is to get working HTTPS on my computer (OSX with native docker); i'm trying with https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion but maybe I'm doing something wrong...
Do you have some advices on how to get this done correctly?
Thanks!

Let's encrypt won't issue an SSL cert for localhost. There's nothing you can do about that.

here's my workaround.
Let's assume you own domain example.com.

in your DNS you make A record *.local.example.com -> <IP_ADDRESS>
go to letsencrypt and get *.local.example.com wildcard cert.
put this certificates into certs folder and name them
site.local.example.com.chain.crt
site.local.example.com.crt
site.local.example.com.key
in docker-compose you set env VIRTUAL_HOST: site.local.example.com

I would say that it's definitely possible.
Go through this tutorial to generate root ssl cert and "localhost" domain cert: https://medium.freecodecamp.org/how-to-get-https-working-on-your-local-development-environment-in-5-minutes-7af615770eec
After that just add rootCA.pem to your trusted Authorities in Chrome.
And that's it. "https://localhost/" with secure connection.
Just put the cert in the same directory where letsencrypt created default.key. In my case it was:
"- ./certs:/etc/nginx/certs:rw"

This repo should no longer handle issues or discussions related to nginx-proxy / the nginx-proxy template, unless there is something we need to change / fix in docker-gen in order to allow a change / fix in nginx-proxy.


Update Location handling to 08022017 version

Signed-off-by: Ville Skyttä<EMAIL_ADDRESS>

conflict with #299 no ?

Yes, #299 is much more complete, thanks for that!

So we can close this one. (duplicate of #299)


Remove unused validate_update_volume method

Follow-up to: https://github.com/ManageIQ/manageiq/pull/21181
This has been replaced with supports :update

Backported to morphy in commit 6b6e5b55e91437a1cc08cdc57bc32f7c702542bc.
commit 6b6e5b55e91437a1cc08cdc57bc32f7c702542bc
Author: Oleg Barenboim<EMAIL_ADDRESS>Date:   Tue Apr 20 17:01:32 2021 -0400

    Merge pull request #21186 from agrare/remove_validate_update_volume

    Remove unused validate_update_volume method

    (cherry picked from commit 0be33c3f3f8329a612a0cf56627d8ee23724bb77)


WiP: iperf3 job status & cleanup

Feedback is welcome, but please do not merge just yet!

This is complete from my side - unless there are other changes requested during review.

Please squash during merge.


PAT LO Table - Table header text should be displayed on center

PAT LO Table - Table header text should be aligned to center when we select question id as choose view by word is breaking

@chetandg123  The table headers are aligned to center. If the word is too big then only the first 10 characters of the word will be displayed.
Please take a re-test

Re-tested the defect is Resolved , now working as expected


Make display of interval types more pretty

Which issue does this PR close?

Closes #5914
Rationale for this change
Make display of interval types more pretty.

What changes are included in this PR?
don't print the part in interval when it is zero.

Are there any user-facing changes?

Thanks @Rachelint  -- this looks great. I think now that we have merged https://github.com/apache/arrow-rs/pull/6012 (thanks again BTW!) this PR could be merged / rebased and CI would pass

Thanks @Rachelint -- this looks great. I think now that we have merged #6012 (thanks again BTW!) this PR could be merged / rebased and CI would pass

Oh, forget to push yesterday... Have updated now.

Marking as waiting on next major release. @Rachelint  feel free to make changes as well.

Per discussion on https://github.com/apache/arrow-rs/issues/6050 I am going to merge this branch to the 53.0.0-dev feature branch, where we are collecting PRs with breaking changes before master opens

Per discussion on #6050 I am going to merge this branch to the 53.0.0-dev feature branch, where we are collecting PRs with breaking changes before master opens

Oh, sorry.. forget to push the code about eliminating the repeated codes, I make a new pr to make it.

Thank you @Rachelint


Visualization of classification result

Hello,
I successfully finished to make trained files thanks to your explanation.
I could check the accuracy, however, I don't know how to check the classification result in visualized version
Could you give me some advice about this issue?
Kinds and regards,
Hyoon

Hi, thank you for your interest in our work!
There is no plan to add visualization features for classification results, as this goes beyond the scope of this code, which is to reproduce the result of the corresponding paper. The accuracy is only given through the terminal output and you would need to modify and augment the codebase to add visualization features.
If you have any question regarding the code, please let us know!


Add a button to zoom on the line

A "zoom to" button could be added to the list of line or in the line detail. This would center on the line and ajust the zoom so it takes most of the screen.

Let's do this after the Deck.GL change.


Feat: replaces place images with static ones

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

11 of 29 (37.93%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.6%) to 44.753%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/entities/Place/migration.ts
11
29
37.93%

Totals

Change from base Build<PHONE_NUMBER>:
-0.6%

Covered Lines:
208

Relevant Lines:
328

💛  - Coveralls


PDL

[Enter feedback here]
It might be good idea to write "Preferred Data Location (PDL)" if you going to use PDL as short form in same article. Instead of just writing "When users in a multi-geo environment create a Microsoft 365 Group, the group preferred data location is automatically set to that of the user." it would be better to write "When users in a multi-geo environment create a Microsoft 365 Group, the group Preferred Data Location (PDL) is automatically set to that of the user."
This way it's easy to read and understand without wondering what PDL is.

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

ID: 100a5943-5329-63f6-1fef-5724b29d162a
Version Independent ID: 7819933f-ed32-98bf-d0b2-b088fbbce067
Content: Create a Microsoft 365 Group with a specific PDL - Microsoft 365 Enterprise
Content Source: microsoft-365/enterprise/multi-geo-add-group-with-pdl.md
Service: o365-solutions
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

@GarySurati Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/4817
Thanks
Sri


No option to use internal ECR repos for add-on images using variable ECR_URI

What happened:
In an environment which requires FIPS ./files/bootstrap.sh and ./script/install-worker.sh used the standard ECR URL, There is no option to pass a custom ECR_URI.
This can't be easily set in this code: ./script/install-worker.sh
384.  ECR_URI=$(/etc/eks/get-ecr-uri.sh "${BINARY_BUCKET_REGION}" "${AWS_DOMAIN}")
Basically we should some option/variable to pass a custom ECR_URI to use internal ECR for all image pulls like coredns, pause, kube-proxy, amazon-k8s-cni etc.
What you expected to happen:
To use internal fips compliant ECR with all these add-on images to passed.
Update bootstrap.sh with:

A variable named like $ECR_URI which defaults to regional ecr.
A switch of --ecr_uri which can set as a variable.
Update the line above to use that variable.

How to reproduce it (as minimally and precisely as possible):
Build a new eks cluster without outbound connection:
Output:

EKS nodes - will be in Not Ready state
Pods - aws-node -> Will show Read Timeout errors since it can't reach to public ECR
Pods - kube-proxy -> Same errors since cannot reach out to public ECR

Anything else we need to know?:
Environment: Prod(Federal Complaint)

AWS Region: us-gov-west-2
EKS Platform version (use aws eks describe-cluster --name <name> --query cluster.platformVersion): 1.22

This is also another FIPS issue, as there is no way to tell it to use a FIPS ECR (whether that be the AWS default or customer managed).

We may be misunderstanding how the ECR_URI field is used.
Is it used at each startup (or 1st launch) of an EKS node? Or is it only used during image build?
What is being looked for in this ticket is how to change the ECR endpoint for the EKS "add-ons".

Addons are a separate issue; the only use of ECR in this repository is for the Kubernetes pause/sandbox container image. There was work being done in #1028 to handle that case, but that branch needs some love.
The recent work to cache container images during the build process could also allow pulling from the ecr-fips endpoint. Feel free to open a PR!

Pulling the sandbox image from the ecr-fips endpoint is now possible: https://github.com/awslabs/amazon-eks-ami/blob/e99201099a3c4752af465c03bd5dedda0a729ca8/files/get-ecr-uri.sh#L113-L117


Added some government websites

Thank you @asubodh for your contributions.

Also one thing, let's try to include 2-3 data in a single PR.

Also one thing, let's try to include 2-3 data in a single PR.

Sure 🚀

@asubodh Please resolve the merge conflicts!


Category checked by ID #4498

BUGS:
Link: https://github.com/bagisto/bagisto/issues/4498

@devansh-webkul  still able to delete root category having ID 9
https://prnt.sc/xajzhe
https://prnt.sc/xajw19

@devansh-webkul  still able to delete root category having ID 9
https://prnt.sc/xajzhe
https://prnt.sc/xajw19

@vaishaliwebkul,
This is because either you are not having a fresh installation or you are changing id from the DB. The root category which is coming with the seeder is of id 1.
If the root can be changed then there should be one more checkbox for mentioning that it is a root category or something.
Otherwise, the one which is coming with the seeder can't be deleted.

@vaishaliwebkul,
This is because either you are not having a fresh installation or you are changing id from the DB. The root category which is coming with the seeder is of id 1.
If the root can be changed then there should be one more checkbox for mentioning that it is a root category or something.
Otherwise, the one which is coming with the seeder can't be deleted.

@devansh-webkul currently only the category having ID 1 is not deleted, if we assigned another category as root under channels then able to delete that category.

@devansh-webkul currently only the category having ID 1 is not deleted, if we assigned another category as root under channels then able to delete that category.

@vaishaliwebkul,
The mentioned issue has been fixed.

@vaishaliwebkul,
The mentioned issue has been fixed.

root category is getting deleted from mass delete action https://prnt.sc/xf95lv

root category is getting deleted from mass delete action https://prnt.sc/xf95lv

@vaishaliwebkul,
The mentioned issue has been fixed.

@vaishaliwebkul,
The mentioned issue has been fixed.


Remove pyarrow as hard dependency

Is your feature request related to a problem? Please describe.
pyarrow is a massive, monolithic dependency. It can be hard to install in some places, and can't currently be installed in Pyodide. It's certainly a monumental effort to get it to work in Pyodide, but I think it would be valuable for lonboard to wean off of pyarrow.
The core enabling factor here is the Arrow PyCapsule Interface. It allows Python Arrow libraries to exchange Arrow data at the C level at no cost. This means that we can interface  at no cost with any user who's already using pyarrow, but not be required to use pyarrow ourselves. I've been promoting its use throughout the Python Arrow ecosystem (https://github.com/apache/arrow/issues/39195#issuecomment-2245718008), and hoping this grows into something as core to tabular data processing as the buffer protocol is to numpy.
As part of working to build the ecosystem, I created arro3, a new, very minimal Python Arrow implementation that wraps the Rust Arrow implementation.
I think that it should be possible to swap out pyarrow for arro3, which is about 1% of the normal pyarrow installation size.
It's also symbiotic for the ecosystem if Lonboard shows the benefits of modular Arrow libraries in Python.
Describe the solution you'd like
We'll keep pyarrow as a required dependency for GeoPandas/Pandas interop. pyarrow has implemented pyarrow.Table.from_pandas and that's not something I want to even think about replicating.
But aside from that, pretty much everything is doable in arro3 and geoarrow-rust.

[ ] pa.Table.from_arrays
[ ] Construct a table from named columns
[ ] Write Parquet with specified compression and compression level
[x] Access column from table, positionally
[x] Access Schema from table and field from schema, positionally
[x] Access individual arrays from a chunked array
[ ] arr.flatten() and to_numpy()
[x] Access metadata on field
[ ] Construct a FixedSizeListArray from numpy coords and a list size (this is a bit harder, but is also doing a geoarrow operation that I should be able to do in geoarrow-rs anyways)
[x] Constructor for ChunkedArray from a Python iterable of array objects
[x] Access field metadata

CLI only:

[ ] Read ParquetFile and access geo metadata

Other notes:

Add numpy as direct dependency

Primarily closed by #582

This will be closed with https://github.com/developmentseed/lonboard/pull/598 and #601


Scrollbar thumb color, etc

The scrollbar thumb color is no longer hardwired; using the Theme's highlightColor.
Removed zero Padding widget from the Expand/Collapse list demo.

There's a subtle issue where we won't repaint the scrollbars when the theme changes, but I'm not sure that bug is important.
LGTM


[fix](session variables) Make default value of max_execution_time same to query_timeout

Current problem, UNSET global VARIABLE ALL will write an oplog, which makes query_timeout = 0 when we replay it in a future time-stamp. So we change default value of max_execution_time to 90000 which is consistent to query_timeout default value.

run buildall

run buildall

run buildall


Revert "pull onto temp docker branch for docker testing"

Reverts poldracklab/preprocessing-workflow#125
Most of the changes are not correct (see comments). I prefer to review a larger PR with more meat, attached to the original issue that.
For now is not a big deal, but in a not far future we will need to review the PR with several pairs of eyes...

Ok, I did not see the docker branch. Please dismiss it. Sorry about that.


Module not found: Error: Can't resolve '../src/dropdown-datepicker.vue'

SCRIPT

import DropdownDatepicker from '../src/dropdown-datepicker.vue';
export default {
name: 'App',
components: {
DropdownDatepicker
},
}
VIEW

I am getting an error at import DropdownDatepicker from '../src/dropdown-datepicker.vue'; . I followed GitHub documentation installed the DropdownDatepicker using npm i vue-dropdown-datepicker and currently I am facing this issue. Am I missing out on any further steps?

Hey,
You have used the cdn link,so import statement is not necessary here.Please remove import statement.
I will update the doc for the es6 version.
Thanks

Hey @tanvir0604. I pulled the new code and when I used  . It formatted the date to month-date-year format, as I wanted. But the date of birth button looks different , its on this link . DATE OF BIRTH IMAGE LINK [https://ibb.co/NFtphkL] (https://ibb.co/NFtphkL)

@tanvir0604 any suggestion for my previous issue?

your images seems ok, I didn't get your issue.Please clarify the problem.

I am using  but the button looks like the image above. I followed your document but the button looks different. VIEW BUTTON CODE that I am using

@tanvir0604
I was using laravel mix and install this component through npm. I got this error too, I resolved it using
import DropdownDatepicker from 'vue-dropdown-datepicker/src/dropdown-datepicker.vue';

@tanvir0604
I was using laravel mix and install this component through npm. I got this error too, I resolved it using
import DropdownDatepicker from 'vue-dropdown-datepicker/src/dropdown-datepicker.vue';

Got it. Thank you
On Thu, Jan 21, 2021 at 10:48 AM Arung Isyadi<EMAIL_ADDRESS>wrote:

@tanvir0604 https://github.com/tanvir0604
I was using laravel mix and install this component through npm. I got this
error too, I resolved it using
import DropdownDatepicker from
'vue-dropdown-datepicker/src/dropdown-datepicker.vue';
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tanvir0604/vue-dropdown-datepicker/issues/10#issuecomment-764736330,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACK6K7F2ANCJ7U2NH3XTQPTS3BEGBANCNFSM4NKWE22A
.

--
With Best Regard
Sandesh Phuyal
Web Application Developer
Mobile No:<PHONE_NUMBER>

Got it. Thank you
On Thu, Jan 21, 2021 at 10:48 AM Arung Isyadi<EMAIL_ADDRESS>wrote:

@tanvir0604 https://github.com/tanvir0604
I was using laravel mix and install this component through npm. I got this
error too, I resolved it using
import DropdownDatepicker from
'vue-dropdown-datepicker/src/dropdown-datepicker.vue';
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tanvir0604/vue-dropdown-datepicker/issues/10#issuecomment-764736330,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACK6K7F2ANCJ7U2NH3XTQPTS3BEGBANCNFSM4NKWE22A
.

--
With Best Regard
Sandesh Phuyal
Web Application Developer
Mobile No:<PHONE_NUMBER>

@arungpisyadi thanks
@bemiriq it seems you got the solution.I am going to close this issue.


ls-remote did't work with awk: newline in string error

Operating system and version:
OS: macOS 13.5.1 22G90 arm64
Kernel: Darwin Kernel Version 22.6.0: Wed Jul  5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000 arm64
nvm debug output:

nvm --version: v0.39.5
$TERM_PROGRAM: iTerm.app
$SHELL: /bin/zsh
$SHLVL: 1
whoami: 'tangkunyin'
${HOME}: /Users/tangkunyin
${NVM_DIR}: '${HOME}/.nvm'
$PREFIX: ''
${NPM_CONFIG_PREFIX}: ''
$NVM_NODEJS_ORG_MIRROR: ''
$NVM_IOJS_ORG_MIRROR: ''
shell version: 'zsh 5.9 (x86_64-apple-darwin22.0)'
uname -a: 'Darwin 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul 5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000 arm64'
checksum binary: 'shasum'
OS version: macOS 13.5.1 22G90
awk: /usr/bin/awk, awk version 20200816
curl: /usr/bin/curl, curl 8.1.2 (x86_64-apple-darwin22.0) libcurl/8.1.2 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.11 nghttp2/1.51.0
wget: /opt/homebrew/bin/wget, GNU Wget 1.21.4 在 darwin22.4.0 上编译。
sed: /usr/bin/sed
cut: /usr/bin/cut
basename: /usr/bin/basename
rm: /bin/rm
mkdir: /bin/mkdir
xargs: /usr/bin/xargs
git: /opt/homebrew/bin/git, git version 2.42.0
ls: grep:: No such file or directory
grep: grep: aliased to grep --color=always (grep --color=always), grep (BSD grep, GNU compatible) 2.6.0-FreeBSD
nvm current: v18.16.0
which node: ${NVM_DIR}/versions/node/v18.16.0/bin/node
which iojs: iojs not found
which npm: ${NVM_DIR}/versions/node/v18.16.0/bin/npm
npm config get prefix: ${NVM_DIR}/versions/node/v18.16.0
npm root -g: ${NVM_DIR}/versions/node/v18.16.0/lib/node_modules

nvm ls output:

awk: newline in string \n  [error opening d... at source line 1
awk: newline in string \n  [error opening d... at source line 1
awk: newline in string \n  [error opening d... at source line 1
default -> v18.16 (-> v18.16.0)
iojs -> N/A (default)
unstable -> N/A (default)
node -> stable (-> v18.16.0) (default)
stable -> 18.16 (-> v18.16.0) (default)
lts/* -> lts/hydrogen (-> N/A)
lts/argon -> v4.9.1 (-> N/A)
lts/boron -> v6.17.1 (-> N/A)
lts/carbon -> v8.17.0 (-> N/A)
lts/dubnium -> v10.24.1 (-> N/A)
lts/erbium -> v12.22.12 (-> N/A)
lts/fermium -> v14.21.3 (-> N/A)
lts/gallium -> v16.20.2 (-> N/A)
lts/hydrogen -> v18.17.1 (-> N/A)

nvm ls-remote output:

awk: newline in string \n  [error opening d... at source line 1
awk: newline in string \n  [error opening d... at source line 1
awk: newline in string \n  [error opening d... at source line 1

How did you install nvm?
install script in readme with curl and installed success
What steps did you perform?
try to list local or remote versions (nvm ls | nvm ls-remote)
What happened?
three lines error and ls-remote did't work...
awk: newline in string \n  [error opening d... at source line 1
awk: newline in string \n  [error opening d... at source line 1
awk: newline in string \n  [error opening d... at source line 1

What did you expect to happen?
no error logs and ls-remote works well
Is there anything in any of your profile files that modifies the PATH?
no
Did you try googling for the answer?
yes, but no related answers

What does nvm_ls_remote print out?

What does nvm_ls_remote print out?

It works well

Thanks. Presumably nvm_ls also works well.

@tangkunyin sorry for the delay here; i'm still unable to reproduce. Is this still happening for you?

@tangkunyin sorry for the delay here; i'm still unable to reproduce. Is this still happening for you?

Yes with the nvm version v0.39.7
But now I don't dwell on it anymore, Since then, I have been using nvm_ls. 😂
Thank you for your attention.

I'll close, then, but additional help reproducing the issue would always be welcomed.


Fails to load all applications

Description of issue
We currently have over 24K APM services across multiple subaccounts, under one main account. Whether using v1 or v2, I don't get all of those loaded. Loading takes sometimes 30 mins and even then, I get at most 15K-16K loaded. Usually, loading doesn't complete at all.
Steps to replicate

https://one.newrelic.com/
apps
agent groundskeeper
onscreen it says "Agent Groundskeeper v2, Switch to v1, Scanning 24814 applications"
stuck here for hours, status bar never finishes

-OR-

https://one.newrelic.com/
apps
agent groundskeeper
onscreen it says "Agent Groundskeeper v2, Switch to v2, filter bar defaulted to agents < 2 weeks old and Out of date, Loaded x applications
stuck here for hours, status bar never finishes

Expected Behaviour

step 5 shows 24814 applications loaded
all reports, filters are running against 24814 applications

Relevant Logs / Console output
Your Environment

NR1 CLI version used:
Browser name and version: Google Chrome Version 113.0.5672.127 (Official Build) (64-bit)
Operating System and version: Windows 10 Enterprise 22H2

Additional context
Opened a ticket with New Relic knowing they have had challenges scaling to our volume before and they sent me here

Hi @NickleShy! Thanks for reaching out. Are seeing any error messages in your browser's console? If so, could you please post it here? Please make sure you remove any account specific information before posting it.


Choosing Compass Tracking

What does your feature do?
Players can choose what quest to track via the compass, right clicking on the compass will shuffle between the quests that the user has and it will say in chat which is the quest that is being targeted.
How would people use it?
Right now the compass doesn't track quests that the user wants to do, This will help them decide which one to track.

Thanks for your suggestion. I've made it so that right-clicking a compass will select the next possible target in alphabetical order by name. Left-clicking will reset the compass to bed or spawn location. The use-compass setting in config.yml is no longer used. Instead, the quests.compass permission is given to players by default - revoke it as desired.
Available through this dev build: https://ci.codemc.io/job/PikaMug/job/Quests/77/


When i turn off the power automate for a test entry in my sharepoint list and once i turned on back the power automate triggered the test entries as well.

[Enter feedback here]

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

A polling trigger periodically makes a call to your service to look for new data, whereas a Webhook trigger responds to a push of new data from the service._
https://docs.microsoft.com/en-us/power-automate/triggers-troubleshoot#my-trigger-is-firing-for-old-events
Mitigation is to use Trigger Condition, see details here: https://mspower.herokuapp.com/en/blog/flow-when-item-created-or-modified-triggers-old-events/

@sonycherk Thanks for using Power Automate. We've updated the doc to inform makers that when a flow is turned on, old events may be activated and cause the flow to run.


New assets for the generic version of the Sing 2 map

@soniakandah  Can you help me make some more generic animals with talents?  I've done 2, but don't have time to do many more before the map needs to swap on March 1.
These guys are roughly 50 x 80

Actually, nvm.  I did a couple more last night, and if I think I need more, I'll have plenty of time on the plane to Texas and back :)


Star channels works only with Jio network

Your Environment

Add-on name: [Disney plus hotstar]
Add-on version: [2.0.0]
Kodi version: [Kodi 19]
Operating system version/name: [android 9]
Using from country: [ India..]

Describe the bug
A clear and concise description of what the bug is. Star channels are working ..... Asking for jio network
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See an error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.
Debug log

The debug log can be found from this link:

i have the same issue in my android tv

Hotstar doesn't offer live channels officially on their website or on any other platform even if you have VIP or Premium. The only way to play these channels is to play via the Jio network so this is not a bug but a kind of feature that you can watch live channel if you are using the Jio network

Can you please add one more addon of airtel live tv like jio tv

@iMro0t
Is star channels still streaming through jio fibre(using Kodi)? or we need both active hotstar plan + Jio network?


poor performance in my own model

I copied DenoDet.py into the mmrotate neck folder and used it in my detection model. The training loss before using FrequencySpatialFPN was around 0.2, and it dropped to 0.09 after incorporating FrequencySpatialFPN. However, the inference results with FrequencySpatialFPN are very poor. Is there a problem with my implementation?

Have Discussed on WeChat, Closed.


Add support for message signature

Through S/MIME or gpg.

Already done for gpg, closing.

could the current implementation also be used for S/MIME?

It can but there are no specific methods for it yet, reopening.


Log actual configurations for SegmentCreationMapper

Codecov Report

Merging #3914 into master will increase coverage by 21.25%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master    #3914       +/-   ##
=============================================
+ Coverage     46.02%   67.28%   +21.25%
- Complexity        0        4        +4
=============================================
  Files          1032     1032
  Lines         50884    50884
  Branches       7108     7108
=============================================
+ Hits          23421    34236    +10815
+ Misses        25488    14310    -11178
- Partials       1975     2338      +363

Impacted Files
Coverage Δ
Complexity Δ

...er/validation/BrokerResourceValidationManager.java
25% <0%> (-56.25%)
0% <0%> (ø)

...egation/function/customobject/MinMaxRangePair.java
75.86% <0%> (-24.14%)
0% <0%> (ø)

.../impl/dictionary/LongOffHeapMutableDictionary.java
81.81% <0%> (-5.46%)
0% <0%> (ø)

...mpl/dictionary/DoubleOffHeapMutableDictionary.java
72.72% <0%> (-5.46%)
0% <0%> (ø)

...impl/dictionary/FloatOffHeapMutableDictionary.java
87.27% <0%> (-1.82%)
0% <0%> (ø)

...ation/function/MinMaxRangeAggregationFunction.java
73.25% <0%> (-1.17%)
0% <0%> (ø)

...ava/org/apache/pinot/common/request/Selection.java
35.8% <0%> (+0.49%)
0% <0%> (ø)
:arrow_down:

...i/resources/PinotSegmentUploadRestletResource.java
67.82% <0%> (+0.49%)
0% <0%> (ø)
:arrow_down:

...ot/common/protocols/SegmentCompletionProtocol.java
94.15% <0%> (+0.58%)
0% <0%> (ø)
:arrow_down:

...re/realtime/impl/kafka/KafkaConnectionHandler.java
69.87% <0%> (+0.6%)
0% <0%> (ø)
:arrow_down:

... and 520 more

Continue to review full report at Codecov.

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


[PIP-153] Optimize metadataPositions in MLPendingAckStore

Motivation
This optimization is to optimize a map in MLPendingAckStore to save memory and avoid OOM.
Now, there is a map (metadataPositions) in MLPendingAckStore, which value is the max position acked by an operation and key is the position which is persistent in pendingAck.And the map is used to clear useless  data in PendingAck.
It will judge the position with the max sub cursor position whether smaller than the subCursor markDeletePosition. If the max position is smaller than the subCursor mark delete position, the log cursor will mark delete the position.
The current implementation is shown below:

In normal times, this map will store all transaction ack operations in this map once. This is a waste of memory and CPU.
And if a transaction that has not been committed for a long time acks a message in a later position, the map will not be cleaned up, and finally lead to the problem of OOM.

Goal
Optimize the metadataPositions in MLPendingAckStore to take up less memory and not cause OOM.
Implementation
The preferred solution now is to change the value stored in the map. The key is the thisLastConfirmEntry of pendingAck, and the value is the largest ack position that has appeared.
Component Design
thisLastConfirmEntry And maxAckPosition

maxAckPosition: the largest ack position of origin topic.
thisLastConfirmEntry:  the position persistent by pendingAck log, when need to store a maxAckPosition.
The specific implementation is shown in the figure：

metadataPositions

Define: ConcurrentSkipListMap<PositionImpl, PositionImpl> metadataPositions
key: maxAckPosition
value: thisLastConfirmEntry
Max Size: Fixed value = 500

maxAckPositionChangeTimes And upperLimitOfMaxAckPositionChangeTimes

maxAckPositionChangeTimes: change times of maxAckPosition.
upperLimitOfMaxAckPositionChangeTimes

init value: Tentatively set to 0
update:

when maxAckPositionChangeTimes >= upperLimitOfMaxAckPositionChangeTimes, store thisLastConfirmEntry and maxAckPosition into map(metadataPositions);And update upperLimitOfMaxAckPositionChangeTimes then upperLimitOfMaxAckPositionChangeTimes = metadataPositions.size * 500
update to init value 0 when metadataPositions size = 0;

Add and remove elements to metadataPositions

where:   managedLedger.asyncAddEntry  -> addComplete
When:

Add:  maxAckPositionChangeTimes >= upperLimitOfMaxAckPositionChangeTimes
Remove: value(maxAckPosition < PersistentMarkDeletePosition of origin topic sub cursor)

If metadataPositions size = 0, then update upperLimitOfMaxAckPositionChangeTimes = init value (0)
clear data in pendingAck log for position before key(thisLastConfirmEntry)

General process

use transaction to ack massage, and we will get a persistent position when append this  ack operation into pendingAck log.
compute the max ack position in this ack operation, and compere it with maxAckPosition.
If it >  maxAckPosition, maxAckPosition = it,  maxAckPositionChangeTimes +1
If maxAckPositionChangeTimes > upperLimitOfMaxAckPositionChangeTimes, store the value of  maxAckPosition and thisLastConfirmEntry into the metadataPositions.
If the size of metadataPositions == 500, discard the last key-value put in before, and then put the key-value this time
Recalculate the value of upperLimitOfMaxAckPositionChangeTimes.
upperLimitOfMaxAckPositionChangeTimes = metadataPositions.size * 500.
Get first key-value in metadataPositions, check if value (maxAckPosition) < persistentMarkDeletePositions of origin topic sub cursor
If true ack position before the key (thisLastConfirmEntry) in pendingAckLog.
remove the key-value, then update upperLimitOfMaxAckPositionChangeTimes.
upperLimitOfMaxAckPositionChangeTimes = metadataPositions.size * 500

Recover
It is the same as the normal ack message processing flow.
Read ack operation from disk, update maxAck Position and thisLastConfirmEntry. When upperLimitOfMaxAckPositionChangeTimes is reached, store the values of maxAck Position and thisLastConfirmEntry into map (metadataPositions) once, and update upperLimitOfMaxAckPositionChangeTimes.
It should be noted that after each entry is read and processed, the persistentMarkDeletePosition of the origin topic is obtained and compared with the maxAckPosition stored in metadataPositions to complete the pendingAck log cleanup operation.
Reject Alternatives

Does not change the values stored in the map, but changes the order in which they are stored. Sort by value.
Advantages: The problem of OOM can be alleviated to a certain extent, but it cannot be solved to a fundamental extent.
Disadvantages: Can't reduce memory usage during normal use
Use timer to store the above lastConfirmEntry and maxAckPosition regularly
Advantages: Can reduce memory usage during normal use
Disadvantages: The placed positions are unevenly spaced, and there may be only a few ack operations for a while, but they are still stored in the map once. And when the ack operation is very frequent, it has not been stored in the map.

thisLastConfirmEntry is a variable, it means the last confirm entry. It may be a little out of sync with the real LAC, but semantically the same. So I name it thisLastConfirmEntry.

upperLimitOfMaxAckPositionChangeTimes = metadataPositions.size * 500

when maxAckPosition change times reaches upperLimitOfMaxAckPositionChangeTimes, will store (maxAckPosition, thisLastConfirmEntry) into metadataPositions(pendingAckLogReverseIndex).
So it is almost impossible to have indexes that are too close.


Strange tsp solution with repeated locations

I'm running the start_ends example with the data model as below. I haven't changed any other code. The data has 4 repeated locations: 1, 2, 3, 6. The solution that I receive is 0 -> 6 -> 9 -> 7 -> 8 -> 1 -> 2 -> 3 -> 5 -> 4 -> 10. I don't quite understand why the repeated locations wouldn't occur sequentially (6 is visited separately from 1, 2, 3).
    const std::vector<std::vector<int64_t>> distance_matrix{
        {0, 919, 919, 919, 6053, 4354, 919, 3926, 3926, 8859, 0, },
        {919, 0, 0, 0, 6349, 4650, 0, 3007, 3007, 7939, 919, },
        {919, 0, 0, 0, 6349, 4650, 0, 3007, 3007, 7939, 919, },
        {919, 0, 0, 0, 6349, 4650, 0, 3007, 3007, 7939, 919, },
        {6053, 6349, 6349, 6349, 0, 1698, 6349, 9356, 9356, 14289, 6053, },
        {4354, 4650, 4650, 4650, 1698, 0, 4650, 7658, 7658, 12590, 4354, },
        {919, 0, 0, 0, 6349, 4650, 0, 3007, 3007, 7939, 919, },
        {3926, 3007, 3007, 3007, 9356, 7658, 3007, 0, 0, 4932, 3926, },
        {3926, 3007, 3007, 3007, 9356, 7658, 3007, 0, 0, 4932, 3926, },
        {8859, 7939, 7939, 7939, 14289, 12590, 7939, 4932, 4932, 0, 8859, },
        {0, 919, 919, 919, 6053, 4354, 919, 3926, 3926, 8859, 0, },
   };

    const int num_vehicles = 1;

    const std::vector<RoutingIndexManager::NodeIndex> starts{
        RoutingIndexManager::NodeIndex{0},
    };
    const std::vector<RoutingIndexManager::NodeIndex> ends{
        RoutingIndexManager::NodeIndex{10},
    };

I suppose the issue is that when you're travelling through a location and returning through it in exactly the same way, it doesn't matter whether you complete it on the way there or on the way back. In the image below, you could do 1 -> 3 -> 2 -> 1, or 1 -> 2 -> 3 -> 1 which both have equivalent distance cost.
Is there a way to cause the vehicle to prefer visiting nodes on the way out instead of on the way back?


google_play_track_version_codes notFound: Track not found

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

CI and local fastlane failed, it was working before, today it started reporting
notFound: Track not found
this is specific to production and beta. works fine with internal
Command executed

This works
internal_version_codes = google_play_track_version_codes(package_name: "com..l",track: "internal")
This fails:
production_version_codes = google_play_track_version_codes(package_name: "com..",track: "production")
This also fails:
beta_version_codes = google_play_track_version_codes(package_name: "com..",track: "beta")
Complete output when running fastlane, including the stack trace and command used

 INFO [2020-03-11 15:34:28.43]: -----------------------------
INFO [2020-03-11 15:34:28.43]: --- Step: update_fastlane ---
INFO [2020-03-11 15:34:28.43]: -----------------------------
INFO [2020-03-11 15:34:28.43]: Looking for updates for fastlane...
INFO [2020-03-11 15:34:34.06]: Nothing to update ✅
INFO [2020-03-11 15:34:34.06]: ------------------------------
INFO [2020-03-11 15:34:34.06]: --- Step: default_platform ---
INFO [2020-03-11 15:34:34.06]: ------------------------------
INFO [2020-03-11 15:34:34.06]: Driving the lane 'android send_bundle_to_google' 🚀
INFO [2020-03-11 15:34:34.07]: ---------------------------------------------
INFO [2020-03-11 15:34:34.07]: --- Step: google_play_track_version_codes ---
INFO [2020-03-11 15:34:34.07]: ---------------------------------------------
DEBUG [2020-03-11 15:34:34.08]: Fetching a new access token from Google...
INFO [2020-03-11 15:34:36.69]: Found '54' version codes in track 'internal'
INFO [2020-03-11 15:34:36.69]: ---------------------------------------------
INFO [2020-03-11 15:34:36.69]: --- Step: google_play_track_version_codes ---
INFO [2020-03-11 15:34:36.69]: ---------------------------------------------
DEBUG [2020-03-11 15:34:36.69]: Fetching a new access token from Google...
WARN [2020-03-11 15:34:39.04]: Lane Context:
INFO [2020-03-11 15:34:39.04]: {:DEFAULT_PLATFORM=>:android, :PLATFORM_NAME=>:android, :LANE_NAME=>"android send_bundle_to_google"}
ERROR [2020-03-11 15:34:39.04]: notFound: Track not found: production.
INFO [2020-03-11 15:34:39.04]: Successfully generated documentation at path '***/README.md'
DEBUG [2020-03-11 15:34:39.05]: All plugins are up to date
ERROR [2020-03-11 15:34:39.05]: fastlane finished with errors
DEBUG [2020-03-11 15:34:39.56]: All plugins are up to date

I've run into this issue myself and I made a PR to fix it:
https://github.com/fastlane/fastlane/pull/16161
In the meantime, I added a workaround in my Fastfile:
lane :get_google_play_track_version_codes do |options|
  track_version_codes = []
  begin
    track_version_codes = google_play_track_version_codes(
      package_name: options[:package_name],
      track: options[:track],
      json_key: options[:json_key],
    )
  rescue => gptvcError
    puts gptvcError.to_s
    if (gptvcError.class != Google::Apis::ClientError || gptvcError.status_code != 404)
      raise gptvcError
    end
  end
  track_version_codes
end

Simply call get_google_play_track_version_codes instead of google_play_track_version_codes and it should work for now, although it will report a catched error during the lane execution.
I hope this helps!

@androidseb Thank you for the workaround until PR is merged


Improve structure of tutorials

Busy developers, wandering minds. So I thought it's easier to understand now :)

Thanks for the contribution! However, this is a read-only mirror. please read the contribution guide. Also, feel free to join us on chat!


Unify interface types

The types in the Request and Response structs should be unified.
For instance in AuthRequest the username field is a String but in CreateResponse is a Vec<u8>.
Or in CreateRequest round_pubkey is a String but ephem_msk is a Vec<u8>.
Field types should be coherent

@driemworks I'd like to get your input here


Carthage support

In case anyone needs it.

:+1: Thanks @vasarhelyia.
I can confirm this is working and could be merged into master.


Carousel view - Lightbox Effect Not Working

In any of the AMP modes, the lightbox effect is not working for stories displayed in carousel view on mobile.

This is now fixed


ERROR "Cannot read property 'container' of undefined" in autocomplete" when destroy

When ace-editor destroying  this error occur:
Cannot read property 'container' of undefined

I found it happens when autocomplete enabled.Thank you.

It is an ace-editor bug
I update ace-builds solve this problem
    "ng2-ace-editor": "^0.3.9",
    "ace-builds": "^1.4.7"