text:
TypeError: this.mChart.getCustomRenderer is not a function with CombinedChart

Summary
By adding a BubbleData to a CombinedChart or setting CUBIC_BEZIER mode of a LineData, the app crashs
Device (please complete the following information):

Device: emulator Pixel 4
Android Version: 11
Version: 1.1.31

Example
BubbleData:
import { CombinedData } from '@nativescript-community/ui-chart/data/CombinedData';
import { BubbleDataSet } from '@nativescript-community/ui-chart/data/BubbleDataSet';
import { BubbleData } from '@nativescript-community/ui-chart/data/BubbleData';

const combinedData = new CombinedData();
const bubbleDataSet = new BubbleDataSet([{
    x: 1,
    y: 1,
    size: .3
}, {
    x: 1,
    y: 2,
    size: .5
}], 'Test', 'x', 'y');
combinedData.setData(new BubbleData([bubbleDataSet]));
chart.setData(combinedData); //chart is a CombinedChart -> but works fine on BubbleChart (without CombinedData wrapper)

LineData:
import { CombinedData } from '@nativescript-community/ui-chart/data/CombinedData';
import { LineDataSet, Mode } from '@nativescript-community/ui-chart/data/LineDataSet';
import { LineData } from '@nativescript-community/ui-chart/data/LineData';

const combinedData = new CombinedData();
const lineDataSet = new LineDataSet([{
    x: 1,
    y: 2
}, {
    x: 2,
    y: 1
}, {
    x: 3,
    y: 2
}], 'Test1', 'x', 'y');
lineDataSet.setMode(Mode.CUBIC_BEZIER); // it works fine without this line
combinedData.setData(new LineData([lineDataSet]));
chart.setData(combinedData); //chart is a CombinedChart -> but works fine on LineChart and CUBIC_BEZIER mode

Error
System.err: An uncaught Exception occurred on "main" thread.
System.err: Calling js method onDraw failed
System.err: TypeError: this.mChart.getCustomRenderer is not a function
System.err:
System.err: StackTrace:
System.err: drawDataSet(file: app\src\renderer\BubbleChartRenderer.ts:82:41)
System.err:     at drawData(file: app\src\renderer\BubbleChartRenderer.ts:49:21)
System.err:     at drawData(file: app\src\renderer\CombinedChartRenderer.ts:71:57)
System.err:     at onDraw(file: app\src\charts\BarLineChartBase.ts:222:27)
System.err:     at onDraw(file: app\src\canvas.android.ts:618:21)
System.err:     at com.tns.Runtime.callJSMethodNative(Native Method)
System.err:     at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1302)
System.err:     at com.tns.Runtime.callJSMethodImpl(Runtime.java:1188)
System.err:     at com.tns.Runtime.callJSMethod(Runtime.java:1175)
System.err:     at com.tns.Runtime.callJSMethod(Runtime.java:1153)
System.err:     at com.tns.Runtime.callJSMethod(Runtime.java:1149)
System.err:     at com.tns.gen.com.akylas.canvas.DrawListener.onDraw(DrawListener.java:18)
System.err:     at com.akylas.canvas.CanvasView.onDraw(CanvasView.java:27)
System.err:     at android.view.View.draw(View.java:22350)
System.err:     at android.view.View.updateDisplayListIfDirty(View.java:21226)
System.err:     at android.view.View.draw(View.java:22081)
System.err:     at android.view.ViewGroup.drawChild(ViewGroup.java:4516)
System.err:     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4277)
System.err:     at android.view.View.updateDisplayListIfDirty(View.java:21217)
System.err:     at android.view.View.draw(View.java:22081)
System.err:     at android.view.ViewGroup.drawChild(ViewGroup.java:4516)
System.err:     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4277)
System.err:     at android.view.View.updateDisplayListIfDirty(View.java:21217)
System.err:     at android.view.View.draw(View.java:22081)
System.err:     at android.view.ViewGroup.drawChild(ViewGroup.java:4516)
System.err:     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4277)
System.err:     at android.view.View.draw(View.java:22353)
System.err:     at android.view.View.updateDisplayListIfDirty(View.java:21226)
System.err:     at android.view.View.draw(View.java:22081)
System.err:     at android.view.ViewGroup.drawChild(ViewGroup.java:4516)
System.err:     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4277)
System.err:     at android.view.View.draw(View.java:22353)
System.err:     at android.view.View.updateDisplayListIfDirty(View.java:21226)
System.err:     at android.view.View.draw(View.java:22081)
System.err:     at android.view.ViewGroup.drawChild(ViewGroup.java:4516)
System.err:     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4277)
System.err:     at android.view.View.updateDisplayListIfDirty(View.java:21217)
System.err:     at android.view.View.draw(View.java:22081)
System.err:     at android.view.ViewGroup.drawChild(ViewGroup.java:4516)
System.err:     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4277)
System.err:     at android.view.View.updateDisplayListIfDirty(View.java:21217)
System.err:     at android.view.View.draw(View.java:22081)
System.err:     at android.view.ViewGroup.drawChild(ViewGroup.java:4516)
System.err:     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4277)
System.err:     at android.view.View.draw(View.java:22353)
System.err:     at android.view.View.updateDisplayListIfDirty(View.java:21226)
System.err:     at android.view.View.draw(View.java:22081)
System.err:     at android.view.ViewGroup.drawChild(ViewGroup.java:4516)
System.err:     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4277)
System.err:     at android.view.View.draw(View.java:22353)
System.err:     at android.view.View.updateDisplayListIfDirty(View.java:21226)
System.err:     at android.view.View.draw(View.java:22081)
System.err:     at android.view.ViewGroup.drawChild(ViewGroup.java:4516)
System.err:     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4277)
System.err:     at android.view.View.updateDisplayListIfDirty(View.java:21217)
System.err:     at android.view.View.draw(View.java:22081)
System.err:     at android.view.ViewGroup.drawChild(ViewGroup.java:4516)
System.err:     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4277)
System.err:     at android.view.View.updateDisplayListIfDirty(View.java:21217)
System.err:     at android.view.View.draw(View.java:22081)
System.err:     at android.view.ViewGroup.drawChild(ViewGroup.java:4516)
System.err:     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4277)
System.err:     at android.view.View.updateDisplayListIfDirty(View.java:21217)
System.err:     at android.view.View.draw(View.java:22081)
System.err:     at android.view.ViewGroup.drawChild(ViewGroup.java:4516)
System.err:     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4277)
System.err:     at android.view.View.updateDisplayListIfDirty(View.java:21217)
System.err:     at android.view.View.draw(View.java:22081)
System.err:     at android.view.ViewGroup.drawChild(ViewGroup.java:4516)
System.err:     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4277)
System.err:     at android.view.View.draw(View.java:22353)
System.err:     at com.android.internal.policy.DecorView.draw(DecorView.java:806)
System.err:     at android.view.View.updateDisplayListIfDirty(View.java:21226)
System.err:     at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:559)
System.err:     at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:565)
System.err:     at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:642)
System.err:     at android.view.ViewRootImpl.draw(ViewRootImpl.java:4101)
System.err:     at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:3828)
System.err:     at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3099)
System.err:     at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1952)
System.err:     at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8171)
System.err:     at android.view.Choreographer$CallbackRecord.run(Choreographer.java:972)
System.err:     at android.view.Choreographer.doCallbacks(Choreographer.java:796)
System.err:     at android.view.Choreographer.doFrame(Choreographer.java:731)
System.err:     at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:957)
System.err:     at android.os.Handler.handleCallback(Handler.java:938)
System.err:     at android.os.Handler.dispatchMessage(Handler.java:99)
System.err:     at android.os.Looper.loop(Looper.java:223)
System.err:     at android.app.ActivityThread.main(ActivityThread.java:7656)
System.err:     at java.lang.reflect.Method.invoke(Native Method)
System.err:     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
System.err: com.tns.NativeScriptException: TypeError: Cannot read property 'FirebaseCrashlytics' of undefined
System.err:     at com.tns.Runtime.passExceptionToJsNative(Native Method)
System.err:     at com.tns.Runtime.passUncaughtExceptionToJs(Runtime.java:84)
System.err:     at com.tns.NativeScriptUncaughtExceptionHandler.uncaughtException(NativeScriptUncaughtExceptionHandler.java:34)
System.err:     at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1073)
System.err:     at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068)
System.err:     at java.lang.Thread.dispatchUncaughtException(Thread.java:2203)

@wendt88 should be fixed in 1.1.32

Thx! works fine.
found an other small issue:
works:
new BubbleDataSet([{
    x: 1,
    y: 2,
    size: .5
}], 'Test', 'x', 'y', 'size');

does not work:
new BubbleDataSet([{
    x: 1,
    y: 2,
    z: .5
}], 'Test', 'x', 'y', 'z');

it seems that the 5th param of BubbleDataSet (sizeProperty) is not used, the key must be called size, otherwise it does not work

@wendt88 thanks will fix that when i have the time!

repo: nativescript-community/ui-chart


text:
create_visibility_waiter and similar methods do not combine find_args and runtime_args correctly

Context in which I found the issue: site_prism 2.9, capybara 2.10.2.
I like to use this:
element  :page_title, ".page_title", text: "My page title"

and use the element in a visibility waiter:
wait_until_page_title_visible

That does not work correctly. Capybara shows a warning:
gems/capybara-2.10.2/lib/capybara/queries/selector_query.rb:26:in `initialize' :
Unused parameters passed to Capybara::Queries::SelectorQuery : [{:text=>"My page title"}]

site_prism's create_visibility_waiter does not combine the find_args, the runtime_args, and visible: true correctly. Here is the method:
def create_visibility_waiter(element_name, *find_args)
  method_name = "wait_until_#{element_name}_visible"
  create_helper_method method_name, *find_args do
    define_method method_name do |timeout = Waiter.default_wait_time, *runtime_args|
      Timeout.timeout timeout, SitePrism::TimeOutWaitingForElementVisibility do
        Capybara.using_wait_time 0 do
          sleep 0.05 until element_exists?(*find_args, *runtime_args, visible: true)
        end
      end
    end
  end
end

In the given example, create_visibility_waiter is called with these find_args:
[".page_title", {:text=>"My page title"}]

When wait_until_page_title_visible is called, the runtime_args are:
[]

wait_until_page_title_visible calls element_exists? with these arguments:
[".page_title", {:text=>"My page title"}, {:visible=>true}]

element_exists? sends the arguments to Capybara's has_selector?, but the argument list is not supported.
The find_args, the runtime_args, and visible: true should be combined differently, so that the correct argument list is passed to element_exists?. Something like this:
def create_visibility_waiter(element_name, *find_args)
  method_name = "wait_until_#{element_name}_visible"
  create_helper_method method_name, *find_args do
    define_method method_name do |timeout = Waiter.default_wait_time, *runtime_args|
      Timeout.timeout timeout, SitePrism::TimeOutWaitingForElementVisibility do
        Capybara.using_wait_time 0 do
          find_options = find_args.last.is_a?(Hash) ? find_args.pop : {}
          runtime_options = runtime_args.last.is_a?(Hash) ? runtime_args.pop : {}
          options = find_options.merge(runtime_options).merge(visible: true)
          sleep 0.05 until element_exists?(*find_args, *runtime_args, options)
        end
      end
    end
  end
end

Note that not only create_visibility_waiter has this issue. create_existence_checker, create_nonexistence_checker, create_waiter, and create_invisibility_waiter have the same issue.

Hi there. You've found an interesting issue. But before this gets re-prioritised can I just ask you to confirm this is still and issue (Issue is nearly a year old).
Also can you provide an SSCCE for me to test against with an example of where the code is falling over.
Alternatively, if you're happy landing the PR yourself (Alongside the Test page), then feel free to do so.
Thanks for the report

Re-open a new issue if still present

source: gharchive/issue

authors: koendehondt luke-hill

license_type: permissive

license_source: bigquery


text:
Performance degradation in version 1.0

The performance of the java client has dramatically decreased from v0.7.3 to v1.0. The NatsBench utility reports a 30% performance reduction for the production of a million 100-byte messages and my own applications run at one quarter of the speed when producing messages.

Whoa. That's really surprising. What gnatsd version? I'll look into it.
On Tue, Feb 7, 2017 at 1:09 PM, bagguley notifications@github.com wrote:

The performance of the java client has dramatically decreased from v0.7.3
to v1.0. The NatsBench utility reports a 30% performance reduction for the
production of a million 100-byte messages and my own applications run at
one quarter of the speed when producing messages.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nats-io/java-nats/issues/99, or mute the thread
https://github.com/notifications/unsubscribe-auth/AGq4LJShe2oJw9dl6x3ZtDHsX2HCptmBks5raN1_gaJpZM4L6CUC
.

--
Larry McQueary | NATS.IO Product Management
@mcqueary | github.com/mcqueary

I used it with the latest Linux version 0.9.6 of gnatsd, 64bit.

@bagguley Thanks for raising this issue. I see how the problem was introduced and I'll get it fixed ASAP.

No problem, I look forward to the fix!

Closed by #101

Hi, it's in the current master 1.1-SNAPSHOT if you would like to try it out.
On Tue, Feb 7, 2017 at 3:46 PM bagguley notifications@github.com wrote:

No problem, I look forward to the fix!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nats-io/java-nats/issues/99#issuecomment-278168810,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGq4LOic_3z-_C4GHnLc5AtUdJvG2pEXks5raPRRgaJpZM4L6CUC
.

--
Larry McQueary | NATS.IO Product Management
@mcqueary | github.com/mcqueary

Sorry for the delay in getting back to you. The performance looks good now. Any idea when it might be released? Also, GitHub is showing the latest release as 0.5.3 -> https://github.com/nats-io/java-nats/releases

@bagguley , Good to hear about the performance.  About the github release - the current SNAPSHOT is pretty far ahead of the github releases.  I plan to normalize those at the next stable (non-snapshot) release.
There are a few other things we are looking at before another release - is this blocking you?
Thanks,
Colin

Yes, it would be good to sort out the versioning, it's not clear which ones are snapshots. Plus. the nats.io website says that the latest version is 0.7.1, which is confusing.
It's not blocking me at the moment as I'm using a client version prior to 1.0.

authors: ColinSullivan1 bagguley mcqueary

repo: nats-io/java-nats


text:
How to expose nats server  with an external IP with advertiseExternalIP option

hello
how to expose  nats cluster to external IP with advertiseExternalIP option i just tried below settings and it is not worked
used : AKS cluster
created an LB with appropriate selector and port opened for 4222
and configured nats-cluster with below settings
apiVersion: nats.io/v1alpha2
kind: NatsCluster
metadata:
  name: demo-nats-cluster
spec:
  size: 2
  version: "1.4.1"
  tls:
    serverSecret: "nats-clients-tls"
    routesSecret: "nats-routes-tls"
  pod:
    enableClientsHostPort: true
    advertiseExternalIP: true
    bootconfigImage: "connecteverything/nats-boot-config"
    bootconfigImageTag: "0.5.0"
  template:
    spec:
      serviceAccountName: "nats-server"

but  i am getting  the error from init controller
time="2019-03-26T03:04:46Z" level=info msg="Starting NATS Server boot config v0.5.0"
time="2019-03-26T03:04:46Z" level=info msg="Pod running on node \"aks-nodepool1-36780942-0\""
time="2019-03-26T03:04:46Z" level=fatal msg="Could not find external IP address."

FYI . i am able to expose nats cluster without these by  just adding the LB alone(with out init pod) ,but i am not sure whether that is an right approach
please clarify & how to expose nats cluster to outside clients

On AKS I've used, the Azure nodes do not have a public ip (ExternalIP) which is required to be able to connect to the port without using external load balancers. This would be fine on GKE and latest EKS I believe but on AKS you need to use something like https://github.com/dgkanatsios/AksNodePublicIPController so that the external node has a public ip which can be then advertised to the clients.

@wallyqs  thank you for the quick answer using above i am able to create the cluster successfully,but without load balancer how can i expose the nats cluster to the outside (like accessing from another device machine where the client runs)

great to hear that it worked, for connecting to the nodes you could then use the external ip from the kubelet node where it is running using the port 4222 (you may have to change the firewall to expose that port for external access as well)

@wallyqs  thank you am able to  expose the nats server without load balancer
just one quick question
i just enabled authorisation as per the example below
https://github.com/nats-io/nats-operator#using-a-single-secret-with-the-explicit-configuration
and used the C# client   with nats://username:pass@server:port format
but i got an exception saying
[1] 2019/03/26 12:00:23.791575 [ERR] 111.93.250.90:35337 - cid:5 - authorization error - User ""
is there any additional settings needs to be done?

If using Kubernetes v1.12 or above, try enabling config reload:
apiVersion: nats.io/v1alpha2
kind: NatsCluster
metadata:
name: example-nats
spec:
size: 3
version: "1.2.0"
pod:
enableConfigReload: true

@wallyqs  kube version is V1.9 .for my understanding  "enableConfigReload: true" is for on the fly configuration change but for now i just deleted the cluster and created new with authorisation but that also didn't worked
server config is below
apiVersion: nats.io/v1alpha2
kind: NatsCluster
metadata:
name: demo-nats-cluster
spec:
size: 2
version: "1.4.1"
auth:
clientsAuthSecret: "nats-clients-auth"
clientsAuthTimeout: 5
tls:
serverSecret: "nats-clients-tls"
routesSecret: "nats-routes-tls"
pod:
enableClientsHostPort: true
advertiseExternalIP: true
bootconfigImage: "connecteverything/nats-boot-config"
bootconfigImageTag: "0.5.0"
template:
spec:
serviceAccountName: "nats-server"
and client auth secret is created from below json
{
"users": [
{ "username": "user1", "password": "$2a$11$1oJy/wZYNTxr9jNwMNwS3eUGhBpHT3On8CL9o7ey89mpgo88VG6ba","permissions": {
"publish": ["foo."],
"subscribe": ["foo."]
} }
],
"default_permissions": {
"publish": ["SANDBOX.*"],
"subscribe": ["PUBLIC.>"]
}
}
and getting the same error saying like
[1] 2019/03/27 03:17:18.974871 [ERR] 111.93.250.90:51162 - cid:3 - authorization error - User ""
may be this related to client side issue?
client side C#
ConnectionFactory cf = new ConnectionFactory();
Options opts = ConnectionFactory.GetDefaultOptions();
opts.Secure = true;
opts.Url = "nats://username:pass@server:4222";

@wallyqs  sorry  this  one is client side issue .working fine now
thanks

@nithinkd-geon glad to hear everything went well, one issue with Kubernetes v1.9 is that the authorization configuration will be static so the secret has to be ready before the pods are deployed since config reload can't be used.

@wallyqs  got it

authors: nithinkd-geon wallyqs

repo: nats-io/nats-operator


text:
Correct URI's for youtube videos

First of all thank you very much for the great project I really appreciate your effort.
My post should just be a reference for anybody else who is having the same problem as I had, maybe you could also update the documentation a bit.
My problem:
I added the youtube urls as it is described in the documentation, e.g.
yt:https://www.youtube.com/watch?v=RPfFhfSuUZ4

Unfortunately I always had the following error when executing
service mopidy status

or
sudo journalctl -u mopidy

Error:
mopidy-youtube Backend translated URI to None

Solution
After googling a while and having a look at the following posts i came up with a solution:
https://github.com/natumbri/mopidy-youtube/issues/21#issuecomment-334339959
The solution is to use the following syntax for youtube videos:
youtube:video/.<youtube video id>

So the following url
yt:https://www.youtube.com/watch?v=RPfFhfSuUZ4

becomes to
youtube:video/.RPfFhfSuUZ4

Actually, on second thoughts, I think it is sufficient that you can add a youtube playlist by queuing them up with a uri in the form [yt|youtube]:<url to youtube playlist> or [yt|youtube]:playlist/<title>.<id>.  On that basis, I'm not going to try to change how the extension handles a YouTube uri that it gets from a mopidy playlist.

authors: Thomas-Sparber natumbri

repo: natumbri/mopidy-youtube

license_source: github-api


text:
quick fix page size override

A specificity conflict was forcing pages to the letter size, from this commit: Add default page size to brewrenderer.less
This PR lowers specificity for that selector using :where.

Thanks @5e-Cleric !

source: gharchive/pull-request

repo: naturalcrit/homebrewery

license: MIT


text:
Fix versioning to be accepted into the Rack community repository

Rack v0.5.1 will include a plugin manager, and plugins need to follow the versioning guidelines in order to be accepted. You can use this example plugin Makefile and Tutorial.cpp file as a reference for making sure the version is the same in the C++, Makefile, and JSON manifest.

Your plugin is versioned as v1.0. This needs to be v0.5.something.

Once you've fixed this, send a PR to the Rack community repository and remove the "disabled" property in the JSON manifest file.

did it, thanks


text:
Multiple jobs created from a single scheduled job

Environment

Nautobot version (Docker tag too if applicable): 1.4.4
Python version: 3.9.13
Database platform, version: Postgresql
Middleware(s): K8s/Rancher

Steps to Reproduce

Schedule a job (example is daily at 1am)
Let job run on it's set schedule
Check Job results the following day

Expected Behavior
Job only run once on their schedule

Observed Behavior
Separate jobs created at 1:00:00 and 1:03:00. There's other instances of jobs running up to 4 times. Ping me for more info.

Only a single job is scheduled within the UI:

@bile0026 How many Celery workers do you have running?

@bile0026 How many Celery workers do you have running?

Just one

Possibly related: https://github.com/celery/django-celery-beat/issues/558

authors: bile0026 bryanculver jathanism

repo: nautobot/nautobot


text:
🛑 BarefootEdu is down

In 8a5af21, BarefootEdu (https://barefootedu.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BarefootEdu is back up in 5b34d34 after 1 hour, 3 minutes.

repo: navadhiti/upptime


text:
🛑 Harmony Bot Website is down

In df9209a, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in df9421b.


text:
🛑 Harmony Bot Website is down

In 5a53d9e, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 4ec9e15.


text:
🛑 Harmony Bot Website is down

In 27a02ff, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 2bbcec6.


text:
🛑 Harmony Bot Website is down

In 9f03072, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 0570f2e.


text:
🛑 Harmony Bot Website is down

In 35cfefc, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 2d9b407.


text:
🛑 Harmony Bot Website is down

In 577015e, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in c86c15d.


text:
How to trace all the call stack in application?

EntryMethod ---call--> Method 1 ---call--> Method 2 ---call--> Method 3 ---call--> Method 4
How to get the call tree like exception call stack as follow:
EntryMethod
........|
........|---- Mehtod 1
................|
................|---- Method 2
........................|
........................|---- Method 3
................................|
................................|---- Method 4
Now I just get some call info form external jars， none is my self-defined method.

Hi peterxuxin,
To get custom methods traced, you need to specify them in pinpoint.config.
There are 2 options related to this:

profiler.include - You can specify classes, or packages here. Every method in the specified classes (or packages) are traced. Does not work if the method is an EntryMethod.
profiler.entrypoint - You can specify methods here. Works for both EntryMethods and normal Methods. However, you can only specify 1 method from a single class currently (this is fixed in 1.5.2)

Let me know if you've more question.
Thanks

I got it. Thanks
Is there a maximum limit of profiler.include and  profiler.entrypoint  ?
And, when 1.5.2 will be released?

I don't think there is a maximum limit currently.
1.5.2 will probably be release in the next few weeks, but in the mean time you could try out 1.5.2-SNAPSHOT (if you can build from source).

No maximum limit is a good news, my application have lots of classes.
My proxy has some problems, I will try to build it again.

hi @Xylus
what is  " the method is an EntryMethod" mean?

Hi @wangshihui
"EntryMethod" is the method that starts off the span for a node. For example, a method that accepts a request in a servlet container would be an entry method.

I got that,thanks # @Xylus

authors: Xylus peterxuxin wangshihui

repo: naver/pinpoint


text:
Corrupted(lost packet, invalid sequence)

Prerequisites
Please check the FAQ, and search existing issues for similar questions before creating a new issue.YOU MAY DELETE THIS PREREQUISITES SECTION.
collector:1.8.1
web.18.1
agent:1.7.2

question
I found  the error :Corrupted(lost packet, invalid sequence)  from calltree.
From the issue #5600 , i check the following info:
collector.receiver.span.worker.queueSize in pinpoint-collector.properties is 4096.
stat.log is as following.

Need to increase the worker queueSize?
Thank you.

stat.log
2019-09-19 09:47:33 INFO
type=GAUGE, name=spanReceiverExecutor.completed, value=30073924564
2019-09-19 09:47:33 INFO
type=GAUGE, name=spanReceiverExecutor.running, value=1
2019-09-19 09:47:33 INFO
type=GAUGE, name=statReceiverExecutor.completed, value=31669869
2019-09-19 09:47:33 INFO
type=GAUGE, name=statReceiverExecutor.running, value=0
2019-09-19 09:47:33 INFO
type=METER, name=baseDataReceiverWorker.rejected, count=42321,
mean_rate=0.00435581412757024, m1=2.976463198511169E-296,
m5=9.370859266954124E-60, m15=1.0654063518313215E-20,
rate_unit=events/second
2019-09-19 09:47:33 INFO
type=METER, name=baseDataReceiverWorker.submitted, count=11221601,
mean_rate=1.15496345024355, m1=2.3776013086568084, m5=2.542931646440672,
m15=2.7470087189167187, rate_unit=events/second
2019-09-19 09:47:33 INFO
type=METER, name=spanReceiverExecutor.rejected, count=2930904,
mean_rate=0.30165811563634404, m1=2.964393875E-314,
m5=1.9992100035748813E-96, m15=2.1673772847022338E-32,
rate_unit=events/second
2019-09-19 09:47:33 INFO
type=METER, name=spanReceiverExecutor.submitted, count=30076855472,
mean_rate=3095.607207180676, m1=7839.423560305877, m5=7830.869193546291,
m15=7748.639417002164, rate_unit=events/second
2019-09-19 09:47:33 INFO
type=METER, name=statReceiverExecutor.rejected, count=0, mean_rate=0.0,
m1=0.0, m5=0.0, m15=0.0, rate_unit=events/second
2019-09-19 09:47:33 INFO
type=METER, name=statReceiverExecutor.submitted, count=31669869,
mean_rate=3.259565351245565, m1=3.6904650538019395, m5=3.69895171446854,
m15=3.6991573875655623, rate_unit=events/second
2019-09-19 09:47:33 INFO
type=TIMER, name=baseDataReceiverWorker.dispatchDuration, count=11179280,
min=0.009679, max=0.735414, mean=0.02416030195164621,
stddev=0.020356990714111612, median=0.018625, p75=0.025426999999999998,
p95=0.048561, p98=0.094165, p99=0.110413, p999=0.258808,
mean_rate=1.1506076363586757, m1=2.377601098787431, m5=2.542909892350519,
m15=2.7469950118916584, rate_unit=events/second, duration_unit=milliseconds
2019-09-19 09:47:33 INFO
type=TIMER, name=baseDataReceiverWorker.duration, count=11179280,
min=0.795057, max=1268.4895549999999, mean=20.717214700421867,
stddev=73.20644415944214, median=1.5182, p75=2.286883, p95=152.151525,
p98=289.552353, p99=385.096031, p999=718.4056469999999,
mean_rate=1.1506076363159354, m1=2.37778810486036, m5=2.5431092624912064,
m15=2.747084867245342, rate_unit=events/second, duration_unit=milliseconds
2019-09-19 09:47:33 INFO
type=TIMER, name=spanReceiverExecutor.dispatchDuration, count=30073924572,
min=0.0015019999999999999, max=12.197218999999999, mean=0.2626153562514069,
stddev=0.8546814749398955, median=0.026806999999999997,
p75=0.11270799999999999, p95=1.251806, p98=2.817868, p99=3.744869,
p999=12.197218999999999, mean_rate=3095.305548984131, m1=7839.441796719689,
m5=7830.873155603057, m15=7748.641163355057, rate_unit=events/second,
duration_unit=milliseconds
2019-09-19 09:47:33 INFO
type=TIMER, name=spanReceiverExecutor.duration, count=30073924573,
min=0.021515, max=12.182765, mean=0.17769032691342937,
stddev=0.24723531294268158, median=0.08363899999999999,
p75=0.29773099999999997, p95=0.527272, p98=0.613831, p99=0.778117,
p999=1.0347309999999998, mean_rate=3095.305548949893, m1=7839.452884920552,
m5=7830.874550500013, m15=7748.640583594111, rate_unit=events/second,
duration_unit=milliseconds
2019-09-19 09:47:33 INFO
type=TIMER, name=statReceiverExecutor.dispatchDuration, count=31669869,
min=0.012031, max=1.140163, mean=0.04055246837494057,
stddev=0.08519580378081307, median=0.022067999999999997, p75=0.030428,
p95=0.092066, p98=0.22883399999999998, p99=0.521057, p999=0.754002,
mean_rate=3.2595653504228284, m1=3.6904650538019395, m5=3.69895171446854,
m15=3.6991573875655623, rate_unit=events/second, duration_unit=milliseconds
2019-09-19 09:47:33 INFO
type=TIMER, name=statReceiverExecutor.duration, count=31669869,
min=0.420214, max=36.579302, mean=0.9946613991580979,
stddev=0.46631819400778773, median=0.875382, p75=1.1311579999999999,
p95=1.708048, p98=2.8960079999999997, p99=3.112419, p999=3.65469,
mean_rate=3.2595653502922617, m1=3.6904650538019395, m5=3.69895171446854,
m15=3.6991573875655623, rate_unit=events/second, duration_unit=milliseconds

2019-09-19 09:48:33 INFO
type=GAUGE, name=spanReceiverExecutor.running, value=1
2019-09-19 09:48:33 INFO
type=GAUGE, name=statReceiverExecutor.completed, value=31670091
2019-09-19 09:48:33 INFO
type=GAUGE, name=statReceiverExecutor.running, value=0
2019-09-19 09:48:33 INFO
type=METER, name=baseDataReceiverWorker.rejected, count=42321,
mean_rate=0.004355787214947416, m1=1.0949796181356535E-296,
m5=7.672210664621135E-60, m15=9.966950840352542E-21,
rate_unit=events/second
2019-09-19 09:48:33 INFO
type=METER, name=baseDataReceiverWorker.submitted, count=11221761,
mean_rate=1.1549727818558366, m1=2.594051586089391, m5=2.57738637145221,
m15=2.7461283882545757, rate_unit=events/second
2019-09-19 09:48:33 INFO
type=METER, name=spanReceiverExecutor.rejected, count=2930904,
mean_rate=0.30165625182541517, m1=2.964393875E-314,
m5=1.6368147117878973E-96, m15=2.0275965890378007E-32,
rate_unit=events/second
2019-09-19 09:48:33 INFO
type=METER, name=spanReceiverExecutor.submitted, count=30077338325,
mean_rate=3095.637777271001, m1=8006.179658721837, m5=7875.066542079965,
m15=7769.37552158343, rate_unit=events/second
2019-09-19 09:48:33 INFO
type=METER, name=statReceiverExecutor.rejected, count=0, mean_rate=0.0,
m1=0.0, m5=0.0, m15=0.0, rate_unit=events/second
2019-09-19 09:48:33 INFO
type=METER, name=statReceiverExecutor.submitted, count=31670091,
mean_rate=3.2595680606303863, m1=3.6911785458910784, m5=3.699000586111253,
m15=3.6991981923378674, rate_unit=events/second
2019-09-19 09:48:33 INFO
type=TIMER, name=baseDataReceiverWorker.dispatchDuration, count=11179440,
min=0.009679, max=0.735414, mean=0.029309764689053004,
stddev=0.03089054751338058, median=0.020787, p75=0.030549999999999997,
p95=0.057801, p98=0.119223, p99=0.180855, p999=0.30771499999999996,
mean_rate=1.1506169948205367, m1=2.594051508882762, m5=2.577368560709597,
m15=2.746115565236887, rate_unit=events/second, duration_unit=milliseconds
2019-09-19 09:48:33 INFO
type=TIMER, name=baseDataReceiverWorker.duration, count=11179440,
min=0.795057, max=1268.4895549999999, mean=14.034306472270499,
stddev=56.96738982906958, median=1.6058839999999999, p75=2.189288,
p95=88.80629499999999, p98=209.443017, p99=312.462465,
p999=481.61555899999996, mean_rate=1.1506169947219056,
m1=2.594120304572367, m5=2.577531791175023, m15=2.7461996255479004,
rate_unit=events/second, duration_unit=milliseconds
2019-09-19 09:48:33 INFO
type=TIMER, name=spanReceiverExecutor.dispatchDuration, count=30074407452,
min=0.001175, max=6.924989999999999, mean=0.31293937725585746,
stddev=0.690692505270765, median=0.035649, p75=0.222432, p95=1.799928,
p98=3.0320929999999997, p99=3.5828819999999997, p999=4.918788999999999,
mean_rate=3095.336123345034, m1=8006.297740147163, m5=7875.075227607255,
m15=7769.37778053855, rate_unit=events/second, duration_unit=milliseconds
2019-09-19 09:48:33 INFO
type=TIMER, name=spanReceiverExecutor.duration, count=30074407453,
min=0.021515, max=12.182765, mean=0.19469674355824393,
stddev=0.3082009506170936, median=0.083687, p75=0.287884, p95=0.604285,
p98=0.83734, p99=0.9434899999999999, p999=4.7342249999999995,
mean_rate=3095.3361231613458, m1=8006.312792655105, m5=7875.076980969128,
m15=7769.377310119569, rate_unit=events/second, duration_unit=milliseconds
2019-09-19 09:48:33 INFO
type=TIMER, name=statReceiverExecutor.dispatchDuration, count=31670091,
min=0.011482, max=2.117073, mean=0.044241834458307386,
stddev=0.1388009204437695, median=0.024409999999999998, p75=0.034536,
p95=0.072575, p98=0.130912, p99=0.7516459999999999, p999=2.117073,
mean_rate=3.25956805912516, m1=3.6911785458910784, m5=3.699000586111253,
m15=3.6991981923378674, rate_unit=events/second, duration_unit=milliseconds
2019-09-19 09:48:33 INFO
type=TIMER, name=statReceiverExecutor.duration, count=31670091,
min=0.392704, max=36.579302, mean=1.1144871542766415,
stddev=1.4516553870700837, median=0.92679, p75=1.153092, p95=1.740113,
p98=2.8960079999999997, p99=3.333814, p999=22.414369999999998,
mean_rate=3.2595680588786866, m1=3.6911785458910784, m5=3.699000586111253,
m15=3.6991981923378674, rate_unit=events/second, duration_unit=milliseconds

collector rejected
in stat.log
name=spanReceiverExecutor.rejected, count=2930904,

collector rejected
in stat.log
name=spanReceiverExecutor.rejected, count=2930904,
Thank you for your answer.
Whether it indicates that collector.receiver.span.worker.queueSize need to be adjusted?
need to refer to the CPU and memory for parameter adjustment?

Every collectors's stat.log shows spanReceiverExecutor.rejected. If I increase the worker queuesize, whether the loader of hbase also be increased? @xunchangguo
Thanks.

Every collectors's stat.log shows spanReceiverExecutor.rejected. If I increase the worker queuesize, whether the loader of hbase also be increased?

authors: fionaliupw xunchangguo


text:
Can install pinpoint behind proxy

Hi,
Our environment is behind proxy and while trying to build, we fail on trying to access maven url. Can we just copy the whole installation, unpack it and run, without need to build it?

hi @Benzion18
This is possible by installing in Maven offline mode after copy whole library in mave local repository.
But I am not sure that installing NPM is possible.
Simple way is that install Pinpoint another environment
And copy collector and web jar to your environment.
thanks :)

without need to build it?

Simply. use the files in the release

Hi,
I found how to work behind proxy. In mvnw file add this line:
export MAVEN_OPTS="-Dhttp.proxyHost= -Dhttp.proxyPort= -Dhttps.proxyHost= -Dhttps.proxyPort= "
But it failed further because the build requires java 9 and I have a problem to install it on my env.

@Benzion18

But it failed further because the build requires java 9 and I have a problem to install it on my env.

Just to let you know.
Yes, you will need java 9 to build it. But you won't need java 9 to use it.

authors: Benzion18 RoySRose koo-taejin


text:
Tilbakemelding
Vi bruker komponenten i en løsning med mange sider med utlisting, og der det kan være så mye som 35 sider. Vi får tilbakemelding om at det er veldig tungvint fordi man ikke får mulighet til å velge sider direkte når det blir mange sider.
Jeg brukte sandbox med count=35 for teste oppførselen, og forsøkte å komme til siden 10 - det er tungvint. Såvidt jeg finner ut må man trykke 5-6 ganger for å nå side 10, fordi man bare viser én side til høyre for den siden man står på. -
Så lenge man kun har 9 sider funker det sånn noenlunde effektivt, men så bryter det litt sammen.
Har dere tenkt noe på alternative måter å løse dette på for store lister med mange sider? F.eks. å kunne skrive inn sidetallet noe sted, i tillegg til å navigere med klikk? Elns?
Man kan påvirke antall sider med hvor mange rader man viser på én side, men for noen løsninger vil dette likevel ikke løse dette problemet på grunn av datamengden.

Har diskutert med teamet, og de skal teste ut om de kan bruke pagination slik den er, i en litt annen form. De kommer ev tilbake om de likevel trenger ekstra funksjonalitet.

authors: Lilyngs karihamnes

repo: navikt/aksel


text:
When an entry is deleted, the favicon does not

I'm not sure if this is a bug or not. When an entry is deleted, the favicon stays in the custom icon database. Over time you database can grow with many unused icons.

Hi @user8446, this is by design.
I am not sure if KeePass let me hook the delete function and remove the icon at the same time. Probably not.
I think that's the reason the KeePass developer added this tool:
Tools -> Database Tools -> Delete Unused Custom Icons
It will check all the custom icons and and delete only those icons that are not associated with any entry.

Thanks, I didn't know if it was easy to implement to save that step.
Thank you for the development!

license: mit


text:
Remove python 3.12 from the GHA test matrix

see title - most recent python version and likely some packages do not support it well.

The python 3.12 testing in the ci.yml of the github actions has been commented out.
Any contribution that addresses this issue can be tested on commit by uncommenting that line.

authors: almoehi bagjohn

repo: nawrotlab/larvaworld


text:
🛑 NBB is down

In c582095, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 834 ms

Resolved: NBB is back up in 9ffe340.

repo: nbbrd/sdmx-upptime


text:
🛑 NBB is down

In 44e9422, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 803 ms

Resolved: NBB is back up in c06b36a.


text:
🛑 ISTAT is down

In 26d6d50, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in ca0efc8 after 29 minutes.


text:
🛑 ISTAT is down

In 1283d16, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 5126ca0 after 10 minutes.


text:
🛑 NBB is down

In 79f0cb5, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 901 ms

Resolved: NBB is back up in 5228003 after 22 minutes.


text:
🛑 ISTAT is down

In 65a142d, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in aa91f57 after 6 minutes.


text:
🛑 NBB is down

In 73063b9, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 887 ms

Resolved: NBB is back up in 197d7ab after 7 minutes.


text:
🛑 ESTAT is down

In a5dd066, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in bd26c0b after 13 minutes.


text:
🛑 ISTAT is down

In 00c6c43, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 95e4ff3 after 12 minutes.


text:
🛑 ESTAT is down

In e39c910, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 6e8e955 after 6 minutes.


text:
🛑 ESTAT is down

In b7fc73d, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in b57a40a after 10 minutes.


text:
🛑 ESTAT is down

In 598ca3e, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in e4d1c3d after 6 minutes.


text:
🛑 OECD is down

In eae9ac5, OECD (https://stats.oecd.org/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: OECD is back up in 25bb537.


text:
🛑 ESTAT is down

In 9acbc06, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in ac3c1bb.


text:
🛑 ISTAT is down

In ec46d73, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in e5a99cf.


text:
KeyError: 12 text_color = palette[color_numbers[char.fg]]

Hi again, after updating to https://github.com/nbedos/termtosvg/commit/464f5ea0012aa1b3df629788d6fa0ae819e53c75 I'm experiencing a new issue whenever I attempt to display any coloured output:
teapot earnest %i earnest ~ termtosvg -v foo.svg
Logging to /tmp/termtosvg_m7uxm9kd.log
Recording started, enter "exit" command or Control-D to end
teapot earnest %i earnest ~ ls -d study
study/
Traceback (most recent call last):
  File "/usr/bin/termtosvg", line 11, in <module>
    load_entry_point('termtosvg==0.4.0', 'console_scripts', 'termtosvg')()
  File "/usr/lib/python3.6/site-packages/termtosvg/__main__.py", line 194, in main
    anim.render_animation(replayed_records, svg_filename, font)
  File "/usr/lib/python3.6/site-packages/termtosvg/anim.py", line 213, in render_animation
    for event_record in record_group:
  File "/usr/lib/python3.6/site-packages/termtosvg/term.py", line 264, in replay
    redraw_buffer[row][column] = from_pyte_char(screen.buffer[row][column], palette)
  File "/usr/lib/python3.6/site-packages/termtosvg/anim.py", line 58, in from_pyte
    text_color = palette[color_numbers[char.fg]]
KeyError: 12

Thanks for reporting the issue. It should be fixed by 5d8df03.

authors: Earnestly nbedos

repo: nbedos/termtosvg


text:
🛑 Site is down

In fa3c16b, Site (https://fyle.uk) was down:

HTTP code: 503
Response time: 302 ms

Resolved: Site is back up in 1173055 after 17 minutes.

repo: nbitzz/status


text:
Synthetic quality test and minor fixes

integration/synth - new test for known global optima
simple_gapfiller removed if not necessary
redunant logging suppressed

Hello @nicl-nno! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file fedot/core/pipelines/pipeline.py:

Line 336:35: W292 no newline at end of file

repo: nccr-itmo/FEDOT


text:
HDFS Data nodes from slaves can't connect to the name node

Hi, i have problems working with hdfs.
In order to access to the hdfs i was need to start data nodes (cd /home/ec2-user/hadoop && sbin/hadoop-daemon.sh stop datanode)
But after i am starting datanodes on all instances (both master and slaves) there is only one datanode that is registered from the master (ie running locally with namenode)
there is connectivity between nodes, but i have following error message in both datanode and namenode logs:
2017-07-26 16:40:40,493 INFO  [IPC Server handler 5 on 9000] ipc.Server (Server.java:run(2070)) - IPC Server handler 5 on 9000, call org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol.registerDatanode from 172.33.9.26:59572 Call#209 Retry#0
org.apache.hadoop.hdfs.server.protocol.DisallowedDatanodeException: Datanode denied communication with namenode because hostname cannot be resolved (ip=172.33.9.26, hostname=172.33.9.26): DatanodeRegistration(0.0.0.0:50010, datanodeUuid=39d7a850-7e68-4d9f-a5be-becb81af752f, infoPort=50075, infoSecurePort=0, ipcPort=50020, storageInfo=lv=-56;cid=CID-94f28171-a765-4610-8fd9-3b6a8be02383;nsid=280054336;c=0)
	at org.apache.hadoop.hdfs.server.blockmanagement.DatanodeManager.registerDatanode(DatanodeManager.java:873)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.registerDatanode(FSNamesystem.java:4529)
	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.registerDatanode(NameNodeRpcServer.java:1286)
	at org.apache.hadoop.hdfs.protocolPB.DatanodeProtocolServerSideTranslatorPB.registerDatanode(DatanodeProtocolServerSideTranslatorPB.java:96)
	at org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos$DatanodeProtocolService$2.callBlockingMethod(DatanodeProtocolProtos.java:28752)
	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:616)
	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:982)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2049)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2045)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:422)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1698)
	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2043)

Where 172.33.9.26 is internal ip of one of my slaves (errors are logged from all slaves, i just added one for reference

Flintrock version: flintrock, version 0.8.0, 0.9.0
Python version: 3.6
OS:  mac OS 10.12.5

In order to access to the hdfs i was need to start data nodes (cd /home/ec2-user/hadoop && sbin/hadoop-daemon.sh stop datanode)

Hmm, why do you need to do this? Flintrock should start up HDFS automatically for you as long as you specify --install-hdfs (or the equivalent in config.yaml).
Also, does your VPC have an Internet Gateway attached? Flintrock does not currently support private VPCs (#14).

Yes, i am installing hdfs with
launch:
  install-hdfs: True

I will check VPC settings, and write back

Ok, I checked VPC, it is has attached internet gateway
*Also I had realized that i wrote wrong versions and os, I am running it from my mac, and version was 0.9.0 - dev.
Today I was recreated cluster with 0.8.0 version. And had same issue from one of the slave, second was connected successfully. Pings are passing  from failing node to master external host(resolved ip address is internal)
Also when i downgraded from 0.9.0 min-root-ebs-size-gb: 100 stops working, i got standard 30GB root volume for all of my instances

Ok, I think i had found an issue, I removed one security group and it started to work.
So I am closing issue

Ah, so one of the additional security groups you had configured on launch was interfering with Flintrock?

Yeah, we had two flintrock clusters, and i saw on the instances SG with name flintrock, so i thought it would be a good idea to add it. But I guess this one was preventing to create it's own flintrock group.

authors: nchammas pilgrimkst

repo: nchammas/flintrock


text:
CERTIFICATE VERIFY error

When trying to launch a test cluster on EC2 I'm getting:
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)>
I'm assuming I need to do something to accept a certificate for a download... can someone point me in the right direction?

Are you on a corporate network that may intercept SSL traffic?
Where exactly in the launch process do you get this error? Please show the full output.

I've tried on 3 different Wifi networks (all non-corporate). I'm on a Macbook Pro. Here are the exact results when I run:
Warning: Downloading Spark from an Apache mirror. Apache mirrors are often slow and unreliable, and typically only serve the most recent releases. We strongly recommend you specify a custom download source. For more background on this issue, please see: https://github.com/nchammas/flintrock/issues/238
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 1318, in do_open
    encode_chunked=req.has_header('Transfer-encoding'))
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1239, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1285, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1234, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 964, in send
    self.connect()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1400, in connect
    server_hostname=server_hostname)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 401, in wrap_socket
    _context=self, _session=session)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 808, in __init__
    self.do_handshake()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 1061, in do_handshake
    self._sslobj.do_handshake()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 683, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/bin/flintrock", line 11, in <module>
    sys.exit(main())
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/flintrock/flintrock.py", line 1187, in main
    cli(obj={})
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/flintrock/flintrock.py", line 410, in launch
    validate_download_source(spark_download_source)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/flintrock/flintrock.py", line 208, in validate_download_source
    urllib.request.urlopen(url)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 223, in urlopen
    return opener.open(url, data, timeout)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 526, in open
    response = self._open(req, data)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 544, in _open
    '_open', req)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 1361, in https_open
    context=self._context, check_hostname=self._check_hostname)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 1320, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)>

Figured it out - had to follow this:
https://stackoverflow.com/questions/44649449/brew-installation-of-python-3-6-1-ssl-certificate-verify-failed-certificate

Glad you found a solution, and thanks for sharing the link!

I am getting the same issue when using the standalone mode on a t2.micro instance in the AWS free tier.
Following is what I used to install flintrock:
export flintrock_version="0.11.0"
cd /opt
curl --location --remote-name "https://github.com/nchammas/flintrock/releases/download/v$flintrock_version/Flintrock-$flintrock_version-standalone-Linux-x86_64.zip"
unzip -q -d flintrock "Flintrock-$flintrock_version-standalone-Linux-x86_64.zip"
Then I configured it, more or less the default way.
Then here's the command I run and the error:
[root@ip-172-31-10-232 flintrock]# ./flintrock launch spark-cluster
Warning: Downloading Spark from an Apache mirror. Apache mirrors are often slow and unreliable, and typically only serve the most recent releases. We strongly recommend you specify a custom download source. For more background on this issue, please see: https://github.com/nchammas/flintrock/issues/238
Traceback (most recent call last):
File "urllib/request.py", line 1317, in do_open
File "http/client.py", line 1229, in request
File "http/client.py", line 1275, in _send_request
File "http/client.py", line 1224, in endheaders
File "http/client.py", line 1016, in _send_output
File "http/client.py", line 956, in send
File "http/client.py", line 1392, in connect
File "ssl.py", line 412, in wrap_socket
File "ssl.py", line 853, in _create
File "ssl.py", line 1117, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "standalone.py", line 11, in
File "flintrock/flintrock.py", line 1187, in main
File "site-packages/click/core.py", line 764, in call
File "site-packages/click/core.py", line 717, in main
File "site-packages/click/core.py", line 1137, in invoke
File "site-packages/click/core.py", line 956, in invoke
File "site-packages/click/core.py", line 555, in invoke
File "site-packages/click/decorators.py", line 17, in new_func
File "flintrock/flintrock.py", line 410, in launch
File "flintrock/flintrock.py", line 208, in validate_download_source
File "urllib/request.py", line 222, in urlopen
File "urllib/request.py", line 525, in open
File "urllib/request.py", line 543, in _open
File "urllib/request.py", line 503, in _call_chain
File "urllib/request.py", line 1360, in https_open
File "urllib/request.py", line 1319, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)>
[4078] Failed to execute script standalone
I looked at the above trail of the issue and also googled around. I don't know Python. I have Python version 2.7.14. But as I am using the standalone mode, I don't think it is related. Can you please help solve this?

@rk186009 - Have you tried applying the solution that @rymoore linked to?
Also, have you tried running Flintrock from a different network (e.g. home vs. office) to see if your issue is related to certificate tampering (which is common on corporate networks)?

@rk186009 - Have you tried applying the solution that @rymoore linked to?
Also, have you tried running Flintrock from a different network (e.g. home vs. office) to see if your issue is related to certificate tampering (which is common on corporate networks)?

I was able to proceed with the regular version (not the standalone one), by installing Python 3 first.
However, I am now getting stuck at a later point in the launch process. I will check and raise an issue as needed.

authors: nchammas rk186009 rymoore


text:
Add support for launching in private vpc

This PR makes the following changes:

Queries map_public_ip_on_launch to figure out if the subnet auto-assigns public ips

Fixes #14 .

You can run py.test tests/test_static.py to check style issues as detailed in the test guide.

Thanks for taking this on @jorgito1167!
This looks like a good start. I think this PR can be made simpler and better by making vpc_is_private a @property of the EC2Cluster class. That will eliminate the need for many of the little changes that have been made to helper methods in ec2.py.

Hey @jperezdiaz (did you recently change your username?), I took a quick look through your latest changes and things generally look good.
There are still some open items, though:

core.py still includes some logic that is specific to EC2. We need to factor that out, or possibly do away with it entirely. Do you have any suggestions in that regard? Is instance.private_dns_name not giving us something usable "out-of-the-box"?
I just tried launching a cluster off of this PR using my current config with a public VPC and it failed. Well, the launch technically succeeded but Spark couldn't come up. It looks like the master had trouble binding to an address. Does this work for you?

Yes, I changed my username recently. Sorry for the confusion.

It seems like public VPC did not have problems with the hostname. We can condition the  /etc/hosts script on the subnet being private. I also like the idea of using getting the instance private DNS to replace the hardcoded .ec2.internal.

How can I test if the master successfully bound to an address. I'm pretty sure I'm having a similar problem even with the private VPC.

How can I test if the master successfully bound to an address? I'm pretty sure I'm having a similar problem even with the private VPC.

When you launch a cluster and the master fails to start properly, the Spark health check should show 0 workers. Then, if you login to the cluster and start a shell (either spark-shell or pyspark), you'll also get an error. It should be pretty obvious.

It is non-trivial for me to test in a public vpc. However, it seems to launch fine in the private vpc. The health check reports 1 worker and I'm able to start pyspark. Could the problem be due to the change in the /etc/hosts file? In that case, we can just condition the change on the subnet being private.
On an unrelated note, the problem I see is that when I start pyspark I get the following message for the Spark UI:
16/05/31 17:55:17 INFO SparkUI: Started SparkUI at http://<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  <title>404 - Not Found</title>

404 - Not Found

:4040

Could the problem be due to the change in the /etc/hosts file? In that case, we can just condition the change on the subnet being private.

I'm not sure, but I am suspicious of that change.

On an unrelated note, the problem I see is that when I start pyspark I get the following message for the Spark UI:

You're seeing this when you launch in a private VPC?

Is there a good way of figuring out the private DNS of the instances from inside the provision_node function? The instances attribute is specific to the EC2 cluster so it should not be used. I could get the slave_ips list, get the index of the current ip and then use it to index the private DNS list. Otherwise, I can create a method in for the FlintrockCluster object that does this for us.

Yes, the Spark UI problem happens when I launch in a private VPC.

Is there a good way of figuring out the private DNS of the instances from inside the provision_node function?

I think provision_node() and the rest of the code in core.py should ideally just know about IP addresses, and not distinguish whether they are public or private.

Yes, the Spark UI problem happens when I launch in a private VPC.

Does Spark work otherwise?
I'm trying to replicate your setup so I can help you test this. Can you lay out the VPC, subnet, routing table, etc. you have and how they are configured so I can setup a parallel environment?
Ideally we should capture this setup as code and use it in an acceptance test (e.g. setup private VPC, test launch/Spark/HDFS, tear down cluster and VPC), but that's probably a bit much for now. We can add that in later, unless you feel like having a go at it now.

I like the idea of setting up the test. I'm really busy this week but I'll try to implement it once I get some time.

Hey @jperezdiaz are you interested in updating this PR?
Looking through the history, it looks like we agreed on the basic approach you took here, but there were 2 unresolved issues:

EC2-specific logic was added to core.py. core.py should be completely provider-agnostic.
You were experiencing some issues with the launch and/or Spark UI.

If you aren't planning to update it anytime soon, we can close the PR for now and you can revisit it when you are ready.

Closing this PR. Feel free to open a new one if you are interested in continuing this work!

authors: BenFradet jperezdiaz nchammas


text:
Modernize the source code

Hi,
I used https://github.com/asottile/pyupgrade manually to modernize the source code up to Python 3.6 (actually Python 3.9 but nothing changed after Python 3.6 for this code).
I created a different commit per modification, to see more clearly what is going on, and marked them with the Python version that enabled them.

Ok, I guess it's time to say goodbye to future imports and other relics, since nobody uses Python 2 any more. Thx!

authors: Armavica nchopin

repo: nchopin/particles


text:
Launch play Store parsin app package id as parameter

Hi,
How can i launch (from my app) play store with an app as parameter ?

like this

repo: nchutchind/cordova-plugin-app-launcher


text:
1.33 build posted for *BSD is actually 1.26

When filing an issue, please include the following information if
possible as well as a description of the problem.  Make sure you are
using the latest version of rclone.
Using the download for FreeBSD or NetBSD, for example:
http://downloads.rclone.org/rclone-current-freebsd-amd64.zip
or
http://downloads.rclone.org/rclone-v1.33-freebsd-amd64.zip
Actually provides rclone 1.26.

What is your rclone version (eg output from rclone -V)
rclone v1.26
Which OS you are using and how many bits (eg Windows 7, 64 bit)
FreeNAS 64 Bit (FreeBSD)

I just checked - those both are v1.33 - did you get an old cached version maybe?

The zip is named 1.33 but the executable is actually 1.26 - downloaded
direct from the links available on rclone.org last night around 9pm
Pacific.
I can try again a bit later today.
On Wed, Sep 28, 2016 at 9:30 AM Nick Craig-Wood notifications@github.com
wrote:

I just checked - those both are v1.33 - did you get an old cached version
maybe?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ncw/rclone/issues/745#issuecomment-250221215, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAC-KXcoCPREekyz30KF5a9fDr2_y55Sks5qupY5gaJpZM4KIY_J
.

Just checked again.  The package is named 1.33 but the binary you get is 1.26.  This can also be confirmed by the lack of support for Crypt in the binary.
To repro:
wget http://downloads.rclone.org/rclone-v1.33-freebsd-amd64.zip
unzip rclone-v1.33-freebsd-amd64.zip
cd rclone-v1.33-freebsd-amd64
rclone -V
Expected output:
rclone v1.33
Actual Output:
[root@freenas ~/Test/rclone-v1.33-freebsd-amd64]# rclone -V
rclone v1.26

Same behavior with the download on Github. With this download:
https://github.com/ncw/rclone/releases/download/v1.33/rclone-v1.33-freebsd-amd64.zip
I also tested the NetBSD and OpenBSD builds for both x86 and amd64.  All all 1.26.  I don't have a machine to test the ARM builds.
Also tested the Windows build which is properly 1.33.

As of this evening it appears to have resolved itself, just rechecked the github link I posted above. Not sure if a change was made or just some weird CDN caching behavior.

pebkac.  It was a path definition issue.  The binaries were correct all along.  Sorry!

authors: ncw xor-zz

repo: ncw/rclone


text:
ValueError: Options for priors are vage and hierarchical

cli.evaluate(
  model_type='1pl',
  parameter_path='train-eval-1pl/best_parameters.json',
  test_pairs_path='test_pairs.jsonlines',
  output_dir='test-1pl')

Running the above evaluation code gives the error ValueError: Options for priors are vague and hierarchical.

'train-eval-1pl/best_parameters.json' was trained with minitest.jsonlines
'test_pairs.jsonlines' consist of the example data as shown:
{"subject_id": "ken", "item_id": "q1"}
{"subject_id": "ken", "item_id": "q2"}
{"subject_id": "burt", "item_id": "q1"}
{"subject_id": "burt", "item_id": "q3"}

I have the same problem.

same issue with 2pl

This should be fixed now in the latest version. Thanks for your patience!

authors: crobardet daavidstein hetryn jplalor

repo: nd-ball/py-irt


text:
3 unrelated commits

Remove restrictions on the directory where scm-breeze lives
Fix a typo in a function name: git_add_shorcuts -> git_add_shortcuts
Remove the dependency on seq, which isn't available on OSX (so ga 1..3 didn't work, for example)

Brilliant, thanks!

(Merged manually due to a few conflicts)

authors: beefingtonjection ndbroadbent


text:
Add contact form

https://github.com/nditcommunity/nditcommunity.github.io/pull/93

Hey, I would like to work on this

Hi, @slusy! Thanks so much. I saw this after putting in the PR and syncing it to what mods have access to (my apologies), but I hope you're willing to stick around for future tickets. :) We have a long way to go, but we hope to get v1 live soon. :)

Thanks for adding me as a contributor! I’m excited to help, though I’m still new to code reviews. I'll do my best to provide helpful feedback.


text:
DEC-816: Intro card has no background

Webpack was not seeing the image as a used asset, so it was not being copied to the public/images dir. Changed these components to use a css class instead of inline style overrides. Also removed some unused styles and image nodes that weren't affecting the render.

fix hound then :+1:

After it's merged, compile for pre-prod with:
npm run build-pprd
Then zip up public directory and send to @ssummer3 on Hip Chat and ask him to deploy.

:+1:

authors: danthewolfe jgondron jonhartzler

repo: ndlib/beehive


text:
line breaks within paragraph not recognized

single carriage return in text isn't displayed in preview as a new line within paragraph, it is displayed as a continuation on the same line.
eg: the text:
this is line 1
this is line 2
gets rendered as "this is line 1 this is line 2"

Hi @thomasfa18
If you like to have line breaks you have to comply to the CommonMarkSpec and their definition of line breaks. Best have a look at http://spec.commonmark.org/0.27/#hard-line-breaks. There are some examples. In your case either do a double line-break or add two spaces to the end.
Cheers

repo: nea/MarkdownViewerPlusPlus


text:
doc: wsl set default version

@race-of-sloths

@flmel Could you, please, review it?

@dj8yfo Thank you for your contribution! Your pull request is now a part of the Race of Sloths!
King of Sloths shakes your hand! Yellow leader's jersey is yours deservedly!

Current status: waiting for scoring
We're waiting for maintainer to score this pull request with @race-of-sloths score [0,1,2,3,5,8,13] command
What is the Race of Sloths

Race of Sloths is a friendly competition where you can participate in challenges and compete with other open-source contributors within your normal workflow
For contributors:

Tag @race-of-sloths inside your pull requests
Wait for the maintainer to review and score your pull request
Check out your position in the Leaderboard
Keep weekly and monthly streaks to reach higher positions
Boast your contributions with a dynamic picture of your Profile

For maintainers:

Score pull requests that participate in the Race of Sloths
Engage contributors with fair scoring and fast responses so they keep their streaks
Promote the Race to the point where the Race starts promoting you
Grow the community of your contributors

Feel free to check our website for additional details!

Bot commands

For contributors

Include a PR: @race-of-sloths include to enter the Race with your PR

For maintainers:

Assign points: @race-of-sloths score [1/2/3/5/8/13] to award points based on your assessment.
Reject this PR: @race-of-sloths exclude to send this PR back to the drawing board.
Exclude repo: @race-of-sloths pause to stop bot activity in this repo until @race-of-sloths unpause command is called

Hey @dj8yfo the reason for skipping on setting the default version (or suggesting any version in general) is that its not always possible to use v2 out of the box. On the VM and one of the natively running machines I tested, due to some bios settings it wasn't possible to use wsl v2, only setting the version to v1 worked. I can find the issue if dig a bit.
What is the direct impact for you if the default wsl version is not explicitly set to v2? Maybe we can add an TIP section mentioning these scenarios?

@flmel well, i tested on a vm windows 10, and it worked.
Also i found that it's easier to set a default version first, than try to convert a v1  distro to v2 later, which actually failed in my case.
It may be made a recommendation tip only for sure.
If it doesn't work, well, alas.
cargo-near will now work via docker by default, and docker is enabled relatively easy from inside wsl2 distros if it was installed with WsL2 backend.

🥁  Score it!
@flmel, please score the PR with @race-of-sloths score [1/2/3/5/8/13]. The contributor deserves it.
If no scoring is provided within 24 hours, this PR will be scored as 2 🦥

authors: dj8yfo flmel frol race-of-sloths

repo: near/docs


text:
RPC Redundancy/Failover Configuration

Is your feature request related to a problem? Please describe.
Current RPC providers can have downtime, temporary connectivity issues, or rate limits that make clients transactions fail. Over the past year we have observed several windows of RPC failure, which could have been mitigated if near-api-js had configurations for multiple RPC providers.
Describe the solution you'd like
Similar to issues #703 and #717, the core JSON RPC provider should be refactored to not only have retries, but allow for retries against multiple Providers. The default provider list can configure both near foundation and openshards RPC services. Provider list can be a single node string for backward compatibility OR an array of node strings.
Up for discussion but needed: Create a failover threshold of retries for each provider, and a threshold for provider failures before defaulting to a different priority.
Configuration Example:
RPC_MAINNET_PROVIDERS="https://rpc.mainnet.near.org,[https://mainnet-rpc.openshards.io](https://mainnet-rpc.openshards.io)"

RPC_GUILDNET_PROVIDERS="https://guildnet-rpc.openshards.io,[https://rpc.guildnet.near.org](https://rpc.guildnet.near.org)"

NOTE: Because near-api-js is used in many dapps and repos, this functionality is very key toward providing the easiest way to allow clients to decentralize their RPC access. This is critical for community attacks against public resources.
Describe alternatives you've considered
Users must create multiple instances of the Near module with different providers configured and detect TXN failures. Not idea at all.
Additional context
There is an ongoing effort to create a decentralized RPC for mainnet & guildnet using many of the openshards.io nodes with a redundant load-balancer.

I believe our strategy for the decentralization of RPC Servers is a bit different, but some of these ideas can be implemented. On near-api-js level we can provide support for multiple servers and fallback logic, but it will add an additional level of complexity and source of petensioal bugs.
@frol @MaximusHaximus , any thoughts?

Similar suggestion from @artob: https://github.com/near/near-api-js/issues/735

@volovyk-s What is on your mind in terms of a different strategy? I feel near-api-js is the right abstraction layer to deal with the pool of RPC servers to enable true decentralization.

@frol there are two separate problems. The first one is a stability of a single RPC Server. The second one is the ability to switch to another server when the first one is down (decentralization). As far as I know, our current strategy was to work on stability first (API Keys). For the second one, I agree, usage of multiple RPC Servers with fallbacks on a clientside is the best option. But we will need to design it carefully, simple fallback on each call can be slow. And we will need to support API Keys for each such server.  I will prioritize this issue.

@volovyk-s Ah, well, those are indeed two completely different efforts, but they came somewhat together, and we need both solutions: (1) extended RPC connection configuration, (2) failover configuration. This issue is about the second point.

@volovyk-s Ah, well, those are indeed two completely different efforts, but they came somewhat together, and we need both solutions: (1) extended RPC connection configuration, (2) failover configuration. This issue is about the second point.

(and @volovyk-s)
I apologize on the side discussion on decentralization here... It was just to mention the addition context and reasons.
The goal of this issue is to add support for multiple RPC configurations, allowing retries against a prioritized list of RPC nodes. This at least mitigates single RPC provider failures/outages.
The decentralization should be handled by a very different setup than SDK. :)

@frol @volovyk-s any movement on this? Another downtime/major latency issue on mainnet, with many apps unusable because of the dependency of a single RPC provider.

Seems like the ideal solution here will be the creation of FailoverJsonRpcProvider, which will make several simultaneous calls to all provided RPC URLs and return the result if, let's say, 50+% returns the same value. Or the first successful result if we want it to be snappy.
The problem here is the increased load on RPC Servers, something that we are trying to avoid.
Also, the code of near-api-js is heavily coupled and relies on JsonRpcProvider instead of Provider interface. Usage of the new Provider will lead to a ton of breaking changes.
@MaximusHaximus I think we should move the provider to a separate library in the future. People should be able to create their own implementations and use them in near-api-js-x.
In our case, we will need to refactor the existing JsonRpcProvider. And probably these calls and checks will be sequential. It will increase response time when the main RPC Server is down.

Enable configuring multiple RPC nodes also helps to resolve the feature request of switching RPC URLs in NEAR wallet: https://github.com/near/near-wallet-roadmap/issues/36, if wallet could set fallback RPC URLs by default.

@volovyk-s
I tried to add a new property node_urls. Tried polling different Connections and found that none of the Connection functions could return the status of the node. The status() function still request retry 12 times rather than return a wrong status.
Perhaps we can  exponentialDifferentConnectionsBackoff function instead of the exponentialBackoff function to achieve multiple nodes. Does not change the exponentialBackoff function name. Change the parameters passed and the implementation.

Another idea is. Before executing sendJsonRpc, we poll through the list of all rpc's. Find a connectable rpc and default it to be reliable. This avoids exponentialBackoff  to nodes that can never connect.

@frol @volovyk-s Yet another downtime/major latency issues on primarily on testnet, because of the dependency of a single RPC provider.

Dear Team,
We have a library named fallback-falooda which helps us get the reliable node in the list of nodes in our cosmos environment. We are also using it in our node selector in our near specific use cases.
I have made a few changes in the code to make it work with fallback falooda. here -
https://github.com/near/near-api-js/compare/master...leapsamvel:near-api-js:master
We can, either

Take the approach of using fallback falooda in the library or
Provide a getter method param and allow the user to provide the URL dynamic when the RPC call is made.

Could you let me know, and I will raise the PR accordingly with the test cases and documentation?
TIA.

Resolved by #1334

authors: SteveYuOWO TrevorJTClarke frol leapsamvel think-in-universe vikinatora volovyk-s

repo: near/near-api-js


text:
Incorrect documentation for near deploy

The instructions to deploy a contract provided in the documentation does not work in version 4.0.6
This is how to deploy a contract as per the documentation
near deploy --accountId example-contract.testnet --wasmFile out/example.wasm
But this doesn't work, it appears this is how you deploy the contract now
near deploy example-contract.testnet out/example.wasm

the README is fixed now, thanks for reporting

repo: near/near-cli


text:
near delete with positional arguments is dangerous

Is your feature request related to a problem? Please describe.
Current API supports the following:
 near delete <accountId> <beneficiaryId>

It's really easy to mess up the arguments and delete the beneficiaryId account instead of accountId.
Describe the solution you'd like
There are 2 possible solutions:

Confirm each request. This should be on by default and overridden with -y. This way the shell will first display the action you want to do and then ask you to confirm it. Will prevent accidental mistakes.
Make account ID and beneficiary ID named required arguments instead of positional.

The new version needs confirmation before continuing, and shows a explicit message with which account is being deleted and which is beneficiary

authors: evgenykuzyakov gagdiez


text:
docs: translate es.json, hi.json files

Description
translate es.json, hi.json files
Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

Type of change.

[x] DOCS - a PR of this type introduces DOCS improvement.

Please make sure this PR is against dev branch.

repo: near/wallet-selector


text:
Add github action release-notify

Adding CI step to check on a daily basis if there are any commits older than 7 days that have not been released yet.

Codecov Report

Merging #24 (0b50c1c) into master (9d98595) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #24   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           39        39
=========================================
  Hits            39        39

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 9d98595...0b50c1c. Read the comment docs.

authors: codecov-commenter gilach

repo: nearform/fastify-casbin-rest


text:
add dedicated page for create-near-app

note, the image of folder structures for this page was generated using the tree command this spreadsheet

direct URL for content feedback: https://docs-pr-204.onrender.com/docs/quick-start/create-near-app

good work, a little problem is that image is not clear (maybe the resolution problem), could it be text form instead of image? if not easy, more clear image better

good work, a little problem is that image is not clear (maybe the resolution problem), could it be text form instead of image? if not easy, more clear image better

i think an image makes more sense here.  will upload a higher resolution image

authors: amgando icerove

repo: nearprotocol/docs


text:
gi ci

gi -> ci

gg

gggg

authors: spareted tedspare

repo: neat-run/linear-to-github


text:
add default node groups to config

Reference Issues or PRs
The average user doesn't know what options they have available to them to adjust.  Those who deploy fresh deployments may run into the situation where they need to adjust these immediately, and it's not apparent how to do so (https://github.com/nebari-dev/nebari/issues/2122), and there aren't docs on how to do so.  There is a more comprehensive PR in progress, but in the mean time, this adds node groups to the nebari config which was the source of the issue cited above.  I don't see this as a final solution, but as an easy workaround for the time being.

What does this implement/fix?
Put a x in the boxes that apply

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds a feature)
[ ] Breaking change (fix or feature that would cause existing features not to work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] Other (please describe):  Update nebari config produced by nebari init.

Testing

[ ] Did you test the pull request locally?
[ ] Did you add new tests?

Any other comments?

Nice! good idea @Adam-D-Lewis, can you include a rendered version of one of the configs? I can see the node changes, but wanted to see the complete one if possible (feel free to remove cloud sensitive details)

Here's an example aws node config now
provider: aws
namespace: dev
nebari_version: 2024.3.4.dev22+g0f954204.d20240409
project_name: TestProvider
domain: aws.nebari.dev
ci_cd:
  type: none
terraform_state:
  type: remote
security:
  keycloak:
    initial_root_password: 61rm1d6qucnyfixvlp5s4gg6b1fixsjj
  authentication:
    type: password
theme:
  jupyterhub:
    hub_title: Nebari - TestProvider
    welcome: Welcome! Learn about Nebari's features and configurations in the
      documentation. If you have any questions or feedback, reach the team on
      Nebari's support
      forums.
    hub_subtitle: Your open source data science platform, hosted on Amazon Web Services
amazon_web_services:
  kubernetes_version: '1.29'
  region: us-east-1
  node_groups:
    general:
      instance: m5.2xlarge
      min_nodes: 1
      max_nodes: 1
      gpu: false
      single_subnet: false
      permissions_boundary:
    user:
      instance: m5.xlarge
      min_nodes: 0
      max_nodes: 5
      gpu: false
      single_subnet: false
      permissions_boundary:
    worker:
      instance: m5.xlarge
      min_nodes: 0
      max_nodes: 5
      gpu: false
      single_subnet: false
      permissions_boundary:

authors: Adam-D-Lewis viniciusdc

repo: nebari-dev/nebari


text:
[Chatllama] Support Inference for trained models.

Description
Currently to perform inference of the models generated the user needs to interact with the model generated writing a small python script accordingly to how the model is saved by library, by loading the resulting checkpoint or model saved after training.
Moreover a lot of optimization can be integrated to speed-up the inference such as:

CPU Offloading.
llama.ccp implementation
accelerate / deepspeed distributed inference.

TODO

[ ] Implement Inference Class to make inference very easy and even possible from CLI.
[ ] Implement Inference with  the optimisations available from deepspeed
[ ] Implement inference with the optimisations available from accelerate
[ ] Implement fast lama inference with known library llama.ccp implementation

@PierpaoloSorbellini The inference section is tagged with WIP. Do we have any basic inference code available in chatllama to load actor_rl model and run few queries ?

authors: PierpaoloSorbellini shrinath-suresh

repo: nebuly-ai/nebullvm


text:
adds capacity factor node

add cf

super work @katyhuff

authors: gonuke katyhuff

repo: necx-org/nodes


text:
[#125072701] Implementation of retracting events (EPCIS v1.2 DRAFT)

Notice the TODO in the EPCISEvent

EPCIS v1.2 specific features should be in the com.nedap.retail.messages.epcis.v1_2 namespace

As discussed; we leave it in the package 1_1 as it is backwards compatible

authors: ErikCee bmjansen

repo: nedap/retail-services-API


text:
Slice: doc and tests

Main feature:

Closes #95

Looks good, thanks for your contribution!

repo: neelnanda-io/TransformerLens


text:
Added 76-Minimum-Window-Substring.kt

File(s) Modified: 76-Minimum-Window-Substring.kt
Language(s) Used: kotlin
Submission URL: _https://leetcode.com/submissions/detail/768357060/_

Thanks, @Raven1233!

repo: neetcode-gh/leetcode


text:
BasePresenter 中 parentFragment 需要 api >= 17

当全部使用 android.app.Fragment 时，它的 getParentFragment() 方法需要的 api 版本要大于等于 17。

@Berial  是的，Kotlin 1.0.2 添加了 Android Lint Check 后才发现以前用了些高版本的 API，目前打算抽空改。

而且如果用了 v4 的 Fragment，arguments(就是说的bundle) 关于 put 和 get 的 api 要求是 21，更加蛋疼。

@Berial 不考虑 v4 了，之前尝试过，坑更多，。。

authors: Berial nekocode

repo: nekocode/kotgo


text:
IAR comiler for ARM errornously reports __has_attribute(nonnull) true

The IAR compiler appears to by lying about attribute support:
__has_attribute(nonnull), __has_attribute(const) and __has_attribute(pure) are falsely reporting existing compiler support for these attributes (which leads to warnings when the resulting code is compiled).
Warning[Pa167]: the "__nonnull__" attribute is not supported
I'd suggest  to suppress the attribute usage when using the IAR compiler for these attributes like so:
    #if defined(JSON_HEDLEY_NON_NULL)
    #undef JSON_HEDLEY_NON_NULL
    #endif
    #if \
        !defined(JSON_HEDLEY_IAR_VERSION) && \
        JSON_HEDLEY_HAS_ATTRIBUTE(nonnull) || \
        JSON_HEDLEY_GCC_VERSION_CHECK(...) || \
       ...
    #define JSON_HEDLEY_NON_NULL(...) __attribute__((__nonnull__(__VA_ARGS__)))
    #else
    #define JSON_HEDLEY_NON_NULL(...)
    #endif

Sorry it took me so long to get to this, but thanks for the report!
It looks like this has been fixed since at least IAR 8.5.9; it now returns false.  I'm just going to ignore __has_attribute for < 8.5.9, but I'll add explicit tests for the attributes IAR is known to support so this should actually improve the number of situations where we can output the attributes in question.
Unfortunately __has_extension(attribute_deprecated_with_message) is broken (as of 8.5.9); it seems like their feature detection macros are pretty unreliable ☹.  I've added an exception for attribute_deprecated_with_message, but for now we still basically trust __has_extension..
This will be included in the next version, which I'll be releasing soon.

repo: nemequ/hedley


text:
fix aggregate bonded transaction error "Failure_Core_Future_Deadline"

fix #1490
upgrading to newer alpha-sdk

updated here #1552 .

repo: nemgrouplimited/symbol-desktop-wallet


text:
Logo click back to home

Try to make the logo as link to home , when i click the logo it 'll send u home @nemo256

Fixed logo now goes back to home.


text:
Typo in method name: Lantency -should be latency

https://github.com/neo-ngd/Happynodes/blob/4306071dc73b85be118ea7b92560b960ee4e1912/neo-collector/insert/insertData.py#L74
get_lantency -> get_latency

fixed by #28

repo: neo-ngd/Happynodes