Warning: setState(...): Cannot update during an existing state transition (such as within render). Render methods should be a pure function of props and

I used react-router, it's setting more complex than redux-router, but all ok.
After I used redux-router, but I see some error in my debug window.
Warning: setState(...): Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and

it should be fix or I use wrong way to do it?

my configureStore.js:
import { createStore, applyMiddleware,combineReducers,compose } from 'redux';
import thunkMiddleware from 'redux-thunk';
// import promiseMiddleware from 'redux-promise-middleware';
import promiseMiddleware from '../middleware/promiseMiddleware'
import loggerMiddleware from 'redux-logger';
import * as reducers from '../reducers';
import { reduxReactRouter, routerStateReducer } from 'redux-router';
import { createHistory } from 'history';

const createStoreWithMiddleware = compose(
  applyMiddleware(thunkMiddleware,promiseMiddleware(),loggerMiddleware),
  reduxReactRouter({
    createHistory
  })

  )(createStore);

const rootReducer = combineReducers({
  router: routerStateReducer,
  ...reducers
});

export default function configureStore(initialState) {
  const store = createStoreWithMiddleware(rootReducer, initialState);

  if (module.hot) {
    // Enable Webpack hot module replacement for reducers
    module.hot.accept('../reducers', () => {
      const nextRootReducer = require('../reducers');
      store.replaceReducer(nextRootReducer);
    });
  }

  return store;
}

my Root:

import "babel-core/polyfill";
import "whatwg-fetch" ;

window.Session = require("utils/session");

import {captureException} from "utils/airbraker";

import ReactDOM from 'react-dom';

import {Component, PropTypes} from 'react';
import {Router, RouteHandler, IndexRoute, Route, Redirect } from "react-router";
import { ReduxRouter } from 'redux-router';

// import { DevTools, DebugPanel, LogMonitor } from 'redux-devtools/lib/react';
import {Provider} from 'react-redux';
import configureStore from './store/configureStore';
const store = configureStore();

import HomePage from "./pages/HomePage";
import CategoryPage from "./pages/CategoryPage";
import StoreListPage from "./pages/StoreListPage";
import SearchPage from "./pages/SearchPage";

export default class Root extends Component {

  render() {
    const processENV = process.env.NODE_ENV || "development"
    return (
      <div>
        <Provider store={store} >
          <ReduxRouter>
            <Redirect from="/" to="/index" />
            <Route path="/index" component={HomePage} />
            <Route path="/categories/:id(/:feature_id)" component={CategoryPage} />
            <Route path="/stores/following" component={StoreListPage} />
            <Route path="/search(/:category)(/:query)" component={SearchPage} />

          </ReduxRouter>
        </Provider>
      </div>
    );
  }
}

$(document).ready(function () {

  if (!Parse.User.current()) {
    //TODO Better handling, maybe redirect to login page.
    document.location = "/";
  } else {

    // captureException(() => {
      ReactDOM.render(
        <Root />,
        document.getElementById('app')
      );
    // })();
  }
});

i guess that i use the same name state in different container(page).
and in switch two page it will print this error?
My HomePage's:
@connect(state => ({
  products: state.model.products,
  channelsFeed: state.model.channelsFeed,
  selfLikedProductsIds: state.model.selfLikedProductsIds,
  featureLists: state.model.featureLists,
  channelsFeatured: state.model.channelsFeatured,

}), dispatch => ({
  homeActions: bindActionCreators({...ModelActions, ...HomeActions
  }, dispatch),

}))

My CategoryPage's:
@connect(state => ({
  categoryProducts: state.model.categoryProducts,
  selfLikedProductsIds: state.model.selfLikedProductsIds,
  categories: state.model.categories,
  channelsFeatured: state.model.channelsFeatured,
  products: state.model.products,
  channelsFeed: state.model.channelsFeed,
  location: state.router.location,
}), dispatch => ({
  categoryActions: bindActionCreators({...ModelActions, ...HomeActions
  }, dispatch),

}))

products, selfLikedProductsIds, channelsFeatured is Repeatd.

ok, I don't know why.
but I do dispatch action in constructor() originally, now I move in componentWillMount(). And the error disappear.
But When i just use react-router , I have no this problem.
(Forgive me that My English is not very well)

Dispatching an action will mutate your current state, which you should not do in the constructor (which is your getInitialState function with es6 classes). Also you should never mutate your state in the render() method, as it is rendering depending on your current state. Mutating the state in anyway will trigger a re-render (a call to the render() function)...you recognize the problem in this.
Maybe invest in some reading time of the react documentation: https://facebook.github.io/react/docs/component-api.html

@Scarysize What about in this case? I'm not sure how to change things around but from referencing other similar projects in github, the implementation is very similar:
https://github.com/tabalt/ReactNativeNews/issues/3

Since this comes up as one of the top results. I am using react-router-redux. I was receiving this error because an I was reacting to an action in the render method and trying to route to another component.
I fixed this by checking for the change in componentWillUpdate instead of render.

You will also get this warning if you try to dispatch from a stateless functional component, for the same reasons as stated above. The warning message itself is a bit inaccurate though, because technically in this case, you're not using a constructor per se.

use useEffect instead of componentWillUpdate  if you  use stateless functional component


FEATURE: Adding support for MAC OS + LLVM compiler

This PR adds support for building and running GVSoC on Mac OS using the native LLVM/CLANG compiler toolchain.

The indentation is all messed-up can you rearrange it ?

Is there some formatting guide / clang format config GVSoC follows? This would make matching it easier.

No worries, I will take care of it and let you know.
It might make sense to add a formating / linting configuration in the future, though.

Yes sure !

I've manually integrated your changes, let me know if there is any issue


UI Mask in Scroll View not working with 16-bit depth format

Describe the bug
After following the recommended settings for Unity, and changing the Depth format to 16-bit shows irregularities while using the scroll view. Items seem to overflow beyond the viewport. But after changing to 24-bit, it works fine. Reproducible only on HL2 device (not on the editor)
To reproduce
Steps to reproduce the behavior:

Open the
Open XR settings in Player settings, set Depth format to 16-bit depth
Have Enable Depth Buffer Sharing. Stereo Rendering mode can be Single-pass instancing or multi-pass. Shouldn't matter (I think)
Build for HL2 and see the scroll view overflow.

Expected behavior
With the recommended settings, scroll view shouldn't overflow (UI Mask working fine)
Your Setup (please complete the following information)

Unity Version [e.g. 2018.4.5f1]
MRTK Version [e.g. v2.1]

Target Platform (please complete the following information)

HoloLens 2

Occurs on Hololens 1 aswell

@pampas93 use Rect 2D Mask component instead of Mask

AFAICT this has been an issue in UnityUI since 2016:
https://forum.unity.com/threads/ui-mask-failing-on-hololens-works-on-preview-fine.424998/
https://forums.hololens.com/discussion/1167/ui-mask-not-working-on-hololens
Though also AFAICT it seems like general stencil buffer support doesn't seem to be working as expected, which is what the Mask component uses to accomplish the culling effect:
https://forum.unity.com/threads/stencil-buffer-not-working.439158/
At this point it might just be worth Rect 2D Mask given the amount of time the underlying thing has been broken.

Alrighty, thanks to the sluething that @Troy-Ferrell did, it looks like the fact that stencil buffers don't work on 16 bit is by design:
https://docs.unity3d.com/ScriptReference/RenderTexture-depth.html
Maybe we should downgrade/caveat our recommendations here to warn against these sorts of things... I think there are other things in the MRTK that also depend on stencil buffers being usable.

Closing as dupe of 5970


Can't run on visionOS simulator

Doing fetchDependencies and make with visionossim is producing a MoltenVK.xcframework with only xros-arm64 and does not include the simulator one, almost as if it's doing the same as selecting visionos.
If you create a blank visionOS app in xcode and add the MoltenVK.xcframework in the framework section, you are able to build for (Any visionOS device (arm64)) but you can't build for the simulator.
It says:
~/Documents/MoltenVK/Package/Release/MoltenVK/MoltenVK.xcframework:1:1: While building for visionOS Simulator, no library for this platform was found in '~/Documents/MoltenVK/Package/Release/MoltenVK/MoltenVK.xcframework'.
System Info:
m1 mac
Ventura 13.4.1
Xcode Version 15.0 beta 3
cmake version 3.27.20230720-g388c980

@ericbyoui Thanks for all the debugging effort. I'll have a look soon. But if you have it sorted out already, feel free to submit a PR here.
I'm not clear on why your -ld64 flag would help. Do you understand why what fix works?

@billhollings I found that -ld64 trick from this post: https://developer.apple.com/forums/thread/734321
Which lets me build and run now, but it crashes when I reach vkCreateInstance with this error:
-[MTLSimDevice minimumTextureBufferAlignmentForPixelFormat:], line 2,154: error 'MTLPixelFormatInvalid is not supported on this device.'
-[MTLSimDevice minimumTextureBufferAlignmentForPixelFormat:]:2154: failed assertion `MTLPixelFormatInvalid is not supported on this device.'

Looks like a similar issue that someone else ran into when iOS simulator was not working: https://github.com/KhronosGroup/MoltenVK/issues/726#issuecomment-614624369
I wonder if the answer is in the pr you wrote a while back here: https://github.com/KhronosGroup/MoltenVK/pull/935
I tried messing around with this file and adding visionos, it was a bit tricky and I was not sure exactly what to do since some code is obsolete now for visionos, but it did not help with something rough. https://github.com/KhronosGroup/MoltenVK/blob/main/MoltenVK/MoltenVK/GPUObjects/MVKPixelFormats.mm
I attached a sample project to reproduce the issue. You just have to do fetchdependencies and make for visionossim in MVK_visionos_test/MoltenVKcopy
Then add the framework I attached in the xcode project or copy the info.plist and folder structure from my framework to the one you generated.
MoltenVK.xcframework.zip
MVK_visionos_test.zip

@ifiddynine Any ideas? Where you able to run on visionOS simulator?

Sorry for the delay! Yup we have it running since the last PR I submitted (thanks for merging that by the way @billhollings)
Haven't synced latest as I've been working on switching to direct Metal, but my first guess is that it's related to this: https://github.com/KhronosGroup/MoltenVK/blob/main/MoltenVK/MoltenVK/GPUObjects/MVKDevice.h#L1085
Try adding something along the lines of:
#elif MVK_VISIONOS
#define MTLFeatureSet_iOS_GPUFamily1_v1         MTLGPUFamilyApple1
#define MTLFeatureSet_iOS_GPUFamily1_v2         MTLGPUFamilyApple1
#define MTLFeatureSet_iOS_GPUFamily1_v3         MTLGPUFamilyApple1
#define MTLFeatureSet_iOS_GPUFamily1_v4         MTLGPUFamilyApple1
#define MTLFeatureSet_iOS_GPUFamily1_v5         MTLGPUFamilyApple1

#define MTLFeatureSet_iOS_GPUFamily2_v1         MTLGPUFamilyApple2
#define MTLFeatureSet_iOS_GPUFamily2_v2         MTLGPUFamilyApple2
#define MTLFeatureSet_iOS_GPUFamily2_v3         MTLGPUFamilyApple2
#define MTLFeatureSet_iOS_GPUFamily2_v4         MTLGPUFamilyApple2
#define MTLFeatureSet_iOS_GPUFamily2_v5         MTLGPUFamilyApple2

#define MTLFeatureSet_iOS_GPUFamily3_v1         MTLGPUFamilyApple3
#define MTLFeatureSet_iOS_GPUFamily3_v2         MTLGPUFamilyApple3
#define MTLFeatureSet_iOS_GPUFamily3_v3         MTLGPUFamilyApple3
#define MTLFeatureSet_iOS_GPUFamily3_v4         MTLGPUFamilyApple3

#define MTLFeatureSet_iOS_GPUFamily4_v1         MTLGPUFamilyApple4
#define MTLFeatureSet_iOS_GPUFamily4_v2         MTLGPUFamilyApple4

#define MTLFeatureSet_iOS_GPUFamily5_v1         MTLGPUFamilyApple5

Must be that the format you're using isn't detected, so if feature set detection is going wrong that could easily be it.

Hi @ifiddynine, I just tried what you posted, but I'm getting the same error. I also tried it on this specific commit 4540175a7dd187ba1d52836d584f0bd57ff05b39 but no luck.

Hi @ifiddynine, I just tried what you posted, but I'm getting the same error. I also tried it on this specific commit 4540175 but no luck.

please check your xcode version and its visionxr sdk,  platform related marcros are different (Xcode 15 beta 8 TARGET_IOS 1 Xcode 15.1 beta has TARGET_IOS 0, wtf), which leads to different moltenvk compile result.

Any update on solving this issue?

I made a fork which enables shader compilation on VisionOS simulator : https://github.com/HyperCed/MoltenVK/

I made a fork which enables shader compilation on VisionOS simulator : https://github.com/HyperCed/MoltenVK/

Thanks a bunch for this! Was really confused when trying to compile shaders on why my MSL version was 0.0!


Add single order to the cart and modify cart

will be reopened under a new branch name

will be reopened under a new name


Drive demo navigation with iOS 16 navigation API

Could be better than current approach (e.g. manual modal presentation).
We also currently have the following issues:
Issue 1

Play some content from any list.
Close the player with a down swipe and quickly go back with an horizontal swipe. On iOS the UI stays frozen forever, on iPadOS it can be unfrozen with a rotation.

Issue 2

Move some media cell close to the screen edges.
Play some content.
Rotate the screen several times. The player might be automatically dismissed since the cell bearing the modal state moved out of sight.

Issue 3

Open empty playlist demo.
Add a media.
Attempt to use the full screen button. Taps do not work.

Just rotating the device or starting dismissal (but cancelling it) fixes the issue.

I implemented the whole demo with the new navigation API. This does not fix issues 1 and 3 listed above which pinpoints at other SwiftUI bugs. Issue 2 is fixed.

Issue 3 has been fixed by recent changes, I suppose with navigation improvements.


Allow the URL to be customised

It would be useful if the controller URL could be customised so it doesn't have to always be .../monpad

This is a reasonable thing to request. Unfortunately the server library I'm using very much assumes that routes are static. But it can be worked around: https://github.com/haskell-servant/servant/issues/634#issuecomment-271146431.
OTOH, there's really not much reason to have a prefix at all. i.e. we could just strip the /monpad out of the URL entirely. We'd have to add a prefix for the websocket connection but that seems preferable since the user never sees it.

OTOH, there's really not much reason to have a prefix at all. i.e. we could just strip the /monpad out of the URL entirely. We'd have to add a prefix for the websocket connection but that seems preferable since the user never sees it.

https://github.com/georgefst/monpad/tree/unprefix

I don't think there's any particularly good reason why I put everything behind a "monpad" route. My knowledge of web programming when this project started two years ago was very weak. I think maybe I thought multiple services could easily be run on the same port if the URLs didn't overlap.

OTOH, there's really not much reason to have a prefix at all

Removed in https://github.com/georgefst/monpad/commit/db6ecc2486b61861afbc5045cb0a453a2cdaa5a6


[BUG-adminverrrb] 'Error: npm ERR! node-pre-gyp ERR! not ok' AND 'Error: Cannot find module 'dotenv''

Is there an existing issue for this?

[X] I have searched for any related issues and avoided creating a duplicate issue.

Have you read our code of conduct?

[x] I have read and agree to the code of conduct

Current Behavior

Throwing attached error 1 when installing npm
Throwing attached error 2 when running app.js with node.

Can you please help me here, I am trying to figure out what I am not getting right.
Expected Behavior
Work through like it's shown in the demo here. It's also missing the overall node.js folder on my end compared to the video https://www.youtube.com/watch?v=q3SBz_eqOq0&list=PLWlXaxtQ7fUb0B4uNTKirvrQ0JOTCBFae&index=8
Steps To Reproduce

running node v16.13.1
using visual code studio
have sqlite3 install globally
have dotenv installed globally and within folder
I am not really technically adept so not sure what else may help you here.

Environment
- OS: Windows 10 build 19043.1348
- Language version: Node v16.13.1

Anything else?
Error 1
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm ERR! code 1
npm ERR! path C:\apps\tasks-app\node_modules\sqlite3
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build
npm ERR! Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
npm ERR!   unpack_sqlite_dep
npm ERR!   Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
npm ERR! C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(209,5): error MSB6006: "cmd.exe" exited with code 9009. [C:\apps\tasks-app\node_modules\sqlite3\build\deps\action_before_build.vcxproj]
npm ERR! Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=C:\apps\tasks-app\node_modules\sqlite3\lib\binding\node-v93-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\apps\tasks-app\node_modules\sqlite3\lib\binding\node-v93-win32-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1)
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using<EMAIL_ADDRESS>npm ERR! node-pre-gyp info using<EMAIL_ADDRESS>| win32 | x64
npm ERR! node-pre-gyp WARN Using needle for node-pre-gyp https download
npm ERR! node-pre-gyp info check checked for "C:\apps\tasks-app\node_modules\sqlite3\lib\binding\node-v93-win32-x64\node_sqlite3.node" (not found)
npm ERR! node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v93-win32-x64.tar.gz
npm ERR! node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v93-win32-x64.tar.gz
npm ERR! node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v93-win32-x64.tar.gz
npm ERR! node-pre-gyp WARN Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v93 ABI, unknown) (falling back to source compile with node-gyp)
npm ERR! node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v93-win32-x64.tar.gz
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using<EMAIL_ADDRESS>npm ERR! gyp info using<EMAIL_ADDRESS>| win32 | x64
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using<EMAIL_ADDRESS>npm ERR! gyp info using<EMAIL_ADDRESS>| win32 | x64
npm ERR! gyp info find Python using Python version 3.10.0 found at "C:\Python310\python.exe"
npm ERR! gyp info find VS using VS2017 (15.9.28307.1745) found at:
npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! gyp info spawn C:\Python310\python.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   'C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'msvs',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   'C:\\apps\\tasks-app\\node_modules\\sqlite3\\build\\config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   'C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   'C:\\Users\\Fox\\AppData\\Local\\node-gyp\\Cache\\16.13.1\\include\\node\\common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=C:\\Users\\Fox\\AppData\\Local\\node-gyp\\Cache\\16.13.1',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=C:\\\\Users\\\\Fox\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\16.13.1\\\\<(target_arch)\\\\node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=C:\\apps\\tasks-app\\node_modules\\sqlite3',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'C:\\apps\\tasks-app\\node_modules\\sqlite3\\build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using<EMAIL_ADDRESS>npm ERR! gyp info using<EMAIL_ADDRESS>| win32 | x64
npm ERR! gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   'build/binding.sln',
npm ERR! gyp info spawn args   '/clp:Verbosity=minimal',
npm ERR! gyp info spawn args   '/nologo',
npm ERR! gyp info spawn args   '/p:Configuration=Release;Platform=x64'
npm ERR! gyp info spawn args ]
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
npm ERR! gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System Windows_NT 10.0.19043
npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "build" "--fallback-to-build" "--module=C:\\apps\\tasks-app\\node_modules\\sqlite3\\lib\\binding\\node-v93-win32-x64\\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=C:\\apps\\tasks-app\\node_modules\\sqlite3\\lib\\binding\\node-v93-win32-x64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v93"
npm ERR! gyp ERR! cwd C:\apps\tasks-app\node_modules\sqlite3
npm ERR! gyp ERR! node -v v16.13.1
npm ERR! gyp ERR! node-gyp -v v8.3.0
npm ERR! gyp ERR! not ok
npm ERR! node-pre-gyp ERR! build error
npm ERR! node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=C:\apps\tasks-app\node_modules\sqlite3\lib\binding\node-v93-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\apps\tasks-app\node_modules\sqlite3\lib\binding\node-v93-win32-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (C:\apps\tasks-app\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
npm ERR! node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1064:16)
npm ERR! node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.19043
npm ERR! node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\apps\\tasks-app\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd C:\apps\tasks-app\node_modules\sqlite3
npm ERR! node-pre-gyp ERR! node -v v16.13.1
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.11.0
npm ERR! node-pre-gyp ERR! not ok

npm ERR!      C:\Users\Fox\AppData\Local\npm-cache\_logs\2021-12-01T18_45_13_382Z-debug.log

Error 2
PS C:\apps\tasks-app> node app.js
node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module 'dotenv'
Require stack:
- C:\apps\tasks-app\app.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (C:\apps\tasks-app\app.js:1:1)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ 'C:\\apps\\tasks-app\\app.js' ]

Hmm, that's not right. We'll look into it.

Thanks, appreciate it :)

Well error 2 is expected as a consequence of error 1, but let me spend some time figuring out why error 1 is happening.

Thanks for the clarity there, I assume that's because we are building the node app right before error 1 is printed. Would that be correct? I hope my notifications are not inconvenient, just trying to figure out some of these things the first time.

Error one happens after you run npm install right? It looks like there's an issue with building the dependencies.
I don't have a windows machine to debug right now, but some google-fu leads me to this

Yes, error 1 happens after running npm install and that's one of the link I searched up, but just wasn't sure that would be the right one. Let me try following this and get back to you, if that's not a problem.

@Verrrb I am using Windows so @colmdoyle asked me to take a look. By no means an expert here, but I had similar errors and eventually got things working. Can you try the following?

Install Python 3.9.x

node-gyp wants one of: v3.6, v3.7, v3.8, or v3.9. (ref).
I happen to be using 3.9.5 on my machine.

Install the Visual C++ build tools workload using the Visual Studio Installer. Within the installer, the version I installed is within the Workloads tab and is actually labelled Desktop development with C++.

There are several optional components selected by default. I left this as is since we likely need MSVC v142 - VS 2019 ... to be installed.
A computer restart will be required once the install has completed.

In cmd or Windows Terminal, run npm config set msvs_version 2019.

The node-gyp installation instructions suggest differently, but the 2017 version (which is in the optional section of the VS Installer) did not work for me.

npm install in your tasks-app working directory to see if it completes without error.

@Verrrb I am using Windows so @colmdoyle asked me to take a look. By no means an expert here, but I had similar errors and eventually got things working. Can you try the following?

Install Python 3.9.x

node-gyp wants one of: v3.6, v3.7, v3.8, or v3.9. (ref).
I happen to be using 3.9.5 on my machine.

Install the Visual C++ build tools workload using the Visual Studio Installer. Within the installer, the version I installed is within the Workloads tab and is actually labelled Desktop development with C++.

There are several optional components selected by default. I left this as is since we likely need MSVC v142 - VS 2019 ... to be installed.
A computer restart will be required once the install has completed.

In cmd or Windows Terminal, run npm config set msvs_version 2019.

The node-gyp installation instructions suggest differently, but the 2017 version (which is in the optional section of the VS Installer) did not work for me.

npm install in your tasks-app working directory to see if it completes without error.

Apologies I was away for the weekend will be looking at this today. Thanks for sharing this, will update the thread accordingly.

I'm seeing this same error on a Mac. Running Monterey 12.6, still on an Intel processor. Tried several versions of Node, since I see that's an issue for lots of people. I've tried the suggestions that are relevant to Mac here (mostly making sure that Python is updated, but also tried npm install --build-from-resource and other suggestions I've found on various StackOverflow conversations), but still no luck. Here's my stack trace. Anyone have any suggestions?
Also, I did try following their warning about node-pre-gyp being deprecated, but still get it even after I've made sure to uninstall that everywhere.
➜  node-tasks-app git:(main) ✗ npm install
npm WARN deprecated<EMAIL_ADDRESS>Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm ERR! code 1
npm ERR! path /Users/prestonwinstead/Development/Websites/node-tasks-app/node_modules/sqlite3
npm ERR! command failed
npm ERR! command sh -c node-pre-gyp install --fallback-to-build
npm ERR! ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c
npm ERR! Failed to execute '/Users/prestonwinstead/.nvm/versions/node/v14.15.4/bin/node /Users/prestonwinstead/.nvm/versions/node/v14.15.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/prestonwinstead/Development/Websites/node-tasks-app/node_modules/sqlite3/lib/binding/node-v83-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/prestonwinstead/Development/Websites/node-tasks-app/node_modules/sqlite3/lib/binding/node-v83-darwin-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using<EMAIL_ADDRESS>npm ERR! node-pre-gyp info using<EMAIL_ADDRESS>| darwin | x64
npm ERR! node-pre-gyp WARN Using needle for node-pre-gyp https download
npm ERR! node-pre-gyp info check checked for "/Users/prestonwinstead/Development/Websites/node-tasks-app/node_modules/sqlite3/lib/binding/node-v83-darwin-x64/node_sqlite3.node" (not found)
npm ERR! node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v83-darwin-x64.tar.gz
npm ERR! node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v83-darwin-x64.tar.gz
npm ERR! node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v83-darwin-x64.tar.gz
npm ERR! node-pre-gyp WARN Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v83 ABI, unknown) (falling back to source compile with node-gyp)
npm ERR! node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v83-darwin-x64.tar.gz
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using<EMAIL_ADDRESS>npm ERR! gyp info using<EMAIL_ADDRESS>| darwin | x64
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using<EMAIL_ADDRESS>npm ERR! gyp info using<EMAIL_ADDRESS>| darwin | x64
npm ERR! gyp info find Python using Python version 3.10.8 found at<EMAIL_ADDRESS>npm ERR! gyp info spawn<EMAIL_ADDRESS>npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/Users/prestonwinstead/.nvm/versions/node/v14.15.4/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/prestonwinstead/Development/Websites/node-tasks-app/node_modules/sqlite3/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/prestonwinstead/.nvm/versions/node/v14.15.4/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/prestonwinstead/Library/Caches/node-gyp/14.15.4/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/Users/prestonwinstead/Library/Caches/node-gyp/14.15.4',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/Users/prestonwinstead/.nvm/versions/node/v14.15.4/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/Users/prestonwinstead/Library/Caches/node-gyp/14.15.4/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/Users/prestonwinstead/Development/Websites/node-tasks-app/node_modules/sqlite3',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
npm ERR!
npm ERR! No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.
npm ERR!
npm ERR! No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
npm ERR!
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using<EMAIL_ADDRESS>npm ERR! gyp info using<EMAIL_ADDRESS>| darwin | x64
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! /bin/sh: python: command not found
npm ERR! make: *** [Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c] Error 127
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/Users/prestonwinstead/.nvm/versions/node/v14.15.4/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
npm ERR! gyp ERR! System Darwin 21.6.0
npm ERR! gyp ERR! command "/Users/prestonwinstead/.nvm/versions/node/v14.15.4/bin/node" "/Users/prestonwinstead/.nvm/versions/node/v14.15.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/prestonwinstead/Development/Websites/node-tasks-app/node_modules/sqlite3/lib/binding/node-v83-darwin-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/Users/prestonwinstead/Development/Websites/node-tasks-app/node_modules/sqlite3/lib/binding/node-v83-darwin-x64" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83"
npm ERR! gyp ERR! cwd /Users/prestonwinstead/Development/Websites/node-tasks-app/node_modules/sqlite3
npm ERR! gyp ERR! node -v v14.15.4
npm ERR! gyp ERR! node-gyp -v v9.0.0
npm ERR! gyp ERR! not ok
npm ERR! node-pre-gyp ERR! build error
npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/Users/prestonwinstead/.nvm/versions/node/v14.15.4/bin/node /Users/prestonwinstead/.nvm/versions/node/v14.15.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/prestonwinstead/Development/Websites/node-tasks-app/node_modules/sqlite3/lib/binding/node-v83-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/prestonwinstead/Development/Websites/node-tasks-app/node_modules/sqlite3/lib/binding/node-v83-darwin-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/prestonwinstead/Development/Websites/node-tasks-app/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
npm ERR! node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1048:16)
npm ERR! node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
npm ERR! node-pre-gyp ERR! System Darwin 21.6.0
npm ERR! node-pre-gyp ERR! command "/Users/prestonwinstead/.nvm/versions/node/v14.15.4/bin/node" "/Users/prestonwinstead/Development/Websites/node-tasks-app/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd /Users/prestonwinstead/Development/Websites/node-tasks-app/node_modules/sqlite3
npm ERR! node-pre-gyp ERR! node -v v14.15.4
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.11.0
npm ERR! node-pre-gyp ERR! not ok

npm ERR!      /Users/prestonwinstead/.npm/_logs/2022-11-11T14_29_25_896Z-debug-0.log

9 minutes later, commenting to say that I figured it out. I updated all of the dependencies in the package.json to the latest versions, and it built without an issue.

Thanks @PrestonWinstead , had the same issue. Updated package.json and it compiles. However, when I try to create a new task I get the following errors

Again confirmed on Windows i ran npx npm-check-updates -u before npm install and then once i ran npm install this problem was resolved.


add support for agg dsl in search and returning aggs in results

https://www.pivotaltracker.com/story/show/111445274

@brupm @jeyb @divoxx

:100:

:+1:

:+1:

QA won't directly test this ticket so should I leave this open until https://github.com/doximity/doximity/pull/12859 is tested or merge now? I don't see tire being used in DocNav, Finder, or CC but Doximity just goes off master branch so as soon as I merge all future deploys will get this code which should be fine since the change is backwards compatible

Keep it open until the Doximity PR is above to me merged. Then merge and point to latest master in Doximity PR.

Verified in QA. Ready to deploy.


Stable-Zero123

How about converting Stable-Zero123 into a diffusers pipeline?

https://github.com/threestudio-project/threestudio/tree/main/extern/ldm_zero123

Hi, it looks exactly the same as the original zero123. Please correct me if this is another paper/work.

It looks basically the same, except that the training data is replaced and the relative distance of the original zero123 is replaced by the elevation of the input image. I think it would be better if there is a huggingface repo like (kxic/zero123-xl)[https://huggingface.co/kxic/zero123-xl].

Hi @huanngzh
The Stable-zero123 inference is now supported. Run test_zero1to3 with model_id kxic/stable-zero123 should work!


Display text reference range in DiagnosticReportDisplay

https://app.asana.com/0/1201910659736001/1203101977395606/f

Coverage increased (+0.002%) to 94.279% when pulling 8ad9530047c71248a433a8281c4d249eceb27658 on cody-text-reference-range into 015e0c002364296de6e1d1fb3288d1e9f1942d37 on main.


Adding christopherhein to virtualcluster OWNERS/reviewers

As discussed with @Fei-Guo today this PR add @christopherhein to the reviewers for virtualcluster.
Signed-off-by: Chris Hein<EMAIL_ADDRESS>

/assign @Fei-Guo

According to the convention, let us sort the name in alphabetical order.

@Fei-Guo Updated with alphabetical order.

/lgtm
/approve


Update annotations doc

What this PR does / why we need it:
We had a stumbling block where plugins were not being added to routes if
we tried to reference the same KongPlugin k8s resource in more than
one service/ ingress annotation. Also fixed a few typos I noticed when debugging this problem.

@PepperTeasdale thank you!


Pinch scrolling on laptop touchpad doesn't work

Pinch scrolling on a laptop touchpad is broken. If I try to zoom in, it just does the default behavior and zooms in the entire screen instead of only scrolling in the canvas.
Zooming out works, but it moves really slowly.

Can confirm it's fixed on my laptop.

Still seems quite a bit slower (like 1.5x or 2x slower)


Add delete for object_set_dict

First attempt at contributing to this project and rust!

https://github.com/RustPython/RustPython/issues/5355

Thank you for contributing! Could you check failing tests?


[Docs] Links don't use href attribute

Current Behavior
Looking at e.g. this doc page, you can see that the "Read the guide" link does not contain a href attribute. This makes it impossible to e.g. cmd+click to open the page in another tab.

This seems to be true for most (if not all) links that are created using mdx in the docs.
Expected Behavior
links should contain a href attribute
Tamagui Version
current docs

Platform (Web, iOS, Android)
web

Reproduction
Visit this page: https://tamagui.dev/docs/intro/themes

System Info
No response

thanks for reporting! that's an issue with mdx-bundler that we internally use. I submitted an issue there

When evaluating tamagui vs other libraries this is something I noticed. Took a quick look and couldn't pinpoint where the issue was.

yeah that's a Doc issue and won't impact users of Tamagui library

Found it! nextlink was stripping it out: https://github.com/tamagui/tamagui/pull/2544
And yep definitely understand it's a doc issue, just noting that as a dev it jumps out at me when the rest of the site is so polished :)


Can I use a public url instead of a local file?

I would like to use the API with curl.
Any chance to provide a public url for the audio file instead of a local file?
Thanks
Christian

This functionality isn't supported.
I see the appeal in this functionality from an ease of use perspective, but there are two problems I see with implementing it

Not a security expert, but this seems like it would open up room for some vulnerabilities.
A lot of websites, YouTube in particular, actively prevent you from simple downloading the videos, meaning this feature won't work for a number of websites.


edge: fix setRemoteDescription exception

fixes #510

lgtm

if you could make a patch release just from this that would be great!

Ok. Thanks for adding tests.


Replace In All Files Broken with Latest Update

Type: Bug

Modify a few files in a git repo.
Perform a word replacement operation on several other files in the repo (search tab, replace all for all files).
Look at the diff. I am consistently seeing that the files where the replacement should have occurred have instead replaced their entire file contents with one of the files changed in step 1!

My current workaround is to replace all words on a file-by-file basis, versus once globally.
VS Code version: Code 1.82.0 (8b617bd08fd9e3fc94d14adb8d358b56e3f72314, 2023-09-06T22:07:18.759Z)
OS version: Linux x64 6.2.0-26-generic
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (8 x 3699)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
3, 2, 1

Memory (System)
46.92GB (34.96GB free)

Process Argv
--unity-launch --crash-reporter-id feae7441-fc01-4dd5-8b1b-68b429fe2b90

Screen Reader
no

VM
0%

DESKTOP_SESSION
cinnamon

XDG_CURRENT_DESKTOP
X-Cinnamon

XDG_SESSION_DESKTOP
cinnamon

XDG_SESSION_TYPE
x11

Extensions (36)

Extension
Author (truncated)
Version

vscode-diff-viewer
cap
1.4.1

gitlens
eam
14.3.0

shell-format
fox
7.2.5

gitlab-workflow
Git
3.76.1

vscode-graphviz
joa
0.0.6

language-matlab
Mat
1.1.2

git-graph
mhu
1.30.0

vscode-docker
ms-
1.26.0

isort
ms-
2023.10.1

python
ms-
2023.16.0

vscode-pylance
ms-
2023.9.10

jupyter
ms-
2023.8.1002501831

jupyter-keymap
ms-
1.1.2

jupyter-renderers
ms-
1.0.17

vscode-jupyter-cell-tags
ms-
0.1.8

vscode-jupyter-slideshow
ms-
0.1.5

remote-containers
ms-
0.309.0

remote-ssh
ms-
0.106.1

remote-ssh-edit
ms-
0.86.0

remote-wsl
ms-
0.81.2

vscode-remote-extensionpack
ms-
0.24.0

cmake-tools
ms-
1.15.31

cpptools
ms-
1.17.5

cpptools-extension-pack
ms-
1.3.0

live-server
ms-
0.4.9

notepadplusplus-keybindings
ms-
1.0.7

remote-explorer
ms-
0.4.1

remote-server
ms-
1.4.3

vscode-yaml
red
1.14.0

markdown-preview-enhanced
shd
0.7.3

code-spell-checker
str
3.0.0

shellcheck
tim
0.34.0

graphviz-interactive-preview
tin
0.3.5

pdf
tom
1.2.2

cmake
twx
0.0.17

markdown-all-in-one
yzh
3.5.1

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
vsccc:30803844
282f8724:30602487
f6dab269:30613381
2i9eh265:30646982
showlangstatbar:30737416
a2ce3375:30757347
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30805730
pythonnoceb:30805159
dsvsc013:30795093
dsvsc014:30804076
diffeditorv1:30821571
dsvsc015:30829745

I'm not sure if I understand your steps. Can you provide a screen recording?

I am experiencing something similar.. Find and Replace for multiple files is not working. It appears to make the changes after confirming replacement, but if I search for the same text, it will appear again as if nothing was executed.. No error messages received or anything.

are you using this button to replace all?

Are you using this button to replace all? Or are you highlighting multiple files and replacing?

I am using the icon you described.

I just noticed that if the file that needs the change is open in the editor, it does replace the text. All other files are not modified. Am I missing a setting?

That's very strange. This is what I get:
https://github.com/microsoft/vscode/assets/31675041/2e937717-f928-4dae-817a-47c797e79997
(I was only sharing one window, so the dialog that asked me to confirm the replacements was not visible in the screen recording).
Do you have any search settings that are non-default?

https://github.com/microsoft/vscode/assets/6599967/4e7e4329-3fef-46ef-a57e-d8924137376a

Hmm I also see weird behavior when the filesToInclude is populated. Questions:

If you give it like ~15 seconds after it looks done, are the matches still there?
what type of files are you replacing?
how many files are you replacing?

Hmm I also see weird behavior when the filesToInclude is populated. Questions:
1. If you give it like ~15 seconds after it looks done, are the matches still there?

I just tried and after 2 minutes, all the same, no changes.

2. what type of files are you replacing?

php files if that is what you mean.

3. how many files are you replacing?

I tried even with less than five and more than 40 and all the same.

Hmm, mine at least eventually resolve. Although this probably won't fix it, what happens when you disable all extensions?

Hmm, mine at least eventually resolve. Although this probably won't fix it, what happens when you disable all extensions?

Bingo!
SFTP v1.16.3 Natizyskunk natan-fourie.fr
Is the culprit.. Very bad news, that extension is all for my workflow!

I went back to try and reproduce this problem, and have not been able to yet.
I appreciate the tip about extensions potentially being the culprit,
and if I experience the problem again,
I will try to capture additional detail and experiment with enabling and disabling extensions.

In my case, the Replace All would very often write one file's contents into another of the replaced files, rendering the feature dangerous and unusable. But disabling the Prettier extension seems to fix it! (too bad, though, I rely on it heavily)

Hmm... I'm thinking that something might have changed with the sync/async nature of searching. I'll try to look into this.

In my case, the Replace All would very often write one file's contents into another of the replaced files, rendering the feature dangerous and unusable. But disabling the Prettier extension seems to fix it! (too bad, though, I rely on it heavily)
prettier/prettier-vscode#3040

I was just looking into the issue that you linked in your comment and it seems that this has been an issue since June. Has anything changed since the August release of vscode?

I seem to remember having the problem earlier in the summer too, and have not noticed any difference about it since that release

I seem to remember having the problem earlier in the summer too, and have not noticed any difference about it since that release

Do you know if it was from a new vscode release or a new prettier extension release?

Hmm, mine at least eventually resolve. Although this probably won't fix it, what happens when you disable all extensions?

Bingo!
SFTP v1.16.3 Natizyskunk natan-fourie.fr
Is the culprit.. Very bad news, that extension is all for my workflow! Thank you!!!

@cacsa For this, does this extension work with the previous version of VS Code? And if so, is it just that replace all doesn't work?

Hmm, mine at least eventually resolve. Although this probably won't fix it, what happens when you disable all extensions?

Bingo!
SFTP v1.16.3 Natizyskunk natan-fourie.fr
Is the culprit.. Very bad news, that extension is all for my workflow! Thank you!!!

@cacsa For this, does this extension work with the previous version of VS Code? And if so, is it just that replace all doesn't work?

I had to use a similar extension from somebody else. I tried previous versions and it did not work. I honestly forgot what I ended up doing but it was not just the other extension that fixed it. Sorry.

https://github.com/microsoft/vscode/issues/195072 (closed duplicate of this) contains a stable repro which even works in codespaces on github:

Open https://github.com/CraigMacomber/FluidFramework/blob/75cb7b8487b576d286e70001968a8daaabcedbb5/experimental/dds/tree2/.vscode/Tree.code-workspace
Ensure format on safe is enabled and prettier is installed.
The find and replace "toDocumentSchema" with "toSchema" across all files.
Observe how some of the changes mangle entire files instead of just replacing the specified strings.

The issue is related to format on save being invoked many times applying formatting (via prettier, but possibly not specific to prettier) which can be triggered by a large find and replace that causes formatting to need to be adjusted.
Workarounds (all of these work by themselves):

Disable prettier.
Disable format on save.
Only update one file at a time.

Since this is caused by prettier, I'm going to close this issue for now. Should track this issue in prettier's issue tracker.

This issue in the prettier repo seems to be tracking the same issue: https://github.com/prettier/prettier-vscode/issues/3040


move removeCharacteristics(); to public

the map of Services and Characterisics keep (once filled) i.e. for the sensor TAG more than 10k of data.
To allow the user to cleanup this if the data is not needed anymore please move removeCharacteristics(); to public in class.
and add
m_haveCharacteristics = false;
in BLERemoteService::removeCharacteristics();

I think we need to contemplate not just this memory utilization but the whole notion of BLEClient re-use.  Some initial considerations:

Re-using a BLE Client to connect to a different BLE Server?
Disconnecting a BLE Client and then re-connecting to the same BLE Server.
Ability to "free up" resources from a BLE Client when we will never use it again.
Choosing to keep resources associated with a BLE Client when it has only transiently disconnected from the BLE Server.

It's a mutitasking system. It's a better implementation to keep big memory blocks only as long as they needed - not the full time, and only released one line before they reused in the next call.  The creates a continuous need of memory, blocking other tasks - i.e. the Webserver.

// we start with Mem:125 kbyte of free mem
BLEDevice::init(""); // -35kbyte
BLEClient* pMyClient = BLEDevice::createClient(); // - 0,5k
// Mem: 89140 (before connect)
pMyClient->connect(address); // -4,5k
BLERemoteService* pMyRemoteService = pClient->getService(serviceUUID); // -11k
// what happens here?
//pseudo code
loop over services (for auto over m_servicesMap)
{
read service data
loop over characteristics (for auto over m_characteristicsMAP)
{
//read description
//read handle
//read properties
//read valume
}//end characteristic
//deal with the results
//i.e send it to a Server, deliver it to a client - often preparared as mqtt, json, JS, html, ...
//each small part of  RAM is needed here, but we keep the never used Ch data, its 2K (depents on Ch size)
}//end service
disconnect // +9.7kbyte hippeyy
// Mem: 64688 (after disconnect) + 13239 in json = 77927 (89140 at start -> 11k unknown Ram )
in my example the json, containing the resulting tree strucure of the device, is additional 13,2 kbyte
connect to wifi -39kbyte
start webserver - 0.6kbyte
It's a multitasking system, the memory values are only a hint what happens.
At the end the rest of memory is 25.2 Kbyte (started with 125k, walk throug BLE, start Websrver) (but that is NOT the theme of this issue)
The BLE object can't know if the data are needed anymore, but the app engineer knows it. So I'm happy to be able to clear the Characteristics mem with removeCharacteristics().
Peter

What if we provide an optional  parameter to disconnect().  For example:
BLEClient::disconnect(bool clean=false)
By default, this will do nothing new ... however if we call disconnect(true) then all the resources consumed/used during the connect() -> disconnect() period will be released.  It will then be invalid to use any pointers to BLEService, BLECharacteristic or BLEDescriptor that might have been saved by the programmer?

Closing for just now.  Re-open as needed.


remove priority parameter from statusbar typing

Relates to onivim/oni#1114, removes priority from being explicitly passed in, inline with an API change to use config going forward

@bryphe seems this PR might also need to include to passing in the config object or option her perhaps instead as from within the component where createItem is defined I do not have access to the configuration I believe, any thoughts?

The PR looks good to me!

@bryphe seems this PR might also need to include to passing in the config object or option her perhaps instead as from within the component where createItem is defined I do not have access to the configuration I believe, any thoughts?

I was thinking that we would actually handle the configuration look up in the StatusBar class here in Oni:
https://github.com/onivim/oni/blob/57929c06a02fe6e886747bda45ac2c9412ccd2fd/browser/src/Services/StatusBar.ts#L81
If we put it 'under the hood', that means we can enforce the convention and don't have to worry about a plugin author using a different system for setting the priority - someone making a status bar item doesn't even have to worry about picking a priority. So the API is simpler, and it gives the user full control of priority across all the status bar items - whether they come from core Oni or a plugin.
There is the configuration API we expose too, which is available in the plugin context:
https://github.com/onivim/oni/blob/57929c06a02fe6e886747bda45ac2c9412ccd2fd/browser/src/Services/StatusBar.ts#L81
Not sure if I addressed the concern though - does that make sense?
But the PR looks good to me - happy to bring it in and bump the version when you're ready.

@bryphe sounds good, good to go.  I basically was having a go at importing the Configuration from services/configuration but dont seem to have access to get values function (this was in statusItem class how does one get configuration values from with Oni i havent been able to find example which werent pulling of the details from an Oni obj passed in.

Managed to get the configuration working I was using the wrong export 🙇 , all good once this is merged I can complete changes for the status bar.

Cool, bringing it in now! Thanks @Akin909 !


'Log' does not have an implementation error after RC2 upgrade

I'm working on upgrading from RC1 to RC2 and after a lot of relatively painful work ;) I have everything compiling. But when I try to run the app with "dotnet run" I get this error:
Unhandled Exception: System.TypeLoadException: Method 'Log' in type
'Microsoft.Extensions.Logging.Logger' from
assembly 'Microsoft.Extensions.Logging,
Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'
does not have an implementation.
   at Microsoft.Extensions.Logging.LoggerFactory..ctor()
   at Microsoft.AspNetCore.Hosting.WebHostBuilder.BuildHostingServices()
   at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
   at ak_admin_spa.Program.Main(String[] args) in
C:\Projects\ak-admin-spa\src\ak-admin-spa\Startup.cs:line 141

Startup():
 Log.Logger = new LoggerConfiguration()
                .MinimumLevel.Debug()
                .Enrich.FromLogContext()
                .WriteTo.Seq("http://localhost:5341")
                .CreateLogger();

ConfigureServices():
  services.AddLogging();

Configure():
  loggerFactory.AddConsole();
  loggerFactory.AddSerilog();

Main():
  var host = new WebHostBuilder()
                .UseKestrel()
                .UseContentRoot(Directory.GetCurrentDirectory())
                .UseIISIntegration()
                .UseStartup<Startup>()
                .Build();
  host.Run();

dotnet --info:
.NET Command Line Tools (1.0.0-preview2-002817)

Product Information:
 Version:            1.0.0-preview2-002817
 Commit SHA-1 hash:  9155fbfbdb

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.10240
 OS Platform: Windows
 RID:         win10-x64

Any hints?
project.json:
{
  "webroot": "wwwroot_ra_admin",
  "version": "1.0.0-*",
  "dependencies": {
    "Microsoft.NETCore.Platforms": "1.0.1-rc2-24027",
    "Microsoft.AspNetCore.Mvc": "1.0.0-rc2-final",
    "Microsoft.AspNetCore.Server.WebListener": "0.1.0-rc2-final",
    "Microsoft.AspNetCore.StaticFiles": "1.0.0-rc2-final",
    "Microsoft.AspNetCore.Session": "1.0.0-rc2-final",
    "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-rc2-final",
    "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-final",
    "System.Net.Http": "4.0.1-beta-23409",
    "System.ServiceModel": "1.0.0",
    "System.Linq": "4.1.0-rc2-24027",
    "NETStandard.Library": "1.5.0-rc2-24027",
    "Microsoft.Extensions.Configuration.Json": "1.0.0-rc2-final",
    "Microsoft.Extensions.Configuration.Xml": "1.0.0-rc2-final",
    "Microsoft.AspNetCore.Diagnostics": "1.0.0-rc2-final",
    "Microsoft.AspNetCore.Http": "1.0.0-rc2-final",
    "Microsoft.AspNetCore.Mvc.WebApiCompatShim": "1.0.0-rc2-final",
    "Microsoft.Extensions.Logging": "1.0.0-rc2-final",
    "Microsoft.Extensions.Logging.Console": "1.0.0-rc2-final",
    "Microsoft.Extensions.Logging.TraceSource": "1.0.0-rc2-final",
    "log4net": "2.0.5",
    "iTextSharp": "5.5.9",
    "RestSharp": "105.2.3",
    "Spire.PDF": "3.7.0",
    "Microsoft.EntityFrameworkCore.Tools.Core": "1.0.0-rc2-final",
    "System.ComponentModel": "4.0.1-rc2-24027",
    "Serilog": "2.0.0-rc-556",
    "Serilog.Extensions.Logging": "1.0.0-rc2-10104",
    "Serilog.Sinks.Seq": "2.0.0-rc-46"
  },
  "compilationOptions": {
    "emitEntryPoint": true
  },
  "runtimeOptions": {
    "gcServer": false,
    "gcConcurrent": true
  },
  "frameworks": {
    "net451": {
      "dependencies": {
        "ADSS-Client-API": "1.0.0-*"
      },
      "frameworkAssemblies": {
        "System.Data": "<IP_ADDRESS>",
        "System.Runtime": "<IP_ADDRESS>",
        "System.Data.Linq": "<IP_ADDRESS>",
        "System.Web": "<IP_ADDRESS>",
        "System.Configuration": "<IP_ADDRESS>",
        "System.Data.Entity": "<IP_ADDRESS>",
        "System.ServiceModel": "<IP_ADDRESS>",
        "System.Drawing": "<IP_ADDRESS>",
        "System.DirectoryServices": "<IP_ADDRESS>",
        "System.DirectoryServices.AccountManagement": "<IP_ADDRESS>",
        "System.DirectoryServices.Protocols": "<IP_ADDRESS>"
      }
    }
  },
  "tools": {
    "Microsoft.AspNetCore.Server.IISIntegration.Tools": {
      "version": "1.0.0-*",
      "imports": "portable-net45+wp80+win10+wpa81+dnxcore50"
    }
  },
  "scripts": {
    "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%"
  },
  "exclude": [
    "wwwroot",
    "node_modules",
    "bower_components"
  ],
  "publishExclude": [
    "node_modules",
    "bower_components",
    "**.xproj",
    "**.user",
    "**.vspscc"
  ],
  "configurations": {
    "AkRaDebug": { },
    "AkRaDebugTwo": { }
  },
  "commands": {
    "web": "Microsoft.AspNet.Server.Kestrel"
  }
}

One of your dependencies is built against an older version of the logging package

@davidfowl Thanks but I'm not sure which one.  I had Microsoft.Extensions.Logging at rc1 but I fixed that and it now points to rc2.  What else could be wrong?

I'd suggesting removing dependencies until you find the problem. You could also analyze the project.lock.json file to see which of your dependencies are dependent on the rc1 version of logging.       l.l

Here is everything from my .lock file to do with serilog:
 "Serilog/2.0.0-rc-556": {
        "type": "package",
        "compile": {
          "lib/net45/Serilog.dll": {}
        },
        "runtime": {
          "lib/net45/Serilog.dll": {}
        }
      },
      "Serilog.Extensions.Logging/1.0.0-rc2-10104": {
        "type": "package",
        "dependencies": {
          "Microsoft.Extensions.Logging": "1.0.0-rc2-final",
          "Serilog": "2.0.0-rc-556"
        },
        "frameworkAssemblies": [
          "System.Runtime"
        ],
        "compile": {
          "lib/net45/Serilog.Extensions.Logging.dll": {}
        },
        "runtime": {
          "lib/net45/Serilog.Extensions.Logging.dll": {}
        }
      },
      "Serilog.Sinks.File/2.0.0-rc-704": {
        "type": "package",
        "dependencies": {
          "Serilog": "2.0.0-rc-556"
        },
        "compile": {
          "lib/net45/Serilog.Sinks.File.dll": {}
        },
        "runtime": {
          "lib/net45/Serilog.Sinks.File.dll": {}
        }
      },
      "Serilog.Sinks.PeriodicBatching/2.0.0-rc-707": {
        "type": "package",
        "dependencies": {
          "Serilog": "2.0.0-rc-556"
        },
        "compile": {
          "lib/net45/Serilog.Sinks.PeriodicBatching.dll": {}
        },
        "runtime": {
          "lib/net45/Serilog.Sinks.PeriodicBatching.dll": {}
        }
      },
      "Serilog.Sinks.RollingFile/2.0.0-rc-703": {
        "type": "package",
        "dependencies": {
          "Serilog": "2.0.0-rc-556",
          "Serilog.Sinks.File": "2.0.0-rc-704"
        },
        "compile": {
          "lib/net45/Serilog.Sinks.RollingFile.dll": {}
        },
        "runtime": {
          "lib/net45/Serilog.Sinks.RollingFile.dll": {}
        }
      },
      "Serilog.Sinks.Seq/2.0.0-rc-46": {
        "type": "package",
        "dependencies": {
          "Serilog": "2.0.0-rc-556",
          "Serilog.Sinks.PeriodicBatching": "2.0.0-rc-707",
          "Serilog.Sinks.RollingFile": "2.0.0-rc-703"
        },
        "frameworkAssemblies": [
          "System.Net.Http"
        ],
        "compile": {
          "lib/net45/Serilog.Sinks.Seq.dll": {}
        },
        "runtime": {
          "lib/net45/Serilog.Sinks.Seq.dll": {}
        }
      },

I also have log4net, could that be conflicting?
      "log4net/2.0.5": {
        "type": "package",
        "compile": {
          "lib/net45-full/log4net.dll": {}
        },
        "runtime": {
          "lib/net45-full/log4net.dll": {}
        }
      },

There is no mention of rc1 in my lock file.

log4net can't clash with Microsoft.Extensions.Logging. Can you try to narrow it down by removing dependencies? Also, can you share the entire lock file?

Here is the whole file: https://gist.github.com/rbjarnason/3f6b7ea9f721def950b276cea5e236aa

@davidfowl I could try removing dependencies but its a large app and removing dependencies will break the code so it would be quite time consuming...

You have to spend time somewhere. I honestly can't tell you why it's not working. The lock file looks fine but the type mismatch suggest that the logging in your output folder is older.

So what I have so far is that I have removed serilog first, then Microsoft.Extensions.Logging then a couple of other things but still get the same error.  And have commented everything logging related from Startup.cs. Now the only items with log in their name in the .lock file are the log4net.

@rbjarnason And you tried clearing out the bin folder or making a new project with the same dependencies to see if you can reproduce?

Thanks @davidfowl :) removing the bin folder and get everything rebuilt, I get the app to get past this problem.
I'm now stuck on "System.DllNotFoundException: Unable to load DLL 'libuv': The specified module could not be found." I saw you were discussing this in another unrelated ticket, I will ping you there if I don't figure it out.

@davidfowl Got the app running, thanks again for your help.


syntax error at or near ")"

Hey
can you help to  handle this ?

ProgrammingError at /helpdesk/dashboard/
syntax error at or near ")"
LINE 10:                     q.id IN ()

https://github.com/rossp/django-helpdesk/commit/fb66fea86ed17150406bf327afeafce0128c4e46#diff-894294424769a5a4786e12d915712494R135

my bad
i've forget to add que

Can you explain please , how to fix it?


ble-beta: IotBle_SendResponse() on ESP ignores resp.rspErrorStatus

Describe the bug
On ESP32, calls to IotBle_SendResponse() ignore the resp.rspErrorStatus and thus always send a success response.
System information

Which hardware board or part numbers?
Custom ESP32-based board

IDE used
none

Operating System [Windows|Linux|MacOS]
Linux

Version of Amazon FreeRTOS (run git describe --tags to find it)
v1.4.7-433-g4fa09aac
branch feature/ble-beta

Project [Custom Application|MQTT|Shadow|Greengrass|OTA|Device Defender|TCP Echo|Sub pub Demo|Simple TCP Server]
Custom Application

If your project is a Custom Application, please add the relevant code snippet in the section Code to reproduce the bug.

Expected behavior
A BLE response packet such as:
0x01 0xXX 0x00 0x00 0x01

Meaning:
0x01       Error
0xXX       BLE (GATT) command that triggered the error
0x00 0x00  Attribute
0x01       Value of resp.eventStatus

Screenshots or console output
To reproduce
Steps to reproduce the behavior:
In, e.g., a BLE characteristic fallback function, put the code below.  Then, use a BLE client to connect to the board and trigger the error response.
Code to reproduce the bug
IotBleEventResponse_t resp =
{
        .eventStatus    = eBTStatusFail,
        .rspErrorStatus = 0x80,
};
IotBle_SendResponse( &resp, foo->connId, foo->transId );

Additional context
Fix:
diff --git a/lib/bluetooth_low_energy/portable/espressif/aws_ble_hal_gatt_server.c b/lib/bluetooth_low_energy/portable/espressif/aws_ble_hal_gatt_server.c
index dc8ca830..e4ba444a 100644
--- a/lib/bluetooth_low_energy/portable/espressif/aws_ble_hal_gatt_server.c
+++ b/lib/bluetooth_low_energy/portable/espressif/aws_ble_hal_gatt_server.c
@@ -746,7 +746,7 @@ BTStatus_t prvBTSendResponse( uint16_t usConnId,
     {
     	memcpy( rsp.attr_value.value, pxResponse->xAttrValue.pucValue, pxResponse->xAttrValue.xLen );

-		xESPstatus = esp_ble_gatts_send_response( ulGattServerIFhandle, usConnId, ulTransId, xReturnStatus, &rsp );
+		xESPstatus = esp_ble_gatts_send_response( ulGattServerIFhandle, usConnId, ulTransId, xStatus, &rsp );

 		if( xESPstatus != ESP_OK )
 		{

Hi @unixdj , we are no longer maintaining ble-beta branch. Can you please test your application with the branch release-1.5, and let us know if you are still getting the same response.


Apply same resampling method for mask and tile

in https://github.com/cogeotiff/rio-tiler/blob/2bf9f144958ae226af4db338487e8a34159550be/rio_tiler/utils.py#L345-L353
we could end up (actual behavior) with using different resampling for mask and data which will result in bad masking.

@dionhaefner
Am I missing something here ? it seems to be the same in terracotta https://github.com/DHI-GRAS/terracotta/blob/master/terracotta/drivers/raster_base.py#L524-L529

Confirmed!

closed by #106

IIRC this was deliberate. We used to use the same resampling for the alpha mask, but it eroded the tile edges. E.g. linear resampling doesn't make much sense on a binary mask, does it?

@dionhaefner well I'm not sure how it does on a pure binary mask but at least when dealing with mask built from nodata it will mater.
Will need to test on pure alpha/binary mask

When I played around with this, using resampling for the mask never had a positive effect. But YMMV

Well it seems that this introduced a bug when dealing with internal mask (wonder why the tests didn't caught this)
When using bilinear resampling the mask is =255 everywhere

Well this is really strange I could not reproduce the bug (bilinear resampling of mask creating non-masked data) when using Rasterio wheels ... so I guess this has to deal with my gdal/numpy install 🤔 .
BUT I found that using something else than nearest resampling introduce mask artefacts ... I'm going to revert the change introduced in #106
I'm really sorry for the users that could have been impacted by the 1.2.6 release

Note: if we revert #106
this test : https://github.com/cogeotiff/rio-tiler/blob/156b0a8a0f12125d7c5ff45d04a00e0ba6321640/tests/test_utils.py#L753-L756
fails which seems a bit strange. I'll investigate a bit more and might open an issue on rasterio

closed by https://github.com/cogeotiff/rio-tiler/commit/d9e532a6454f71475f3056cbd2b0bfdb3bd9e497


update a location

as a user I want to update a location

could you please explain it @markherringer


Package subpath './generators/app' is not defined by "exports"

Describe the bug
Followed the instruction on Read me and got an error while executing following command inside the project directory.
jhipster --blueprints react-native

The error file is attached.
Instructions To reproduce
Followed the instruction on Read me and got an error while executing following command inside the project directory.
jhipster --blueprints react-native

JHipster app's .yo-rc.json

The project is not generated by jhipster --blueprints react-native command, hence we do not have .yo-rc.json file available.
Entity JDL or JSON files
Not available

Versions (please complete the following information):

JHipster React Native Version: Not sure how to get this.
hipster info output:
Welcome to JHipster v7.9.3

Welcome to the JHipster Information Sub-Generator
JHipster Version(s)
D:\Chetan\MyProjects\ilogicsApp
└── (empty)

cat: no such file or directory: .yo-rc.json
JHipster configuration, a .yo-rc.json file generated in the root folder

.yo-rc.json file

JDL for the Entity configuration(s) entityName.json files generated in the .jhipster directory

JDL entity definitions

Environment and Tools
java version "11.0.12" 2021-07-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.12+8-LTS-237)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.12+8-LTS-237, mixed mode)
git version 2.24.0.windows.2
node: v18.14.2
npm: 9.5.1
No change to package.json was detected. No package manager install will be executed.
Congratulations, JHipster execution is complete!
Sponsored with ❤  by @oktadev.

Can you try with Node 16 and see if it works?

Can you try with Node 16 and see if it works?

Thanks Matt, it is working with Node 16.

@gcdus I'm going to close this issue since Node 16 is expected for JHipster 7.


Questions about convolution operation

In fig1, the output from conv2 is 5*5, but the input to KANLinear is 245; in fig2 and fig3, after passing through KANconv, the input to nn.linear is 625. Could you please explain why this is the case? Thank you very much!

Because our convolutons follow other convention. Our convolutions receive the number of filters and each filter is applied to each chanell i.e., if you receive a (3,24,24) image and pass n_convs = 5 with padding, you get a (15,24,24) output

Thank you for your explanation and your KAN-CNN work, which has benefited me greatly！So cool！


Google Webmaster Tools giving file format error

Hi!
I just tested my sitemap in Webmaster Tools and it gave this error:

Unsupported file format: Your Sitemap does not appear to be in a supported format. Please ensure it meets our Sitemap guidelines and resubmit.

I just have a single sitemaps.add statement that adds all my publicly-accessible routes, and the generated file looks correct to me (you can see it here: https://modtest.canlio.com/sitemap.xml).
Any ideas on what I'm doing wrong?

That's strange.  Unfortunately with Google Webmaster Tools, I think you can only run them against sites you own.  Is there any more info it gives?
I googled for "google sitemap validator" and ran your sitemap through that, and it looked all good.  Also Chrome opened it without errors.  Wish Google Webmaster tools could be more specific.  Is there nothing else on the page pointing to the exact nature of the problem?

No other information was given. Here is a screenshot of everything it says. You've never run into this before?


tests: add axis data checks for all plots available in GUI

Add checks to test_gui.py to make sure all GUI plots actually plot data on the axis.  See #695 for the added checks on the default plots. Currently there are no checks (aside from the default plots) to make sure plots are not empty. Empty plots can occur when an error occurs between clicking the plot/run button and the GUI calling the plot function from the viz module.

Absolutely ... PR is welcome!

@jasmainak, can I take this issue? 😋


Fixed few more coverity defects

Codecov Report

Merging #124 into master will decrease coverage by 0.01%.
The diff coverage is 63.63%.

@@            Coverage Diff             @@
##           master     #124      +/-   ##
==========================================
- Coverage   88.03%   88.01%   -0.02%
==========================================
  Files          39       39
  Lines        3417     3439      +22
  Branches      263      269       +6
==========================================
+ Hits         3008     3027      +19
+ Misses        162      159       -3
- Partials      247      253       +6

Impacted Files
Coverage Δ

tests/test_partners_check.c
100% <100%> (ø)
:arrow_up:

tests/test_mutex.c
100% <100%> (ø)
:arrow_up:

tests/test_ParodusInternal.c
100% <100%> (ø)
:arrow_up:

tests/test_conn_interface.c
94.25% <100%> (+0.27%)
:arrow_up:

tests/test_service_alive.c
87.09% <42.85%> (-3.82%)
:arrow_down:

tests/test_client_list.c
91.42% <42.85%> (+1.42%)
:arrow_up:

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 b02c302...6a921bd. Read the comment docs.


Add interoperable TTFB to measure Early Hints consistently

Fixes #565
This will revert Chrome back to reporting TTFB as the Early Hints first bytes (same as other browsers and tools).
documentDuration is provided for browsers that support the "document bytes" to understand the delay between the "early hint first bytes" (aka TTFB) and "document first bytes".

85cb9f0ab8de1f3768afa69581f4ab6a8e88fac1


Unpin the docs Sphinx package once 4.x has the fix for building our code

In order for our Sphinx doc build to succeed, we have to pin the Spinx package to 3.x rather than the latest 4.x. This is due to the following Sphinx issue we filed:
https://github.com/sphinx-doc/sphinx/issues/9322
To unblock our doc builds, our doc/Pipfile was configured to pin the Sphinx package to 3.x via this PR: #7940.
There is a Sphinx PR open to address the bug which blocks our doc builds on 4.x:
https://github.com/sphinx-doc/sphinx/pull/9334
Once that Sphinx PR is merged in and released, we should unpin our Sphinx package version. I'm filing this issue to document and remind ourselves to do this.

@bneradt This looks like it was fixed in 4.0.3


Add a payment pool implementation

🎉 Description
This post describes a Merkle tree based implementation for one-to-many recurring payments with minimal gas usage, which is heavily based in what was discussed with Peter Watts.
I believe it is an interesting use case, and we could supply implementations for one-time one-to-many payments, as well as recurring one-to-many payments, using this strategy.

[ ] 🐛 This is a bug report.
[X] 📈 This is a feature request.

Not sure what the protocol is for assignment. I have started a PR using the Merkle Tree solution.
Could someone assign this feature to me?

Just flagged it as in-progress @trejas to signal that it is being worked on, Github won't let me design you as asignee

Hey @trejas, are you still interested in implementing this?


Better enforce rules about Pokemons to retain.

Rules about maximum CP and IV to transfer Pokemons are applied
also when keeping the best ones.

@giomasce did you test?

I am using this change right now (three parallel bots) and it appears to work. It does what I expect it to do.

👍

👍

Can you explain how to use it?
I want to have all pokemons above 500 CP, but when I have pokemon under 500CP i want to keep best.
Is it possible?

@matrix14 Yes, that is how it is meant to be used.I have this release rule:
"any": {"release_below_cp": 400, "release_below_iv": 0.8, "logic": "or", "keep_best_iv": 2},

It means: always keep the best two Pokemons by IV. Release the others, but only if they are below 400 CP or 0.8 IV.

@giomasce I think the logic of this feature should be:
Release all Pokes if they are below 400 CP or 0.8 IV and keep only 2 by IV from the rest.

@mzygmunt @giomasce
The problem is that it's hard to interpret by simply reading the rule if you don't know how it's supposed to work in detail, and that's why I was told that such a feature wouldn't be done yet.
And then it was done anyway, and with a bug :/

@valerian Those features are important for account with 25 levels or above, when we want to catch a lot of good Pokes while XP'ing. I know that, the features might be difficult to be done without config complication, but I think, is worth spending it for bot progress.

@mzygmunt Reading from here, @matrix14 is right about interpreting the logic: when you have both ""release_below_x" and "keep_best_x", the bot filters the best pokemons to keep, and then for the rest, apply the logic of "release_below_x" to decide the set of pokemons to release.


Seems to be broken with Go 1.7

When compiled in Go 1.7, nosurf.Token(r) returns empty string.
I've tried the -gcflags=-ssa=0 as suggested by the 1.7 release note, but it didn't help.
https://golang.org/doc/go1.7

Do you have an example? Are you using WithContext() on the request at all?
On Tue, Aug 30, 2016 at 8:10 PM Jack<EMAIL_ADDRESS>wrote:

When compiled in Go 1.7, nosurf.Token(r) returns empty string.
I've tried the -gcflags=-ssa=0 as suggested by the 1.7 release note, but
it didn't help.
https://golang.org/doc/go1.7
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/justinas/nosurf/issues/35, or mute the thread
https://github.com/notifications/unsubscribe-auth/AABIcLhP1Poj9jHsFqCFN8Cndl2fRfm5ks5qlPCTgaJpZM4JxMBd
.

Tests seem to pass on go version go1.7 linux/amd64. Getting more info would be helpful.

@elithrar good catch on WithContext(): could definitely be the culprit:
func handler(w http.ResponseWriter, r *http.Request) {
    r2 := r.WithContext(...)
    token := nosurf.Token(r2)
}

would definitely return an empty token, as r2 points to a different memory location and thus the context map lookup would fail.
I have been thinking about doing a conditional build for ctxSetReason/ctxSetToken/ctxClear that would leverage r.Context on Go >= 1.7 anyway. Should be a pretty clean fix.

I tested this using the authboss-sample app (unmodified).
https://github.com/go-authboss/authboss-sample
I don't see that it uses WithContext so may be something else. The cookie is set properly, but the hidden csrf field in the form is empty.

Hi, are you able to reproduce this issue under Go 1.7 using the authboss-sample? You can just compile and run it, then go to the login page and view the hidden csrf_token field. You will see that it's empty when compiled under 1.7.

The nosurf README example works for me—unmodified—in Go 1.7. What browser are you testing in, @jack-chung?
@jack-chung The authboss-sample is giving me the following error:
2016/09/04 15:05:32 Failed to validate XSRF Token: The CSRF token in the cookie doesn't match the one received in a form/header.

The form does not (as you say) populate the hidden <input> with the token. I assume the way the example is using nosurf is at fault here, but I don't have the time to check into it.

I am able to narrow this now after testing more. It seems to be caused by the use of gorilla mux.
Taking the nosurf README example code, and changing the main function from:
    myHandler := http.HandlerFunc(myFunc)     fmt.Println("Listening on http://<IP_ADDRESS>:8000/")     http.ListenAndServe(":8000", nosurf.New(myHandler))
to:
`    mux := mux.NewRouter()
mux.HandleFunc("/", myFunc)
fmt.Println("Listening on http://<IP_ADDRESS>:8000/")
http.ListenAndServe(":8000", nosurf.New(mux))`

will reproduce the problem. It works when compiled under Go 1.6, but nosurf.Token returns empty string when compiled under 1.7.
Is this helpful? I looked through the gorilla bug list and there are a few related to go 1.7. They all seem to be related to the use of request.WithContext(), but I'm not sure why the use of mux here would cause a problem.

nosurf does not use the new context, which means that when mux (for Go 1.7)
calls WithContext, the CSRF token in nosurf's map[*http.Request]token is
"islanded" as WithContext performs a shallow copy.
The map key, being the request, no longer points to the correct request.
This problem exists for any library using a global map based on
*http.Request + using any library that uses the new WithContext() shallow
copy. https://github.com/gorilla/csrf uses the new context when built on Go
1.7, and it should be an easy fix for nosurf as well (copy paste, almost).
On Tue, Sep 6, 2016 at 10:11 PM Jack<EMAIL_ADDRESS>wrote:

I am able to narrow this now after testing more. It seems to be caused by
the use of gorilla mux.
Taking the nosurf README example code, and changing the main function from:
myHandler := http.HandlerFunc(myFunc)
fmt.Println("Listening on http://<IP_ADDRESS>:8000/")
http.ListenAndServe(":8000", nosurf.New(myHandler))
to:
` mux := mux.NewRouter()
mux.HandleFunc("/", myFunc)
fmt.Println("Listening on http://<IP_ADDRESS>:8000/")
http.ListenAndServe(":8000", nosurf.New(mux))`
will reproduce the problem. It works when compiled under Go 1.6, but
nosurf.Token returns empty string when compiled under 1.7.
Is this helpful? I looked through the gorilla bug list and there are a few
related to go 1.7. They all seem to be related to the use of
request.WithContext(), but I'm not sure why the use of mux here would cause
a problem.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/justinas/nosurf/issues/35#issuecomment-245176852, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AABIcJQH7AK1SWZNiv6F0kYOHhCgq2iMks5qnkdkgaJpZM4JxMBd
.

So the plan remains to use conditional compiling to support 1.7's Context. Should solve this whole class of problems. Thanks @elithrar for looking into this.

Hello @justinas; I was wondering if you have a timeline for this fix?
Thanks

@kris-runzer I have the fix outlined. I'll be conservative and say it's coming this week.

Thanks @justinas! I'm having the exact same issue. If it helps, I've used the same approach that @elithrar helpfully created for their csrf and mux packages (using build tags to provide backward compatibility) and it works like a charm.
I'm looking forward to the fix!

Should be fixed as of f57d55558e291774f0dff5bb6a2cf5c8f8fe861c, at least from what I can tell from the tests. Will wait for someone to confirm in a real world scenario before closing. @jack-chung @kris-runzer @jordan-wright


Remove WorkloadStateDB from Software Design documentation

The Software Design Documentation still mentions the WorkloadStateDB. As this component has been removed, the documentation needs to be updated.

Isn't it already fixed within the PR #301 commit (https://github.com/eclipse-ankaios/ankaios/pull/301/commits/eeafde86630b9ed5739b80feae23612569781622)?

The commit eeafde86630b9ed5739b80feae23612569781622 in the PR #301 removed the WorkloadStateDB only partially. There are some leftovers in the SWDD of the Ankaios server.

This here is done. Thanks @maturar!


Rowid in entities

How about add rowid in EntityPathBase to the aim of fast count or sql optimization.

OK I can add  private String rowid; simply.


request hangs when auth_request is used and cumulative request size exceeds client_header_buffer_size

Sample configuration:
load_module /home/test/ngx_http_modsecurity_module-debug.so;

user nginx;
worker_processes 1;

error_log /var/log/nginx/error.log debug;
pid /var/run/nginx.pid;

events {
    worker_connections  1024;
}

http {
    access_log off;

    server {
        listen 80 default_server;
        server_name localhost;

        location = /do {
            modsecurity on;
            modsecurity_rules_file /etc/nginx/modsec/modsecurity.conf;
            auth_request /auth;
            proxy_pass https://www.bing.com/search?q=nginx;
        }

        location = /auth {
            return 200;
        }
    }
}

The /etc/nginx/modsec/modsecurity.conf is the standard one from https://github.com/SpiderLabs/ModSecurity/blob/v3/master/modsecurity.conf-recommended.
The default value of the client_header_buffer_size is 1024 bytes.
Test request with (headers size + body size) <= 1024 works fine. If (headers size + body size) is greater than 1024, request hangs forever:
test@vagrant:~/nginx-1.15.2$ curl -vi -X POST --data-binary @p -H "Content-Type: application/json" http://localhost/do
Note: Unnecessary use of -X or --request, POST is already inferred.
*   Trying <IP_ADDRESS>...
* Connected to localhost (<IP_ADDRESS>) port 80 (#0)
> POST /do HTTP/1.1
> Host: localhost
> User-Agent: curl/7.47.0
> Accept: */*
> Content-Type: application/json
> Content-Length: 1051
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
HTTP/1.1 100 Continue

* We are completely uploaded and fine
^C

nginx debug log:
2018/10/30 07:41:49 [debug] 28313#28313: *3 http finalize request: 0, "/auth?" a:1, c:2
2018/10/30 07:41:49 [debug] 28313#28313: *3 auth request done s:200
2018/10/30 07:41:49 [debug] 28313#28313: *3 http wake parent request: "/do?"
2018/10/30 07:41:49 [debug] 28313#28313: *3 http posted request: "/do?"
2018/10/30 07:41:49 [debug] 28313#28313: *3 http request empty handler
2018/10/30 07:41:49 [debug] 28313#28313: timer delta: 0
2018/10/30 07:41:49 [debug] 28313#28313: worker cycle
2018/10/30 07:41:49 [debug] 28313#28313: epoll timer: -1

 [hangs here; below lines are produced after terminating curl with Ctrl+C]

2018/10/30 07:43:23 [debug] 28313#28313: epoll: fd:3 ev:2001 d:00007FD43B6C8201
2018/10/30 07:43:23 [debug] 28313#28313: *3 http run request: "/do?"
2018/10/30 07:43:23 [debug] 28313#28313: *3 http reading blocked
2018/10/30 07:43:23 [debug] 28313#28313: timer delta: 94041
2018/10/30 07:43:23 [debug] 28313#28313: worker cycle
2018/10/30 07:43:23 [debug] 28313#28313: epoll timer: -1

Working on a fix already.

Hi @defanator,
Thanks for point this out. Is that something that you feel confident to marge into our master?


So is this code actually working?

So is this code actually working? Readme says "(should be re-uploaded)", What does that mean? Some people here report that this code is just memorizing training examples but does not generalize. Is this true?
Even worse than having no code is having code that is pretending to work but will just waste your time and then you have to implement it from scratch anyway...

@mario98
Hey, were you able to get this code working?

https://github.com/YeolJ00/mnist-svhn-transfer
I've edited the code to work and change some functions to meet recent updates
I wanted to make a branch or a pull request in this repository but wasn't able to figure out how.

@YeolJ00 Hi there, would you please point out the problem in this code and the change you made?

@EvaFlower Putting aside the deprecated functions,
data_loader.py had a single tranform format in get_loader() that normalizes a 3 channel image.
MNIST data is not a 3 channel image thus requires a seperate transform format
It would be nice if you would double check it for me

@YeolJ00 Yeah, you are right. But it did not raise exceptional information when running the code. So maybe it has no influence.

@EvaFlower What do you mean by exceptional information? In what sense do you mean by it has no influence?

@YeolJ00 I mean that I can run the code successfully without changing the transform for MNIST. So maybe here it just used the transform in the first channel and ignored others.

@EvaFlower Well good for you. I wasn't able to run the code without changing that part. I wonder what the difference was.

I get a reasonable result, when set "--use_reconst_loss True" and "--use_labels True"。 the MINST's generator result is better than svhn's

I get a reasonable result, when set "--use_reconst_loss True" and "--use_labels True"。 the MINST's generator result is better than svhn's


Error: Unable to process command '::add-matcher::./tmp.nA8912gdP6/problem-matcher.json'

More often that not, the action fails seemingly randomly with the following error message:
Error: Unable to process command '::add-matcher::./tmp.nA8912gdP6/problem-matcher.json' successfully.
Error: Could not find a part of the path '/home/runner/work/XXXX/XXXX/tmp.nA8912gdP6/problem-matcher.json'.

Would it make sense to make the problem matcher opt-out?

I ended up on the same issue, looks like there might be a race condition between this action and GitHub, because the temp folder is removed as a cleanup step, while adding a matcher on it.
Also, about the hadolint.sh script, return codes are never checked, is there any reason for this?
Please, note that shell script will continue if a command fail. To make it exit, manually check the result of the command (using $?) or put set -o errexit (which makes the script exit as soon as a command return a non zero exit code) at the top of the script.


Automated scheduling v1

Also includes tests

I realize that there is time pressure to merge this. If so, don't worry about most of my comments immediately; but soon after, I do suggest spending some time learning Ramda and then refactoring it or doing that for future modifications.


Support getting custom field choices ID in GraphQL

Environment

Python version: 3.6.8
Nautobot version: 1.0.1

Proposed Functionality
Add support to query custom field choice ID via GraphQL, getting similar information to REST API endpoint api/extras/custom-field-choices/. So I could do something like this pseudo-code:
{
  devices {
    custom_field_choices {
      field(name: $my_custom_field) {
        id
      }
    }
  }
}

Use Case
Custom fields are used to extend core functionality and save data not possible in core models. These can be used in interaction with other systems. We have a custom field we use as synchronization point between multiple systems. One of our teams is downloading assets data from Netbox v2.9.9, taking this custom field and comparing to data in other system based on it. They are using the ID for it. With Nautobot REST API this requires another call to api/extras/custom-field-choices/ to get the UUID as string in the custom field can change and REST API is returning only values (strings), not the UUID itself. Being able to get this information in single call via GraphQL would be very helpful.

Database Changes
None

External Dependencies
None

Hi @Thetacz, thanks for the suggestion!
We're currently unable to do nested filters right now. In this context "nested" being "anything other than the top-level object".
(Blocked by #248)

Hi @Thetacz! Would you be able to include an actual real workflow that you're currently using to make sure we're understanding this giving an example of the CFs too? Please include actual GraphQL queries (and responses) that are possible today along with the REST API  (and response).  Thanks.

Coming in 1.2 via #886.


Fix warning on implicit imports when importing from Javascript files

Fixes #34271

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: mattlyons0 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Suggestions aren't warnings!

Closing since upstream issue isn't a defect


nodejs10.x is no longer supported

Hi there,
I've been having this issue while deploying your stack
The runtime parameter of nodejs10.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs16.x) while creating
or updating functions

Any thoughts?
Thanks in advance

Actually updating the CDK version helped. This issue can be closed.
pom.xml:
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <cdk.version>1.134.0</cdk.version>
        <junit.version>5.7.0</junit.version>
        <aws.version>1.11.939</aws.version>
    </properties>


propagate the campaigns on WeiFund home

added in latest commit: https://github.com/WeiFund/WeiFund/commit/8ae03211b9ab4155662ac7bcc8be1c1a2d26421e


[value]% - quantity as percentage of total USDT balance

How to set this parameter in the TV message, thank you!

Hey,
If you want to make a buy order for, let's say, the 25% of your balance you simply put 25% (instead of 25$) as value in the alert message.
But this is if you are generating the messages yourself (using the alert function). If the strategy is working in percentages (defined in the strategy settings) you don't have to do anything. The strategy will already convert the percentage to the final number. Strategies send their orders in the base currency (the coin you're trading).


Check for zero size asg.

Prevents:

Unhandled exception in task TagCurrentInstancesWithTerminationTag Tag existing instances of the auto-scaling group for termination

Hmm. I'm not sure that this check fits with the maxSize check in one conditional, as it feels like a different class of failure.
However, it's probably better than the current situation, so I'm OK with giving it a :+1: and then trying to clarify later.

Any thoughts about whether you still want to merge this @kenoir?

@sihil I still think it makes more sense than the current way of handling the situation when the desiredCapacity is 0.

@kenoir I'm trying to make the ASG deploy work when an ASG size is set to 0. Do you recall what this was solving?

@sihil this change simply makes the error message more explicit.

OK - so if I can make the error not happen then the world will be a happy place? 💭

That would be much better.


Refactor specific environments to use general environment components

Specific environments can be reproduced with the general environment, probably without much additional code beyond configuration. Create and test generic environments against existing ones. Some refactoring of envs directory may be useful at this point to reflect the components/instantiation divide.
Considerations

(How) Should these be importable?
Assume there will still be types of envs other than the generalized env in the envs directory (e.g. RPOD, EDL), so no deleting the envs layer directory
Maybe these should be in a subdirectory of general_satellite_tasking? With a nice way of importing/registering/documenting.

Closes #8 #9 #10 #11

Scope of this will be deprecating current one-off environments while keeping them available in different directory


disable MainThreadInvoker in Adapter.ConnectToDeviceAsync

This is an attempt to fix #757. @skha83, could you please try this and tell me if it fixes the problem for you?

It was reported that this PR works well (see. https://github.com/dotnet-bluetooth-le/dotnet-bluetooth-le/issues/757#issuecomment-1803320893), so I will merge it. Thanks for the feedback, @skha83.

I will be very happy if this can be fixed as soon as possible. I spent two days solving the same problem with multiple devices barcode scanner and printer. The barcode scanner usually goes to sleep to last as long as possible.
Disabling MainThreadInvoker helped resolve the situation.