Processing of large scripts takes very long (starting with release 2.6.1)

I am working with Javascripts for single-page apps which have concatenated sizes of 400kb-800kb.
Using releases until 2.5.11, processing of these scripts takes approx. 2 seconds on an average PC.
In later releases, jshint needs up approx. 30 seconds to process the same scripts, which makes it unusable in frequently executed development builds.

The tests seem to run faster in 2.6.1 than in 2.5.11, so I don't think there is any obvious speed issue. Its possible of course that something in your scripts or the size of them is causing an issue. Have you considered linting the non-concatenated scripts?
Is it 2.6.0 that jshint becomes slow? What version of node are you running? Has anything else changed or is the only moving variable jshint?
Can you provide a test file? if not, would you be able to narrow down the commits - https://github.com/jshint/jshint/releases/tag/2.6.0 you should be able to install a particular git commit hash from inside npm.

Luke, my apologies for the confusion. After running tests in even smaller version steps (see below) it seems that the 2.6.0 release is still OK and the problem starts with 2.6.1.

Now to your questions.
I am using node.js version 0.10.26, executed from within (node)eclipse.
jshint is indeed the only variable. I have tested several releases of jshint by exchanging the version numbers in the package.json files of my projects, wiping the node_modules, re-running npm install, and then executing the build. I believe the results speak for themselves.
Here is the setup for the following results:
	var srcFile = path.resolve(path.join(__dirname, "../_out/tmp/concat.js")),
		src = fs.readFileSync(srcFile).toString();

	var jsHintOptions = {
		node: true,
		freeze: true,
		notypeof: true,
		es3: false,
		es5: false,
		noarg: true,
		nocomma: false,
		multistr: false,
		debug: true,
		boss: false,
		evil: false,
		sub: true,
		undef: true,
		browser: true
	};

	var before = new Date().getTime();
	hint(src, jsHintOptions);
	var after = new Date().getTime();
	console.log("jshint took " + (after-before) + " ms");

After several iterations, I have now got the following numbers:
"=2.5.11" in package.json: jshint took 1568 ms
"=2.6.0" in package.json: jshint took 1576 ms
"=2.6.1" in package.json: jshint took 177234 ms
"=2.6.2" in package.json: jshint took 98255 ms
"<2.7.0" (resolves to 2.6.3) in package.json: jshint took 97844 ms
"=2.7.0" in package.json: jshint took 151964 ms
"*" in package.json: jshint took 99499 ms
The size of the input file is 452,523 bytes. I cannot upload it here (company rules), but I can say that it has been generated with webpack, consists of 27 modules, and includes jQuery and backboneJs in their latest revisions. All jshints are currently failing with too many errors (~ 45-50% processed), with the vast majority of them being related to the aforementioned third-party modules.

I cannot upload it here (company rules), but I can say that it has been generated with webpack, consists of 27 modules, and includes jQuery and backboneJs in their latest revisions.

We lint jQuery as part of our tests (the ones that don't increase in time between 2.6.0 and 2.6.1)

All jshints are currently failing with too many errors (~ 45-50% processed), with the vast majority of them being related to the aforementioned third-party modules.

Its an alarm bell if its failing with alot of errors (it potentially makes the exact situation harder to reproduce). Would it be easy for you to make a bundle with just 3rd party modules? if that reproduces the issue, I assume it would be okay to give us that file and it will be alot easier?

I have reduced the main JS file as follows:
"use strict";

require("jquery");
require("backbone");
require("../style/urw_gothic_l_book.css");
require("../style/urw_gothic_l_demi.css");
require("../style/urw_gothic_l_demi.css");
require("../style/droid_sansregular.css");

This results in the following webpack output:
Hash: 348abbeb2db180999732
Version: webpack 1.10.1
Time: 933ms
                                 Asset     Size  Chunks             Chunk Names
 8ca6e243b6a55cae710739a0f7aff3c7.woff    26 kB          [emitted]
  fa40c1f01e7a257d9ec200925f173201.eot  23.2 kB          [emitted]
 a7c5b2861afe11965cbac8e2cad7f3bb.woff  26.4 kB          [emitted]
  a1ff28a4775f233223b49b3b098e1a79.ttf  46.7 kB          [emitted]
  d5b4083c3ec24c7a37460e236e4b0238.svg  88.8 kB          [emitted]
  666ce7af6532e896f2c1cf36f65b6c2b.eot  22.8 kB          [emitted]
f62e04cebcac838736d81faa29443aba.woff2  20.3 kB          [emitted]
acad91e3ba5a2e23d201c21af35316d3.woff2  20.6 kB          [emitted]
  43a5620caadbd47ca093dd49e13270c2.ttf  46.1 kB          [emitted]
  e46d257625f635231d4cbfe03a2d0cb8.svg  90.2 kB          [emitted]
 a4068692facb5110970b29a0a5ada6d5.woff  17.3 kB          [emitted]
  72519b3b5f3edf345a512da6212434ff.eot  15.4 kB          [emitted]
  c3ea7a86e018a5e3860bc54b4017fb8f.ttf    28 kB          [emitted]
  762d8dca9d10e3637fb7d8f270e08e25.svg  58.3 kB          [emitted]
                          ../concat.js   400 kB       0  [emitted]  main
chunk    {0} ../concat.js (main) 386 kB [rendered]
    [0] ../src/js/3p.js 227 bytes {0} [built]
    [1] ../src/style/urw_gothic_l_demi.css 955 bytes {0} [built]
    [2] ../~/css-loader!../src/style/urw_gothic_l_demi.css 930 bytes {0} [built]
    [3] ../~/css-loader/lib/css-base.js 1.51 kB {0} [built]
    [4] ../src/font/urw_gothic_l_demi/urw_gothic_l_demi-webfont.eot 81 bytes {0} [built]
    [5] ../src/font/urw_gothic_l_demi/urw_gothic_l_demi-webfont.woff2 83 bytes {0} [built]
    [6] ../src/font/urw_gothic_l_demi/urw_gothic_l_demi-webfont.woff 82 bytes {0} [built]
    [7] ../src/font/urw_gothic_l_demi/urw_gothic_l_demi-webfont.ttf 81 bytes {0} [built]
    [8] ../src/font/urw_gothic_l_demi/urw_gothic_l_demi-webfont.svg 81 bytes {0} [built]
    [9] ../~/style-loader/addStyles.js 6.09 kB {0} [built]
   [10] ../~/jquery/dist/jquery.js 248 kB {0} [built]
   [11] ../~/backbone/backbone.js 70.9 kB {0} [built]
   [12] ../~/backbone/~/underscore/underscore.js 52.9 kB {0} [built]
   [13] ../src/style/urw_gothic_l_book.css 955 bytes {0} [built]
   [14] ../~/css-loader!../src/style/urw_gothic_l_book.css 930 bytes {0} [built]
   [15] ../src/font/urw_gothic_l_book/urw_gothic_l_book-webfont.eot 81 bytes {0} [built]
   [16] ../src/font/urw_gothic_l_book/urw_gothic_l_book-webfont.woff2 83 bytes {0} [built]
   [17] ../src/font/urw_gothic_l_book/urw_gothic_l_book-webfont.woff 82 bytes {0} [built]
   [18] ../src/font/urw_gothic_l_book/urw_gothic_l_book-webfont.ttf 81 bytes {0} [built]
   [19] ../src/font/urw_gothic_l_book/urw_gothic_l_book-webfont.svg 81 bytes {0} [built]
   [20] ../src/style/droid_sansregular.css 955 bytes {0} [built]
   [21] ../~/css-loader!../src/style/droid_sansregular.css 785 bytes {0} [built]
   [22] ../src/font/droid_sansregular/DroidSans-webfont.woff 82 bytes {0} [built]
   [23] ../src/font/droid_sansregular/DroidSans-webfont.eot 81 bytes {0} [built]
   [24] ../src/font/droid_sansregular/DroidSans-webfont.ttf 81 bytes {0} [built]
   [25] ../src/font/droid_sansregular/DroidSans-webfont.svg 81 bytes {0} [built]

The generated output file (~ 399 kb) is here (please download, paste expires in 1mo):
http://pastebin.com/eBiaWnZg
jshint 2.6.1 needs 109876 ms to analyze the file and terminates with the following output:
157:84: Missing semicolon. (code W033)
  >> 	module.exports = __webpack_require__.p + "fa40c1f01e7a257d9ec200925f173201.eot"
163:86: Missing semicolon. (code W033)
  >> 	module.exports = __webpack_require__.p + "acad91e3ba5a2e23d201c21af35316d3.woff2"
169:85: Missing semicolon. (code W033)
  >> 	module.exports = __webpack_require__.p + "a7c5b2861afe11965cbac8e2cad7f3bb.woff"
175:84: Missing semicolon. (code W033)
  >> 	module.exports = __webpack_require__.p + "a1ff28a4775f233223b49b3b098e1a79.ttf"
181:84: Missing semicolon. (code W033)
  >> 	module.exports = __webpack_require__.p + "d5b4083c3ec24c7a37460e236e4b0238.svg"
233:23: 'i' is already defined. (code W004)
  >> 			for(var i = 0; i < mayRemove.length; i++) {
234:30: 'domStyle' is already defined. (code W004)
  >> 				var domStyle = mayRemove[i];
242:6: Missing semicolon. (code W033)
  >> 	}
258:27: 'j' is already defined. (code W004)
  >> 				for(var j = 0; j < item.parts.length; j++) {
374:54: Missing semicolon. (code W033)
  >> 			styleElement.setAttribute("media", media)
522:24: Use '!==' to compare with 'null'. (code W041)
  >> 			return num != null ?
617:45: Use '!==' to compare with 'null'. (code W041)
  >> 			if ( (options = arguments[ i ]) != null ) {
673:24: Use '!==' to compare with 'null'. (code W041)
  >> 			return obj != null && obj === obj.window;
712:22: Use '===' to compare with 'null'. (code W041)
  >> 			if ( obj == null ) {
807:25: Use '===' to compare with 'null'. (code W041)
  >> 			return text == null ?
816:22: Use '!==' to compare with 'null'. (code W041)
  >> 			if ( arr != null ) {
831:24: Use '===' to compare with 'null'. (code W041)
  >> 			return arr == null ? -1 : indexOf.call( arr, elem, i );
880:32: Use '!==' to compare with 'null'. (code W041)
  >> 					if ( value != null ) {
890:32: Use '!==' to compare with 'null'. (code W041)
  >> 					if ( value != null ) {
1140:47: Expected an assignment or function call and instead saw an expression. (code W030)
  >> 		arr[ preferredDoc.childNodes.length ].nodeType;
2060:33: Use '===' to compare with 'null'. (code W041)
  >> 					if ( result == null ) {
2314:37: Expected an assignment or function call and instead saw an expression. (code W030)
  >> 					elem.parentNode.selectedIndex;
2359:58: Use '===' to compare with 'null'. (code W041)
  >> 					( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" );
2582:26: Use '!==' to compare with 'null'. (code W041)
  >> 			mapped = map != null;
2762:63: Use '===' to compare with 'null'. (code W041)
  >> 					dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1),
2773:56: Use '!==' to compare with 'null'. (code W041)
  >> 				for ( ; i !== len && (elem = elems[i]) != null; i++ ) {
3007:45: Use '===' to compare with 'null'. (code W041)
  >> 		return div.getAttribute("disabled") == null;
3363:39: Use '===' to compare with 'null'. (code W041)
  >> 			return this.add( selector == null ?
3684:36: Use '!==' to compare with 'null'. (code W041)
  >> 						return obj != null ? jQuery.extend( obj, promise ) : promise;
3882:24: Use '===' to compare with 'null'. (code W041)
  >> 			bulk = key == null;
4721:25: Use '===' to compare with 'null'. (code W041)
  >> 			data = data == null ?
4922:34: Use '===' to compare with 'null'. (code W041)
  >> 				if ( event.which == null ) {
4923:53: Use '!==' to compare with 'null'. (code W041)
  >> 					event.which = original.charCode != null ? original.charCode : original.keyCode;
4937:34: Use '===' to compare with 'null'. (code W041)
  >> 				if ( event.pageX == null && original.clientX != null ) {
4937:62: Use '!==' to compare with 'null'. (code W041)
  >> 				if ( event.pageX == null && original.clientX != null ) {
5239:23: Use '===' to compare with 'null'. (code W041)
  >> 			if ( data == null && fn == null ) {
5239:37: Use '===' to compare with 'null'. (code W041)
  >> 			if ( data == null && fn == null ) {
5243:28: Use '===' to compare with 'null'. (code W041)
  >> 			} else if ( fn == null ) {
5667:39: Use '!==' to compare with 'null'. (code W041)
  >> 			for ( ; (elem = elems[i]) != null; i++ ) {
5687:38: Use '!==' to compare with 'null'. (code W041)
  >> 			for ( ; (elem = this[i]) != null; i++ ) {
5702:43: Use '===' to compare with 'null'. (code W041)
  >> 			dataAndEvents = dataAndEvents == null ? false : dataAndEvents;
5703:51: Use '===' to compare with 'null'. (code W041)
  >> 			deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;
6082:47: Use '===' to compare with 'null'. (code W041)
  >> 					if ( boxSizingReliableVal == null ) {
6237:30: Use '===' to compare with 'null'. (code W041)
  >> 		if ( val <= 0 || val == null ) {
6240:33: Use '===' to compare with 'null'. (code W041)
  >> 			if ( val < 0 || val == null ) {
6390:28: Use '===' to compare with 'null'. (code W041)
  >> 				if ( value == null || value !== value ) {
6624:47: Use '!==' to compare with 'null'. (code W041)
  >> 				if ( tween.elem[ tween.prop ] != null &&
6625:74: Use '===' to compare with 'null'. (code W041)
  >> 					(!tween.elem.style || tween.elem.style[ tween.prop ] == null) ) {
6643:101: Use '!==' to compare with 'null'. (code W041)
  >> 				} else if ( tween.elem.style && ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || jQuery.cssHooks[ tween.prop ] ) ) {
6791:33: Use '===' to compare with 'null'. (code W041)
  >> 			if ( hooks.unqueued == null ) {
6791:33: Too many errors. (51% scanned). (code E043)
  >> undefined

Thanks. I see the problem. It seems to be stuck on the initial lookupBlockType call.

I created a PR to fix this bug - #2538

Thank you!

@rondonjon I am seeing the same issue and found the exact commit where things start to go awry https://github.com/jshint/jshint/commit/813d97a8f5d96f2ab8320ad5da63662195f79d6c. I'm glad to see that there's already a PR to fix the issue and can't wait for it to be merged in!


Buildphase error after installing facebook/idb and pyenv (python 3.6.15) for Flipper debugger

Description
CommandError: Failed to build iOS project. "xcodebuild" exited with error code 65.
To view more error logs, try building the app with Xcode directly, by opening /Users/testuser/testapp/ios_app/ios/iosapp.xcworkspace.
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace /Users/testuser/testapp/ios_app/ios/iosapp.xcworkspace -configuration Debug -scheme iosapp -destination id=913DB190-280F-49C9-A48A-50B37F82802B
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Prepare packages
Computing target dependency graph and provisioning inputs
Create build description
Build description signature: d489800058fe84a78be26e239e86d8cd
Build description path: /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Intermediates.noindex/XCBuildData/d489800058fe84a78be26e239e86d8cd.xcbuilddata
note: Building targets in dependency order
ClangStatCache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk /Users/testuser/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator16.4-20E238-.sdkstatcache
cd /Users/testuser/testapp/ios_app/ios
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk -o /Users/testuser/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator16.4-20E238-.sdkstatcache
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Intermediates.noindex
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Intermediates.noindex
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphonesimulator
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphonesimulator
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/react-native-slider
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/react-native-slider
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/react-native-skia
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/react-native-skia
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/react-native-safe-area-context
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/react-native-safe-area-context
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/react-native-ble-manager
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/react-native-ble-manager
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/react-native-ble-plx
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/react-native-ble-plx
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/react-native-background-timer
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/react-native-background-timer
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/fmt
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/fmt
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/glog
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/glog
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/boost
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/boost
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/Yoga
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/Yoga
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/SocketRocket
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/SocketRocket
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/ReactCommon
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/ReactCommon
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-utils
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-utils
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-runtimescheduler
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-runtimescheduler
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-runtimeexecutor
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-runtimeexecutor
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-rncore
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-rncore
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-perflogger
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-perflogger
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-logger
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-logger
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-jsinspector
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-jsinspector
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-jsiexecutor
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-jsiexecutor
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-jsi
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-jsi
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-jsc
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-jsc
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-debug
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-debug
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-cxxreact
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-cxxreact
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-callinvoker
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-callinvoker
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-RCTVibration
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-RCTVibration
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-RCTText
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-RCTText
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-RCTSettings
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-RCTSettings
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-RCTNetwork
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-RCTNetwork
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-RCTLinking
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-RCTLinking
CreateBuildDirectory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-RCTImage
cd /Users/testuser/testapp/ios_app/ios
builtin-create-build-directory /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Products/Debug-iphonesimulator/React-RCTImage
PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-rncore.build/Script-46EB2E00017EB0.sh (in target 'React-rncore' from project 'Pods')
cd /Users/testuser/testapp/ios_app/ios/Pods
export ACTION=build
export AD_HOC_CODE_SIGNING_ALLOWED=YES
export ALLOW_TARGET_PLATFORM_SPECIALIZATION=NO
export ALTERNATE_GROUP=staff
export ALTERNATE_MODE=u+w,go-w,a+rX
export ALTERNATE_OWNER=testuser
export ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO
export ALWAYS_SEARCH_USER_PATHS=NO
export ALWAYS_USE_SEPARATE_HEADERMAPS=NO
export APPLE_INTERNAL_DEVELOPER_DIR=/AppleInternal/Developer
export APPLE_INTERNAL_DIR=/AppleInternal
export APPLE_INTERNAL_DOCUMENTATION_DIR=/AppleInternal/Documentation
export APPLE_INTERNAL_LIBRARY_DIR=/AppleInternal/Library
ProcessProductPackaging "" /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Intermediates.noindex/iosapp.build/Debug-iphonesimulator/WorkoutStatusExtension.build/WorkoutStatusExtension.appex.xcent (in target 'WorkoutStatusExtension' from project 'iosapp')
cd /Users/testuser/testapp/ios_app/ios
Entitlements:

{
"com.apple.security.get-task-allow" = 1;

}
builtin-productPackagingUtility -entitlements -format xml -o /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Intermediates.noindex/iosapp.build/Debug-iphonesimulator/WorkoutStatusExtension.build/WorkoutStatusExtension.appex.xcent

ProcessProductPackaging "" /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Intermediates.noindex/iosapp.build/Debug-iphonesimulator/WorkoutStatusExtension.build/WorkoutStatusExtension.appex-Simulated.xcent (in target 'WorkoutStatusExtension' from project 'iosapp')
cd /Users/testuser/testapp/ios_app/ios
Entitlements:

{
"application-identifier" = "476R87526Y.io.expo.client.ios.WorkoutStatus";

}
builtin-productPackagingUtility -entitlements -format xml -o /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Intermediates.noindex/iosapp.build/Debug-iphonesimulator/WorkoutStatusExtension.build/WorkoutStatusExtension.appex-Simulated.xcent

WriteAuxiliaryFile /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SocketRocket.build/all-product-headers.yaml (in target 'SocketRocket' from project 'Pods')
cd /Users/testuser/testapp/ios_app/ios/Pods
write-file /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SocketRocket.build/all-product-headers.yaml
WriteAuxiliaryFile /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SocketRocket.build/SocketRocket.hmap (in target 'SocketRocket' from project 'Pods')
cd /Users/testuser/testapp/ios_app/ios/Pods
write-file /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SocketRocket.build/SocketRocket.hmap
2023-07-21 12:44:43.053 xcodebuild[27750:454453] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/testuser/Library/Developer/Xcode/DerivedData/iosapp-bvhreowvaeayafcgvfxrlielkgtl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-rncore.build/Script-46EB2E00017EB0.sh (in target 'React-rncore' from project 'Pods')
(1 failure)
Build logs written to /Users/testuser/testapp/ios_app/.expo/xcodebuild.log
React Native Version
0.72.1
Output of npx react-native info
System:
OS: macOS 13.4.1
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 81.64 MB / 32.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.4.0
path: /usr/local/bin/node
Yarn:
version: 1.22.19
path: /usr/local/bin/yarn
npm:
version: 9.7.2
path: /usr/local/bin/npm
Watchman:
version: 2<IP_ADDRESS>
path: /usr/local/bin/watchman
Managers:
CocoaPods:
version: 1.12.1
path: /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 22.4
- iOS 16.4
- macOS 13.3
- tvOS 16.4
- watchOS 9.4
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode:
version: 14.3.1/14E300c
path: /usr/bin/xcodebuild
Languages:
Java: Not Found
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.1
wanted: 0.72.1
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: false
newArchEnabled: false
iOS:
hermesEnabled: false
newArchEnabled: false
Steps to reproduce

Install Flipper
Flipper dependencies like facebook/idb (go to github.com/facebook/idb to install two packages for idb)
One idb dependency is python 3.6.15 so I used pyenv to install that. previously python did not exist on my $PATH

Snack, screenshot, or link to a repository
I started getting this obscure buildphase error ever since I installed the Flipper debugger dependencies.
I reverted everything. Uninstalled all the deps for the Flipper that I assume caused this. I don't think I did anything before that would cause this error. I cleaned the build folder on Xcode, cleaned and purged everything I could for the react native app, deleted Podfile.lock, deleted node_modules folder, Pod folder. Installed Xcode 15 beta 4. Still getting the same error. I git stashed to make sure there wasn't a build setting that caused this but I'm still getting this error.
Any ideas?

I started getting this obscure buildphase error ever since I installed the Flipper debugger dependencies.

Please report this issue on facebook/flipper as we don't offer direct Flipper support here.


functions for index.php file too

I was making fun changes and found if you remove the html designations, you can put an index.php in the hash folder instead (on a php server env of course [apache]). Don't know how secure this is though and I'm sure there is probably a better way to secure a php page. More research is needed. XD

I think this works when the HTTP server knows how to deliver the default HTML page in a folder.
This is not the case of static hosting services like S3.
As a side note, if you have a backend you can rely on better security approaches.


make cpu-partitioning a per engine setting for remotehost endpoint

@atheurer This is untested, but I think it is what you need.


Python standalone release file layout varies

I'm checking out more of the toolchain implementation on windows and noticed that huak toolchain install now will fail since we had expected to resolve the same filepaths with the typical bin directory differences (Script vs bin).

Looking into this a little more it may not be as simple as "resolve py bin and expect all installed modules to land there."
So far I understand this as;

On macos the targets are all located in python/install/bin.
On windows the Python target (python.exe) is found in python/install
On windows there is only python.exe
On windows modules are installed to python/install/scripts
On windows the scripts folder is empty

I have not yet checked if this is specific to some release options/build configuration or if it's only an OS-specific deviation. I have also not looked into how, generally, Python is expected to be built and distributed outside of python-standalone's process.


Feature/netbackup go module

Initial changes for NetBackup module in Go language. Customer should be able to import the module and create script on top of it. An exmaple is also added on how to use it. Will add more functionality to ease the use of module.

All comments are incorporated. Please review this PR and can be merged.


fix : the way args are passed

Now that I am using HF parser the arguments are returned in their own namespace so we need to access them as class objects.
Without this fix, it was always setting tuning config to None and doing Fine tuning

Thank you for the review.
I removed peft_method from train_args , with the move to modular functions, because otherwise for a production repo we will have to add parameter validation to the train() function that if train_args.peft==pt, we have to ensure PEFTConfig is passed , otherwise return an error. It is also redundant in train() function. Currently if train() gets PEftconfig it will do pt, if it gets LoraConfig it will apply that and do lora and peft_method is not needed in train()
we can keep peft_method as a separate command line argument. The code in the main() will be moved to an example , and users may or may not use command line arguments. They can alternatively just call train() directly
model args = configs.ModelArguments(arg1=value1...) # The values can come from any HTML parsing or Json files etc.
fms_fine_tuning.train(model_args, ...)

the code in main just shows how to use command line arguments to create the necessary data classes to pass to train and makes experiments easier for datascientists

with more modular functions it is also easier to add unit tests than having everything in a giant main, so we have to ensure that parameters each function accepts is needed by that function


block producer quality control

EOSIO needs to natively support features to improve the quality and availability of active and stand by block producers.

It's not acceptable for a top 21 BP to stop producing blocks for hours and remain in the top 21 with no perceivable consequence.
It's not acceptable for a backup block producer to not be fully available to assume the role of an active BP at any time whilst at the same time collect daily rewards for their services which may or may not work when needed.

In both of these cases the suggestion to vote them out is impossible in the current climate of lack of voter engagement. Therefore in both of these cases we need to strengthen core EOSIO functionality with automated monitoring / grey listing / reduction and or removal of rewards mechanisms to add incentives for BPs to improve and maintain the quality of their services.
Suggestions:

Blocks produced by BPs are counted and monitored per BP
The greymass producerjson smart contract be introduced as a core EOSIO feature
This contract be extended to enable the json data to be validated against a standard schema
On chain BP data via this contract be gradually introduced as a mandatory requirement for ALL block producers
The endpoints defined within the content of the BP data be used to monitor the availability of BP API endpoints as a core feature
Grey listing and reduction / removal of rewards features be introduced based on the detection of inadequacies in (1) and (5)

Thanks for the submission.  Unfortunately, this issue is a little broad and seem applicable to the governance of a specific EOSIO-based blockchain (as the concept of producer rewards is a construct of the deployed system contracts).
It seems like some components would be appropriate as feature requests in the eosio.contracts repo.  However, I'd encourage those requests to be as dry and succinct as possible.
As the majority of this issue deals with governance IMO, I'm going to close it as off-topic for this repository and hope that you can find a more appropriate place to relocate it.
If you feel that this is in-appropriate you can re-open but there would need to be some sort of substantive feature request or bug report.


feat(authentication): groups, roles & permissions

This PR introduces roles and groups into Conduit.
While currently this implementation focuses on Authentication, it aims to serve as a "template" and testing ground for general authorization capabilities in Conduit.
Chances are that when this PR is ready to be merged, a new module or general functionality of authorization will be introduced in Conduit and not just in Authentication. For Authentication specifically, groups are introduced, with the capability of them acting as "realms" as well, where the user has or doesn't have the permission to authenticate. While currently not used, it sets the ground for this functionality to be implemented.
Currently there are several issues with this PR, namely:

too many db requests
child-group permission inheritance is sketchy at best
permissions are not implemented in a robust way

All of the above will be resolved in the coming days.

What kind of change does this PR introduce?

[ ] Bugfix
[X] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other (please describe)

Does this PR introduce a breaking change?

[ ] Yes
[x] No

The PR fulfills these requirements:

[x] It's submitted to the main branch
[x] When resolving a specific issue, it's referenced in the PR's description  (e.g. fix #xxx, where "xxx" is the issue number)

If adding a new feature, the PR's description includes:

[x] A convincing reason for adding this feature

Other information:

Closing PR for now, to continue further work


Fix description doc of from_unixtime

Current description of from_unixtime function is apparently for unix_timestamp.
I have no idea these descriptions are taken from, so I copied this text from this page.
If it is not acceptable for license, please let me know.

It seems that CI fails at the line which I did not touch.

Thanks!

Thanks!


error: method setPermissionDelegate in class HealthConnectPermissionDelegate cannot be applied to given types

This is the error am getting
android/app/src/main/java/com/ziva/MainActivity.java:26: error: method setPermissionDelegate in class HealthConnectPermissionDelegate cannot be applied to given types;
    HealthConnectPermissionDelegate.setPermissionDelegate(this);
                                   ^
  required: ReactActivity,String
  found: MainActivity
  reason: actual and formal argument lists differ in length
1 error

FAILURE: Build completed with 2 failures.

as per installation guide I have made change on my MainActivity.java as my project is on java
on import part I added
import dev.matinzd.healthconnect.permissions.HealthConnectPermissionDelegate;
and replaced onCreate() method with this
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    HealthConnectPermissionDelegate.setPermissionDelegate(this);
  }

and also on my android studio I can see an error on same thing
Non-static method 'setPermissionDelegate(error.NonExistentClass, java.lang.String)' cannot be referenced from a static context
Environment:

"react-native-health-connect": "2.0.1",
"react-native": "0.69.5"

In Java I call the setPermissionDelegate method like this:
HealthConnectPermissionDelegate.INSTANCE.setPermissionDelegate(this, "package.name");
On Android 14 it works fine but for others it crushes

Same issue

others

This worked for me but as mentioned only for Android14

In Java I call the setPermissionDelegate method like this: HealthConnectPermissionDelegate.INSTANCE.setPermissionDelegate(this, "package.name");
On Android 14 it works fine but for others it crushes

This worked for me but as mentioned only for Android14

Environment:
"react-native-health-connect": "2.0.1",
"react-native": "0.68.5"

Working in 14 version and for other version crash.
The method does not work. It does not prompt for permission on version 13, but it works fine on version 14.
const grantedPermissions = await requestPermission([
'ActiveCaloriesBurned',
'BasalBodyTemperature',
'BasalMetabolicRate',
]);

In Android 14, it works fine, but it doesn’t work on versions lower than 14. I’ve granted all permissions for Android Health Connect, but the app doesn’t read data from Health Connect on these older versions. However, it works without issues in Android 14. The requestPermission method isn’t working on versions lower than 14. Could anyone help me figure out how to fix this?
import { requestPermission } from ‘react-native-health-connect’;
const accessPermissions = await requestPermission([{accessType: ‘read’, recordType:“Height”},{accessType: ‘read’, recordType:“Steps”},………….);

in MainActivity.java - changing this -
HealthConnectPermissionDelegate.setPermissionDelegate(this);
as -  HealthConnectPermissionDelegate.INSTANCE.setPermissionDelegate(this, "com.google.android.apps.healthdata");
will work fine in lower versions of Android, but having problem in Android 14 - requestPermission method is not returning anymore.

@darshan2911, add the following code to your Android Manifest file:

Additionally, create a new file called PermissionsRationaleActivity.java in the java folder with the following content:
package [your app package name];
import android.webkit.WebResourceRequest;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import androidx.appcompat.app.AppCompatActivity;
public class PermissionsRationaleActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
    WebView webView = new WebView(this);
    webView.setWebViewClient(new WebViewClient() {
        @Override
        public boolean shouldOverrideUrlLoading(WebView view, WebResourceRequest request) {
            return false;
        }
    });

    webView.loadUrl("https://developer.android.com/health-and-fitness/guides/health-connect/develop/get-started");

    setContentView(webView);
}

}

Use this version of Health Connect<EMAIL_ADDRESS>It works fine on Android 14, but not on lower versions. I have already mentioned the issue here: https://github.com/matinzd/react-native-health-connect/issues/81#issuecomment-2066357894

@mujeeb98, still not working in Android 14 - i am having pop up of permission in every version of Android but response after Allowing permission for requestPermission method i am not getting in Android 14, getting in lower versions

@darshan2911 this is my setup and it works with android 14.
Try adding "./plugins/withReactNativeHealthConnect.js" to the plugins array inside app.json.
These are the plugin files, unzip inside the root folder: plugins.zip

@ismaelaarab i guess you are working with expo - i am working with react native CLI so i need some other solution.

Hey everyone,
Can someone clarify of what's happening here? Is the solution in documentation doesn't work on Android 14 or on Android 13 or lower?

Hey everyone,
Can someone clarify of what's happening here? Is the solution in documentation doesn't work on Android 14 or on Android 13 or lower?,

Solution in Documentation working fine in newer react native version for all the Android versions, i am currently having problem in React native - 0.71.7,
other versions -
buildToolsVersion = "34.0.0"
minSdkVersion = 26
compileSdkVersion = 34
targetSdkVersion = 33
supportLibVersion = "28.0.0"
supportVersion = "28.0.0"
kotlinVersion = "1.8.0"
node version - 14.17.3

Based on this PR that is picked for RN 71, you should be able to use it without any problems.
https://github.com/facebook/react-native/releases/tag/v0.71.16
As mentioned here you need to have the latest patch of RN 71 and above:
https://github.com/matinzd/react-native-health-connect/releases/tag/v2.0.0
So please upgrade your React Native version to latest patch version of 0.71.

@matinzd  My  application has the following setup:
react-native: 0.71.18
react-native-health-connect: ^2.0.1
buildToolsVersion: 34.0.0
minSdkVersion: 26
compileSdkVersion: 34
targetSdkVersion: 34
kotlinVersion: 1.8.0
The app works fine on Android 14, but it's not functioning on versions lower than 14, such as Android 12 or 11. Specifically, the requestPermission() method isn't being called on those lower versions.

@matinzd My application has the following setup:
react-native: 0.71.18 react-native-health-connect: ^2.0.1 buildToolsVersion: 34.0.0 minSdkVersion: 26 compileSdkVersion: 34 targetSdkVersion: 34 kotlinVersion: 1.8.0 The app works fine on Android 14, but it's not functioning on versions lower than 14, such as Android 12 or 11. Specifically, the requestPermission() method isn't being called on those lower versions.

Also,my app is not functioning on lower versions, but it works fine on Android 14. The requestPermission method returns an empty array when called. All my libraries are up to date, yet the issue persists.

Please follow the documentation. Use RN 71 and above with latest patch. Follow all the docs and see if it works.

Please follow the documentation. Use RN 71 and above with latest patch. Follow all the docs and see if it works.
I've followed all the steps outlined in the library documentation, ensuring that I have the latest versions of React, React Native, and Health Connect. Additionally, I've set up my manifest file, MainActivity, and permission rationale file according to the examples provided in the library's GitHub repository.

However,  the app functions correctly on Android version 14 . When requesting permission using the Health Connect permission API , the permission modal appears as expected. However, upon requesting permission on lower Android versions, the API returns an empty error response. This occurs even after downloading the Health Connect app.
Manifest file :

Main Activity file :

Permission Rational file :

Package.json file :

Android 14 Execution and response :

Android 13 Execution and response :

Please follow the documentation. Use RN 71 and above with latest patch. Follow all the docs and see if it works.
I've followed all the steps outlined in the library documentation, ensuring that I have the latest versions of React, React Native, and Health Connect. Additionally, I've set up my manifest file, MainActivity, and permission rationale file according to the examples provided in the library's GitHub repository.

However, the app functions correctly on Android version 14 . When requesting permission using the Health Connect permission API , the permission modal appears as expected. However, upon requesting permission on lower Android versions, the API returns an empty error response. This occurs even after downloading the Health Connect app.
Manifest file :
Main Activity file :
Permission Rational file :
Package.json file :
Android 14 Execution and response :
Android 13 Execution and response :

Please follow the documentation. Use RN 71 and above with latest patch. Follow all the docs and see if it works.
I've followed all the steps outlined in the library documentation, ensuring that I have the latest versions of React, React Native, and Health Connect. Additionally, I've set up my manifest file, MainActivity, and permission rationale file according to the examples provided in the library's GitHub repository.

However, the app functions correctly on Android version 14 . When requesting permission using the Health Connect permission API , the permission modal appears as expected. However, upon requesting permission on lower Android versions, the API returns an empty error response. This occurs even after downloading the Health Connect app.
Manifest file :
Main Activity file :
Permission Rational file :
Package.json file :
Android 14 Execution and response :
Android 13 Execution and response :

Yeah this isn't working on Android 13

Can you share the your AndroidManifest.xml here? @Satyam-shm @sudo-saquib

@matinzd  here is the code :

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="28" />
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION"/>
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
<uses-permission android:name="android.permission.READ_MEDIA_VISUAL_USER_SELECTED" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.MICROPHONE" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.hardware.camera" android:required="true" />
<uses-permission android:name="android.hardware.camera.autofocus" android:required="false" />
<uses-permission android:name="android.hardware.microphone" android:required="true" />
<uses-permission android:name="android.permission.health.READ_BASAL_METABOLIC_RATE"/>
<uses-permission android:name="android.permission.health.READ_ACTIVE_CALORIES_BURNED"/>
<uses-permission android:name="android.permission.health.READ_BLOOD_GLUCOSE"/>
<uses-permission android:name="android.permission.health.READ_BLOOD_PRESSURE"/>
<uses-permission android:name="android.permission.health.READ_BODY_FAT"/>
<uses-permission android:name="android.permission.health.READ_BONE_MASS"/>
<uses-permission android:name="android.permission.health.READ_HYDRATION"/>
<uses-permission android:name="android.permission.health.READ_NUTRITION"/>
<uses-permission android:name="android.permission.health.READ_RESPIRATORY_RATE"/>
<uses-permission android:name="android.permission.health.READ_OXYGEN_SATURATION"/>
<uses-permission android:name="android.permission.health.READ_RESTING_HEART_RATE"/>
<uses-permission android:name="android.permission.health.READ_POWER"/>
<uses-permission android:name="android.permission.health.READ_WEIGHT"/>
<uses-permission android:name="android.permission.health.READ_HEIGHT"/>
<uses-permission android:name="android.permission.health.READ_LEAN_BODY_MASS"/>
<uses-permission android:name="android.permission.health.READ_SEXUAL_ACTIVITY"/>
<uses-permission android:name="android.permission.health.READ_SLEEP"/>
<uses-permission android:name="android.permission.health.READ_SPEED"/>
<uses-permission android:name="android.permission.health.READ_TOTAL_CALORIES_BURNED"/>
<uses-permission android:name="android.permission.health.READ_VO2_MAX"/>
<uses-permission android:name="android.permission.health.READ_WHEELCHAIR_PUSHES"/>

<!-- Application Declaration -->
<application
    android:largeHeap="true"
    android:name=".MainApplication"
    android:label="@string/app_name"
    android:icon="@mipmap/ic_launcher"
    android:roundIcon="@mipmap/ic_launcher_round"
    android:allowBackup="false"
    android:theme="@style/AppTheme">

    <!-- Main Activity -->
    <activity
        android:name=".MainActivity"
        android:label="@string/app_name"
        android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
        android:launchMode="singleTask"
        android:screenOrientation="portrait"
        android:windowSoftInputMode="adjustResize"
        android:exported="true">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

   <!-- For supported versions through Android 13, create an activity to show the rationale
       of Health Connect permissions once users click the privacy policy link. -->
<activity
  android:name=".PermissionsRationaleActivity"
  android:exported="true">
  <intent-filter>
    <action android:name="androidx.health.ACTION_SHOW_PERMISSIONS_RATIONALE" />
  </intent-filter>
</activity>

<!-- For versions starting Android 14, create an activity alias to show the rationale
     of Health Connect permissions once users click the privacy policy link. -->
<activity-alias
  android:name="ViewPermissionUsageActivity"
  android:exported="true"
  android:targetActivity=".PermissionsRationaleActivity"
  android:permission="android.permission.START_VIEW_PERMISSION_USAGE">
  <intent-filter>
    <action android:name="android.intent.action.VIEW_PERMISSION_USAGE" />
    <category android:name="android.intent.category.HEALTH_PERMISSIONS" />
  </intent-filter>
</activity-alias>
  </application>
  <queries>
<package android:name="com.google.android.apps.healthdata" />

Android 14 success Android 9 Failed on requestPermission
Logcat :
FATAL EXCEPTION: DefaultDispatcher-worker-1
Process: com.app, PID: 23592
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=androidx.health.ACTION_REQUEST_PERMISSIONS pkg=com.app (has extras) }
"react-native": "0.74.2",
"react-native-health-connect": "^2.0.3",
buildToolsVersion = "34.0.0"
minSdkVersion = 26
compileSdkVersion = 34
targetSdkVersion = 34
kotlinVersion = "1.8.0"


Popup menu/toggle behavior of button

Hello,
first of all, great project.
Would it be possible to realise the same button behavior as in your last project?
Right now I have to push the symbol of the button to toggle the state and if I push the rest of the field, the popup menu opens.
The behavior in your other project was very user friendly in my opinion.
Means: toggle the state in the complete area of the botton, double tap for popup menu and maybe also some kind of slider functionality as you had.

https://github.com/matt8707/ha-fusion/issues/44


Adds the dutch translation

As the title of this PR says: it adds the dutch translations.

Saw that was already a dutch PR.


Add http headers security notes

Add notes about the following http headers and protocols:

SSL/HTTPS
Security Headers
Content Security Policy (CSP)
HTTP Strict Transport Security (HSTS)
X-FRAME-OPTIONS (Clickjacking protection)
X-Content-Type-Options
Cookie options
HTTP Public Key Pinning (HPKP)

Thanks @jeffwidman I did some changes and tomorrow we review the changes

I'd like to see a strong recommendation for people to set all these security headers on the webserver (or, if present, loadbalancer) level. Most of them don't really belong into the app itself (except maybe X-Frame-Options when framing should be allowed in some case and CORS headers since setting these globally is rarely a good idea if you aren't doing an API)
flask-secure-headers looks rather inactive (last commit 2015) and uses very poor coding practices (from headers import * - not only a wildcard import but also an implicit relative import that would most likely not work in PYthon 3) so I'd not even mention it.
I'd focus on mentioning a single extension (flask-talisman looks quite good and, according to their repo's org name, seems to be developed by google) and not repeat the link to them but mention that this extension can handle all these headers if someone prefers to do it on the application level.

Did some peer review with @doobeh in terms of wording concepts ->  http://bit.ly/2rxzjIE

No need to paste a bit.ly link as it's confusing... just paste the github link to the commit, and github will shorten it automatically.

@kennethreitz
About the change  -> https://github.com/pallets/flask/pull/2309/commits/fcfd03146011dbb2ab77868b2f56374d51b39d56

thanks!

✨🍰✨


WIP - Add plotly theme

This PR is related to #580.
We want to create a plotly theme to avoid having to set every style parameter for each plot, saving us lots of lines of code, decreasing burden in maintaining the code and keeping the style consistent across different plots.

Codecov Report

Merging #582 into master will increase coverage by 0.04%.
The diff coverage is 78.18%.

@@            Coverage Diff             @@
##           master     #582      +/-   ##
==========================================
+ Coverage   88.76%   88.81%   +0.04%
==========================================
  Files          24       25       +1
  Lines        5145     5166      +21
==========================================
+ Hits         4567     4588      +21
  Misses        578      578

Impacted Files
Coverage Δ

ross/results.py
82.47% <ø> (ø)

ross/rotor_assembly.py
88.51% <76.47%> (+0.18%)
:arrow_up:

ross/plotly_theme.py
100.00% <100.00%> (ø)

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 363ef2d...c47c740. Read the comment docs.

So, I think this PR has too many modifications already.
Maybe some plots have lost some formatting that I should not have removed, but I think we can solve this in a different PR.
The purpose for now was just to remove all formatting and try to move everything to the plotly_theme. I have also added fig as an argument to all plots.


Add SubListLength option

This allow you to set the indentation length for sublists. The default is 1. Setting it to 2+ can be used when you want to be compatible with non-CommonMark renderers that assume that a sub-list needs at minimum 4 spaces for indentation, like https://python-markdown.github.io/.
Closes issue #20.

CC @teekennedy.


test lv_test_tabview_1 new program

Hi,
I found a new little problem，the second button on the first tab is grayed out, but can be dragged to the second button.

Hi,
Disabling tabs is not a supported feature. It just remained in the code from a test.
As a workaround, you can disable the sliding of a tab view: lv_tabview_set_sliding(tabview, false)

Yes, you are right


Updated compose to stable 1.0.0 version

Updated compose to stable 1.0.0 version.
Added workaround for 'kotlinx-coroutines-core-jvm' artifact with adding missing 'sun.misc' classes.
(as per this solution: bazel_issue_13553)

Looks good. Thanks for the pull request!


Composer Control block lose link when copying a page from Version

If you make a new page from Version menu, the blocks which used to be able to edit via composer, won't be able to edit from composer window.
Tested with the today's develop branch

Create a new blog entry (using Elemental Full sample contents) & publish.
Go back to newly created page & check the content block in composer shows up.
Go to Version menu, click the published version to show the menu, click New Page.

Duplicated page from Version lose the composer control.

This new page function from version menu is very useful if editor wants to create a new page without copying published page.
(Copying page from sitemap page still preserves composer control.)
Thanks

@katzueno there is many other cases where this happens, if you want, you could use some code of this package: https://github.com/Xanweb/composer_check
to make a pull request

This seems to be fixed in 8.5.5RC1


Replace Recap link with Minutes link on event listing page

Working draft idea:

Add logic to swap minutes link for recap link when minutes become available on the event listing item and on the event detail page
Add link to recaps web folder at the top of the event listing page
Possible add link to recaps web folder at the top of the event detail page

@shrayshray Can you let us know the final desired functionality once you've had a chance to meet with your folks?

@hancush desired functionality: swap minutes link for recap link when minutes become available on the event listing item and on the event detail page.
We're not going to worry about the recaps folder at this time. Access to Minutes is priority, and Minutes supersede the recaps so we don't need to keep them around once the Minutes are ready. We also would like to add a new page dedicated to Minutes, but I will open a separate issue to address that.

Here are the relevant lines of code:
https://github.com/datamade/la-metro-councilmatic/blob/3a523b47f1d8fe08adbd58d797c027cf2c948cb1/lametro/templates/partials/past_event_day.html#L56-L74
Here is the logic I propose using instead of what is currently here:

check if minutes exist and show them if they do
if they do not, use recap link (and existing logic for displaying it)
@hancush seems like a small change, am I missing anything I should make sure to consider?

@fatima3558 Seems like a good plan for the event listening page! What about on the event detail page? Does it use the same partial or something else?

@hancush thanks for bringing my attention to that. The logic is very similarly set up, so I anticipate making very similar logic tweaks (check for minutes first, show recap if no minutes):
https://github.com/datamade/la-metro-councilmatic/blob/3a523b47f1d8fe08adbd58d797c027cf2c948cb1/lametro/templates/lametro/event.html#L221-L236

Cool, that makes sense to me! Thanks, @fatima3558. Proceed with a PR.

@shrayshray This is ready for you to take a look at! Here's an event that should show a minutes link instead of a minutes and recap link: https://lametro-upgrade.datamade.us/event/regular-board-meeting-ff063c93ee77/

@fatima3558 this looks great!!


Carpet

Mod name
Fabric Carpet
Curseforge link
https://www.curseforge.com/minecraft/mc-mods/carpet
Modrinth link

Other link
https://github.com/gnembon/fabric-carpet
What it does
Carpet is a mod that allows to take full control over your vanilla game.
And can fix lag very much in multiplayer and single player
Why should it be in the modpackCan be complicated for everyone
Why shouldn't it be in the modpack
Can have incompaibilities with other mods
Categories

[x] Performance optimization
[ ] Graphics optimization
[x] New feature
[ ] Optifine parity
[x] Fixes a bug/dependency
[ ] Replaces an existing mod

Additional details
What is carpet mod?
Carpet Mod is a mod for vanilla Minecraft that allows you to take full control of what matters from a technical perspective of the game.
Test your farms over several hours in only a few minutes using /tick warp
...and then see a detailed breakdown of the items they produce using hopperCounters
See the server mobcap, TPS, etc. update live with /log
Let pistons push block entities (ie. chests) with movableBlockEntities
Fix many things
See the mod showcase on youtube for an explanation of every setting and command
Is it client only?
No dummy, that's why further down the page there is a heading called 'Server administration and carpet.conf file'
Why it is called 'carpet mod' and how it affects carpets?
Cos gnembon initially made it so that you could place down carpets and they would tell you stuff.
How can I learn to use carpet mod?
https://www.youtube.com/watch?v=Lt-ooRGpLz4
How to control fake players for simulating real behaviours
https://www.youtube.com/watch?v=Lt-ooRGpLz4&t=1685s
Carpet configuration and carpet.conf file
Scarpet notes
Learning Scarpet is not trivial, but doesn't have to be difficult. Here are a few pages that you can use to learn how to use it in carpet:

I got this mod by a comment in my other issue #71

carpet can fulfill requirement of many mods

I feel like this will 100% be considered "out of scope"
I am considering making a branch of this modpack that is for technical minecrafters.

ok

but it can be useful for me

That's right, that kind of mod needs learning and goes further away from vanilla, so it wouldn't suit my target audience which is light or first-time modders that just want to make the vanilla game work a bit better.


Add Create Group feature

This add group feature will create group of users so that they can convey their message to members of group on a single text.

Hey I owuld like to work on this feature would you assign this to me #gssoc2024

I would like to Work on this issue i have also created a Same function in my app so i can also work on the same #6

Sir, i want to work on this features, kindly assign this to me. #GSSoc2024

Hello sir, I want to work on this feature, Please assign this issue to me. Also add the level for GSSoc2024. #6

Hello sir,I have an experience of more than year in android development  please check my profile and kindly assign this work to me

@NitinSigilipelli assigned

@Varun-Sethi-Dev assigned

@Varun-Sethi-Dev What's the progress?

@Varun-Sethi-Dev What's the progress?

just need some time my sem exams are starting from today

@Varun-Sethi-Dev
Given your ongoing examinations, I understand the challenge of managing your responsibilities. However, as this issue requires prompt attention and cannot be postponed indefinitely, I am reassigning it to others. Please ensure that it is addressed promptly.

@Varun-Sethi-Dev
Given your ongoing examinations, I understand the challenge of managing your responsibilities. However, as this issue requires prompt attention and cannot be postponed indefinitely, I am reassigning it to others. Please ensure that it is addressed promptly.

I understand the urgency of this feature so you may re assign it to some one else I will work on another Issue asap after exams

@Varun-Sethi-Dev Great

@Ijaiswalshivam
Assign me


Enhancement: Add Interledger Payment Pointer Support in Chimoney GitHub Bot

Description
Currently, the Chimoney GitHub bot allows contributors to be paid directly once their PR is merged via their email. By default, the payment is sent to the contributor's email associated with their Chimoney Payment Profile.
Proposed Enhancement:
We want to expand the functionality of the Chimoney GitHub bot by allowing contributors to be paid via their Interledger payment pointer, which can be retrieved from their Chimoney Payment Profile.
Steps for Implementation:

Modify the Chimoney GitHub bot to:

Retrieve the contributor's Interledger payment pointer from their Chimoney Payment Profile if available.
Allow maintainers to choose whether to pay a contributor via their email (default) or via their Interledger payment pointer.
Add a new command for payment via Interledger, such as /payout 25 ilp to trigger payment via Interledger.
If the contributor has an Interledger payment pointer in their profile, the bot will process the payment using the pointer instead of email.

API Endpoint to Use:

Chimoney API Endpoint: POST /v0.2/accounts/public-profile

Expected Outcome:

Contributors will have the option to receive payments via their Interledger payment pointer.
Maintainers can choose between paying via email or Interledger payment pointer by issuing appropriate commands.

Screenshots
No response
Additional Information
No response
Ready to Work?

[ ] I want to work on this enhancement

@phyleria @adebayoileri i would like to work on this