Brown-Khanna GAIN Act preset problem

I was trying to run the Brown-Khanna GAIN Act of 2017 preset reform on TaxBrain, and I got an error that says in red at the top of the page:

Some fields have warnings or errors. Values outside of suggested ranges will be accepted if they only cause warnings and are submitted again from this page. Warning messages begin with 'WARNING', and error messages begin with 'ERROR'.

The offending cell is the Minimum Age for Chidless EITC Eligibility. The value that is preset on TaxBrain for the reform and which value I have tried to put in manually as well is 21. The error under this cell is:

ERROR: _EITC_MinEligAge value 21.0 is not integer for 2017

I'm sure I can just run this using the Tax-Calculator API because the reform is working fine in my OG-USA runs. But my guess is that this is a bug in PolicyBrain. @MattHJensen @hdoupe

Thanks for the bug report @rickecon. This was also noted in #795. #822 resolves this type of problem. #822 should be in production by Tuesday or Wednesday of this week.

Closed via #822


Add information about the new endpoint (/api/v1/accounts/{accountId}/nfts) added in v0.52

Problem
in v0.52 of the Mirror Node, we added the endpoint /api/v1/accounts/{accountId}/nfts.
This endpoint is not yet documented in https://docs.hedera.com/guides/docs/mirror-node-api/rest-api#accounts-1
Solution
@SimiHunjan, a user flagged on Discord that we should add information about the new /api/v1/accounts/{accountId}/nfts endpoint in https://docs.hedera.com/guides/docs/mirror-node-api/rest-api#accounts-1
Alternatives
No response

thanks for flagging Ed.
API docs added https://docs.hedera.com/guides/docs/mirror-node-api/rest-api#nfts-by-account-id


Release Google.Cloud.Retail.V2 version 1.6.0

Changes in this release:
New features

Add new AddLocalInventories and RemoveLocalInventories APIs (commit 0af0e7a)
Users cannot switch to empty default branch unless force override (commit 0af0e7a)
Allow search users to skip validation for invalid boost specs (commit 0af0e7a)
Support search personalization (commit 0af0e7a)
Search returns applied control ids in the response (commit 0af0e7a)

Documentation improvements

Users can self enroll retail search feature on cloud console (commit 0af0e7a)
Suggest search users not to send IP and use hashed user id (commit 0af0e7a)
Deprecate request_id in ImportProductsRequest (commit 0af0e7a)
Deprecate search dynamic_facet_spec and suggest to config on cloud console (commit 0af0e7a)
Keep the API doc up-to-date with recent changes (commit 0af0e7a)

Created release for Google.Cloud.Retail.V2-1.6.0


Upload node addon to npm

Node Version: 10.15.0
Platform: Windows 7 64bit

Hi i uploaded a node addon module to npm and when i try to npm install it to another windows pc i'm getting an error related to 'msbuild.exe' i think its about the windows build tool.
EDITED
this what i got when trying to npm install my published module to npm:
$ npm install krishield-plagiarism-module --save

><EMAIL_ADDRESS>install C:\Users\carlj\Documents\MERN Stack\mern_shopping_list\node_modules\krishield-plagiarism-module
> node-gyp rebuild

C:\Users\carlj\Documents\MERN Stack\mern_shopping_list\node_modules\krishield-plagiarism-module>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Users\carlj\Documents\MERN Stack\mern_shopping_list\node_modules\krishield-plagiarism-module\build\plagiarism.vcxproj(20,3): error
MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is cor
rect, and that the file exists on disk.
gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\carlj\Documents\MERN Stack\mern_shopping_list\node_modules\krishield-plagiarism-module
gyp ERR! node -v v10.15.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN<EMAIL_ADDRESS>No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\carlj\AppData\Roaming\npm-cache\_logs\2019-02-20T12_05_25_063Z-debug.log

Module Name: krishield-plagiarism-module

Binding.gyp:

{
    "targets":[
        {
            "target_name": "plagiarism",
            "include_dirs" : [
                "src",
                "<!(node -e \"require('nan')\")"
            ],
            "sources":["src/plagiarismAlgorithm.cc"]
        }
    ],

}

Github Repo Here
I think the problem here is about the build tool that is not present in the other pc. how can i make a node addon module that doesn't require the build tool when doing npm install <module name> on other normal pc?

you should include the error trace and the relevant files here

you should include the error trace and the relevant files here

@ORESoftware my apologies for not giving enough info. Already edited the post.

I think https://www.npmjs.com/package/node-pre-gyp is what you need


Windows support

The key part of StataEditor is here.
import Pywin32.setup
import win32com.client
import win32api
...
def StataAutomate(stata_command):
	""" Launch Stata (if needed) and send commands """
	try:
		sublime.stata.DoCommandAsync(stata_command)

	except:
		win32api.WinExec(settings.get("stata_path"))
		sublime.stata = win32com.client.Dispatch("stata.StataOLEApp")
		sublime.stata.DoCommand("cd " + getDirectory())
		sublime.stata.DoCommandAsync(stata_command)

Possible solution 1:
The StataEditor package uses the above python packages to create a COM connection to Stata. Instead of reinventing the wheel, try to call that python package from Javascript. Make an ajax request to python:
$.ajax({
  type: "POST",
  url: "~/pythoncode.py",
  data: { param: text}
}).done(function( o ) {
   // do something
});

Note that I think this uses the jQuery package. Here are links to use that with Coffeescript:
Coffeescript Cookbook jQuery and Ajax
jQuery with CoffeeScript
Other javascript-ajax-python links: 1, 2.
Possible solution 2:
Do this directly from javascript/coffeescript.
Calling a VBScript function from Javascript
How can i call VBscript from Javascript
SO example VBScript
What does win32com.client.Dispatch() do?
Quick Start to Client side COM and Python
General References
Stata Automation Reference
OLE Automation in JavaScript

Info on:

What Automation is
What binding is
How to create a new instance of an Automation object
How to retrieve an existing instance of an Automation object
How to work with application instances
How to improve the performance of your scripts
How to work with collection objects

OLE Automation Wikipedia
Component Object Model (COM)
Note that Javascript is not necessarily the same as JScript.

The python code is storing stata.StataOLEApp, and that is why you get a persistent session. The thing to do would be to create a "stata" object in atom in javascript. Not sure whether that is possible, but I don't think you can get a persistent session using python. As best I can tell, it works for sublime because "sublime' is an object in python which can store "stata".
Perhaps this: https://www.npmjs.com/package/win32com? You'd need to rewrite the snippet in js/cson, but the syntax looks pretty similar.

Yeah, I see that stata.StataOLEApp. I've been in the midst of working to install the node module as we speak. The github repo hasn't been updated in 5 years so it might not work. I'll see

Fingers crossed. FWIW, the hash repo I used for gtools hasn't been updated in 3 years and it works just fine, but I understand it feels a bit like rolling the dice. Best of luck!

Thanks!!! I got it to work.
To document my progress:

Had to install node-activex. This is what creates the connection. Ideally, you should be able to do just npm install winax, but that didn't exactly work on my computer.

I had to fidget with my environment variables...

I have a %PYTHON% variable at C:\Program File\Python36

My %PATH% looks like:

I also did
npm --add-python-to-path='true' --debug install --global windows-build-tools

this had to be done in an administrative level command prompt. See this issue.

Once everything is correctly installed, the following worked:
var winax = require('winax');
var con = new ActiveXObject("stata.StataOLEApp", {
    activate: true,
    async: true,
    type: true
});
con.DoCommandAsync('sysuse auto, clear');

To do:

Figure out how to get this to install with the fewest number of manual dependencies.
Do they need to install python?
Get this working inside Atom.

Still trying to get it to work in Atom. It works in the node console, but not in Atom's dev console. Not sure why it can't find the module.

Possibly helpful: https://electronjs.org/docs/tutorial/using-native-node-modules
I need to read more about electron

Likely impossible to have this work from Atom. Atom is built on Electron, which is built on Chrome, and Chrome doesn't support ActiveX.
See:

https://github.com/durs/node-activex/issues/15
https://stackoverflow.com/questions/36309779/invoke-activex-in-electron#36314844

You can still do batch mode:
"C:\Program Files (x86)\Stata15\StataMP-64.exe" /e do test.do

Probably the only possibility

https://atom.io/packages/ide-bash
npm install -g bash-language-server

You need to install that language server separately as it depends on native node modules

look into this and see if there's something like this I could do for Stata

native node modules
node-gyp windows
windows-build-tools

It works!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
From an admin-level command prompt, install windows-build-tools
npm install --global --production windows-build-tools

Then rebuild winax against the current electron version. Get the current electron version with
process.versions.electron

Then rebuild with:
npm rebuild winax --runtime=electron --target=1.6.15 --disturl=https://atom.io/download/atom-shell --build-from-source

Fixed with https://github.com/kylebarron/stata-exec/commit/1059ae8982438726f37a86af2287c7e2c536ddb4


Initial design

Inspired by this comment by @mbostock:

https://github.com/observablehq/plot/issues/1496#issuecomment-1526116800

I think maybe the answer here is that someone should write a “downloader” tool that downloads the compiled ES modules from jsDelivr (or other CDN) and rewrites the import statements to use relative paths. Then you could just download this URL
https://cdn.jsdelivr.net/npm/@observablehq/plot/+esm
and you’d get the direct dependencies
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>and the transitive dependencies and so on as separate files.

First version will look like this:
download-esm @observablehq/plot

This will download the referenced module and all dependencies to the current directory.
For a different directory:
download-esm @observablehq/plot ./js

Here's what it does right now:
download-esm @observablehq/plot js

It outputs a list of files it has created:
observablehq-plot-0-6-6-src-index-js.js
d3-7-8-4m.js
d3-ease-3-0-1m.js
d3-fetch-3-0-1m.js
d3-dsv-3-0-1m.js
d3-scale-4-0-2m.js
d3-force-3-0-0m.js
d3-delaunay-6-0-4m.js
d3-timer-3-0-1m.js
d3-brush-3-0-0m.js
isoformat-0-2-1m.js
d3-format-3-1-0m.js
d3-hierarchy-3-1-2m.js
d3-interpolate-3-0-1m.js
d3-polygon-3-0-1m.js
d3-contour-4-0-2m.js
d3-time-3-1-0m.js
d3-array-3-2-1m.js
delaunator-5-0-0m.js
d3-scale-chromatic-3-0-0m.js
d3-random-3-0-1m.js
internmap-2-0-3m.js
d3-zoom-3-0-0m.js
d3-drag-3-0-0m.js
interval-tree-1d-1-0-4m.js
d3-shape-3-2-0m.js
d3-array-3-2-3m.js
d3-geo-3-1-0m.js
d3-transition-3-0-1m.js
d3-color-3-1-0m.js
d3-selection-3-0-0m.js
d3-dispatch-3-0-1m.js
d3-chord-3-0-1m.js
d3-axis-3-0-0m.js
robust-predicates-3-0-1m.js
d3-path-3-1-0m.js
d3-time-format-4-1-0m.js
d3-quadtree-3-0-1m.js
d3-ease-3-0-1m.js
d3-array-3-2-0m.js
binary-search-bounds-2-0-5m.js
d3-timer-3-0-1m.js
d3-interpolate-3-0-1m.js
d3-time-3-1-0m.js
d3-array-3-2-1m.js
internmap-2-0-3m.js
d3-color-3-1-0m.js
d3-array-3-2-0m.js
internmap-2-0-3m.js

I don't like that first filename:
observablehq-plot-0-6-6-src-index-js.js

I want that to be observablehq-plot-0-6-6.js.


add memory management policy for setter

@crazytonyli @daydayfree  related https://github.com/douban/Polymorph/issues/7

lgtm

Codecov Report

Merging #8 into master will decrease coverage by 0.85%.
The diff coverage is 63.63%.

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
- Coverage   89.83%   88.97%   -0.86%
==========================================
  Files           8        8
  Lines         364      372       +8
  Branches       30       30
==========================================
+ Hits          327      331       +4
- Misses         25       29       +4
  Partials       12       12

Impacted Files
Coverage Δ

Polymorph/Polymorph.m
90.5% <63.63%> (-1.9%)
:arrow_down:

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 91f61e0...f7647d4. Read the comment docs.

@crazytonyli done.


pull request for e2e test at 12/31/2016 15:45:08

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Organization status modification capability in the UI

Description:
Similar to the organization delete capability, we have an option to disable the status of an organization given that it doesn't have any child organization with the status as active. The organization status can be modified via a PATCH or PUT request to the organization management endpoint. This capability should be implemented in the UI.

Fixed in https://github.com/wso2/identity-apps/pull/3362


Feature/non equidistant audio data

Which issue(s) are closed by this pull request?
Closes #42
Changes proposed in this pull request:

New classes DataTime and DataFrequency to store non-equidistant or incomplete audio data.
New classes were realized by redistributing and inheriting the code from Signal
There is only one change in Signal behavior: If passing comment=None, self._comment is set to 'none' instead of None. This is more consistent, because the setter uses str(comment) anyhow.

Next steps

make arithmetic and plot functions work for new classes (I will open issues, when this gets merged)

I fixed some typos and spelling issues. Ready to merge.


On.Terraria.Projectile.GetAlpha: Illegal One-Byte Branch

Trying too hook into Projectile.GetAlpha, getting error below.
Using TerrariaHooks v0.16
Code
On.Terraria.Projectile.GetAlpha += (orig, self, color) =>
{
    return orig(self, color);
};

Error

Same with
IL.Terraria.Projectile.GetAlpha += (il) =>
{
    var cursor = il.At(0);
};

Are you using the latest version of MonoMod, specifically the latest devbuild? Visit the the build log, select the latest (top) build, go to the summary tab, download the net35 artifact and put all relevant files into the Terraria folder. It should then load the latest version of MonoMod instead of loading the version bundled with tML.

Nevermind, I just managed to replicate it using MonoMod <IP_ADDRESS>. Debugging it right now.

The issue is now fixed here.
Can you please test it using the following build artifact?
https://0x0ade.visualstudio.com/e07cb5e7-fa7f-457d-982b-3323979ed1b7/_apis/build/builds/209/artifacts?artifactName=net35&api-version=5.1-preview.5&%24format=zip
You only need to place MonoMod.Utils.dll and MonoMod.RuntimeDetour.dll into the Terraria directory.

Nevermind, I just realized that you're using TerrariaHooks, not tML 0.11 😅

Please report back whether you're still experiencing the issue with TerrariaHooks 0.17 or if it's fixed for you as well.

Resolved on the tML Discord.


Fix KafkaChannel conversion

Fixes #

Proposed Changes

Fix KafkaChannel conversion problem (https://github.com/knative/eventing-contrib/pull/1378#issuecomment-658164210)

Release Note

- 🐛 Fix bug
KafkaChannel conversion v1beta1<>v1alpha1 is fixed

Docs

cc @vaikas

/lgtm
/approve


xtensor_fixed initializer_list constructor now requires double curly braces

The new constructor of xtensor_fixed  introduces an inconsistency compared to other containers as
xt::xtensor_fixed <long, xt::xshape<2>> t {1,2};

is not a valid construct anymore.
Double braces must be used to call the new constructor:
xt::xtensor_fixed <long, xt::xshape<2>> t {{1,2}};

For the sake of homogeneity (and concision), it would be good to be able to use single curly braces

I think that you should be able to do this with the = sign and have a consistent behavior.
It is not possible to have something consistent with the agregate initialization syntax.

@JohanMabille I wonder if we should explicitely diacourage aggregate initialization in the documentation, and favor intializer lists.
Ie favor array x = {} vs array x {}...

Unfortunately, the use the assignment operator doesn't solve the issue in the current version:
xt::xtensor_fixed <int, xt::xshape<2>> t = {1,2};
error: could not convert ‘{1, 2}’ from ‘<brace-enclosed initializer list>’ to ‘xt::xtensor_fixed<int, xt::fixed_shape<2ul> > {aka xt::xfixed_container<int, xt::fixed_shape<2ul>, (xt::layout_type)1, xt::xtensor_expression_tag>}’

@SylvainCorlay since we provide constructors taking an initializer list, aggregate initialization should fallback on initializer list constructor, so array x = {} and array x {} should behave the same.
The problem encountered here is that the constructor taking an initializer list has been replaced with a constructor taking a stack-allocated array, preventing aggregate initialization. This was for detecting this kind of errors at compile time:
xt::xtensor_fixed <int, xt::xshape<2>> t = {1,2,3};

hmm interesting issue. it didn't come up as we're currently using this syntax in the tests:
xtensor_fixed<double, xshape<3>> a({1,2,3});

which seems to compile fine on all tested compilers.
I'm not sure if we could provide an additional initializer_list constructor that does a dynamic shape check? Or would that cause ambiguity?

@wolfv there wouldn't be any ambiguity, the constructor taking an initializer list would be picked up since the one taking a C array would require a conversion. So we would loose the check at compile time.
So basically the problem is compile time check vs homgeneity.

we could also check wether the dynamic check is optimized out by all/most compilers on O3 and move to a runtime check?

Yep, if the compiler can optimize it that would be the better option.

So this is the output for a simple check:

Fixed in #970


Error: Cannot find module 'http-proxy'

when i try to run server.js on node.js im getting this error:
Error: Cannot find module 'http-proxy'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (C:\Program Files\nodejs\node_modules\cors-anywhere\lib\cors-anywhere.js:6:17)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
npm ERR! This is most likely a problem with the cors-anywhere package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node server.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs cors-anywhere
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls cors-anywhere
npm ERR! There is likely additional logging output above.

fixed with: node install http-proxy
thanks!

Use npm install to make sure that all dependencies (and the correct
version) in package.json are installed.

We ran the npm install http-proxy without any luck. Is there another route we can try?

bata do bhaii ko..project nai challaa

bata do bhaii ko..project nai challaa


William Du - Lists and Loops Review Ticket

[x] GitHub page for Test Prep study, requiring 5.3, 5.4 notes and actions( See "GitHub pages actions" at the bottom of each TPT page on cspcoders).

[x] GitHub page that documents key learnings and code snippets using GitHub and Replit.
InfoDB lists
InfoDB loops
Fibonacci - (For Fibonacci(n)  print complete list 0 - n  and not just the nth term)

Crossover Grade-

Github Page w/ TPT 5.3, 5.4 notes and actions - Page with descriptive and detailed notes, complete with both 5.3, 5.4 and the github actions for this week (1/1)
Github Page with Replit embed and link documenting learning, Replit and github code with InfoDB lists and loops running and Fibonacci project (2/2)

Total: 3/3


Motoki/push notification

Here is what I have so far with Notification function. Go to 'MyGardenPlant' screen > click 'Set reminder' > choose the date & time, which should send out only one notification in 30 sec (*regardless of what you choose on Date Time picker!)

I am afraid the expected functionality doesn't work in IOS as I don't get any notifications so far.

Oh, no... I will have to look into it then. This is rather tricky to test and implement, I have to say! I had to reinstall Expo client on my Android phone several times since it gets stuck(cached??) often to the extent that I couldn't get it working without doing so...

I've added permission-related methods for iOS. My disclaimer: I have no way of testing this on my own without iPhone... In any case, check it out and see if you receive a notification this time on iPhone. Again, you should receive a notification in 30 sec, IF the issue has been solved!

I've added permission-related methods for iOS. My disclaimer: I have no way of testing this on my own without iPhone... In any case, check it out and see if you receive a notification this time on iPhone. Again, you should receive a notification in 30 sec, IF the issue has been solved!

Seems like you don't even need to have an iphone to solve the problem. It is working like a charm :)

Good to hear! I think most of the building blocks are there now. What we need is some 'logic' so everything will work as intuitively as possible. Let me know if there is any question, suggestion, etc...

OK, I think the error is fixed (as far as I can tell!). It was a missing 'check' as to whether there is no date/time value -> set to ' ', which seems to have done the trick. But let me know if it actually did!
Now, the parts that are (seemingly) working are the notification based on date&time input from user and basic functionalities of the modal view. My current plan is to find out how to implement the 'repeat function' and pack the data input from this modal view into an object and pass it to the notification component where the 'title field' will take the name of the flower, 'body field' will take the care options (*water, fertilize or repot), and add data for date, time and repeat.

Modal looks awesome by the way.  Yeah, we will figure out how to use this information for the notification.  And somehow the formatting also doesn't work somehow I know we fixed it after installing eslint not sure why it started to not format again.


XJC -Xlocator create class with internal imports

I generate with XJC 2.2.8-b130911.1802.
Here is my args :
-b binding.xjb -extension -Xlocator -nv -d ../src/ -p mypackage index.xsd
And my generated class have the following imports:
import com.sun.xml.internal.bind.Locatable;
import com.sun.xml.internal.bind.annotation.XmlLocation;
So it's internal import, so I cannot compile this with maven tycho for example. And It's not a good idea to generate internal dependency.
Did this imported classes must be moved in public api in java itself ?
Or is there any existing public API to do this? And in this case, xjc must use it.
It seems to be already seen on SOF : http://stackoverflow.com/questions/2905930/jaxb-locator-missing-dependency
Thanks for your help
Affected Versions
[2.2.8 (JDK 8)]

if the xjc from the JDK is run, the internal reference is expected; one can avoid it ie by using xjc.sh from the standalone binary distribution. Or just by moving to jakarta version (3+)


Fix token bundle check to allow empty array on Ledger Cardano app < 2.2.0

Motivation: signTransaction command was failing with ledger app older than 2.2.0 in case tokenBundle (a property introduced in ledger app 2.2.0) was an empty array which is otherwise valid because that means the output indeed doesn't have any.
Changes:

relax the tokenBundle feature check to allow an empty array
update flow types to make tokenBundle optional which was inconsistent with the original logic that internally dealt with null but the type itself required presence of the tokenBundle array

Testing:

yarn test-integration --grep signTx passes both for ledger cardano app 2.1.0 (tests that apply) and 2.2.0
tried passing tokenBundle set to an empty array but did not include in the commit to not introduce unnecessary conflicts with the ongoing refactor

closing, has been released separately (https://github.com/cardano-foundation/ledgerjs-hw-app-cardano/releases/tag/v2.2.1) from the main history to not interfere with upcoming refactor


[Request] "Clear logs" button

After 60k (sometimes through 30k) downloaded files in one session (tested with askmolestshy | aegissp | anthonygoforth.tumblr.com) ripper begins to slow down seriously. Often he simply stops downloading, displaying "Open Folder" button. I think it has something to do with the number of log lines. So it would be good to add a log cleaning button.

Or possibly have it auto-clear the log, for that item, when it has finished downloading? But, keep any failed ones in the window.

It might be a good idea to have a smarter logging mechanism which allows for auto-cleaning of successful log messages after they have reached a certain age, and keeping failures for a bit longer. I don't know if anyone really expects the log to contain a full history of everything ripme ever did. Personally, I hardly ever look at it after I've moved on to the next rip (I look into errors in a rip but that's about it). Sometimes I look at the log out of curiosity.


add shared update-diff

also rename the files to match the option

One thing I don't like here is that the shared code is not standalone. Now you need to know that to use the update-diff you also need to include the platform-specific code.

Sorry, I don't understand what you mean?


backendURL in frontend config incorrect

Frontend config.json sets the backendUrl to port 1338.  Throws error for default setup.

Yes, you're right. Cheers 👍


Change provider name

Provider name should be "openwhisk" not "ibm"

https://github.com/serverless/serverless/pull/2866


Meshing of example_4 fails

Traceback (most recent call last):
  File "/home/krza/code/building3d/examples/example_4.py", line 79, in <module>
    building.generate_simulation_mesh(include_volumes=True)
  File "/home/krza/code/building3d/building3d/geom/building.py", line 119, in generate_simulation_mesh
    self.mesh.generate(solidmesh=include_volumes)
  File "/home/krza/code/building3d/building3d/mesh/mesh.py", line 76, in generate
    self.solidmesh.generate(boundary_vertices)
  File "/home/krza/code/building3d/building3d/mesh/solidmesh.py", line 87, in generate
    vertices, elements = delaunay_tetrahedralization(
  File "/home/krza/code/building3d/building3d/mesh/tetrahedralization.py", line 346, in delaunay_tetrahedrali
zation
    assert set(np.unique(count_interior)) == set([0, 4]), \
AssertionError: Some interior elements have < 4 neighbors

I don't see this error anymore.


Alerting internal routing can fail with InternalServerError and fail to recover

While switching between defined and undefined attachedEndpoints and sometimes saving without changes I sometimes get into a state where when I attempt to save it results in a 500 with a conditionNotFound message in the response even though I can still request and get a result when looking for the condition. I think this might just be a dev env issue but I'm not sure.

Crux of the issue comes down to not being able to accurately verify that the newly applied config is loaded into the pod where  alertmanager lives & reads from before reloading.
So we get into a state where the CRD & (K,V) store mismatch the internal routing config, and can't recover.

The fix is to inject a server into alert manager which can report T/F whether the config while be applied correctly when reloading, so that we can call that api at the appropriate time when doing the kubernetes reload in our alerting driver:
go func() {
			defer wg.Done()
			pipelineErr := backend.NewApiPipline(
				ctx,
				[]*backend.AlertManagerAPI{
					backend.NewAlertManagerReadyClient(ctx, endpoint.AlertManagerEndpoint, backend.WithRetrier(pipelineRetrier), backend.WithExpectClosure(backend.NewExpectStatusOk())),
					backend.NewAlertManagerOpniConfigClient(
						ctx,
						endpoint.OpniEndpoint,
						backend.WithRetrier(pipelineRetrier),
						backend.WithRequestBody(
							strings.NewReader(string(util.Must(json.Marshal(apiConfigRequest{RawConfig: reloadInfo.UpdatedConfig}))))),
						backend.WithExpectClosure(backend.NewExpectStatusOk())),
					backend.NewAlertManagerReloadClient(ctx, endpoint.AlertManagerEndpoint,
						backend.WithRetrier(pipelineRetrier), backend.WithExpectClosure(backend.NewExpectStatusOk())),
					// backend.NewAlertManagerReadyClient(ctx, endpoint, backend.WithRetrier(pipelineRetrier), backend.WithExpectClosure(backend.NewExpectStatusOk())),
					// backend.NewAlertManagerStatusClient(ctx, endpoint, backend.WithRetrier(pipelineRetrier), backend.WithExpectClosure(backend.NewExpectConfigEqual(reloadInfo.UpdatedConfig))),
				},
				&pipelineRetrier,
			)


Confd doesn't create new connection after consul restart

It seems the connection between confd and consul is long connection. once the connection is created, even consul restart, the connection will not be re-created. It causes all changes of consul will not be detected by confd.

we are using confd-0.16.0-linux-amd64

I believe the "long connection" is due to our use of the Consul DefaultConfig() function which will pool and reuse idle connections to Consul.
https://github.com/kelseyhightower/confd/blob/cccd334562329858feac719ad94b75aa87968a99/backends/consul/client.go#L17

// DefaultConfig returns a default configuration for the client. By default this
// will pool and reuse idle connections to Consul. If you have a long-lived
// client object, this is the desired behavior and should make the most efficient
// use of the connections to Consul. If you don't reuse a client object , which
// is not recommended, then you may notice idle connections building up over
// time. To avoid this, use the DefaultNonPooledConfig() instead.
func DefaultConfig() *Config {
return defaultConfig(cleanhttp.DefaultPooledTransport)
}

Perhaps we should consider implementing the DefaultNonPooledConfig() function when confd is  running in the default interval mode and only implement DefaultConfig() when confd is running in watch mode.

// DefaultNonPooledConfig returns a default configuration for the client which
// does not pool connections. This isn't a recommended configuration because it
// will reconnect to Consul on every request, but this is useful to avoid the
// accumulation of idle connections if you make many client objects during the
// lifetime of your application.
func DefaultNonPooledConfig() *Config {
return defaultConfig(cleanhttp.DefaultTransport)
}


Two errors in handling of derived predicates

I have found two errors in VAL's handling of derived predicates.
I'll attach/upload the following PDDL files which exhibit the errors (if that's possible):
blocker-strips.pddl:           Domain file.
blocker-strips-small.pddl   Sample problem #1.
blocker-strips-small.soln   (Valid) Plan for sample problem #1.
blocker-strips-12.pddl       Sample problem #2.
blocker-strips-12.soln       (Valid) Plan for sample problem #2.
The errors are as follows:

The computation of the stratification is not correct. Every dp ends up in the same stratum, even when they should not. (This happens with both sample problems above.) The cause of this error is that the procedure that checks whether a dp occurs in the body of an axiom uses DerivationRules::NNF (defined in Validator.cpp), which attempts to use "goal( const goal& )" as a copy constructor for arbitrary goal subclasses. This does not work: the construction "new goal( *g )" returns a object of class "goal", which is an abstract parent class of all goal types, and therefore itself not recognised as any goal type.
Fixing the NNF conversion procedure fixes this problem. However, the NNF conversion looks like it is intended to do a complete deep copy of the goal (because the goal it returns is deleted by the function that calls it, occurNNF). I'm not sure if this is actually guaranteed by the NNF conversion (even after correction). It may be safer not to delete the NNF-converted goal formula. This will entail some memory leakage, but it's relatively small (stratification is only done once, I believe).

The evaluation of a derived predicate in the problem goal (at the end of plan execution) appears to run into an infinite loop. This happens regardless of whether stratification is correct or not. It only happens on sample problem/plan #2, not on problem/plan #1 (though since both share the same domain, the have the same set of axioms). It also only happens when the validator checks the goal, not when it checks preconditions of actions.

It appears not to be possible to upload/attach test files here. Instead, they are now included in the inval distribution at http://users.cecs.anu.edu.au/~patrik/pddl/inval.tar.gz (under tests/axioms).

Thanks for that, Patrik. I will take a look - your proposed fix is plausible, but I'd like to avoid the leak if I can. This machinery dates back to Richard Howey days and I will need to dig around to see if I can remember the details. Memory management in VAL is not as robust as I would have liked (and C++-11 would make a lot of things so much easier).

Avoiding the memory leak should not be too difficult: It seems that goal formulas, when deleted, recursively delete their parts, so the NNF conversion just has to make sure it does a full deep copy of the formula while transforming it. Then the returned formula can be deleted after use (in occurNNF).

@patrikhaslum It might be too late to come here, but I checked your sample files in the archive.
Maybe you are no longer interested in this topic, but I just want to leave a comment here for someone else that was interested.
First, couple of files have inconsistency in the action and the predicate names between the pddl and the solution files --- I attach the diff here
modified   tests/axioms/bw-axioms-THN.pddl
@@ -38,13 +38,13 @@
 	    (forall (?x - block)
 		    (not (holding ?x))))

-  (:action pick-up
+  (:action pickup
    :parameters (?ob - block)
    :precondition (and (clear ?ob) (ontable ?ob) (handempty))
    :effect (not (ontable ?ob))
    )

-  (:action put-down
+  (:action putdown
    :parameters (?ob - block)
    :precondition (holding ?ob)
    :effect (ontable ?ob)
modified   tests/axioms/bw-axioms-small.pddl
@@ -2,6 +2,6 @@
 (define (problem size-five)
   (:domain blocksworld-with-axioms)
   (:objects A B C D E)
-  (:init (on-table A) (on B A) (on C B) (on-table D) (on E D))
+  (:init (ontable A) (on B A) (on C B) (ontable D) (on E D))
   (:goal (and (on A D) (on C B)))
   )

Second, some derived predicates in the files contain duplicated parameters which is not allowed in the PDDL2.2 paper. (Perhaps it implies equality between them, but this sounds nonstandard)
  ;; ?a has motive for (has ?a ?i) if ?a has motive for (has ?c ?i):
  (:derived (motive-for-has ?a - character ?a - character ?i - item)
	    (exists (?c - character)
		    (motive-for-has ?a ?c ?i)))

Hi Masataro,
The blocksworld domain (as per comment in the file) was modified to match the naming convention for the IPC 2000 instances and plans. You're right that the sample instance and plan in the inval repository do not match it.
However, the files triggering the errors in VAL are the blocker domain (not blocksworld). From a quick test with an up-to-date version of VAL, at least the second error (inf loop in goal evaluation) is still present.
I did not notice the requirement that variables have to be different (though, again, this does not occur in the domain file that triggers the errors). INVAL supports axioms with non-unique variables in the head, and it is indeed treated as a equality constraint.

PS. Should perhaps mention that INVAL is now on github: https://github.com/patrikhaslum/INVAL. The version in the archive linked to above is probably a bit old (though the mismatch between the blocksworld domain and instance/plan has not been fixed).

I think you did not include the sample files in the github INVAL repository.
BTW I plan to push to my own validator https://github.com/guicho271828/ArriVAL (the name comes from  a pun about Lisp being a very ALIEN language...) I read some source code comments in INVAL and learned couple of new things about axioms (like maximum/minimum stratification).

You're right, the test case collection was not in the repository! It is now. (I also fixed the blockworld instance and plan.)


is there proguard rules?

if yes, tell me .thx

Thanks for creating this useful library. I would like to know about proguard too.

no proguard


Use for offline enviroments

Problem/Motivation

Can't figure out how to run this addon to serve as an ntp server on a raspberry pi with rtc within an offline environment

Expected behavior

Grep the time from the rtc and serve it for other clients with ntp
The rtc could get synced upstream with a gps module when needed (this logic is outside of chrony)

Actual behavior

Can't get it configured :bowing_man:

Proposed changes

Clarify in the readme if this 'mode' is possible and how to set it up :+1:

At the moment you can't, the service is configured to pull NTP from a time source.  Happy to accept a PR to update the readme if you think its necessary although it does state you need a configured NTP source.  Further documentation on the service can be found at https://chrony.tuxfamily.org/faq.html

Thank's for the clarification.
What would happen if their is a internet time source available in the beginning for example and it will go down? Will chrony stop to serve the time via ntp when it can't sync it online or is there a fall back?

Full documentation can be found at https://chrony.tuxfamily.org/documentation.html which should be able to answer your questions better than I can.  The addon configures and runs the service, I would imagine however as with the majority of NTP servers, it should log an error and retry to sync.  It should always serve NTP.

Thank's for the link. I read a little and I think that my scenario would work (somehow)
If I interpret this one right: https://chrony.tuxfamily.org/comparison.html
Even without a rtc on a raspberry (fake hw clokc from file) this should work.
I just still don't have any clue what configuration in the hassio addon tab would make sense.

You can't in the addon today, the chrony.conf file would need to be changed to support it, however in all honesty I would be unlikely to change the addon to support this use case.  Of course you can always fork the addon and change it to how you would like it to behave.

Just one more question.
What will happen if I use the addon as intended (beeing able to get time from a upstream ntp server) and then the internet uplink fails.
Will the addon still serve time via ntp to other clients in the network or will it stop?

It is an NTP server, its will continue to respond.

But where does it take the time from if no ntp server is available? From the rtc maybe? So for my use case there must be a ntp server available once at boot and than it would just continue serving the time from rtc?

Won't use the RTC, it will likely require an NTP server at boot, then will work the same as any other clock....
If you need to discuss further please feel free to join the Discord server.


dataset

Hello, I want to know how to run your code on the kitti dataset (referring to SG_PR). I hope to give more detailed steps in the readme document. I look forward to your answer, thank you.

Thanks for your interests for our work! Could you describe your problem in more detail? Have you tried to follow up the readme and what's the exact confusion for you? I'd be glad to help you figure it out.

This is the case. In your readme document, I have successfully run the test code, which means that I have obtained the maximum score of the F1 and PR curve, and successfully obtained the training data. But in your paper it is stated that you have conducted experiments on the kitti dataset. The first question: I also want to run your code on the kitti data set now. I hope you can give the best address for running on the kitti data set. I am a novice and I was looking for a data set suitable for your code. It took a long time, and then I specifically introduced how to operate it. The readme file is rather vague, so I don't know how to operate. Second question: In the data-process file, I obtained the semantic tags and instance tags by running the code you gave (these are also given in the preprocessed data), but the subsequent output is in the folder and in the The posting on the ros theme makes me wonder, is it to save the semantically segmented pictures in a folder? And how to publish it on the ros theme? I really hope to give more detailed steps. I think the above questions are not difficult for experienced people, but they are really difficult to understand for novices like me. I sincerely hope that the author can give me advice. I have read the papers you wrote. Your research direction is very novel and has a wide range of application scenarios. Finally, if the author can reply to me,This is the case. In your readme document, I have successfully run the test code, which means that I have obtained the maximum score of the PR curve and F1, and successfully obtained the training data. But in your paper it is stated that you have conducted experiments on the kitti dataset. The first question: I also want to run your code on the kitti data set now. I hope you can give the best address for running on the kitti data set. I am a novice and I was looking for a data set suitable for your code. It took a long time, and then I specifically introduced how to operate it. The readme file is rather vague, so I don't know how to operate. Second question: In the data-process file, I obtained the semantic tags and instance tags by running the code you gave (these are also given in the preprocessed data), but the subsequent output is in the folder and in the The posting on the ros theme makes me wonder, is it to save the semantically segmented pictures in a folder? And how to publish it on the ros theme? I really hope to give more detailed steps. I think the above questions are not difficult for experienced people, but they are really difficult to understand for novices like me. I sincerely hope that the author can give me advice. I have read the papers you wrote. Your research direction is very novel and has a wide range of application scenarios. Finally, if the author can reply to me,

Good to know you have successfully run the test code! For generating semantic graphs from scratch, you can refer to this readme. Let me know if you have any troubles.

Please reopen this issue if any problem occurs.


Official tag should be also added to official CDKtf and to official CDK8s packages

All official packages should have the tag 'official' if they were published by the CDK type owner

Depends on Tag work - should also implement a Community tag for non-official libraries


⚠ Jenkins Plugins Artifactory has degraded performance

In 02f4e8b, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1125 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 7c9873e after 13 minutes.


resolved issue #26198 by changing anchor tag to button

the anchor tag is replaced by button tag
Fixes:

Screenshots and screen captures:

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Thanks for working on this, @lokesh-wagh. As you can see from reading through #26198, there's already a PR open with this fix (#26209), so I'm closing your PR in favor of that one.
Before you make future contributions, you might want to read through our contributor guide at https://zulip.readthedocs.io/en/latest/contributing/index.html

Thank You for the insight's sir
Actually this was my first issue so I didn't know how  open source actually work's


"No module named 'framebuf'" error running simpletest.py on RaspberryPi

I'm trying to use the SSD1306 display on RaspberryPi (latest Stretch image) with CircuitPython.
Installed Blinka and other libraries as following:
pip3 install RPI-GPIO
pip3 install adafruit-blinka
pip3 install Adafruit_CircuitPython_SSD1306
The Blinka test was OK, however running the simpletest.py for SSD1306 gives the error that framebuf module is not found. Tried to install additional dependencies, as per documentation (https://cdn-learn.adafruit.com/downloads/pdf/micropython-hardware-ssd1306-oled-display.pdf?timestamp=1542370878):
pip3 install adafruit-circuitpython-busdevice
pip3 install adafruit-circuitpython-register
Tried to follow the issue #1, but very confusing to understand how to install the framebuf. The simpletest.py still can't run...
Please help. Thanks - Mac Ha

Try this:
get bitmapfont.py and font5x8.bin from https://github.com/adafruit/micropython-adafruit-bitmap-font  and put them in the same folder as this test code - saved as oled_test.py
# Import pins.
from board import SCL,SDA
from busio import I2C
import time
# Import the SSD1306 module.
import adafruit_ssd1306
import bitmapfont
i2c=I2C(SCL,SDA)
display = adafruit_ssd1306.SSD1306_I2C(128, 32, i2c)
display.fill(0)
display.show()
bf = bitmapfont.BitmapFont(128, 32, display.pixel)
bf.init()
bf.text('Hello, World!', 0, 0, 1 )
bf.text('Hello, World!', 0, 10, 1)
bf.text('Hello, World!', 10, 20, 1)
display.show()
time.sleep(2)
display.invert(True)
time.sleep(2)
display.invert(False)
time.sleep(2)
display.fill(0)
display.show()

I am able to then run this vis:
python3  oled_test.py

sorry -- also put framebuf.py  from https://github.com/adafruit/micropython-adafruit-framebuf in the same folder as the example and bitmapfont.py

just FYI because of all the complexity involved we're not quite read to support circuitpython for oled displays on linux. it might work :) but its not tested at all! we have a plain Python repo for now, with example code. long term, yes we'll be moving to this library only

Fair enough --  but it does work ;-)

rad :)

jerryn, is that with framebuf? ar eyou using PIL to draw or just main framebuf - thats the thing we'd have to document is how to use PILlow

That is with framebuf.py

Sorry, looks like the display itself is faulty (fake, I guess), as only the same 32 lines shows up with own DigiSpark's OLED demo sketch... So I've already ordered a couple of Adafruit's 1.3 inch 128x64 OLEDs.
I think this issue can be now closed?


[Spaces] Document Dev Mode

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Build mongo 3.2.x on ARM (armv7l/arm64/aarch64) - segmentation fault

While the mongod (DB) is running well after build without seen issues yet, it is not possible to get a running mongo shell [with or without javascript (mozjs) support enabled] after build.
Simple build:
mkdir -p /tmp/mongo-build

cd /tmp/mongo-build

git clone --branch "r3.2.6" --depth 1 https://github.com/mongodb/mongo.git

cd mongo

scons --disable-warnings-as-errors --prefix=/tmp/mongo-build/mongo --js-engine=mozjs mongo mongod

Even that this build will be run on all tested platforms and architectures (Linux on armv7l, aarch64, amd64) without issues during compiling, the results in case of running programs differs.
Running mongo command after build on amd64:
Just run mongo shell and try to connect to a non existing instance
./mongo mongodb://localhost:5002/sample

this will give this output:

MongoDB shell version: 3.2.6
connecting to: mongodb://localhost:5002/sample
2016-07-05T14:10:23.772+0200 W NETWORK  [thread1] Failed to connect to <IP_ADDRESS>:5002, reason: errno:111 Connection refused
2016-07-05T14:10:23.772+0200 E QUERY    [thread1] Error: couldn't connect to server localhost:5002, connection attempt failed :
connect@src/mongo/shell/mongo.js:223:14
@(connect):1:6

exception: connect failed

Running mongo command after build on aarch64/armv7l:
Instead of this, the output on ARMs is just:

MongoDB shell version: 3.2.6
Segmentation fault (core dumped)

It seems to me that the TCP connection part might bring up that "SEGMENTATION FAULT" but I can't debug this.
I would be happy about any help to get this run.

Hello Tom
Please can you post the output of the segmentation fault by typing dmesg after you have tried to run ./mongo mongodb://localhost:5002/sample command.
Regards
Keith

Hi Keith ( @cyphernix )
thanks for helping hands.

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.0-21-generic (buildd@templar) (gcc version 5.3.1 20160413 (Ubuntu/Linaro 5.3.1-14ubuntu2) ) #37-Ubuntu SMP Mon Apr 18 18:36:41 UTC 2016 (Ubuntu 4.4.0-21.37-generic 4.4.6)
[    0.000000] Boot CPU: AArch64 Processor [411fd072]
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000023fffffff]
[    0.000000] NUMA: Adding memblock [0x40000000 - 0x23fffffff] on node 0
[    0.000000] NUMA: Initmem setup node 0 [mem 0x40000000-0x23fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x23fff2280-0x23fff3fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000023fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x000000023fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000023fffffff]
[    0.000000] On node 0 totalpages: 2097152
[    0.000000]   DMA zone: 12288 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 786432 pages, LIFO batch:31
[    0.000000]   Normal zone: 20480 pages used for memmap
[    0.000000]   Normal zone: 1310720 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv0.2 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] PERCPU: Embedded 17 pages/cpu @ffff8001fff7b000 s31128 r8192 d30312 u69632
[    0.000000] pcpu-alloc: s31128 r8192 d30312 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 832075
[    0.000000] CPU features: enabling workaround for ARM erratum 834220
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 2064384
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: root=/dev/vda rw rootwait console=ttyAMA0
[    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 12288 bytes
[    0.000000] log_buf_len min size: 16384 bytes
[    0.000000] log_buf_len: 32768 bytes
[    0.000000] early log buf free: 13716(83%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] software IO TLB [mem 0xfbfff000-0xfffff000] (64MB) mapped at [ffff8000bbfff000-ffff8000bfffefff]
[    0.000000] Memory: 8154972K/8388608K available (8716K kernel code, 1014K rwdata, 3768K rodata, 760K init, 787K bss, 233636K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
                   vmalloc : 0xffff000000000000 - 0xffff7bffbfff0000   (126974 GB)
                   vmemmap : 0xffff7bffc0000000 - 0xffff7fffc0000000   (  4096 GB maximum)
                             0xffff7bffc0000000 - 0xffff7bffc8000000   (   128 MB actual)
                   fixed   : 0xffff7ffffa7fd000 - 0xffff7ffffac00000   (  4108 KB)
                   PCI I/O : 0xffff7ffffae00000 - 0xffff7ffffbe00000   (    16 MB)
                   modules : 0xffff7ffffc000000 - 0xffff800000000000   (    64 MB)
                   memory  : 0xffff800000000000 - 0xffff800200000000   (  8192 MB)
                     .init : 0xffff800000cb3000 - 0xffff800000d71000   (   760 KB)
                     .text : 0xffff800000080000 - 0xffff800000cb3000   ( 12492 KB)
                     .data : 0xffff800000d82000 - 0xffff800000e7f800   (  1014 KB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 64.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=128 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GICv2m: range[0x8020000:0x8020fff], SPI[80:144]
[    0.000000] Architected cp15 timer(s) running at 250.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x7350b89c29, max_idle_ns:<PHONE_NUMBER>10 ns
[    0.000002] sched_clock: 56 bits at 250MHz, resolution 4ns, wraps every<PHONE_NUMBER>102ns
[    0.000284] Console: colour dummy device 80x25
[    0.000347] Calibrating delay loop (skipped), value calculated using timer frequency.. 500.00 BogoMIPS (lpj=1000000)
[    0.000353] pid_max: default: 32768 minimum: 301
[    0.000416] Security Framework initialized
[    0.000427] Yama: becoming mindful.
[    0.000628] AppArmor: AppArmor initialized
[    0.002151] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[    0.018382] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.025749] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.025781] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.027222] Initializing cgroup subsys io
[    0.027237] Initializing cgroup subsys memory
[    0.027262] Initializing cgroup subsys devices
[    0.027274] Initializing cgroup subsys freezer
[    0.027286] Initializing cgroup subsys net_cls
[    0.027297] Initializing cgroup subsys perf_event
[    0.027302] Initializing cgroup subsys net_prio
[    0.027307] Initializing cgroup subsys hugetlb
[    0.027368] Initializing cgroup subsys pids
[    0.027403] ftrace: allocating 30264 entries in 119 pages
[    0.086694] EFI services will not be available.
[    0.086720] ASID allocator initialised with 65536 entries
[    0.112304] Detected PIPT I-cache on CPU1
[    0.112398] CPU1: Booted secondary processor [411fd072]
[    0.135378] Detected PIPT I-cache on CPU2
[    0.135466] CPU2: Booted secondary processor [411fd072]
[    0.158490] Detected PIPT I-cache on CPU3
[    0.158577] CPU3: Booted secondary processor [411fd072]
[    0.158677] Brought up 4 CPUs
[    0.158688] SMP: Total of 4 processors activated.
[    0.158692] CPU: All CPU(s) started at EL1
[    0.160928] alternatives: patching kernel code
[    0.162662] devtmpfs: initialized
[    0.163666] evm: security.selinux
[    0.163669] evm: security.SMACK64
[    0.163671] evm: security.SMACK64EXEC
[    0.163674] evm: security.SMACK64TRANSMUTE
[    0.163675] evm: security.SMACK64MMAP
[    0.163677] evm: security.ima
[    0.163679] evm: security.capability
[    0.164054] DMI not present or invalid.
[    0.164209] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>100000 ns
[    0.164608] pinctrl core: initialized pinctrl subsystem
[    0.165244] NET: Registered protocol family 16
[    0.174710] cpuidle: using governor ladder
[    0.181498] cpuidle: using governor menu
[    0.181546] vdso: 2 pages (1 code @ ffff800000d89000, 1 data @ ffff800000d88000)
[    0.181571] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.182774] DMA: preallocated 256 KiB pool for atomic allocations
[    0.183032] Serial: AMBA PL011 UART driver
[    0.186217] 9000000.pl011: ttyAMA0 at MMIO 0x9000000 (irq = 38, base_baud = 0) is a PL011 rev1
[    0.301246] console [ttyAMA0] enabled
[    0.312777] ACPI: Interpreter disabled.
[    0.313821] vgaarb: loaded
[    0.315133] SCSI subsystem initialized
[    0.316097] libata version 3.00 loaded.
[    0.316216] usbcore: registered new interface driver usbfs
[    0.317265] usbcore: registered new interface driver hub
[    0.318607] usbcore: registered new device driver usb
[    0.319928] dmi: Firmware registration failed.
[    0.321330] NetLabel: Initializing
[    0.321989] NetLabel:  domain hash size = 128
[    0.322796] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.323727] NetLabel:  unlabeled traffic allowed by default
[    0.385643] clocksource: Switched to clocksource arch_sys_counter
[    0.408559] AppArmor: AppArmor Filesystem Enabled
[    0.409699] pnp: PnP ACPI: disabled
[    0.415455] NET: Registered protocol family 2
[    0.416788] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
[    0.419473] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.423081] TCP: Hash tables configured (established 65536 bind 65536)
[    0.424594] UDP hash table entries: 4096 (order: 5, 131072 bytes)
[    0.426006] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes)
[    0.427539] NET: Registered protocol family 1
[    0.428388] PCI: CLS 0 bytes, default 128
[    0.428553] Trying to unpack rootfs image as initramfs...
[    5.052934] Freeing initrd memory: 20788K (ffff800008000000 - ffff80000944d000)
[    5.055064] kvm [1]: HYP mode not available
[    5.056287] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    5.057536] audit: initializing netlink subsys (disabled)
[    5.058704] audit: type=2000 audit(4.984:1): initialized
[    5.059850] Initialise system trusted keyring
[    5.062736] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    5.066706] zbud: loaded
[    5.067693] VFS: Disk quotas dquot_6.6.0
[    5.068505] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    5.072855] fuse init (API version 7.23)
[    5.073930] Key type big_key registered
[    5.077810] Key type asymmetric registered
[    5.078596] Asymmetric key parser 'x509' registered
[    5.079574] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    5.084827] io scheduler noop registered
[    5.085608] io scheduler deadline registered (default)
[    5.086700] io scheduler cfq registered
[    5.087960] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    5.089016] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    5.090341] PCI host bridge /pcie@10000000 ranges:
[    5.091246]    IO 0x3eff0000..0x3effffff -> 0x00000000
[    5.092208]   MEM 0x10000000..0x3efeffff -> 0x10000000
[    5.093166]   MEM 0x8000000000..0xffffffffff -> 0x8000000000
[    5.094636] pci-host-generic 3f000000.pcie: PCI host bridge to bus 0000:00
[    5.095927] pci_bus 0000:00: root bus resource [bus 00-0f]
[    5.096950] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    5.098136] pci_bus 0000:00: root bus resource [mem 0x10000000-0x3efeffff]
[    5.099415] pci_bus 0000:00: root bus resource [mem 0x8000000000-0xffffffffff]
[    5.100794] pci 0000:00:00.0: [1b36:0008] type 00 class 0x060000
[    5.101170] pci 0000:00:01.0: [8086:244e] type 01 class 0x060401
[    5.101702] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    5.104571] pci_bus 0000:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f])
[    5.104640] pci 0000:01:00.0: [1b36:0001] type 01 class 0x060400
[    5.104806] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000000ff 64bit]
[    5.105334] pci 0000:01:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    5.108431] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    5.108804] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 02
[    5.112173] pci 0000:00:01.0: BAR 14: assigned [mem 0x10000000-0x100fffff]
[    5.113484] pci 0000:01:00.0: BAR 0: assigned [mem 0x10000000-0x100000ff 64bit]
[    5.116648] pci 0000:01:00.0: PCI bridge to [bus 02]
[    5.120332] pci 0000:00:01.0: PCI bridge to [bus 01-02]
[    5.122264] pci 0000:00:01.0:   bridge window [mem 0x10000000-0x100fffff]
[    5.130087] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    5.134337] msm_serial: driver initialized
[    5.135615] Unable to detect cache hierarchy from DT for CPU 0
[    5.142734] brd: module loaded
[    5.147273] loop: module loaded
[    5.155808] libphy: Fixed MDIO Bus: probed
[    5.156626] tun: Universal TUN/TAP device driver, 1.6
[    5.157583] tun: (C) 1999-2004 Max Krasnyansky
[    5.160206] PPP generic driver version 2.4.2
[    5.161254] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.162576] ehci-pci: EHCI PCI platform driver
[    5.163455] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.164629] ohci-pci: OHCI PCI platform driver
[    5.165506] uhci_hcd: USB Universal Host Controller Interface driver
[    5.167041] mousedev: PS/2 mouse device common for all mice
[    5.168289] i2c /dev entries driver
[    5.169326] device-mapper: uevent: version 1.0.3
[    5.170454] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised<EMAIL_ADDRESS>[    5.172242] ledtrig-cpu: registered to indicate activity on CPUs
[    5.173853] NET: Registered protocol family 10
[    5.175699] NET: Registered protocol family 17
[    5.176642] Key type dns_resolver registered
[    5.177540] Registered cp15_barrier emulation handler
[    5.178602] Registered setend emulation handler
[    5.179842] registered taskstats version 1
[    5.180650] Loading compiled-in X.509 certificates
[    5.182710] Loaded X.509 cert 'Build time autogenerated kernel key: 4eb9c834caf59879a1f27b858d642c61abf23eff'
[    5.184680] zswap: loaded using pool lzo/zbud
[    5.190539] Key type trusted registered
[    5.204513] Key type encrypted registered
[    5.205299] AppArmor: AppArmor sha1 policy hashing enabled
[    5.206418] ima: No TPM chip found, activating TPM-bypass!
[    5.207539] evm: HMAC attrs: 0x1
[    5.208490] hctosys: unable to open rtc device (rtc0)
[    5.210027] uart-pl011 9000000.pl011: no DMA platform data
[    5.211450] Freeing unused kernel memory: 760K (ffff800000cb3000 - ffff800000d71000)
[    5.212922] Freeing alternatives memory: 48K (ffff800000d71000 - ffff800000d7d000)
[    5.238158] random: systemd-udevd urandom read with 1 bits of entropy available
[    6.477787] md: linear personality registered for level -1
[    6.488346] md: multipath personality registered for level -4
[    6.495419] md: raid0 personality registered for level 0
[    6.502975] md: raid1 personality registered for level 1
[    6.581676] raid6: int64x1  gen()  1219 MB/s
[    6.649631] raid6: int64x1  xor()   794 MB/s
[    6.717655] raid6: int64x2  gen()  1735 MB/s
[    6.785633] raid6: int64x2  xor()  1196 MB/s
[    6.853624] raid6: int64x4  gen()  2703 MB/s
[    6.921637] raid6: int64x4  xor()  1676 MB/s
[    6.989657] raid6: int64x8  gen()  2488 MB/s
[    7.057628] raid6: int64x8  xor()  1640 MB/s
[    7.125623] raid6: neonx1   gen()  2426 MB/s
[    7.193635] raid6: neonx1   xor()  1481 MB/s
[    7.261629] raid6: neonx2   gen()  3237 MB/s
[    7.329632] raid6: neonx2   xor()  2203 MB/s
[    7.397633] raid6: neonx4   gen()  4388 MB/s
[    7.465622] raid6: neonx4   xor()  3044 MB/s
[    7.533648] raid6: neonx8   gen()  4104 MB/s
[    7.601628] raid6: neonx8   xor()  3004 MB/s
[    7.602457] raid6: using algorithm neonx4 gen() 4388 MB/s
[    7.603476] raid6: .... xor() 3044 MB/s, rmw enabled
[    7.604414] raid6: using intx1 recovery algorithm
[    7.607008] xor: measuring software checksum speed
[    7.645626]    8regs     :  6980.000 MB/sec
[    7.685630]    8regs_prefetch:  6232.000 MB/sec
[    7.725620]    32regs    :  7969.000 MB/sec
[    7.765620]    32regs_prefetch:  7081.000 MB/sec
[    7.766523] xor: using function: 32regs (7969.000 MB/sec)
[    7.769098] async_tx: api initialized (async)
[    7.779682] md: raid6 personality registered for level 6
[    7.780789] md: raid5 personality registered for level 5
[    7.781905] md: raid4 personality registered for level 4
[    7.791639] md: raid10 personality registered for level 10
[    7.867848] Btrfs loaded
[    8.132148] EXT4-fs (vda): mounted filesystem with ordered data mode. Opts: (null)
[    8.476250] systemd[1]: System time before build time, advancing clock.
[    8.662346] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[    8.666114] systemd[1]: Detected virtualization qemu.
[    8.667127] systemd[1]: Detected architecture arm64.
[    8.677171] systemd[1]: Set hostname to .
[    8.696924] systemd[1]: Initializing machine ID from random generator.
[    9.077120] systemd[1]: Listening on LVM2 metadata daemon socket.
[    9.080300] systemd[1]: Reached target Encrypted Volumes.
[    9.083026] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    9.086552] systemd[1]: Reached target User and Group Name Lookups.
[    9.089672] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    9.093676] systemd[1]: Listening on udev Control Socket.
[    9.096294] systemd[1]: Listening on LVM2 poll daemon socket.
[    9.099080] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    9.102247] systemd[1]: Reached target Swap.
[    9.104431] systemd[1]: Listening on Journal Socket (/dev/log).
[    9.107269] systemd[1]: Listening on Journal Socket.
[    9.109822] systemd[1]: Listening on Journal Audit Socket.
[    9.113012] systemd[1]: Created slice User and Session Slice.
[    9.116284] systemd[1]: Created slice System Slice.
[    9.129840] systemd[1]: Mounting Huge Pages File System...
[    9.137696] systemd[1]: Starting Nameserver information manager...
[    9.141702] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    9.148164] systemd[1]: Created slice system-getty.slice.
[    9.160709] systemd[1]: Starting Load Kernel Modules...
[    9.166831] systemd[1]: Mounting Debug File System...
[    9.171737] systemd[1]: Starting Remount Root and Kernel File Systems...
[    9.174943] systemd[1]: Listening on Syslog Socket.
[    9.179322] systemd[1]: Starting Journal Service...
[    9.181939] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[    9.187167] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
[    9.189270] EXT4-fs (vda): re-mounted. Opts: (null)
[    9.194521] systemd[1]: Starting Uncomplicated firewall...
[    9.200575] systemd[1]: Mounting POSIX Message Queue File System...
[    9.206242] systemd[1]: Listening on udev Kernel Socket.
[    9.209736] systemd[1]: Reached target Slices.
[    9.214054] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    9.221799] systemd[1]: Mounted POSIX Message Queue File System.
[    9.224956] systemd[1]: Mounted Debug File System.
[    9.225895] Loading iSCSI transport class v2.0-870.
[    9.230917] systemd[1]: Mounted Huge Pages File System.
[    9.242365] systemd[1]: Started Remount Root and Kernel File Systems.
[    9.248025] systemd[1]: Started Uncomplicated firewall.
[    9.252285] systemd[1]: Started Create list of required static device nodes for the current kernel.
[    9.258482] systemd[1]: Started Nameserver information manager.
[    9.268738] iscsi: registered transport (tcp)
[    9.337988] systemd[1]: Starting Create Static Device Nodes in /dev...
[    9.342435] systemd[1]: Starting Load/Save Random Seed...
[    9.406058] systemd[1]: Starting udev Coldplug all Devices...
[    9.419983] systemd[1]: Started LVM2 metadata daemon.
[    9.424254] systemd[1]: Started Load/Save Random Seed.
[    9.483300] systemd[1]: Started Journal Service.
[    9.541207] systemd-journald[366]: Received request to flush runtime journal from PID 1
[    9.546883] iscsi: registered transport (iser)
[    9.802779] rtc-pl031 9010000.pl031: rtc core: registered pl031 as rtc0
[    9.880323] 0.flash: Found 2 x16 devices at 0x0 in 32-bit bank. Manufacturer ID 0x000000 Chip ID 0x000000
[    9.890248] Intel/Sharp Extended Query Table at 0x0031
[    9.892114] Using buffer write method
[    9.892123] erase region 0: offset=0x0,size=0x80000,blocks=128
[    9.900875] 0.flash: Found 2 x16 devices at 0x0 in 32-bit bank. Manufacturer ID 0x000000 Chip ID 0x000000
[    9.900895] Intel/Sharp Extended Query Table at 0x0031
[    9.902022] Using buffer write method
[    9.902190] erase region 0: offset=0x0,size=0x80000,blocks=128
[    9.902201] Concatenating MTD devices:
[    9.902204] (0): "0.flash"
[    9.902206] (1): "0.flash"
[    9.902208] into device "0.flash"
[    9.920033] Searching for RedBoot partition table in 0.flash at offset 0x7f80000
[    9.929388] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    9.931168] No RedBoot partition table detected in 0.flash
[   10.851093] audit: type=1400 audit(1455208082.372:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/lxc-start" pid=590 comm="apparmor_parser"
[   10.878413] audit: type=1400 audit(1455208082.400:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/ubuntu-core-launcher" pid=589 comm="apparmor_parser"
[   11.020226] audit: type=1400 audit(1455208082.540:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/lxd/lxd-bridge-proxy" pid=593 comm="apparmor_parser"
[   11.118717] audit: type=1400 audit(1455208082.640:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/tcpdump" pid=597 comm="apparmor_parser"
[   11.205312] audit: type=1400 audit(1455208082.724:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=588 comm="apparmor_parser"
[   11.205935] audit: type=1400 audit(1455208082.728:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=588 comm="apparmor_parser"
[   11.206446] audit: type=1400 audit(1455208082.728:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=588 comm="apparmor_parser"
[   11.206911] audit: type=1400 audit(1455208082.728:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=588 comm="apparmor_parser"
[   11.282651] audit: type=1400 audit(1455208082.804:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lxc-container-default" pid=591 comm="apparmor_parser"
[   11.283190] audit: type=1400 audit(1455208082.804:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lxc-container-default-cgns" pid=591 comm="apparmor_parser"
[   11.671054] cgroup: new mount options do not match the existing superblock, will be ignored
[   26.854039] EXT4-fs (vda): resizing filesystem from 338432 to 20971520 blocks
[   27.693905] EXT4-fs (vda): resized filesystem to 20971520
[   51.525673] random: nonblocking pool is initialized
[  223.112292] audit_printk_skb: 6 callbacks suppressed
[  223.112299] audit: type=1400 audit(1467055230.479:14): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/lxd/lxd-bridge-proxy" pid=3041 comm="apparmor_parser"
[  254.000816] audit: type=1400 audit(1467055261.366:15): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/bin/ubuntu-core-launcher" pid=9336 comm="apparmor_parser"
[187244.644279] Adding 1048572k swap on /swapfile.  Priority:-1 extents:3 across:1064956k FS
[187272.709364] Adding 1048572k swap on /swapfile.
Tom

Attached you find also the core dump from running mongo
core.zip

Thanks tom much appreciated. Just another thing if you could. Would you mind running the same command with trace ./mongo mongodb://localhost:5002/sample

Hopefully output of strace is what you mean?

strace.txt

Yes my apologies strace is correct.

Try with this
scons --disable-warnings-as-errors --prefix=/tmp/mongo-build/mongo --js-engine=mozjs core

Hi Keith - compiler is running ... what do you guess is the difference in target core instead targets mongo mongod?

It will add mongos to that.

Core includes (mongod, mongos, mongo)

Yes it does but mongo still seg fault. New trace attached.

strace2.txt

Yeah I see it's still dying out at the same place. Perhaps repeat that command but pass --64bit on to it.
In case it is not detecting it correctly since it's an Arm64 processor.
scons --disable-warnings-as-errors --prefix=/tmp/mongo-build/mongo --64bit --js-engine=mozjs core

Hi Keith @cyphernix
there is no option --64 or --64bit. I checked the SConstruct options and get some settings for 3rdparty libraries like google-perf (tcmalloc) etc.
I do now a fresh 3.3.9 build while replacing most of the included 3rdparty libraries by system ones. I will post an update when compile is done.

Sounds like a plan. Hard to diagnose this as I don't have any device with that Architecture near me at the moment so working blind. Sorry for the back and fourth mate.

Hey Keith, I can let you come on to the board via screen or ssh if you like

Or can make you an arrangement to get your "own" linaro acces for testing

Sure no problem. Either way works for me your call.

@cyphernix  Ok Keith, so please send a PN to tom (dot) freudenberg (at) 4commerce (dot) de
and attach a public ssh key. I will add you to the list of keys and send you the ssh parameters.

Okay sent.

@cyphernix - Keith may you join me on https://gitter.im/TomFreudenberg

Well after running a number of builds and checks, I switched into mongo release branch r3.3.9.
Doing the same build as always, this release seems to work on (at least) arm64.
I will run a check if this is ok for armv7 as well.

Hi @benjamn
will it be possible to change the mongo release to at least r3.3.9 instead of r3.2.6
https://github.com/meteor/meteor/blob/release-1.4/scripts/build-dev-bundle-common.sh#L8
r3.2.6 seems not to work (mongo shell) for ARM but >r3.3.9
Thanks for a short note
Tom

@benjamn - sorry for silly question - r3.3.9 is still development - so I am trying to check r3.2.8

OMG 👎 r3.2.8 has still Seg Fault
I will check from r3.3.0 up to r3.3.9 if possible to locate the fix

Hey Tom have you read this MongoDB ticket...
https://jira.mongodb.org/browse/SERVER-23126

If you issue ./mongo --help the binary works but the connection has issues returning dealing with a  non existant database.

Hey @cyphernix I have checked the hash but all is already applied to r3.2.8.
Still Seg Fault - it seems that just r3.3.9 is running - see comment before, up to r3.3.8 none works.

Ah yes I see what you mean so it's affected from r3.2.8 until 3.3.8. Just check that and see they have added this to it.
 ret = _connectString.connect(errmsg, socketTimeout);

Hey @cyphernix  Keith
As you can read above, r3.3.9 is the one is running - all releases before have seg fault issue.
I will do a compare but maybe this is a huge changeset :-(

Perhaps just including the fix from 3.3.9 in mongo_uri_connect.cpp and apply it to one of the older versions will be easier?

Can you post the lines please - which fix do mean?

On the server run this command.
diff /home/mongo-3.3.9/src/mongo/client/mongo_uri_connect.cpp /home/keith-testing/mongodb-src-r3.2.8/src/mongo/client/mongo_uri_connect.cpp

Can we switch to gitter again?


Notes with banners can't be edited from the Canvas

When I try to edit a note with a banner from the canvas view, the whole note turns blank.
Would be lovely to have a fix for this.
Otherwise I would have to delete all banners in my vault, to make my notes editable in canvas view.

same problem：
https://user-images.githubusercontent.com/61906420/211178956-1fe9ed29-e457-498a-8e61-e9a038dd7304.mp4

same problem：
QQ.20230108111505.mp4

Hey, I love your right sidebar. Which tools did you use?

+1 Same

Same issue, anyone find the answer?


Font references cached across frames

It looks like font references are cached across frames, which causes the Rack VST to crash when using this plugin.
The offending code looks to be here:
src/ScaleMerger.cpp
613-            };
614-
615-            {
616:                    std::shared_ptr<Font> fnt = APP->window->loadFont(
617-                            asset::plugin(pluginInstance, "res/fonts/DejaVuSansMono.ttf")
618-                    );
619-

See migration manual for more information on how to fix this.

@cschol
I have read the doc you provided, the required fix is clear to me, thank you, but I am not sure about version 1.0.
I am loading std::shared_ptr  outside of TransparentWidget and pass the same instance to the TransparentWidget constructor for each of two widgets. Is that ok or it's better to load font separately in the constructor?

Yes. Loading the font in drawLayer prevents the caching and is the correct way to handle this.
We are not building or distributing any updated 1.0 versions anymore. The issue only affects the VST version, which is only available for Rack 2.0.

Hi school,
I found a minor bug, could you please rebuild the plugin, the latest commit for v2 is here: https://github.com/alexey-komarov/fruitsofkarma-vcvrack/commit/083f6a12d09e6b3764c83f2b62fcfa3379460475
You also mentioned you don't build v1 anymore, but does it mean you also don't build plugins for v1, too? I.E. does it make sense to provide a link to the fixed version of my plugin for VCVRack v1?


How to escape the equals sign?

In XAML the equals sign is an special character on attribute values.
How to write the following expression?
Visibility ="{c:Binding Value == null}"
Thanks

Wrap constructor value 'path' in single quotes like this:


west.yml: update NXP HAL

A file was added to the NXP HAL to reflect the contents with more clarity.
It does not change the code at all.

Please update west.yml

Closing this as the HAL side PR is merged and will be captured with a different Zephyr PR waiting to merge.


Update README example for version 0.2.0

At the moment, the example given in the README does not work out of the box. I added the import Tools and changed to Renderer instead of DOTRenderer to provide a working example out of the box without much research.

Thanks for sharing this PR, @rukano. I just merged #15, which fixes the import issue by putting everything in a single exported GraphViz module.


Analysis of KIC's memory usage

Is there an existing issue for this?

[X] I have searched the existing issues

Does this enhancement require public documentation?

[X] I have added an Acceptance Criteria item for adding and/or adjusting public documentation (if applicable)

Problem Statement
xref: FTI-5975
We have received a very special report, and the data in it indicate an abnormal increase in KIC's memory usage.
At the same time, there is a point that needs attention here. The deployment mode used in this report is sidecar mode.
I created this issue for task tracking. I will update it with any noteworthy progress to share later on.
Proposed Solution
No response
Additional information
No response
Acceptance Criteria

[ ] Find and resolve the anomaly in the detailed information of the analysis report.

After our testing, it was found that this issue may occur when there are a large number of huge secrets resources in the cluster.
In this specific scenario, there are over 4000 secrets resources, with an average size of 500KB.
These secrets resources come from the history of Helm release. After attempting to delete some unused secrets resources, KIC's memory usage is relieved and returns to normal levels after restarting.

@tao12345666333 are you still planning on introducing a config switch to filter out some secrets?

We can use some relatively simple methods to test. For example, create an empty Helm chart that only contains a large number of CRD resources and install it into the Kubernetes cluster.
I can quickly observe that as the Helm release is created (which means a large secret resource is created), KIC's memory starts to increase.  This indicates that it is attempting to unmarshal the secret resource and determining whether to cache it.
In this testing scenario, since the secret resources created by Helm release have no relation to KIC, after this, the memory of KIC will return to normal level.

@tao12345666333 are you still planning on introducing a config switch to filter out some secrets?

@lahabana Yes. I am trying to figure out how to achieve it with minimal changes. Also working on writing a proposal.


drivers: counter: counter_dw_timer: fix remove spinlock from irq_handler

remove spinlock from irq_handler as this prevents the user from being able to configure the alarm in the same context within the callback function.
ATTN: @pbalsundar

As per advice @pbalsundar, I've tried samples/drivers/counter/alarm again.
I just updated the Zephyr sources and tried the sample again and it works!
So I need to check my end again.
*** Booting Zephyr OS build zephyr-v3.4.0-4020-g78eda66eb596 ***
Counter alarm sample

Set alarm in 2 sec (250000000 ticks)
!!! Alarm !!!
Now: 1
Set alarm in 4 sec (500000000 ticks)
!!! Alarm !!!
Now: 3
Set alarm in 8 sec<PHONE_NUMBER> ticks)
!!! Alarm !!!
Now: 7
Set alarm in 16 sec<PHONE_NUMBER> ticks)
!!! Alarm !!!
Now: 15
Set alarm in 32 sec<PHONE_NUMBER> ticks)
!!! Alarm !!!
Now: 31
Set alarm in 29 sec<PHONE_NUMBER> ticks)
!!! Alarm !!!
Now: 29
Set alarm in 24 sec<PHONE_NUMBER> ticks)

I found my problem with my app.   I had CONFIG_SPIN_VALIDATE=y set because of CONFIG_ASSERT=y
Setting CONFIG_SPIN_VALIDATE=n explicitly allows my application to run like the sample. Thanks @pbalsundar!


[WIP] Add an environment.yml for conda-users

This works on macOS and Ubuntu 16.04. If included, it would reduce our installation instructions to
conda create --file environment.yml

The modification to setup.cfg doesn't influence the behaviour of python setup.py bdist_wheel, though: a universal wheel is still built (ping #255)

I think a conda route is fine but let's try to make the pip route simpler first. Example by modifying the setup.py as in #255
For example, what would a user do if they wanted to use both MNE and HNN? Environment files cause problematic workflows and make people too dependent on specific versions of their software for their results.

I think a conda route is fine but let's try to make the pip route simpler first. Example by modifying the setup.py as in #255
For example, what would a user do if they wanted to use both MNE and HNN? Environment files cause problematic workflows and make people too dependent on specific versions of their software for their results.

There's this:
conda env update -f other_env.yml
I guess the whole point of conda is to ease the pain of version management. For pure-python pip is preferable, but as our wheels-experiment is revealing, c-extensions are a real b****!
I can live with trying to work out the wheels though, and thinking of conda-forge as a last resort...
I'll close this PR, nothing here that can't be reinvented later :)

There's this:
conda env update -f other_env.yml
I guess the whole point of conda is to ease the pain of version management. For pure-python pip is preferable, but as our wheels-experiment is revealing, c-extensions are a real b****!
I can live with trying to work out the wheels though, and thinking of conda-forge as a last resort...
I'll close this PR, nothing here that can't be reinvented later :)

I think this is all good! Let's keep this open for now while we close the documentation PRs and bring hnn-core closer to release

I think this is all good! Let's keep this open for now while we close the documentation PRs and bring hnn-core closer to release

@rythorpe I don't think we need this PR for binder (see here) but a conda-based install would be cool! Specially if it simplifies installing the parallel backends


feat(OAISampler): oai collection patient info in json

adds collections/oai/{study_id}/oai.json with matching row in OAI enrollee01.txt

Is this ready for merging/use?

almost


enchant: disable tests with clang

Description of changes

Things done

Built on platform(s)

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

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

[x] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

This one looks like it should be easy to fix upstream
https://stackoverflow.com/questions/24580416/mem-fun-is-not-a-member-of-std#24580500
On Fri, 3 Nov 2023, 17:12 ofborg[bot], @.***> wrote:

@ofborg https://github.com/ofborg[bot] requested your review on: #265247
https://github.com/NixOS/nixpkgs/pull/265247 enchant: disable tests
with clang.
—
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/265247#event-10858103160, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFMEY4KKRXAS3LQGXRWXSDYCUJVLAVCNFSM6AAAAAA64TQPHOVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQHA2TQMJQGMYTMMA
.
You are receiving this because your review was requested.Message ID:
@.***>

Upstream does have #include <functional> in the file.
I think the problem is that std::mem_fun_ref is deprecated in C++11 and removed in C++17.


Can't compile libtesseract with GRAPHICS_DISABLED or DISABLED_LEGACY_ENGINE set

The current code as of commit a9682bb6e2c32797f455c95de66ea87e00624dbe will not compile with GRAPHICS_DISABLED or DISABLED_LEGACY_ENGINE set to 1. There are numerous errors generated from PointerVector which are noted in the attached Errors.txt file.
I'm compiling on Windows 10 with MSVS 2017 and using cmake to generate a solution file with the following options: cmake -G "Visual Studio 15 2017 Win64" -DBUILD_SHARED_LIBS=1 -DSW_BUILD_SHARED_LIBS=0 -DGRAPHICS_DISABLED=1 -DDISABLED_LEGACY_ENGINE=1 -DBUILD_TRAINING_TOOLS=0 ..
When setting GRAPHICS_DISABLED and DISABLED_LEGACY_ENGINE to 0 the current source compiles fine.
Errors.txt

https://github.com/tesseract-ocr/tesseract/commit/d6cdc521

@rweldin
Can you try to build tess with the same flags on VS2019?

Confirmed, reverted.
Seems the following CI is related to this mode (DISABLED_LEGACY_ENGINE).
https://github.com/tesseract-ocr/tesseract/actions/workflows/unittest-disablelegacy.yml

@Shreeshrii
Do you monitor created CIs?
There are a lot of them today.
We need to monitor them somehow. Maybe create badges on readme page.

@egorpugin I don't have VS2019 setup on the machine I'm working on, but can do so tomorrow if you need additional testing there. When compiling on VS2017 after applying the reversion I now get an unresolved external symbol error which is noted in the attached Error.txt file. If you need any other information let me know.
Error.txt

@rweldin

VS2019 test is not needed that much, thank you.
(error) Try to rebuild all. Probably some old flag cached in some object files. I did not see this locally (VS2019).

@egorpugin I'm getting the same error as noted in my previous comment. Perhaps this is related to commit 875bd48bd5281cc7866c5e390a1aab7c290c8874

https://github.com/tesseract-ocr/tesseract/blob/2be896d2b938df6366328d4f0e116367af1d7252/src/viewer/scrollview.h#L161
https://github.com/tesseract-ocr/tesseract/blob/2be896d2b938df6366328d4f0e116367af1d7252/src/viewer/scrollview.h#L379-L381
So, it's not clear why the compiler complains about it.
Egor,
The autotools build does not disable compilation of cpp files and some of the headers in the src/viewer dir when GRAPHICS_DISABLED is defined. CMake does not do the same thing.

Autotools should not do conditional compilations.
I thought about it yesterday.

@rweldin
Please try on fresh build dir if you did not.

Unfortunately I continue to receive the same error after trying multiple times. I tried to recompile after making each the following changes:
clone into a new directory
clear sw cache
install current release of cmake and generate a new VS solution
Below is the output from Visual Studio 2017:
3>   Creating library R:/tesseract/win64/Release/tesseract50.lib and object R:/tesseract/win64/Release/tesseract50.exp
3>scanedg.obj : error LNK2019: unresolved external symbol "private: static class tesseract::SVNetwork * tesseract::ScrollView::stream_" (?stream_@ScrollView@tesseract@@0PEAVSVNetwork@2@EA) referenced in function "private: static class tesseract::SVNetwork * __cdecl tesseract::ScrollView::GetStream(void)" (?GetStream@ScrollView@tesseract@@CAPEAVSVNetwork@2@XZ)
3>R:\tesseract\win64\bin\Release\tesseract50.dll : fatal error LNK1120: 1 unresolved externals
3>Done building project "libtesseract.vcxproj" -- FAILED.
========== Rebuild All: 2 succeeded, 1 failed, 0 skipped ==========

@rweldin
Confirmed, fix was applied. Try it on master.

@egorpugin all is well on the current master. Thank you!


Noise with Microsoft.Web/sites@2021-01-15

Describe the noise
Resource type: Microsoft.Web/sites
apiVersion: 2021-01-15
Client Azure CLI 2.27.1
Relevant ARM Template code
resource contactWeb 'Microsoft.Web/sites@2021-01-15' = {
  name: 'ase-${applicationName}-contacts-${environmentType}'
  location: location
  kind: 'app,linux'
  properties: {
    serverFarmId: serverFarm.id
    siteConfig: {
      linuxFxVersion: 'DOTNETCORE|3.1'
      http20Enabled: true
      alwaysOn: false
    }
  }
}

Expected response
I expected no noise since the template has not been modified since the resources were deployed
Current (noisy) response (either include a screenshot of the what-if output, or copy/paste the text)
~ Microsoft.Web/sites/ase-adc-contacts-dev [2021-01-15]
+ properties.siteConfig.localMySqlEnabled:   false
+ properties.siteConfig.netFrameworkVersion: "v4.6"
Additional context
Add any other context about the problem here.

We're seeing noise with the following properties:

properties.siteConfig.appCommandLine
properties.siteConfig.ftpsState
properties.siteConfig.localMySqlEnabled
properties.siteConfig.minTlsVersion
properties.siteConfig.netFrameworkVersion
properties.siteConfig.webSocketsEnabled

So glad I found this. I was going nuts over apparent changes when executing what-if. I thought I did something wrong, yet I had no clue where they changes were coming from, as I didn't change the template in any way.
I add another one to the list:

properties.siteConfig.use32BitWorkerProcess

Duplicate of #265


On creating new project

Problem 1
- aimeos/aimeos-laravel[2020.10.1, ..., 2020.10.x-dev] require aimeos/aimeos-core 2020.10.* -> satisfiable by aimeos/aimeos-core[2020.10.1, ..., 2020.10.x-dev].
- aimeos/aimeos-core[2020.10.15, ..., 2020.10.x-dev] require php ~7.1||^8.0.1 -> your php version (8.0.0) does not satisfy that requirement.
- aimeos/aimeos-core[2020.10.1, ..., 2020.10.14] require php ~7.1 -> your php version (8.0.0) does not satisfy that requirement.
- Root composer.json requires aimeos/aimeos-laravel ~2020.10 -> satisfiable by aimeos/aimeos-laravel[2020.10.1, ..., 2020.10.x-dev].

PHP 8.0.0 is buggy and not supported but even newer PHP 8 versions are not fully stable. Up to now the savest option is to use PHP 7.4 until the bugs in PHP 8 are fixed.