high CPU usage when enable vetur extension

Code Version: 1.12.2
You see, I have disabled all my extensions.
when I enable vetur, the CPU usage is 100%+, when I disabled vetur again, the CPU will back to normal.

Can you show me your file explorer view so I can take a look at your folder structure?
Also, can you paste jsconfig/tsconfig if you have one in your project?

I seem to have a similar issue on some of my projects. When vetur is enabled and vue file is opened/focused the CPU usages goes up to 30-45%, it drops to <1% when vetur is disabled.
I'm using Code 1.12.2 on Windows 10 Pro (1607) atm, but I've been having this issue since vetur 0.6.x and Code 1.11.x, I did not had this on vetur 0.5.x.
I've tried to narrow down the issue, no luck so far. It doesn't seem to occur on latest vue-cli projects with default settings. It does happen on 2 of my more complex solutions where the repo has 2-3 vue projects.
I have these config files in the project roots:
.babelrc
.editorconfig
.eslintignore
.eslintrc.js
.gitignore
.sass-lint.yml
and these in the solution root:
.dockerignore
.gitignore
circle.yml
docker-cloud.yml
docker-compose.yml
Dockerfile

I have a little large project, some files are .vue.
I think the problem is related to vue language server crash. Because the CPU usage will continue very high before vue language server crash.
Every time the Code console said vue language server crashed, the CPU usage will be low. then the vue language server restarted.
After vue language server some times enough, Code will not restart vue language server again, then the CPU usage is normal always.
vetur initialized
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 2: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 3: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 4: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 5: v8::internal::Factory::NewByteArray(int, v8::internal::PretenureFlag) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 6: v8::internal::compiler::DeadCodeElimination::TrimMergeOrPhi(v8::internal::compiler::Node*, int) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 7: v8::internal::compiler::Linkage::GetParameterSecondaryLocation(int) const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 8: v8::internal::compiler::Linkage::GetParameterSecondaryLocation(int) const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 9: v8::internal::OldSpaces::next() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
10: v8::internal::compiler::SourcePositionTable::Print(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
11: v8::internal::compiler::Operator::PrintPropsTo(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
12: v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
13: v8::internal::RegisterConfiguration::AreAliases(v8::internal::MachineRepresentation, int, v8::internal::MachineRepresentation, int) const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
14: 0x399be3043a7
[Info  - 上午9:15:19] Connection to server got closed. Server will restart.
vetur initialized
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 2: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 3: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 4: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 5: v8::internal::Factory::NewByteArray(int, v8::internal::PretenureFlag) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 6: v8::internal::compiler::DeadCodeElimination::TrimMergeOrPhi(v8::internal::compiler::Node*, int) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 7: v8::internal::compiler::Linkage::GetParameterSecondaryLocation(int) const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 8: v8::internal::compiler::Linkage::GetParameterSecondaryLocation(int) const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 9: v8::internal::OldSpaces::next() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
10: v8::internal::compiler::SourcePositionTable::Print(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
11: v8::internal::compiler::Operator::PrintPropsTo(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
12: v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
13: v8::internal::RegisterConfiguration::AreAliases(v8::internal::MachineRepresentation, int, v8::internal::MachineRepresentation, int) const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
14: 0x14036b7043a7
15: 0x14036c0a14c3
16: 0x14036c099b72
17: 0x14036c0d22ac
18: 0x14036c158629
19: 0x14036c09a081
20: 0x14036c099ce5
[Info  - 上午9:16:06] Connection to server got closed. Server will restart.
vetur initialized
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 2: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 3: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 4: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 5: v8::internal::Factory::NewTransitionArray(int) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 6: v8::TracingCpuProfiler::Create(v8::Isolate*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 7: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 8: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 9: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
10: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
11: v8::internal::LookupIterator::PrepareTransitionToDataProperty(v8::internal::Handle<v8::internal::JSObject>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::Object::StoreFromKeyed) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
12: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
13: v8::internal::OldSpaces::next() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
14: v8::internal::OldSpaces::next() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
15: 0x306b4a1843a7
16: 0x306b4aad24aa
17: 0x306b4aad265a
18: 0x306b4acaaea4
[Info  - 上午9:17:00] Connection to server got closed. Server will restart.
vetur initialized
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 2: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 3: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 4: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 5: v8::internal::Factory::NewTransitionArray(int) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 6: v8::TracingCpuProfiler::Create(v8::Isolate*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 7: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 8: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 9: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
10: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
11: v8::internal::LookupIterator::PrepareTransitionToDataProperty(v8::internal::Handle<v8::internal::JSObject>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::Object::StoreFromKeyed) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
12: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
13: v8::internal::OldSpaces::next() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
14: v8::internal::OldSpaces::next() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
15: 0xaff7d7043a7
[Info  - 上午9:17:46] Connection to server got closed. Server will restart.
vetur initialized
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 2: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 3: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 4: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 5: v8::internal::Factory::NewTransitionArray(int) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 6: v8::TracingCpuProfiler::Create(v8::Isolate*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 7: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 8: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 9: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
10: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
11: v8::internal::LookupIterator::PrepareTransitionToDataProperty(v8::internal::Handle<v8::internal::JSObject>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::Object::StoreFromKeyed) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
12: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
13: v8::internal::OldSpaces::next() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
14: v8::internal::OldSpaces::next() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
15: 0x2402c90043a7
[Info  - 上午9:18:31] Connection to server got closed. Server will restart.
vetur initialized
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 2: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 3: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 4: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 5: v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 6: v8::internal::RegisterConfiguration::AreAliases(v8::internal::MachineRepresentation, int, v8::internal::MachineRepresentation, int) const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 7: 0x232ed70083a6
 8: 0x232ed792e3c0
 9: 0x232ed720f41f
10: 0x232ed792938c
11: 0x232ed7930068
[Info  - 上午9:19:32] Connection to server got closed. Server will restart.
vetur initialized
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 2: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 3: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 4: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 5: v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 6: v8::internal::RegisterConfiguration::AreAliases(v8::internal::MachineRepresentation, int, v8::internal::MachineRepresentation, int) const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 7: 0x152d1ae083a6
 8: 0x152d1b8f3520
 9: 0x152d1b5d831f
10: 0x152d1b88746c
11: 0x152d1b8f2128
[Info  - 上午9:20:16] Connection to server got closed. Server will restart.
vetur initialized
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 2: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 3: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 4: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 5: v8::internal::Factory::NewFixedArray(int, v8::internal::PretenureFlag) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 6: v8::internal::compiler::Node::Uses::empty() const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 7: v8::internal::RegisterConfiguration::AreAliases(v8::internal::MachineRepresentation, int, v8::internal::MachineRepresentation, int) const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 8: 0x18fa32d043a7
[Info  - 上午9:21:03] Connection to server got closed. Server will restart.
vetur initialized
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 2: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 3: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 4: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 5: v8::internal::Factory::NewTransitionArray(int) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 6: v8::TracingCpuProfiler::Create(v8::Isolate*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 7: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 8: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 9: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
10: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
11: v8::internal::LookupIterator::PrepareTransitionToDataProperty(v8::internal::Handle<v8::internal::JSObject>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::Object::StoreFromKeyed) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
12: v8::internal::OldSpaces::next() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
13: v8::internal::OldSpaces::next() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
14: v8::internal::OldSpaces::next() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
15: v8::internal::OldSpaces::next() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
16: 0x3e3bc7c043a7
[Info  - 上午9:21:54] Connection to server got closed. Server will restart.
vetur initialized
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 2: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 3: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 4: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 5: v8::internal::Factory::NewTransitionArray(int) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 6: v8::TracingCpuProfiler::Create(v8::Isolate*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 7: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 8: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 9: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
10: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
11: v8::internal::LookupIterator::PrepareTransitionToDataProperty(v8::internal::Handle<v8::internal::JSObject>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::Object::StoreFromKeyed) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
12: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
13: v8::internal::OldSpaces::next() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
14: v8::internal::OldSpaces::next() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
15: 0x265c952043a7
16: 0x265c95c73fea
17: 0x265c95c7419a
18: 0x265c95d2a984
19: 0x265c95c7cf7d
[Info  - 上午9:22:40] Connection to server got closed. Server will restart.
vetur initialized
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 2: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 3: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 4: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 5: v8::internal::Factory::NewByteArray(int, v8::internal::PretenureFlag) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 6: v8::internal::compiler::DeadCodeElimination::TrimMergeOrPhi(v8::internal::compiler::Node*, int) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 7: v8::internal::compiler::Linkage::GetParameterSecondaryLocation(int) const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 8: v8::internal::compiler::Linkage::GetParameterSecondaryLocation(int) const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 9: v8::internal::OldSpaces::next() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
10: v8::internal::compiler::SourcePositionTable::Print(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
11: v8::internal::compiler::Operator::PrintPropsTo(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
12: v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
13: v8::internal::RegisterConfiguration::AreAliases(v8::internal::MachineRepresentation, int, v8::internal::MachineRepresentation, int) const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
14: 0x34e6c0c043a7
15: 0x34e6c165e8c3
[Info  - 上午9:23:26] Connection to server got closed. Server will restart.
vetur initialized
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 2: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 3: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 4: v8::internal::FatalProcessOutOfMemory(char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 5: v8::internal::Factory::NewTransitionArray(int) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 6: v8::TracingCpuProfiler::Create(v8::Isolate*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 7: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 8: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 9: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
10: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
11: v8::internal::LookupIterator::PrepareTransitionToDataProperty(v8::internal::Handle<v8::internal::JSObject>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::Object::StoreFromKeyed) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
12: v8::internal::HeapNumber::HeapNumberPrint(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
13: v8::internal::OldSpaces::next() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
14: v8::internal::OldSpaces::next() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
15: 0x3bb7510043a7
16: 0x3bb7516e90aa
17: 0x3bb7518b8a19
18: 0x3bb751a54b24
19: 0x3bb7516f477d
[Info  - 上午9:24:17] Connection to server got closed. Server will restart.
vetur initialized

@zoltanlantos
When you have a project that has multiple sub project this seems to happen. Is it that you are having the trouble on this kind of repo?
/
  /app1
    package.json
    tsconfig.json
  /app2
    package.json
    tsconfig.json

If so, what's your tsconfig/jsconfig/package.json like if you do have them for your sub-project?

@Treri Can you try putting a jsconfig.json at your project root, where you specify to only include the relevant files, like so?
This usually happens if some other large files are included by mistake.
{
  "include": [
      "./src/**/*"
  ]
}

@octref Great! The CPU usage will be normal IF I have a jsconfig.json
{
  "include": [
      "./static/page/**/*"
  ]
}

Every time I open a vue file, the CPU usage will be 100% more or less, and some later it will back normal, it will not always be very high 😁.
The result was acceptable for me. thanks

@octref Setting a jsconfig.json in root to only include the folders that have the Vue projects seems to be mitigating the issue. Setting them in the subproject folder doesn't have this effect.
My test seems to coincide with what you are saying about some other files are included by mistake. It does seem to happen only on solutions with mixed stack and lots of misc files. I've tried to find which files/folders are causing the problem by exclusion (removing folders one-by-one), without luck. It seems to only happen if there are lot of files/folders.
I don't have tsconfig files. The project where I can consistently reproduce this issue has this structure:
/.sass-cache
/admin-frontend
   project.json # the vue-cli webpack project
/app # php project
/app-frontend # php project
/deploy # some deploy sh files
/dist
/docker
/frontend
   project.json # a fairly typical AngularJS project with gulp, eslint and browser-sync
   bower.json
/src # some php class files
/vendor # composer dependency folder
/web # with lots of static asset files
bower.json
composer.json
package.json # whit some grunt dependencies

This project has a long history :)

@zoltanlantos
Um, where is your vue project?
Say all your vue files are in /app, try having this as jsconfig.json at your project root:
{
  "include": [
      "./app/**/*.vue"
  ]
}

@octref it's in /admin-frontend so I've added
{
  "include": [
      "./admin-frontend/src/**/*",
  ]
}

It does seem to fix the issue, as @Treri said, there is only an initial spike that goes away in about 2sec.
Is it a requirement to have jsconfig.json or just a workaround? There are other JavaScript project in the solution (/frontend is AngualrJS). I'm not sure if limiting jsconfig.json to the vue project would affect them.
I'll see if I can list the other js projects in includes or exclude the no-js projects. The docs says that jsconfig.json marks the root of the js project, so I wonder if I can make this work in the sub dirs.
I appreciate you help, cheers!

Yeah this is less than ideal. Currently the TypeScript language server takes in everything in your workspace unless you specify a jsconfig/tsconfig. I'm looking into only include *.vue files and the files that they import.

I'm having the same issue, but adding a jsconfig.json to only point at my Vue files does not solve the issue. It also doesn't happen immediately, but anywhere between 5 mins and a few hours after I start working. I think it's related to the Vue server or something like that.

Same issue here, happening right after opening a vue-based project. Wasn't the case some weeks ago, so probably was caused by some version bump.
➜  ~  ps aux | grep 90465
gbezyuk          90465 100.0  0.8  3322408 137484   ??  R     2:07PM   1:04.45 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Users/gbezyuk/.vscode/extensions/octref.vetur-0.9.1/client/node_modules/vscode-languageclient/lib/utils/electronForkStart /Users/gbezyuk/.vscode/extensions/octref.vetur-0.9.1/client/node_modules/vue-language-server/dist/vueServerMain.js --node-ipc

Create a jsconfig.json that only includes your project front end code, or explicitly exclude your bower_components.

I guess it's because it scans the big "node_modules" directory, just added a .jsconfig.json with content
{
  "include": [
      "./src/**/*"
  ],
  "exclude": [
        "node_modules"
    ]
}

now the problem seems resolved

@octref thanx, but may I suggest an idea of excluding bower_components, node_modules, or whatever else what is not .vue files by default without asking a developer who normally doesn't even know about the existence of this extension to create any extra files?

Yeah this is less than ideal. Currently the TypeScript language server takes in everything in your workspace unless you specify a jsconfig/tsconfig. I'm looking into only include *.vue files and the files that they import.

This problems is still happening even when excluding "node_modules" or including src directory of a very small project

@eronaeon Can you try to provide a repro case?

If the jsconfig/tsconfig approach does not work for you, and you are on latest version, open a new issue with repro steps & a sample project.


Support http .torrent urls in browser

I got error "Uncaught Error: invalid torrent id" with webtorrent in the browser (use webtorrent.min.js). This is my simple code:
var client = new WebTorrent();
var magnet_uri = '';
client.download(magnet_uri, function (torrent) {
console.log('Torrent info hash:', torrent.infoHash)
});
Please help me fix the error
Thanks

Unless I'm misunderstanding, CORS shouldn't be an issue if you're trying to make an XHR request to load a .torrent from the current domain, which you might be doing if you were using webtorrent as part of a browser extension.

@Wingman4l7 You're right. Is this an important feature to you?

Definitely!  It's a crucial feature in using webtorrent as part of a browser extension.  Of course, so is webtorrent using TCP / UDP within the browser, which is currently only does in nodejs... but that's another problem.  :P

Okay, PR welcome!


api: grpc: types: align fields in api.proto

Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

failing because https://github.com/docker/containerd/issues/45#issuecomment-165978745

updated and rebased, ping @crosbymichael

LGTM


[Suggestion] Logistical Transporter Tiers

Mekanism's item transport pipes has, unlike the other pipes, no tiers, which seems strange.
My suggestion is to add a cheaper, weaker version of the Logistical Transporter:
Basic Transporter, Recipe:
SGS
(S=Steel,G=Glass)
Logistical Transporter, Recipe:
BC
(B=Basic Transporter,C=Control Circuit)
While the functionality of the Logistical Transporter should stay the same, the Basic Transporter should not have any of the options that are accessed using a Configurator.
This should be optional, using a config option.
Thanks for reading :smile:

Mekanism does have tired Logistical Transporters, each with differing item transport speeds :)


fix search result url

I think the difference is that we indexed an id that didn't start with a slash, and now a path that does start with a slash.

An alternative would be to go back to indexing a path without the leading slash?
fixes https://github.com/observablehq/framework/pull/1401#issuecomment-2138405008

Yes, I cowboy’d the same change in f80bbab83f258fc621a2d4689ec01d3e040069d7. 🤠
I wanted to keep the leading slash since we use that elsewhere to represent paths.


Top 10 topics in SE

Topic 0: applications web application user approach systems framework based
Topic 1: model language design specification specifications formal models verification
Topic 2: software developers information tools development data source project
Topic 3: software based results quality metrics paper approach techniques
Topic 4: bug bugs time performance reports defects developers software
Topic 5: program analysis programs dynamic static paper technique execution
Topic 6: software engineering development research process project systems quality
Topic 7: test testing cases tests coverage generation based technique
Topic 8: code source software changes approach paper change systems
Topic 9: software model systems architecture approach component paper design

Topics(x axis) vs Likelihood(y axis).

90 topics is optimal

'1','ICSE',NULL,'117'
'2','ICSM',NULL,'53'
'3','WCRE',NULL,'43'
'4','CSMR',NULL,'40'
'5','MSR',NULL,'32'
'6','GPCE',NULL,'37'
'7','FASE',NULL,'42'
'8','ICPC',NULL,'43'
'9','FSE',NULL,'59'
'10','SCAM',NULL,'15'
'11','ASE',NULL,'55'

Stability Scores reference:
https://github.com/ai-se/Pits_lda/issues/20


Is there a CLI tool that embeds this database and allows query countries and output other info about them?

Something like
$ keshvar --by-iso3166=616 --continent
Europe

There is not (AFAIK).


Address #249 + some additional bug fixes - see commits

Hi jhy,
I made some changes to improve the FormElements implementation. Missing elements get included, and there was one possibility of duplication that I fixed.

Thanks, and sorry for the late reply. This is similar to some other work with FormElements


PR to Base64 project to add URL-safe option

So that we can remove base64urlencode from our project.
In open-source we are always trying to move code that is non-core out of core, either into separate modules, separate projects or into other people's open-source projects, where the functionality is more widely useful...

@fblundun what's the status of this one?

This is no longer necessary since we now have our own base 64 module (which will soon be separately available on npm). Closing...


Only refresh panels when all variables are loaded

Proposal
When you refresh a dashboard using the refresh button (time range controls), panels are refreshed multiple times because of variables loading. I think panels should be refreshed only once when all variables are loaded.

ah yeah that would be great indeed !!


fix(clerk-js): Align some sections in User Profile with the designs

Description
This PR adds a hover state for all profile section items that include an action menu (eg. Emails, Phone numbers etc.)
Before

After

Checklist

[ ] npm test runs as expected.
[ ] npm run build runs as expected.
[ ] (If applicable) JSDoc comments have been added or updated for any package exports
[ ] (If applicable) Documentation has been updated

Type of change

[ ] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

!preview

Hey @desiprisg, your preview is currently deploying and should be available shortly.

Status
Preview
Updated (UTC)

:cook: Deploying...
Inspect
Feb 16, 2024 04:12 PM

!preview

!preview

!preview


Repeated key doesn't work in wayland mode

I run SDL_VIDEODRIVER=wayland neovide.
Neovide can run however mouse doesn't move when I keep pressing key.
I am using swaywm

I think this is a duplicate of #600.

Close due to duplicate of #600


Fixed typos in hkdf documentation.

Function names were incorrectly spelt in the description.
Checklist

[x] documentation is added or updated

Merged, thanks.


Unable to open 'Program.cs': File not found (\Program.cs).

Environment data
dotnet --info output:
.NET Command Line Tools (2.0.0-alpha-004853)
Product Information:
Version:            2.0.0-alpha-004853
Commit SHA-1 hash:  e7689a3116
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.15040
OS Platform: Windows
RID:         win10-x64
Base Path:   D:\work\dotnets\2.0.0-alpha-004853\sdk\2.0.0-alpha-004853\
VS Code version:
Version 1.9.1
Commit f9d0c687ff2ea7aabd85fb9a43129117c0ecf519
Date 2017-02-09T00:26:45.394Z
Shell 1.4.6
Renderer 53.0.2785.143
Node 6.5.0
C# Extension version:
1.7.0
Steps to reproduce
mkdir test
dotnet new console
dotnet restore
code .
Introduce a syntax error (remove the " from the WriteLine or something)
configure task runner for .NET core
build
Expected  behavior
Build fails, error window can be double clicked to take me to the error
Actual behavior

Note that Program.cs is listed twice. The ones from the first ("Program.cs \") only appear after build.

I suspect that Program is listed twice because errors are duplicated between the build and live in the editor. The issues you ran into should be tracked by https://github.com/OmniSharp/omnisharp-vscode/issues/1197 and https://github.com/OmniSharp/omnisharp-vscode/issues/1198.

Cool. The workaround in #1197 did the trick for this issue.


Testing checklist for 2023.4.1

Testing Checklist
Use/modify this checklist to capture the platform's core services that need to be manually tested .
Manual testing: core services
If the integration tests for all of the cloud providers are successful, that is a good sign!
However, the following core services still need to be manually validated (until we can automate them).
At minimum, the following services will need to be tested:

[x] Log into keycloak as root user

[x] Add a user

[x] Log into conda-store and create

[x] a conda environment in a shared namespace and,
[x] a conda environment in your personal namespace

[x] Launch dask-gateway cluster, test auto-scaler and

[x] Validate that the dask-labextention is working

[x] Create a basic CDS Dashboard
[x] Open VS-Code extension

[x] Add the Python extension
[x] Create a .py file and run it

These tests were performed on both a fresh AWS deployment and an existing GCP deployment.


Cutout transform, dropout, quantized distributions etc.

Make dropout rate configurable
Make weight decay configurable
Set training:validation split to 90:10
Use quantized uniform for ranges inside sweep.yaml
Pick the most likely class if none crosses the threshold
Allow inference on CPU with a GPU-trained model
Use grad-cam to generate class activation maps from the last
convolution layer
Move reporting to a separate notebook
Change EDA notebook to use seaborn

report.sh requires pip install grad-cam on the compute server (until we update the boot images)

Created code from Template (Kaggle = true), followed instructions from README file
Attached to a compute server and downloaded data
Ran eda.ipynb (took 3m22s).  Looks great.
Ran experiment

rsync: read errors mapping "/home/ubuntu/pr14/output/model.pth": No data available (61) (ide-service issue #579)

Ran report.sh.  Looks great.

Had to do "pip install grad-cam", as mentioned
Didn't check "Track Experiment" the first time (don't think results.html can be viewed)
Worth mentioning report.sh somewhere (maybe in the README file, and suggest checking "Track Experiment")?

Ran kaggle.ipnb on Kaggle (took 10m)

Included all 3 inputs files, turned off Internet, didn't select GPU
Submitted results: scored 0.63747 (431/625)

ah... good point about mentioning report.sh. I will add it to the README before merging this.


Build example error

Hi,
with the flag -DEXPECTED_LITE_OPT_BUILD_EXAMPLES=ON the build (gcc-7) produces following error
`expected-lite/include/nonstd/expected.hpp: In instantiation of ‘class nonstd::expected_lite::expected<required, char>’:
expected-lite/example/02-required.cpp:45:30:   required from here
expected-lite/include/nonstd/expected.hpp:1103:22: error: no type named ‘type’ in ‘struct std::enable_if<false, void*>’
nsel_constexpr14 expected( expected const & other
^~~~~~~~
expected-lite/include/nonstd/expected.hpp:1214:22: error: no type named ‘type’ in ‘struct std::enable_if<false, void*>’
nsel_constexpr14 expected( value_type const & value
^~~~~~~~
expected-lite/include/nonstd/expected.hpp:1378:5: error: no type named ‘type’ in ‘struct std::enable_if<false, nonstd::expected_lite::expected<required, char>&>’
operator=( expected const & other )
^~~~~~~~
expected-lite/include/nonstd/expected.hpp:1391:5: error: no type named ‘type’ in ‘struct std::enable_if<false, nonstd::expected_lite::expected<required, char>&>’
operator=( expected && other ) noexcept
^~~~~~~~
expected-lite/include/nonstd/expected.hpp:1469:5: error: no type named ‘type’ in ‘struct std::enable_if<false, void>’
swap( expected & other ) noexcept
^~~~
`
Trying to use it in project produces also the same error. I don't understand what could be the problem.

Thanks @crudine9 , example/02-required.cpp no longer compiles after changes to the implementation of expected.hpp to make it follow the proposal more strictly. I'll have to reconsider this example.

Think this can be closed.


Update supported Rust version to 1.51

Supersedes: #859
Description
On Rust 1.49, cargo build yields:
  --> relayer-cli/src/components.rs:92:10
   |
92 |         .reduce(|a, b| format!("{},{}", a, b))
   |          ^^^^^^ method not found in `std::iter::Map<std::slice::Iter<'_, &str>, [closure@relayer-cli/src/components.rs:91:14: 91:49]>`

For contributor use:

[ ] Updated the Unreleased section of CHANGELOG.md with the issue.
[ ] If applicable: Unit tests written, added test to CI.
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Updated relevant documentation (docs/) and code comments.
[ ] Re-reviewed Files changed in the Github PR explorer.

Codecov Report

Merging #860 (4739b0c) into master (615649a) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #860   +/-   ##
======================================
  Coverage    43.5%   43.5%
======================================
  Files         170     170
  Lines       12641   12641
======================================
  Hits         5507    5507
  Misses       7134    7134

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 615649a...4739b0c. Read the comment docs.


Make the README.md more useful in links to man page documentation

This patch will allow people who go to the github page to easily read
man pages.
Signed-off-by: Daniel J Walsh<EMAIL_ADDRESS>

Looks good

FWIW, I'm done picking.

@runcom @mrunalp Lets get this merged so we can get other pull requests to update README.md.

will merge once travis returns.

LGTM


Icon not showing

Describe the bug
A Icon is not visible in connect with us
To Reproduce
Steps to reproduce the behavior:

scroll to contact us section

Expected behavior
A clear and concise description of what you expected to happen.
There should be X Icon instead of blank space
Screenshots

Additional context
Add any other context about the problem here.

@ANSHIKA-26  please assign me this issue


[GLUTEN-3582][CH] Fix bug for decimal and float type

What changes were proposed in this pull request?
By fix issue caused by https://github.com/ClickHouse/ClickHouse/pull/68135,  I found the new parquet pageindex reader doesn't support decimal and float well, let's fix it.
(Fixes: #3582)
How was this patch tested?
New GlutenParquetV1FilterSuite2 suite is added for use_local_format parquet reader which support pageindex.

Run Gluten Clickhouse CI

Run Gluten Clickhouse CI

Run Gluten Clickhouse CI


Adding ashahab to org

Invite for @jlewi to add @ashahab to kubeflow github org.

This change is

@ashahab is contributing to fairing (see kubeflow/fairing#48).
/lgtm
/approve


New theme for site with front page mockup

We want a great theme and don't have one yet!
Tasks

[x] UX and concept slide deck
[x] Logo
[x] Front page mockup / site theme mockup

FIXED.


Update hands-on.mdx

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


CRITICAL:root:Cannot load caffe2.python.  After sudo make install, when I opened python and executed:
from caffe2.python import core

it throws the error stated in title. But when I do:
import caffe2 / import caffe2.python / from caffe2.python import *

it is not showing error.
Now the problem arises when I am trying to run a code where it requires core.
I have added the PYTHONPATH and LD_LIBRARY_PATH but still I am facing error. My colleague performed the exact same steps but he is not getting any error.
How can I solve this issue?

This looks like some sort of python mismatch to me. Python changed how it handled unicode and strings dramatically from python 2 to python 3, and many python errors that mention unicode are caused by this.
Was the python that was used at build time (with pybind11 in particular) the same python version you're using to run? Or does your PYTHONPATH have libraries on it that belong to a different python version?

@GuoLiuFang Can you run all the commands in my previous comment?

Extremely sorry for the late response.
@pjh5 I have only python 2.7 version installed in my system. I have performed exactly the same path as mentioned in the Caffe2 website.
@GuoLiuFang no. Still facing this error.

@GuoLiuFang @Tamoghna-Saha Can you please run these commands?
which python
python --version
echo $PYTHONPATH
echo $PATH
echo $LD_LIBRARY_PATH
I think I will be able to help you if you give me the output of my commands.

@pjh5 it is as follows.
$ which python
/usr/bin/python
$ python --version
Python 2.7.12
$ echo $PYTHONPATH
blank
$ echo $PATH
/home/tamoghnasaha/torch/install/bin:/home/tamoghnasaha/torch/install/bin:/home/tamoghnasaha/bin:/home/tamoghnasaha/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-openjdk-amd64/bin
$ echo $LD_LIBRARY_PATH
/home/tamoghnasaha/torch/install/lib:/home/tamoghnasaha/torch/install/lib:

@Tamoghna-Saha your default python is in /usr/bin, but you built Caffe2 with the python in /usr/local/ . Can you try this running /usr/local/bin/python (might be /usr/local/bin/python2 or /usr/local/bin/python2.7) and running Caffe2 inside of that?
Python searches for import statements in it's site-packages directory and also in PYTHONPATH. If your Caffe2 installation is in /usr/local, then python might not find it unless you set PYTHONPATH to /usr/local.
I also notice that your LD_LIBRARY_PATH is pointing to torch libraries. The LD_LIBRARY_PATH is what the dynamic linker searches to find runtime dependencies (along with other system default paths). Large libraries like protobuf or gflags are often runtime dependencies, so that only one copy needs to exist on your machine. With your LD_LIBRARY_PATH hardcoded to torch libraries, any other program you run that needs runtime dependencies will start to look for those dependencies in your torch libraries. This can be dangerous, as if you build a library with one version of some library, then it still may end up pulling in torch's different version of that library at runtime. I recommend only setting LD_LIBRARY_PATH when you need to, for example
LD_LIBRARY_PATH=/home/tamoghnasaha/torch/install/lib some_pytorch_command
will only set LD_LIBRARY_PATH during the duration of some_pytorch_command. If you need to set LD_LIBRARY_PATH for a long sequence of commands, then try calling export LD_LIBRARY_PATH=<whatever you need> when you start your shell, rather than putting that line in your .bashrc or .zshrc

@pjh5 i have the same errors, could help me! thanks
its the output of your commonds
chenandong@titanXp:~$ which python
/usr/bin/python
chenandong@titanXp:~$ python --version
Python 2.7.6
chenandong@titanXp:~$ echo $PYTHONPATH
/home/chenandong/ENet/caffe-enet/python:/home/chenandong/caffe2/build:/home/chenandong/ENet/caffe-enet/python:
chenandong@titanXp:~$ echo $PATH
/usr/local/cuda-8.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/openmpi/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/usr/local/openmpi/bin
chenandong@titanXp:~$ echo $LD_LIBRARY_PATH
:/usr/local/openmpi/lib/a:/usr/local/cuda-8.0/lib64:/usr/local/lib:/usr/local/openmpi/lib/a

You envirenment path must add:
export PATH="/home/xxxxx/anaconda3/bin:$PATH"
export PYTHONPATH="$PYTHONPATH:/home/xxxxx/pytorch/build"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"

Then if you run python caffe2/python/operator_test/activation_ops_test.py in pytorch file ,the error will happen because file conflict.You can run python python/operator_test/activation_ops_test.py in ~/pytorch/caffe2/ and will be sucess.


Make physics work on Vulkan branch

fix build
fix vertex accessors
fix mesh access for mesh collider

GearVRF DCO signed off by: Nola Donato<EMAIL_ADDRESS>

made a mess of it


FontAwesome 4.4 integration

Hi,
It's just to satisfay my curiosity, have you already planned integration FontAwesome v4.4 ?
(ow, I could make a pull request too, my first one :+1: )

See #2902 , PR would be accepted. Make sure to follow notes I mention in that thread.


graphs/charts, extremely WIP

TODO:

[ ] actually fetch panel config from HA
[ ] plot the data from the given entity (if there is one - I hope we already have it in HAEntities!)
[ ] subscribe (currently hacked out in a stupid way) to the  plotted entity so we can update
[ ] after, unavoidably, hardcoding, all kinds of behaviour, actually use the config for things
[ ] add the JS data generator/filter, using QuickJS (or something else, but QuickJS made sense when I looked around)

clang-format just suggested:
-  if(entity) entity->attach((IObserver*)this);
+  if (entity)
+    entity->attach((IObserver*)this);

and it (or tidy) should also enforce {} around the body

With this PR, we've realized that cards in HA can have/show data from multiple entities.
In the current state of the PR, this is 'hacked' to work by providing a nullptr to the parent constructor of the UIApexCard.
We never realized before that a HA Card can have multiple entities and this was a bit silly because lots of people use the entities card. For example:
type: entities
entities:
  - entity: light.master_bedroom_dimmer_2
    icon: mdi:ceiling-light
    name: Main lamp
    secondary_info: brightness
  - entity: switch.smart_meter_switch_master_bedroom
    secondary_info: none
    name: Small lamp
    icon: mdi:floor-lamp
  - entity: switch.0x847127fffed34d29_l1
    name: Socket 1
    icon: mdi:power-socket-uk
    secondary_info: last-changed
  - entity: switch.0x847127fffed34d29_l2
    icon: mdi:power-socket-uk
    secondary_info: last-updated
    name: Socket 2
  - entity: climate.0x50325ffffe770853
    icon: mdi:radiator-disabled
    name: Radiator valve
    secondary_info: last-updated
  - entity: light.esp_wakeup_1_neopixel_light
  - entity: light.wled
title: Master bedroom
state_color: false
footer:
  type: graph
  entity: sensor.ble_mon_2_037e_temperature
  detail: 2

In apexcharts, we also have examples like:
type: custom:apexcharts-card
header:
  show: true
  title: Electricity price forecast (in pence)
  show_states: false
show:
  last_updated: true
span:
  start: day
graph_span: 48h
apex_config:
  legend:
    show: false
  chart:
    zoom:
      type: x
      enabled: true
      autoScaleYaxis: false
    toolbar:
      show: true
      autoSelected: zoom
    xaxis.type: datetime
now:
  show: true
  label: now
yaxis:
  - id: current
    max: ~35
    min: ~0
  - id: next
    max: ~35
    min: ~0
    opposite: true
all_series_config:
  unit: p
  type: column
  stroke_width: 2
series:
  - entity: >-
      event.octopus_energy_electricity_16m0094068_1900026031712_current_day_rates
    data_generator: |
      return entity.attributes.rates.map((item) => {
        return [new Date(item.start), item.value_inc_vat * 100];
      });
    name: pence per kWh
    yaxis_id: current
  - entity: event.octopus_energy_electricity_16m0094068_1900026031712_next_day_rates
    data_generator: |
      return entity.attributes.rates.map((item) => {
        return [new Date(item.start), item.value_inc_vat * 100];
      });
    name: pence per kWh
    yaxis_id: next

This simply means that a card is not bound to one entity, and thus (for us) one uicomponent should not have one HAEntity.
The solution here would be to make a collection (vector/list/whatever) out of the HAEntity in our UIEntity base class.
This would have impact in a few places, but this can be handled. The observer pattern we use would now also benefit from understanding which HAentity called it. The construction of uicomponents would also have to change, as the constructor no longer receives one HAEntity (a create + add(haentity) might work well).


Update retrier.go

Added a new logic to handle the frequent case: "lite server error, code -503: timeout"

good, thank you!

Will merge to dev branch, will be released with next version, you can import it by commit hash for now.


StoreSpec is not defined in the docs

Where did you see the issue in our documentation?
https://docs.kurtosis.com/api-reference/starlark-reference/plan
Issue description
StoreSpec is mentioned on https://docs.kurtosis.com/api-reference/starlark-reference/plan, but there is no Starlark reference for it.

thanks for catching this @Dartoxian , going to schedule a docs cleanup cycle and to tackle this and some others


configuration should allow custom destination for generated types.

https://github.com/ckastbjerg/next-type-safe-routes/blob/e181640ec23c4eefad0b94e776c983a630281ab8/src/plugin/index.ts#L37
in our nextjs projects we write out other generated typescript .d.ts files for our gql schema under
apps/
  appname/
    __generated__/
     ts-gql/
       .*
    src/
      pages/
      components/
      services/
      etc/
      etc/
      etc/

we'd like to put our route types:
apps/
  appname/
    __generated__/
     next-type-safe-routes/
       .*
     ts-gql/
       .*
    src/
      pages/
      components/
      services/
      etc/
      etc/
      etc/

I have another reason this is a good idea - I would love to be able to reference valid paths from another project that has redirects/API access to my NextJS project, and I use a monorepo structure - so it would be super cool if the definitions could even be sent outside the project to such a subpackage, so that I can use the getRoute() helper fully outside of NextJS (rather than needing to have all of the NextJS project as a dependency).


Don't set GOOGLE_EXPERIMENTAL_NODEJS_NPM_BUILD_ENABLED by default

We've suddenly started seeing GOOGLE_EXPERIMENTAL_NODEJS_NPM_BUILD_ENABLED yesterday. Since then, Cloud Build w/ GAE has started running with NODE_ENV=development and caused npm run build to execute by default (breaking changes).
This commit seems to be the cause.
@anniefu How can we revert back/disable this behavior?

Warning: BOM table is deprecated in this buildpack api version, though it remains supported for backwards compatibility. Buildpack authors should write BOM information to <layer>.sbom.<ext>, launch.sbom.<ext>, or build.sbom.<ext>.
Warning: BOM table is deprecated in this buildpack api version, though it remains supported for backwards compatibility. Buildpack authors should write BOM information to <layer>.sbom.<ext>, launch.sbom.<ext>, or build.sbom.<ext>.
Warning: BOM table is deprecated in this buildpack api version, though it remains supported for backwards compatibility. Buildpack authors should write BOM information to <layer>.sbom.<ext>, launch.sbom.<ext>, or build.sbom.<ext>.
=== Node.js - Npm<EMAIL_ADDRESS>===
--------------------------------------------------------------------------------
Running "node -v"
v16.19.1
Done "node -v" (41.749213ms)
DEBUG: Current dependency hash: "eaf02f554ec7e71e044f4fa9036222c393618e748c3932ac0ed4b41002bc8c80"
DEBUG:   Cache dependency hash: "d3a7b1a978a9d7900e53ec257802fe9e2e6435216dd791cdb26c1f64e008e7ae"
DEBUG: ***** CACHE MISS: "npm_modules"
Installing application dependencies.
--------------------------------------------------------------------------------
Running "node -v"
v16.19.1
Done "node -v" (7.066094ms)
--------------------------------------------------------------------------------
Running "npm --version"
8.19.3
Done "npm --version" (427.512147ms)
--------------------------------------------------------------------------------
Running "npm ci --quiet (NODE_ENV=development)"
npm WARN skipping integrity check for git dependency<EMAIL_ADDRESS>npm WARN deprecated<EMAIL_ADDRESS>You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1

added 1392 packages, and audited 1393 packages in 57s

16 high severity vulnerabilities

To address issues that do not require attention, run:
  npm audit fix

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
Done "npm ci --quiet (NODE_ENV=development)" (57.454913521s)
--------------------------------------------------------------------------------
Running "cp --archive node_modules /layers/google.nodejs.npm/npm_modules/node_modules"
Done "cp --archive node_modules /layers/google.nodejs.npm/npm_modu..." (8.845788982s)
--------------------------------------------------------------------------------
Running "npm run build"

><EMAIL_ADDRESS>build
> NODE_OPTIONS=--max-old-space-size=4096 vite build

vite v4.1.1 building for production...
transforming...
✓ 15110 modules transformed.
rendering chunks...
Killed
Done "npm run build" (2m11.155397397s)
NOTE: Running the default build script can be skipped by passing the empty environment variable `GOOGLE_NODE_RUN_SCRIPTS=` to the build.
Failure: (ID: 1a2262f3) ><EMAIL_ADDRESS>build
> NODE_OPTIONS=--max-old-space-size=4096 vite build

vite v4.1.1 building for production...
transforming...
✓ 15110 modules transformed.
rendering chunks...
Killed
--------------------------------------------------------------------------------
Running "mv -f /builder/outputs/output-3370200833676305946 /builder/outputs/output"
Done "mv -f /builder/outputs/output-3370200833676305946 /builder/o..." (90.744224ms)
ERROR: failed to build: exit status 1

Hello, we made this change to support more common Node.js applications on various GCP platforms, though we recognize this may not work for everyone. There are a couple of options for workarounds:

GAE:  https://cloud.google.com/appengine/docs/standard/nodejs/release-notes#April_11_2023
GCF: https://cloud.google.com/functions/docs/release-notes
GCP Buildpacks: https://cloud.google.com/docs/buildpacks/nodejs#executing_custom_build_steps_during_deployment

The additional functionality seems very useful, but the switch of default from "production dependencies, no build" to "dev dependencies, try to run npm run build" - shouldn't the new behaviour be opt in not opt out?

Setting the environment variable did not work (set via app.yaml); adding the gcp-build improved things, but it then attempts to run npm start with a development node env again (which makes our particular app fail because the launch behaviour is, unsurprisingly, different in development mode than in production 🤦 ).
Is there some additional work required tell everything to run in production mode as it used to?
These are node 18 apps running in app engine flex.

We chose to make this the default behavior with the long term view that running npm run build is the more idiomatic behavior for Node.js users than our previous behavior of ignoring build scripts and requiring GCP-specific scripts or env vars. We did our best to try and announce the changes across the impacted platforms, though we apologize for the inconvenience.
By default, if the buildpack is going to run a script on behalf of the user, dependencies will be installed first. This is noted in https://cloud.google.com/docs/buildpacks/nodejs#executing_custom_build_steps_during_deployment

By default, when you configure custom build steps, both the dependencies and devDependencies in your package.json file are installed first before any scripts or commands are executed. To override the default behavior, you can use the NODE_ENV environment variable.

Using any of the workarounds to prevent running a script will prevent installing dependencies too.
For App Engine in particular, note that setting environment variables actually uses a colon instead of an equals sign. Sorry, that's a bit confusing in the release notes.
app.yaml
runtime: nodejs18

build_env_variables:
  GOOGLE_NODE_RUN_SCRIPTS: ""

Thanks; I missed these breaking changes, where would be the best place to sign up / follow / whatever to ensure I don't miss them in the future?

By default, when you configure custom build steps

The guidance here is misleading, because we have not configured any custom build steps, but this is happening anyway. Presumably "custom build steps" includes "having an npm build script" but that's not an obvious interpretation of the sentence!
Thanks for the additional advice.  I had just set them in the env_variables, I'll adjust to build_env_variables. Can confirm that adding a gcp-build script to package.json did also work as advertised.
Dev dependencies were still installed via npm ci with NODE_ENV=development but were later removed using npm prune --production so that seems reasonable; I guess you could infer that the build script isn't going to be run and avoid installing them in the first place as an optimisation.
So if we want to run in production mode we should be manually setting NODE_ENV to production in the env_variables (or the build_env_variables) as well now?

Checking back in, this is the update that gets us back to the old "install production dependencies, do not build stuff, launch app with NODE_ENV production" in app.yaml for a node 18 app in app engine flex.
build_env_variables:
  GOOGLE_NODE_RUN_SCRIPTS: ''
  NODE_ENV: production

Would very much appreciate info on where exactly to sign up to that we get advance notice of breaking changes like this in the future!

Setting this in our app.yaml got us back to the previous behavior:
build_env_variables:
    GOOGLE_NODE_RUN_SCRIPTS: ''

Thanks @anniefu!

We had to add the override to NODE_ENV as well, not entirely sure why but it looked like it was running npm start in the build stage for some reason (and we do things in npm start that depend on the NODE_ENV which fail without the dev dependencies installed).

Could be; we weren't setting anything, relying on the documented default behaviour in the past that it's production all the way through and so not setting anything. Works as it used to so long as we set it, but otherwise running additional steps that were surprising (e.g. not sure why we're seeing an npm start in the build step before it actually rolls out 🤷 ).
We've updated our apps to accommodate it but still not sure why the extra steps are required or why the default behaviour changed in such a breaking fashion.

@anniefu thanks, looking through what happened was that in the empty gcp-build version it ended up deploying in development mode as you described above. In our case that causes different (undesirable in production) behaviour (tries to launch with development features enabled, fails because the dependencies are not deployed to GAE).
It sounds like your fix to NODE_ENV above addresses this.
It seems like my NODE_ENV override is unnecessary then, I'll confirm!
In terms of breaking changes, checking in on release notes isn't really sufficient for an opt-out breaking change! It's fine for opt in, but there needs to be some sort of push channel for notifications where an absence of any action will result in things breaking. GAE has been very stable for us in general (thanks!) and so it's not realistic that we will be regularly checking in on the release notes on the off chance that breaking changes have suddenly turned up.

These changes also break the deployment of NextJS app using experimental:webframeworks.  I haven't gotten it to work again yet -- but will try to follow ^ steps.  posting because I've had a very frustrating day trying to figure out what I broke.

Where do I send the bill to google for time wasted on this?


Remove peter-murray/workflow-application-token-action

In:
https://github.com/ansys/pyfluent-parametric/blob/26bae8588e0075c0e4b301871f61fcc75385e460/.github/workflows/ci_cd.yml#L95C1-L101
It is not being used (no calls to the output of that step) and it is actually not needed for documentation deployment (you are using another token for that)

Also in the nightly doc build:
https://github.com/ansys/pyfluent-parametric/blob/26bae8588e0075c0e4b301871f61fcc75385e460/.github/workflows/nightly-doc-build.yml#L24C9-L29

Removed by PR #216


Add appveyor build

Cf: https://discourse.julialang.org/t/embedding-windows-binaries/3352
Using some link_directories and CMAKE_INSTALL_RPATH_USE_LINK_PATH I could get the build to work with libLLVM.
Now I have a windows-only issue with CxxWrap symbols....

Using some link_directories and CMAKE_INSTALL_RPATH_USE_LINK_PATH I could get the build to work with libLLVM.
Now I have a windows-only issue with CxxWrap symbols....

cc @barche

So CxxWrap appears not to be relocatable. When I install julia in a different directory than the one used by the CxxWrap CI producing the binaries it complains that C:/projects/julia/lib/libjulia.dll.a is missing.

True, the easiest way around this for now is to set the BUILD_ON_WINDOWS environment to 1 when installing CxxWrap for now.

Gotcha. Thanks. Quick question, is it really necessary to compile these, or could CxxWrap become header-only eventually?


Remove HTML safes

I rule and have completed some work on Case Manager that's ready for review!
Moves a bunch of stuff we were generating with HTML safe into content tags.
This pull request makes the following changes:

Does what it says on the label
Removes the cat picture from the welcome messages, since placekitten is busted

It relates to the following issue #s:

Fixes #885

Codecov Report

Merging #892 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #892      +/-   ##
==========================================
+ Coverage   97.99%   98.01%   +0.02%
==========================================
  Files          35       36       +1
  Lines         747      757      +10
==========================================
+ Hits          732      742      +10
  Misses         15       15

Impacted Files
Coverage Δ

app/helpers/welcome_message_helper.rb
100% <ø> (ø)
:white_check_mark:

app/helpers/pledges_helper.rb
100% <100%> (ø)

app/helpers/notes_helper.rb
100% <100%> (ø)
:white_check_mark:

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 97ff1f3...1191044. Read the comment docs.


[Feature Request] Line numbers for selectable results

Checklist

[X] I have read through the manual page (man fzf)
[X] I have searched through the existing issues
[ ] For bug reports, I have checked if the bug is reproducible in the latest version of fzf

Output of fzf --version
0.52.1 (0.52.1)
OS

[X] Linux
[ ] macOS
[ ] Windows
[ ] Etc.

Shell

[ ] bash
[X] zsh
[ ] fish

Problem / Steps to reproduce
I use a voice coding system and where possible it is most convenient to select results from a cli tui by specifying a line number representing the distance from the current cursor. These line numbers aren't related to the content of what is being found, but rather only related to what can be selected from arbitrary results.
I've looked through the man page, issues, and other discussion and afaict this isn't currently possible (happy to be wrong though). What I'm describing is something like what atuin currently supports, which is shown in this gif.
To give a non-gif example, currently if I fuzzy find current folders I'd get something like this:
❯ fdd
>                                                                          ╭─────────────────────────────────────────────────────────────────────────╮
  598/598 ──────────────────────────────────────────────────────────────── │ total 884                                                          1/10││
> .                                                                       ││ drwxr-xr-x  2 aa users   4096  7月 22 09:43 changelog                  ││
  ./changelog                                                              │ -rw-r--r--  1 aa users  43498  6月 11 17:37 CHANGELOG.md               ││
  ./patches                                                                │ -rw-r--r--  1 aa users    126  6月 11 17:37 CONTRIBUTING.md            ││
  ./fonts                                                                  │ drwxr-xr-x  5 aa users   4096  7月 22 18:44 cursorless.nvim            ││

And what I'd like is something like this:
❯ fdd
>                                                                          ╭─────────────────────────────────────────────────────────────────────────╮
  598/598 ──────────────────────────────────────────────────────────────── │ total 884                                                          1/10││
0 > .                                                                       ││ drwxr-xr-x  2 aa users   4096  7月 22 09:43 changelog                  ││
1   ./changelog                                                              │ -rw-r--r--  1 aa users  43498  6月 11 17:37 CHANGELOG.md               ││
2   ./patches                                                                │ -rw-r--r--  1 aa users    126  6月 11 17:37 CONTRIBUTING.md            ││
3   ./fonts                                                                  │ drwxr-xr-x  5 aa users   4096  7月 22 18:44 cursorless.nvim            ││

This would allow me to issue a voice command like pick three and it would automatically be able to go to the ./fonts entry.
An important requirement is also that the line numbers could update as you scroll, so for example if I pressed down, note that the indexes would change to the following:
❯ fdd
>                                                                          ╭─────────────────────────────────────────────────────────────────────────╮
  598/598 ──────────────────────────────────────────────────────────────── │ total 884                                                          1/10││
    .                                                                       ││ drwxr-xr-x  2 aa users   4096  7月 22 09:43 changelog                  ││
0 > ./changelog                                                              │ -rw-r--r--  1 aa users  43498  6月 11 17:37 CHANGELOG.md               ││
1   ./patches                                                                │ -rw-r--r--  1 aa users    126  6月 11 17:37 CONTRIBUTING.md            ││
2   ./fonts                                                                  │ drwxr-xr-x  5 aa users   4096  7月 22 18:44 cursorless.nvim            ││

This allows me to always know the distance I need to say in order to select a specific entry.
Is this possible already or if not could it be considered as a new feature?

So it's quite similar to relative line option of Vim.
The closest thing fzf can offer is the jump (or jump-accept) action you can bind to a key or event.
fzf --bind ctrl-j:jump

Hit CTRL-J to go into "jump" mode, and press a single-character index to go to a line.
Having said that, I don't use the feature as I find it more quicker to type in a few characters to the query to further narrow down the list and bring the most relevent item to the top position rather than moving my cursor upwards or downwards.

Thanks! That will be a good interim solution, although maybe a bit finicky still. I can automate it by having the voice command automatically enter jump mode after issuing the initial search. One quirk will be if the entry I want isn't already in the results, then I'd have to cancel out of jump mode to hone the results.

Having said that, I don't use the feature as I find it more quicker to type in a few characters to the query to further narrow down the list and bring the most relevant item to the top position rather than moving my cursor upwards or downwards.

Makes sense. When using voice for input it's often the opposite experience, it's often faster/easier to see the index you want to go in results and speak one command that automates pressing down N times and hitting enter, rather than dictate a couple different characters/words and then say enter, etc.
If I find time to take a stab at using jump mode as inspiration and adding something with line numbers (instead of characters) that can be displayed in the default result mode, would you consider accepting it?

I can automate it by having the voice command automatically enter jump mode after issuing the initial search. One quirk will be if the entry I want isn't already in the results, then I'd have to cancel out of jump mode to hone the results.

I can imagine a workflow where 1. you confirm that the entry you want is in the result, 2. say "jump" to trigger jump mode, 3. then say the label to pick the item. This doesn't seem that different from your initial suggestion. pick three vs jump d.

would you consider accepting it?

I'm not sure, to be honest. The rendering code is already very complicated due to the large number of options fzf currently has, and I'd like to avoid adding more options that affect the rendering of the list unless it's necessary.

Appreciate you taking the time to respond.

I can automate it by having the voice command automatically enter jump mode after issuing the initial search. One quirk will be if the entry I want isn't already in the results, then I'd have to cancel out of jump mode to hone the results.

I can imagine a workflow where 1. you confirm that the entry you want is in the result, 2. say "jump" to trigger jump mode, 3. then say the label to pick the item. This doesn't seem that different from your initial suggestion. pick three vs jump d.

So I think the distinction here only really comes to light when you use voice to control computer/keyboard I think. The important point is that by having the labels assigned to lines in advance I can immediately see my target and thus speak a single command 'pick three' in one utterance. In the jump case I'd have to first speak 'jump' (or whatever) to toggle the labels. But here I then have to wait for the voice system to recognjze and issue the spoken command, and only then the labels come up. Then I have to speak the target label and wait again for it to register via voice. A single spoken command is much more ergonomic when using voice. This is an accessibility problem that most people won't run into.
If instead of relative line numbers the jump labels had an option to just always be shown and then one could issue a single spoken command 'jump d' to actually trigger the jump then that would be equally as gold I think. If that's what you were implying then that sounds good to me too :D
I entirely agree when using keyboard this request isn't very useful, as two keystrokes to quickly trigger labels, hit label key, involves no real waiting.


ci: configure prettier + lint-staged

Prettier configuration to make consistent code formatting in the entire project
Description

none
Related Issue

The need for consistent code formatting
Motivation and Context

Writing code in a uniformly formatted code is much more convenient
How Has This Been Tested?

none
Screenshots (if appropriate):
none

hi @playerony
thanks for opening this PR, but we already have ESLint for code consistency, I don't think we need prettier or any tool that force your code into an opinionated version of it
what's the goal you want to archive with prettier that the current ESLint configuration doesn't provide?

hi @playerony thanks for opening this PR, but we already have ESLint for code consistency, I don't think we need prettier or any tool that force your code into an opinionated version of it
what's the goal you want to archive with prettier that the current ESLint configuration doesn't provide?

Basically it's more strict and does not make your IDE red like a Christmas tree. I'm a psychopath and it annoys me when an IDE doesn't fix quotes for me, doesn't control text length, and doesn't take care of spacing automatically every time I save a file. And secondly, for me, eslint is always used to catch bugs in the code and not necessarily used for its complete reformatting like a prettier. I can remove this if you do not want such a change :P

@playerony I see your point but you can archive the same goal by configuring your IDE to match the ESLint configuration and format your code accordingly on save.
ESLint also provides a --fix option in case you want to auto-format your code "all at once" (also configurable via your IDE).
Webstorm - for example - has a pretty solid integration with ESLint and so does VSCode.
I prefer not to have prettier to be honest (or as a general rule anything opinionated, for me was already a violence to port the entire library to typescript 😄) in this codebase because at the end of the day it is just a collection of very tiny React utilities and I don't see the point of having such a "big" structure or constraint
That said, I really appreciate your effort in making the codebase "yours", this is also what OpenSource is about :)
You're doing a nice job!


Unable to run any micropython in PyCharm for ESP32

I installed Python 3.9, PyCharm 2020.2.3CE, the micropython plug in.
My ESP32 board enumerates as COM4 on my Windows10 PC.
My project is setup for micropython, though I find it disturbing that there is no ESP32 choice, so I use ESP8266 as others seem to do for the ESP32 which is in the same family hardware-wise.  But can someone explain why that is not a bug?
I have studied posts here and saw virtually the same problems happened about four months and was closed as not repeatable.  My problem is 100% repeatable.  I noticed there was some discussion about maybe some other window was open and that stopped flashing but I have checked that thoroughly.  I have this same problem on two boards.
When I try to download, I always get:
Connecting to COM4
Uploading files: 0% (0/1)
E:\ ... \micro\main.py -> main.py
b'\x1b[0;32mI (2153) phy: phy_version: 329, Feb 22 2017, 15:58:07, 0, 0\x1b[0m\r\nI (2154) wifi: mode : softAP (10:52:1c:66:87:99)\r\nI (2157) wifi: mode : sta (10:52:1c:66:87:98) + softAP (10:52:1c:66:87:99)\r\nI (2160) wifi: mode : softAP (10:52:1c:66:87:99)\r\n'
Traceback (most recent call last):
File "C:\Users\wrewi\AppData\Roaming\JetBrains\PyCharmCE2020.2\plugins\intellij-micropython/scripts/microupload.py", line 139, in
main(sys.argv[1:])
File "C:\Users\wrewi\AppData\Roaming\JetBrains\PyCharmCE2020.2\plugins\intellij-micropython/scripts/microupload.py", line 79, in main
files.put(remote_path, fd.read())
File "E:\Data\Hobby\MotionAndLight\molifirmware\micro\venv\lib\site-packages\ampy\files.py", line 208, in put
self._pyboard.enter_raw_repl()
File "E:\Data\Hobby\MotionAndLight\molifirmware\micro\venv\lib\site-packages\ampy\pyboard.py", line 192, in enter_raw_repl
raise PyboardError('could not enter raw repl')
ampy.pyboard.PyboardError: could not enter raw repl

Make sure you have closed the REPL (Seems like you already know this but just make sure). Have you ever been able to upload code to the board or is this just after a fresh flashing of micropython?

Hi Andrey,Thank you for your message.  I really admire IntelliJ and JetBrains, and even more so given a person of your stature should reach out to me for feedback.
I do not want to waste your time, so I am reinstalling PyCharm with the Micropython plug-in, and will check a few things before providing what I hope is accurate information.   I promise not to abuse this opportunity by hassling you with emails.
Thanks,Bill Ewing
On Sunday, November 1, 2020, 9:13:01 PM PST, jdjjm<EMAIL_ADDRESS>wrote:

Make sure you have closed the REPL (Seems like you already know this but just make sure). Have you ever been able to upload code to the board or is this just after a fresh flashing of micropython?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi Andrey,My feedback below.Best regards,Bill Ewing

If there was just one bit of feedback I could convey, it would be: I wish PyCharm worked like uPyLoader.  Although it is an exceedingly simple app, uPyLoader makes everything transparent.  It is very clear what files are in the device and transfers them in either direction with no drama.  It just works.  It will never have an editor or refactoring like PyCharm, but what it does, it does well.  Also, their FAQ is exemplary because it goes into problems that are not their fault.  Please take a look at:
https://forum.micropython.org/viewtopic.php?t=2245

After Run, Run... , the Stop menu is disabled.  The way I can find to stop is to close the Local window, getting a "do you want to terminate..." message.  This seems strange, am I missing something?  Does the Stop menu/button ever work?

After Run, Run...  we get messages about connecting to COMx, ... , Soft reboot.  This is great, but other products put us into a useful (REPL) window where we can see things printed, etc.  Is this actually missing from PyCharm?  May I suggest in Run Configuration that there be checkbox options to put us into REPL?

Often, after clicking on Tools, Micropython, Micropython REPL, we get messages like:
   Device path COM4
   Found the device, but could not connect via port 'COM4': could not open port 'COM4':
       PermissionError(13, 'Access is denied.', None, 5)
   I'm not sure what to suggest. :-(

Workarounds for this are awkward and strange, and erode my team's confidence in PyCharm.  Couldn't PyCharm figure out what the user wants and do something smart?  We do not have any other programs using the COM port.  We told PyCharm what port to use and then it effectively crashes when we click on something that is not disabled.  This is an eggregious design flaw.
It is a sad day for software developers when we tell users to disconnect/reconnect USB.  And yet, we now use switches that open/close +5V in the USB cable that connects an ESP32 to my PC, and this helps.

In Settings, Languages & Frameworks, MicroPython, Device type... we would like to suggest 'ESP8266' be changed to include 'ESP32', or perhaps better, make 'ESP32' a new device type (even if it is, at least for now, the same as the 8266 as far as PyCharm is concerned).

In the Edit Configurations dialog, the Fix button appears and invokes installation of needed packages.  Very nice feature!  I would like to suggest that the Fix button disappear after fixes are successfully installed.

Before I tried PyCharm and Micropython, I viewed the only tutorial available.  It warned me that the "Auto-detect device path" feature would not work.  Months later, it still does not work.  I think the person who wrote the tutorial may be a JetBrains employee.  It is easy enough to figure out what COM port to use, but this is another point of confidence erosion.  Maybe you should remove the automatic stuff.  As a Java developer I would like to tell you how much happier my team is after we changed from the loathsome RxTx to jSerialComm.  Our handling of serial comm problems went from dumb to pretty good.
https://fazecast.github.io/jSerialComm/
On Monday, November 2, 2020, 11:15:33 AM PST, Bill Ewing<EMAIL_ADDRESS>wrote:

Hi Andrey,Thank you for your message.  I really admire IntelliJ and JetBrains, and even more so given a person of your stature should reach out to me for feedback.
I do not want to waste your time, so I am reinstalling PyCharm with the Micropython plug-in, and will check a few things before providing what I hope is accurate information.   I promise not to abuse this opportunity by hassling you with emails.
Thanks,Bill Ewing
On Sunday, November 1, 2020, 9:13:01 PM PST, jdjjm<EMAIL_ADDRESS>wrote:

Make sure you have closed the REPL (Seems like you already know this but just make sure). Have you ever been able to upload code to the board or is this just after a fresh flashing of micropython?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Keep in mind this is not an Officially Supported Feature of PyCharm but rather just a JetBrains employee that was nice enough to create the micropython plugin. Also I am not @vlasovskikh, I am just another user of the plugin. If you look at the issue in browser instead of through your email, it may be easier for you to see everything and reply (Email formatting can be a bit messy).
Here is a link : https://github.com/vlasovskikh/intellij-micropython/issues/123
That being said, If there is a specific feature that you would like to see added, submit a new issue with the idea and it can be discussed and @vlasovskikh can decide if it should be implemented. Or even better... implement it yourself and submit a PR. Like I said earlier this is not an offical PyCharm product so no one is being paid to work on this, which is why community development is essential if you want to see the plugin grow.
Regarding 2. I do not fully understand what you mean but keep in mind when you Click Run on a MicroPython Configuration it calls a script to upload your code to a micropython enabled device. This means the stop button can only be clicked when the code is being uploaded. Once the code is uploaded the stop button cannot be pressed because the script has terminated after it did its job. In your case the ESP32 is now running the code, not PyCharm, after uploading (hence no stop button).
Regarding 3. see #83
In regards to 4. the access denied error usually happens when something else is already connected on a specific com port. For example... you already have another REPL window open, or a different serial connection, or code is being uploaded etc. Also make sure you are not using uPyLoader at the same time. Doing that will also give the error.
For point 5 see #44
Regarding 7. The auto detect does work on certain boards. I use it personally (On windows) and it works great. It will depend on the USB Chip on the device whether or not the script can find it. But there is a checkbox for auto path for a reason. If its not working for you just don't use auto detect and just set one manually. Also (Assuming your using windows) go to Device Manager then choose the Com port driver that appears when the device is connected. In this dialog go to Details, then change the property to Hardware IDs. This should give you a value with a VID number and a PID number. If you have different values to any of the following pairs, then you can let me know and I can create a PR to add your device to the list of ones it scans for.
0x1A86, 0x7523
0x10C4, 0xEA60
0x0403, 0x6001
Also for future reference probably don't give feedback in this format. If you have feedback, create issues on GitHub about specific things you want to see implemented. It just makes life easier for everyone if things are structured and each issue is about one topic only 😄. Also before you post ideas make sure a similar GitHub issue doesn't already exist because there are quite a few ideas already.
Regarding your original issue, you never supplied any information regarding the questions I asked. Is this still an issue? Can you upload any code to the device? Have you tried erasing the flash of the ESP32 and re-flashing micropython with esptool and then trying to upload again?


[ISSUE #457] message ack problem in retry or repush by closeSession

Fixes ISSUE#<457>.
Motivation
Fix the ack problem, when msg is downstreamed in retry or repush by closeSession
Modifications

When retry or repush, put the msg in unAckMap of rechoosed session before downstreaming the msg.
Log optimization in messageAckTask.java

Codecov Report

Merging #459 (368c478) into develop (4eaebde) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             develop    #459      +/-   ##
============================================
- Coverage       9.84%   9.84%   -0.01%
  Complexity       283     283
============================================
  Files            228     228
  Lines          10829   10832       +3
  Branches         923     924       +1
============================================
  Hits            1066    1066
- Misses          9666    9669       +3
  Partials          97      97

Impacted Files
Coverage Δ

...ol/tcp/client/group/ClientSessionGroupMapping.java
0.00% <0.00%> (ø)

...client/session/push/retry/EventMeshTcpRetryer.java
0.00% <0.00%> (ø)

.../core/protocol/tcp/client/task/MessageAckTask.java
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Add loaders on impact page

so

the value is not zero until fetched from all chains
the first purchase date is something before it loads

to review

nixt weixk


Towards a full-blown builtins DSL (part 3)

Pull Request Description
Auto-generate all builtin methods for builtin File type from method signatures.
Additionally, support for specializations for overloaded and non-overloaded methods is added.
Coverage can be tracked by the number of hard-coded builtin classes that are now deleted.
Important notes
Notice how type File now lacks prim_file field and we were able to get rid off all of those
propagating method calls without writing a single builtin node class.
Checklist
Please include the following checklist in your PR:

[ ] The documentation has been updated if necessary.
[x] All code conforms to the
Scala,
Java,
and
Rust
style guides.
All code has been tested:

[ ] Unit tests have been written where possible.
[ ] If GUI codebase was changed: Enso GUI was tested when built using BOTH
./run.sh ide dist and ./run.sh ide watch.

Added a ton of documentation. Should be much clearer what specific annotations are capable of. Also, compared to the initial submission, get rid of more handwritten classes using the new DSL.