Static analysis workflow matrix and strict directory handling not working as intended

Checklist (Please check before submitting)

[x] I reviewed the Contributing Guide.
[x] I reviewed the cFS README.md file to see if the feature is in the major future work.
[x] I performed a cursory search to see if the feature request is relevant, not redundant, nor in conflict with other tickets.

Is your feature request related to a problem? Please describe.
The leading . isn't consistently applied (better to remove) and the non-strict/strict matrix doesn't really work right.
https://github.com/nasa/cFS/blob/963b3ab0be55ea679207aa140c3002d1a6c8ffea/.github/workflows/static-analysis.yml#L54
Example:
strict-dir-list: './src/bsp ./src/os' as used in OSAL becomes ../src/bsp ./src/os which then misses the leading dir
The matrix runs all the steps in two workflows where only the upload is conditional.  It still does both checks... really the checks are very fast so no need to split (already in separate steps so easy to see what fails).
Describe the solution you'd like
Remove matrix, remove leading . on strict directory list
Describe alternatives you've considered
None
Additional context
Will impact psp strict check nasa/PSP#333.
Requester Info
Jacob Hageman - NASA/GSFC

Reopened in error, closing based on merge of #454


Lazy pager [feedback wanted]

Summary
Enables pages to be rendered on demand, instead of all at once.  Important when there are a very large number of pages.
Currently, a basic implementation on Android.  I just wiped the app, and init fresh with react-native-builder-bob, so will need to restore/rename some files later.
For iOS, I noticed #140 .

Test Plan

In progress...
What's required for testing (prerequisites)?
What are the steps to reproduce (after prerequisites)?
Compatibility

OS
Implemented

iOS
❌

Android
✅

Checklist

[ ] I have tested this on a device and a simulator
[ ] I added the documentation in README.md
[ ] I updated the typed files (TS and Flow)

Fixes #104

Any thoughts on the architecture of rendering/passing views?

Any thoughts on the architecture of rendering/passing views?

Hey @alpha0010
Thank for your contribution. As you can see there is lots of changes here, so could you describe it in simple words, how you achieved it ? bc basically native side (android/ios) supports lazy loading. The problem is with react-native itself, bc it loads the child views eagerly, so didMount methods is called immediately.

Hey @alpha0010
Thank for your contribution. As you can see there is lots of changes here, so could you describe it in simple words, how you achieved it ? bc basically native side (android/ios) supports lazy loading. The problem is with react-native itself, bc it loads the child views eagerly, so didMount methods is called immediately.

JS tells native how many total pages there will be

https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/src/index.tsx#L36
https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/ViewPagerViewManager.kt#L63

Native lazy renders that many (blank) pages

https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/ReactViewAdapter.kt#L26
https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/ReactViewAdapter.kt#L29-L32
https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/PageFragment.kt#L16

Native tells js which page is being displayed

https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/ViewPagerViewManager.kt#L22-L26
https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/src/index.tsx#L39

JS renders the visible page (and n-pages before/after)

https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/src/index.tsx#L43-L50
https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/ViewPagerViewManager.kt#L41

Native swaps out blank pages with the newly supplied real pages

https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/ViewPagerViewManager.kt#L57
https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/ReactViewAdapter.kt#L47
https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/ReactViewAdapter.kt#L12-L14
https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/PageFragment.kt#L34-L44

JS tells native how many total pages there will be

https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/src/index.tsx#L36
https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/ViewPagerViewManager.kt#L63

Native lazy renders that many (blank) pages

https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/ReactViewAdapter.kt#L26
https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/ReactViewAdapter.kt#L29-L32
https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/PageFragment.kt#L16

Native tells js which page is being displayed

https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/ViewPagerViewManager.kt#L22-L26
https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/src/index.tsx#L39

JS renders the visible page (and n-pages before/after)

https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/src/index.tsx#L43-L50
https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/ViewPagerViewManager.kt#L41

Native swaps out blank pages with the newly supplied real pages

https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/ViewPagerViewManager.kt#L57
https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/ReactViewAdapter.kt#L47
https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/ReactViewAdapter.kt#L12-L14
https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/PageFragment.kt#L34-L44

Thank you for an explanation. I will take a look, once I will be available.

For iOS, I noticed #140 .

Lazy loading should also support iOS (UIPageViewController). For now, it is not on our roadmap to change iOS implementation of VP.

Thank you for an explanation. I will take a look, once I will be available.

For iOS, I noticed #140 .

Lazy loading should also support iOS (UIPageViewController). For now, it is not on our roadmap to change iOS implementation of VP.

I have tested your code and I would like to laso test more cases, which has been provided in our example.
Your solution looks very interesting.
When I was testing your code I used below example
App.tsx
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import { ViewPager } from '@react-native-community/viewpager';

const DummyComponent = ({ item }: { item: string }) => {
  React.useEffect(() => {
    console.log(`didmout ${item}`);
    return () => {
      console.log(`didunmout ${item}`);
    };
    // eslint-disable-next-line react-hooks/exhaustive-deps
  }, []);
  return <Text style={styles.text}>{item}</Text>;
};

export default function App() {
  const data = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('');
  return (
    <ViewPager
      data={data}
      keyExtractor={(item) => item}
      renderItem={({ item }) => <DummyComponent item={item} />}
      style={styles.container}
    />
  );
}

const styles = StyleSheet.create({
  container: { flex: 1 },
  text: { fontSize: 100 },
});

and components are mounted and unmounted on page changed. Ofc I am wondering, if it is necessary to reuse pages, which has been created.
JS side:

your solution looks good, but it breaks the API and probably it should be done on next branch instead of stable master version.

Native side:

you don't need adapter inside the fragment https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/ReactViewAdapter.kt#L31 . It creates memory leak
Please checkout next branch. We changed a way of passing views to the fragments
Why observable ? https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/ReactViewAdapter.kt#L10

Summary:
Lazy loading is handled on native side as I wrote above (android/ios). More for android here: https://www.programmersought.com/article/39134390787/
So you don't need to implement any solution to achieve lazy loading on native side.
If you would like to continue your work, please follow below steps:

branch off of next branch
apply changes
create new draft PR (PoC)

I have tested your code and I would like to laso test more cases, which has been provided in our example.
Your solution looks very interesting.
When I was testing your code I used below example
App.tsx
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import { ViewPager } from '@react-native-community/viewpager';

const DummyComponent = ({ item }: { item: string }) => {
  React.useEffect(() => {
    console.log(`didmout ${item}`);
    return () => {
      console.log(`didunmout ${item}`);
    };
    // eslint-disable-next-line react-hooks/exhaustive-deps
  }, []);
  return <Text style={styles.text}>{item}</Text>;
};

export default function App() {
  const data = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('');
  return (
    <ViewPager
      data={data}
      keyExtractor={(item) => item}
      renderItem={({ item }) => <DummyComponent item={item} />}
      style={styles.container}
    />
  );
}

const styles = StyleSheet.create({
  container: { flex: 1 },
  text: { fontSize: 100 },
});

and components are mounted and unmounted on page changed. Ofc I am wondering, if it is necessary to reuse pages, which has been created.
JS side:

your solution looks good, but it breaks the API and probably it should be done on next branch instead of stable master version.

Native side:

you don't need adapter inside the fragment https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/ReactViewAdapter.kt#L31 . It creates memory leak
Please checkout next branch. We changed a way of passing views to the fragments
Why observable ? https://github.com/alpha0010/react-native-viewpager/blob/09b188efa0162ea7335350fcd67ff63f4c73516a/android/src/main/java/com/reactnativecommunityviewpager/ReactViewAdapter.kt#L10

Summary:
Lazy loading is handled on native side as I wrote above (android/ios). More for android here: https://www.programmersought.com/article/39134390787/
So you don't need to implement any solution to achieve lazy loading on native side.
If you would like to continue your work, please follow below steps:

branch off of next branch
apply changes
create new draft PR (PoC)

Thanks for the review; I will take a look at what I can do.

Thanks for the review; I will take a look at what I can do.


Status 429 In some cases not adapted

Now, status can not be modified。Can it be used as a configuration item? like this:
ctx.status = opts.status ? opts.status : 429;

@heibai01, @LiZhouYang5612 I will add this feature to my PR +1 #59


onedrive: implement DirMove - fixes #197

This pull request implements DirMove for the OneDrive backend and should be able to fix (implement) #197 :)

Thanks! I've done the patching and re-pushed.

Super job - thank you very much :-)


feat(run_out): avoid chattering of state transition

Description
When using Points method and approaching is enabled in run out module, ego vehicle sometimes repeats APPROACH and STOP state like following video.
So I added the feature to keep APPROACH state for keep_approach_duration seconds to avoid the situation like this.
https://user-images.githubusercontent.com/11865769/192733272-eaddb114-ad76-450a-8bac-887622f61967.mp4
Related links

JIRA

TIERIV INTERNAL LINK

Tests performed
Tested with planning simulator.
This problem occurs when testing with real vehicle, so I will test the feature with real vehicle lator.
https://user-images.githubusercontent.com/11865769/192736168-3189d1ae-d308-4451-acb2-f4568549acd7.mp4
Notes for reviewers

This problem occurs when testing with real vehicle.
So I will test the feature with real vehicle lator.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@mkuri
Could you review the change? :pray:


PhantomJS 1.9.7 crash in NodeJS

Hello,
I had this error today:
phantom stderr: pure virtual method called
terminate called without an active exception
A cron task runs a NodeJS task that sends emails daily. Using Phantom to render the pages. Never failed before.
Here is the stack trace:
Operating system: Linux
0.0.0 Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64
CPU: amd64
family 6 model 42 stepping 7
4 CPUs
Crash reason:  SIGABRT
Crash address: 0x4e38
Thread 0 (crashed)
0  libc-2.13.so + 0x321a5
rbx = 0x00000000043d37d0   r12 = 0x00000000043d3c20
r13 = 0x00000000043d37a0   r14 = 0x00000000043d4080
r15 = 0x00000000043d3ac0   rip = 0x00007f251f7f81a5
rsp = 0x00007fff94a27fe8   rbp = 0x00000000043d37e8
Found by: given as instruction pointer in context
1  libc-2.13.so + 0x3541f
rip = 0x00007f251f7fb420   rsp = 0x00007fff94a27ff0
Found by: stack scanning
2  ld-2.13.so + 0x55f
rip = 0x00007f2520dee560   rsp = 0x00007fff94a28010
Found by: stack scanning
3  libc-2.13.so + 0x6b9f
rip = 0x00007f251f7ccba0   rsp = 0x00007fff94a28028
Found by: stack scanning
4  libm-2.13.so + 0x281fff
rip = 0x00007f251ffe9000   rsp = 0x00007fff94a28078
Found by: stack scanning
5  ld-2.13.so + 0xd9f1
rip = 0x00007f2520dfb9f2   rsp = 0x00007fff94a28080
Found by: stack scanning
6  libstdc++.so.6.0.17 + 0x6589c
rip = 0x00007f252004e89d   rsp = 0x00007fff94a28120
Found by: stack scanning
7  libpthread-2.13.so + 0xe12c
rip = 0x00007f25202fe12d   rsp = 0x00007fff94a28130
Found by: stack scanning
8  libstdc++.so.6.0.17 + 0x63995
rip = 0x00007f252004c996   rsp = 0x00007fff94a28150
Found by: stack scanning
9  libstdc++.so.6.0.17 + 0x639c2
rip = 0x00007f252004c9c3   rsp = 0x00007fff94a28160
Found by: stack scanning
10  libstdc++.so.6.0.17 + 0x644de
rip = 0x00007f252004d4df   rsp = 0x00007fff94a28170
Found by: stack scanning
11  phantomjs!QCoreApplication::postEvent [qcoreapplication.cpp : 1392 + 0x8]
rip = 0x0000000001cdebec   rsp = 0x00007fff94a28180
Found by: stack scanning
12  phantomjs!QMetaObject::activate [qobject.cpp : 3516 + 0x65]
rbx = 0x00000000043d4080   r12 = 0x00007fff94a282e0
r13 = 0x0000000000000000   r14 = 0x00000000043d3190
r15 = 0x00000000043d3e40   rip = 0x0000000001cf7271
rsp = 0x00007fff94a28230   rbp = 0x00000000043d3ac0
Found by: call frame info
13  phantomjs!QNetworkAccessHttpBackend::postRequest [qnetworkaccesshttpbackend.cpp : 650 + 0x7]
rbx = 0x0000000000000000   r12 = 0x0000000000000000
r13 = 0x0000000000000000   r14 = 0x00000000043d3190
r15 = 0x00000000043d31c8   rip = 0x0000000001b214a5
rsp = 0x00007fff94a28350   rbp = 0x00000000043d3ac0
Found by: call frame info
14  phantomjs!QNetworkAccessBackend::start [qnetworkaccessbackend.cpp : 426 + 0x8]
rbx = 0x00000000043d34e0   r12 = 0x00007fff94a28b20
r13 = 0x00007fff94a28b30   r14 = 0x00000000043d3190
r15 = 0x00007fff94a28b40   rip = 0x0000000001b1566f
rsp = 0x00007fff94a28a30   rbp = 0x00000000043d2ef8
Found by: call frame info
15  phantomjs!QNetworkReplyImplPrivate::_q_startOperation [qnetworkreplyimpl.cpp : 93 + 0x5]
rbx = 0x00000000043d2d60   r12 = 0x0000000000000002
r13 = 0x00000000043d2d60   r14 = 0x00000000041435e0
r15 = 0x00007fff94a28fa0   rip = 0x0000000001b319b0
rsp = 0x00007fff94a28b90   rbp = 0x00007fff94a28e30
Found by: call frame info
16  phantomjs!QNetworkReplyImplPrivate::setup [qnetworkreplyimpl.cpp : 374 + 0x7]
rbx = 0x00007fff94a28d90   r12 = 0x0000000000000002
r13 = 0x00000000043d2d60   r14 = 0x00000000041435e0
r15 = 0x00007fff94a28fa0   rip = 0x0000000001b33360
rsp = 0x00007fff94a28c20   rbp = 0x00007fff94a28e30
Found by: call frame info
17  phantomjs!QNetworkAccessManager::createRequest [qnetworkaccessmanager.cpp : 1010 + 0x12]
rbx = 0x00000000043d2d60   r12 = 0x00000000043d2d40
r13 = 0x00007fff94a28f90   r14 = 0x00000000041435e0
r15 = 0x00007fff94a28fa0   rip = 0x0000000001b11b15
rsp = 0x00007fff94a28ee0   rbp = 0x00007fff94a29040
Found by: call frame info
18  phantomjs!NetworkAccessManager::createRequest [networkaccessmanager.cpp : 243 + 0x1a]
rbx = 0x00007fff94a29200   r12 = 0x00007fff94a29400
r13 = 0x00007fff94a29280   r14 = 0x00007fff94a29140
r15 = 0x00007fff94a292b0   rip = 0x000000000042d05a
rsp = 0x00007fff94a290a0   rbp = 0x00007fff94a291f0
Found by: call frame info
19  phantomjs!QNetworkAccessManager::get [qnetworkaccessmanager.cpp : 598 + 0xc]
rbx = 0x0000000004143350   r12 = 0x00000000043d15e8
r13 = 0x00000000043d1d30   r14 = 0x0000000004143350
r15 = 0x0000000000000000   rip = 0x0000000001b0ee74
rsp = 0x00007fff94a29520   rbp = 0x00000000043d15c0
Found by: call frame info
20  phantomjs!WebCore::QNetworkReplyHandler::sendNetworkRequest [QNetworkReplyHandler.cpp : 634 + 0xa]
rbx = 0x00007fff94a29570   r12 = 0x00000000043d15e8
r13 = 0x00000000043d1d30   r14 = 0x0000000004143350
r15 = 0x0000000000000000   rip = 0x0000000000adccb2
rsp = 0x00007fff94a29530   rbp = 0x00000000043d15c0
Found by: call frame info
21  phantomjs!WebCore::QNetworkReplyHandler::start [QNetworkReplyHandler.cpp : 673 + 0x14]
rbx = 0x00007f24d5bba580   r12 = 0x00007f24d64f5378
r13 = 0x00007f24dcdbfd50   r14 = 0x00000000043d15f8
r15 = 0x00000000043d15c0   rip = 0x0000000000add7ec
rsp = 0x00007fff94a29670   rbp = 0x00000000043d15c0
Found by: call frame info
22  phantomjs!WebCore::QNetworkReplyHandlerCallQueue::flush [QNetworkReplyHandler.cpp : 198 + 0x28]
rbx = 0x00000000043d1a08   r12 = 0x00007f24d64f5378
r13 = 0x00007f24dcdbfd50   r14 = 0x00000000043d15f8
r15 = 0x00000000043d15c0   rip = 0x0000000000adaa81
rsp = 0x00007fff94a296a0   rbp = 0x00000000043d19f0
Found by: call frame info
23  phantomjs!WebCore::ResourceHandle::loadResourceSynchronously [QNetworkReplyHandler.h : 124 + 0x11]
rbx = 0x00000000043d15c0   r12 = 0x00007f24d64f5378
r13 = 0x00007f24dcdbfd50   r14 = 0x00007f24d5bba660
r15 = 0x00007fff94a297c0   rip = 0x0000000000ad82d0
rsp = 0x00007fff94a296f0   rbp = 0x00007f24d5bba580
Found by: call frame info
24  phantomjs!WebCore::FrameLoader::loadResourceSynchronously [FrameLoader.cpp : 2884 + 0x21]
rbx = 0x0000000000000010   r12 = 0x00000000004b9d70
r13 = 0x00007f24dcee0978   r14 = 0x00007fff94a29890
r15 = 0x00007fff94a297c0   rip = 0x000000000085c7e2
rsp = 0x00007fff94a29790   rbp = 0x0000000004143900
Found by: call frame info
25  phantomjs!WebCore::DocumentThreadableLoader::loadRequest [DocumentThreadableLoader.cpp : 365 + 0x1c]
rbx = 0x00007fff94a29d00   r12 = 0x00007fff94a29d00
r13 = 0x00007fff94a29a30   r14 = 0x0000000000000000
r15 = 0x00007fff94a29b10   rip = 0x00000000015186b1
rsp = 0x00007fff94a29a00   rbp = 0x00007f24d64fcbe0
Found by: call frame info
26  phantomjs!WebCore::DocumentThreadableLoader::DocumentThreadableLoader [DocumentThreadableLoader.cpp : 80 + 0xf]
rbx = 0x00007fff94a29d00   r12 = 0x00007f24d64fcbe0
r13 = 0x00000000ffffffff   r14 = 0x00007f24dd51bc00
r15 = 0x0000000000000000   rip = 0x0000000001519b21
rsp = 0x00007fff94a29bb0   rbp = 0x00007f24dd51bcd0
Found by: call frame info
27  phantomjs!WebCore::DocumentThreadableLoader::loadResourceSynchronously [DocumentThreadableLoader.cpp : 54 + 0x1e]
rbx = 0x00007fff94a29dd0   r12 = 0x00007fff94a29d00
r13 = 0x00007f24d5bbab10   r14 = 0x00007f24dd51bc00
r15 = 0x0000000000000000   rip = 0x000000000151a39e
rsp = 0x00007fff94a29c90   rbp = 0x00007f24d64fcbe0
Found by: call frame info
28  phantomjs!WebCore::XMLHttpRequest::createRequest [XMLHttpRequest.cpp : 662 + 0x23]
rbx = 0x00007f24d5bbab10   r12 = 0x00007fff94a29d00
r13 = 0x00007f24d5bbab38   r14 = 0x00007f24dd5feeb8
r15 = 0x0000000000000000   rip = 0x0000000000abc804
rsp = 0x00007fff94a29ce0   rbp = 0x00007f24d5bbab00
Found by: call frame info
29  phantomjs!WebCore::XMLHttpRequest::send [XMLHttpRequest.cpp : 536 + 0xa]
rbx = 0x00007f24d5bbab00   r12 = 0x00007fff94a29fd0
r13 = 0x00007f24d528f720   r14 = 0x00007f24dd5feeb8
r15 = 0xffff000000000002   rip = 0x0000000000ac15c4
rsp = 0x00007fff94a29e60   rbp = 0x00007fff94a2a04c
Found by: call frame info
30  phantomjs!WebCore::XMLHttpRequest::send [XMLHttpRequest.cpp : 476 + 0x7]
rbx = 0x00007f24dd51bcd0   r12 = 0x000000000000013c
r13 = 0x00007f24d528f720   r14 = 0x00007f24dd5feeb8
r15 = 0xffff000000000002   rip = 0x0000000000ac1ee4
rsp = 0x00007fff94a29fd0   rbp = 0x00007f24d5bbab00
Found by: call frame info
31  phantomjs!WebCore::JSXMLHttpRequest::send [JSXMLHttpRequestCustom.cpp : 118 + 0xd]
rbx = 0x00007f24dd51bcd0   r12 = 0x000000000000013c
r13 = 0x00007f24d528f720   r14 = 0x00007f24dd5feeb8
r15 = 0xffff000000000002   rip = 0x00000000014fd06e
rsp = 0x00007fff94a2a000   rbp = 0x00007f24d5bbab00
Found by: call frame info
32  phantomjs!WebCore::jsXMLHttpRequestPrototypeFunctionSend [JSXMLHttpRequest.cpp : 511 + 0xa]
rbx = 0x00007f24de051d18   r12 = 0x000000000000013c
r13 = 0x00007f24dd5fee40   r14 = 0xffff000000000000
r15 = 0xffff000000000002   rip = 0x00000000014202d7
rsp = 0x00007fff94a2a080   rbp = 0x00007fff94a2a140
Found by: call frame info
33  0x7f24dda001e7
rbx = 0x00007f24de051d18   r12 = 0x000000000000013c
r13 = 0x00007f24dd5fee40   r14 = 0xffff000000000000
r15 = 0xffff000000000002   rip = 0x00007f24dda001e8
rsp = 0x00007fff94a2a090   rbp = 0x00007fff94a2a140
Found by: call frame info
34  phantomjs!JSC::Interpreter::executeCall [JITCode.h : 77 + 0x16]
rip = 0x0000000000f2e376   rsp = 0x00007fff94a2a150
Found by: stack scanning
35  phantomjs!JSC::call [CallData.cpp : 38 + 0x21]
rbx = 0x00007f251e235850   r12 = 0x0000000000000002
r13 = 0x00007f24dd06c330   r14 = 0x00007f24d5748708
r15 = 0x00007f24dd5803d0   rip = 0x0000000000f7291d
rsp = 0x00007fff94a2a220   rbp = 0x00007f24dd51bcd0
Found by: call frame info
36  phantomjs!WebCore::JSEventListener::handleEvent [JSMainThreadExecState.h : 48 + 0xc]
rbx = 0x00007f251e235850   r12 = 0x0000000000000002
r13 = 0x00007f24dd06c330   r14 = 0x00007f24d5748708
r15 = 0x00007f24dd5803d0   rip = 0x00000000010041c3
rsp = 0x00007fff94a2a230   rbp = 0x00007f24dd51bcd0
Found by: call frame info
37  phantomjs!WebCore::EventTarget::fireEventListeners [EventTarget.cpp : 360 + 0x1b]
rbx = 0x00007f24dd06c330   r12 = 0x00007f24d5748708
r13 = 0x00007f24dd51bc00   r14 = 0x00007f24dd0512e8
r15 = 0x00007f24dcfd7c58   rip = 0x000000000063c3e1
rsp = 0x00007fff94a2a4a0   rbp = 0x0000000001003a30
Found by: call frame info
38  phantomjs!WebCore::EventTarget::fireEventListeners [EventTarget.cpp : 329 + 0x11]
rbx = 0x00007f24dd51bc00   r12 = 0x00007fff94a2a640
r13 = 0x00007fff94a2a660   r14 = 0x00007f24dd51bc00
r15 = 0x00007fff94a2a678   rip = 0x000000000063d563
rsp = 0x00007fff94a2a520   rbp = 0x00007f24d5748708
Found by: call frame info
39  phantomjs!WebCore::EventDispatcher::dispatchEvent [EventDispatcher.cpp : 306 + 0xc]
rbx = 0x00007f24dd51bc00   r12 = 0x00007fff94a2a640
r13 = 0x00007fff94a2a660   r14 = 0x00007f24dd51bc00
r15 = 0x00007fff94a2a678   rip = 0x000000000063a03b
rsp = 0x00007fff94a2a540   rbp = 0x00007f24dd51bc00
Found by: call frame info
40  phantomjs!WebCore::EventDispatchMediator::dispatchEvent [Event.cpp : 313 + 0xa]
rbx = 0x00007fff94a2a6c0   r12 = 0x00007f24dd51bc00
r13 = 0x000000000064c9f0   r14 = 0x000000000009d529
r15 = 0x00007fff94a2aec0   rip = 0x0000000000637384
rsp = 0x00007fff94a2a640   rbp = 0x00007f24dd51bc00
Found by: call frame info
41  phantomjs!WebCore::EventDispatcher::dispatchEvent [EventDispatcher.cpp : 53 + 0xb]
rbx = 0x00007fff94a2a6c0   r12 = 0x00007f24dd51bc00
r13 = 0x000000000064c9f0   r14 = 0x000000000009d529
r15 = 0x00007fff94a2aec0   rip = 0x000000000063bc02
rsp = 0x00007fff94a2a660   rbp = 0x00007f24dd51bc00
Found by: call frame info
42  phantomjs!WebCore::Node::dispatchEvent [Node.cpp : 2818 + 0xf]
rbx = 0x00007f251e25bde0   r12 = 0x00007f24dd51bc00
r13 = 0x000000000064c9f0   r14 = 0x000000000009d529
r15 = 0x00007fff94a2aec0   rip = 0x000000000064ca20
rsp = 0x00007fff94a2a6c0   rbp = 0x00007f24dd51bc00
Found by: call frame info
43  phantomjs!WebCore::Document::finishedParsing [Document.cpp : 4222 + 0x8]
rbx = 0x00007f251e25bde0   r12 = 0x00007f24dd51bc00
r13 = 0x000000000064c9f0   r14 = 0x000000000009d529
r15 = 0x00007fff94a2aec0   rip = 0x000000000060b363
rsp = 0x00007fff94a2a700   rbp = 0x00007f24d5748708
Found by: call frame info
44  phantomjs!WebCore::HTMLDocumentParser::prepareToStopParsing [HTMLDocumentParser.cpp : 378 + 0xb]
rbx = 0x00007f251e25e200   r12 = 0x0000000000000000
r13 = 0x0000000003e4eab0   r14 = 0x000000000009d529
r15 = 0x00007fff94a2aec0   rip = 0x00000000007b70c7
rsp = 0x00007fff94a2a740   rbp = 0x0000000000000001
Found by: call frame info
45  phantomjs!WebCore::HTMLDocumentParser::resumeParsingAfterYield [HTMLDocumentParser.cpp : 412 + 0x8]
rbx = 0x00007f251e25e200   r12 = 0x0000000000000000
r13 = 0x0000000003e4eab0   r14 = 0x000000000009d529
r15 = 0x00007fff94a2aec0   rip = 0x00000000007b69c6
rsp = 0x00007fff94a2a760   rbp = 0x0000000000000001
Found by: call frame info
46  phantomjs!WebCore::ThreadTimers::sharedTimerFiredInternal [ThreadTimers.cpp : 112 + 0x8]
rbx = 0x00007f24dce1fee0   r12 = 0x0000000000000000
r13 = 0x0000000003e4eab0   r14 = 0x000000000009d529
r15 = 0x00007fff94a2aec0   rip = 0x0000000000993983
rsp = 0x00007fff94a2a780   rbp = 0x00007f251e24a7a8
Found by: call frame info
47  phantomjs!QObject::event [qobject.cpp : 1156 + 0x8]
rbx = 0x00000000040c37a0   r12 = 0x00007fff94a2aec0
r13 = 0x0000000003e4eab0   r14 = 0x000000000009d529
r15 = 0x00007fff94a2aec0   rip = 0x0000000001cefbc4
rsp = 0x00007fff94a2a7c0   rbp = 0x00000000040c37a0
Found by: call frame info
48  phantomjs!QApplicationPrivate::notify_helper [qapplication.cpp : 4562 + 0xc]
rbx = 0x00007fff94a2b140   r12 = 0x00007fff94a2aec0
r13 = 0x0000000003e4eab0   r14 = 0x000000000009d529
r15 = 0x00007fff94a2aec0   rip = 0x00000000015decaf
rsp = 0x00007fff94a2a960   rbp = 0x00000000040c37a0
Found by: call frame info
49  phantomjs!QApplication::notify [qapplication.cpp : 4423 + 0x17]
rbx = 0x00007fff94a2b140   r12 = 0x00007fff94a2aec0
r13 = 0x00007fff94a2b140   r14 = 0x000000000009d529
r15 = 0x00007fff94a2aec0   rip = 0x00000000015e793b
rsp = 0x00007fff94a2a990   rbp = 0x00000000040c37a0
Found by: call frame info
50  phantomjs!QCoreApplication::notifyInternal [qcoreapplication.cpp : 946 + 0x2]
rbx = 0x0000000003e4c1c0   r12 = 0x00007fff94a2aec0
r13 = 0x00007fff94a2b140   r14 = 0x000000000009d529
r15 = 0x00007fff94a2aec0   rip = 0x0000000001cde3d4
rsp = 0x00007fff94a2ae60   rbp = 0x00000000040c37a0
Found by: call frame info
51  phantomjs!QTimerInfoList::activateTimers [qcoreapplication.h : 231 + 0x14]
rbx = 0x0000000003e50898   r12 = 0x0000000000000000
r13 = 0x0000000000000000   r14 = 0x000000000009d529
r15 = 0x00007fff94a2aec0   rip = 0x0000000001d07ecd
rsp = 0x00007fff94a2aeb0   rbp = 0x00000000002763ef
Found by: call frame info
52  phantomjs!QEventDispatcherUNIX::processEvents [qeventdispatcher_unix.cpp : 941 + 0x7]
rbx = 0x0000000000000001   r12 = 0x00007fff94a2af90
r13 = 0x0000000003e4b560   r14 = 0x0000000000000000
r15 = 0x0000000003e4c2d8   rip = 0x0000000001d080e0
rsp = 0x00007fff94a2af40   rbp = 0x0000000003e50030
Found by: call frame info
53  phantomjs!QEventDispatcherQPA::processEvents [qeventdispatcher_qpa.cpp : 246 + 0x4]
rbx = 0x000000000411f370   r12 = 0x0000000000000000
r13 = 0x0000000003e4b560   r14 = 0x00007fff94a2afd0
r15 = 0x0000000003e4c2d8   rip = 0x000000000163a6a4
rsp = 0x00007fff94a2af90   rbp = 0x0000000003e50030
Found by: call frame info
54  phantomjs!QEventLoop::processEvents [qeventloop.cpp : 149 + 0x1]
rbx = 0x000000000411f370   r12 = 0x00007fff94a2b060
r13 = 0x00007fff94a2b070   r14 = 0x0000000003e4c230
r15 = 0x0000000003e4c2d8   rip = 0x0000000001cdd4b5
rsp = 0x00007fff94a2afd0   rbp = 0x00007fff94a2b010
Found by: call frame info
55  phantomjs!QEventLoop::exec [qeventloop.cpp : 200 + 0x4]
rbx = 0x000000000411f370   r12 = 0x00007fff94a2b060
r13 = 0x00007fff94a2b070   r14 = 0x0000000003e4c230
r15 = 0x0000000003e4c2d8   rip = 0x0000000001cdd918
rsp = 0x00007fff94a2b000   rbp = 0x00007fff94a2b140
Found by: call frame info
56  phantomjs!QCoreApplication::exec [qcoreapplication.cpp : 1218 + 0x4]
rbx = 0x0000000003e4c1c0   r12 = 0x00007fff94a2b140
r13 = 0x00007fff94a2b2f8   r14 = 0x00007fff94a2b0b0
r15 = 0x0000000000000000   rip = 0x0000000001cdf7cb
rsp = 0x00007fff94a2b060   rbp = 0x0000000003e4c1c0
Found by: call frame info
57  phantomjs!main [main.cpp : 121 + 0x4]
rbx = 0x0000000003eca770   r12 = 0x00007fff94a2b140
r13 = 0x00007fff94a2b2f8   r14 = 0x00007fff94a2b0b0
r15 = 0x0000000000000000   rip = 0x0000000000427cb2
rsp = 0x00007fff94a2b0a0   rbp = 0x00007fff94a2b2d8
Found by: call frame info
58  libc-2.13.so + 0x1eeec
rbx = 0x0000000000000000   r12 = 0x0000000000407cc0
r13 = 0x00007fff94a2b2d0   r14 = 0x0000000000000000
r15 = 0x0000000000000000   rip = 0x00007f251f7e4eed
rsp = 0x00007fff94a2b200   rbp = 0x0000000000000000
Found by: call frame info
59  phantomjs + 0x27a5f
rip = 0x0000000000427a60   rsp = 0x00007fff94a2b220
Found by: stack scanning
Thread 1
0  libc-2.13.so + 0xac33d
rbx = 0x00007f251eb18d80   r12 = 0x00000000ffffffff
r13 = 0x00007f251eb26ec0   r14 = 0x0000000002a7e1a0
r15 = 0x0000000002a7e170   rip = 0x00007f251f87233d
rsp = 0x00007f251eb18c50   rbp = 0x00007f251eb18d00
Found by: given as instruction pointer in context
1  libc-2.13.so + 0xac1af
rip = 0x00007f251f8721b0   rsp = 0x00007f251eb18c60
rbp = 0x00007f251eb18d00
Found by: stack scanning
2  phantomjs + 0x18b5c6f
rip = 0x0000000001cb5c70   rsp = 0x00007f251eb18c68
rbp = 0x00007f251eb18d00
Found by: stack scanning
3  ld-2.13.so + 0x9109
rip = 0x00007f2520df710a   rsp = 0x00007f251eb18c80
rbp = 0x00007f251eb18d00
Found by: stack scanning
4  ld-2.13.so + 0x9812
rip = 0x00007f2520df7813   rsp = 0x00007f251eb18cc0
rbp = 0x00007f251eb18d00
Found by: stack scanning
5  phantomjs!WebPage::renderPdf [qstring.h : 880 + 0xc]
rip = 0x00000000004173d8   rsp = 0x00007f251eb18ce0
rbp = 0x00007f251eb18d00
Found by: stack scanning
Thread 2
0  libc-2.13.so + 0xd5963
rbx = 0x0000000000000000   r12 = 0x00007f251e1ffda0
r13 = 0x0000000000000008   r14 = 0x00007f24d8000a88
r15 = 0x00007f24d8000d20   rip = 0x00007f251f89b963
rsp = 0x00007f251e1ffb70   rbp = 0x00007f24d80008d0
Found by: given as instruction pointer in context
1  phantomjs!qt_safe_select [qcore_unix.cpp : 83 + 0x15]
rip = 0x0000000001d06327   rsp = 0x00007f251e1ffb80
Found by: stack scanning
2  phantomjs!QEventDispatcherUNIXPrivate::doSelect [qeventdispatcher_unix.cpp : 223 + 0xd]
rbx = 0x00007f24d80012a0   r12 = 0x00007f251e1ffda0
r13 = 0x00007f24d80008d0   r14 = 0x0000000000000000
r15 = 0x00007f24d8000d20   rip = 0x0000000001d075e7
rsp = 0x00007f251e1ffc10   rbp = 0x00007f24d80008d0
Found by: call frame info
3  phantomjs!QEventDispatcherUNIX::processEvents [qeventdispatcher_unix.cpp : 937 + 0x4]
rbx = 0x00007f24d80012a0   r12 = 0x00007f251e1ffda0
r13 = 0x00007f24d80008b0   r14 = 0x0000000000000001
r15 = 0x00000000040b8cb8   rip = 0x0000000001d08092
rsp = 0x00007f251e1ffd50   rbp = 0x00007f24d80008d0
Found by: call frame info
4  phantomjs!QEventLoop::processEvents [qeventloop.cpp : 149 + 0x1]
rbx = 0x00007f24d80012a0   r12 = 0x00007f251e1ffe30
r13 = 0x00007f251e1ffe40   r14 = 0x0000000003e4c230
r15 = 0x00000000040b8cb8   rip = 0x0000000001cdd4b5
rsp = 0x00007f251e1ffda0   rbp = 0x00007f251e1ffde0
Found by: call frame info
5  phantomjs!QEventLoop::exec [qeventloop.cpp : 200 + 0x4]
rbx = 0x00007f24d80012a0   r12 = 0x00007f251e1ffe30
r13 = 0x00007f251e1ffe40   r14 = 0x0000000003e4c230
r15 = 0x00000000040b8cb8   rip = 0x0000000001cdd918
rsp = 0x00007f251e1ffdd0   rbp = 0x00007fff94a2b140
Found by: call frame info
6  phantomjs!QThread::exec [qthread.cpp : 542 + 0xc]
rbx = 0x00000000040b8c30   r12 = 0x00000000040b8cb8
r13 = 0x0000000000000001   r14 = 0x00007f252100e040
r15 = 0x0000000000000003   rip = 0x0000000001bdfdf6
rsp = 0x00007f251e1ffe30   rbp = 0x00000000040b8cb8
Found by: call frame info
7  phantomjs!QThreadPrivate::start [qthread_unix.cpp : 338 + 0x9]
rbx = 0x00000000040b8cb8   r12 = 0x00000000040b8d00
r13 = 0x0000000000000001   r14 = 0x00007f252100e040
r15 = 0x0000000000000003   rip = 0x0000000001be2cc2
rsp = 0x00007f251e1ffe80   rbp = 0x00000000040b2570
Found by: call frame info
8  libpthread-2.13.so + 0x6b4f
rbx = 0x0000000000000000   r12 = 0x00007fff94a2a620
r13 = 0x00007f251e2009c0   r14 = 0x00007f252100e040
r15 = 0x0000000000000003   rip = 0x00007f25202f6b50
rsp = 0x00007f251e1ffed0   rbp = 0x0000000000000000
Found by: call frame info
Thread 3
0  libc-2.13.so + 0xd5963
rbx = 0x00007f24d7ffed50   r12 = 0x00000000002763e8
r13 = 0x000000000000000e   r14 = 0x0000000004127128
r15 = 0x00000000041273c0   rip = 0x00007f251f89b963
rsp = 0x00007f24d7ffeb70   rbp = 0x000000000003ca2a
Found by: given as instruction pointer in context
1  phantomjs!qt_safe_select [qcore_unix.cpp : 93 + 0x16]
rip = 0x0000000001d06228   rsp = 0x00007f24d7ffeb80
Found by: stack scanning
2  phantomjs!QEventDispatcherUNIXPrivate::doSelect [qeventdispatcher_unix.cpp : 223 + 0xd]
rbx = 0x0000000004121350   r12 = 0x00007f24d7ffeda0
r13 = 0x0000000004126f70   r14 = 0x00007f24d7ffed50
r15 = 0x00000000041273c0   rip = 0x0000000001d075e7
rsp = 0x00007f24d7ffec10   rbp = 0x0000000004126f70
Found by: call frame info
3  phantomjs!QEventDispatcherUNIX::processEvents [qeventdispatcher_unix.cpp : 937 + 0x4]
rbx = 0x0000000004121350   r12 = 0x00007f24d7ffeda0
r13 = 0x00000000040fdbb0   r14 = 0x0000000000000001
r15 = 0x0000000004122028   rip = 0x0000000001d08092
rsp = 0x00007f24d7ffed50   rbp = 0x0000000004126f70
Found by: call frame info
4  phantomjs!QEventLoop::processEvents [qeventloop.cpp : 149 + 0x1]
rbx = 0x0000000004121350   r12 = 0x00007f24d7ffee30
r13 = 0x00007f24d7ffee40   r14 = 0x0000000003e4c230
r15 = 0x0000000004122028   rip = 0x0000000001cdd4b5
rsp = 0x00007f24d7ffeda0   rbp = 0x00007f24d7ffede0
Found by: call frame info
5  phantomjs!QEventLoop::exec [qeventloop.cpp : 200 + 0x4]
rbx = 0x0000000004121350   r12 = 0x00007f24d7ffee30
r13 = 0x00007f24d7ffee40   r14 = 0x0000000003e4c230
r15 = 0x0000000004122028   rip = 0x0000000001cdd918
rsp = 0x00007f24d7ffedd0   rbp = 0x00007fff94a2b140
Found by: call frame info
6  phantomjs!QThread::exec [qthread.cpp : 542 + 0xc]
rbx = 0x0000000004121fa0   r12 = 0x0000000004122028
r13 = 0x0000000000000001   r14 = 0x00007f252100e040
r15 = 0x0000000000000003   rip = 0x0000000001bdfdf6
rsp = 0x00007f24d7ffee30   rbp = 0x0000000004122028
Found by: call frame info
7  phantomjs!QThreadPrivate::start [qthread_unix.cpp : 338 + 0x9]
rbx = 0x0000000004122028   r12 = 0x00000000041220e0
r13 = 0x0000000000000001   r14 = 0x00007f252100e040
r15 = 0x0000000000000003   rip = 0x0000000001be2cc2
rsp = 0x00007f24d7ffee80   rbp = 0x0000000004113e20
Found by: call frame info
8  libpthread-2.13.so + 0x6b4f
rbx = 0x0000000000000000   r12 = 0x00007fff94a28450
r13 = 0x00007f24d7fff9c0   r14 = 0x00007f252100e040
r15 = 0x0000000000000003   rip = 0x00007f25202f6b50
rsp = 0x00007f24d7ffeed0   rbp = 0x0000000000000000
Found by: call frame info
Thread 4
0  libpthread-2.13.so + 0xb64b
rbx = 0x000000000412af60   r12 = 0x0000000000000001
r13 = 0x00007f24d77fdde0   r14 = 0xffffffffffffff92
r15 = 0x0000000000000000   rip = 0x00007f25202fb64b
rsp = 0x00007f24d77fdd60   rbp = 0x000000000412b280
Found by: given as instruction pointer in context
1  phantomjs!QWaitCondition::wait [qwaitcondition_unix.cpp : 84 + 0x7]
rip = 0x0000000001be39d7   rsp = 0x00007f24d77fddc0
Found by: stack scanning
2  phantomjs!QThreadPoolThread::run [qthreadpool.cpp : 141 + 0x1d]
rbx = 0x000000000412ae80   r12 = 0x000000000412af09
r13 = 0x0000000000000002   r14 = 0x00007f252100e040
r15 = 0x0000000000000003   rip = 0x0000000001bd783d
rsp = 0x00007f24d77fde40   rbp = 0x000000000412b280
Found by: call frame info
3  phantomjs!QThreadPrivate::start [qthread_unix.cpp : 338 + 0x9]
rbx = 0x000000000411a0f0   r12 = 0x000000000412b420
r13 = 0x0000000000000001   r14 = 0x00007f252100e040
r15 = 0x0000000000000003   rip = 0x0000000001be2cc2
rsp = 0x00007f24d77fde80   rbp = 0x000000000412b280
Found by: call frame info
4  libpthread-2.13.so + 0x6b4f
rbx = 0x0000000000000000   r12 = 0x00007f24d7ffd5b0
r13 = 0x00007f24d77fe9c0   r14 = 0x00007f252100e040
r15 = 0x0000000000000003   rip = 0x00007f25202f6b50
rsp = 0x00007f24d77fded0   rbp = 0x0000000000000000
Found by: call frame info
Thread 5
0  libc-2.13.so + 0xd5963
rbx = 0x0000000000000000   r12 = 0x00007f24d6ffcda0
r13 = 0x0000000000000017   r14 = 0x000000000413d638
r15 = 0x000000000413d8d0   rip = 0x00007f251f89b963
rsp = 0x00007f24d6ffcb70   rbp = 0x000000000413d480
Found by: given as instruction pointer in context
1  phantomjs!qt_safe_select [qcore_unix.cpp : 83 + 0x15]
rip = 0x0000000001d06327   rsp = 0x00007f24d6ffcb80
Found by: stack scanning
2  phantomjs!QEventDispatcherUNIXPrivate::doSelect [qeventdispatcher_unix.cpp : 223 + 0xd]
rbx = 0x0000000004138ea0   r12 = 0x00007f24d6ffcda0
r13 = 0x000000000413d480   r14 = 0x0000000000000000
r15 = 0x000000000413d8d0   rip = 0x0000000001d075e7
rsp = 0x00007f24d6ffcc10   rbp = 0x000000000413d480
Found by: call frame info
3  phantomjs!QEventDispatcherUNIX::processEvents [qeventdispatcher_unix.cpp : 937 + 0x4]
rbx = 0x0000000004138ea0   r12 = 0x00007f24d6ffcda0
r13 = 0x0000000004137e10   r14 = 0x0000000000000001
r15 = 0x000000000413c3d8   rip = 0x0000000001d08092
rsp = 0x00007f24d6ffcd50   rbp = 0x000000000413d480
Found by: call frame info
4  phantomjs!QEventLoop::processEvents [qeventloop.cpp : 149 + 0x1]
rbx = 0x0000000004138ea0   r12 = 0x00007f24d6ffce30
r13 = 0x00007f24d6ffce40   r14 = 0x0000000003e4c230
r15 = 0x000000000413c3d8   rip = 0x0000000001cdd4b5
rsp = 0x00007f24d6ffcda0   rbp = 0x00007f24d6ffcde0
Found by: call frame info
5  phantomjs!QEventLoop::exec [qeventloop.cpp : 200 + 0x4]
rbx = 0x0000000004138ea0   r12 = 0x00007f24d6ffce30
r13 = 0x00007f24d6ffce40   r14 = 0x0000000003e4c230
r15 = 0x000000000413c3d8   rip = 0x0000000001cdd918
rsp = 0x00007f24d6ffcdd0   rbp = 0x00007fff94a2b140
Found by: call frame info
6  phantomjs!QThread::exec [qthread.cpp : 542 + 0xc]
rbx = 0x000000000413c350   r12 = 0x000000000413c3d8
r13 = 0x0000000000000001   r14 = 0x00007f252100e040
r15 = 0x0000000000000003   rip = 0x0000000001bdfdf6
rsp = 0x00007f24d6ffce30   rbp = 0x000000000413c3d8
Found by: call frame info
7  phantomjs!QThreadPrivate::start [qthread_unix.cpp : 338 + 0x9]
rbx = 0x000000000413c3d8   r12 = 0x000000000413c490
r13 = 0x0000000000000001   r14 = 0x00007f252100e040
r15 = 0x0000000000000003   rip = 0x0000000001be2cc2
rsp = 0x00007f24d6ffce80   rbp = 0x0000000004134290
Found by: call frame info
8  libpthread-2.13.so + 0x6b4f
rbx = 0x0000000000000000   r12 = 0x00007fff94a26470
r13 = 0x00007f24d6ffd9c0   r14 = 0x00007f252100e040
r15 = 0x0000000000000003   rip = 0x00007f25202f6b50
rsp = 0x00007f24d6ffced0   rbp = 0x0000000000000000
Found by: call frame info
Thread 6
0  libc-2.13.so + 0xd5963
rbx = 0x00007f24d525f270   r12 = 0x00000000002763ef
r13 = 0x000000000000001c   r14 = 0x00007f24d8003048
r15 = 0x00007f24d80032e0   rip = 0x00007f251f89b963
rsp = 0x00007f24d525f090   rbp = 0x00000000000aff04
Found by: given as instruction pointer in context
1  phantomjs!qt_safe_select [qcore_unix.cpp : 93 + 0x16]
rip = 0x0000000001d06228   rsp = 0x00007f24d525f0a0
Found by: stack scanning
2  phantomjs!QEventDispatcherUNIXPrivate::doSelect [qeventdispatcher_unix.cpp : 223 + 0xd]
rbx = 0x00007f24d8009990   r12 = 0x00007f24d525f2c0
r13 = 0x00007f24d8002e90   r14 = 0x00007f24d525f270
r15 = 0x00007f24d80032e0   rip = 0x0000000001d075e7
rsp = 0x00007f24d525f130   rbp = 0x00007f24d8002e90
Found by: call frame info
3  phantomjs!QEventDispatcherUNIX::processEvents [qeventdispatcher_unix.cpp : 937 + 0x4]
rbx = 0x00007f24d8009990   r12 = 0x00007f24d525f2c0
r13 = 0x00007f24d80017d0   r14 = 0x0000000000000001
r15 = 0x00000000043d36e8   rip = 0x0000000001d08092
rsp = 0x00007f24d525f270   rbp = 0x00007f24d8002e90
Found by: call frame info
4  phantomjs!QEventLoop::processEvents [qeventloop.cpp : 149 + 0x1]
rbx = 0x00007f24d8009990   r12 = 0x00007f24d525f490
r13 = 0x00007f24d525f4b0   r14 = 0x0000000003e4c230
r15 = 0x00000000043d36e8   rip = 0x0000000001cdd4b5
rsp = 0x00007f24d525f2c0   rbp = 0x00007f24d525f300
Found by: call frame info
5  phantomjs!QEventLoop::exec [qeventloop.cpp : 200 + 0x4]
rbx = 0x00007f24d8009990   r12 = 0x00007f24d525f490
r13 = 0x00007f24d525f4b0   r14 = 0x0000000003e4c230
r15 = 0x00000000043d36e8   rip = 0x0000000001cdd918
rsp = 0x00007f24d525f2f0   rbp = 0x00007fff94a2b140
Found by: call frame info
6  phantomjs!QHttpThreadDelegate::startRequestSynchronously [qhttpthreaddelegate.cpp : 228 + 0xf]
rbx = 0x00000000043d3ac0   r12 = 0x00007f24d525f490
r13 = 0x0000000003e4eab0   r14 = 0x00000000043d37e8
r15 = 0x00000000043d4080   rip = 0x0000000001b43fad
rsp = 0x00007f24d525f350   rbp = 0x0000000000000000
Found by: call frame info
7  phantomjs!QHttpThreadDelegate::qt_static_metacall [moc_qhttpthreaddelegate_p.cpp : 120 + 0x4]
rbx = 0x00000000043d3ac0   r12 = 0x00000000043d4080
r13 = 0x0000000003e4eab0   r14 = 0x00000000043d37e8
r15 = 0x00000000043d4080   rip = 0x0000000001ba7ffa
rsp = 0x00007f24d525f4e0   rbp = 0x0000000000000000
Found by: call frame info
8  phantomjs!QObject::event [qobject.cpp : 1191 + 0x8]
rbx = 0x00000000043d3ac0   r12 = 0x00000000043d4080
r13 = 0x0000000003e4eab0   r14 = 0x00000000043d37e8
r15 = 0x00000000043d4080   rip = 0x0000000001cefc28
rsp = 0x00007f24d525f5a0   rbp = 0x0000000000000000
Found by: call frame info
9  phantomjs!QApplicationPrivate::notify_helper [qapplication.cpp : 4562 + 0xc]
rbx = 0x00007fff94a2b140   r12 = 0x00000000043d4080
r13 = 0x0000000003e4eab0   r14 = 0x00000000043d37e8
r15 = 0x00000000043d4080   rip = 0x00000000015decaf
rsp = 0x00007f24d525f740   rbp = 0x00000000043d3ac0
Found by: call frame info
10  phantomjs!QApplication::notify [qapplication.cpp : 4423 + 0x17]
rbx = 0x00007fff94a2b140   r12 = 0x00000000043d4080
r13 = 0x00007fff94a2b140   r14 = 0x00000000043d37e8
r15 = 0x00000000043d4080   rip = 0x00000000015e793b
rsp = 0x00007f24d525f770   rbp = 0x00000000043d3ac0
Found by: call frame info
11  phantomjs!QCoreApplication::notifyInternal [qcoreapplication.cpp : 946 + 0x2]
rbx = 0x00000000043d37a0   r12 = 0x00000000043d4080
r13 = 0x00007fff94a2b140   r14 = 0x00000000043d37e8
r15 = 0x00000000043d37dc   rip = 0x0000000001cde3d4
rsp = 0x00007f24d525fc40   rbp = 0x00000000043d3ac0
Found by: call frame info
12  phantomjs!QCoreApplicationPrivate::sendPostedEvents [qcoreapplication.h : 231 + 0x1f]
rbx = 0x00000000043d4080   r12 = 0x00000000043d37a0
r13 = 0x00000000043d3ac0   r14 = 0x00000000043d37e8
r15 = 0x00000000043d37dc   rip = 0x0000000001cdf334
rsp = 0x00007f24d525fc90   rbp = 0x00000000043d4110
Found by: call frame info
13  phantomjs!QEventDispatcherUNIX::processEvents [qeventdispatcher_unix.cpp : 909 + 0xc]
rbx = 0x00007f24d80027d0   r12 = 0x00007f24d525fda0
r13 = 0x00007f24d80017d0   r14 = 0x0000000000000000
r15 = 0x00000000043d36e8   rip = 0x0000000001d08023
rsp = 0x00007f24d525fd50   rbp = 0x00007f24d8002e90
Found by: call frame info
14  phantomjs!QEventLoop::processEvents [qeventloop.cpp : 149 + 0x1]
rbx = 0x00007f24d80027d0   r12 = 0x00007f24d525fe30
r13 = 0x00007f24d525fe40   r14 = 0x0000000003e4c230
r15 = 0x00000000043d36e8   rip = 0x0000000001cdd4b5
rsp = 0x00007f24d525fda0   rbp = 0x00007f24d525fde0
Found by: call frame info
15  phantomjs!QEventLoop::exec [qeventloop.cpp : 200 + 0x4]
rbx = 0x00007f24d80027d0   r12 = 0x00007f24d525fe30
r13 = 0x00007f24d525fe40   r14 = 0x0000000003e4c230
r15 = 0x00000000043d36e8   rip = 0x0000000001cdd918
rsp = 0x00007f24d525fdd0   rbp = 0x00007fff94a2b140
Found by: call frame info
16  phantomjs!QThread::exec [qthread.cpp : 542 + 0xc]
rbx = 0x00000000043d3660   r12 = 0x00000000043d36e8
r13 = 0x0000000000000001   r14 = 0x00007f252100e040
r15 = 0x0000000000000003   rip = 0x0000000001bdfdf6
rsp = 0x00007f24d525fe30   rbp = 0x00000000043d36e8
Found by: call frame info
17  phantomjs!QThreadPrivate::start [qthread_unix.cpp : 338 + 0x9]
rbx = 0x00000000043d36e8   r12 = 0x00000000043d37a0
r13 = 0x0000000000000001   r14 = 0x00007f252100e040
r15 = 0x0000000000000003   rip = 0x0000000001be2cc2
rsp = 0x00007f24d525fe80   rbp = 0x00000000043d3640
Found by: call frame info
18  libpthread-2.13.so + 0x6b4f
rbx = 0x0000000000000000   r12 = 0x00007fff94a28280
r13 = 0x00007f24d52609c0   r14 = 0x00007f252100e040
r15 = 0x0000000000000003   rip = 0x00007f25202f6b50
rsp = 0x00007f24d525fed0   rbp = 0x0000000000000000
Found by: call frame info
Loaded modules:
0x00400000 - 0x0268dfff  phantomjs  ???  (main)
0x7f24d5685000 - 0x7f24d568dfff  c0632bt_.pfb  ???
0x7f24d568e000 - 0x7f24d5696fff  c0648bt_.pfb  ???
0x7f24dc373000 - 0x7f24dc57efff  libnss_files-2.13.so  ???
0x7f24dc57f000 - 0x7f24dc792fff  libresolv-2.13.so  ???
0x7f251eb2a000 - 0x7f251ed89fff  libssl.so.1.0.0  ???
0x7f251ed8a000 - 0x7f251f17dfff  libcrypto.so.1.0.0  ???
0x7f251f182000 - 0x7f251f384fff  ISO8859-1.so  ???
0x7f251f385000 - 0x7f251f5aefff  libexpat.so.1.6.0  ???
0x7f251f5af000 - 0x7f251f7c5fff  libz.so.1.2.7  ???
0x7f251f7c6000 - 0x7f251fb4bfff  libc-2.13.so  ???
0x7f251fb51000 - 0x7f251fd66fff  libgcc_s.so.1  ???
0x7f251fd67000 - 0x7f251ffe8fff  libm-2.13.so  ???
0x7f251ffe9000 - 0x7f25202dafff  libstdc++.so.6.0.17  ???
0x7f25202f0000 - 0x7f2520507fff  libpthread-2.13.so  ???
0x7f252050c000 - 0x7f2520713fff  librt-2.13.so  ???
0x7f2520714000 - 0x7f2520917fff  libdl-2.13.so  ???
0x7f2520918000 - 0x7f2520b4efff  libfontconfig.so.1.5.0  ???
0x7f2520b4f000 - 0x7f2520dedfff  libfreetype.so.6.8.1  ???
0x7f2520dee000 - 0x7f2520e0dfff  ld-2.13.so  ???
0x7f2520e13000 - 0x7f2520e19fff  gconv-modules.cache  ???
0x7f2520e1a000 - 0x7f2520e37fff  libc.mo  ???
0x7f2520e38000 - 0x7f2520e38fff  c05880de57d1f5e948fdfacc138775d9-le64.cache-3  ???
0x7f2520e39000 - 0x7f2520e41fff  945677eb7aeaf62f1d50efc3fb3ec7d8-le64.cache-3  ???
0x7f2520e42000 - 0x7f2520e46fff  6eb3985aa4124903f6ff08ba781cd364-le64.cache-3  ???
0x7f2520e47000 - 0x7f2520e4ffff  6d41288fd70b0be22e8c3a91e032eec0-le64.cache-3  ???
0x7f2520e50000 - 0x7f2520e50fff  4794a0821666d79190d59a36cb4f44b5-le64.cache-3  ???
0x7f2520e51000 - 0x7f2520e53fff  c57959a16110560c8d0fcea73374aeeb-le64.cache-3  ???
0x7f2520e54000 - 0x7f2520e58fff  3047814df9a2f067bd2d96a2b9c36e5a-le64.cache-3  ???
0x7f2520e59000 - 0x7f2520e5bfff  e49e89034d371f0f9de17aab02136486-le64.cache-3  ???
0x7f2520e5c000 - 0x7f2520e5dfff  4b14b093aebc79c320de5e86ae1d3314-le64.cache-3  ???
0x7f2520e5e000 - 0x7f2520e64fff  3f7329c5293ffd510edef78f73874cfd-le64.cache-3  ???
0x7f2520e65000 - 0x7f2520e6efff  83bf95040141907cd45bb53cf7c1c148-le64.cache-3  ???
0x7f2520e6f000 - 0x7f2520e6ffff  62f91419b9ebdb6975e7e41ab6412357-le64.cache-3  ???
0x7f2520e70000 - 0x7f2520e72fff  e13b20fdb08344e0e664864cc2ede53d-le64.cache-3  ???
0x7f2520e73000 - 0x7f2520fe9fff  locale-archive  ???
0x7fff94add000 - 0x7fff94addfff  linux-gate.so  ???

Please upgrade to PhantomJS 2.0. 1.9.x is no longer supported, and known to have many crasher bugs that are fixed in 2.0.


When a token does not fall under any of the class labels or abstains in NER?

Issue description
I have a program that labels a sequence of words using ontologies. I have labeling functions for class negative, class positive, and class abstain. Should I keep the word unlabeled if it does not fall under any of these class labels and ignore it or should I force-label them under either class negative or abstain? I will be grateful for any hints or help.

Hi anjani-dhrangadhariya,
Thanks for reaching out! To clarify you explicitly want 'abstain' as a class as opposed to just considering cases where labeling functions don't vote to be abstaining correct?
If thats the case, I don't think you need to force-label in the case where no labeling functions vote on a given word. Probabilistic labels will still be generated anyway (the fact that no labeling functions voted is itself a signal the label model picks up on).
Hope this helps!

Hi anjani-dhrangadhariya,
Thanks for reaching out! To clarify you explicitly want 'abstain' as a class as opposed to just considering cases where labeling functions don't vote to be abstaining correct?
If thats the case, I don't think you need to force-label in the case where no labeling functions vote on a given word. Probabilistic labels will still be generated anyway (the fact that no labeling functions voted is itself a signal the label model picks up on).
Hope this helps!

Thanks for writing, Humza. For my entity recognition application, I abstain on a specific list of words and label positive (+1) on a specific list of words. So not sure if 'abstain' becomes a class here. I do not have such a list for the negative class (-1). But I gain from your reply that even in this case, probabilistic labels will be generated. Please correct me if I am wrong.

Hi anjani-dhrangadhariya,
Thanks for reaching out! To clarify you explicitly want 'abstain' as a class as opposed to just considering cases where labeling functions don't vote to be abstaining correct?
If thats the case, I don't think you need to force-label in the case where no labeling functions vote on a given word. Probabilistic labels will still be generated anyway (the fact that no labeling functions voted is itself a signal the label model picks up on).
Hope this helps!

Thank you for your answer, Humza! I removed my previous response as it came from a different understanding. I am not using abstain class and just use abstain as a label where none of the labeling functions voted. The problem was that I did not have any negative label LFs. To make the label model work, I need to have labeling functions that emit non-zero labels {-1, 1}.


Feature Request: Rebalance command

It would be really nice to have a Rebalance command with 3 arguments: Outgoing channel ID(optional), Incoming channel ID(optional), and amount.
This would automatically find a route to the next to last hop (you're the last hop), then get all the info it needs for the incoming channel and adds the last route, creates a pay request, and uses sendtoroute to fulfill the request.
If outgoing or incoming channels are not specified, this could be populated a couple ways:
One: find an unbalanced channel(s) that's used the least amount
Two: Find the most unbalanced channel(s).
Steps:
Calls getchaninfo [Incoming ID] to get the [Node ID of next to last hop], [TimeLockDelta], [Chan_Capacity], [FeeBase], and [FeeRate]
Calls queryroutes [Node ID of next to last hop]
Creates payrequest [Amount] and passes [payHash] to SendToRoute
Calls SendToRoute, adding in the last hop, and making changes based on [TimeLockDeta], [FeeBase], and [FeeRate] from the next to last hop
This is quite tedious/difficult to do manually, but extremely simple to do in the code, as for the most part it's just calling existing functions.  It'd just have to make some mods to what Queryroutes returns to add in the last hop and account for [TimeLockDeta], [FeeBase], and [FeeRate] from the next to last hop
Mods to queryroute returns would be:
Append
{
"chan_id": "[Incoming Channel ID]",
"chan_capacity": "[Incoming Chan_capacity]",
"amt_to_forward": "[Amount]",
"fee": "0",
"expiry": [expiry returned from Queryroutes] + [TimeLockDelta],
"amt_to_forward_msat": "[Amount] * 1000",
"fee_msat": "0"
}
What was "the last hop" that was returned from QueryRoutes is now the "next to last hop", so fees have to be calculated.
Change Fee_Msat from 0 to [Amount] * [FeeRate]/ 1,000,000 + [FeeBase]
Change fee from zero to [Fee_Msat]/1000
Total_time_Lock = Total_time_Lock + [TimeLockDeta] of Next to Last hop]
Total_fees = Total_fees + [fee of next to last hop]
Total_amount = [Amount] + [New total_fees value]

This is quite tedious/difficult to do manually, but extremely simple to do in the code

Indeed, which is why it should likely be done by external programs. Several routing node operators already have scripts they use to rebalance their channels via the sendtoroute RPC call.

i've discovered it is a bit early to do this though.
it would be helpful with better error-reporting on sendtoroute with specified channels on failures etc.
also i would love addition of timestamp and flags from msg258 in describegraph to better guess which intermediate channels are more likely to be active. the success rate for each attempt is very low today.
also all the htlc:s that are sent during rebalancing easily clog up and triggers some nodes to close channels.

@Roasbeef you can use sendtoroute to move sat from one channel to other? I tried this and didn't work but was preparing routes manualy so if it can be done i had to screw something up. So can it be done?

It can be done. Double check your script.

@Roasbeef so how this route should looks like?
lets say we have nide A with channels:
A1 - X - B1
|
A2 - Y - B2
If i want to sent from A1 to B2 should it looke like this?
A1, X, B1, B2, Y, A2?

@Roasbeef  any chance for tool to find route between 2 given channels?

It wouldn't even be that hard.  Just change the existing commands to "If Destination = source, allow to appear twice and only twice in route"  Or something similar.  It's not difficult to allow the existing commands find a route back to itself, without creating infinite loops.

Essentially:
If Source = Destination, delete source from Node Index OR don't add it in the first place.  (But, by leaving first channel in channel index, it prevents it from going back in the outgoing channel.)
Add this in pathfind.go somewhere around line 287.  A single line of code should fix this.  And, if it's added outside of the loop, the line only executes once.
This would allow self routing, without any major changes.

Also, Func FindPaths would have to be modified:
If r.selfNode.PubKeyBytes = target
{
Then delete vertex from ignored vertexes (or don't add it)
}
Sorry, I don't know the exact syntax for GO.

It wouldn't even be that hard.

I patiently await your PR!

@Roasbeef
Ya, apparently you don't prevent looping with yourself via ignorednodes, so not as trivial as I hoped.
I'm tinkering around with allowing routing with self...
First issue: Oh, I'm already at my target... don't bother searching any more -> resolved
Second issue:  Shortest path is zero  -> resolved
Third issue: Dang infinite loops... ^_^
It'd be much easier for someone familiar with GO and how this whole path thing works.  ;)

@halfik
https://github.com/lightningnetwork/lnd/pull/1751 gives the ability to find path back to self (use queryRoutes and pick the path you want)
https://github.com/lightningnetwork/lnd/pull/1759 adds rebalance command and adds "incoming" and "outgoing" arguments to queryroutes.

See https://github.com/C-Otto/rebalance-lnd for a python script

It does not seem that https://github.com/C-Otto/rebalance-lnd  works anymore, sort of abandoned...

And they are dead set on not having it internally, no matter how much of a basic requirement it is.
They've closed out all my PRs.
When done in a script the entire pathfinding algorithm has to be re-written.

@MrManPew did you file a bug? I don't know of any issue.

@C-Otto  thank you for fixing the problems. - https://github.com/C-Otto/rebalance-lnd/issues/69

Closed by #3736.


Bug: chewrec_func cannot be set

Hi,
Both DTraceConsumer and DTraceContinuousConsumer constructors fail to correctly set the chewrec_func. As a consequence, the bug is also present in DTraceConsumerThread. The following lines should use chewrec_func instead of simple_chewrec:
https://github.com/tmetsch/python-dtrace/blob/56101d6d07d736c7041b0838bb138c3bfed25a81/dtrace_cython/consumer.pyx#L310
https://github.com/tmetsch/python-dtrace/blob/56101d6d07d736c7041b0838bb138c3bfed25a81/dtrace_cython/consumer.pyx#L435
Not sure if other changes are needed.

Ah good point, will look into this asap - Thanks for reporting!

I think this was introduces by issue #21 - will test this now.

Fixed in 0.0.15


custom group like contact list

Are there any API method that i will able to put characters into the group? For example, I am looking to group [0-9] and [~!@#$%^&*()_+] and some custom conditions into one group called # and with the letter I want it to make it to group it like A for Aa, B for Bb and C for Cc and so forth.

From your question, I understand that you may be looking at the example, how it takes a list and processes it into sections and creates headers. Despite the example, SuperSLiM is not concerned with how you implement your adapter or section your content.

Are there any sample that I could implement the a basic section to my content? I am still confuse about the mechanism of sectioning..

No, SuperSLiM will not help you with adapter implementation. Implementing the adapter is easy anyway, you just need to implement a virtual or real list of items grouped into sections. After all, an adapter for SuperSLiM is little different from a normal one for any other RecyclerView LayoutManager.
The issue you linked is a discussion about moving section data out of the item layout parameters into some other communication mechanism. It has little to do with the fundamental architecture of an adapter.
If you have trouble sorting a list or writing lookup tables for a virtual list, then I can't really help you anyway, such tasks are the fundamental basics first taught to any programmer.


Fix bug in calculate-state-pension

This branch fixes the bug raised in issue #2079.

Other than improving the commit notes or the PR description, this looks good to me. :+1:

I've edited the commit messages in an attempt to make them clearer.
I've rebased on master and force-pushed in preparation for merging.


Replace the term rows with records

Migrated from GitLab: https://gitlab.com/meltano/sdk/-/issues/243
Originally created by @aaronsteers on 2021-10-18 20:41:30

In a few places in the SDK, the term rows are used instead of the more standard records term. We should change this before - as as part of - the 1.0 release.
Example case uncovered in the diff of !187.

View 2 previous comments from the original issue on GitLab

Breaking changes on public modules:

Stream.post_process() takes a row arg which should be record.

Breaking changes on private modules:

_typing.conform_record_data_types()

I've created this PR which does not break public contracts:

#965

And this breaking PR to be merged with 1.0:

#966


build: run more buildmode=shared tests

#16590 was found very late in the 1.7 cycle and would have been caught much earlier if standard library tests for buildmode=shared were being run somewhere.

What's the the environment variable I can set? GO_GCFLAGS=...., GO_LDFLAGS=.... ?

I don't think there's an environment variable that will do the job (yet). The standard library needs to be installed with -buildmode=shared, and then the binary built with -linkshared. Those are go binary flags, not compiler/linker flags.

Looks like an environment variable already exists: $GO_FLAGS:
make.bash does:
CC=$CC_FOR_TARGET "$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std cmd

You can't install the standard library linked against itself though.
On 5 August 2016 at 13:10, Brad Fitzpatrick<EMAIL_ADDRESS>wrote:

Looks like an environment variable already exists: $GO_FLAGS:
make.bash does:
CC=$CC_FOR_TARGET "$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -gcflags
"$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std cmd
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/16602#issuecomment-237730371, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AApBFqjc5DLyAZpGwGyF45ypqltHaME7ks5qco11gaJpZM4JcnyH
.

I don't follow. Tell me what to do and I'll set up  builder.

 I'm not sure if that's what @crawshaw meant, sorry for hijacking if not.

@crawshaw, what command should the buildmode=shared builder run?

Ideally the stdlib tests, against a dynamically linked stdlib:
./make.bash
go install -buildmode=shared std
go test -short -linkshared std

As a bonus, what @mwhudson suggested:
cd ../test && go run run.go -linkshared

This is mostly just adding the -linkshared flag to the usual tests, but cmd/dist has to call go install somewhere first.

@quentinmit, any interest in setting up a new builder for this?

@bradfitz I probably won't have cycles to do this before 1.8 ships.

I'm guessing this won't happen until 1.9.

I'd still like to do it, especially now that we have two more weeks.

Ah, the release schedule shifted? Where should I look for it?

@crawshaw I'm guessing it's https://groups.google.com/forum/#!topic/golang-dev/G09HaWfMl6g in golang-dev ML.

Ping @crawshaw

I don't really have time to fit this in before any deadline. @bradfitz were you going to look at it? If not, I guess we bump it to 1.9.

It's not much work. I went to try the instructions above just locally, but they don't work.
On the Go 1.8 release branch, the make.bash and go test -short -linkshared std work fine, but then:
$ go test -short -linkshared std
# bufio_test
bufio/scan_test.go:23: undefined: IsSpace
bufio/scan_test.go:194: s.MaxTokenSize undefined (type *bufio.Scanner has no field or method MaxTokenSize, but does have bufio.maxTokenSize)
bufio/scan_test.go:230: s.MaxTokenSize undefined (type *bufio.Scanner has no field or method MaxTokenSize, but does have bufio.maxTokenSize)
bufio/scan_test.go:354: s.ErrOrEOF undefined (type *bufio.Scanner has no field or method ErrOrEOF)
bufio/scan_test.go:409: scanner.MaxTokenSize undefined (type *bufio.Scanner has no field or method MaxTokenSize, but does have bufio.maxTokenSize)
# testmain
/tmp/go-build353620918/archive/tar/_test/_testmain.go:24: undefined: tar.TestReader
/tmp/go-build353620918/archive/tar/_test/_testmain.go:26: undefined: tar.TestPartialRead
/tmp/go-build353620918/archive/tar/_test/_testmain.go:28: undefined: tar.TestSparseFileReader
/tmp/go-build353620918/archive/tar/_test/_testmain.go:30: undefined: tar.TestReadOldGNUSparseMap
/tmp/go-build353620918/archive/tar/_test/_testmain.go:32: undefined: tar.TestReadGNUSparseMap0x1
/tmp/go-build353620918/archive/tar/_test/_testmain.go:34: undefined: tar.TestReadGNUSparseMap1x0
/tmp/go-build353620918/archive/tar/_test/_testmain.go:36: undefined: tar.TestUninitializedRead
/tmp/go-build353620918/archive/tar/_test/_testmain.go:38: undefined: tar.TestReadTruncation
/tmp/go-build353620918/archive/tar/_test/_testmain.go:40: undefined: tar.TestReadHeaderOnly
/tmp/go-build353620918/archive/tar/_test/_testmain.go:42: undefined: tar.TestMergePAX
/tmp/go-build353620918/archive/tar/_test/_testmain.go:42: too many errors
FAIL    archive/tar [build failed]
# testmain
/tmp/go-build353620918/compress/bzip2/_test/_testmain.go:22: undefined: bzip2.TestReader
/tmp/go-build353620918/compress/bzip2/_test/_testmain.go:24: undefined: bzip2.TestBitReader
/tmp/go-build353620918/compress/bzip2/_test/_testmain.go:26: undefined: bzip2.TestMTF
/tmp/go-build353620918/compress/bzip2/_test/_testmain.go:32: undefined: bzip2.BenchmarkDecodeDigits
/tmp/go-build353620918/compress/bzip2/_test/_testmain.go:34: undefined: bzip2.BenchmarkDecodeTwain
/tmp/go-build353620918/compress/bzip2/_test/_testmain.go:36: undefined: bzip2.BenchmarkDecodeRand
# bytes_test
bytes/bytes_test.go:59: undefined: EqualPortable
bytes/bytes_test.go:237: undefined: IndexBytePortable
bytes/bytes_test.go:435: undefined: IndexBytePortable
bytes/bytes_test.go:509: undefined: EqualPortable
# testmain
/tmp/go-build353620918/archive/zip/_test/_testmain.go:24: undefined: zip.TestReader
/tmp/go-build353620918/archive/zip/_test/_testmain.go:26: undefined: zip.TestInvalidFiles
/tmp/go-build353620918/archive/zip/_test/_testmain.go:28: undefined: zip.TestIssue8186
/tmp/go-build353620918/archive/zip/_test/_testmain.go:30: undefined: zip.TestIssue10957
/tmp/go-build353620918/archive/zip/_test/_testmain.go:32: undefined: zip.TestIssue10956
/tmp/go-build353620918/archive/zip/_test/_testmain.go:34: undefined: zip.TestIssue11146
/tmp/go-build353620918/archive/zip/_test/_testmain.go:36: undefined: zip.TestIssue12449
/tmp/go-build353620918/archive/zip/_test/_testmain.go:38: undefined: zip.TestWriter
/tmp/go-build353620918/archive/zip/_test/_testmain.go:40: undefined: zip.TestWriterOffset
/tmp/go-build353620918/archive/zip/_test/_testmain.go:42: undefined: zip.TestWriterFlush
/tmp/go-build353620918/archive/zip/_test/_testmain.go:42: too many errors
FAIL    archive/zip [build failed]
FAIL    bufio [build failed]
FAIL    bytes [build failed]
FAIL    compress/bzip2 [build failed]
# testmain
/tmp/go-build353620918/compress/lzw/_test/_testmain.go:22: undefined: lzw.TestReader
/tmp/go-build353620918/compress/lzw/_test/_testmain.go:24: undefined: lzw.TestWriter
/tmp/go-build353620918/compress/lzw/_test/_testmain.go:26: undefined: lzw.TestWriterReturnValues
/tmp/go-build353620918/compress/lzw/_test/_testmain.go:28: undefined: lzw.TestSmallLitWidth
/tmp/go-build353620918/compress/lzw/_test/_testmain.go:34: undefined: lzw.BenchmarkDecoder
/tmp/go-build353620918/compress/lzw/_test/_testmain.go:36: undefined: lzw.BenchmarkEncoder
# testmain
/tmp/go-build353620918/compress/zlib/_test/_testmain.go:24: undefined: zlib.TestDecompressor
/tmp/go-build353620918/compress/zlib/_test/_testmain.go:26: undefined: zlib.TestWriter
/tmp/go-build353620918/compress/zlib/_test/_testmain.go:28: undefined: zlib.TestWriterBig
/tmp/go-build353620918/compress/zlib/_test/_testmain.go:30: undefined: zlib.TestWriterDict
/tmp/go-build353620918/compress/zlib/_test/_testmain.go:32: undefined: zlib.TestWriterReset
/tmp/go-build353620918/compress/zlib/_test/_testmain.go:34: undefined: zlib.TestWriterDictIsUsed
# testmain
/tmp/go-build353620918/compress/flate/_test/_testmain.go:24: undefined: flate.TestBulkHash4
/tmp/go-build353620918/compress/flate/_test/_testmain.go:26: undefined: flate.TestDeflate
/tmp/go-build353620918/compress/flate/_test/_testmain.go:28: undefined: flate.TestVeryLongSparseChunk
/tmp/go-build353620918/compress/flate/_test/_testmain.go:30: undefined: flate.TestDeflateInflate
/tmp/go-build353620918/compress/flate/_test/_testmain.go:32: undefined: flate.TestReverseBits
/tmp/go-build353620918/compress/flate/_test/_testmain.go:34: undefined: flate.TestDeflateInflateString
/tmp/go-build353620918/compress/flate/_test/_testmain.go:36: undefined: flate.TestReaderDict
/tmp/go-build353620918/compress/flate/_test/_testmain.go:38: undefined: flate.TestWriterDict
/tmp/go-build353620918/compress/flate/_test/_testmain.go:40: undefined: flate.TestRegression2508
/tmp/go-build353620918/compress/flate/_test/_testmain.go:42: undefined: flate.TestWriterReset
/tmp/go-build353620918/compress/flate/_test/_testmain.go:42: too many errors
...

@crawshaw, any tips?

Sorry, my instructions were bad. (If you install a .so with a package in it, and then try to run the tests of that package, you don't have the extra symbols added by the _test.go files.)
If you install the minimal .so of runtime and sync/atomic, then you can run the tests of every package other than runtime and sync/atomic. E.g.
go install -buildmode=shared runtime sync/atomic
go test -short -linkshared archive/tar

Unfortunately that means the std shorthand won't work, because the runtime package tests won't pass this way.
Interestingly the tests for package reflect fail. That may actually be a bug.

I don't fully understand.
What's the pseudo code English for what I should run?
Foreach package $PKG in "std", install something (?), then go test -short -linkshared $PKG?

Do the go install once, then for each package in std do go test.
On Wed, Feb 8, 2017 at 5:24 PM Brad Fitzpatrick<EMAIL_ADDRESS>wrote:

I don't fully understand.
What's the pseudo code English for what I should run?
Foreach package $PKG in "std", install something (?), then go test -short
-linkshared $PKG?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/16602#issuecomment-278481764, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAJ2J31ltuEAKEgucC2an6sX29Xi3eesks5rakCLgaJpZM4JcnyH
.

Process tree shows nothing interesting:
23468 pts/13   Ss+    0:00  \_ /bin/bash
 9339 pts/4    Ss     0:06  \_ /bin/bash
22609 pts/4    Sl+    0:00  |   \_ /home/bradfitz/go/bin/go test -short -linkshared -v -x archive/tar
12028 pts/16   Ss+    0:00  \_ /bin/bash
 2763 pts/17   Ss+    0:00  \_ /bin/bash

$ sudo strace -f -p 22609
Process 22609 attached with 6 threads
[pid 22612] futex(0xc42002ed10, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 22614] futex(0xc42011a110, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 22613] futex(0xab1a00, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 22611] futex(0xc42002e910, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 22609] futex(0xa95d10, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 22610] restart_syscall(<... resuming interrupted call ...>

$ git sync
$ rm -rf ../pkg
$ ./make.bash
...
$ go install -buildmode=shared runtime sync/atomic
$ go test -short -linkshared  archive/tar
ok  	archive/tar	0.043s
$

I also tried on release-branch.go1.8 and the same sequence works. So that it fails for you is pretty interesting. Do you have something funky in your pkg directory? If not, what kind of linux are you using?

Do you have something funky in your pkg directory?

I don't look at my pkg directory. I'm a little disgusted that rm -rf ../pkg is a necessary step, ever. I dream of a proper build cache. (#4719)

Okay, it works now after nuking pkg.
Is this the reflect error you saw?
$ go test -short -linkshared  reflect
runtime: typeOff 0x289c0 base 0xc4202bbbc0 not in ranges:
        types 0x7fb9f423f3a0 etypes 0x7fb9f4289190
        types 0xaaa020 etypes 0xd83b20
fatal error: runtime: type offset base pointer out of range

goroutine 75 [running]:
runtime.throw(0x7fb9f403960b, 0x2e)
        /home/bradfitz/go/src/runtime/panic.go:596 +0x97 fp=0xc420071d18 sp=0xc420071cf8
runtime.resolveTypeOff(0xc4202bbbc0, 0x289c0, 0xc4200f6660)
        /home/bradfitz/go/src/runtime/type.go:223 +0x356 fp=0xc420071d78 sp=0xc420071d18
runtime.(*_type).typeOff(0xc4202bbbc0, 0x289c0, 0xc420071de0)
        /home/bradfitz/go/src/runtime/type.go:239 +0x35 fp=0xc420071da0 sp=0xc420071d78
reflect.resolveTypeOff(0xc4202bbbc0, 0x289c0, 0x0)
        /home/bradfitz/go/src/runtime/runtime1.go:515 +0x35 fp=0xc420071dc8 sp=0xc420071da0
reflect.(*rtype).typeOff(0xc4202bbbc0, 0xc4000289c0, 0xc420071e88)
        /home/bradfitz/go/src/reflect/type.go:679 +0x35 fp=0xc420071df0 sp=0xc420071dc8
reflect.(*rtype).ptrTo(0xc4202bbbc0, 0xc4202bbbc0)
        /home/bradfitz/go/src/reflect/type.go:1430 +0x57b fp=0xc420071ec0 sp=0xc420071df0
reflect.PtrTo(0xe21fc0, 0xc4202bbbc0, 0xe21fc0, 0xc4202bbbc0)
        /home/bradfitz/go/src/reflect/type.go:1425 +0x47 fp=0xc420071ee8 sp=0xc420071ec0
reflect_test.TestPtrTo(0xc4200fbc70)
        /home/bradfitz/go/src/reflect/all_test.go:2485 +0xa1 fp=0xc420071fa8 sp=0xc420071ee8
testing.tRunner(0xc4200fbc70, 0xd80278)
        /home/bradfitz/go/src/testing/testing.go:657 +0xa0 fp=0xc420071fd0 sp=0xc420071fa8
runtime.goexit()
        /home/bradfitz/go/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc420071fd8 sp=0xc420071fd0
created by testing.(*T).Run
        /home/bradfitz/go/src/testing/testing.go:697 +0x2e4

Yes that's the reflect error. It might be real. We could give it its own issue.
The pkg directory gets an extra workout with -buildmode=shared, .so files end up there. I agree it should just work, it's just that these newer build modes don't get enough eyes.


Migrate to F-Droid API

Reference: https://github.com/badges/shields/issues/5259 (this PR shouldn't close it yet)
F-Droid is working on the API which will be published at the official website https://gitlab.com/fdroid/fdroid-website/-/merge_requests/568. It will take some time to discuss everything and extend it for other needs.
For now I prototyped this API using GitLab CI, which uses the same data structures and works better even in the current state. In the future (1-2 weeks, I guess) when the official API will be released the endpoint will be changed.
This new badge deprecates metadata_format parameter, since metadata is not parsed anymore. Instead, suggested parameter is added. You can see the difference at org.fdroid.fdroid.privileged package: if suggested is used, the badge will display suggested version instead of the latest, which is the case when latest version is alpha/beta/etc and wasn't marked as suggested in F-Droid metadata.

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @kitsunyan!

  Generated by :no_entry_sign: dangerJS against<PHONE_NUMBER>90f577458e0988ba683f23c7971c79

Tested a few example on the review app: everything looks good on that side. 👍🏻

I left a comments/questions inline, but don't have any blocking issues with this. Thanks for all your work on this @kitsunyan (as well as the new upstream API) and for reviewing @PyvesB!


Add purple bug sprite

I know about the issue, it's fixed in 2.0.0 which I hope to release tomorrow (it's done, but isn't compatible with Linux and macOS yet and isn't configured with Travis for automatic, multi-platform builds yet).


Add support for VertexAIEndpointLLM

I saw a PR where there was support for VertexAIEndpointLLM. But I can't find it in the latest version. Could you please add support for VertexAIEndpointLLM (which can enable users to use Llama 3.1 and other open source models served through Vertex AI)

Hi @leslyarun, we will work on this for the next release. I'll let you know once we have something so you can try it installing it from develop branch. Thanks for creating the issue!


How to access Web UI

Hi,
I see this link - https://hack-gpon.org/xgs/ont-nokia-xs-010x-q/
It shows Web Gui user id and password. But how to access the web gui?
When I enter the IP address, I dont see any page loaded.

IP address | <IP_ADDRESS>
-- | --
Web Gui | ✅ Port 80 user: admin, password: 1234

Did you set your Client IP to one of the range: <IP_ADDRESS>/24?
E.g. <IP_ADDRESS>?
If Telnet or ssh is working, you could check if it is locked by iprules.

no my router ip address range is <IP_ADDRESS>/20

Then you need some special routing/ forwarding on the router.

On OPNSense I assigned a virtual IP to the WAN Interface and created an Advanced Outbound NAT entry to route traffic to the modem IP via the virtual IP on the WAN interface.
I hope that helps.

I am not that good in networking. Any idea what / how to add? ONT is connected to WAN on router. And router LAN is <IP_ADDRESS>/20
What rules to add?

Which Router?
If you do Not Need Permanent Access to the ui, you can directly Connect your pc or notebook and set the ip address there.

Asus ax86u proSent from my Galaxy
-------- Original message --------From: Matthias @.> Date: 2024-12-21  02:27  (GMT-05:00) To: "hack-gpon/hack-gpon.github.io" @.> Cc: bharat goyal @.>, Author @.> Subject: Re: [hack-gpon/hack-gpon.github.io] How to access Web UI (Issue #378)
Which Router?
If you do Not Need Permanent Access to the ui, you can directly Connect your pc or notebook and set the ip address there.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

This thread may help:
External

Tried this but still does not work
ifconfig $(nvram get wan0_ifname):0 <IP_ADDRESS> netmask <IP_ADDRESS>
This is what it looks like after running the command

"nvram get wan0_ifname" gave you "MAN" not "WAN" I guess... that might be the problem


Changed std::rand to a better inbuilt PRNG Generator

Fixes #2954
This PR is in continuation of PR #3239 .

@Anushi1998 what's wrong with gen, generator, or just g?

@hkaiser gen is used in some files .
I am comfortable using generator and g.

Apologies for the delay.

@hkaiser I couldn't generate artifact for CircleCi error. How can I solve the issue?

The CircleCI error is unrelated. Please ignore.

Sure :)


Proxy support

Hi, thanks for your app.
I can`t stream because the proxy requires an authentication. Would it be possible to add proxy settings?

You can use the custom livestreamer parameters in the GUI (requires advanced settings).
Just set the --http-proxy "XYZ" parameter if you are using a HTTP proxy. SOCKS proxies are currently not supported by livestreamer though (see chrippa/livestreamer#270).
I don't know if I want to add proxy config fields to the settings menu because of this...
There's also an open issue regarding proxy authentication:
chrippa/livestreamer#446

Ya, after some digging on google. I tried the parameters.  Unfortunately it didn't work. Even with Livestreamer.
thanks for answering.

You need to update your requests version, try this
sudo pip install requests==2.5.3


Bug: Pasting document link with period in title, period content not included

Describe the Bug
If I have a .md document with a decimal value in the title, for example Half is .5, the decimal content is not included when pasting a link to the document. That is, pasting [[Half is .5]] from your clipboard pastes as [[Half is ]]. This is due to the Remove Leftover Footnotes from Quote on Paste setting as disabling this setting will paste the link as expected: [[Half is .5]]. I do not believe this is the expected behavior for that specific setting as it is not a footnote, it is an internal link.
How to Reproduce
Steps to reproduce the behavior:

Linter: Enable the Remove Leftover Footnotes from Quote on Paste plugin setting
Create a new note with a decimal value in the title, ex: The value is .333 repeating of course
Link the newly created note in itself so that the document content would then equal [[The value is .333 repeating of course]]
Copy the link [[The value is .333 repeating of course]] to your clipboard
Paste your clipboard into the same (or any) document
The resulting paste does not include the decimal value, thereby linking to a document that does not exist, ex: [[The value is  repeating of course]]

Expected Behavior
The expected result should paste the document link without removing the decimal value in the title to maintain the integrity of said link.
Expected output: [[The value is .333 repeating of course]]
Device

Desktop

Linux Mint 21.2 Cinnamon
Obsidian v1.3.7.AppImage
Linter v1.19.1

Thanks for reporting this @dylan-dot-tech . I will need to see about ignoring links for this paste method.

I believe I have a fix. I am just not sure if it has any wider implications. Hopefully it will be relatively small and just affect this.

I just pushed up the fix for this. It should be on master now and go out in the next release. Please let us know if this does not work or has any issues on master or in the next release.


Elton v1.4 fix bugs

[ ] Test delete person command. Delete Person Command is surprisingly broken and I fixed it.
[ ] Fixed dummy data. You can try to mess with JSON to see if it resets and also check if group (index) /list is working w new dummy data
[ ] Activity Diagram and UI Diagram update

Codecov Report

Merging #255 (e6dbb91) into master (a4e46fe) will increase coverage by 0.14%.
The diff coverage is 36.00%.

@@             Coverage Diff              @@
##             master     #255      +/-   ##
============================================
+ Coverage     38.48%   38.63%   +0.14%
  Complexity      557      557
============================================
  Files           178      178
  Lines          3284     3290       +6
  Branches        389      391       +2
============================================
+ Hits           1264     1271       +7
+ Misses         1882     1881       -1
  Partials        138      138

Impacted Files
Coverage Δ

...ain/java/seedu/notor/logic/parser/NotorParser.java
37.37% <ø> (+0.74%)
:arrow_up:

.../parser/person/PersonRemoveGroupCommandParser.java
0.00% <ø> (ø)

src/main/java/seedu/notor/model/ModelManager.java
60.43% <ø> (+2.50%)
:arrow_up:

src/main/java/seedu/notor/model/Notor.java
56.98% <ø> (ø)

...rc/main/java/seedu/notor/model/group/SubGroup.java
72.00% <ø> (ø)

.../main/java/seedu/notor/model/group/SuperGroup.java
58.53% <ø> (+1.39%)
:arrow_up:

...in/java/seedu/notor/model/util/SampleDataUtil.java
17.64% <0.00%> (ø)

...in/java/seedu/notor/storage/JsonAdaptedPerson.java
81.81% <0.00%> (ø)

...ava/seedu/notor/storage/JsonAdaptedSuperGroup.java
77.77% <0.00%> (-6.23%)
:arrow_down:

src/main/java/seedu/notor/ui/MainWindow.java
0.00% <0.00%> (ø)

... and 4 more

Continue to review full report at Codecov.

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


Wrong Translation for Blockquote =>Blocktext should be Blockzitat

Wrong German Translation for Blockquote
see https://www.deepl.com/translator#en/de/block quote
"Blocktext" should be "Blockzitat"

Thank you for the issue. we'll check it. if you want to contribute, please post a PR.


Chapter 10 @EnableBinding(Sink.class) Commented Out.

The LicenseServiceApplication @EnableBinding statement is commented out in the GitHub repo.  It is present in Listing 10.7.
//@EnableBinding(Sink.class)

I spoke too soon.  This code was refactored and moved to OrganizationChangeHandler in package com.optimagrowth.license.events.handler.


REQUEST: deploy prow for @pingcap/tidb

GitHub Repo Name
@pingcap/tidb
Which plugins do you want to deploy
You can find all available plugins in this manual book.
All plugins.
Requirements

[x] I have carefully read the instructions for the plugin I want to use.
[x] I agree to leave the plugin configuration to be maintained by sig-ti-community-infra.

TODO

[ ] @ti-community-infra/sig-community-infra  Add the requested plugin configuration
[ ] @ti-community-infra/sig-community-infra  Add repository admin to Robots
[ ] @ti-community-infra/sig-community-infra  Turn off the old robot function

@sykp241095 Can you grant the tidb admin permissions to ti-chi-bot？

ti-chi-bot

Done


conflict with postman on computer

Environment
Windows build number:  10.0.18363.900
Windows Terminal version (if applicable): 1.1.1671.0
Any other software?
postman
Steps to reproduce
click setting of windows terminal
Expected behavior
the setup windows popup? able to set up anyway
Actual behavior
no setup window came out, but the postman was called to start

sorry windows regards postman as the default opening way to open json file, close the issue


Multiple GitHub

Can one of the admins verify this patch?

Can one of the admins verify this patch?

test this please


How to include in an external project

Describe what you want to achieve.
I want to import the json functionality to my own project

Describe what you tried.
Following the README, I have cloned this repo in an external folder not in the path of mine and in my CMake I do:

find_package(nlohmann_json 3.2.0 REQUIRED)
add_library(${BINARY}_lib nlohmann_json::nlohmann_json)
target_link_libraries(${BINARY}_lib PRIVATE nlohmann_json::nlohmann_json)

But get this output:
CMake Error at HackerRank/CMakeLists.txt:7 (find_package):
  By not providing "Findnlohmann_json.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "nlohmann_json", but CMake did not find one.

  Could not find a package configuration file provided by "nlohmann_json"
  (requested version 3.2.0) with any of the following names:

    nlohmann_jsonConfig.cmake
    nlohmann_json-config.cmake

  Add the installation prefix of "nlohmann_json" to CMAKE_PREFIX_PATH or set
  "nlohmann_json_DIR" to a directory containing one of the above files.  If
  "nlohmann_json" provides a separate development package or SDK, be sure it
  has been installed.

Sorry in advance for the question but would be much appreciated if you could help me.

Describe which system (OS, compiler) you are using.
Mac OS Catalina and LLDB

Describe which version of the library you are using (release version, develop branch).
I cloned the latest master

Did you install the library? This is required if you want to find it via find_package.

Yes installed but I have one doubt. Once it is installed with Homebrew, then in my CMake I need to add:
# CMakeLists.txt
find_package(nlohmann_json 3.2.0 REQUIRED)
...
add_library(foo ...)
...
target_link_libraries(foo PRIVATE nlohmann_json::nlohmann_json)

what is what goes in the ...  inside add_library?

I could do the following:
brew tap nlohmann/json
brew install nlohmann-json

and the following project:
cmake_minimum_required(VERSION 3.1)

project(DummyProject CXX)

find_package(nlohmann_json 3.2.0 REQUIRED)
add_executable(dummy dummy.cpp)
target_link_libraries(dummy PRIVATE nlohmann_json::nlohmann_json)

#include <nlohmann/json.hpp>
#include <iostream>

int main()
{
    std::cout << nlohmann::json::meta() << std::endl;
}

can be configured via:
$ cmake ..
-- The CXX compiler identification is AppleClang <IP_ADDRESS>30032
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found nlohmann_json: /usr/local/lib/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found suitable version "3.7.3", minimum required is "3.2.0")
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/niels/Desktop/foo/build

and build with
$  make
Scanning dependencies of target dummy
[ 50%] Building CXX object CMakeFiles/dummy.dir/dummy.cpp.o
[100%] Linking CXX executable dummy
[100%] Built target dummy

$ ./dummy
{"compiler":{"c++":"201103","family":"clang","version":"11.0.3 (clang-1<IP_ADDRESS>)"},"copyright":"(C) 2013-2017 Niels Lohmann","name":"JSON for Modern C++","platform":"apple","url":"https://github.com/nlohmann/json","version":{"major":3,"minor":7,"patch":3,"string":"3.7.3"}}

You are right, thank @nlohmann . I know it does not concern you as it is a problem from my side but I have In my project one general CMake and one other inside the subproject. With this I get the error:
/Users/hectoresteban/Documents/C++/C++Projects/DailyCoding/HackerRank/read_json_file.cpp:1:10: fatal error: 'nlohmann/json.hpp' file not found
This is my CMake in the main directory:
cmake_minimum_required(VERSION 3.15)
project(DailyCoding)
set(CMAKE_CXX_STANDARD 17)
include_directories(HackerRank) # points where I build everything
find_package(nlohmann_json 3.2.0 REQUIRED)
#add_subdirectory(Google_tests)
add_subdirectory(HackerRank)

An this is the CMake in HackerRank where I include your package:
set(BINARY ${CMAKE_PROJECT_NAME})
set(SOURCES read_json_file.cpp)
add_executable(${BINARY}_run ${SOURCES})
add_library(${BINARY}_lib STATIC ${SOURCES})
target_link_libraries(${BINARY}_run PRIVATE nlohmann_json::nlohmann_json)

Do you know what is the reason why with this structure happens this error?
Thank a lot

How does read_json_file.cpp:1:10 look like?

#include <nlohmann/json.hpp>

Are there errors or warning running CMake?


fix #31 support iOS expiration field

Signed-off-by: Bo-Yi Wu<EMAIL_ADDRESS>

Coverage increased (+0.02%) to 97.593% when pulling 347739a5784be7b38f5697d436de45a19e20219f on ios into 2544ae7464958fb94a9b8015003b1b721ce0b7bc on master.


How about recode it to C/C++/Java

The python script is too slow (several hours) and use high memeory (~70G)

I have an optimized fork of an old version which features multi process and a C extension and is expected to be slightly faster. You can try it at https://github.com/ylxdzsw/dedup . run make before running to utilize the C extension.

Thanks, I'll have a try


Use Cases?

Hi, this repo is very interesting to me as someone interested in Kubernetes and Rust. I stumbled across it a couple days ago with a random page of "kubernetes rust" search results, and then just came across you in the minikube repo as well.
May I be nosy? What is your use-case or planned use for this? Are you planning to write clients/controllers/random utils with it?
I'd be curious if you've thought about being able to define models in Rust and emit CRDs or custom API object definitions? Or maybe that's more appropriate for a separate repo/gen-tool?

What is your use-case or planned use for this? Are you planning to write clients/controllers/random utils with it?

I'm personally not planning to do much with it. I had initially started this because I might have needed it for a work project, but that is not the case any more. At any rate I will continue working on it in my free time for now.
Yes, the use case is to be the equivalent of kubernetes/api and kubernetes/client-go for Rust. So you'd use it to write both external client applications to interface with a k8s cluster, and operators or controllers that run within the cluster.

I'd be curious if you've thought about being able to define models in Rust and emit CRDs or custom API object definitions? Or maybe that's more appropriate for a separate repo/gen-tool?

If you want to use this crate directly, you can see the k8s-openapi-tests directory for an example. There is a CRD example there also that shows how you'd define and register your own CRD type, and create CRs of that type.
But yes, the API provided by this crate is rough and not very Rust-like. My expection is that repos like anowell/kubeclient-rs will use this crate and layer a more Rust-like API on top. See https://github.com/anowell/kubeclient-rs/issues/4 for discussion about that. I don't think I would want this crate to do any fixups to the generated code (apart from what it does to work around mistakes in the spec, of course).


Align Logging with master branch of bipedal

This is needed after https://github.com/ami-iit/bipedal-locomotion-framework/pull/587

Thanks @lrapetti, merging.


SWC iteration 4

Proposed Changes as DRAFT
SWC Iteration 4 will be part of the next VerneMQ release.
This specifically addresses the requirement to allow a node leave the cluster and re-join with the same nodename but empty state. (the latter causing K8s issues when Pods get killed, and a leave strategy is chosen instead of stop/restart node)
TODO:

[x] clean from development logs/comments
[x] Unit tests are switched to SWC but might need more adjustments, mainly due to different timing behaviour in sync protocol
[x] Review peer ORSWOT
[ ] test against every case determined or conjectured to be related to fix
EDIT: testing against the non-deterministic cases only partially done/possible.

Technical note on SWC Iteration 4:
Causality tracking needs Ids to track events under. SWC does causality tracking based on the different cluster nodes. Before, the nodename was used as the SWC id (example 'dev0@<IP_ADDRESS>'). This is now<EMAIL_ADDRESS><<"some binary actor">>}.
As an actor is created for an empty starting node, a node re-joining a cluster under the same nodename will now have a different SWC id. This improves causality tracking, but note that the old IDs are now kept in the nodeclocks.
SWC Iteration 5 should add jumping (cleaning) the clocks, and retiring Ids with transfer to a new ID.

@ioolkos am I reading this right, when I say the change to vars.config changes the default metadata plugin to SWC from plumtree?
If so, this is a breaking change that was not covered in the release notes and should be amended.


Set default color to color-picker

Hi @ruhley.
Thanks for your share your awesome work! ;)
I'm working with your module to create an html editor. and I'm trying to pass a default color to the color picker.
I tried
var color = "#FF0000"; // I get the color element by Jquery
$scope.ngModel = color // does nothing.
$scope.myColor = color; // only sets the color when I click on edit the color, but when show the modal is set as #FFFFFF

I have an example on https://plnkr.co/edit/HycbM4zEOENvreXfsFPj?p=preview
You have to click in one of the html modules.
Can you give me some orientation?
Thanks for your help.
Javier

To get your example working I needed to add $scope.$apply() at the end of the function. See it working at https://plnkr.co/edit/h6oZwXKfxkm1UZ5qY2f2?p=preview. This is because you are attching the click event using normal javascript. If you used ng-click="" instead then you wouldn't have this problem. This is considered best practice.


Issues with datapack for spawn items

I've tried different folder structures:

serverFolder\datapacks\gamestart\data\gamestart\loot_tables\first_join.json
serverFolder\data\gamestart\loot_tables\first_join.json
serverFolder\datapacks\data\gamestart\loot_tables\first_join.json
serverFolder\datapacks\gamestart\loot_tables\first_join.json
serverFolder\world\data\gamestart\loot_tables\first_join.json
serverFolder\world\datapacks\data\gamestart\loot_tables\first_join.json

with this being first_join.json
and I keep spawning with that damn 1 apple for some reason, please help I'm going insane hehe
much appreciated - love the mod idea!


Check/fix Windows color output

https://www.infracost.io/docs/ > Windows tab asks users to run with --no-color. The aim of this ticket is to investigate and fix terminal color issues we have with Windows. We can provide access to a Windows remote desktop to enable the debugging/testing of this. We can check what the gh CLI tool does on Windows.
If it's not easy to fix the color/animations looking odd in Windows, we can disable those (the same as what we tell users).

@alikhajeh1, Hey, I want to work on it!

@alikhajeh1 it looks like color output works fine, only special symbols is broken

Thanks for checking @ekifel, @aliscott would a work-around be not show the symbols in windows?

Yes, but @ekifel can you check if https://github.com/infracost/infracost/pull/749 fixed it? It fixed this issue: https://github.com/briandowns/spinner/issues/110

@aliscott, I checked this again, CMD and PowerShell have the same results, but in VSCode's terminal everything is fine.

Can we detect if the shell is CMD or PowerShell using echo $0? If not then I think we should just disable the spinners for windows.

@ekifel any update on this?


Error for fine-tuning llama2-7B using dp-transformers

Dear community,
I tried to fine-tuning llama2-7B using dp-transformers based on examples, but received the below error:
ValueError: Per sample gradient is not initialized. Not updated in backward pass?
How can I solve this problem or how to use differetial privacy to fine-tuning llama2-7B model?
Thanks a lot!

Hi @stevenL-1047, what's the parameters settings that you use, could you please share the command you used?


Settings: display settings based on config

The configuration specifies which settings should be changeable by the user.

I believe this is now handled correctly in settings tab in pwa

Settings has been implemented


Fix off-by-one for maximum RCC clock rates.

this allows setting the RCC to the maximum clock rate (72MHz)

actually this still doesn't allow setting sysclk to 72MHz


[1.14.4] Crash with Forge 1.0.6 when using old config.

https://gist.github.com/ProsperCraft/14789da751882fabc180221c22ba3ff4
I copied my old config over and it crashed when I started with the m2d mod.
Crash log-
https://gist.github.com/ProsperCraft/14789da751882fabc180221c22ba3ff4
Log-
debug.log
latest.log

Resolved