FR: add the run program option

This feature is only about build, isn't it? How to run the compiled program? Geany has a button to run the compiled program.

Yes, only build. The run program option will be added when the debugger plugin is implemented. I understand that in your case this would be useful because you don't have access to the console, so it could be handy for you.

Originally posted by @SpartanJ in https://github.com/SpartanJ/ecode/discussions/155#discussioncomment-8920222

Added a very simple Run step to the Build Settings. It will be improved in the future but this is enough for the moment.

Default keybinding to execute the program is F5, or you can use the command palette, look for: "Project run executable".

There are only Build and Clean buttons. What about adding Run button and Build and Run button?

I tested the run feature. I have the executable in the same directory as the source file. In Run, I set the command to be ${current_doc_name}.exe. Because there is no Run button so I pressed F5 as you said, but I saw nothing.

Maybe enable the Execute in terminal checkbox? If it's a terminal app you won't see anything unless you request to open it with a terminal. Currently it does not display the std out of the process anywhere (it will be added later).

Maybe enable the Execute in terminal checkbox? If it's a terminal app you won't see anything unless you request to open it with a terminal. Currently it does not display the std out of the process anywhere (it will be added later).

If I check the Execute in terminal checkbox, I do see something. A Windows PowerShell window popped up but closed almost immediately, and the dialog from ecode said, This feature is not supported in this operating system'. If I click OK, the Windows PowerShell window shows up again, but it doesn't run my program. It's only an empty prompt that opened in eepp\bin` (which, of course, is not the directory that contains my source file and executable).

The second part is wrong, I'll fix that (I mean, the second powershell shouldn't open). But the first part probably just run your application and you application closes intermediately so powershell will close automatically after the process ends. Everything is weird for you because it's not using the internal terminal because it's not available.
If you have the ecode source available and your building, probably what you want is to powershell to keep open after the process ends, please try the following change in ecode source:
src/tools/ecode/terminalmanager.cpp line 296, replace the " /c " in favor of " /k ", that should keep it open.

Geany uses an external terminal emulator to launch the program (cmd.exe in Windows), and they always make it wait for the user to enter a key to continue like this:
program out put

------------------
(program exited with code: 0)

Press any key to continue . . .

If you have the ecode source available and your building, probably what you want is to powershell to keep open after the process ends, please try the following change in ecode source: src/tools/ecode/terminalmanager.cpp line 296, replace the " /c " in favor of " /k ", that should keep it open.

What's the point of this? It will keep open, and I will have to type exit to quit it.

I have no idea how it behaves, I was asking you to test it and to see if it was the same result than in Geany. Let's find out what command arguments is using Geany and just copy them.

I have no idea how it behaves, I was asking you to test it and to see if it was the same result than in Geany. Let's find out what command arguments is using Geany and just copy them.

I don't know anything about the internals of Geany. I used to use CodeBlocks and it does the same as Geany. I don't know how CodeBlocks does this, either. But it seems you will need a launcher, like this:
https://github.com/royqh1979/RedPanda-CPP/tree/master/tools/consolepauser

I don't know anything about the internals of Geany.

Me neither but it's easy to check this particular thing, you just need to investigate the command used, so:

They seem to use a bat file to do that "magic".
The bat file they generate is:
REM USAGE: geany-run-helper DIRECTORY AUTOCLOSE COMMAND...

REM unnecessary, but we get the directory
cd %1
shift
REM save autoclose option and remove it
set autoclose=%1
shift

REM spawn the child
REM it's tricky because shift doesn't affect %*, so hack it out
REM https://en.wikibooks.org/wiki/Windows_Batch_Scripting#Command-line_arguments
set SPAWN=
:argloop
if -%1-==-- goto argloop_end
	set SPAWN=%SPAWN% %1
	shift
goto argloop
:argloop_end
%SPAWN%

REM show the result
echo:
echo:
echo:------------------
echo:(program exited with code: %ERRORLEVEL%)
echo:

REM and if wanted, wait on the user
if not %autoclose%==1 pause

So basically I'll have to implement that trick if we want the same behaviour, a PITA to be honest.

a PITA to be honest.

Frankly speaking, I can live without this feature.

The second part is wrong, I'll fix that (I mean, the second powershell shouldn't open). But the first part probably just run your application and you application closes intermediately so powershell will close automatically after the process ends. Everything is weird for you because it's not using the internal terminal because it's not available.

I modified my code so the program will wait for me to enter a key before quitting. The result is still the same!

I ended up implementing it anyway, so you shouldn't need the hack anymore, also made some other fixes. It now uses the same utility script than Geany, so it will behave exactly the same.

I have tested the latest code. Now I see nothing when I click the Run button.

For unknown reasons, this combined with build/run feature doesn't work for me. I always got Build run with errors. But it doesn't show any errors, so I have no idea what's going on. The very same command works fine in Windows Command Prompt.
Update 1: I solved it by splitting the arguments from the command. Now the build feature works.
Update 2: I tested the run feature. I have the executable in the same directory as the source file. In Run, I set the command to be ${current_doc_name}.exe. Because there is no Run button so I pressed F5 as you said, but I saw nothing.

Update 3: Now F5 is no longer Run but Build. Press F5 and it will try to build.

F5 is now build and run. I added a new command for that because it's more practical.

F5 is now build and run. I added a new command for that because it's more practical.

So Run is broken for me, because I don't see the compiled program running with either F5 or Run button.

How to correctly run the compiled program? I have the executable in the same directory as the source file. In Run, I set the command to be ${current_doc_name}.exe.

Mh that's because ${current_doc_name} is only for build commands, but let me add it.

Currently it does not display the std out of the process anywhere (it will be added later).

Please add it. Currently I only see The process "g++" exited normally.

Done:
https://github.com/SpartanJ/ecode/assets/650416/5e257f81-adf2-4484-a7cc-fd513dcd70ce

Done:
2024-04-25_14-25-51.mp4

I still see nothing.

I have pulled the latest code but I still see nothing. There is no Command Prompt window popped up. Note: I already have Execute in terminal checked.

Please share you logs.

Please share you logs.

I checked ecode.log. There is only information about the LSP server clangd, but nothing related to build or run.

If you click the button "Run" nothing is logged? (not the shortcut)

If you click the button "Run" nothing is logged? (not the shortcut)

Yes.

Show me your config file please, it's in the ".ecode" folder.

Show me your config file please, it's in the ".ecode" folder.

When I click the Run button, there is no Command Prompt window popping up, and there is also nothing shown in the Build tab. I'm using ecode in portable mode, so ecode.log is in eppp/bin/config.
Here you are:
2024-04-26 00:57:55 - INFO: eepp initialized
2024-04-26 00:57:55 - INFO: C:\msys64\home\Administrator\eepp\bin\config\config.cfg loaded in 0.07ms
2024-04-26 00:57:55 - INFO: C:\msys64\home\Administrator\eepp\bin\config\state.cfg loaded in 0.02ms
2024-04-26 00:57:55 - INFO: Plugin: Auto Complete loaded and ready from process 4956
2024-04-26 00:57:55 - INFO: Plugin: Linter loaded and ready from process 4956
2024-04-26 00:57:55 - INFO: Plugin: XML Tools loaded and ready from process 4956
2024-04-26 00:57:55 - INFO: Plugin: Auto Formatter loaded and ready from process 4956
2024-04-26 00:57:55 - INFO: Plugin: LSP Client loaded and ready from process 4956
2024-04-26 00:57:55 - INFO: Plugin: Git loaded and ready from process 4956
2024-04-26 00:57:55 - INFO: Engine Initialized Succesfully.
	Version: eepp version 2.7.2 (codename: "Kāla")
	Build time: Apr 25 2024 14:36:43
	Platform: Windows
	OS: Microsoft Windows 8.1
	Arch: x64
	CPU Cores: 4
	Process Path: C:\msys64\home\Administrator\eepp\bin\
	Current Working Directory: C:\msys64\home\Administrator\eepp\bin
	Disk Free Space: 89.28 GiB
	Window/Input Backend: SDL 2.30.2
	GL Backend: OpenGL 2
	GL Vendor: Intel
	GL Renderer: Intel(R) HD Graphics 4600
	GL Version: 4.3.0 - Build <IP_ADDRESS>80
	GL Shading Language Version: 4.30 - Build <IP_ADDRESS>80
	Resolution: 1680x973
2024-04-26 00:57:55 - INFO: ecode version 0.5.2 (codename: "Ākāśa") initializing
2024-04-26 00:57:55 - INFO: Window creation took: 63.35 ms
2024-04-26 00:57:55 - INFO: C:\msys64\home\Administrator\eepp\bin\config\keybindings.cfg loaded in 0.44ms
2024-04-26 00:57:55 - INFO: StyleSheet loaded in: 4.449 ms.
2024-04-26 00:57:55 - INFO: StyleSheet loaded in: 0.029 ms.
2024-04-26 00:57:55 - INFO: Syntax definitions loaded in 4.26 ms.
2024-04-26 00:57:55 - INFO: StyleSheet loaded in: 1.441 ms.
2024-04-26 00:57:55 - INFO: Texture ID 1 loaded in 1.687 ms.
2024-04-26 00:57:55 - INFO: Texture ID 2 loaded in 0.851 ms.
2024-04-26 00:57:55 - INFO: Texture ID 3 loaded in 1.397 ms.
2024-04-26 00:57:55 - INFO: Texture ID 4 loaded in 0.891 ms.
2024-04-26 00:57:55 - INFO: Texture ID 5 loaded in 0.932 ms.
2024-04-26 00:57:55 - INFO: Texture ID 6 loaded in 0.839 ms.
2024-04-26 00:57:55 - INFO: Texture ID 7 loaded in 0.917 ms.
2024-04-26 00:57:55 - INFO: Texture ID 8 loaded in 0.476 ms.
2024-04-26 00:57:55 - INFO: Texture ID 9 loaded in 0.495 ms.
2024-04-26 00:57:55 - INFO: Texture ID 10 loaded in 0.459 ms.
2024-04-26 00:57:55 - INFO: Color Schemes loaded in 0.53ms.
2024-04-26 00:57:55 - INFO: SyntaxDefinitionManager loaded custom languages in: 0.04 ms
2024-04-26 00:57:55 - INFO: Terminal Color Schemes loaded in 0.23ms.
2024-04-26 00:57:55 - INFO: Base UI took: 105.41 ms
2024-04-26 00:57:55 - INFO: Texture ID 11 loaded in 0.391 ms.
2024-04-26 00:57:55 - INFO: Texture ID 12 loaded in 0.858 ms.
2024-04-26 00:57:55 - INFO: Texture ID 13 loaded in 0.097 ms.
2024-04-26 00:57:55 - INFO: Texture ID 14 loaded in 0.197 ms.
2024-04-26 00:57:55 - INFO: Settings Menu took: 45.23ms
2024-04-26 00:57:55 - INFO: Texture ID 15 loaded in 1.439 ms.
2024-04-26 00:57:55 - INFO: Texture ID 16 loaded in 0.556 ms.
2024-04-26 00:57:55 - INFO: Texture ID 17 loaded in 0.504 ms.
2024-04-26 00:57:55 - INFO: Complete UI took: 157.88 ms
2024-04-26 00:57:55 - INFO: StyleSheet loaded in: 0.313 ms.
2024-04-26 00:57:55 - INFO: Texture ID 18 loaded in 4.333 ms.
2024-04-26 00:57:55 - INFO: Texture ID 19 loaded in 0.199 ms.
2024-04-26 00:57:55 - INFO: Texture ID 20 loaded in 0.205 ms.
2024-04-26 00:57:55 - INFO: Texture ID 21 loaded in 0.298 ms.
2024-04-26 00:57:55 - INFO: Init ProjectTreeView took: 168.59 ms
2024-04-26 00:57:55 - INFO: First update took: 202.16 ms
2024-04-26 00:57:55 - INFO: First frame took: 242.00 ms
2024-04-26 00:57:55 - INFO: App Ready
2024-04-26 00:57:57 - INFO: Loading DirTree: C:\msys64\home\Administrator\test\
2024-04-26 00:57:57 - INFO: C:\msys64\home\Administrator\eepp\bin\config\projects\b0814221b60bfdddfef90b8dc9966a19.cfg loaded in 0.03ms
2024-04-26 00:57:57 - INFO: Load project took: 1.46 ms
2024-04-26 00:57:57 - INFO: DirTree read in: 7.75ms. Found 5 files.
2024-04-26 00:57:57 - INFO: Document "C:\msys64\home\Administrator\test\test.cpp" loaded in 0.22ms.
2024-04-26 00:57:57 - INFO: Texture ID 22 loaded in 2.158 ms.
2024-04-26 00:57:57 - INFO: LSPClientServer server clangd calling initialize
2024-04-26 00:57:57 - INFO: LSPClientServer server clangd calling initialized
2024-04-26 00:57:57 - INFO: LSPClientServer server clangd calling textDocument/didOpen file:///c:/msys64/home/Administrator/test/test.cpp
2024-04-26 00:57:57 - INFO: LSPClientServer server clangd calling textDocument/documentSymbol file:///c:/msys64/home/Administrator/test/test.cpp
2024-04-26 00:57:57 - INFO: LSPClientServer server clangd calling textDocument/semanticTokens/full file:///c:/msys64/home/Administrator/test/test.cpp
2024-04-26 00:57:58 - INFO: LSPClientServer server clangd calling result for id 0
2024-04-26 00:57:58 - INFO: LSPClientServer::publishDiagnostics: file:///c:/msys64/home/Administrator/test/test.cpp - returned 0 items
2024-04-26 00:58:02 - INFO: Texture ID 23 loaded in 14.257 ms.
2024-04-26 00:58:02 - ERROR: Failed to create pseudo terminal
2024-04-26 00:58:03 - INFO: LSPClientServer server clangd calling textDocument/hover file:///c:/msys64/home/Administrator/test/test.cpp
2024-04-26 00:58:07 - INFO: LSPClientServer server clangd calling textDocument/hover file:///c:/msys64/home/Administrator/test/test.cpp
2024-04-26 00:58:08 - INFO: LSPClientServer server clangd calling textDocument/hover file:///c:/msys64/home/Administrator/test/test.cpp
2024-04-26 00:58:14 - INFO: LSPClientServer server clangd calling textDocument/hover file:///c:/msys64/home/Administrator/test/test.cpp
2024-04-26 00:58:20 - INFO: LSPClientServer server clangd calling textDocument/hover file:///c:/msys64/home/Administrator/test/test.cpp
2024-04-26 00:59:36 - INFO: LSPClientServer server clangd calling textDocument/hover file:///c:/msys64/home/Administrator/test/test.cpp
2024-04-26 01:01:00 - INFO: LSPClientServer:shutdown: clangd
2024-04-26 01:01:00 - INFO: LSPClientServer server clangd calling shutdown
2024-04-26 01:01:00 - INFO: LSPClientServer server clangd calling exit
2024-04-26 01:01:00 - INFO: eepp stoped

As you can see, there is only information about the LSP client clangd but nothing about build or run.

I meant the file located at: C:\msys64\home\Administrator\test\.ecode\project_build.json.
The line: ERROR: Failed to create pseudo terminal is suspicious, the Run command should skip that for you.

Here you are:
{
  "test": {
    "build": [
      {
        "args": "${current_doc}",
        "command": "g++",
        "working_dir": ""
      }
    ],
    "build_types": [],
    "clean": [
      {
        "args": "",
        "command": "",
        "working_dir": ""
      }
    ],
    "config": {
      "clear_sys_env": false
    },
    "os": [],
    "output_parser": {
      "config": {
        "relative_file_paths": true
      }
    },
    "run": [
      {
        "args": "",
        "command": "${current_doc_name}.exe",
        "name": "",
        "run_in_terminal": true,
        "working_dir": "${project_root}"
      }
    ]
  }
}

Your build command is wrong. If build fails it wont run.
Replace your build arguments with:
-o ${current_doc_name}.exe ${current_doc}

Your build output tells you that it succeeded? Can you show me the whole Build output?

Your build output tells you that it succeeded? Can you show me the whole Build output?

Stripped the date and time:
Running steps for project test...
Starting g++ -o test.exe C:\msys64\home\Administrator\test\test.cpp
Working Dir C:\msys64\home\Administrator\test\
The process "g++" exited normally.
Elapsed Time: 439.79ms.
Build run successfully

Btw, I always have the executable named test.exe because I build it manually with g++ on Command Prompt (outside of ecode).

In your ecode config path, it's this file: ecode/config/scripts/ecode-run-helper.bat?

In your ecode config path, it's this file: ecode/config/scripts/ecode-run-helper.bat?

No. I don't have this file. I do git pull and build the latest code with make config=release_x86_64 -C make/windows ecode -j4. My ecode config is predating the change you made to include ecode-run-helper.bat.

The file is auto-generated on the fly when you execute the "Run" command. But it's not being generated something is going wrong. But if the file fails it should be falling back to the old method of opening cmd.exe directly.
Please try this build, I added several logs so I can know what's happening. Also you could try to disable the "Run in terminal" flag, to see how it does behave. It might be an issue with the fact that I slightly changed the "Run" configuration format and maybe you need to recreate the Build configuration from zero.
ecode-windows-0.5.2-x86_64.zip

project_build.json
{
  "New Name": {
    "build": [
      {
        "args": "-o ${current_doc_name}.exe ${current_doc}",
        "command": "g++",
        "working_dir": ""
      }
    ],
    "build_types": [],
    "clean": [
      {
        "args": "",
        "command": "",
        "working_dir": ""
      }
    ],
    "config": {
      "clear_sys_env": false
    },
    "os": [],
    "output_parser": {
      "config": {
        "relative_file_paths": true
      }
    },
    "run": [
      {
        "args": "",
        "command": " ${current_doc_name}.exe",
        "name": "Custom Executable",
        "working_dir": ""
      }
    ]
  }
}

Build:
Running steps for project New Name...
Starting g++ -o test.exe C:\Users\Administrator\Downloads\test\test.cpp
Working Dir C:\Users\Administrator\Downloads\test\
The process "g++" exited normally.
Elapsed Time: 1s.
Build run successfully

Run with Run in terminal unchecked:
Starting  test.exe
Working Dir C:\Users\Administrator\Downloads\test\
Elapsed Time: 1.13ms.
Run with errors

Run with Run in terminal checked:
Success! But nothing is shown on Build tab.
ecode.log
2024-04-26 01:57:24 - INFO: eepp initialized
2024-04-26 01:57:24 - INFO: Plugin: Auto Complete loaded and ready from process 4328
2024-04-26 01:57:24 - INFO: Plugin: Auto Formatter loaded and ready from process 4328
2024-04-26 01:57:24 - INFO: Plugin: Linter loaded and ready from process 4328
2024-04-26 01:57:24 - INFO: Plugin: LSP Client loaded and ready from process 4328
2024-04-26 01:57:24 - INFO: Plugin: Git loaded and ready from process 4328
2024-04-26 01:57:24 - INFO: Engine Initialized Succesfully.
	Version: eepp version 2.7.2 (codename: "Kāla")
	Build time: Apr 25 2024 14:23:06
	Platform: Windows
	OS: Microsoft Windows 8.1
	Arch: x64
	CPU Cores: 4
	Process Path: C:\Users\Administrator\Downloads\ecode\
	Current Working Directory: C:\Users\Administrator\Downloads\ecode
	Disk Free Space: 89.22 GiB
	Window/Input Backend: SDL 2.26.2
	GL Backend: OpenGL 2
	GL Vendor: Intel
	GL Renderer: Intel(R) HD Graphics 4600
	GL Version: 4.3.0 - Build <IP_ADDRESS>80
	GL Shading Language Version: 4.30 - Build <IP_ADDRESS>80
	Resolution: 1280x720
2024-04-26 01:57:24 - INFO: ecode version 0.5.2 (codename: "Ākāśa") initializing
2024-04-26 01:57:24 - INFO: Window creation took: 53.19 ms
2024-04-26 01:57:24 - INFO: Texture ID 1 loaded in 1.655 ms.
2024-04-26 01:57:24 - INFO: Texture ID 2 loaded in 0.943 ms.
2024-04-26 01:57:24 - INFO: Texture ID 3 loaded in 1.474 ms.
2024-04-26 01:57:24 - INFO: Texture ID 4 loaded in 1.337 ms.
2024-04-26 01:57:24 - INFO: StyleSheet loaded in: 4.919 ms.
2024-04-26 01:57:24 - INFO: StyleSheet loaded in: 0.031 ms.
2024-04-26 01:57:24 - INFO: Syntax definitions loaded in 5.28 ms.
2024-04-26 01:57:24 - INFO: StyleSheet loaded in: 1.521 ms.
2024-04-26 01:57:24 - INFO: Texture ID 5 loaded in 1.265 ms.
2024-04-26 01:57:24 - INFO: Texture ID 6 loaded in 0.499 ms.
2024-04-26 01:57:24 - INFO: Texture ID 7 loaded in 1.221 ms.
2024-04-26 01:57:24 - INFO: Texture ID 8 loaded in 0.879 ms.
2024-04-26 01:57:24 - INFO: Texture ID 9 loaded in 0.798 ms.
2024-04-26 01:57:24 - INFO: Texture ID 10 loaded in 0.727 ms.
2024-04-26 01:57:24 - INFO: Texture ID 11 loaded in 0.812 ms.
2024-04-26 01:57:24 - INFO: Texture ID 12 loaded in 0.510 ms.
2024-04-26 01:57:24 - INFO: Texture ID 13 loaded in 0.769 ms.
2024-04-26 01:57:24 - INFO: Texture ID 14 loaded in 0.699 ms.
2024-04-26 01:57:24 - INFO: Color Schemes loaded in 0.53ms.
2024-04-26 01:57:24 - INFO: SyntaxDefinitionManager loaded custom languages in: 0.06 ms
2024-04-26 01:57:24 - INFO: Terminal Color Schemes loaded in 0.23ms.
2024-04-26 01:57:24 - INFO: Base UI took: 98.88 ms
2024-04-26 01:57:24 - INFO: Texture ID 15 loaded in 1.192 ms.
2024-04-26 01:57:24 - INFO: Texture ID 16 loaded in 1.369 ms.
2024-04-26 01:57:24 - INFO: Texture ID 17 loaded in 0.094 ms.
2024-04-26 01:57:24 - INFO: Texture ID 18 loaded in 0.202 ms.
2024-04-26 01:57:24 - INFO: Settings Menu took: 44.66ms
2024-04-26 01:57:24 - INFO: Texture ID 19 loaded in 1.352 ms.
2024-04-26 01:57:24 - INFO: Texture ID 20 loaded in 1.558 ms.
2024-04-26 01:57:24 - INFO: Complete UI took: 152.06 ms
2024-04-26 01:57:24 - INFO: StyleSheet loaded in: 0.215 ms.
2024-04-26 01:57:24 - INFO: Texture ID 21 loaded in 7.563 ms.
2024-04-26 01:57:24 - INFO: Texture ID 22 loaded in 1.395 ms.
2024-04-26 01:57:24 - INFO: Texture ID 23 loaded in 1.141 ms.
2024-04-26 01:57:24 - INFO: Texture ID 24 loaded in 0.274 ms.
2024-04-26 01:57:24 - INFO: Init ProjectTreeView took: 168.10 ms
2024-04-26 01:57:24 - INFO: First update took: 199.48 ms
2024-04-26 01:57:24 - INFO: First frame took: 231.96 ms
2024-04-26 01:57:24 - INFO: App Ready
2024-04-26 01:57:32 - INFO: Loading DirTree: C:\Users\Administrator\Downloads\test\
2024-04-26 01:57:32 - INFO: Load project took: 0.16 ms
2024-04-26 01:57:32 - INFO: DirTree read in: 9.70ms. Found 1 files.
2024-04-26 01:57:32 - INFO: Texture ID 25 loaded in 2.473 ms.
2024-04-26 01:57:37 - WARNING: Property "is" is not defined!
2024-04-26 01:57:37 - WARNING: applyProperty: Property "is" not defined!
2024-04-26 01:57:37 - INFO: Texture ID 26 loaded in 12.113 ms.
2024-04-26 01:57:37 - INFO: Texture ID 27 loaded in 1.458 ms.
2024-04-26 01:57:37 - INFO: Texture ID 28 loaded in 1.054 ms.
2024-04-26 01:58:19 - INFO: Document "C:\Users\Administrator\Downloads\test\test.cpp" loaded in 1.08ms.
2024-04-26 01:58:19 - INFO: LSPClientServer server clangd calling initialize
2024-04-26 01:58:19 - INFO: LSPClientServer server clangd calling initialized
2024-04-26 01:58:19 - INFO: LSPClientServer server clangd calling textDocument/didOpen file:///c:/Users/Administrator/Downloads/test/test.cpp
2024-04-26 01:58:19 - INFO: LSPClientServer server clangd calling textDocument/documentSymbol file:///c:/Users/Administrator/Downloads/test/test.cpp
2024-04-26 01:58:19 - INFO: LSPClientServer server clangd calling textDocument/semanticTokens/full file:///c:/Users/Administrator/Downloads/test/test.cpp
2024-04-26 01:58:21 - INFO: LSPClientServer server clangd calling result for id 0
2024-04-26 01:58:21 - INFO: LSPClientServer::publishDiagnostics: file:///c:/Users/Administrator/Downloads/test/test.cpp - returned 0 items
2024-04-26 01:58:21 - INFO: LSPClientServer server clangd calling textDocument/hover file:///c:/Users/Administrator/Downloads/test/test.cpp
2024-04-26 01:58:24 - INFO: ProjectBuildManager::runConfig is already running or isRunningApp() is true
2024-04-26 01:58:26 - INFO: ProjectBuildManager::runConfig is already running or isRunningApp() is true
2024-04-26 01:58:28 - INFO: LSPClientServer server clangd calling textDocument/hover file:///c:/Users/Administrator/Downloads/test/test.cpp
2024-04-26 01:58:40 - INFO: LSPClientServer server clangd calling textDocument/hover file:///c:/Users/Administrator/Downloads/test/test.cpp
2024-04-26 01:58:47 - INFO: Running " test.exe " in app
2024-04-26 01:58:58 - INFO: LSPClientServer server clangd calling textDocument/hover file:///c:/Users/Administrator/Downloads/test/test.cpp
2024-04-26 01:59:51 - INFO: LSPClientServer server clangd calling textDocument/hover file:///c:/Users/Administrator/Downloads/test/test.cpp
2024-04-26 01:59:54 - INFO: LSPClientServer server clangd calling textDocument/hover file:///c:/Users/Administrator/Downloads/test/test.cpp
2024-04-26 02:00:01 - INFO: Running " test.exe " in app
2024-04-26 02:00:03 - INFO: LSPClientServer server clangd calling textDocument/hover file:///c:/Users/Administrator/Downloads/test/test.cpp
2024-04-26 02:00:45 - WARNING: Property "is" is not defined!
2024-04-26 02:00:45 - WARNING: applyProperty: Property "is" not defined!
2024-04-26 02:00:46 - INFO: LSPClientServer server clangd calling textDocument/hover file:///c:/Users/Administrator/Downloads/test/test.cpp
2024-04-26 02:00:53 - INFO: Running " test.exe " in terminal
2024-04-26 02:00:53 - INFO: Trying to open in external terminal:  test.exe  C:\Users\Administrator\Downloads\test\
2024-04-26 02:00:53 - INFO: Running: cmd.exe /q /c ^"C:\Users\Administrator\Downloads\ecode\config\scripts\ecode-run-helper.bat^"^ ^"C:\Users\Administrator\Downloads\test\^"^ 0^ ^"test.exe^"
2024-04-26 02:00:54 - INFO: LSPClientServer server clangd calling textDocument/hover file:///c:/Users/Administrator/Downloads/test/test.cpp
2024-04-26 02:00:57 - INFO: LSPClientServer server clangd calling textDocument/hover file:///c:/Users/Administrator/Downloads/test/test.cpp
2024-04-26 02:01:15 - INFO: LSPClientServer server clangd calling textDocument/hover file:///c:/Users/Administrator/Downloads/test/test.cpp
2024-04-26 02:01:17 - INFO: Running " test.exe " in terminal
2024-04-26 02:01:17 - INFO: Trying to open in external terminal:  test.exe  C:\Users\Administrator\Downloads\test\
2024-04-26 02:01:17 - INFO: Running: cmd.exe /q /c ^"C:\Users\Administrator\Downloads\ecode\config\scripts\ecode-run-helper.bat^"^ ^"C:\Users\Administrator\Downloads\test\^"^ 0^ ^"test.exe^"
2024-04-26 02:01:17 - INFO: LSPClientServer server clangd calling textDocument/hover file:///c:/Users/Administrator/Downloads/test/test.cpp
2024-04-26 02:01:23 - INFO: LSPClientServer server clangd calling textDocument/hover file:///c:/Users/Administrator/Downloads/test/test.cpp
2024-04-26 02:01:26 - INFO: Running " test.exe " in terminal
2024-04-26 02:01:26 - INFO: Trying to open in external terminal:  test.exe  C:\Users\Administrator\Downloads\test\
2024-04-26 02:01:26 - INFO: Running: cmd.exe /q /c ^"C:\Users\Administrator\Downloads\ecode\config\scripts\ecode-run-helper.bat^"^ ^"C:\Users\Administrator\Downloads\test\^"^ 0^ ^"test.exe^"
2024-04-26 02:01:29 - INFO: LSPClientServer server clangd calling textDocument/hover file:///c:/Users/Administrator/Downloads/test/test.cpp
2024-04-26 02:01:54 - INFO: LSPClientServer server clangd calling textDocument/didClose file:///c:/Users/Administrator/Downloads/test/test.cpp
2024-04-26 02:01:54 - INFO: LSPClientServer::publishDiagnostics: file:///c:/Users/Administrator/Downloads/test/test.cpp - returned 0 items
2024-04-26 02:01:55 - INFO: LSPClientServer:shutdown: clangd
2024-04-26 02:01:55 - INFO: LSPClientServer server clangd calling shutdown
2024-04-26 02:01:55 - INFO: LSPClientServer server clangd calling exit
2024-04-26 02:01:55 - INFO: eepp stoped

Ha, you have an space on the Run configuration:
"command": " ${current_doc_name}.exe",
I'll add a trim for that.

Ha, you have an space on the Run configuration: "command": " ${current_doc_name}.exe", I'll add a trim for that.
Edit: Just to clarify, it works with the terminal because it's trimming the exe path, but on the internal run it's not doing it.

It only works on the build you give me. On my local build, it doesn't work, even if there is no space. I will try to make clean and rebuild everything. If it doesn't work, I will delete the whole source tree and clone from Github again. I will report to you if this works or not.

I cleaned everything up with make config=release_x86_64 -C make/windows clean and did a rebuild. I deleted eepp/bin/config and the old project_build.json. Then I created a new build and run config and surprisingly it worked!

Currently it does not display the std out of the process anywhere (it will be added later).

Please add this feature. Currently I only see The process "g++" exited normally.

You misunderstood me. I'm talking about Build, not Run. It turned out the feature is already exist. It's because the program compiled fine so there is no errors message from the compiler!

Btw, talking about the App output. Given this test.cpp program:
// Your First C++ Program

#include <iostream>

int main() {
    std::cout << "Hello World!";
    return 0;
}

If I don't check Run in terminal, it will always report Run with errors:
Starting test.exe
Working Dir C:\msys64\home\Administrator\test\
Elapsed Time: 0.99ms.
Run with errors

That's because it's failing to run the process, the reason is simple, the binary path is not on PATH and without the full path provided it cannot find the exe. I just patched it to use the working directory if no full path is provided, please pull and rebuild.

Need better behavior when handling untitled. Sometimes, I forget to open the actual source file so it's a new tab and of course it failed to run because there is no such program as .exe. IMO, untitled should be ignored.

Awesome! Running nightly builds isn't always safe, that's one of the reasons I'm not totally sure to share nightly builds. But I guess people will understand that fact.

As far as I know, Nightly builds are produced by Github Actions and Github Actions doesn't do incremental builds.

You didn't have any issues with the incremental build. The problem with nightly builds comes from the fact that many changes can be temporal and may change during development, and for example for file formats this produces breaking changes, I did change the file format while I was developing and changed the feature and I did not make it backwards compatible with the previous unstable builds.

Update: I think ecode needs better behavior when handling untitled. Sometimes, I forget to open the actual source file so it's a new tab and of course it failed to run because there is no such program as .exe. Build will also fail with untitled. I found that ${current_doc} and ${current_doc_name} for untitled are both empty. IMO, untitled should be ignored.

The problem with nightly builds comes from the fact that many changes can be temporal and may change during development, and for example for file formats this produces breaking changes, I did change the file format while I was developing and changed the feature and I did not make it backwards compatible with the previous unstable builds.

You can't dismiss the advantage of Nightly builds. They are really convenient when you need to try the latest features. They help you save time since you don't need to build everything yourself. I have to keep the gigantic MSYS2 only to build ecode, and it also takes a very long time on my slow hardware. Btw, I'm too careless to not take the possibility of the file format being changed into account. When you are using the latest code, breakage like this is expected.


Add a "science application" section

This is a reminder to possibly add a Science Application section somewhere at the end of our paper, if we have enough space.
The section could e.g. notice the over-density of 3FGL sources in a specific region, investigate it and discuss possible interpretations.

It doesn't look like we have space on the paper, nor time to do this, so I'm closing this issue.


Update the value from outside

Hello,
Is there away to update the value from the outside ?
I can reset it but I don't know how to change it to another value.
For now I unmount the component for 1ms and mount it again with a new default value.
Thanks

At this point you can't do this via the component, because the point was to sanitize and standardize the entered user input.
What is the use case for changing value from outside after the mount ?

Oh ok, well it making it disappear and appear again works, i set up a second placeholder input right behind so that there the user still sees an input during the unmount/remount of the input.
I am making an autocomplete, when the user starts typing the number, I show under the input all the phone numbers that could match, if the user click on one, I fill the input with the number.
You can close this if you don't plan on implementing it

I'll investigate that is it possible to implement (efficiently) or not.

If you pass in an id to the TelInput component like so:
	<TelInput
		bind:country={selectedCountry}
		bind:detailedValue
		bind:value
		bind:valid
                id={e164Input_id}
		{options}
         />

Then you can grab the reference to the underlying input and set the value there like so:
        let el = document.getElementById(e164Input_id);
        el.value = your_value;

This is my current workaround for changing the value of an already mounted svelte-tel-input component.
The only downside for me is it doesn't format the value you set it to.
Could you possible export the handleParsePhoneNumber function so we could bind to the TelInput component and call this whenever we need to programmatically set the value?

If you pass in an id to the TelInput component like so:
	<TelInput
		bind:country={selectedCountry}
		bind:detailedValue
		bind:value
		bind:valid
                id={e164Input_id}
		{options}
         />

Then you can grab the reference to the underlying input and set the value there like so:
        let el = document.getElementById(e164Input_id);
        el.value = your_value;

This is my current workaround for changing the value of an already mounted svelte-tel-input component.
The only downside for me is it doesn't format the value you set it to.
Could you possible export the handleParsePhoneNumber function so we could bind to the TelInput component and call this whenever we need to programmatically set the value?

Hey!
Yep, that was my first thought too, just have to test it.
I'll make a PR soon.

I also would like to have this, for my use case is simple:
I'm using sveltekit with stream requests, so, the page is loaded before I have the data and also the default values for the inputs.
So In the initial render I don't have the values and after some time the request is finished with the values. I'm using SPA mode.
Why not is possible to just update the values, even when using bind?

Hey!
I'm pretty busy with working, but the PR is on the way which solve this issue.
(this part is actually done, but that PR contains breaking changes)
Binding is not possible because the value inside the input is not exactly the same with the value of the component.

Oh ok, well it making it disappear and appear again works, i set up a second placeholder input right behind so that there the user still sees an input during the unmount/remount of the input.
I am making an autocomplete, when the user starts typing the number, I show under the input all the phone numbers that could match, if the user click on one, I fill the input with the number.
You can close this if you don't plan on implementing it

Hey, thank you for the suggestion. I'm applying this to my project too. May God bless you in any way possible.

Are you still planning on making handleParsePhoneNumber available as a component method?
Thanks!

Are you still planning on making handleParsePhoneNumber available as a component method?
Thanks!

Hey!
I was on holiday and in the new year project starts like hell. So I'm pretty busy.
This part is also done.
There will be an update method which will be exposed, to handle this.
The main reason for that PR is so late is the national number handling and parsing...
maybe the international format  will be the default and only format. I'll see.

@gyurielf I wanted to enquire about the status of the PR with this change please. I also need to set the value from outside the component after the initial render due to technical constraints

Hello Danny!
Well, it is rewritten from scratch to make things simple. I had another project as well, so I can't promise anything.
But  I think I can make a fix for this in v3.
I'll look into it on sunday/monday.
BR,
George.

The ability to edit/add from outside the component would be nice. I am using some touch buttons for adding to the number for convenience. I'll try the workarounds about in the meantime.

Alright guyz.
You can find the details in the PR.
https://github.com/gyurielf/svelte-tel-input/pull/216

Thank you, got it!


Update Simplified Chinese translation

Thanks!

You didn't add your name to the list of translators, I forgot as well but I'll do it before release.


[Impeller] setting paint.invertColors does not work if you also set a colorFilter on the paint.

E.g. the ColorFilter - matrix test in color_filter_test.dart is broken for Impeller.
This is a small app that should cycle between two colors every 250ms, but on Impeller it stays solid:
import 'dart:ui';

void main() {
  const List<double> greyscaleColorMatrix = <double>[
    0.2126, 0.7152, 0.0722, 0, 0, //
    0.2126, 0.7152, 0.0722, 0, 0, //
    0.2126, 0.7152, 0.0722, 0, 0, //
    0, 0, 0, 1, 0, //
  ];
  const Color green = Color(0xFF00AA00);

  final Paint paint = Paint()
    ..color = green
    ..colorFilter = const ColorFilter.matrix(greyscaleColorMatrix);

  window.onBeginFrame = (_) {
    final recorder = PictureRecorder();
    final canvas = Canvas(recorder);
    canvas.drawPaint(paint);
    final picture = recorder.endRecording();
    final builder = SceneBuilder();
    builder.addPicture(Offset.zero, picture);
    final scene = builder.build();
    window.render(scene);
    scene.dispose();
    picture.dispose();

    paint.invertColors = !paint.invertColors;
    Future.delayed(const Duration(milliseconds: 250)).then((_) {
      window.scheduleFrame();
    });
  };

  window.scheduleFrame();
}

Found this working on https://github.com/flutter/flutter/issues/135693

This is only failing on the CPU path. We need to simplify this whole thing.


Follow-up #6468: Fix all ktlint links for 1.0.1 (on vNext detekt site)

Follow-up on #6468
Trailing problems discovered at https://github.com/detekt/detekt/pull/6606#pullrequestreview-1726227389

Warnings

:warning:
It looks like this PR contains functional changes without a corresponding test.

  Generated by :no_entry_sign: dangerJS against 23397c258db199645f49bd8c1a433132d0ce3b01


Is there any reference code for mocking intercanister calls??

Sorry to keep pestering

If you want to make inter canister call to local actor class canister then it should work without mocking.
Otherwise, using a wrapper class probably could be useful

What is a wrapper class?

I am trying to make an inter canister call to the IC management canister

I think it is not possible with mops test. You will need dfx or pocket-ic replica

Can I not mock the response from the IC management canister using mops test? :(


Can only grab props once

While the latest update did fix resetting props, now you can only grab a prop once before it stops being able to be grabbed. As soon as you let go you can't pick a prop back up, and that also seems to break sync for other people because they are able to pick it up for their end but you can't see it.

I cant seem to reproduce this issue after installing the most updated prefab into a fresh project. Also if your only seeing this issue now then there might be something else going on because the only thing that has actually changed fundamentally was adding a transition out of a state when you turn the system off. If your not turning it off the logic still flows the exact same way prior to the update. I know I mentioned that all you had to do was update your FX controller but maybe try doing a fresh install of the prefab and see if the issue persist.

It was happening consistently but I'll try doing a fresh install.

It's definitely happening a lot less often now but it did happen at least once, if it happens again I'll try to see if I can determine what's going on.

Sounds good. Again I appreciate you bringing up any issue you may have with the prefab. If it does happen again, some things to take note of would be to check your debug menu to see if your stuck in a state that isn't one of the "prop dropped" states, write default settings, and FPS. Also does turning off the system not fix it when you get this issue?

Turning it off does fix the issue, but I'll try to figure out what's
causing it.
On Mon, Jun 27, 2022, 10:31 PM ThatFatKidsMom @.***>
wrote:

Sounds good. Again I appreciate you bringing up any issue you may have
with the prefab. If it does happen again, some things to take note of would
be to check your debug menu to see if your stuck in a state that isn't one
of the "prop dropped" states, write default settings, and FPS. Also does
turning off the system not fix it when you get this issue?
—
Reply to this email directly, view it on GitHub
https://github.com/ThatFatKidsMom/Avatar-Prop/issues/3#issuecomment-1168243523,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACBM4GHVOIU7SZ7NKVX37QTVRKE43ANCNFSM5Z5ECNFQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Turning it off does fix it, but I'll try to see what's causing it.

Cool thats really useful to know. Did you happen to notice if it only happened when the prop in not in your view? or did it also happen when you were looking straight at it.

I wasn't paying close attention but I don't think it was out of my view. I'll try and pay closer attention next time though.

So for some reason it seems to have come back after I had initially fixed it by reinstalling, the state's getting stuck in reset root bone pos after letting go.

When it happens does turning the system off still fix it when it happens?

Yep

I’ll look into it again. If it happens again take note of the value of the parameter named something along the lines of “AvatarProp/DistanceTooFar” and let me know it’s value.

It's still getting stuck in reset bone pos, and DistanceTooFar is false.

So for the life of me I cannot reproduce your issue at all even at as low as 5 FPS so I honestly cant say that's its fixed but I have pushed a new release which might do the trick. All I did was go to the "Left pos reset" and "Right pos reset" animations and turned on loop time. I would recommend you just do the same as it'll probably be faster than just downloaded the newest release. Let me know if that does the trick for you.

Still running into the same issue unfortunately

It seems to stop happening period aftet resetting the avatar, so the only thing I can think of is a parameter being saved inappropriately but that doesn't make much sense

Yea the only parameter that is saved is to enable the prop. Everything else is just handled through contacts. I've tried varying frame rates, culling, multiple projects, and other things to see if I can produce your issue but I just cant get it to break. I know which part is breaking and why its giving you the problem your having but even if it were to fail the system just redoes the process and fixes itself but that doesn't seem to be happening in your case and I have no clue why. The only thing I can tell you is maybe to try creating a new project installing the prop prefab on an avatar and see if you can replicate it on a new avatar that is made in a new project. Surprisingly that has fixed other issues people have had with it so if it that issue really bugs you then it might be worth a shot.

I'll probably give it a try, but if that doesn't work it's not a big deal. Now that I know I can pretty much completely fix it by resetting my avatar once a session it's not such a bother. Thanks for the help!

So I'm still getting it even after making a new project, it seems like what causes it is DistanceTooFar being false. Not sure what that bool does since it's always true when stuff's working no matter how far I am.

That bool is used to determine when to put the the animator into the reset position states which is essential in order to allow someone to regrab the prop after it is moved a certain distance. Is it possible for you to upload a public version of the avatar your using temporarily and give me the ID so that I can test it in game and see how things are working?

Also just to confirm your not using any mods are you?

I am, do you think that could cause issues?

Yea mods can cause some unforeseen issues that I cant really fix because they sometimes literally block certain things that are required for systems to work. That's assuming mods are what's causing the issue. Try running a night without them and see if you still have issues. Also making a public avatar for me to check would help alot to if you can.

I'll try running vanilla then if that doesn't work I'll look into making a public version.

sounds good

Ok so I'm still getting the issue even with all mods disabled. Interestingly I'm even seeing it in Unity when I use the av 3.0 emulator, if I click the button to reset avatar in the emulator it will set the DistanceTooFar bool to false even though the reciever says it should be true. This happens even on brand new projects so I don't think its anything I did. However I can fix it by disabling the contact sender on "Distance checker" then re-enabling it, so maybe I'll try adding a single frame to the off animation that turns the sender off and on. I'll let you know how that goes.

That seemed to work, though I can't be 100% sure that it won't cause any issues with other parts of the system. I just set frame 0 of the "off" animation to set the "Distance checker" contact sender enable to 1, then set it to 0 on frame 14, then back to 1 on frame 28. You might want to try it yourself and make sure it doesn't cause any other issues.

Yea, I tested it right now and it may cause issues initially with some setups although its an easy change to implement. I tested it and I'm just surprised I've never had seen this issue at all until you mentioned resetting in the emulator also triggered it. Once I tried that I was able to see it happen consistently. Kinda weird that the parameter doesn't update properly in the controller despite the contact saying otherwise so might just be a VRC bug that's causing it. Again thanks for bringing it up I'll see if there is anything else that breaks since I'm gonna get on in an hour or so to be able to test it more extensively. If all goes well, I'll push a new release by tomorrow with the changes. Thanks again and let me know if everything still works fine once your able to see if the changes you made work consistently on your end before I push the new release.

So yea I don't get the issue anymore with resetting the avatar via emulator but granted I cant really test to see if the issue doesn't happen anymore as a whole as I've never had it happen to me in game no matter how hard I tried. If you can try installing this and checking to see if it still happens that would be great.
AvatarProp_1.0.7.zip
.

This seems to have fixed the issues completely, although I'm feeling like it now takes two attempts at grabbing something for it to line up properly. I might just be mis-remembering how things used to work so I'll test a version using the old system and let you know.

Turns out that delay was in my head. I'm not sure there's any advantages to doing the method you did where every animation ensures that the distance checker is on and you have it off by default vs my method of having it on by default and just toggling it off and on in the off animation, since whenever you load into the avatar you're going to start in the off position. If you did have a good reason though, I haven't run into any real issues yet.

It's set up that way mainly just for consistency with how everything else is set up and also assuming your variation is set up how I think it is then if someone's frames drops low enough they can potentially skip the key where the contact is off and it could potentially cause the issue to reappear as on their end it would never have reset. That would only happen at low FPS though so its not really that big of a deal. Regardless since everything looks good on your end ill push the release now. Thanks again I appreciate it.


Go12 jar support

Support for Go 1.12.4
Support for jar not expanded for Java when set OW_SAVE_JAR
You can initalize multiple times when debugging
Removed gogradle plugin, now building directly with go

+1 building directly with Go !!!


Roll Flutter from 02558d69d923 to d4929bc828ff (23 revisions)

https://github.com/flutter/flutter/compare/02558d69d923...d4929bc828ff
2022-06-21<EMAIL_ADDRESS>Roll Flutter Engine from 896c17bd63fa to ceac23d7a98f (1 revision) (flutter/flutter#106318)
2022-06-20<EMAIL_ADDRESS>[flutter_tools] Have FlutterValidator fail on non-ideal git config (flutter/flutter#103259)
2022-06-20<EMAIL_ADDRESS>feat: add icon to AlertDialog (flutter/flutter#104920)
2022-06-20<EMAIL_ADDRESS>Roll Plugins from c3955d221178 to 715593b72d1c (2 revisions) (flutter/flutter#106302)
2022-06-20<EMAIL_ADDRESS>Roll Flutter Engine from 7327d809f94b to 896c17bd63fa (1 revision) (flutter/flutter#106299)
2022-06-20<EMAIL_ADDRESS>Roll Flutter Engine from f1b9761b4855 to 7327d809f94b (1 revision) (flutter/flutter#106276)
2022-06-19<EMAIL_ADDRESS>Roll Flutter Engine from 3ac96a1f40bb to f1b9761b4855 (1 revision) (flutter/flutter#106262)
2022-06-18<EMAIL_ADDRESS>Roll Flutter Engine from<PHONE_NUMBER>8c to 3ac96a1f40bb (1 revision) (flutter/flutter#106254)
2022-06-18<EMAIL_ADDRESS>Roll Flutter Engine from c0c31a182725 to<PHONE_NUMBER>8c (1 revision) (flutter/flutter#106237)
2022-06-18<EMAIL_ADDRESS>Roll Flutter Engine from d4a0dda5ca05 to c0c31a182725 (1 revision) (flutter/flutter#106232)
2022-06-18<EMAIL_ADDRESS>[flutter_tools] migrate more unit tests to null safety (flutter/flutter#106153)
2022-06-18<EMAIL_ADDRESS>Roll Flutter Engine from b6879d19f696 to d4a0dda5ca05 (1 revision) (flutter/flutter#106228)
2022-06-18<EMAIL_ADDRESS>Do not show diagnostic warning for disconnected iOS devices (flutter/flutter#105971)
2022-06-18<EMAIL_ADDRESS>Roll Flutter Engine from 46c2fe1520c1 to b6879d19f696 (1 revision) (flutter/flutter#106226)
2022-06-18<EMAIL_ADDRESS>Add integration test for flutter build windows (flutter/flutter#106053)
2022-06-18<EMAIL_ADDRESS>Roll Flutter Engine from 9ee1525e20b8 to 46c2fe1520c1 (1 revision) (flutter/flutter#106224)
2022-06-17<EMAIL_ADDRESS>Roll Flutter Engine from 5540f885a806 to 9ee1525e20b8 (2 revisions) (flutter/flutter#106222)
2022-06-17<EMAIL_ADDRESS>Roll Flutter Engine from 6303755ae1cb to 5540f885a806 (2 revisions) (flutter/flutter#106220)
2022-06-17<EMAIL_ADDRESS>Export public API types from gestures/*.dart library (flutter/flutter#105864)
2022-06-17<EMAIL_ADDRESS>Roll Flutter Engine from 8cf1560b631b to 6303755ae1cb (1 revision) (flutter/flutter#106215)
2022-06-17<EMAIL_ADDRESS>Roll Flutter Engine from 989ac2a6eba8 to 8cf1560b631b (2 revisions) (flutter/flutter#106212)
2022-06-17<EMAIL_ADDRESS>Switch from .packages to package_config (flutter/flutter#106202)
2022-06-17<EMAIL_ADDRESS>Roll Flutter Engine from 6cb83ab0f155 to 989ac2a6eba8 (1 revision) (flutter/flutter#106206)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Plugins: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Updating injector to new configuration with chains.json

TODO: Add tests for the new flow.

The current branch has been deployed on:
https://verify.shardlabs.io/
https://contractrepo.verify.shardlabs.io/
https://server.verify.shardlabs.io/

@cgewecke this changes the whole flow from named based to id based storage and routing.
So either fetching file by name (for example: mainnet) or by id (1) you will get the same result.
Also, injector also writes files by id without byChainId path.

@edisinovcic

Should I also update monitor to recompile in this PR?

I think we should do this separately after this goes in. It needs to manage library links correctly and there's some complexity there.
Not certain why the server tests are failing here but think the default chainId for ganache-core might be 1 whereas the .json has it as 0. Do you know if this is correct?
Web3 has a method to query the client for this:
const chainId = await web3.eth.getChainId()

@edisinovcic

Should I also update monitor to recompile in this PR?

I think we should do this separately after this goes in. It needs to manage library links correctly and there's some complexity there.
Not certain why the server tests are failing here but think the default chainId for the ganache client might be 1 whereas the .json has it as 0. Do you know if this is correct?
Web3 has a method to query it:
const chainId = await web3.eth.getChainId()

Nice, tnx.


highp needed in shaders

I look forward for some missing stuff in shaders, like highp. I'm currently developing some shaders for my game, and without it, they look very different on mobiles then on pc.

problem is that many mobile phones don't really support them or support
them half assedly (highp in the fragment program)
On Tue, May 19, 2015 at 5:46 PM, Siewio<EMAIL_ADDRESS>wrote:

I look forward for some missing stuff in shaders, like highp. I'm
currently developing some shaders for my game, and without it, they look
very different on mobiles then on pc.
—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/1947.

Ok. Now I get it. I've checked GLSL_ES_Specification for this. I understand that since highp is obligatory it will couse compilation errors on some GPUs. But GLSL ES gives us "#define GL_FRAGMENT_PRECISION_HIGH 1" macro to check if highp is available on our GPU or not.
But anyways... lowp and mediump are fully supported by all GLSL ES 2.0 devices - so it could be added with no worries.

this will be added in 3.0 with 3D renderer rewrite

already added, so closing this


Ability to set QPS and Burst to avoid client-side request throttling

In our k8s cluster, there are hundreds of namespaces. As a result, it takes a lot of time to query secrets of certificates.
What's more, when multiple scraping occurred, warning message of client-side request throttling showed in the logs.
The message is like this, "Waited for Xs due to client-side throttling, not priority and fairness".
From https://github.com/kubernetes/client-go/blob/aa7909e7d7c0661792ba21b9e882f3cd6ad0ce53/rest/config.go#L116
we can see the default value of QPS and burst are 5 and 10 respectively for go k8s client, which may be not enough for a large-scale cluster.
I tried to increase QPS and burst by setting the following code in function connectToKubernetesCluster()
config.RateLimiter = flowcontrol.NewTokenBucketRateLimiter(50, 100)
The time needed the first time querying all secrets gradually decreased from 150s to 10s, and the subsequent metrics scraping time is decreased from 30s to 1s.
It would be great if there are options to set QPS and burst as parameters.

:tada: This issue has been resolved in version 3.14.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 3.14.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix ABNF grammar formatting in doxygen documentation

Fixes #26454
Fixed this for client and server context documentation.
Unfortunately I could not find a way to use verbatim or code in doxygen with the triple forward slash /// comment style, so I needed to fall back to /** **/ for the verbatim block.
@drfloob

Thanks for the fix! Please sign the CLA, and I'll double check the work.

Working on issues with corporate CLA approval via IBM (somehow approval does not show effect). Need to contact some people responsible for CLA in IBM. Hope I can resolve this by monday.

CLA issues are resolved. Do I need to do anything else?

I'm sorry I missed your update, the generated docs look good! I'm rerunning the presubmit checks now. Thanks again!


Rename from RebirthDB to RethinkDB :smile:

@grandquista thanks for helping out here! you missed a rename that broke a test, I committed a fix.
I think we can merge this in, but I would first wait https://github.com/rethinkdb/rethinkdb-desktop/pull/45 since there will probably be some merge conflicts there.


File upload dropZone - Add support for disabled state

Currently, there is no property to set a disabled state for the component.

Maha to check @enowak1031 and close the issue if none needs it.

Refer Figma link for the disabled state.


High DPI Screens scaling

Hey,
I would like to know if there is any way to make things I show on the Dashboard bigger.
I could think of

Lowering the Resolution
Changing the browsers scaling factor

I investigated a little on WPE but could not find how to do this. Does someone know if it's possible?

@brasilikum if this works or not may depend a little on what display you're using, but you can force the output to a particular resolution using configuration variables. I explained how to do this in this post (look for mentions of hdmi_cvt): https://www.balena.io/blog/add-a-cheap-ili9341-lcd-to-your-resin-io-raspberry-pi-project/


Fix cfn stack instance profile name

The current version of the stack names the IAM Role in the Instance Profile with ${AWS::StackName}-Role.
The results in an IAM Role with a role name like 'the-build-stack-xyzqwrpqr-Role' when the stack is generated by a process which does not fix the stack name (as happens if this template is used as a nested stack). This role name changes every time the stack is re-deployed or updated.
Having this unpredictable role name is problematic if you want the build agent to assume a role, as the 'Principal' of an IAM policy needs to be fixed.
My change allows the user the option to specify a role name if needed.

Thanks! Are you able to fix this up so that it's just your commit?

I have changed the base to stable 2-3

master was correct, I'd probably just do the following:
git reset --hard origin/master
git cherry-pick d647bec
git push --force origin/fix-cfn-stack-instance-profile-name

ok, done, thanks for the advice

I think this is a good change, thanks for this!

Next release! Likely today.

Wonderful!, thanks


How to import multiple config maps

I am about to use the feature of this project to import Kubernetes configmap into my deployment.
https://github.com/spring-cloud-incubator/spring-cloud-kubernetes#configmap-propertysource
This allows me to specify a single a single configmap to import. I would like to specify a configmap for multiple things for example Postgres Settings, RabbitMq Setting, Logging settings that can be combined into a single yml file that my Spring boot app can import.
Is this possible?

Is this your question https://stackoverflow.com/questions/46179113/kubernetes-spring-cloud-multiple-config-maps-being-used?

That question was one of my colleagues yes. It seems that you can import multiple secrets using this tool, but not configmaps. Is there a reason for this, or just not implemented?

+1 - it would be nice to have something like spring.config.location in place for spring-cloud.
I went to the code a little - this class defines the Interface which loads only a PropertySource. If this could be extended somehow to return a List it would be possible to implement.
https://github.com/spring-cloud/spring-cloud-commons/blob/master/spring-cloud-context/src/main/java/org/springframework/cloud/bootstrap/config/PropertySourceLocator.java
Has to be somewhat backwards-compatible.

I list is not needed since you can create a CompositePropertySource and add as many property sources as needed.


Allow unallocation of one part

So, I don't know if this is how it is susposed to work but I had a 'build' setup with my exact part needs. I ended up ruining a few chips during the process so when I went to 'complete build' I thought I would reallocate that part to include those broken chips. I did not find a way to remove the one allocation and clicking the allocate button did not allow me to change my data.
If there is a different way to account for buggered parts then let me know. If not then it would be super helpful if you could account for them afterwards.

At any time (before the build is marked as "complete") you can edit the allocated parts as below:

Does this answer sufficiently? :)

@SchrodingersGat OH! The additional when you click on the part name was not intuitive. I did not know that functionality was there. I thought those part links would have linked you to the part page so, I never clicked on them. Yes this works for me but maybe one of those arrows that turns 90˚ when you click it should be added.

Yes this Build page is probably the one that needs the most work in terms of UX - it is the most complicated concept I think. Any additions welcome :)


Fix uninitialized memory issues

m_timeOptimization is not initialized on all paths, so risks uninitialized memory problems unless initialized by default.

@ericastor
Would you say this PR is done and has addressed the general issue of uninitialized memory? I assume you've tested it and it has

produced the behavior you'd like
not broken any existing tests

? Asking because you haven't tagged anyone for review

Who should I generally tag for review on this sort of PR? Yes, I'd consider it done.

Good question!

Who should I generally tag for review on this sort of PR? Yes, I'd consider it done.

I'd say @mtriplett-duality for now.
Also, do review our contributing guidelines for future PRs (we're updating our documentation as we move along so not all of it will be relevant)

Sure! I don't believe I have write access to the repository - so it looks like I can't tag anyone specific in for review on a PR, or work on a feature branch within this repo.
If we should change that, let me know!

Gotcha! Thanks, I pinged the internal team and we'll get a response soon I think


Starting values of PET and ET

It would be great to allow the user to input starting values of PET and ET in the Scrpple input file so you wouldn't have to throw out the first year of Scrpple output.

+1 request for this.
It appears that it isn't just the first year that is thrown out, it is the first year in which there is a fire in a given Ecoregion. So if you have small Ecoregions that don't get an ignition in the first year, the values of previous year PET and water deficit will be 0 for the first fire in that Ecoregion, or the first succession timestep (whichever event happens first). See attached figure showing previous year PET as a function of simulation year (succession timestep is 10 years). The problem that this creates is that if the user has a non-zero value for the previous year climate parameters in the "site-mortality" equation (i.e., dNBR equation), dNBR is not calculated correctly (because previous year PET and Deficit are 0). The second figure here shows this - the distribution of dNBR values before year 10 is distinctly different compared to dNBR values after year 10 (first sucession timestep).
Some ideas to fix this are: 1) at initialization, SCRPPLE could calculate Year0 PET and Deficit values (the issue would persist for year 0, but all subsequent years would be fixed). 2) If previous year PET and Deficit are 0, use current year values instead. 3) Use user-supplied PET and Deficit values.
Thanks!
-Tucker

Tucker,
I assume you mean that you want PET and CWD to have a default time zero value, correct?

Check out https://github.com/LANDIS-II-Foundation/Extension-SCRPPLE/blob/master/src/FireEvent.cs
L321-324 and L327-331.
Is this the behavior you would like?

Yeah, I think that default time 0 values would solve the problem. Thanks!

I see the commit on Feb. 27, but the edits in FireEvent.cs are commented out. Is the update ready to implement or are we waiting for some other changes to release this fix as part of a new version (3.2.2)?

Tucker,
Please test v3.2.2.  I'll update documentation and release after your testing completed.
Cheers,
Rob

I tested v3.2.2 and it works perfectly. Thanks Rob!

Tested by Tucker and released.


Fix error in github-token switch

Updated the example command to reflect the correct syntax.

Can see that someone else has raised a PR for this.


Terminal defaults to powershell ignoring settings

Environment
Win32NT             10.0.19592.0 Microsoft Windows NT 10.0.19592.0
Windows Terminal version (if applicable):
Version: 0.11.1121.0

Steps to reproduce

Just open Windows Terminal, and the starting shell is powershell, regardless of "defaultProfile" setting in global (settings.json).
I don't really know of any other things that might trigger this.
Expected behavior

Windows Terminal should just honor my settings and open Ubuntu as default profile (the guid is specified in defaultProfile).
Actual behavior

A powershell prompt is started

Ok, I just had a look at the release notes and realized it's supposed to work this way...
https://github.com/microsoft/terminal/releases
BREAKING CHANGE We've deleted a lot of legacy settings handling (#5190)
Please see our blog post and our most recent status update for more information.
If you had settings hanging out in the globals dictionary, you'll want to move them out.
Failure to do so will cause us to ignore your default profile, launch mode, etc., etc.

But let me say, since pretty much all of us have this on autoupdate from the Windows store, this very far from the best user experience, especially for people who have been part of the alpha since the beginning (yours truly).
Suddenly the app updates, you might not even realize it and... boom, part of your settings aren't used anymore and you head to github to file for a nasty bug...
I'd suggest doing SOMETHING to notify users of this BREAKING change, otherwise this makes me feel pretty stupid...
For example? Open a window on the first launch showing the DAMN release notes... that might be a nice approach IMHO. It's very similar to what's used in... let me think of a modern example... uhm have you heard about the little app called VsCode ?
Sorry for the sarcasm, I love your work and would love even more if you paid more attention to this kind of things.
Thank you for your time and patience.
S.

Hopefully this non-existent issue can help other ppl by pointing to the release notes:
https://github.com/microsoft/terminal/releases/tag/v0.11.1121.0
The Problem
“Globals” namespace
The Terminal no longer supports the globals property in the JSON file. If you have settings inside the globals object, they will be ignored. To fix this, remove the globals object and move your global settings into the root of the JSON file.

more infos here:
https://devblogs.microsoft.com/commandline/windows-terminal-preview-v0-11-release/

The Fix
Discard globals and move them to the json root:

After that it's good. Have fun!

good job. Solved my problem.

Thanks for being with us so long. I appreciate that this has been a terrible obnoxious and sudden change for everyone, and I’m really sorry about the communication—or lack thereof—here. One of the things that we’re hoping to roll out after we launch 1.0 is some sort of update notification with release notes (#5513, colorfully-titled by our community). We ended up batching all the breaking changes up until the end of the preview cycle, but I’d like to assure you that post-v1 settings changes will be accompanied with migrators, notifications or just good old-fashioned backwards compatibility.

Hi Dustin,
sure, no problem, please forgive my rant, it's nice to know you're working on #5513. That kind of functionality will surely make things much smoother for all of us!
Again, you've done some outstanding job and now that V1 is here I can't wait to put my CLI hands on it :)

@simmessa I think that, in addition to showing the message, they could have just migrated it automatically

@crazyshot yes that would have been ideal but...guess they also had a lot of better /more useful things to do :D


using 2 norm in objective function

Hello members,
I want to add this term to my objective function
Wij( || X- Y ||_2 - D)^2
where Wij, D are scalars. ||X-Y||_2 is 2-norm, X&Y are vectors of size 3. If I make the below formulation in cvxpy, I get an error:
import cvxpy as cp
import numpy as np

D = 1
Wij = 10
x = cp.Variable(3)
Y = np.array([1,2,3])

term = cp.norm(x- Y,2)-D
cost = Wij*cp.quad_form(term,1)
# constraints not shown, but correctly in place

problem = cp.Problem(cp.Minimize(cost),constraints)
problem.solve(verbose = True,solver='OSQP')

raise ValueError("Invalid dimensions for arguments.")
ValueError: Invalid dimensions for arguments.

Is this formulation correct, allowed? If not, how can I change this? In the second argument of quad_form instead of 1, I tried np.eye(1) but it doesn't help. Can someone kindly guide me? If I directly use norm in objective function, I get an error
cvxpy.error.SolverError: Problem could not be reduced to a QP, and no conic solvers exist among candidate solvers ({'qp_solvers': ['OSQP'], 'conic_solvers': []})
Thank you
Sandeep

This problem is not convex. You'll need to use some system other than cvxpy that handles non-convex problems.


Creating alpha NuGet release on succesful merge into master

Hi,
This is more a suggestion than a question/issue.
Currently NuGet releases are only done periodically when there are several merges that go into master.
This causes delay in consuming important fixes if a NuGet release is not done once a fix goes in master.
One suggestion I have is to publish an alpha version NuGet release on every successful merge into master. I believe this can be done using the AppVeyor CI?
This means that consumers needing important fixes can get them through NuGet once they're available in master.
The latest alpha release can then be promoted to the main NuGet release once you feel it's appropeiate to do so.
Any thoughts?

Thanks for the suggestion, we definitely want to publish a package for every CI build.
We don't want to use any CI-specific features but implement a NuGet packaging script, like was done on Embeddinator: https://github.com/mono/Embeddinator-4000/blob/master/build/Packaging.cake
We just have not gotten to it yet, is this something you could help with?

@tritao Potentially. Do you have an existing script you use to publish NuGet packages, or how do you publish them at the minute? Is it not a matter of running whatever you are doing now within the AppVeyor CI?

@IIFE At the moment we have no packaging script, @ddobrev does the releases manually.

@tritao If it's a matter of using the same script from Embeddinator but changing the argument values for the Create-Package and Publish-Package tasks (don't think Build-ObjC is needed) then I can possibly look into it. I'm not familiar with Cake, so it'll reusing the example script and changing arguments.

@tritao There also appears to be an existing preliminary nuget script in this repo with some TODOs. Why not start from there?

@IIFE Good find, I had forgotten about it, makes sense to start from it.
Let me know if you have any questions.

This is done now, https://github.com/mono/CppSharp/packages/

A quick question here - what URL I need to enter in nuget config in order to get latest builds?


Rate limiting backfill sync POC

Addresses this issue https://github.com/sigp/lighthouse/issues/3212

Closing this in favour of https://github.com/sigp/lighthouse/pull/3936


What software would you like us to add to our image catalog? (one per issue please)
https://hub.docker.com/r/sonatype/nexus3
which versions of the containerized software do you need?
latest
Add some justification for why this specific image and versions are important.
A Dockerfile for Sonatype Nexus Repository 3, starting with 3.18 the image is based on the [Red Hat Universal Base Image] while earlier versions used CentOS.

Sonatype only provide nexus as downloadable artifact. So we can't build it from src in Wolfi.


fix(domains_test): app domain is created when an app is created

Requires https://github.com/deis/workflow/pull/473

@helgi this is ready to merge

Still waiting on the PR i linked to


Remove pai-fs in end to end test

Remove pai-fs in end to end test.

Coverage decreased (-11.4%) to 50.434% when pulling 2ce49d92a28f973128ef6bfead75972b1e185803 on xiongyf/test-hdfs-dev into 26117df72b536a15df9a0ff49e3ee4870b3634cb on master.

Coverage decreased (-11.4%) to 50.434% when pulling 2ce49d92a28f973128ef6bfead75972b1e185803 on xiongyf/test-hdfs-dev into 26117df72b536a15df9a0ff49e3ee4870b3634cb on master.


Sticky scroll in output is the wrong color

Repro:

Use a theme that has the editor as a different color to the panel
Print a json object to an output channel

Hi @Tyriar, thank you for posting this issue. It is a bit unclear from the screen-shot what the expected output should be. Are you referring to what looks like the terminal sticky scroll?

@aiday-mar that's output (monaco) sticky scroll, not terminal. The bottom has a dark sticky scroll color and looks odd when the panel background is different to the editor.

I am investigating how to detect if a specific editor is the editor in the output view. I was initially considering looking at the classList to find if pane-body or output-view is there, but the editor dom node class list appears to be undefined for the output view. I was wondering if there is perhaps another way to detect this? @bpasero

I am investigating how to detect if a specific editor is the editor in the output view.

I am not aware of a method to get the editor of the output view, but it should be easy to add:
https://github.com/microsoft/vscode/blob/587e0545330bdbd0adbc32dc51b1c8bd6dd7a011/src/vs/workbench/contrib/output/browser/outputView.ts#L41
Is that what you need?

Ah maybe I can directly access the editor of the output view pane and verify that the current editor is equal to this editor

But you are inside an editor contribution or? Not sure how that would work given layering violations.

Not sure if it helps, but we can control the options we pass in to the editor for output and do so here:
https://github.com/microsoft/vscode/blob/cffff4c0da1b920e6324dafb71674d0773e55e83/src/vs/workbench/contrib/output/browser/outputView.ts#L180-L212

It's a bit of a tricky problem if you want this to work well across all themes. You probably need to support null or transparent values for the bg and hover bg keys and then resolve the colors manually into opaque colors by combining them with the bg color underneath.
This might be the right internal API to do that?
https://github.com/microsoft/vscode/blob/66c869c41f95221f297172dea95892381b19dbaf/src/vs/base/common/color.ts#L429-L434

I was investigating the uri of the output editor, and noticed it has a scheme equal to 'output'. I can just use it in order to detect if the current editor is an output view editor and change the background accordingly.


Doesn't work from elevated command prompt

Brief description of your issue

Steps to reproduce
Try to install an app.  Fails.  Try to install from elevated prompt.  Fails.
Expected behavior
Install the app
Actual behavior
Fails
Environment
Windows Package Manager v1.0.11451
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.19042.985
Package: Microsoft.DesktopAppInstaller v1.11.11451.0
Any other software?

@orc4hrie which package are you trying to install?
Would you mind submitting a feedback report so we can see the logs?

Anything; winget won't even run in an elevated prompt.  From a non-elevated prompt any install or upgrade gets an access denied error, or silently fails. I'll go through the feedback hub.
PS C:\WINDOWS\system32> winget
Program 'winget.exe' failed to run: The file cannot be accessed by the systemAt line:1 char:1

winget

At line:1 char:1

winget

  + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
  + FullyQualifiedErrorId : NativeCommandFailed

I'm seeing this on corporate machine where my regular account doesn't have 'administrator' privilege.   To do admin tasking, I start cmd.exe as an Administrator (using a separate username and password). In this cmd shell I see the following (my actual username is masked with XXX; rXXX is my user account that has admin privilege.):
C:\> where winget.exe
C:\Users\rXXX\AppData\Local\Microsoft\WindowsApps\winget.exe

C:\> dir C:\Users\rXXX\AppData\Local\Microsoft\WindowsApps\winget.exe
 Volume in drive C is Windows

 Directory of C:\Users\rXXX\AppData\Local\Microsoft\WindowsApps

05/31/2021  10:34 AM                 0 winget.exe
               1 File(s)              0 bytes
               0 Dir(s)  298,889,244,672 bytes free

C:\> C:\Users\rXXX\AppData\Local\Microsoft\WindowsApps\winget.exe
The system cannot execute the specified program.

It seems that winget.exe is a special file (zero size) that doesn't work in this environment.
If I run winget.exe from my normal account, it runs as expected but I must provide credentials for almost every install command.  Since my rXXX account requires 2FA with a smart card and  PIN, this is very tedious and I would prefer to run winget from the elevated command prompt.

@KineticTheory, the zero byte size file is fine. It's related to the App Execution Alias. I believe you will need to have the App Installer registered under the other administrator account for this scenario to work currently.

@KineticTheory, the zero byte size file is fine. It's related to the App Execution Alias. I believe you will need to have the App Installer registered under the other administrator account for this scenario to work currently.

@denelon This is not my experience.  I can logon to my machine as the admin-class user and winget works correctly from a command prompt.  I'm assuming this means that the App is registered correctly for the admin-class user.  However, winget does not work from an elevated command prompt (using the credentials that I just tested) when I am logged in as a normal (non-admin) user.

I'm not sure how well the AEA (App Execution Alias) works when running from the context of a user that is not actually logged in.  I don't know if that is the issue here, but this setup is certainly going to cause issues if you run installers that are user specific in that context.  Not that you would normally need to do that, as the elevated privileges are usually only needed for system wide installs (although not always).  But this would be an issue for the installer with any over the shoulder authorization.

@orc4hrie
We've published the v1.1 release candidate and updated our troubleshooting guide.
Can you confirm if this is still happening?

Winget still fails to run from an elevated command prompt, but some recent update has made it less necessary to do so.  It now properly prompts for admin rights as needed when from from a standard prompt.

I believe I have a related use case / issue with MSIX:
Again, scenario is that I am logged in as "myUser" without admin rights. I run cmd.exe or powershell.exe using right-click "Run as administrator" and elevate as the different "adminUser". I get "The system cannot execute the specified program." or "Program 'winget.exe' failed to run: The file cannot be accessed by the system" depending on the shell.

Version: 1.16.12653.0
App execution aliases - enabled
(Get-Command).Source: "C:\Users\adminUser\AppData\Local\Microsoft\WindowsApps\winget.exe"; $env:Path has "C:\Users\adminUser\AppData\Local\Microsoft\WindowsApps"

If I log in directly as "adminUser", winget runs as expected whether elevated or not.
I think t

I also believe the root of the Issue here is related to how MSIX packages are provisioned for users.
This isn't something we're going to be able to change.
We've got work related to this:

#215

It's going to require installing a separate package that we will be releasing to expose the COM interface to "in process" applications. Keep your eye on that Issue as we're actively working on it.


1.0.0 unnecessarily(?) breaks existing users

Cookbook version
1.0.0
Chef-client version
12.x
Platform Details
Amazon Linux
Scenario:
Several cookbooks in my environment depend on the sysctl cookbook, each of these contains include_recipe "sysctl" before the first use of sysctl_param.
The changelog for 1.0.0 notes that "recipes:default no longer needs to be added to persist parameters" - awesome!  However, the default recipe was deleted entirely.  This causes include_recipe to fail, which means that all consumers of this cookbook need to update simultaneously.
I propose adding an empty default recipe to this cookbook to preserve backward compatibility.  Or, if the break was intended, could this be more clearly called out as a breaking change in the release notes?
I'm happy to submit a PR either way, but I'm not sure what the intent was.

I'm really sorry but in this case, I would suggest pinning your dependency until you can update your downstream cookbooks.
This was one of the reasons for the major version bump.


Fix release

Current release has syntax issues

This takes the cake for being the most unhelpful issue report I’ve received.

sorry, i will provide the file and line. i didn't realize i was being rude. i apologize

your resolved it in this comment it would be nice to update the release though as it is somewhat breaking https://github.com/yokoffing/Betterfox/commit/c0d65d409dcfa09a7d1ab31da30a71a109c5deed

It is fixed on both the main branch and esr128 branch? https://github.com/yokoffing/Betterfox/blob/29f081696200afc3af6a43f300a8000af18fa86e/Securefox.js#L649

I miss understood the release model I will mark this as completed. sorry for wasting your time with this


Can't add spider into platform

i have repository with 2 scrapy projects inside (one is very simple other one quite complex)
in install script i do install requirements of both
after i added repository i can add simple spider but not complex one
weird thing is that connecting trough ssh i can successfully run scrapy list but ui says that can't

Hi there,
I would make sure you have the correct virtual environment activated when you run scrapy list.
If you manually installed all the Python modules that you need for the Scrapy project globally then it might work for you but then when the ScrapeOps dashboard first activates the virtual environment then it might still have a missing module which would cause the scrapy list command to fail.
I need to fix the bug of the dashboard not showing the full traceback though as then you would know what is missing for the command to work correctly.


org.jboss.cdi.tck.tests.interceptors.definition.interceptorOrder.InterceptorOrderTest

Due to the cdi-full TCK separation, this test is now invalid:

testInterceptorsCalledInOrderDefinedByBeansXml actually verifies @Priority ordering,
testInterceptorsInvocationOrder uses @AroundInvoke interceptors declared on target beans, which doesn't have to be supported by CDI Lite implementations.

I propose to:

Create a copy in the full package (with the cdi-full category) that restores the original test, including the beans.xml file.
In the current test, remove the testInterceptorsInvocationOrder method and then rename testInterceptorsCalledInOrderDefinedByBeansXml to testInterceptorsInvocationOrder.

testInterceptorsCalledInOrderDefinedByBeansXml

Do we have another test that actually asserts this? Just making sure we didn't lose that coverage in the process

I'm not sure, frankly, but my proposal (and my PR) restores that.

Ah yea, I misread your initial comment, mea culpa :)


[cilium] Allow overriding apiserver endpoint

Cilium configured to use Kubeprism to access kube-apiserver. We need to provide the opportunity to override these settings in cozystack's ConfigMap.
This would allow to run Cozystack on other distors (not only Talos Linux)
https://github.com/aenix-io/cozystack/blob/2e3555600dc34c3e555059b0a09b66bec3facfff/packages/system/cilium/values.yaml#L19-L20

done in v0.1.0 https://github.com/aenix-io/cozystack-website/pull/12


Added best-fit chisq, red. chisq, scaling factor, and BIC to output

Optional keyword 'chireturn' adds these items to the return tuple.

Thanks!


Using Log.error(..., Error) instead of log.error(..., String, ...) wh…

…ich has been removed in 11.

Great, thanks.


"import * as ..." breaks webview_deno

Using import statements inside a

I managed to integrate Three.js and its type definitions directly into the project. Therefore this won't be an issue anymore.
The new intended workflow is to use deno bundle to bundle the three.js app into a single js file. Which I know will work with webview.


TSI charts mess up the dates during month end

Hi,
I am currently using the TSI Chart to plot some data, and set the range date to picked up the data for instance for 2 days. but every month end the data isn't showing.

The issue seems to be on the date time manipulation where the range is set between the last day of the month and the begin of the new month i.e. june 30 - 1 july.
Can you please help?
Thanks

If you could create a codepen that minimally reproduces this issue, we can take a look.  I have not seen any issue like this in our usage of the components, so I'm guessing it is related to the way you are consuming the component, or the shape of your data...not the library.  Happy to help, just need to see what you're doing

Closing this issue as stale, feel free to reopen if you have a stable repro via Codepen


renamed the permission from create or edit to edit

We prefer small, well tested pull requests.
Please refer to Contributing to Spinnaker.
When filling out a pull request, please consider the following:

Follow the commit message conventions found here.
Provide a descriptive summary for your changes.
If it fixes a bug or resolves a feature request, be sure to link to that issue.
Add inline code comments to changes that might not be obvious.
Squash your commits as you keep adding changes.
Add a comment to @spinnaker/reviewers for review if your issue has been outstanding for more than 3 days.

Note that we are unlikely to accept pull requests that add features without prior discussion. The best way to propose a feature is to open an issue first and discuss your ideas there before implementing them.
https://devopsmx.atlassian.net/browse/OP-12826

This PR  triggered this build in this execution, please merge to master only if this succeeds:  https://spin.prod.opsmx.com/#/applications/gcp-gitprtrigger/executions/details/01FX9HK8ZB5G8W4YQTMAJBJKM0


Insert final new line doesn't work with format JSON on save

configure format on save
configure insert new line
save a JSON file with a trailing newline
🐛 trailing newline is gone, I guess that's because the css formatter removes it and because the insert final new lines come before extensions. I'd expect insert final new to be consistent

@jrieken which extension is that for formatting?

Sorry, not CSS but JSON and that's the same formatter you use.

I can look into changing it but users might equally expect a formatter to win over the newline setting. Hard to say what is right or wrong in this case.

I'd go for consistency here

@jrieken I moved it to be after FormatOnSaveParticipant so this particular issue is fixed. The ExtHostSaveParticipant is still last in the list though so might win over the others after all if there is another formatter running. Should it move to be the last?

I think it's ok like that - formatter shouldn't run via the willSave-hook but via the real API


Dialog Verifying "Visual Studio Code.app" stuck

Just updated visual studio code. The application is working fine. I have opened and quit multiple times but the verifying dialogue won't go away.
Version: 1.67.1 (Universal)
Commit: da15b6fd3ef856477bf6f4fb29ba1b7af717770d
Date: 2022-05-06T12:37:16.526Z
Electron: 17.4.1
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 21.4.0
Steps to Reproduce:

Update Visual Studio Code to 1.67.1

I had this issue as well. Workaround is to open "Activity Monitor" and force kill CoreServicesUIAgent
source: https://apple.stackexchange.com/questions/151571/what-is-the-verifying-xxx-app-dialog-and-how-do-i-get-passed-it

Doesn't appear to be anything we can do on our end. I recommend @dmtaub's suggestion

I had the same issue and @dmtaub's suggestion has resolved it.
Version: 1.68.0
Commit: 4af164ea3a06f701fe3e89a2bcbb421d2026b68f
Date: 2022-06-08T11:43:24.900Z
Electron: 17.4.7
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 21.4.0


Need to check whether the new comment and it's parent are in same thread

I am porting isso from Python to Go. While testing I noticed that if I specify a wrong parent(existed but different thread) for the new comment, the new comment will be added successfully but can't be retrievaled with uri.
Maybe we need to check whether the tid of new comment and parent's tid are consistent
https://github.com/posativ/isso/blob/6092881bb205c999a8f7f086dd5d20f686d641ea/isso/db/comments.py#L49-L52

@budui would you mind submitting a Pull request to address this?
Btw, nice work on go-isso, but I see you've found that it's hard to maintain a project all by yourself...

Closing in favor of https://github.com/posativ/isso/issues/765


Remove validation timeout in controlplane testing

Due to the unpredictability of a CI environment, setting a validation timeout when running tests may lead to flakyness.  At the same time, a short timeout is useful when developing locally to get faster feedback from the tests.
The commit changes the controlplane test framework to run without a timeout by default.  An additional method WithValidationTimeout is added to set a custom one when developing locally.  Moreover, the result of each failed validation is always printed, to ease debuggability both locally and in a CI environment.
Related: #26082

The change makes sense to me. I was reading the discussion in the linked issue and came across this, which made me hesitate on approving this PR. Raising it here for us to discuss whether that comment impacts this PR.

Yep, I'm working to verify what has been suggested. But I think we should consider removing the timeout anyway, to avoid possible further flakyness.

/test

/test

/test

The only affected tests successfully ran in Travis, so marking it ready-to-merge.


Issues with some user services on SWAY (at least)

I have noticed that some services fail most of the time (not always)
running
$ systemctl list-units --user --failed

  UNIT                                             LOAD   ACTIVE SUB    DESCRIPTION
●<EMAIL_ADDRESS>                  loaded failed failed Blueman Applet
●<EMAIL_ADDRESS>             loaded failed failed NetworkManager Applet
●<EMAIL_ADDRESS>loaded failed failed NVIDIA X Server Settings
● dunst.service                                    loaded failed failed Dunst notification daemon
● grub-boot-success.service                        loaded failed failed Mark boot as successful

i think the reason may be related (missing env variables somehow),
the failures for nm-applet for example seems to be
cannot open display:
but i run the executed command the applet seems to work just fine.
seems like the DISPLAY variable is not properly set when running the services, not sure how to troubleshoot this further, any ideas?

What's responsible for starting xwayland, systemd or the compositor? If it's $DISPLAY and the compositor is responsible for starting xwayland then these apps could be racing the compositor pushing that envvar to dbus. Just spitballing though -- there are a few reasons why that doesn't make much sense.
Dunst can die on start, it doesn't matter. Whenever something attempts to hit org.freedesktop.Notifications it will be reinvoked by systemd and work correctly. Unless you're saying that's happening and it doesn't, in which case we have an issue.
No clue what the hell's going on with grub-boot-success.service. Is it unable to write to a file or something?
That said, I don't see these issues over here on Hyprland. Which compositor are you running?

i'm using sway, seems like an issue only on sway, i re based to hyprland to test and those services and the theming seems to work just fine, with the exception of grub-boot services seems to have issues finding a file

seems like there maybe an issue upstream that got fix somehow, seems to be working consistently now


Toggle image button

Describe the feature
Just as we have Button and ButtonImg would be good to have a ToggleImg

Should be easy enough! I did just start working on this, it's mostly boilerplate code, but I'll get it in :)

Images are provided by argument, but here ya go! Will be in the next build :)

This is now up in v0.3.7-preview.6!


Need to know the number of columns

It seems that there is no simple way to iterate on the columns of a Row from a wildcard query (select * from foo).
We can only call Row.get_checked incrementally until an error is returned.
Or use Statement.column_names to know the number of columns.
Maybe the column_count  should be public ?

Fixed in #109


ES Name & Namespace are not being posted when I select with IP or DNS

Date - 12/3/19
Steps:

Go to Create External Service
Enter a Name & Namespace
Select List of IP Addresses or DNS name and enter info
Look at the post in the Dev Console

Results:  Both the Name and the Namespace are Null

Date 12/5
Verified fixed


Opening a ensoproject file bug

Double clicking on an ensoproject file should open in the current session if it exists.
Errors on mac currently.

When I open a .enso-project file on Mac I'm getting an error whether or not there's a current session--the new project shows up in the dashboard along with a toast saying that it (as a UUID) couldn't be opened. There may be a problem with my installation. @AdRiley This is different from the error you're seeing, right?

Someone else reported the mac issue. But just tested it on my mac and I am getting the same as you. If enso is closed it opens enso, but has a toast with an error. If enso is open then I get a second instance of enso which strangely isn't logged in.

Ok. I opened a separate issue for failing to open the imported project (#10282), which is either a dashboard or project manager bug.


Problem 3 (#issue3)

Using PHPUnit (https://phpunit.de/), write unit tests to ensure that the core functionality of your backend song rating app is fully functional.


config command palette file name backfround color base on git status

this is my file some was changed by me, but I can not figure out status of git. I want a feature to show color base on git status, such as idea

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!