text:
vsxmake project generator, very slow

Xmake Version
2.9.4
Operating System Version and Architecture
Windows 11
Describe Bug
When running xmake project -k vsxmake on a project with 50 000 source file, it runs for hours.
This does not happen with the old vs generator. Running xmake directly to build is also not affected.
Expected Behavior
It doesn't take hours.
Project Configuration
n/a
Additional Information and Error Logs
n/a

you can set -m mode and -a arch to reduce it.

you can set -m mode and -a arch to reduce it.

Tried it, canceled the job after 30 minutes, it didn't help.

please provide verbose logs

There are no logs, it just hangs for hours after the initial checks:
(base) PS F:\Dev\HogwartsMods\Hogwarp> xmake project -k vsxmake -vD
checking for cl.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\cl.exe
checking for Microsoft Visual Studio (x64) version ... 2022
checking for Microsoft C/C++ Compiler (x64) version ... 19.41.34120
checkinfo: cannot runv(zig.exe version), No such file or directory
checking for zig ... no
checkinfo: cannot runv(zig.exe version), No such file or directory
checking for zig ... no
checkinfo: cannot runv(nim.exe --version), No such file or directory
checking for nim ... no
checkinfo: cannot runv(nim.exe --version), No such file or directory
checking for nim ... no
checking for unzip ... ok
checking for git ... ok
checking for gzip ... ok
checking for tar ... ok
git rev-parse HEAD
finding mem from xmake ..
checking for xmake::mem ... mem 1.0.0
finding imgui from xmake ..
checking for xmake::imgui ... imgui v1.91.0
finding xbyak from xmake ..
checking for xmake::xbyak ... xbyak v7.06
finding minhook from xmake ..
checking for xmake::minhook ... minhook v1.3.3
checking for aqt ... no
checking for Qt SDK directory ... C:/Users/Work/AppData/Local/.xmake/packages/q/qt6base/6.8.0/b40ce8b80f0449248b45b9fbf1bcfe6e
checking for Qt SDK version ... 6.8.0
checking for xmake-repo::qt6base ... qt6base 6.8.0
checking for xmake-repo::qt6core ... qt6core 6.8.0
checking for xmake-repo::qt6gui ... qt6gui 6.8.0
checking for xmake-repo::qt6widgets ... qt6widgets 6.8.0
finding hopscotch-map from xmake ..
checking for xmake::hopscotch-map ... hopscotch-map v2.3.1
checking for cmake ... no
checking for cmake ... no
checking for cmake ... no
checking for cmake ... C:\Program Files\CMake\bin\cmake
finding snappy from xmake ..
checking for xmake::snappy ... snappy 1.1.10
finding mimalloc from xmake ..
checking for xmake::mimalloc ... mimalloc 2.1.7
finding openssl from xmake ..
checking for xmake::openssl ... openssl 1.1.1-w
finding abseil from xmake ..
checking for xmake::abseil ... abseil 20240722.0
finding protobuf-cpp from xmake ..
checking for xmake::protobuf-cpp ... protobuf-cpp 28.0
finding gamenetworkingsockets from xmake ..
checking for xmake::gamenetworkingsockets ... gamenetworkingsockets v1.4.1
finding catch2 from xmake ..
checking for xmake::catch2 ... catch2 v2.13.9
finding libuv from xmake ..
checking for xmake::libuv ... libuv v1.48.0
finding spdlog from xmake ..
checking for xmake::spdlog ... spdlog v1.14.1
finding cryptopp from xmake ..
checking for xmake::cryptopp ... cryptopp 8.9.0
finding protobuf-cpp from xmake ..
checking for xmake::protobuf-cpp ... protobuf-cpp 3.19.4
finding glm from xmake ..
checking for xmake::glm ... glm 1.0.1
finding zlib from xmake ..
checking for xmake::zlib ... zlib v1.3.1
finding nlohmann_json from xmake ..
checking for xmake::nlohmann_json ... nlohmann_json v3.11.3
finding dotnet from xmake ..
checking for xmake::dotnet ... dotnet 8.0.6
checking for cl.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\cl.exe
checking for the c++ compiler (cxx) ... cl.exe
checking for link.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\link.exe
checking for the linker (ld) ... link.exe
checking for link.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\link.exe
checking for the shared library linker (sh) ... link.exe
generating code\encoding\BuildInfo.h.in to build\BuildInfo.h ..
  > replace GIT_BRANCH -> dev
  > replace GIT_COMMIT -> ec9964cf
generating code\encoding\BuildInfo.h.in ... cache
configure
{
    ndk_stdcxx = true
    mode = release
    kind = static
    plat = windows
    host = windows
    qt = C:/Users/Work/AppData/Local/.xmake/packages/q/qt6base/6.8.0/b40ce8b80f0449248b45b9fbf1bcfe6e
    vs = 2022
    arch = x64
    buildir = build
    qt_sdkver = 6.8.0
    ccache = true
}
using project kind vs2022
checking for debug.x64 ...
checking for cl.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\cl.exe
checking for Microsoft Visual Studio (x64) version ... 2022
checking for Microsoft C/C++ Compiler (x64) version ... 19.41.34120
checkinfo: cannot runv(zig.exe version), No such file or directory
checking for zig ... no
checkinfo: cannot runv(zig.exe version), No such file or directory
checking for zig ... no
checkinfo: cannot runv(nim.exe --version), No such file or directory
checking for nim ... no
checkinfo: cannot runv(nim.exe --version), No such file or directory
checking for nim ... no
checking for unzip ... ok
checking for git ... ok
checking for gzip ... ok
checking for tar ... ok
finding mem from xmake ..
checking for xmake::mem ... mem 1.0.0
finding imgui from xmake ..
checking for xmake::imgui ... imgui v1.91.0
finding xbyak from xmake ..
checking for xmake::xbyak ... xbyak v7.06
finding minhook from xmake ..
checking for xmake::minhook ... minhook v1.3.3
checking for aqt ... no
checking for Qt SDK directory ... C:/Users/Work/AppData/Local/.xmake/packages/q/qt6base/6.8.0/b40ce8b80f0449248b45b9fbf1bcfe6e
checking for Qt SDK version ... 6.8.0
checking for xmake-repo::qt6base ... qt6base 6.8.0
checking for xmake-repo::qt6core ... qt6core 6.8.0
checking for xmake-repo::qt6gui ... qt6gui 6.8.0
checking for xmake-repo::qt6widgets ... qt6widgets 6.8.0
finding hopscotch-map from xmake ..
checking for xmake::hopscotch-map ... hopscotch-map v2.3.1
checking for cmake ... no
checking for cmake ... no
checking for cmake ... no
checking for cmake ... C:\Program Files\CMake\bin\cmake
finding snappy from xmake ..
checking for xmake::snappy ... snappy 1.1.10
finding mimalloc from xmake ..
checking for xmake::mimalloc ... mimalloc 2.1.7
finding openssl from xmake ..
checking for xmake::openssl ... openssl 1.1.1-w
finding abseil from xmake ..
checking for xmake::abseil ... abseil 20240722.0
finding protobuf-cpp from xmake ..
checking for xmake::protobuf-cpp ... protobuf-cpp 28.0
finding gamenetworkingsockets from xmake ..
checking for xmake::gamenetworkingsockets ... gamenetworkingsockets v1.4.1
finding catch2 from xmake ..
checking for xmake::catch2 ... catch2 v2.13.9
finding libuv from xmake ..
checking for xmake::libuv ... libuv v1.48.0
finding spdlog from xmake ..
checking for xmake::spdlog ... spdlog v1.14.1
finding cryptopp from xmake ..
checking for xmake::cryptopp ... cryptopp 8.9.0
finding protobuf-cpp from xmake ..
checking for xmake::protobuf-cpp ... protobuf-cpp 3.19.4
finding glm from xmake ..
checking for xmake::glm ... glm 1.0.1
finding zlib from xmake ..
checking for xmake::zlib ... zlib v1.3.1
finding nlohmann_json from xmake ..
checking for xmake::nlohmann_json ... nlohmann_json v3.11.3
finding dotnet from xmake ..
checking for xmake::dotnet ... dotnet 8.0.6
checking for cl.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\cl.exe
checking for the c++ compiler (cxx) ... cl.exe
checking for link.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\link.exe
checking for the linker (ld) ... link.exe
checking for link.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\link.exe
checking for the shared library linker (sh) ... link.exe
checking for cl.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\cl.exe
checking for the c compiler (cc) ... cl.exe
checking for link.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\link.exe
checking for the static library archiver (ar) ... link.exe
checking for release.x64 ...
checking for cl.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\cl.exe
checking for Microsoft Visual Studio (x64) version ... 2022
checking for Microsoft C/C++ Compiler (x64) version ... 19.41.34120
checkinfo: cannot runv(zig.exe version), No such file or directory
checking for zig ... no
checkinfo: cannot runv(zig.exe version), No such file or directory
checking for zig ... no
checkinfo: cannot runv(nim.exe --version), No such file or directory
checking for nim ... no
checkinfo: cannot runv(nim.exe --version), No such file or directory
checking for nim ... no
checking for unzip ... ok
checking for git ... ok
checking for gzip ... ok
checking for tar ... ok
finding mem from xmake ..
checking for xmake::mem ... mem 1.0.0
finding imgui from xmake ..
checking for xmake::imgui ... imgui v1.91.0
finding xbyak from xmake ..
checking for xmake::xbyak ... xbyak v7.06
finding minhook from xmake ..
checking for xmake::minhook ... minhook v1.3.3
checking for aqt ... no
checking for Qt SDK directory ... C:/Users/Work/AppData/Local/.xmake/packages/q/qt6base/6.8.0/b40ce8b80f0449248b45b9fbf1bcfe6e
checking for Qt SDK version ... 6.8.0
checking for xmake-repo::qt6base ... qt6base 6.8.0
checking for xmake-repo::qt6core ... qt6core 6.8.0
checking for xmake-repo::qt6gui ... qt6gui 6.8.0
checking for xmake-repo::qt6widgets ... qt6widgets 6.8.0
finding hopscotch-map from xmake ..
checking for xmake::hopscotch-map ... hopscotch-map v2.3.1
checking for cmake ... no
checking for cmake ... no
checking for cmake ... no
checking for cmake ... C:\Program Files\CMake\bin\cmake
finding snappy from xmake ..
checking for xmake::snappy ... snappy 1.1.10
finding mimalloc from xmake ..
checking for xmake::mimalloc ... mimalloc 2.1.7
finding openssl from xmake ..
checking for xmake::openssl ... openssl 1.1.1-w
finding abseil from xmake ..
checking for xmake::abseil ... abseil 20240722.0
finding protobuf-cpp from xmake ..
checking for xmake::protobuf-cpp ... protobuf-cpp 28.0
finding gamenetworkingsockets from xmake ..
checking for xmake::gamenetworkingsockets ... gamenetworkingsockets v1.4.1
finding catch2 from xmake ..
checking for xmake::catch2 ... catch2 v2.13.9
finding libuv from xmake ..
checking for xmake::libuv ... libuv v1.48.0
finding spdlog from xmake ..
checking for xmake::spdlog ... spdlog v1.14.1
finding cryptopp from xmake ..
checking for xmake::cryptopp ... cryptopp 8.9.0
finding protobuf-cpp from xmake ..
checking for xmake::protobuf-cpp ... protobuf-cpp 3.19.4
finding glm from xmake ..
checking for xmake::glm ... glm 1.0.1
finding zlib from xmake ..
checking for xmake::zlib ... zlib v1.3.1
finding nlohmann_json from xmake ..
checking for xmake::nlohmann_json ... nlohmann_json v3.11.3
finding dotnet from xmake ..
checking for xmake::dotnet ... dotnet 8.0.6
checking for cl.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\cl.exe
checking for the c++ compiler (cxx) ... cl.exe
checking for link.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\link.exe
checking for the linker (ld) ... link.exe
checking for link.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\link.exe
checking for the shared library linker (sh) ... link.exe
checking for cl.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\cl.exe
checking for the c compiler (cc) ... cl.exe
checking for link.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\link.exe
checking for the static library archiver (ar) ... link.exe
checking for releasedbg.x64 ...
checking for cl.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\cl.exe
checking for Microsoft Visual Studio (x64) version ... 2022
checking for Microsoft C/C++ Compiler (x64) version ... 19.41.34120
checkinfo: cannot runv(zig.exe version), No such file or directory
checking for zig ... no
checkinfo: cannot runv(zig.exe version), No such file or directory
checking for zig ... no
checkinfo: cannot runv(nim.exe --version), No such file or directory
checking for nim ... no
checkinfo: cannot runv(nim.exe --version), No such file or directory
checking for nim ... no
checking for unzip ... ok
checking for git ... ok
checking for gzip ... ok
checking for tar ... ok
finding mem from xmake ..
checking for xmake::mem ... mem 1.0.0
finding imgui from xmake ..
checking for xmake::imgui ... imgui v1.91.0
finding xbyak from xmake ..
checking for xmake::xbyak ... xbyak v7.06
finding minhook from xmake ..
checking for xmake::minhook ... minhook v1.3.3
checking for aqt ... no
checking for Qt SDK directory ... C:/Users/Work/AppData/Local/.xmake/packages/q/qt6base/6.8.0/b40ce8b80f0449248b45b9fbf1bcfe6e
checking for Qt SDK version ... 6.8.0
checking for xmake-repo::qt6base ... qt6base 6.8.0
checking for xmake-repo::qt6core ... qt6core 6.8.0
checking for xmake-repo::qt6gui ... qt6gui 6.8.0
checking for xmake-repo::qt6widgets ... qt6widgets 6.8.0
finding hopscotch-map from xmake ..
checking for xmake::hopscotch-map ... hopscotch-map v2.3.1
checking for cmake ... no
checking for cmake ... no
checking for cmake ... no
checking for cmake ... C:\Program Files\CMake\bin\cmake
finding snappy from xmake ..
checking for xmake::snappy ... snappy 1.1.10
finding mimalloc from xmake ..
checking for xmake::mimalloc ... mimalloc 2.1.7
finding openssl from xmake ..
checking for xmake::openssl ... openssl 1.1.1-w
finding abseil from xmake ..
checking for xmake::abseil ... abseil 20240722.0
finding protobuf-cpp from xmake ..
checking for xmake::protobuf-cpp ... protobuf-cpp 28.0
finding gamenetworkingsockets from xmake ..
checking for xmake::gamenetworkingsockets ... gamenetworkingsockets v1.4.1
finding catch2 from xmake ..
checking for xmake::catch2 ... catch2 v2.13.9
finding libuv from xmake ..
checking for xmake::libuv ... libuv v1.48.0
finding spdlog from xmake ..
checking for xmake::spdlog ... spdlog v1.14.1
finding cryptopp from xmake ..
checking for xmake::cryptopp ... cryptopp 8.9.0
finding protobuf-cpp from xmake ..
checking for xmake::protobuf-cpp ... protobuf-cpp 3.19.4
finding glm from xmake ..
checking for xmake::glm ... glm 1.0.1
finding zlib from xmake ..
checking for xmake::zlib ... zlib v1.3.1
finding nlohmann_json from xmake ..
checking for xmake::nlohmann_json ... nlohmann_json v3.11.3
finding dotnet from xmake ..
checking for xmake::dotnet ... dotnet 8.0.6
checking for cl.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\cl.exe
checking for the c++ compiler (cxx) ... cl.exe
checking for link.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\link.exe
checking for the linker (ld) ... link.exe
checking for link.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\link.exe
checking for the shared library linker (sh) ... link.exe
checking for cl.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\cl.exe
checking for the c compiler (cc) ... cl.exe
checking for link.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\link.exe
checking for the static library archiver (ar) ... link.exe

you can try this way to get backtrace. https://github.com/xmake-io/xmake/issues/2033

Did a few runs and here are the traces
[xmake]: [engine]: stack traceback:
        [C]: in function 'type'
        @programdir\core\base\table.lua:98: in function 'table.join'
        @programdir\plugins\project\vsxmake\render.lua:76: in global '_expand'
        @programdir\plugins\project\vsxmake\render.lua:89: in function <@programdir\plugins\project\vsxmake\render.lua:87>
        (...tail calls...)
        [C]: in function 'string.gsub'
        @programdir\plugins\project\vsxmake\render.lua:93: in function <@programdir\plugins\project\vsxmake\render.lua:87>
        (...tail calls...)
        @programdir\plugins\project\vsxmake\vsxmake.lua:247: in field '?'
        @programdir\plugins\project\main.lua:75: in global '_make'
        @programdir\plugins\project\main.lua:95: in function <@programdir\plugins\project\main.lua:78>
        (...tail calls...)
        [C]: in function 'xpcall'
        @programdir\core\base\utils.lua:275: in function 'sandbox/modules/utils.trycall'
        (...tail calls...)
        @programdir\core\base\task.lua:491: in function 'base/task.run'
        @programdir\core\main.lua:327: in upvalue 'cotask'
        @programdir\core\base\scheduler.lua:406: in function <@programdir\core\base\scheduler.lua:399>

[xmake]: [engine]: stack traceback:
        @programdir\core\base\table.lua:98: in function 'sandbox/modules/table.join'
        @programdir\core\base\table.lua:97: in function 'sandbox/modules/table.join'
        @programdir\plugins\project\vsxmake\render.lua:76: in global '_expand'
        @programdir\plugins\project\vsxmake\render.lua:89: in function <@programdir\plugins\project\vsxmake\render.lua:87>
        (...tail calls...)
        [C]: in function 'string.gsub'
        @programdir\plugins\project\vsxmake\render.lua:93: in function <@programdir\plugins\project\vsxmake\render.lua:87>
        (...tail calls...)
        @programdir\plugins\project\main.lua:75: in global '_make'
        @programdir\plugins\project\main.lua:95: in function <@programdir\plugins\project\main.lua:78>
        (...tail calls...)
        @programdir\plugins\project\main.lua:95: in function <@programdir\plugins\project\main.lua:78>
        (...tail calls...)
        [C]: in function 'xpcall'
        @programdir\core\base\utils.lua:275: in function 'sandbox/modules/utils.trycall'
        (...tail calls...)
        @programdir\core\base\task.lua:491: in function 'base/task.run'
        @programdir\core\base\scheduler.lua:406: in function <@programdir\core\base\scheduler.lua:399>
        @programdir\core\base\scheduler.lua:406: in function <@programdir\core\base\scheduler.lua:399>

[xmake]: [engine]: stack traceback:
        [C]: in function 'type'
        @programdir\core\base\table.lua:98: in function 'base/table.join'
        @programdir\plugins\project\vsxmake\render.lua:76: in global '_expand'
        [C]: in function 'base/string.gsub'
        [C]: in function 'base/string.gsub'
        @programdir\plugins\project\vsxmake\render.lua:93: in function <@programdir\plugins\project\vsxmake\render.lua:87>
        (...tail calls...)
        @programdir\plugins\project\vsxmake\vsxmake.lua:247: in field '?'
        @programdir\plugins\project\main.lua:95: in function <@programdir\plugins\project\main.lua:78>
        (...tail calls...)
        @programdir\plugins\project\main.lua:95: in function <@programdir\plugins\project\main.lua:78>
        (...tail calls...)
        [C]: in function 'xpcall'
        @programdir\core\base\utils.lua:275: in function 'base/utils.trycall'
        (...tail calls...)
        @programdir\core\base\task.lua:491: in function 'base/task.run'
        @programdir\core\base\scheduler.lua:406: in function <@programdir\core\base\scheduler.lua:399>
        @programdir\core\base\scheduler.lua:406: in function <@programdir\core\base\scheduler.lua:399>

Maybe it's because the number of source files for your project is too large, generating very large vcxproj files.
And the current template replacement algorithm has performance issues that prevent it from handling such large vcxproj files quickly.
Maybe we should optimize here so that all template variables are replaced by just reading and writing the file once.
https://github.com/xmake-io/xmake/blob/7ae40ebaaba975239e4550159fd440bc94237764/xmake/plugins/project/vsxmake/render.lua#L91-L94

Maybe we should optimize here, big projects can cause it to be very slow.
I know this place can continue to be optimized, but at the moment I can't optimize it very well.
This patch (https://github.com/xmake-io/xmake/pull/5588) I made some attempts to optimize, you can try it as well and see if it improves.
You can also try to debug it or help optimize it.
https://github.com/xmake-io/xmake/blob/7ae40ebaaba975239e4550159fd440bc94237764/xmake/plugins/project/vsxmake/render.lua#L62-L96
@OpportunityLiu @SirLynix Any idea?

I think we should remake the vsxmake generator by forking vs generator and putting idea I had in another issue (use nmake settings to trigger xmake, like Unreal Engine does)

I think we should remake the vsxmake generator by forking vs generator and putting idea I had in another issue (use nmake settings to trigger xmake, like Unreal Engine does)

You can try it, but for now I can only try to optimize it first.
@maximegmd Will the new patch be faster?

@waruqi I am unable to run as I am hitting this https://github.com/xmake-io/xmake-repo/issues/5180 after a clean install

@waruqi I am unable to run as I am hitting this xmake-io/xmake-repo#5180 after a clean install

try it again.
https://github.com/xmake-io/xmake-repo/issues/5180#issuecomment-2339494658

This helps a lot; it now takes 10 minutes vs a few hours before.
That being said, I think we should keep this issue open to track vsxmake improvements, even 10 minutes is quite slow.

how long does vs generator take?

Less than a minute

Did you provide a new stuck backtrace?

authors: SirLynix maximegmd waruqi

repo: xmake-io/xmake


text:
[Bug] Powershell GUI style difference between running script by OS and running by BeefText

Try this code on Windows 10 or 11 to create an input box dialogue:

PowerShell code
function CreateInputBox() {
  param(
      [string] $ParamTitle = "The title",
      [string] $ParamLabel = "The label above textbox:",
      [string] $ParamText = "Value of the Text",
      [string] $ParamPlaceholder = "Write text"
  )

  Add-Type -AssemblyName System.Windows.Forms
  Add-Type -AssemblyName System.Drawing

  $width = 400;
  $widthPadding = $width-40;
  $widthPaddingOKButton = [int]($width/2)-100;
  $widthPaddingCancelButton = [int]($width/2)+0;

  $form = New-Object System.Windows.Forms.Form
  $form.Text = $ParamTitle;
  $form.Size = New-Object System.Drawing.Size($width,200)
  $form.StartPosition = 'CenterScreen'

  $okButton = New-Object System.Windows.Forms.Button
  $okButton.Location = New-Object System.Drawing.Point($widthPaddingOKButton,120)
  $okButton.Size = New-Object System.Drawing.Size(75,23)
  $okButton.Text = 'OK'
  $okButton.DialogResult = [System.Windows.Forms.DialogResult]::OK
  $form.AcceptButton = $okButton
  $form.Controls.Add($okButton)

  $cancelButton = New-Object System.Windows.Forms.Button
  $cancelButton.Location = New-Object System.Drawing.Point($widthPaddingCancelButton,120)
  $cancelButton.Size = New-Object System.Drawing.Size(75,23)
  $cancelButton.Text = 'Cancel'
  $cancelButton.DialogResult = [System.Windows.Forms.DialogResult]::Cancel
  $form.CancelButton = $cancelButton
  $form.Controls.Add($cancelButton)

  $label = New-Object System.Windows.Forms.Label
  $label.Location = New-Object System.Drawing.Point(10,20)
  $label.Size = New-Object System.Drawing.Size($widthPadding,20)
  $label.Text = $ParamLabel
  $form.Controls.Add($label)

  $textBox = New-Object System.Windows.Forms.TextBox
  $textBox.Multiline = $true
  $textBox.ScrollBars = [System.Windows.Forms.ScrollBars]::Vertical
  $textBox.WordWrap = $true
  $textBox.MaxLength = 4000
  $textBox.Location = New-Object System.Drawing.Point(10,40)
  $textBox.Size = New-Object System.Drawing.Size($widthPadding,75)
  $textBox.Text = $ParamText
  $textBox.PlaceholderText = $ParamPlaceholder
  $form.Controls.Add($textBox)

  $form.Topmost = $true

  $form.Add_Shown({$textBox.Select()})
  $result = $form.ShowDialog()

  if ($result -eq [System.Windows.Forms.DialogResult]::OK)
  {
      return $textBox.Text
  } else {
      return $null
  }
}

$kek = CreateInputBox "The title" "The label above textbox:" "Value of the Text" "Write text";

Write-Host $kek;

Save it in any desired location with any preferred name;

Create a combo with PowerShell variable: #{powershell:<path to .ps1 file>:0};

Run the file by legacy PowerShell (not the Core version);

And run the combo;

You will see differences in design. Although they have the same functionality... Why does it happen?

PowerShell legacy
Beeftext combo

Expected behavior
Both GUI Input text forms should be the same
Actual behavior
They are not the same
Beeftext version:
Beeftext v16.0 Portable Edition.
Operating system version
Windows 11

Hi.
I guess its a matter of context from within which the script is executed. For the record, I have the 'old school' look all the time, for the pre-installed Powershell (v5.1), and the core version 7.3.2.

source: gharchive/issue

authors: Kenya-West xmichelo

repo: xmichelo/Beeftext

license: MIT

license_type: permissive

license_source: github-api


text:
[Other] Theme

I really liked the theme of your qbit on the demo, its like the default one but dark, none of the themes that a find its like this
"https://raw.githubusercontent.com/xob0t/qBittorrent-File-Matcher/main/media/demo.webp"
Can you provide for us? xD
Thanks!

https://github.com/jagannatharjun/qbt-theme#mumble-darkqbtheme


text:
🛑 Design Swan is down

In 79608d7, Design Swan (https://www.designswan.com) was down:

HTTP code: 500
Response time: 160 ms

Resolved: Design Swan is back up in 2514f1a.

repo: xoryorz/upptime


text:
🛑 Design Swan is down

In 4922a5b, Design Swan (https://www.designswan.com) was down:

HTTP code: 500
Response time: 114 ms

Resolved: Design Swan is back up in 7cb6efa after 12 minutes.


text:
🛑 Design Swan is down

In 6ea3fbd, Design Swan (https://www.designswan.com) was down:

HTTP code: 500
Response time: 74 ms

Resolved: Design Swan is back up in 793aff0 after 24 minutes.


text:
🛑 Design Swan is down

In f0872cb, Design Swan (https://www.designswan.com) was down:

HTTP code: 500
Response time: 95 ms

Resolved: Design Swan is back up in 16d10c6 after 1 hour, 29 minutes.


text:
Fixed the link about the animations for Android

Fixed the link about the animations for Android.

Codecov Report

Merging #302 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #302   +/-   ##
=======================================
  Coverage   76.61%   76.61%
=======================================
  Files          19       19
  Lines         774      774
  Branches      113      113
=======================================
  Hits          593      593
  Misses        150      150
  Partials       31       31

source: gharchive/pull-request

authors: codecov-io hjbramos

repo: xotahal/react-native-material-ui

license: mit

license_source: bigquery


text:
Move hardcode local repository path from build.gradle to environment variable

Path to local repository may be different. And need used environment variable in build.gradle for change it without rewrite build.gradle.
if variable not set used default path, something like this:
def localMavenRepo = 'file://' + new File(System.getProperty('user.home'), '.m2/repository').absolutePath

or better try read local repository location from maven settings.xml
def getMavenSettingsCredentials = {
    String userHome = System.getProperty( "user.home" );
    File mavenSettings = new File(userHome, ".m2/settings.xml")
    def xmlSlurper = new XmlSlurper()
    def output = xmlSlurper.parse(mavenSettings)
    return output."localRepository"
}

Fix in https://github.com/xpenatan/gdx-dragome-backend/pull/30/commits/0d9d09536f6f13ca982199fab10b87d0b389808c

repo: xpenatan/gdx-dragome-backend


text:
Dev

Server working and everything else in place.

OK.

repo: xrimsonn/mrh-c


text:
Add support for webkit's (Chrome/Firefox) up/down arrows for input type = number fields

I was wondering if you could add support for webkit's "up/down" arrows that are added to  fields. Here is a hack that I've implemented, which works fine but is very expensive:
// here we are attaching calx to both keyup (when we are just going up/down with keyboard arrows), as well as webkit's "up/down" arrows on the  form fields
$("input[type=number]").bind('keyup input', function(){
// works fine, without visible redundancy
$('#table_id').calx();
});

Yes, I think I miss that, curently only field with [type= text] which is
listed, will add other type soon
Best regards,
Ikhsan
Sent from mobile
On Jan 30, 2015 2:41 PM, "yevheniyc" notifications@github.com wrote:

I was wondering if you could add support for webkit's "up/down" arrows
that are added to fields. Here is a hack that I've implemented, which works
fine but is very expensive:
// here we are attaching calx to both keyup (when we are just going
up/down with keyboard arrows), as well as webkit's "up/down" arrows on the
form fields
$("input[type=number]").bind('keyup input', function(){
// works fine, without visible redundancy
$('#table_id').calx();
});
--
Reply to this email directly or view it on GitHub
https://github.com/xsanisty/jquery-calx/issues/10.

Thank you so much!!!

Hi @yevheniyc
I just noticed that calx cover all input tag, and behave differently only on checkbox and radio , on other input, blur is the default event binding that trigger the calculation.
you can try to change it on calx init
$('#id').calx({
    autoCalculateTrigger : 'keyup'
});

Works great for the "keyup" event. It still has issues with webkit's "up/down" arrows on the type=number input fields. This will suffice for me, but the "up/down" arrows bug is still there!

After searching for some reference, I think this link on SO is relevant to this issue
http://stackoverflow.com/questions/3940258/what-events-does-an-input-type-number-fire-when-its-value-is-changed
so, you can try to use the input or change event to trigger the calculation
$('#id').calx({
    autoCalculateTrigger : 'keyup input'
});

repo: xsanisty/jquery-calx


text:
🛑 Xstatic is down

In 3a8661c, Xstatic (https://www.xstatic.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Xstatic is back up in 6116b86 after 15 minutes.

repo: xstaticwebdev/upptime


text:
Fill empty guide (XEPG) slots with dummy 'unknown' entries

I have an IPTV source where guide data is often incomplete for some channels, and its well known that Plex will not allow you to watch a channel with no guide entry.  I was wondering why xTeVe could not fill the empty slots with dummy entries.  This could be configurable so not everyone has to enable it, but it would insert entries into any gaps in the guide data, something like a "Channel XYZ: Unknown" entry.  This should in theory then allow that to be viewed in Plex.
I'm new to xTeVe (only been using it a few days), so let me know if I'm missing something obvious that makes this a bad idea... otherwise I can help to work on this feature when I get some time.

Seems I was wrong about Plex behaviour.  Maybe it changed compared to what I read.

I was interested in this actually @dannytrigo the issue is that the Xteve playlist won't have channels without XEPG data, so if you don't add dummies, they don't show in the playlist.
Can we re-open this? Or should I create a duplicate.

Ok for me to reopen it. In the meantime I made my own guide preprocessor I run my guide through prior to xteve

Do you mind sharing? I saw there's a python script, howerver, they mention the discord server and there';s no link to the server itself.

All this is for a DVR, Why would you want channels with no EPG for a DVR?

Simply because there are channels without EPG. Special events too. If I'm adding sections of the channels through filters is because I would want those channels to show.
For example, I use DarkMedia and there's a NFL GamePass section. Those channels do not have EPG (the channel itself has the game in the title).
I have to come in and assign dummy every day so they show in the M3U. Why not have an option to assign it automatically?
Another option is, have an option to always show the channels in the M3U even if no EPG.
Honestly I've been using xteve for more than a year now and that's the only thing that always bites me in the ass.

As soon as the channel name changes it will be deactivated. This issue has been addressed and refused by the Dev. Your welcome to fork xTeVe and create this function.

Thanks for the discord, I spent 30 minutes at least trying to find it and it's nowhere to be found.
I read about the script so I will try that.

authors: MCTyler dannytrigo pmcnano

repo: xteve-project/xTeVe


text:
grid 欄位加上 type: "index" 導致index為0的資料 無法顯示

（必填）请填写问题描述 Describe
grid 欄位加上 type: "index" 導致index為0的資料 無法顯示
（必填）请填写能重现问题的链接，例如
grid 的 tableColumn 添加 type: "index" 導致index為0的資料 無法顯示
请填写报错信息或截图 Error message or screenshots

（必填）请填写版本号 Version

os: windows 10
browser: chrome 78.0.3904.97
vue:  2.6.10
vxe-table: 2.6.20

（必填）請填寫問題描述
grid欄位加上類型：“ index”導致索引為0的資料無法顯示
（必填）請填寫能重現問題的鏈接，例如
grid的tableColumn添加類型：“ index”導致index為0的資料無法顯示
請填寫報錯信息或截圖錯誤消息或截圖

（必填）請填寫版本號

操作系統：Windows 10
瀏覽器：chrome 78.0.3904.97
版本：2.6.10
vxe表：2.6.20

（必填）請填寫問題描述
grid欄位加上類型：“ index”導致索引為0的資料無法顯示
（必填）請填寫能重現問題的鏈接，例如
grid的tableColumn添加類型：“ index”導致index為0的資料無法顯示
請填寫報錯信息或截圖錯誤消息或截圖

（必填）請填寫版本號

操作系統：Windows 10
瀏覽器：chrome 78.0.3904.97
版本：2.6.10
vxe表：2.6.20

無錯誤 已解決

repo: xuliangzhan/vxe-table


text:
Some table builder SQL parsing does not report an error but TableSpec is a null pointer

SQL
CREATE TABLE `ab_permission_view`
(
    `id`            int(11) NOT NULL AUTO_INCREMENT,
    `permission_id` int(11) DEFAULT NULL,
    `view_menu_id`  int(11) DEFAULT NULL,
    PRIMARY KEY (`id`),
    UNIQUE KEY `permission_id` (`permission_id`, `view_menu_id`),
    KEY `view_menu_id` (`view_menu_id`),
    CONSTRAINT `ab_permission_view_ibfk_1` FOREIGN KEY (`permission_id`) REFERENCES `ab_permission` (`id`),
    CONSTRAINT `ab_permission_view_ibfk_2` FOREIGN KEY (`view_menu_id`) REFERENCES `ab_view_menu` (`id`)
) ENGINE = InnoDB
  AUTO_INCREMENT = 241
  DEFAULT CHARSET = utf8;

It is now possible to directly use the "vitess.io/vitess/go/vt/sqlparser"

thanks


text:
iOS targets crashes when store is setting a value while there is no previous file

Uncaught Kotlin exception: okio.IOException: Operation not permitted
    at 0   PSCore                              0x10548be63        kfun:okio#errnoToIOException(kotlin.Int){}okio.IOException + 419
    at 1   PSCore                              0x105490993        kfun:okio.PosixFileSystem#sink(okio.Path;kotlin.Boolean){}okio.Sink + 751
    at 2   PSCore                              0x105565b1f        kfun:au.com.gridstone.pscore.app.data.$<get-appDataModule>$lambda$11$lambda$2$lambda$0$FUNCTION_REFERENCE$18.$<bridge-UNNN>invoke(au.com.gridstone.pscore.login.data.models.DeviceCredentials?){}#internal + 871
    at 3   PSCore                              0x105562caf        kfun:au.com.gridstone.pscore.app.data.$<get-appDataModule>$lambda$11$lambda$2$suspendConversion0COROUTINE$2.invokeSuspend#internal + 347
    at 4   PSCore                              0x105562e3f        kfun:au.com.gridstone.pscore.app.data.$<get-appDataModule>$lambda$11$lambda$2$suspendConversion0COROUTINE$2.invoke#internal + 195
    at 5   PSCore                              0x1054a59e3        kfun:io.github.xxfast.kstore.KStore.$writeCOROUTINE$73.invokeSuspend#internal + 427
    at 6   PSCore                              0x1054a5bf3        kfun:io.github.xxfast.kstore.KStore.write#internal + 183
    at 7   PSCore                              0x1054a6493        kfun:io.github.xxfast.kstore.KStore.$setCOROUTINE$75#invokeSuspend(kotlin.Result<kotlin.Any?>){}kotlin.Any? + 547
    at 8   PSCore                              0x1054a6757        kfun:io.github.xxfast.kstore.KStore#set(1:0?){} + 183
    at 9   PSCore                              0x1055180b7        kfun:au.com.gridstone.pscore.login.screens.$LoginDomain$lambda$14$lambda$13$lambda$12COROUTINE$39.invokeSuspend#internal + 8635
    at 10  PSCore                              0x1051d4397        kfun:kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(kotlin.Result<kotlin.Any?>){} + 203
    at 11  PSCore                              0x1052d926f        kfun:kotlinx.coroutines.DispatchedTask#run(){} + 1439
    at 12  PSCore                              0x1052ec4ab        kfun:kotlinx.coroutines.DarwinMainDispatcher.$dispatch$lambda$0$FUNCTION_REFERENCE$487.$<bridge-UNN>invoke(){}#internal + 227
    at 13  PSCore                              0x1056b5f63        ___6f72672e6a6574627261696e732e6b6f746c696e783a6b6f746c696e782d636f726f7574696e65732d636f72652f6f70742f6275696c644167656e742f776f726b2f343465633665383530643563363366302f6b6f746c696e782d636f726f7574696e65732d636f72652f6e617469766544617277696e2f7372632f44697370617463686572732e6b74_knbridge459_block_invoke + 439
    at 14  libdispatch.dylib                   0x1047c05a7        _dispatch_call_block_and_release + 31
    at 15  libdispatch.dylib                   0x1047c205b        _dispatch_client_callout + 19
    at 16  libdispatch.dylib                   0x1047d280f        _dispatch_main_queue_drain + 1195
    at 17  libdispatch.dylib                   0x1047d2353        _dispatch_main_queue_callback_4CF + 43
    at 18  CoreFoundation                      0x1c0c166f7        <redacted> + 15
    at 19  CoreFoundation                      0x1c0bf8057        <redacted> + 2035
    at 20  CoreFoundation                      0x1c0bfced3        CFRunLoopRunSpecific + 611
    at 21  GraphicsServices                    0x1f9efe367        GSEventRunModal + 163
    at 22  UIKitCore                           0x1c30db3cf        <redacted> + 887
    at 23  UIKitCore                           0x1c30db033        UIApplicationMain + 339
    at 24  SwiftUI                             0x1c46e8013        <redacted> + 2419
    at 25  SwiftUI                             0x1c464916b        <redacted> + 387
    at 26  SwiftUI                             0x1c46324bb        <redacted> + 2867
    at 27  ios                                 0x1042a5b87        main + 35
    at 28  dyld                                0x1df26495f        <redacted> + 2527

Duplicate of #44, keeping that open as it got more info

repo: xxfast/KStore


text:
Swift 3

ARNTransitionAnimator will be released to Swift 3.0?

Sorry... WIP now. 😭
please wait.

finished 😭

repo: xxxAIRINxxx/ARNTransitionAnimator


text:
Using setNodes in onNodeDragStop breaks default dragging: false state

What platform were you using when you found the bug?
See Sandbox ( xyflow: "12.3.5")
Live code example
https://codesandbox.io/p/sandbox/magical-artem-n6frpw
Describe the Bug
Passing the following onNodeDragStop to Reactflow, will break the dragging state and how selection is expected to work:
  const onNodeDragStop: OnNodeDrag<Node> = useCallback(
    (evt, dragNode: Node) => {
      // Update nodes here breaks the default behavior of setting the `dragging` state to false:
      setNodes(nodes.map((n) => ({ ...n, className: "" })));
    },
    [nodes]
  );

Steps to reproduce the bug or issue
Uncomment either the setNodes or the onNodeDragStop line and the dragging state of the group node will get stuck on true.
Additionally this will have the side effect of when you try to select anything on the canvas (even nothing), it will automatically add all nodes that have dragging: true to the selection...
(You can select nodes and click the "group" button to make a new group)
Expected behavior
I expect:

The internal dragging state to be consistent regardless of how you use onNodeDragStop
The dragging state to have no effect on which nodes get selected.

Your sandbox is broken fyi.

@bcakmakoglu sorry, was editing it... ;p

I am not sure if I can reproduce it. What is the issue here?
One thing you could change is to use nodes from setNodes instead of passing nodes as a dep to the useCallback:
setNodes(nodes => nodes.map((n) => ({ ...n, className: "" })));

@moklick If you go to the live code example I provided and try this:

You should have the same behavior

Even if I use the internal nodes for setNodes it still keeps dragging: true on the Node after dragging in the example. It seems to be the internal behavior of the shift+rectangle selection that is doing filtering in nodes with the dragging prop set to true, which in itself is weird unexpected behavior.
So in my view there are 2 seperate issues that emerge from using a custom onNodeDragStop callback:

dragging prop get stuck
rectangle selection includes nodes with dragging prop for some unknown reason

You are basically overwriting the new nodes with an old reference to nodes. You should always use the nodes provided when passing a function to setNodes.
const onNodeDragStop: OnNodeDrag<Node> = useCallback(
    (evt, dragNode: Node) => {
      setNodes((nodes) => nodes.map((n) => ({ ...n, className: "" })));
    },
    []
);

authors: TrySpace bcakmakoglu moklick peterkogo

repo: xyflow/xyflow


text:
Update python3-dev, submodules, and correct the install-all.sh path.

Description

Validation performed

Hi Kirk, I validated again the submodule command is unnecessary, sorry for the confusion. Also I changed to install-all.sh command to four links that leads you to some more dependencies based on users' OS.

repo: y-scope/clp


text:
2つのボードをつなげた特殊ボードで遊べるアプリを追加する

Create an example of a retro-style application using Pyxel.

コンソールで遊べるアプリケーションのサンプルを改良する。通常のボードで遊べるものは廃止して、Twinボードに変更する。

一旦とりやめ

repo: y-tetsu/reversi


text:
🛑 Hiroshima.fun is down

In 51e04e1, Hiroshima.fun (https://hiroshima.fun) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Hiroshima.fun is back up in de9edf4.


text:
SASL  JAAS configuration error?

kafka1.0 我用了Authentication using SASL  JAAS configuration认证，我可以用kafkatool连接上没问题。
但是我kafka-manager启动就报错：
[error] k.m.a.c.KafkaStateActor - KafkaTopicOffsetGetter exception
java.util.NoSuchElementException: key not found: PLAINTEXT
kafka-manager-1.3.3.18/conf/consumer.properties已经改为：
security.protocol=SASL_PLAINTEXT
我的zk集群是独立的。kafka集群可以正常生产消费数据，就是用kafka-manager看不到。
启动命令:
bin/kafka-manager -Djava.security.auth.login.config=/.../kafka-manager-1.3.3.18/conf/kafka_client_jaas_to_zoo.conf
/*******************************************************************************/
kafka_client_jaas_to_zoo.conf内容为:
KafkaClient {
org.apache.kafka.common.security.plain.PlainLoginModule required
username="alice"                         // kafka中的用户
password="alice999";
};
Client {
org.apache.kafka.common.security.plain.PlainLoginModule required
username="kafka"                        // zk中的用户
password="kafka123";
};
/*******************************************************************************/
请问各位大侠是怎么解决的？ thanks!

@kingmorning 我配置的，怎么没有你截图的后 2 项配置。SASL 相关的。
版本 kafka-manager-1.3.3.17

consumer.properties 里面配置 没用的，你要在add Cluster 页面里面，选择协议方式

可以选择SASL_PLAINTEXT
看你的配置，mechanism 应该是PLAIN
JAAS config 里面的内容 也可以添加到下面的 SASL JAAS的选项里面

我只有 Security Protocol 的配置，没有SASL 的配置，请问，你是怎么配置的吗？

done
git clone
./sbt clean dist

谢谢

repo: yahoo/kafka-manager


text:
Fix Negative UnAckedMessages

Motivation
When disabling BlockConsumerOnUnAcked broker was not incrementing unacked messages on delivery.
This gave us negative unAckedMessages stats because unAckedMessages where being decremented on redelivery but not on delivery.
Modifications
unAckedMessages changes should always be the first condition in if statements to ensure they always run even if BlockConsumerOnUnAcked is disabled.
Result
UnAckedMessages should now never become negative.

CLA is valid!

authors: sschepens yahoocla

repo: yahoo/pulsar


text:
Upgrade maven dependency

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@nvsnvikram for this

repo: yahoo/tagchowder


text:
DateRangePicker filter not working on server side

Summary of problem or feature request
Hi there, I got problems with server side filtering, but if I changed back to client side, it works normally. Everything works fine, without any error at console log, it just that the column not filtered.
For table columns, its like this:
| checkbox | number | id | title | username | created at |
Code snippet of problem
Here's my codes so far:
Search input:
<input type="text" name="reportrange" id="reportrange" class="form-control" value="18/03/2008 – 18/02/2013" />
// DataTables
var table_1 = $('table.display#tb_posts').DataTable({
   "processing": true,
   "serverSide": true,
   "ajax" : {
      "url" : "{{ route('posts.list') }}",
      "type" : "GET"
   },
   "columns": [
      {data: 'check', name:'id', className: 'text-center' },
      {data: 'DT_Row_Index', name:'DT_Row_Index', className: 'text-right' },
      {data: 'id', name: 'posts.id', className: 'text-right' },
      {data: 'title', name: 'posts.title'},
      {data: 'username', name: 'users.username'},
      {data: 'created_at', name: 'posts.created_at'},
   ],
   "autoWidth": true,
   "order": [[ 3, 'asc' ]],
   "sDom": "B<<'span8'f>r>t<<'col-sm-4'i><'col-sm-8'p>>",
   "pagination": true,
   "pagingType": "full_numbers"
});
//DateRangePicker
var startdate;
var enddate;
$('#reportrange').daterangepicker({
   locale: { format: 'DD/MM/YYYY' },
   ranges: {
      'All dates' : [moment().subtract(10, 'year'), moment().add(10, 'year')],
      'Today': [moment(), moment()],
      'Yesterday': [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
      '7 last days': [moment().subtract(6, 'days'), moment()],
      '30 last days': [moment().subtract(29, 'days'), moment()],
      'This month': [moment().startOf('month'), moment().endOf('month')],
      'Last month': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').endOf('month')]
   },
   "opens": "left",
   "applyClass": "btn-primary",
   "showDropdowns": true,
},
function (start, end, label) {
   var s = moment(start.toISOString());
   var e = moment(end.toISOString());
   startdate = s.format("YYYY-MM-DD");
   enddate = e.format("YYYY-MM-DD");
});
//Filter the datatable on the datepicker apply event
$('#reportrange').on('apply.daterangepicker', function (ev, picker) {
   startdate = picker.startDate.format('YYYY-MM-DD');
   enddate = picker.endDate.format('YYYY-MM-DD');
$.fn.dataTableExt.afnFiltering.push(
function (oSettings, aData, iDataIndex) {
   if (startdate != undefined) {
      var coldate = aData[5].split("/");
      var d = new Date(coldate[2], coldate[1] - 1, coldate[1]);
      var date = moment(d.toISOString());
      date = date.format("YYYY-MM-DD");
      dateMin = startdate.replace(/-/g, "");
      dateMax = enddate.replace(/-/g, "");
      date = date.replace(/-/g, "");
      if (dateMin == "" && date <= dateMax) {
         return true;
      } else if (dateMin == "" && date <= dateMax) {
         return true;
      } else if (dateMin <= date && "" == dateMax) {
         return true;
      } else if (dateMin <= date && date <= dateMax) {
         return true;
      }
      return false;
   }
});
table_1.draw()
});

And for controller:
public function allpostList() {
   $post = Post::join('users', 'posts.user_id', '=', 'users.id')->select('posts.*', 'users.username');
   return Datatables::of($post)
      ->addColumn('check', function ($post) { return '<input class="selector" type="checkbox" name="id[]" value="' . $post->id . '">'; })
         ->editColumn('created_at', function ($post) { return $post->created_at ? with(new Carbon($post->created_at))->format('d/m/Y') : ''; })
         ->rawColumns(['check'])
         ->addIndexColumn()
         ->make(true);
   }

System details

Operating System: Windows 10 64 Bit
PHP Version: 7.0.15
Laravel Version: 5.4.35
Laravel-Datatables Version: ^7.10 (according to composer.json)
Note: Run on local for internal use only and have 2 users, both users have same access. The rest user only for viewing without login credentials.

Thank you.

You need to parse the date range split the dates. Afterwards, use filterColumn and write the custom range query for date. Use Carbon to properly parse the date.

Note: this snippet is not tested. Use it as ref.

->filterColumn('created_at', function($q, $k) {
    $dates = explode('-', $k);
    $q->whereBetween('created_at', [Carbon::parse($dates[0]), Carbon::parse($dates[1])]);
})

You can also use advance filter api to handle this request.

@yajra Hi there, I just tried it, but still no luck, I checked the console when I tried filter by last month and got this:
Search between: 01/09/2017 - 30/09/2017

Have you checked the generated queries? I have several projects that uses date picker and it works well for me.
Note: The usual date format of php is Y-m-d so I suggest you format it like this if possible.
Snippet from an old project:
// DataTable Query
    public function query()
    {
        $query = app(StatementQueryBuilder::class);

        list ($start, $end) = explode('-', $this->request()->get('range'));

        return $query->setSelection($start, $end)->forUser(request()->user());
    }

// StatementQueryBuilder
    public function setSelection($start, $end)
    {
        $this->start = (new Carbon($start))->format('Y-m-d');
        $this->end   = (new Carbon($end))->format('Y-m-d');

        return $this;
    }

I just tried It and it worked now with standard PHP date format, I still wonder why my date format not working. But well... its ok for now, at least it worked. Thanks for your time.

i tried it, but not work
$test = explode('/', $request->range);
$test = isset($value[1]) ? $value[1] : 'time';
    $date1 = strtotime(trim($test[0]));
    $date2 = strtotime(trim($test[1]));

    $start0 = date('d/m/Y',$date1);
    //echo $start0;
    $end0 = date('d/m/Y',$date2);

    $Truyvan = DB::table('events')->whereBetween('time',  array($start0, $end0))->get();
    return Datatables::of($Truyvan)->make(true);

@yajra man pls explain more

authors: ausaf-wpt quynhbupbeQ9 yajra zetionz

repo: yajra/laravel-datatables


text:
yfeed <> socialhub

Hi,
schönes Addon. Nur schade, dass es parallel entwickelt wurde zu meinem Socialhub (https://github.com/phoebusryan/rex_socialhub) ... wobei es ja eigentlich von Sascha war und ich es grundlegend überarbeitet habe. Meins kann Instagram schon, dafür kein RSS.
Solltest du das Addon hier weiterentwickeln (und danach sieht es aus), werde ich die Weiterentwicklung des Socialhubs einstellen. Es macht ja keinen Sinn, zwei Addons mit der gleichen oder ähnlichen Funktion parallel zu entwickeln.
Vorteil bei meinem ist übrigens noch, dass man nach Hashtag suchen kann und nicht nur nach Profilen. Ich kenne die Pläne von dir nicht, aber sowas wäre ansonsten noch ein Zusatzfeature für yform.
Gib mir bescheid.

Hallo,
mir war nie klar was der socialhub genau macht (hatte auch bei mir leider nie funktioniert) und wir haben yfeed schon ziemlich lange bei uns und beim Kunden laufen und erst jetzt veröffentlich, da wir erst twitter und facebook richtig integriert haben wollten. Hashtags bei twitter gehen bei uns auch, oder meinst du was anderes ? .. Instagramm, pinterest etc wollen wir noch nachziehen. Sollte keine Konkurrenz-AddOn sein, wir brauchten es selbst, hatten es schon lange und haben es leider erst jetzt veröffentlicht. Werden uns um mehr Austausch in z.B. Skype bemühen.
YForm Zusatzfeature ? Am besten direkt dort rein was du genau meinst.
Instagramm.. willst du uns helfen das einzubauen ?
lg
Jan

Ich meinte natürlich yfeed, nicht yform. Instagram kann ich gerne integrieren. Ist recht easy.
Was ein nettes Feature wäre (und ich für socialhub auch geplant hatte) wäre ein Abgleich in die andere Richtung. Z.b. dass News, die im Redaxo angelegt werden, automatisch auf Facebook und Twitter gepostet werden. Das passt aber weniger zum Namen "yfeed".
Und bzgl socialhub generell: ja das Ding macht grundsätzlich genau das gleiche. Entwickelt hat es ursprünglich Sascha aber es funktionierte nicht richtig. Ich habe es deshalb von A-Z umgebaut und gefixt.
Ich werde es nun als gute Übung abstempeln und dir in Zukunft hier mit dem yfeed helfen.
Und bzgl der Parallelentwicklung: das sollte mit FriendsOfRedaxo hoffentlich nicht mehr passieren :-)

:) .. toll, dass du helfen willst.. und natürlich auch bloed gelaufen.. nachrichten pushen fände ich auch toll.. aber da gibt es vorher sehr viele dinge zu überlegen.. Sowas wie Zeitplan setzen können etc. Gerne als eigenes Issue ..

ich schliesse das "issue" hier..

authors: dergel phoebusryan


text:
Fix PDF's with uppercase file extension

This is a quick fix for PDF's with upper case or mixed case extensions. But detection if a file is a PDF should be better performed on the file data. PDF's mostly start with %PDF, but why not use a standard solution as PDFJS or allready used gm to load the pdf and then see if it throws an error or not.

Sorry for inconvinience, but did not know, which branch is the working version 😅
Thanks for fixing altough 😊


text:
The newest OS X release reports as out of date

I downloaded (twice to be sure) the newest OS X app from https://github.com/yakyak/yakyak/releases (under 1.1.2). However, the app reports itself as 1.1.1 and asks me to update to 1.1.2.
It must either report an incorrect version or the 1.1.1 one was packaged instead of 1.1.2.

Experienced this also.

will be fixed in the upcoming 1.1.3

authors: davibe mgol x-tk

repo: yakyak/yakyak


text:
Multi user chat name labels

When having multi user chats, its hard to tell who has typed what without hovering over the persons icon. its alot easier if the user has set an picture, but when there is no picture there needs to be some way of displaying the name of the person next to what they have typed.

@arnriu

If you can't find a nice way of displaying the whole name maybe you could do what Mail.app does on OSX if a contact doesn't have an image.  Rather than a placeholder image it displays their initials:

any idea when this will be available @arnriu ?

just seen your pull request, thanks

@a1dutch You're welcome :smile:

authors: a1dutch arnriu davibe randymorris


text:
🛑 SV2 is down

In 3bb8b1d, SV2 (http://sv02-vps.yama2211.jp) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SV2 is back up in 1343f39.


text:
specificOrientationListener not working on Android

addSpecificOrientationListener is not fired on Android Platform.

same problem for me :/

Use a react-native-orientation-locker module with normal support ! :+1:

@retyui Ok thx :)

authors: fuekiin hzaiem retyui

repo: yamill/react-native-orientation

license: isc


text:
Allow change order active state via checkout form (connect to #83)

При нажатии на кнопку «Сформировать» меняю статус заказа. При повторном нажатии возвращаю всё назад.

lgtm

👍

authors: Evvik octocrux vitalk


text:
CASE evaluation

If we have two columns in a table: logged (only empty strings) and created and try to run the following query
SELECT CASE WHEN empty(time_logged) = 0 THEN toDateTime(substring(logged,1,19)) ELSE created END as created_at from events
We will have an error:
Code: 32. DB::Exception: Received from localhost:9000, ::1. DB::Exception: Attempt to read after eof: Cannot parse DateTime from String, because value is too short
Why ClickHouse tries to parse the logged column even if it should do so only if it's not empty?

Known (and very nasty) issue. Currently clickhouse calculate both branches, and only afterwards choose one.
Workaround usually possible, in your case you can try:
SELECT CASE WHEN empty(time_logged) = 0 THEN toDateTime(substring(concat(logged,'0000-00-00 00:00:00') ,1,19)) ELSE created END as created_at from events

Fixing that is in roadmap, and AFAIK work is already in progress.

See also #1562 #1768

Closing as a duplicate and there is a workaround

Let's continue tracking that issue in #1562

authors: alniks filimonov

repo: yandex/ClickHouse


text:
Try to remove GLIBC_COMPATIBILITY for split build

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
For changelog. Remove if this is non-significant change.
Category (leave one):

Build/Testing/Packaging Improvement

Is it obsolete?


text:
DEVTOOLS-5755 Remove odbc-bridge.cpp from clickhouse-lib

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
Category (leave one):

Build/Testing/Packaging Improvement

Short description (up to few sentences):
odbc-bridge.cpp defines main() so it should not be included in clickhouse-lib.

clickhouse-odbc-bridge is always built as a separate binary (that's what it intended for).
If we have some misleading option to include it in clickhouse binary, this option should be removed.

odbc-bridge becomes a part of clickhouse-lib here: https://github.com/yandex/ClickHouse/blob/v19.13.2.19-stable/dbms/programs/CMakeLists.txt#L92 (add_library(clickhouse-lib SHARED … ${CLICKHOUSE_ODBC_BRIDGE_SOURCES})).

Even if odbc-bridge should not be a part of clickhouse-lib, this PR should be merged because it removes the second copy of odbc-bridge.cpp from the clickhouse-odbc-bridge program:

https://github.com/yandex/ClickHouse/blob/v19.13.2.19-stable/dbms/programs/odbc-bridge/CMakeLists.txt#L8
https://github.com/yandex/ClickHouse/blob/v19.13.2.19-stable/dbms/programs/odbc-bridge/CMakeLists.txt#L42

Ok.

authors: alexey-milovidov orivej


text:
🛑 Google is down

In a294bca, Google (https://google.icloudnative.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Google is back up in 678db44.

repo: yangchuansheng/upptime


text:
是否有考虑直接用babel打包成lib/ es/等文件夹。

问题是什么
因为有些开源库并不希望打包成整体的min.js。这样方便使用时在进行rollup。
另外有考虑升级babel7吗？

我觉得对外可以提供一个文件的，对rollup也没什么问题吧？给rollup的版本没有把npm包打进去，所以也没什么问题吧？
因为有treeshake，所以不会有体积问题

我以为rollup 会把你示例中的A和B treeshake掉，结果不会treeshake掉。
另外如果有文件没有被引用到就不会被打包，那么所有的都必须通过index.js导出。比如lodash这种工具库就没有通过index.js进行导出。

treeshake是在用户的打包工具里做的，库的打包工具不做treeshake，不能lodash比，那个库太大了，我这个是为小而美的库服务的，写那么大的库估计就不会用我这个工具了，😆
不过倒是可以提供个选项，编译出来一份不合并的文件

我试了下如果不使用那个rollup-plugin-babel，对于es和cjs版本rollup在打包时会把A和B treeshake掉，使用这个插件就不行，也没看到rollup-plugin-babel里面有说明这个功能呢。

A B被index引用了，但是index.js并没有使用A B，用户在引用最终的打包文件时，只要已压缩就会把 A B压缩掉
如果index.js暴漏出去的方法，没有被用户使用，可以通过用户的shakeing 去掉

另外有考虑升级babel7吗
这个是考虑的，欢迎来提pr啊

欢迎来提pr啊

好的

@yanguoyu 考虑加入jsmini吗？添加微信 yanhaijing123

authors: yanguoyu yanhaijing

repo: yanhaijing/jslib-base


text:
Load from file (wsl, Python)

Hi Yankun,
I testing load from file test.bin created with 10bil items, test.bin with 11.7Gb it load to Ram but need 23.4Gb Ram to load. My pc 16Gb ram and it load swap after loaded (224 second), 6Gb in real Ram and 6Gb in swap and bloomfilter it progress slow.
So it need double ram with .bin file to load and progress quickly ?
Thanks,

Does you release the bytes object in Python after you buid a new bloom filter? When you create a new bloom filter from bytes, it copy the bits data to the new bloom filter, so you can release the bytes obect after created.

Does you release the bytes object in Python after you buid a new bloom filter? When you create a new bloom filter from bytes, it copy the bits data to the new bloom filter, so you can release the bytes obect after created.

I am not sure understand your mean. Could you please give example code ?
I also try with bloom.add(test) problem the same.
This is code create:
bloom = BloomFilter(line_count, 0.0001)
bloom.add_bytes(test)
with open(file_bin, "wb") as f:
array = bloom.get_bytes()
f.write(array)
This is for query:
with open(file_pybf, "rb") as fp:
bloom = BloomFilter.from_bytes(fp.read(), 7)
if bloom.contains_bytes(test):
print(f" Found: {test.hex()}")
Thanks.

It looks like there's a need to add an API for building Bloom filters directly from files; the existing API involves multiple memory copies, which is not very memory efficient in a very large Bloom filter.

Hi @yankun1992
Now it ok, it faster than pybloom 2.5x not 10x don't know where i am missing for case above.
Thank you.

My guess is cpu cache miss，i am not sure. Can you try the batch API ?

Yes, i try with the batch 105.600k query.

Can you show me some code?

Can you show me some code?

Here below code for query I tested, 105600000 items Pub run without bloom 5.5s, run with bloom take 31s.
Query (Multiprocessing 8 thread):
bloom = BloomFilter.from_file_with_hashes('bloom_test.bin')
st = time()
for _ in range(start, end):
tpub = bytes(bytearray(point_addition(step_up, pubadd)))
Pub = pubadd[1:33]
if bloom.contains(Pub):
print(f" Found: {Pub.hex()}")
print('[-] Completed in {0:.2f} sec'.format(time() - st))


text:
7.2.0 breaks Object.freeze

the following code works on v7.1.0
  static propTypes = Object.freeze({
    value: PropTypes.any.isRequired,
  });

Can you elaborate on "works"?
Do you have Object.freeze defined as a wrapper function in settings?

@ljharb "works" means I get no eslint errors
I've tried your suggestion, but still no fortune. still get the errors error  'value' is missing in props validation          react/prop-types
  "settings": {
    "react": {
      "version": "15.6.1"
    },
    "propWrapperFunctions": [ "Object.freeze" ]
  },

That seems like it's a bug in the prop-types rule then (without propWrapperFunctions, you should definitely get a warning there).

@nihgwu If I'm right this pattern was not detected in v7.1.0 and the propTypes validation was just ignored for the component. This is no longer the case since v7.2.0.
But https://github.com/yannickcr/eslint-plugin-react/issues/1366#issuecomment-322123945 should have worked, so there was definitively a bug here.
It should be fixed in next release.

authors: ljharb nihgwu yannickcr

repo: yannickcr/eslint-plugin-react


text:
PropTypes defined in an external file

We have some prop types that are shared across many components and defined in their own module.
I want to be able to specify a component like this:
'use strict';

var React = require('react');
var externalPropTypes = require('./my_module');

var CommitView = React.createClass({
  propTypes: externalPropTypes.mySharedPropTypes,

  render: function() {
    return (

        {this.props.myExternallyDefinedProp}

    );
  }
});

module.exports = CommitView;

However it complains about this.props.myExternallyDefinedProp.
I understand that there is no way for eslint to be helpful and successfully lint this file and I'm fine with that. I just don't think it should be complaining here.
It does not complain (as it shouldn't) if the keys are defined and the values are pulled in externally:
'use strict';

var React = require('react');
var externalPropTypes = require('./my_module');

var CommitView = React.createClass({
  propTypes: React.PropTypes.shape({
    foo: externalPropTypes.sharedFooDefinition
  }),

  render: function() {
    return (

        {this.props.foo.bar}

    );
  }
});

module.exports = CommitView;

I think the rule should have the same non behavior when the whole value is pulled from an external file it doesn't know about.

It does not complain in this case:
var externalPropTypes = require('./my_module');

var Hello = React.createClass({
  propTypes: externalPropTypes,
  render: function() {
    return
Hello {this.props.name}
;
  }
});

So it should be a bug when assessing something like externalPropTypes.mySharedPropTypes instead of externalPropTypes directly.

authors: TheSavior yannickcr


text:
Group static lifecycle methods under lifecycle

Since the lifecycle group is a special group that deals with state/props changes, grouping static lifecycle methods under lifecycle group helps to have this logic together. This looks like a good default behavior that follows the docs.
This PR enforces static lifecycle methods to be grouped under lifecycle group as one of possible solutions suggested by @ljharb .

@alexzherdev what do you think about this? Is it accurate to do so?

It's definitely a breaking change; it'd be ideal to ship this now under an option, and then we can flip the option in the next major if desired.

Since the current behavior was intended to allow the same method to be part of multiple groups I am willing to keep this as it is. At the same time there could be different opinions about where a method should be (ex: getDerivedStateFromProps before/after state declaration).
What do you think about naming the option preferLifecycle that will be implemented under the behavior from this PR?

@alexzherdev sure. I've added the new functionality under the preferLifecycle option (false by default) and added more tests.

authors: ljharb metreniuk


text:
How to have only Int values in the stepper?

I have a stepper from 1 to 10.
The steps are Doubles. Published in the thumbText.
I want them to be Integer. How would I do that?
Thanks in advance

Hi,
Sorry for the late, I was in holidays and no time to answer before.
If the stepper value is round (i.e. value % 1 == 0) it would display the step as an integer. But if it does not work you can set its value inside a valueChanged: action:
stepper.addTarget(self, action: "valueChanged:", forControlEvents: .ValueChanged)

func valueChanged(sender: AnyObject) {
  stepper.thumbText = "\(Int(stepper.value))"
}

For Swift 3:
stepper.addTarget(self, action: #selector(stepperValueChanged(_:)), for: .valueChanged)
@objc func stepperValueChanged(_ sender: SnappingStepper) {
    sender.thumbText = "\(Int(sender.value))"
}

stepper.addTarget(self, action: "valueChanged:", forControlEvents: .ValueChanged)

func valueChanged(sender: SnappingStepper) {
  stepper.thumbText = "\(stepper.value.rounded())"
}

authors: davidseek ergunkocak shiablue yannickl

repo: yannickl/SnappingStepper


text:
let user dict spec be the same as python jieba

I have fixed #60 !

Thanks a lot , i will push a new version to npm soon     later

Wait man, I am testing something. I think there is a bug when buf.size()==2. It is because that if buf.size()==2, the dict looks like 大神 n. The second element is not a number. I think Line 121 should be (buf.size() == 2 ? user_word_default_weight_:atoi(buf[1].c_str())), not (buf.size() == 2 ? atoi(buf[1].c_str()) : user_word_default_weight_),. Sorry for my negligence. I submit the code before reading the code. It is my bad.

repo: yanyiwu/nodejieba


text:
Bots randomly not moving from spawn.

Describe the bug
So what's happening is, on my dedicated server,  randomly when a map starts the bots will not move from their spawn points and will not function or shoot. They are frozen. The only fix to this has been restarting the server or changing the map ingame. This has happened on any map randomly.
I don't get any errors.
Additionally, sometimes when an aim, awp, or fy map begins, the bots aren't frozen BUT ONLY the CT team tend to stay around their spawn points and do not move far at all. The T team always moves. The CTs do shoot and function but will not move around the map. Again, restarting the server resolves this.
These issues happen randomly, at least within a couple of days, after a restart to fix it.
Bear in mind, I keep my server and bots running constantly. Should I program bots to populate only when a human joins the server. Or set up a daily restart?
Expected behavior
Would like the bots to consistently work without a restart.
Video
I may be able to provide this in the future
Environment details:

OS: [e.g. windows 10 / linux debian 10.4]
Engine: [e.g. rehlds 3.8.0.702 / vanilla 8684]
GameDLL: [e.g. regamedll 5.18.0.479 / vanilla]
Metamod: [e.g. metamod-r / metamod-p / metamod]
Bot Version: [e.g. 4.1.566]
Game mode: [e.g. csdm / public / zombie]
I can provide this if needed.

Additionally, please provide list of AMX Mod X plugins: amxx plugins and list of Metamod plugins: meta plugins.
I can provide this if needed. At work at the moment.
Additional context
Just sharing the problem to see if this a known issue.

Without additional info, i can't help. I suppose it's server config problem.

Regarding the first issue in my post, this may not be a bot issue, since when it happens human players are also stuck at spawn. And from what I've seen in spectator mode when this happens, all of the ct and t models are slightly above the ground. Again this is on any map, happens randomly at any time.
I will wait till the second issue I posted involving the cts happens again, record and share it and provide all the necessary info. Thanks!

OS Windows 10
Engine Vanilla
GameDLL Vanilla
Metamod 1.21.1-am
Botversion 4.3.729
Game mode: Public server, regular CS CZ
So, my second issue per original post was:
Additionally, sometimes when an aim, awp, or fy map begins, the bots aren't frozen BUT ONLY the CT team tend to stay around their spawn points and do not move far at all. The T team always moves. The CTs do shoot and function but will not move around the map. Again, restarting the server resolves this.
However, this also happens on Hostage maps. NEVER on Defuse maps. On hostage maps, CTs attempt to rescue the hostages but stay in the hostage area. Their behavior in the videos I'm sharing is exactly the same on the fy, aim, and awp maps I mentioned in the original post.
The first link shows the bot issue on a hostage map. The second video shows how they should act after a server reset.
Again, this is a random occurrence and may happen on any map, other than a defuse map.

https://youtu.be/aPnKVB6W8kE

https://youtu.be/qWFvQHaKQJs

Currently loaded plugins:
name                    version     author            file             status
[  1] Admin Base              1.8.2       AMXX Dev Team     admin.amxx       running
[  2] Admin Commands          1.8.2       AMXX Dev Team     admincmd.amxx    running
[  3] Admin Help              1.8.2       AMXX Dev Team     adminhelp.amxx   running
[  4] Slots Reservation       1.8.2       AMXX Dev Team     adminslots.amxx  running
[  5] Multi-Lingual System    1.8.2       AMXX Dev Team     multilingual.am  running
[  6] Menus Front-End         1.8.2       AMXX Dev Team     menufront.amxx   running
[  7] Commands Menu           1.8.2       AMXX Dev Team     cmdmenu.amxx     running
[  8] Players Menu            1.8.2       AMXX Dev Team     plmenu.amxx      running
[  9] Maps Menu               1.8.2       AMXX Dev Team     mapsmenu.amxx    running
[ 10] Plugin Menu             1.8.2       AMXX Dev Team     pluginmenu.amxx  running
[ 11] Admin Chat              1.8.2       AMXX Dev Team     adminchat.amxx   running
[ 12] Anti Flood              1.8.2       AMXX Dev Team     antiflood.amxx   running
[ 13] Scrolling Message       1.8.2       AMXX Dev Team     scrollmsg.amxx   running
[ 14] Info. Messages          1.8.2       AMXX Dev Team     imessage.amxx    running
[ 15] Admin Votes             1.8.2       AMXX Dev Team     adminvote.amxx   running
[ 16] NextMap                 1.8.2       AMXX Dev Team     nextmap.amxx     running
[ 17] Nextmap Chooser         1.8.2       AMXX Dev Team     mapchooser.amxx  running
[ 18] TimeLeft                1.8.2       AMXX Dev Team     timeleft.amxx    running
[ 19] Pause Plugins           1.8.2       AMXX Dev Team     pausecfg.amxx    running
[ 20] Stats Configuration     1.8.2       AMXX Dev Team     statscfg.amxx    running
[ 21] StatsX                  1.8.2       AMXX Dev Team     statsx.amxx      running
[ 22] CS Misc. Stats          1.8.2       AMXX Dev Team     miscstats.amxx   running
[ 23] Quake Sounds            2.1         hleV              quakesounds.amx  running
[ 24] Ultimate Sounds         1.7         Dizzy / Bmann_42  ultimate_sounds  running
[ 25] Last man bets           0.9.4       JGHG              lastmanbets.amx  running
[ 26] Automatic Unstuck       1.5         NL)Ramon(NL       stuck.amxx       running
[ 27] AMX Super Cmd Manager   5.0.2       SuperCentral.co   amx_super-cmdma  running
[ 28] Amx Super Fun           5.0.2       SuperCentral.co   amx_super-fun.a  running
[ 29] AMX_Super Menu          5.0.2       SuperCentral.co   amx_super-menu.  running
[ 30] Amx Super Others        5.0.2       SuperCentral.co   amx_super-other  running
[ 31] Amx Super Serious       5.0.2       SuperCentral.co   amx_super-serio  running
[ 32] Ultimate Gore           1.6         JTP10181          amx_gore_ultima  running
[ 33] Automatic knife duel    0.3         JGHG              automatic_knife  running
[ 34] Lame Connection Punish  1.2         MeRcyLeZZ         lame_connection  running
[ 35] AMXX Spy++              1.0         [DeathTV] Sid 6.  amx_spyplusplus  running
35 plugins, 35 running
meta list
Currently loaded plugins:
description      stat pend  file              vers      src  load  unlod
[ 1] AMX Mod X        RUN   -    amxmodx_mm.dll    v1.8.2    ini  Start ANY
[ 2] YaPB             RUN   -    yapb.dll          v4.3.729  ini  Chlvl ANY
[ 3] Fun              RUN   -    fun_amxx.dll      v1.8.2    pl1  ANY   ANY
[ 4] CStrike          RUN   -    cstrike_amxx.dll  v1.8.2    pl1  ANY   ANY
[ 5] CSX              RUN   -    csx_amxx.dll      v1.8.2    pl1  ANY   ANY
[ 6] FakeMeta         RUN   -    fakemeta_amxx.dl  v1.8.2    pl1  ANY   ANY
[ 7] Ham Sandwich     RUN   -    hamsandwich_amxx  v1.8.2    pl1  ANY   ANY
7 plugins, 7 running

I will take a look at that.

Hi!
I tried CZ on aim_sk_awp and cs_militia_cz. But can't reproduce the problem. For other's map can you please upload graphs for them? Especially cs_*
And can you try tem. disable:
[ 26] Automatic Unstuck 1.5 NL)Ramon(NL stuck.amxx running
[ 27] AMX Super Cmd Manager 5.0.2 SuperCentral.co amx_super-cmdma running
[ 28] Amx Super Fun 5.0.2 SuperCentral.co amx_super-fun.a running
[ 29] AMX_Super Menu 5.0.2 SuperCentral.co amx_super-menu. running
[ 30] Amx Super Others 5.0.2 SuperCentral.co amx_super-other running
[ 31] Amx Super Serious 5.0.2 SuperCentral.co amx_super-serio running
[ 32] Ultimate Gore 1.6 JTP10181 amx_gore_ultima running
[ 33] Automatic knife duel 0.3 JGHG automatic_knife running
[ 34] Lame Connection Punish 1.2 MeRcyLeZZ lame_connection running
[ 35] AMXX Spy++ 1.0 [DeathTV] Sid 6. amx_spyplusplus running

to check if issue persist

I have attached the graphs for just those maps I posted on the video. I could provide graphs for all of my maps, but again, this happens on any map, even maps that came with the game.
I am pretty sure I created the attached graphs.
I will disable those specific plugins and keep an eye on the server the next few days.
fy_oasis_cz.zip
cs_coldstorage_cz.zip

authors: Fiercetree jeefo

repo: yapb/yapb


text:
model

Hello, where should I download the model stable-diffusion-2-inpainting used?

Do I need to download all the files here?https://hf-mirror.com/stabilityai/stable-diffusion-2-inpainting/tree/main

You don't need to download it manually. running the code it will download automatically

You don't need to download it manually. running the code it will download automatically

Thank you very much for your answer.


text:
🛑 校務系統 is down

In 229293e, 校務系統 (https://sys.ndhu.edu.tw/INC/SSO_RWD/Login.aspx) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 校務系統 is back up in e0dd99a after 298 days, 21 hours, 48 minutes.


text:
🛑 NDHU RPage is down

In 1894e14, NDHU RPage (https://www.ndhu.edu.tw) was down:

HTTP code: 0
Response time: 0 ms

Resolved: NDHU RPage is back up in 66ae1f5 after 13 minutes.


text:
TypeError: Cannot read properties of undefined (reading 'ReactCurrentDispatcher')

Headless UI Float break with Next v15 and React v19 and I get this error: TypeError: Cannot read properties of undefined (reading 'ReactCurrentDispatcher'). I think this error comes from useOutsideClick hook.
Use Version

Headless UI Float v0.15.0
Next v15.0.1
React v19

To Reproduce
https://github.com/mohammadhosseinmoradi/headlessui-float-ReactCurrentDispatcher.git

Sorry, I don't support for React v19 and Next.js v15.
The @headlessui-float/react only supports the Headless UI v1, and the Headless UI v1 just supports React 16 ~ 18, so I can't support React v19.
If you want to use React v19, please upgrade to Headless UI v2, which builds in anchor positioning with Floating UI.


text:
Refactor updatePlots function

The updatePlots function should be split into multiple smaller functions. The call from refreshTable in sortable-table.js should remain in updatePlots, while the call from plot type change in tract-details.js should be placed in new plotRedraw function.

Resolved in #147

authors: anotherjoshsmith richford

repo: yeatmanlab/AFQ-Browser


text:
Opening an empty link for me

For VSCode it works fine but for gVim it ommits my Vault name in the path, so opening an empty (new note). Very starnge.
Thank you , I looking for such an plugin for a while.

Hi, what is the platform you are using? I use the Windows platform and use gVim more frequently.
It's strange because they have the same call logic.
I'd like to see the file path when you get an error.
(If the file name is split by spaces, it will have problems. I have fixed this problem in version 0.0.4)

Hi, what is the platform you are using? I use the Windows platform and use gVim more frequently.
It's strange because they have the same call logic.
I'd like to see the file path when you get an error.
(If the file name is split by spaces, it will have problems. I have fixed this problem in version 0.0.4)

I am using windows 10 and gVim. The path is ok it only missing the name of the vault name
like this should be the real path:
//
But the non existent note it is opening path is this:
/
I switched to "open with" plugin which basically doing what your plugin does but with any app and it works fine. But I would help with identification of this bug if I can.

Thanks for your feedback, in fact, “Open with” is a much more feature-rich plugin.

repo: yekingyan/obsidian-open-in-other-editor


text:
Version 3.0.0 breaks specifying type of a usemin target.

Before the offending change it was possible to specify the type of the target in usemin task configuration, like so:
usemin: {
  'mytarget': {
    files: { src: '...' },
    options: { type: 'html', ... }
  }
}

(I think this use was documented somewhere, but I can't seem to find it now.)
Currently the value of the type option is ignored and the target name determines the type, therefore - for instance - there can be only one html target - the one named 'html'.
The breaking change happened:
https://github.com/yeoman/grunt-usemin/blob/989766245ba750b116521c26eca7efbdc22e22c2/tasks/usemin.js

@ArturDorochowicz it should be fixed with #524

closing as a duplicate of #524.

authors: ArturDorochowicz stephanebachelier

repo: yeoman/grunt-usemin


text:
Error Installing Yo in Ubuntu 17 with Node v8.2.1 and NPM v5.3.0

Type of issue
Yo Installation error

My environment
Ubuntu 17.04
NodeJS 8.2.1
NPM 5.3.0
Yo (Cannot be installed)

OS version/details: eg. Windows 10 64-bit
Node version: x.x.x (run node --version in your terminal)
npm version: x.x.x (run npm --version in your terminal)
Version of yo : x.x.x (run yo --version in your terminal)

Expected behavior
I should be able to call npm package binaries like yodoctor, I am guessing that once yodoctor command works.... the installation would push thru.
Current behavior
Unable to install yo package, getting error yodoctor not found.
Seems that all package binaries are not found by ubuntu.
I am unable to locate the directory for all npm package binaries.
Steps to reproduce the behavior

Fresh Install of NodeJS (NPM) for Ubuntu using PPA

cd ~
curl -sL https://deb.nodesource.com/setup_8.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt-get install nodejs

Install Yeoman-Doctor

npm i -g yeoman-doctor (Successful)

Call yeoman-doctor or yodoctor

Tried using the following commands
yodoctor
sudo youdoctor
yeoman-doctor
sudo yeoman-doctor

All returns 'command not found'

Install Yo

npm i -g yo (ERROR)
Command line output
borgymanotoy@azeus:~$ npm doctor
Check                               Value                        Recommendation
npm ping                            OK
npm -v                              v5.3.0
node -v                             v8.2.1
npm config get registry             https://registry.npmjs.org/
which git                           /usr/bin/git
Perms check on cached files         ok
Perms check on global node_modules  ok
Perms check on local node_modules   ok
Verify cache contents               verified 2 tarballs
borgymanotoy@azeus:~/temp$ npm i -g yeoman-doctor

yeoman-doctor@2.1.0
updated 68 packages in 8.668s

borgymanotoy@azeus:~/temp$ yo
yo: command not found
borgymanotoy@azeus:~/temp$ yodoctor
yodoctor: command not found
borgymanotoy@azeus:~/temp$ sudo yodoctor
sudo: yodoctor: command not found
borgymanotoy@azeus:~/temp$ npm i -g yo

spawn-sync@1.0.15 postinstall /home/borgymanotoy/.npm/lib/node_modules/yo/node_modules/spawn-sync
node postinstall

yo@2.0.0 postinstall /home/borgymanotoy/.npm/lib/node_modules/yo
yodoctor

sh: 1: yodoctor: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! yo@2.0.0 postinstall: yodoctor
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the yo@2.0.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/borgymanotoy/.npm/_logs/2017-07-28T07_14_45_989Z-debug.log
Paste your error output over here

sh: 1: yodoctor: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! yo@2.0.0 postinstall: yodoctor
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the yo@2.0.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/borgymanotoy/.npm/_logs/2017-07-28T07_14_45_989Z-debug.log

Please take the time to search for your issue before opening new bug reports. This question has been asked countless times: https://github.com/yeoman/yo/search?q=yodoctor%3A+not+found&type=Issues&utf8=✓

authors: SBoudrias borgymanotoy

repo: yeoman/yo


text:
How to fix ? :v

I have very tried to change the firewall check changes

@hachkingtohach1 Please provide an anonymized copy of your waterdog and your end servers configs as well as the logs that are generated when trying to connect

@Xernium  @@
Proxy.zip

`listeners:

query_port: 25577
motd: '&1Another Bungee server'
tab_list: GLOBAL_PING
query_enabled: true
proxy_protocol: false
forced_hosts:
foxcraft.ddns.net: lobby
ping_passthrough: false
raknet: false
priorities:

lobby
bind_local_address: true
host: 0.0.0.0:25577
max_players: 1
tab_size: 60
force_default_server: false

query_port: 19132
motd: '&1Another Bungee server'
tab_list: GLOBAL_PING
query_enabled: true
proxy_protocol: false
forced_hosts:
ping_passthrough: false
raknet: true
priorities:

lobby
bind_local_address: true
host: 0.0.0.0:19132
max_players: 20
tab_size: 100
force_default_server: false
bedrock_encryption: true
permissions:
default:
bungeecord.command.server
bungeecord.command.list
admin:
bungeecord.command.alert
bungeecord.command.end
bungeecord.command.ip
bungeecord.command.reload
log_pings: true
connection_throttle_limit: 3
prevent_proxy_connections: false
timeout: 30000
log_commands: true
player_limit: -1
ip_forward: true
groups:
md_5:
admin
use_xuid_for_uuid: true
connection_throttle: 4000
replace_username_spaces: true
stats: c1b86ccb-d4dd-4cd8-b4d9-5584276b6202
network_compression_threshold: 256
online_mode: false
forge_support: true
disabled_commands:

disabledcommandhere
servers:
lobby:
raknet: true
motd: '&1skywars'
transfer_group: default
address: 0.0.0.0:19136
restricted: false
`

https://pastebin.com/qnTBFxfP @hachkingtohach1 the server has to have ranknet: true if its a bedrock server. Also access restriction is broken so restricted: true will break a few things. Lastly I removed the broken hosts. Give that a try.

For network and configuration help, join the discord here https://discord.gg/VA8VgCz.

authors: Xernium colinrgodsey hachkingtohach1

repo: yesdog/Waterdog


text:
With UQL parser, time series disappears if first value is null or missing

Describe the bug
I have some time-series data in JSON, in the format
[
  {"time": "2023-01-24T15:45:42Z", "field1": 1, "field2": 5},
  {"time": "2023-01-24T15:45:57Z", "field1": 2, "field2": 6},
  {"time": "2023-01-24T15:46:13Z", "field1": 3, "field2": 7},
  {"time": "2023-01-24T15:46:28Z", "field1": 4, "field2": 8}
]

I can parse and plot this successfully using the UQL parser, i.e.:

==>

(in reality the data comes from an API and is parsed by some JSONata run via UQL, but the end result is the same)
Occasionally a timeseries can contain some null values, where data is not available. This is generally not a problem - all other values are plotted. But the problem occurs whenever the first value in the series is null - in that case the whole series disappears from the chart.
The same behavior is observed if instead of having a null value, a particular key is missing from the first payload in the array (even if it's present in subsequent payloads).
Steps to reproduce
Select the UQL parser with an Inline data source and the Time Series format. Enter some data where the first payload in the array has a null value for one of the series (e.g. as below). Enter the minimum UQL to parse, i.e. parse-json.
Sample Data
[
  {"time": "2023-01-24T15:45:42Z", "field1": 1, "field2": null},
  {"time": "2023-01-24T15:45:57Z", "field1": 2, "field2": 6},
  {"time": "2023-01-24T15:46:13Z", "field1": 3, "field2": 7},
  {"time": "2023-01-24T15:46:28Z", "field1": 4, "field2": 8}
]

Screenshots

==>

Version Details:

Grafana version : 9.2.4
Plugin version : 1.2.0 as well as latest main branch

Additional context
I assume that some sort of series enumeration (and/or data type determination) is done based on the first payload in the series - which unfortunately fails when there is a null or missing value for one of the fields. I've looked through the code but couldn't quite identify where this happens, in order to experiment with a possible solution. Would appreciate any pointers.
I'm also open to other suggestions as to how to approach this. E.g. maybe using another parser, or a different data format. One limitation that I do have is that the number of data series and their names are not known up front, and I found that the UQL parser provides the flexibility to deal with a situation like that.

Thanks @yesoreyeram for the prompt response - that's a very helpful pointer.
I know this isn't an issue when I for example use the Influx datasource in Grafana (for data with similar features) but I guess that doesn't get passed through the toDataFrame function you mentioned.
I should probably get myself more familiar with the overall data processing steps that take place in the Infinity datasource - and what gets passed to Grafana. Do you have any tips on troubleshooting this/getting more visibility? Maybe I can just add a bunch of console log messages in the TS, so I can see what the data looks like at different stages?

Ok, I dug into this a bit more. Indeed if the first item in a timeseries is null, Grafana's toDataFrame() function will tag that series as a string type, which means that it ultimately doesn't survive conversion to a timeseries.
So for my use case I went with quite a different approach in the end. I ended up generating an actual Grafana dataframe using JSONata, which allows me to be explicit about which fields should be present and their respective types. Then I get this dataframe format to be preserved by the plugin and passed more or less directly to Grafana (via a couple of small code changes).
Anyway, given that this is clearly not an actual bug in the Infinity datasource, I'm going to go ahead and close this. Thanks again @yesoreyeram for a fantastic plugin!

Thanks for the tips! I do need to distinguish between missing data and zero values, so the first workaround wasn't an option unfortunately.
I was interested in using the backend parser but couldn't get it to work in a situation where the exact field names are not known ahead of time. I.e. in your example the selectors field1 and field2 (and time) are explicitly specified - is there a way to somehow use the backend parser without those explicit specifications?

repo: yesoreyeram/grafana-infinity-datasource


text:
yetanalytics/persephone:latest - repository does not exist

Could you please publish yetanalytics/persephone to docker hub?
Thank you

Persephone should be available on DockerHub already: https://hub.docker.com/repository/docker/yetanalytics/persephone

Thank you for the quick reply. I still cannot access it - is it set private by any chance?

That indeed seems to be the problem. I just set it to public.

Thank you very much!

repo: yetanalytics/project-persephone


text:
bug: Copilot Throws an error

Describe the bug
if i open my nvim config files and open avante with copilot, it works fine, no problems, but if i open it in my work project i get this error:

Datetime: 2024-09-13 11:34:08

Model: copilot/gpt-4o-2024-05-13

tell me something about go

Generating response ...
Error: "API request failed with status 400. Body: '{"error":{"message":"prompt token limit exceeded","param":"","code":"","type":""}}'"
No matter what i ask, i get this, anyone knows any possible solution, my config is default nothing changed besides provider to copilot.
Environment
NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1720049189
Run "nvim -V1 -v" for more info

Sorry for being stupid, copilot signin resolved this issue.
I was puzzled as it was working in one project but not in other.
Again, sorry.


text:
window does not scroll on top when switching routes

I am not sure if it is on purpose, but right now when routes are switched the scrollbar is not reset to the (0,0) position. What is a suitable workaround?

This isn't a concern with the router itself.
The probable solution would be to have a Scrollable component that you reset to the top when you detect a route change. I think that such a component would be a welcome addition to the router project should someone want to contribute one.

@hamza1311 should we consider making this an option with the new user? I'm thinking we could add a prop scroll_to_top: bool that does exactly this.

@hamza1311 should we consider making this an option with the new user? I'm thinking we could add a prop scroll_to_top: bool that does exactly this.

"new user"? I think we should make this the default with an option to opt out (for cases like Discord, where the URL defines which node should be in view). I wonder how other routers (angular/vue/react router) do this

"new user"? I think we should make this the default with an option to opt out (for cases like Discord, where the URL defines which node should be in view). I wonder how other routers (angular/vue/react router) do this

Sorry, meant to write new router but got distracted and my fingers decided to type something on their own :D
Anyway, I'm not particular over whether this is the default or not (though I'm tending toward yes as well). It seems like we both agree that this should be a feature though.

It seems like we both agree that this should be a feature though.

Yes. That's what causes the router example to stay in weird position when switching routes, requiring manual scroll-up

I know it is been a while, but the issue is still there.
React offers this sorta functionality with Scroll Restoration
I briefly skimmed thru their code, and basically they save scroll y for each page in a stack and restore it with  window.scrollTo, defaulting to window.scrollTo(0, 0); if a page wasn't visited before.
Prob for starters a simple reset with window.scrollTo(0, 0); on navigation change would suffice, but in the current yew-router implementation I only see one window reference.
Maybe if you could point out where it would be the most suitable to be added I could implement it

@hamza1311 @futursolo
any feedback on it :point_up: ?

I think you can replicate this behaviour with the following code.
let location = use_location();

use_effect_with_deps(|_| {
    window.scroll_to(ScrollToOptions::new().top(0));
}, location);

You can extend the above by storing the data in location.state() if you wish to restore the scroll location.

I ended up with the following implementation:
Cargo.toml
web-sys = { version = "0.3.63", features = ["Window", "ScrollToOptions", "ScrollBehavior"] }

helper function
pub fn scroll_to_top() {
    let window = web_sys::window();
    if window.is_some() {
        window.unwrap().scroll_to_with_scroll_to_options(web_sys::ScrollToOptions::new().top(0.0).behavior(web_sys::ScrollBehavior::Instant));
    } else {
        warn!("Window is not found!")
    }
}

calling it like
use_effect_with_deps(
    |_| {
        navigation_utils::scroll_to_top();
}, ());

The question is - do you think this kind of functionality should reside in the the router code itself?

This worked for me
Cargo.toml
web-sys = { version = "0.3.72", features = ["Element", "ScrollToOptions"] }

Component

#[function_component]
fn ComponentName() -> Html {

    use_effect_with((), move |_| {
        if let Some(window) = window() {
            let options = ScrollToOptions::new();
            let _ = options.set_top(0 as f64);
            let _ = window.scroll_with_scroll_to_options(&options);
        }
    });

    // Other component logic
}

authors: Enigo PositronicBrain amrbz futursolo hamza1311 hgzimmerman siku2

repo: yewstack/yew


text:
有一个很折磨人的bug咨询

`在执行你的note9，note10的时候报下面的错：
Check failed: mapGet(type, creatorMap_, &creator) Unknown class type: cudnn_conv
请问有什么解决方案吗？

会不会是因为我的电脑不支持width_avx？

@havefunbb 这个报的应该是GPU的错误。你是GPU环境是否正常？

@havefunbb avx指令集是CPU的，应该跟它没什么关系。

@havefunbb 这是在那个例子中的VGG_SSD_net中网络构建是用了cudnn的一些层定义，你如果gpu环境配置不合适肯定回报错，看样子应该是你配置了cpu的paddle确调用cudnn_conv来构建网络，肯定找不定该类型啦

@havefunbb 您的问题解决了吗？

authors: havefunbb wuwusky yeyupiaoling

repo: yeyupiaoling/LearnPaddle


text:
geom_point can't have more than 8 colors

Consider the following code, the data should have 10 categories, ie: "a" to "j". And I would like to color the points according to their categories, however the categories "a" and "b" are missing from the plot.
l = ["a","b","c","d","e","f","g","h","i","j"]
df = pd.DataFrame({"x":randn(100),"y":randn(100),"c":repeat(l,10)})
p = ggplot(aes(x="x",y="y",color="c"),data=df) + geom_point()
p

fixed in 0.9.3

authors: catethos glamp

repo: yhat/ggplot


text:
Export Powerpoint slides

This project looks absolutely fantastic. I'd be interested in contributing, and wanted to know more details about how it would interoperate with Powerpoint slides. At the very least, it seems very interesting to be able to export Powerpoint slides. Most organizations and conferences I know expect Powerpoint slides, and it'd be handy to send them to somebody who doesn't use Marp.
Is Marp's roadmap open to this?

This seems too ambitions. Exporting to PDF's seems more feasible.

@amilajack: Why? There are nodejs libraries that can produce PowerPoint XML -- the only question after that is how to generate styles, right?

Wow that's pretty cool! Didn't know about them. Should be relatively straightforward then.

OOXML seems possible. It would also be nice to export as ODF…

Sounds like the first step would be to internally generate an intermediate representation (IR) of slides. That way, you could write plugins and feed the IR into transformation plugins or something, to create whatever output (or other fun modifications) you can come up with.
Basically, my suggestion implies creating a light-weight compiler of sorts. It would add complexity, but simplify things a little since you'd have a saner framework for exporting instead of throwing if PPT mode else if OpenOffice else if LibreOffice else if ... all over the export code.

Hmm, I'm thinking it seems still ambitious in terms of the Marp's implement. :confused:
I guess the project of developing converter for slide formats will launched as another project If we will process this enhancement.
And that approach is similar to Pandoc. The converter might create with it...

Would it make sense to export using Pandoc and create a simple UI for that instead of having the PDF-export? Just throwing the idea out for anyone who's disappointed by this being a wontfix (though I agree with your decision :)

Of course I don't think it is not worth. I was concerned whether be able to keep the quality of looks same as PDF, and I guessed it's too hard.
If we decided that it were just exported semantic elements, I guess Marp had possibility to add export to some format in this project. I have to apologize my smug decision with less discussed...
I'll remove tagged wontfix. Then I also would like to hear conceptor's consideration.

@yhatt: Examining alternatives now. An initial glance shows some tools that could be used:

Pandoc (mentioned before) -- can convert from MD to PPT. This might be the best bet for a solution, since it's complete and mature.
odpdown -- Python library that converts to the OpenOffice Presenter format, which can be used for PPTs. Adding Python to the toolchain doesn't sound desirable, though.
officegen -- do a lot of code-rolling for this project, but it matches the Electron toolchain. CBA: Yuck!

The recurring theme I see is that, as you said, the tool to use might already be developed. I'll examine some options (at least what I've listed here) and come back with the results of my research.

Now PPTX export is available in Marp Next tools (#267) such as Marp CLI and Marp for VS Code.

authors: ErichDonGubler amilajack nyaray wb9688 yhatt

repo: yhatt/marp


text:
Reduce number of binding parameters

We can reduce the number of binding parameters by binding only values that need to be quoted (string and binary values).
It is not necessary to bind null, bool, int and float, these values can be converted to an unquoted string.
Expect this to improve performance slightly.
Related issue

https://github.com/yiisoft/db/issues/888

It is not necessary to bind null, bool, int and float, these values can be converted to an unquoted string.
Expect this to improve performance slightly.

Why do you think so?

@xepozz about these being unnecessary or about performance?

About unnecessary binding for null, bool, etc

Well, it might be good to bind it for database optimizer but security-wise binding not needed.

It is not necessary to bind null, bool, int and float, these values can be converted to an unquoted string.
Expect this to improve performance slightly.

Why do you think so?

The answer is in the sentence: "these values can be converted to an unquoted string" and it is safely.
Less calls of methods and less stored values should improve performance.

I'm just wondering why should changing q=select ?, ?, ?, p=[null,1,true] to q=select null, 1, true, p=[] improve performance?
Anyway, we can test it

authors: Tigrov samdark xepozz

repo: yiisoft/db


text:
Fixed all issues psalm, more clean code.

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
❌

Fixed issues
https://github.com/yiisoft/db/issues/152

Check: vendor/bin/psalm src/Query

👍

authors: samdark terabytesoftw