LINK : fatal error LNK1104: cannot open file 'C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\spirv-toolsd.lib'

Hey ,
Tryin to build the startre kit ,  win10 64bit , VC++ 2022
got this error :
c:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party>cmake --build build
Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  Performing update step for 'bgfx'
  No patch step for 'bgfx'
  Performing configure step for 'bgfx'
  -- Selecting Windows SDK version 10.0.20348.0 to target Windows 10.0.19043.
  -- Configuring done
  -- Generating done
  -- Build files have been written to: C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx/build
  Performing build step for 'bgfx'
  Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET Framework
  Copyright (C) Microsoft Corporation. All rights reserved.

    Checking Build System
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    astc.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\astcd.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    astc-codec.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\astc-codecd.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    bx.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\bxd.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    edtaa3.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\edtaa3d.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    etc1.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\etc1d.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    etc2.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\etc2d.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    iqa.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\iqad.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    nvtt.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\nvttd.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    pvrtc.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\pvrtcd.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    squish.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\squishd.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    tinyexr.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\tinyexrd.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    bimg.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\bimgd.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    bgfx.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\bgfxd.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    fcpp.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\fcppd.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    meshoptimizer.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\meshoptimizerd.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    geometryc.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\geometryc.exe
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    dear-imgui.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\dear-imguid.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    example-common.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\example-commond.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    geometryv.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\geometryv.exe
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    glcpp.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\glcppd.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    mesa.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\mesad.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    glsl-optimizer.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\glsl-optimizerd.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    glslang.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\glslangd.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    spirv-cross.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\spirv-crossd.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
LINK : fatal error LNK1104: cannot open file 'C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\spirv-toolsd.lib' [C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\spirv
-tools.vcxproj] [C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx.vcxproj]
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    texturec.cpp
       Creating library C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx/build/Debug/texturec.lib and object C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx/build/Debug/texturec.exp
    texturec.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\texturec.exe
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx-prefix/src/bgfx/CMakeLists.txt
    texturev.cpp
C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx-prefix\src\bgfx\bgfx\3rdparty\dear-imgui\widgets/memory_editor.h(20,13): warning C4996: 'strcpy': This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\texturev.vcxproj] [C:\dev\my\cpp\sd
l-bgfx-imgui-starter\third-party\build\bgfx.vcxproj]
C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx-prefix\src\bgfx\bgfx\3rdparty\dear-imgui\widgets/memory_editor.h(21,13): warning C4996: 'strcpy': This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\texturev.vcxproj] [C:\dev\my\cpp\sd
l-bgfx-imgui-starter\third-party\build\bgfx.vcxproj]
       Creating library C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx/build/Debug/texturev.lib and object C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/bgfx/build/Debug/texturev.exp
    texturev.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgfx\build\Debug\texturev.exe
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(242,5): error MSB8066: Custom build for 'C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\CM
akeFiles\91c4a5e23bc15095b2da2fac268ecfc1\bgfx-update.rule;C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\CMakeFiles\91c4a5e23bc15095b2da2fac268ecfc1\bgfx-patch.rule;C:\dev\my\cpp\sdl-bgfx-imgui-start
er\third-party\build\CMakeFiles\91c4a5e23bc15095b2da2fac268ecfc1\bgfx-configure.rule;C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\CMakeFiles\91c4a5e23bc15095b2da2fac268ecfc1\bgfx-build.rule;C:\dev\m
y\cpp\sdl-bgfx-imgui-starter\third-party\build\CMakeFiles\91c4a5e23bc15095b2da2fac268ecfc1\bgfx-install.rule;C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\CMakeFiles\47218f6ffe17cb1a08339cee0e6bf7d3\
bgfx-complete.rule;C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\CMakeFiles\e3a0df0db7afd2eaad2a5d96f3e16bfb\bgfx.rule' exited with code 1. [C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\bgf
x.vcxproj]
  Creating directories for 'imgui.cmake'
  Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/CMakeLists.txt
  Performing download step (git clone) for 'imgui.cmake'
  Cloning into 'imgui.cmake'...
  HEAD is now at 7e417a3 update imgui library
  Submodule 'imgui' (https://github.com/ocornut/imgui) registered for path 'imgui'
  Cloning into 'C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/imgui.cmake-prefix/src/imgui.cmake/imgui'...
  Submodule path 'imgui': checked out '07efd7cc2053099c2f29e65b33e03d56a4b8d53c'
  Performing update step for 'imgui.cmake'
  No patch step for 'imgui.cmake'
  Performing configure step for 'imgui.cmake'
  -- Selecting Windows SDK version 10.0.20348.0 to target Windows 10.0.19043.
  -- The CXX compiler identification is MSVC 19.30.30705.0
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x64/cl.exe - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Configuring done
  -- Generating done
  -- Build files have been written to: C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/imgui/build
  Performing build step for 'imgui.cmake'
  Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET Framework
  Copyright (C) Microsoft Corporation. All rights reserved.

    Checking Build System
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/imgui.cmake-prefix/src/imgui.cmake/CMakeLists.txt
    imgui.cpp
    imgui_demo.cpp
    imgui_draw.cpp
    imgui_widgets.cpp
    imgui_tables.cpp
    Generating Code...
    imgui.cmake.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\imgui\build\Debug\imgui.cmaked.lib
    Building Custom Rule C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/imgui.cmake-prefix/src/imgui.cmake/CMakeLists.txt
  Performing install step for 'imgui.cmake'
  Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET Framework
  Copyright (C) Microsoft Corporation. All rights reserved.

    imgui.cmake.vcxproj -> C:\dev\my\cpp\sdl-bgfx-imgui-starter\third-party\build\imgui\build\Debug\imgui.cmaked.lib
    -- Install configuration: "Debug"
    -- Installing: C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/lib/imgui.cmaked.lib
    -- Installing: C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/lib/cmake/imgui.cmake/imgui.cmake-config.cmake
    -- Installing: C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/lib/cmake/imgui.cmake/imgui.cmake-config-debug.cmake
    -- Installing: C:/dev/my/cpp/sdl-bgfx-imgui-starter/third-party/build/include/imgui.h
  Completed 'imgui.cmake'

Hmm that's an odd one 🤔 Looks like bgfx for some reason is failing to build... Can you try running the terminal/command prompt as administrator and trying again in case that has anything to do with it? It might also be worth trying to open the generated bgfx solution that was generated by CMake and try to build the spirv-tools project on its own and see if you get the same error.

Any update on this issue @meiry? Otherwise, I'll close this as stale. Thanks!

Closing due to inactivity. Feel free to reopen in future if you're still having problems (there's recently been quite a big update to the repo so it might be worth trying again after updating).


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-yml-archive-non-versioning-archive/pull/227 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-yml-archive-non-versioning-archive.git

Docs Build status updates of commit e7d0f42:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/index.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-3.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/sql-database-engine.png
:white_check_mark:Succeeded

docs/to-be-archive/level2/article3-2-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-3.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


[Bug]

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behaviour
External styles failed to apply on sqlz.ejs
Expected Behaviour
All styles should reflect on sqlz.ejs
Steps to Reproduce
No response
Environment
- OS:Linux mint 21
- Node:
- npm:

Anything else?
No response
On what browsers you're seeing the problem.
No response

can you assign me this issue ? i can work on it.


Pad filenames with zero for day solutions

Again, really awesome work here! This project is great.
problem
The issue I discovered was that the day files aren't padded when day < 10. This causes sorting issues when listing files locally or viewing them in the code forge. This is really a minor issue, but I think it would be a nice improvement.
# current output
day_1.gleam
day_10.gleam
day_11.gleam
day_2.gleam

proposal
Users would be able to activate a pad (not sure on naming) setting in the gleam.toml which would create files with padding when running gladvent run new ... and expect padding when loading files with gladvent run run ....
[gladvent]
pad = true

The important thing is to not break current setups, which is why when this setting is false or not available, the default behavior would be to not use padding. Here is what listing the files looks like when sorting with padding = true:
# proposed output
day_01.gleam
day_02.gleam
day_10.gleam
day_11.gleam

deprecation (optional)
If you think, this is a good default behavior and want to implement it in v3, you could consider adding a deprecation warning when users run gladvent run new ... if the pad setting is not set in gleam.toml. That way users are made aware of the feature and can create new solutions with padding.
In addition, a gladvent run migrate command could be added. In v2, this would basically iterate over all solutions, check if padding exists, if not pad file name.
Then in the v3, the conditional logic for pad  would be dropped, and either drop or adapt the migrate command, i.e. the migrate command would remove the pad setting in the config.toml if it exists (don't know how trivial this would be).
wip
I got hooked last night digging into the code and started to implement this locally. It seems to be totally feasible.
A nice feature of int.parse in Gleam is that "01" is parsable which makes the runner logic largely untouched:
import gleam/int
import gleeunit/should

pub fn convert_padded_day_to_int_test() {
  "01" |> int.parse() |> should.be_ok() |> should.be_equal(1)
}

And simply adding a helper for getting the day as a string could look like:
pub fn day_to_string(day: Day, pad pad: Bool) -> String {
  case pad {
    True -> int.to_string(day) |> string.pad_start(to: 2, with: "0")
    False -> int.to_string(day)
  }
}

roadmap
If you are happy with the proposal, I'd like to further work on this feature. I see it being done in the following steps (happy to get feedback from you):

add pad parameter to creating source files and reading from source paths (explicitly set to false)
add ability to read pad option from gleam.toml, injecting the flag it into the read/write helpers
(optional): add deprecation warnings when pad setting not set and the user creates a new solution
(optional): add migrate command that migrates existing solutions to padded format
(optional): post v3 migration, clean up conditional logic in previous stages and drop/adapt migrate.

These would all be done as individual pull requests. Looking forward to getting some feedback :)

Oh hey that's not a bad idea, but I would simplify it a bit and say that we do all of this in v3 and omit the configuration aspect.
My suggestion is that padding be required to run v3 onward, and the command to update (whether it is called migrate/upgrate/wtv) be added in v3 and removed in an eventual v4.
That way as of v3 we always generate new days with the correct padding, but can prompt the user to run the upgrade command if we find they're trying to run days that don't have their names padded. This should be relatively simple because we can check if they expose day_x and not day_0x fairly easily
In addition, I would apply the padding to the names of input text files as well as the gleam files for consistency.
What do you think?

Actually now that I think about it, with making the check at run rather than at new we can bundle this all into v2 as you originally suggested. And then remove the command in v3
In v2 we can run either the padded or unpadded days and provide the prompt to run the migrate command if we notice the old format is being used.

Hey, thanks a lot for the feedback!
I quite like the approach from your initial comment a lot. It would make things so much simpler. Since we would already be checking for outdated file patterns, we could process normally and output a deprecation message:

Legacy file detected. In v4 this will no longer be supported. Please run gleam run upgrade.

Targeting v3 seems like a cleaner cut, and users can always remain on v2 if they want. I don't like that my initial approach called for changing the output of  gleam run new ... in v2. Although not a breaking change with the config, it is quite a significant change in behavior.

In addition, I would apply the padding to the names of input text files as well as the gleam files for consistency.

Good point! Noted.
If you are good with it, I'd be in favor of targeting these changes to a v3 branch. Would also be much easier to develop :) what do you think?

Yeah that works for me, I say go for it! I can make a branch for you to target

@logan-connolly you can point your changes at the next branch: https://github.com/TanklesXL/gladvent/tree/next


Error recovery is missing

While converting some grammars I noticed that the error for error recovering is not implemented.
Example grammar using error recovery that works with bison:
%nonassoc error
%left '(' ')'
%left '+' '-'
%left '*' '/'
%nonassoc integer

%%

stmts:
	stmts stmt
	| stmt
	| %prec '('
	;

stmt:
	expr ';'
	| error ';'
	;

expr:
	expr '+' expr
	| expr '-' expr
	| expr '*' expr
	| expr '/' expr
	| expr error expr
	| '(' expr ')'
	| integer
	;

%%

//[0-9]+	integer

Yes, I'm not intending to implement this feature.

And what about byacc https://github.com/ThomasDickey/byacc-snapshots:
Bison generating postgresql-16:
/usr/bin/time bison-nb postgresql16b2-naked.y
1.36user 0.03system 0:01.37elapsed 101%CPU (0avgtext+0avgdata 17204maxresident)k
0inputs+4072outputs (0major+10888minor)pagefaults 0swaps

/usr/bin/time byacc-nb postgresql16b2-naked.y
1.59user 0.02system 0:01.61elapsed 99%CPU (0avgtext+0avgdata 42124maxresident)k
0inputs+6800outputs (0major+10631minor)pagefaults 0swaps

Here is the postgresql-16 naked grammar:
postgresql16b2-naked.y.zip

It seems that even lemon struggles with postgresl-16:
/usr/bin/time lemon-nb -s postgresql16b2-naked.lemon
Parser statistics:
  terminal symbols...................   522
  non-terminal symbols...............   706
  total symbols......................  1228
  rules..............................  3293
  states.............................  3490
  conflicts..........................     0
  action table entries............... 129153
  lookahead table entries............ 129174
  total table size (bytes)........... 546522
15.43user 0.25system 0:15.81elapsed 99%CPU (0avgtext+0avgdata 422128maxresident)k
0inputs+123656outputs (0major+105236minor)pagefaults 0swaps

postgresql16b2-naked.lemon.zip

And what about byacc https://github.com/ThomasDickey/byacc-snapshots

That actually looks really interesting.

I have a fork here https://github.com/mingodad/lalr-parser-test with some cosmetic changes.

There is also this https://github.com/phorward/unicc/tree/main/min_lalr1

That would be a nice addition !
Also instead of reporting errors one by one, probably trying to recover and going forward and showing the accumulated errors would be nice.
Another interesting error recovering and messaging is done here https://github.com/sqmedeiros/lpeglabel#relabel-syntax .


config ui x shows the log with AM/PM Timestamps ....

Hi
config-ui-x shows the log time stamps in AM/PM time mode .....
Is it possible to show in 24h format ?
thx, Richard

Hi,
The UI just displays the raw logs as they are outputted by Homebridge. This feature would have to be implemented in the main Homebridge repo.

no thats not right ..... see the log:
Feb 25 07:28:07 homebridge-raspi homebridge[2078]: [2/25/2019, 7:28:07 AM] [Lautsprecher Wohnzimmer] Setting power to false Feb 25 07:28:08 homebridge-raspi homebridge[2078]: [2/25/2019, 7:28:08 AM] [Lautsprecher Wohnzimmer] Mute attempt with success: undefined Feb 25 07:28:08 homebridge-raspi homebridge[2078]: [2/25/2019, 7:28:08 AM] [Lautsprecher Badezimmer] Mute attempt with success: undefined Feb 25 07:28:08 homebridge-raspi homebridge[2078]: [2/25/2019, 7:28:08 AM] [Lautsprecher Schlafzimmer] Mute attempt with success: undefined
The part ... [2/25/2019, 7:28:08 AM] comes with your plug-in ... on my 3rd homebridge instance there is only the time stamp at the beginning from the line ....
richard

[2/25/2019, 7:28:08 AM] is generated by homebridge here:
https://github.com/nfarina/homebridge/blob/0d77bb93d33a7b6e158efe4b4d546636d976d5c7/lib/logger.js#L85
You may have disabled timestamps on your other homebridge instance by starting homebridge with the -T option?

It seems the pre-built node.js binaries is not built with internationalization support so toLocalString() is not working as expected.
node:
new Date().toLocaleString('de')
'2/25/2019, 8:25:00 PM'

browser:
new Date().toLocaleString('de')
"25.2.2019, 20:25:37"

ok ... so it is at it is ;-)
thx a lot ! ;-)


Feature request: Support german and english language

Problem
I cannot read chinese language.
Solution
Translation seem to be supported by univer.
Additional details
Thank you very much for your great plugin!

glad to receive ur issue. I will feat this function as soon as possible. Good day.

Problem
I cannot read chinese language.
Solution
Translation seem to be supported by univer.
Additional details
Thank you very much for your great plugin!

the plugin has update, now u can use the plugin setting option to change the language to Chinese or English, now the default language is English. Thanks for ur issue again. Good day to u.


TypeError in /clan/veni-vidi-vici-lcglcjql

Error in ClashLeaders
TypeError in /clan/veni-vidi-vici-lcglcjql
Cannot read property 'componentInstance' of null
View on Bugsnag
Stacktrace
webpack:///node_modules/vue/dist/vue.esm.js:5690 - isPatchable

View full stacktrace
Created automatically via Bugsnag

An error linked to this issue has been marked as fixed in Bugsnag
TypeError in /clan/grumpy-alley-ru9l29g


[bug] error Command failed with exit code<PHONE_NUMBER>.

Describe the bug
when I closed projeckt will show an error "Command failed with exit code<PHONE_NUMBER>":
$ tauri dev
     Running BeforeDevCommand (`yarn dev`)
$ vite

  VITE v3.1.3  ready in 449 ms

  ➜  Local:   http://<IP_ADDRESS>:1420/
  ➜  Network: use --host to expose
        Info Watching D:\PrivateFile\Code\unal\src-tauri for changes...
    Finished dev [unoptimized + debuginfo] target(s) in 0.24s
error Command failed with exit code<PHONE_NUMBER>.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

package manager : yarn
ui template : react-ts
it is absolute new projeckt.
Reproduction
yarn create tauri-app
cd projeckt
yarn
yarn tauri dev
close projeckt

Expected behavior
No response
Platform and versions
yarn run v1.22.19
$ tauri info

Environment
  › OS: Windows 10.0.22000 X64
  › Webview2: 105.0.1343.42
  › MSVC:
      - Visual Studio Community 2022
  › Node.js: 16.15.1
  › npm: 8.11.0
  › pnpm: Not installed!
  › yarn: 1.22.19
  › rustup: 1.25.1
  › rustc: 1.63.0
  › cargo: 1.63.0
  › Rust toolchain: stable-x86_64-pc-windows-msvc

Packages
  › @tauri-apps/cli [NPM]: 1.1.1
  › @tauri-apps/api [NPM]: 1.1.0
  › tauri [RUST]: 1.1.1,
  › tauri-build [RUST]: 1.1.1,
  › tao [RUST]: 0.14.0,
  › wry [RUST]: 0.21.1,

App
  › build-type: bundle
  › CSP: unset
  › distDir: ../dist
  › devPath: http://localhost:1420/
  › framework: React

App directory structure
  ├─ .git
  ├─ .vscode
  ├─ node_modules
  ├─ public
  ├─ src
  └─ src-tauri
``

### Stack trace

_No response_

### Additional context

_No response_

This can be safely ignored. This is what the frontend bundler/devserver returns and it's caused by the aggressive (powershell) method we have to use to kill the beforeDevCommand :/

Thanks.

This can be safely ignored. This is what the frontend bundler/devserver returns and it's caused by the aggressive (powershell) method we have to use to kill the beforeDevCommand :/

Thanks!


Fix some OAuth related issues

Add logging for config issues
oauth callback expiration should be milliseconds not microseconds
Return on error early during oauth callback
Prevent no config from throwing exception constructing string

FYI @kenneth-jia

Hi, @rockwood-openai Thank you for your contribute! The fix looks good!
The tricky part is I have no privilege to approve the PR (though I'm the author but I'm not a maintainer anymore).
Let me discuss with my colleagues and find a way out.😅

Thanks @kenneth-jia and @alex-q-chen
I think CI is broken based on https://github.com/morganstanley/modern-cpp-kafka/pull/232 let me know if there is anything I can do to help.


Clarification on data latency and troubleshooting?

If you get unexpected results, like seeing the device configuration for download mode but content distribution contains no data, is that due to data latency, incorrect telemetry settings or something else? Consider clarifying expectations and troubleshooting, common errors etc for us admins.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2399593c-cd60-af48-04c8-d6718cd3d1ec
Version Independent ID: 20dedc08-413b-fda3-622a-f5c1058f85ca
Content: Delivery Optimization in Update Compliance (Windows 10) - Windows Deployment
Content Source: windows/deployment/update/update-compliance-delivery-optimization.md
Product: w10
Technology: windows
GitHub Login: @jaimeo
Microsoft Alias: jaimeo

Thanks @sdxfuj for the feedback. UCv2 is in the works, and we'll look into adding more troubleshooting information as part of the updated docs. I'm closing this for now as we don't plan on revising the UCv1 content.


Shouldn't a lot of these regex be greedy?

Hmmm... Tag replacing only replaces the first tag as well :( this could be the source of the syllablecount problem too...


Accesibility / tabbing issue

Hi
I've been testing one of our sites for acccessibility and in particular how screen readers or people using a keyboard navigate. An issue that came up was that if someone tabbed to an element or link that wasn't immediately visible, the browser or screen reader would skip straight past it and on to the next visible element or link.
Looking at the .js code I noticed that you are using a default state of 'visibility:hidden' and then once the element comes in to view this changes to 'visibility:visible'. The problem with this is a browser or screen reader doesn't see that element until it has animated in and will skip past it (especially if you are tabbing quickly). However if you use 'opacity' the element is seen and you can tab to it even if not immediately in view.
I made a slight edit to my version of your code and it seems to work just as well now.
Line 370.
Changed = box.style.visibility = hidden ? 'hidden' : 'visible';
To = box.style.opacity = hidden ? '0' : '1';
Is this something you might consider updating? Would rather not fork your code;)
Cheers

Same problem. I have clients who are legally required to have accessible web sites, so I recently switched them all over to a different animate-on-scroll library that uses opacity. Would be great if WOW would consider this update.

Same problem. I have clients who are legally required to have accessible web sites, so I recently switched them all over to a different animate-on-scroll library that uses opacity. Would be great if WOW would consider this update.

Hi, wich library use instead?

Same problem. I have clients who are legally required to have accessible web sites, so I recently switched them all over to a different animate-on-scroll library that uses opacity. Would be great if WOW would consider this update.

Hi, wich library use instead?

I used AOS: https://michalsnik.github.io/aos/


Consider using .Site.RegularPages

https://github.com/avianto/hugo-kiera/blob/a403b6347cb0e2012da35fc811c7a95c0d8402ca/layouts/index.html#L5
Ref. your home page template. I think what most people expect is that you list only "regular pages" on the home page, so I would consider replacing .Data.Pages with .Site.RegularPages in that particular template.

Thank you for the suggestion! I was not sure choosing between Site.RegularPage and .Data.Pages but your input made it clear for me now. Implemented.


Errore creating more connection "DB2 z/OS connection settings"

System information:

Windows 10 PRO

DBeaver Community Edition	<IP_ADDRESS>911031605	org.jkiss.dbeaver.ce.feature.feature.group	JKISS

Additional extensions : NOTHING

Connection specification:

Database DB2
Driver name
Do you use tunnels or proxies (SSH, SOCKS, etc)? NO

Describe the problem you're observing:
When I create more connection of type  "DB2 z/OS connection settings" the JDBC URL is referred always to the jdbc url of the last connection created.
The previus connection change the configuration and so I can use only one connection of this type.
Steps to reproduce, if exist:
Create more "DB2 z/OS connection settings"
Include any warning/errors/backtraces from the logs

thanks for the bug report

@paskd please, specify, did you mean changing URL in Driver Settings?

Yes ... when I change this option it is chenged on all other connection created.
Maybe I'm using it incorrectly ... but I couldn't figure out how to do it.

@paskd btw it is expected behavior, changes of the driver settings should effect on all connections that using this driver


⚠ Bofrost.at has degraded performance

In 9c06942, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1253 ms

Resolved: Bofrost.at performance has improved in 2694c8c.


For ES2015 target, cannot exclude conflicting @types of dependencies with ES5 target

My project has an external dependency that was written in Typescript, targets ES5 and depends on @types/es6-promise. I do not see a way to compile my project without tsc including node_modules/@types/es6-promise which conflicts with lib.es6.d.ts and throws type errors.
Am I missing a tsconfig.json option?
TypeScript Version:  Version 2.1.4
Code
Here is a stripped down example:
tsconfig.json
{
    "compilerOptions": {
        "target": "ES2015",
        "types": []
    },
    "include": ["src/**/*"],
    "exclude": ["node_modules"]
}

index.ts
import * as dep from 'dependency';
...

Some external dependency transpiled into ES5 but depending on ES6 promise - dependency.d.ts
/// <reference types="es6-promise" />
export declare function usesPromises();

Expected behavior:
No type errors.
Actual behavior:
node_modules/typescript/lib/lib.es6.d.ts(5261,11): error TS2300: Duplicate identifier 'Promise'.
node_modules/typescript/lib/lib.es6.d.ts(5511,13): error TS2300: Duplicate identifier 'Promise'.
node_modules/typescript/lib/lib.es6.d.ts(5737,11): error TS2300: Duplicate identifier 'Promise'.
node_modules/@types/es6-promise/index.d.ts(11,15): error TS2300: Duplicate identifier 'Promise'.
node_modules/@types/es6-promise/index.d.ts(42,19): error TS2300: Duplicate identifier 'Promise'.

Here is a quick repro project:
https://github.com/cgilboy/typescript_issue_12814

Since fake.d.ts references es6-promise as a global, but is itself a module, it is polluting the compilation context. Although you set "types": [], importing ;./fake' brings it back into view. Ideally you should submit a PR to maintainer's of fake or fake's declaraction, depending on how it is distributed, that would update their declaration to import es6-promise correctly.

The correct fix here is for your dependency to not depend on es6-promise.


Don't use environment variables for controlling block size in tests.

If yr_test_mem_block_size is changed to something else test-async breaks, so being able to change this value with an environment variable is not very useful if the tests can't adapt to different sizes.

@simonhf please take a look.


HA 2022.07 deprecation warning for NumberEntityDescription

Hi,
the HA 2022.07 release show a deprecation warning for the NumberEntity.
2022-07-07 08:46:05 WARNING (MainThread) [homeassistant.components.number] custom_components.goecharger_mqtt.definitions.number is setting deprecated attributes on an instance of NumberEntityDescription, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.
2022-07-07 08:46:05 WARNING (MainThread) [homeassistant.components.number] custom_components.goecharger_mqtt.definitions.number is setting deprecated attributes on an instance of NumberEntityDescription, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.
2022-07-07 08:46:05 WARNING (MainThread) [homeassistant.components.number] custom_components.goecharger_mqtt.definitions.number is setting deprecated attributes on an instance of NumberEntityDescription, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.
2022-07-07 08:46:05 WARNING (MainThread) [homeassistant.components.number] custom_components.goecharger_mqtt.number::GoEChargerNumber is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.

Best regards

I've published a new release. Please give it a try! It should fix the deprecation warnings.


Is it possible Converting glsl to spirv at runtime on arm devices (iOS)

Using Shaderc right now for the glsl to spirv conversion, but since the lib doesn’t compile for iOS, I have to convert at build time.
I was wondering if the current tools here can compile and run on an iOS device so I get hot code reloading working.
I know Spirv Cross runs fine on iOS (thanks for that btw)

@seivan
The MoltenVKGLSLToSPIRVConverter library in MoltenVK runs on both macOS and iOS. It uses glslang internally.
Similarly the MoltenVKSPIRVToMSLConverter library runs on both macOS and iOS, and uses SPIRV-Cross internally.
The Hologram demo in MoltenVK is an example of linking to the  MoltenVKGLSLToSPIRVConverter library to convert GLSL at runtime.
Finally...after running fetchDependencies in MoltenVK...the External/build directory contains static libraries for both glslang and SPRIV-Crossfor both iOS and macOS...in case you just wanted to use those libraries directly.

@billhollings Wow, that's better than I thought - thank you for replying and sorry for askins questions in the issue tracker!
I can't seem to find the game.h used in the hologram example https://github.com/KhronosGroup/MoltenVK/blob/master/Demos/LunarG-VulkanSamples/Hologram/ShellMVK.cpp - I assume that's where the actual runtime loading of shaders happens.
Another question, could you point me to the build script for building glslang? I'm hoping to borrow it to make a cross platform build script for all platforms so one can static link and generate headers/bindings or other languages (e.g Rust)

Just want to point out when building glslang on its own using cmake I only get libs for macOS.
It doesn't seem to support iOS on its own - is MoltenVKGLSLToSPIRVConverter doing something to alter the build process?

Just want to point out when building glslang on its own using cmake I only get libs for macOS.
It doesn't seem to support iOS on its own - is MoltenVKGLSLToSPIRVConverter doing something to alter the build process?

MoltenVKGLSLToSPIRVConverter runs it's own Xcode build process for glslang...specifically to support both macOS and iOS.

@billhollings Could you point out the build process MoltenVKGLSLToSPIRVConverter uses to build glslang to specifically support both macOS and iOS?


Migrate script-based tests from bash to sh

Fixes #1106

Moving from #!/bin/bash to #!/bin/sh to provide broader platform compatibility.  The issue ended up not being OSX (which had a similar issue with the diff command, so I'll blame my confusion on that), but on Ubuntu sh choking on some of the shell scripts.  This PR addresses this.

The problem here is that I am betting that no has tried to run our tests
using real sh. Remember that on most systems, sh is the same code as bash.

I am confused. Are  you saying there nix style platforms that have sh
but do not have bash? If, which ones?

Alpine Linux appears to be one of them, according to the original issue.


[utils] Add useResizeObserver hook

[x] I have followed (at least) the PR section of the contributing guide.

This pull request is a continuation of this issue: https://github.com/mui-org/material-ui/issues/22519

Thank you for your feedback. I will solidify it further as I look into the components that benefit from this hook; e.g., https://github.com/mui-org/material-ui/issues/9337, https://github.com/mui-org/material-ui/pull/27439.
In the meantime, an example of how this hook will be used for a component (masonry in this instance) can be found here: https://github.com/hbjORbj/material-ui/commit/d77a262ad405206e4fc3a58a6cd6eebe93aae498.

Let's not build something nobody has asked for.

@eps1lon It does feel a bit wrong to add it without solving a problem end-to-end. In #22519, we link 4 issues where we can directly use this hook. We could pick any one of them to prove the module works, keep the module unstable until we cover them all.

Maybe we could pick (solve) any one of them to prove the module works (is the best solution), keep the module unstable/undocumented until we cover them all.

I agree. I made a commit to use this resize observer hook in Tabs component (https://github.com/mui-org/material-ui/pull/27736/commits/17ec83da02895c2461d326c1c8d045ec6b2ca3ac) in order to resolve the issue mentioned here: https://github.com/mui-org/material-ui/issues/9337

let's fix the individual issues first and then think about the abstraction. Not the other way around. I guarantee you the current abstraction is incorrect.

And I really mean each individual issues. This is not nearly as straight forward as you think it is. We need to slow down in areas where we lack the expertise. Not just push everything through and assume we know better.

@hbjORbj should we close this one? Looks like we have dedicated PRs for Tabs and TextareaAutosize

@hbjORbj should we close this one? Looks like we have dedicated PRs for Tabs and TextareaAutosize

Yes, I will close this. @oliviertassinari also mentioned here that this hook may not be needed.


GPLv2?

Hi! Love this little library!
Not really an "issue", but I was wondering if you'd be willing to dual license this GPLv2 so it can be used in a GPLv2 project?
Thank you for this awesome library!!

The License has been updated to use the MIT License. This should provide the right permissions for your project.


1.4 RC.0 angular-mocks + Karma error

Hello,
I have upgraded to ng 1.4 RC0 and my karma tests started to failing. I looked over interent and found that same problem occurs to some few others and they revert angular-mocks to 1.3.12.
Here are some links:
http://comments.gmane.org/gmane.comp.lang.javascript.angularjs/29135
https://groups.google.com/forum/#!topic/angular/HniFAjiNqQM
Do you have any fix for that yet?
Error message:
Uncaught Error: [$injector:modulerr] Failed to instantiate module ng due to:  Error: [$injector:modulerr] Failed to instantiate module ngLocale due to:  RangeError: Maximum call stack size exceeded  at Function.angular.injector.$$annotate (angular-mocks.js:2202:36)
p.s. I dont have this issue when running tests on browser with Jasmine spec runner.
p.p.s this issue not relates to this one: https://github.com/angular/angular.js/issues/11303
I have commented out loading angular-mock and add simple test - it works fine. Right after I uncomment angular-mock it throws error

Hmm this interesting thing i have found but still cannot figure out how and why it works:
I am using requireJs so i have to configs one for jasmine SpecRunner another for Karma
In Angularjs 1.3.0 angular-mock was include in both as Shim and it was logical and everything worked. Now, if i remove it from shim from karma require config tests starts to work and all are passing.
I cannot think of any way how and where ngMock is loaded because  requirejs-karma-config is the only entry point to tests. More - it is enough to uncomment ngMock shim and do not add as dependency and tests stops working.

Finally i figured it out.
It is not a bug and yes it was loading twice. Thing is that because i use RequireJs I do not need to load angularjs file in karma i have only to specify path to them because they will be loaded by requireJs.
It was:
``files: [
pathToAssets + '/jquery-2.1.1.min.js',
	pathToAssets + '/angularjs/angular.js',
	pathToAssets + '/angularjs/angular-resource.js',
	pathToAssets + '/angularjs/angular-mocks.js',
	pathToAssets + '/angularjs/angular-sanitize.js',
	pathToAssets + '/angularjs/angular-animate.js',
	pathToAssets + '/angularjs/angular-ui-router.js',
	pathToAssets + '/angularjs/angular-cookies.js'``

this way karma loads them and when requirejs trys to load shim dependencies it is second load.
So i replaced it with:
{ pattern: 'assets/js/angularjs/*.js', included: false },
Hope it will help for somebody.
Closing this issue.


Fix bug with Whammy video - change audio and video blob order to sent

When I use this library with whammy, I had an error with the video show... then I realized, there's an error in the VIRecorder.js library. The args startCapture sent to the capturefinish function was in wrong order...
Wrong order args
capturefinish(videoBlob, audioBlob, oncapturefinish);
Right order args
capturefinish(audioBlob, videoBlob, oncapturefinish);

Thanks for the fix


[es] Fix broken links due to using githubbranch param

Fix #31708

/lgtm
/approve
This has the same changes applied in English version. https://github.com/kubernetes/website/pull/29311


Import Error of python

Hey!
was trying to do the following and got an error, should we be importing differently or adjust our init.py file?

figured it out! In our case, you want to import the IntelliViz class. If the IntelliViz class is defined in a module called visualization.py inside your intelliprocess package, then you should add the following line to your init.py file:
'''
from .visualization import IntelliViz
'''

do we want to handle this in init.py or have user handle things in other ways?


phony cycles not previously diagnosed now break since PR 1111

CMake versions 2.8.12.x and 3.0.x incorrectly produce build statements of the form build a: phony a in certain cases.  This was a bug in CMake introduced by commit v2.8.12~248^2 and fixed by commit v3.1.0-rc1~353^2~2.  See CMake Issue 14972.
Ninja didn't previously detect cycles involving only phony build statements, but does since PR #1111.  This broke ninja's tolerance of the range of CMake versions with the above bug.

Cc: @nico
The changes in #1111 do not break on correct build graphs and are very important in the work toward Ninja+Fortran support.  The detection of these cycles is a bug fix that has simply exposed a bug in old CMake versions that has also long been fixed.  IMO we should not revert the changes or introduce additional complexity in the graph/build logic just to support people using such old CMake versions.  If one is using a CMake that old one can use a Ninja that old too.
A middle-ground solution would be to tolerate the specific case produced by the buggy CMake versions without trying to tolerate phony cycles in general.  Prior to PR 1111 we tolerated both full cycles:
build a: phony b
build b: phony a

and self-referencing phony build statements:
build a: phony a

CMake 2.8.12 and 3.0 only produce the latter.  We can tolerate that with a hack in the parser to drop inputs of phony rules that correspond to their outputs.

Can we handle this similarly to #931? I.e.

Add -w phonycycle=warn|err flag, make that default to warn for now
If that's set to warn, do your #1323, but emit a warning
If that's set to err, keep current behavior (but maybe include "-w phonycycle" in the cycle error message if the cycle is from a phony edge)
At some point in the future, change the default to err
Eventually, remove the flag

?

@nico yes a deprecation path will be good to help prevent similar generator bugs in the future.  I can work on that.  Do you intend to add such a warning in a 1.8 patch release, or start with the quick-fix from #1323 for 1.8.2 and add the warning in post-1.8 development?

@nico I updated #1323 to add the -w phonycycle=... diagnostic.


Invalid warning with PTVS 2.1 (also on 2.1.1) and visual studio 2010

I created a solution with a single python project.
I get the following error:
Warning	1	The reference assemblies for framework ".NETFramework,Version=v4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.	C:\windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets	983

anyone knows how to solve this?

Should be fixed in newer versions.


iPhones can't see coordination server

Oguz is debugging

At least currently, iOS devices can connect to the server so closing this. Let's reopen if needed.


Provide MariaDB 10.4 out-of-the-box via config.yml

Issue Type

Feature Idea

Your Environment

VirtualBox 6.1.4r136177
ansible 2.9.6
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/philipp/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/dist-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.17 (default, Nov  7 2019, 10:07:09) [GCC 9.2.1 20191008]

Your OS

Linux (Ubuntu 19.10)

Summary
Per default Ubuntu 18.04 provides only MariaDB 10.1 out of the box.
There should be a configuration option in config.yml to get MariaDB 10.4 also for Ubuntu 18.4
https://downloads.mariadb.org/mariadb/repositories/#distro=Ubuntu&distro_release=bionic--ubuntu_bionic&mirror=one&version=10.4
Perhaps its even possible to add additional Ubuntu (or other Linux distro) PPA's to get newer packages in general.

This is a good suggestion, though it's something that I would recommend inquiring about over on the role issue queue: https://github.com/geerlingguy/ansible-role-mysql/issues
Note that MariaDB 10.3 and later may have issues out of the box with the configuration provided by the role; see https://github.com/geerlingguy/ansible-role-mysql/issues/272


fix for issue #116

https://github.com/scrapinghub/frontera/issues/116
'frontier at a glance' page is almost identical to 'Quick start single process'. So just changed that link. You can compare the following links and see for yourself.
http://frontera.readthedocs.org/en/latest/topics/quick-start-single.html
http://frontera.readthedocs.org/en/v0.3.0/topics/frontier-at-a-glance.html (found only v0.3.0 docs)

Thank you :beer:


Accept-user-input = false is not working with v 0.10.9

Using ver 0.10.9 of ng2-auto-complete, all user input is accepted by the input control regardless of the value set on "accept-user-input".  Here is my plunk: http://plnkr.co/edit/UbGH3h.  Previous versions reverted invalid input when the field lost focus.
This is probably the same issue as https://github.com/ng2-ui/ng2-auto-complete/issues/122

Sorry, but that doesn't do what I need it to.  My application makes a XHR call to resolve the values that the user can pick.  So I need the user to be able to type into the control (the readonly setting stops this completely).  But if they tab out without picking a value, then whatever they've done with the control should be reverted.  This was the behavior of v0.8.2 and it rocked.  I'll see if I can make some changes to the source code and send you a PR.

@johnrayner thanks for the explaining the use case for me.
I think you have a valid point.
Prior to v0.8.2, we have two input tags, then it changed to have only one input for simplicity.
Let me take a look into it later. Meanwhile a PR would be highly appreciated.

This has been merged and deployed

Thank you!  When do you plan to push 0.10.10 to npm?

@johnrayner didn't I?

@allenhwkim no ... https://www.npmjs.com/package/ng2-auto-complete says "0.10.9 is the latest of 50 releases"

K, published now. Sorry about that

Hi there,
I also used accept-user-input = "false" and it's not working.  Like johnrayner  i need this

But if they tab out without picking a value, then whatever they've done with the control should be reverted. >  <

Thank you for your help

Try this please. [accept-user-input]="false"

@allenhwkim  thank you it works


erro

error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in cdx_toolkit setup command: 'python_requires' must be a string containing valid version specifiers; Invalid specifier: '>=3.6.*'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.

The error message suggests that there was an issue with the setup of the cdx_toolkit package, specifically with the python_requires field in the pyproject.toml file.
The error message states that the python_requires field must be a string containing valid version specifiers, and it indicates that the specifier '>=3.6.*' is invalid.
To resolve this issue, you need to modify the pyproject.toml file and ensure that the python_requires field contains a valid version specifier. The specifier should specify the minimum Python version required for the cdx_toolkit package.
Here's an example of how the python_requires field should be formatted:
python_requires = ">=3.6"
In this example, the cdx_toolkit package requires a minimum Python version of 3.6 or higher. Adjust the version specifier according to the specific requirements of the cdx_toolkit package.
After making the necessary changes to the pyproject.toml file, you can try running the setup again to see if the issue is resolved.
Answered by GPT.


Opposite function of analytics.load()

So I have a use case where I have to disable Segment based on some user data that is retrieved when the user is logged in.
I am using create-react-app and the initialized window.analytics.load is in the root index.html. As such, I could not do the check there to prevent Segment from loading.
Is there an unload function that does the opposite of analytics.load function? That is, I want to disable Segment or at least prevent it from sending information to destinations.

possible workaround: Add a util for all your segments tracks, and add logic to send/prevent segment calls based on user property.

@kaustubh-smartBear I view that as a last resort since that means refactoring all our segment calls. It becomes a pretty big task.

@arvinsim I agree. As a rule, I always use a util for any third party integrations. This makes a lot of things much easier as you never know what might change in the future.

@arvinsim There is no unload method. But probably the best bet is to use a sourceMiddlware that conditionally blocks the calls from passing trough ( by not calling the next() method ), or settings all the integrations to false. Check out the docs here: https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/middleware/#using-source-middlewares


Under conpty, shell integration decorations can be incorrectly positioned

Testing #153365

Open microsoft/vscode
Start the default VS Code build task
Make some errors
The problem decorations are one line too high:

Update from @Tyriar: This tracks the common set of issues that come from conpty doing its own "rendering" and not guaranteeing the position of the shell integration sequences. Upstream issue: https://github.com/microsoft/terminal/issues/8698

on windows?

Yep that's Windows, this was by designed to put it on the beginsPattern right?

Yes, it's Windows.

This seems to be working for me:

I did see some weird behavior when resizing the width of the terminal earlier, that's probably too risky to fix this late in endgame.

More info on this: When conpty supports "passthrough" of the OSC 133/633 sequences this should be fixed. Currently we have a bunch of heuristics that try to fix up incorrectly places sequences as the position isn't guaranteed to be correct since they are not output during the render phase. Upstream issue: https://github.com/microsoft/terminal/issues/8698

Closing this as out of scope as this will eventually get fixed in later versions if Windows and it's fairly low impact.


Question: Modify Details Pane

I'm looking for a method that would allow me to click on any file or folder in explorer and based on the item selected, show additional information in the Details or Preview Pane area.
Based on #318 it would seem like PreviewHandler would not work for me since I need it to work against all files and folders.
What I'm looking for is more extending what the Details Pane shows, but not just a list of additional properties of the file. So more complex information, like you could achieve with the Preview Pane, but needs to work for all files and folders.
I guess another example would be imagine you wanted the Previous Versions tab that you can see in a file/folder properties window, but instead have that information displayed in the Detail/Preview pane area. That's not what I'm intended to do, but that's the best example I can give that explains what I mean.
Is that even possible or is it a waste of my time even looking into?
Thanks,
Anthony

Hey Anthony,
I don't think that's possible / wanted by MS.
The shell is designed to allow customization to the 'default' behaviour, so forcing thus for all isn't really a good idea.
Why does it have to be the preview pane? Maybe a custom folder design (View) could work better? Like displaying images as thumbnails.
I think there is an example namespace extension with a custom Folder View. You could also do it like OneDrive an register a CloudStorageProvider with custom Layout.
The preview pane can work for "all files and folder" but you have to manually specify the classes/filetypes - a loop through the registry might help? The details are explained further down inside #318 .
Be sure to post your solution when you've found one.


Fix FlowLayout LineSpacing and MinItemSpacing

Description
Fix FlowLayout's LineSpacing and MinItemSpacing and make them consistent with UniformGridLayout.
Motivation and Context
The ScrollOrientation() originally used in LineSpacing() and MinItemSpacing() always evaluated to ScrollOrientation::Vertical, and the expressions after the ? operator were reversed.
How Has This Been Tested?
Modified existing test.

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

Can you please add a test for this? :)

I believe the modified test already covers this in some way? It would fail without this fix.

/azp run


Porting Command Suggestions from bot

Description
suggest similar command(s) to a miss spelt command
Proposed Implementation

Port it over from bot.
Limit it to #sir-lancebot channel only.
Add the seasons check, so only the commands of the season are show.

Would you like to implement this yourself?

[x] I'd like to implement this feature myself
[ ] Anyone can implement this feature

I don't think we have to port things over from bot, in the help cog, there is code already to handle HelpQueryNotFound error. But after a lil testing, it is not being handled properly. the way to fix this is to look at the code and see whats missing from raising the HelpQueryNotFound error and handling it

In a similar way the command suggestion works on Python, I don’t think we should limit it to #sir-lancebot-playground, what do you think?

Right, I will keep it open.
I will open a PR once I get offloaded a bit (4 PRs open as of now).


Add Redux Toolkit

Pull Request Template
The code review checklist below is used for all pull requests.

Review the list before submitting your pull request.
Leave the list intact for the code reviewer's use.

Checklist

[x] Latest code from master has been merged into the pull request branch
[x] Code is camelCased
[x] No commented out code (if required, place // TODO above with explanation)
[x] No linting issues
[x] Automated tests exist and pass
[x] Build is successful (npm run build)
[x] Works in IE 11, Chrome, Firefox, and Edge

Details
This PR demonstrates how to convert the default example project to use Redux Toolkit, per #637 .  It is not necessarily meant to be merged as-is, although if you'd like to use it as a starting point, please do so.
Changes

Added @reduxjs/toolkit as a dependency, and removed the explicit dependencies on redux-thunk and redux-immutable-state-invariant (both of which are used internally by RTK)
Converted the store setup logic to use RTK's configureStore().  This considerably simplified the store setup logic, removing the need for separate "dev" and "prod" functions.
Created a sample fuelSavingsSlice.js that is equivalent to the existing sample reducer + actions + constants files, including porting the existing reducer tests to cover the new slice file.
Renamed rootReducer to createRootReducer for clarity
Converted the main container component to use the "object shorthand" form of mapDispatch, which is our recommended way to bind action creators.

Coverage increased (+2.8%) to 94.309% when pulling d90099db8b7c3b8d9d322a49a30dd126d4c167b6 on markerikson:feature/add-redux-toolkit into<PHONE_NUMBER>858bb42d8749c8984a596491f933be on coryhouse:master.

Thanks for the PR @markerikson!
LGTM, but as mentioned in the issue, I will let @coryhouse and @kwelch give this a look as well.

First, Hey @markerikson!
I think the changes around mapDispatch, is a great. It was glorious when I found out that was possible.
I think the slice work is great, but it does not appear to be integrated.
I think for the nature of this repo, it should be using one approach consistently. To help promote best practices and simplify the on-boarding experience.
Having both approaches could be confusing to new comers, whom are the target demographic for this repo.

@kwelch : right, it's not complete.  I just wanted to show the basic pattern so that you folks would have that to work from, and you can complete the conversion from there.

Overall, I really like the approach. Slices look amazing and extremely helpful for sharing which is a major pain point. Also the store configuration is much simpler and cleaner.

Hi Mark - Thanks for the PR I see good stuff in here I like such as the object form of mapDispatchToProps. You said this isn't ready for merge, so I'm unclear: What open issues are there?

@coryhouse : per the earlier comment, I didn't try to clean up all the other existing logic, and I wasn't sure if there were other aspects of the codebase that might also need to be changed.  The PR itself might be okay to merge, but I wanted to be clear that it wasn't a 100%  complete conversion in and of itself.


More keywords

for
from
print
# -c

/print "BEGIN-LOG"

from pymol2 import PyMOL

lst = []

for i in range(0,3): lst.append( PyMOL() )

for pi in lst: pi.start()

cmd._dump_floats(cmd.get_view())
for pi in lst: cmd._dump_floats(pi.cmd.get_view())

lst[0].cmd.load("dat/pept.pdb",quiet=0)
lst[1].cmd.load("dat/3al1.pdb",quiet=0)

print cmd.count_atoms()
for pi in lst: print pi.cmd.count_atoms()

cmd._dump_floats(cmd.get_view())
for pi in lst: cmd._dump_floats(pi.cmd.get_view())

Hi Alexey, this looks like a python script, rather than .pml - and the python highlighter gets it successfully. I think handling python commands in the pymol syntax is worth adding - I'd be happy to take a PR. I think an -include: "source.python" in the pymol.YAML-tmlanguage file might be enough.

Nope, it's pml. Proof
https://github.com/schrodinger/pymol-open-source/blob/master/test/inp/M0030scene.pml

I understand that pml can execute inline python - that is what I am suggesting you incorporate by linking to the python syntax highlighter (the include source.python). I don't have the bandwidth to test edge cases for this, but would be happy to trust your testing if you incorporate it and open a pull request.

Hmm, I am user of CudaText, not of Sublime Text, sorry

Got it! Does CudaText have access to a pymol tmtheme? The py2pml syntax I wrote (that is very experimental, but is also in this repo) includes python the same way - does that work for you?

It does not, it has its own themes.

It sounds like your specific problem is out of scope for this project in that case - but I do think this highlights the need for supporting inline python, so I will leave the renamed issue open.


Add redrawBoard extension point to list in README

I needed to re-add some mouse handlers for an extension after the board gets redrawn and couldn't figure out how from the README. The Arrows extension pointed me in the direction of the redrawBoard extension point which did exactly what I needed, so I thought it might be nice to have in the README for others' future reference too.

Thanks, I published that.


feat: add switch for pod of daemonset who want to distribute to the l…

…eafcluster

What type of PR is this?

/kind feature
What does this PR do?

Which issue(s) does this PR fix?

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

/hold


Memory Leaks on iOS 10.1.1

Hello,
I used your excellent library in my project but when I profile my app to check for memory leaks, Instruments indicates that there are two leaks.
I attach the stack trace of leaks.

@giofid
I have leaks too.

I have the same memory leaks.

@giofid @huangboju @ybabenko Thank you for reporting. I cannot reproduce the issue. Can anyone provide a reproducible project?

Closing due to no additional info.


New command: skype report ActivityUserDetail

implements #1301

Coverage remained the same at 100.0% when pulling 3a2454ab90fe44f239583eb409c7f19f1e9a8a20 on plamber:skype-report-activityuserdetail into b93282d74c23e79494b6d2a592b9eaffc5fdf9eb on pnp:dev.

Thanks! We'll review it shortly!

Merged manually. Thanks! 👏


More rigorous clean step

The idea is that everything in dist/formats should be generated.
To make sure that this is indeed the case, the clean step should
delete everything in that folder and the build should successfully
regenerate it.
/cc @boffbowsh

This build now passes and should be ready for a review/merge.


multiple where clauses in update?

I hesitated to ask this question as it seems like it should be obvious, but I'm struggling to find the 'bookshelf-way' to accomplish a query such as this:
UPDATE appointment SET status = ? WHERE id = ? AND business_id = ?
Whenever I use something like
Appointment.forge({ id: id, businessId: businessId }).save(data).then(...)

I end up with a query that only does a where for the id and not businessId.
I realize this could be done with Knex, but I would think there would be a way in Bookshelf to allow for this.
Thanks in advance for any help!

@jamesdixon you can do something like this:
return Appointment.where({ id: id, businessId: businessId }).save(data, { patch: true })

If your where clause doesn't include id then just pass the method: 'update' option to save

@bsiddiqui that worked great! the only bummer was having to convert my camelCase keys to snake_case before passing them into .where(). I don't suppose you have an elegant solution to that as well? :+1:
Thanks again!

I used to do that as the default with https://github.com/bsiddiqui/bookshelf-modelbase but removed it recently. I'll probably add it as an option in a future version.
The way I implemented it was by overriding the model's format function.
Here's a sample for something that should work:
    // camelCase attributes -> snake_case db columns
    format: function (attrs) {
      return _.reduce(attrs, function (memo, val, key) {
        memo[_.str.underscored(key)] = val;
        return memo;
      }, {});
    },

Yeah, I currently override the parse and format functions, but it doesn't seem they apply to anything that is passed to knex directly. From what I've read, where() is a knex convenience method, so in this case it doesn't apply. I considered just going back and changing all of my instances to be snake_case, but I feel like it's going to be a real pain :)

Oh yeah you're totally right, where is just a convenience method for queryBuilder.where.
That's a lot of the reason I ditched snake_casing a while ago - just felt like it was a constant battle.

Yeah, I only did snake_case because it was the recommended format for postgres, but I'm wondering if changing it to camel case on the postgres side would have any negative impact. It is definitely getting annoying.

There is a discussion of where here. Note that I created this issue before I was a collaborator. Actually I'm happy to update Model#where and Collection#where to use format eventually (soon even?). It's incredibly simple to roll your own though.

@rhys-vdw it's be great if bookshelf hooked into knex queries like that but I agree with Ben's original comment on your post about it being unexpected behavior if where is just a proxy for query.where

Thanks for chiming in, @rhys-vdw! Good suggestion on the filter() method. Going to implement that now :)
On a similar topic, do you have any idea why when calling fetchAll() on a model, you have to use where to constrain the results, but with fetch() it just uses the attributes set on the model? It seems like inconsistent behavior between the two given they are similar in essence. Figuring out some of these things has definitely thrown me for a loop :)
Thanks as always.
Cheers,
James

@jamesdixon: #780
I'd fix that at the same time. Probably for 0.9 or 0.10.

Believe it or not, I swear I searched for some of these things :)
Regardless, good to know I'm not going crazy.
Thanks! Looking forward to the fixes!

@rhys-vdw ran into another instance where format() should probably be applied. I passed the columns option to fetchAll() and discovered that it also does not apply format() and was therefore bitten by the casing bug again. Possibly on withRelated as well? Thoughts?

@jamesdixon Hm. I'd sooner provide an option called attributes rather than columns. Since columns implies the literal column names.
Anyway, you can't simply apply format() to ['column_a', 'column_b'], since it expects an object. The whole thing needs to be refactored.
I think the best approach would be to deprecate parse and format and replace them with methods columnToAttribute, attributeToColumn.


Multipolygon Roles

Description
Trying to create a multipolygon relation (as in changeset 155800266), the Rapid editor would not let me assign roles to lines in the multipolygon. I had to switch editors to complete the change.
Screenshots
No response
Version
2.3.2
What browser are you seeing the problem on? What version are you running?
Chrome v127.0
The OS you're using
win
Steps to reproduce
These were existing features that I was grouping into a multipolygon in order to name them. I added them to the relation, but I could not assign roles from within the pop-up warnings.
The browser URL at the time you encountered the bug
https://rapideditor.org/edit#map=15.16/45.6165/-113.2014&background=Bing&datasets=fbRoads,msBuildings&disable_features=boundaries&overlays=US_Forest_Service_roads_overlay,StravaHeatmapAll
The auto-detected useragent string for your browser (leave blank if you're manually filling this form out)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36

Referencing the changeset here. What kind of relations and roles were you trying to add to each way @jwtrull?

I was creating a multipolygon relation for these lakes. https://www.openstreetmap.org/relation/17977499
Editor will not let me select inner / outer roles from dropdown or prompted link selection. I have to manually type them in the roles box.


No timed emphasis animations in Graph with layout: "force"

Version
5.0.2
Reproduction link
https://jsfiddle.net/eskjn6y3/
Steps to reproduce
Make a basic chart with series "graph" (works fine with the les miserables example)
Use layout: "force"
Hover over a node to emphasize; the animation will be instant.
Change layout to "circular"
Animations are now smooth and timed properly.
Adding animation properties etc. doesn't seem to change this.
What is expected?
That layout: "force" graphs will have smooth emphasis transition animations like "none" and "circular" graphs
What is actually happening?
They are all 0 second transitions and look glitchy.

I don't think that this is intentional, but it would make force graphs much nicer to have properly eased transitions.

Note that it seems that force layout graph get emphasis animations when animationLayout: false

Our code uses a graph with layout: "force" and we are facing this same issue. I had to disable emphasis for now since it just looks too jumpy with it enabled.
I would also like to see this fixed. And for the animationLayout: false fix, I have no idea what that is about, I found no mention of it anywhere in the documentation or this repository.


match-sorter-utils const characterMap causes JavaScript syntax error

Describe the bug
After bundling my app using Rollup, both FF and Edge report that a syntax error is occurring at this line:
/**
	 * match-sorter-utils
	 *
	 * Copyright (c) TanStack
	 *
	 * This source code is licensed under the MIT license found in the
	 * LICENSE.md file in the root directory of this source tree.
	 *
	 * @license MIT
	 */
	const characterMap = {
	  Ã€: 'A', // ILLEGAL CHARACTER HERE.  IT PROBABLY DOESN'T LIKE Ã€.
	  Ã: 'A',

The illegal character being reported is Ã€.  I believe this characterMap is written in TypeScript and defined remove-accents.ts.
const characterMap: Record<string, string> = {
  À: 'A',

Your minimal, reproducible example
https://github.com/TanStack/table/blob/main/packages/match-sorter-utils/src/remove-accents.ts
Steps to reproduce
All I'm doing is using the Material React Table in the Basic Example.
import MaterialReactTable from 'material-react-table';

<MaterialReactTable columns={columns} data={data} />

Expected behavior
The expectation is that these characters would not be reported as illegaly and that the bundle parses in the browser.
How often does this bug happen?
Every time
Screenshots or Videos

Platform
Windows 11, Edge, FireFox
react-table version
v1.11.2
TypeScript version
No response
Additional context
{
  "dependencies": {
    "@emotion/react": "^11.10.8",
    "@emotion/styled": "^11.10.8",
    "@mui/icons-material": "^5.11.16",
    "@mui/material": "^5.12.3",
    "@tanstack/match-sorter-utils": "^8.8.4",
    "axios": "^1.4.0",
    "material-react-table": "^1.11.2",
    "q": "^1.5.1",
    "react": "^18.2.0",
    "react-dom": "^18.2.0"
  }
}

Terms & Code of Conduct

[x] I agree to follow this project's Code of Conduct
[x] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

It appears that this characterMap variable passes parsing if the field name is in quotes.
const characterMap = {
	  'Ã€': 'A',  // THIS WORKS AND DOES NOT CAUSE A PARSING ERROR IN THE BROWSER.

Hello, it's been 5 days.  Is this the place to report issues and potential bugs?

Yes, but I think this bug only happens if you import directly from src. No one else I know had had the same problem

This issue causes our clojurescript app to break when trying to use tanstack query dev tools.
It's out of our "userland" hands as to how node_modules are resolved (if it's relevant, we use shadow-cljs to bundle/build our app).
If the fix is only to add quote marks (I'm uncertain if it is for our particular case, could probably test this and report back), I really hope this can be done or that a PR I might open would not be rejected outright.
Let me know if I should create a new issue. Thanks

Confirming that making these keys quoted fixed it


Import ar-threex on angular app

Do you want to request a feature or report a bug?
Question

What is the current behavior?
I'm trying to use ar-threex.js on my angular app, i've added on index.html but still can't access THREEx
If the current behavior is a bug, please provide the steps to reproduce.
inside index.html
  <script src="./assets/three.module.js" type="module"></script>
  <script src="./assets/ar-threex.js  " type="module"></script>

Please mention other relevant information such as the browser version, Operating System and Device Name
iOS, android, desktop
What is the expected behavior?
Is there any typescript way to import ar.js with three.js ? aframe version is working but the performance was better using threex IMO.
If this is a feature request, what is motivation or use case for changing the behavior?

Hi @naonvl i think that import ar-threex.js in that way is not allowed and at the moment there are not type definitions for the libs. I haven't tested on Angular so i can't say so much. Sorry maybe other developers has some hints or better ideas to help.

Hi, I've tried again and it's working, both three and threex is accessible, but didn't quite working as expected. Still working on that for my future project. but for current solution for angular, what a better way to add AR then? do u have any suggestion? currently i use library called THREEAR, but it's not actively maintained so it's not for a long term solution.

You can try to use the npm version of Arjs -<EMAIL_ADDRESS>I already used it in a project and it basically works with the three.js approach.

Hi, have you tried our experimental AR.js-threejs project?, it is the Typescript version of the code from AR.js, only code fromt hreejs folder that is THREEx and ARjs namespaces.


Standalone map: categorical overlay, update API for customisable N<=7 + other

The new-improved handling of categoricals including high-cardinality vars as discussed here is to

if the variable has >8 values, continue to overlay most-populous-7-in-viewport + pooled Other as the default (did we actually agree this?)
if a list of up to 7 values are provided in the request, overlay by these + pooled Other, even if the variable has <=8 values

Approx task list

[ ] handle POST payload in EdaDataService
[ ] implement necessary R functions
[ ] deploy to map-markers-overlay endpoint
[ ] deploy to lineplot endpoint (as highest priority of the visualizations)
[ ] deploy to other vizs

depends on https://github.com/VEuPathDB/plot.data/issues/205


i18n: Ignore missing translation errors from FormatJS

Probably worth a comment explaining that FormatJS throws errors for strings without translations, which is normal whenever we've not done the expensive manage.py makemessages operation.
Otherwise lgtm.


Enable the DNT header

It is true that most sites do not honor the DNT header but that is not the problem. When I test myself on Panopticlick using my hardened Firefox profile with DNT enabled, this is what I get.

But when using a fresh new profile with DNT disabled the results are different.

I know it's not a big difference but what do you guys think? Should we perhaps enable the DNT header?

Previous: https://github.com/ghacksuserjs/ghacks-user.js/issues/163
DNT doesn't work. The DNT header easies your browser's fingerprint.  It has been abandoned, bugzilla has the latest discussions from 4 years ago. Your panoptclick results are reasonable IMHO

The data is flawed. 1. it has years of old date 2. it is not a big enough data set 3. it is tainted by the type of people who use it (privacy conscious) 4. it is tainted by repeat visitors (come on, who here hasn't smashed their browser at it a couple dozen times 5. it is not real world or real time
I am not sure if the FF telemetry page lets you pull out DNT figures for normal windows (private mode no data is collected) - https://telemetry.mozilla.org/ - you can pull out some whacky stuff
We went thru this in an issue recently. Oh as I type there is Atavic with #163 . read that and the descriptions for the two prefs.


Update one last 'service' to 'resource'

Release Playbook

[ ] Rebase against master
[ ] Code review
[ ] Merge into master
[ ] Verify changes at http://site-staging.convox.com
[ ] Promote release on site-production in the convox/production Rack

 Edit all docs to say "resources" instead of services


Add economy config setting at package level

Some Extractors now create intermediate files en route to generating feature values. Since some of these are movies or images of same dimension as the original Stims, we could end up consuming a lot of memory. At some point we should add an economy config variable that determines how intermediate files are handled/stored. We'll then need to go over all existing Extractors and make sure they condition properly on that setting.

Closing this because it's probably overkill for the time being.


multiple river configuration on one cluster

hi.
is it possible to create multiple twitter river on one cluster?
it seems only support one configuration, right?
thanks.

Yes you can create another Twitter river instance.


Wrong CQL Text/JSON conformance classes

I think the CQL Text/JSON conformance classes are not correct. I haven't checked the implementation myself, just base my knowledge on the MS PC API deployment and the docs: https://stac-utils.github.io/stac-fastapi/api/stac_fastapi/extensions/core/filter/filter/#filterextension

MSPC and docs: https://api.stacspec.org/v1.0.0-rc.1/item-search#filter:cql-text and json equivalent
The Filter extension indicates: http://www.opengis.net/spec/cql2/1.0/conf/cql2-text and json equivalent

Originally posted by @m-mohr in https://github.com/stac-utils/stac-fastapi/issues/371#issuecomment-1458065452

@philvarner I believe @m-mohr is correct, stac-fastapi is doing it wrong, but if you don't mind can you double-check? E.g. I get this against the pgstac backend on current main (6db83a9c05d200d43e83c19a585fcf7f0d9e6396):
$ curl -s http://localhost:8080/conformance | jq | grep cql-text
    "https://api.stacspec.org/v1.0.0-rc.1/item-search#filter:cql-text",

Once complicating factor, @m-mohr, is that http://www.opengis.net/spec/cql2/1.0/conf/cql2-text is a 404. So the spec itself seems to be wrong (or at least has broken dependencies). @philvarner can you advise?

OGC URIs often don't resolve, that's normal, I think. @gadomski
Same applies for example for http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/oas30 and http://www.opengis.net/spec/ogcapi-features-3/1.0/conf/filter, which are used already.

That's very weird, but OK, thanks.


Add kmt.status task

What does this PR do?
This PR adds a kmt.status task that shows the status of all stacks and VMs.
Motivation
Improving visibility into the KMT resources deployed, make it easier to know whether things are up or not.
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


new alert notification danger ui added

Added new UI kit for alert notification (danger / error one)

Good job @myGlitches
Congrats 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow this steps.

Star this repository. ⭐
SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/) .
Go to profile section from the top right hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard !
And don’t forget to share your achievement with your friends.


[LOC] Invalid link in an article

There is an invalid link in an article
Repro steps:

Go to https://docs.microsoft.com/en-us/Project/periodic-tasks-for-project-server-administrators
Search for "Brooks White"
click on the link

Actual results:
Link redirects to an non existing page
Expected results:
Link should redirect to an existing page
GH Article:
https://github.com/MicrosoftDocs/OfficeDocs-ProjectServer-pr/blob/live/Project/periodic-tasks-for-project-server-administrators.md

@OfficeGlobal I've checked the link and it comes up correctly.  Please confirm if you are still unable to access the link.

Hello @lindspea , we're getting an error page.
Maybe it's because we're not members of LinkedIn

@OfficeGlobal yes, that would be the case.  I can access it as I have a LinkedIn account.  I'll add a note mentioning that you need a LinkedIn account to access the profile.

Thanks for catching this and the suggested update.


[GeckoView] Reduce the size of the built viewer

Given that the GV-viewer isn't using most of the UI-related components of the default-viewer, we can avoid including them in the built viewer to save space.[1] The least "invasive" way of implementing this, at least that I could come up with, is to leverage import maps with suitable stubs for the GV-viewer.
The one slightly annoying thing is that we now have larger import maps across multiple html-files, and you'll need to remember to update all of them when making future changes.

[1] With this patch, the built viewer.js size is 391 kB and viewer-geckoview.js is 285 kB.

/botio test

/botio-linux preview

I suppose that one additional benefit of doing this is that we could follow-up with patches that remove most build-time require(...) calls from the viewer, which probably wouldn't hurt.


Adde Code Of Conduct

quest.

Please assign me this issue
@yashasvini121

Please assign me this issue
@yashasvini121

This issue isn't needed at the moment. Please review the existing issues or open a new one, relevant to the project and AI/ML if necessary.


Employer Branch ID Incorrectly Showing as 0 When Retrieved from Database

Issue Title:
Employer Branch ID Incorrectly Showing as 0 When Retrieved from Database
Issue Description:
Problem:
When retrieving employer data from the database, the branch ID for each employer is incorrectly showing as 0, even though the branch is correctly assigned to each employer in the system.
Expected Behavior:
The branch ID associated with each employer should reflect the actual branch they are assigned to. This information is crucial for proper management and categorization of employers based on their branches.
Steps to Reproduce:

Retrieve employer data from the database using the appropriate query or API endpoint.
Examine the retrieved data for the branch ID field (branchId).
Notice that the branchId for all employers is showing as 0 instead of the actual branch ID they are assigned to.

Impact:

This issue affects the accuracy and reliability of employer data in the system.
It may cause confusion and incorrect categorization of employers based on their branches.

This issue seems to stem from a discrepancy between the data stored in the database and the expected behavior when retrieving employer information.
The fact that all retrieved branch IDs are showing as 0 indicates a potential problem with how branch IDs are being stored or retrieved.
To investigate further, we should examine the code or query responsible for retrieving employer data and inspect the database schema to ensure that branch IDs are being properly associated with each employer.
Additionally, we should verify that the branch IDs are correctly assigned and updated when new employers are added or when existing employers are assigned to different branches.
Once the root cause of the issue is identified, we can implement the necessary fixes to ensure that the branch IDs are accurately reflected in the retrieved employer data. This will help maintain the integrity of the system and ensure that employers are correctly categorized based on their branches.
could you please specify which endpoint or API is being used to retrieve employer data? Understanding the endpoint involved will help us pinpoint where in the system the branch IDs are being incorrectly represented as zero. With this information, we can proceed with a targeted investigation to resolve the issue effectively.

Issue Summary
The discrepancy observed in the retrieved branch IDs showing as 0 appears to be linked to the login endpoint functionality.
http://localhost:8080/lifepill/v1/auth/authenticate


[L2] Deploy contracts on testnet

Now that the reading flow in working properly, it is necessary to deploy the contracts in the testnet.
To complete the task, the contracts needed to be deployed and the flow tested.
To deploy, use the scripts on the contracts folder (arbResolver.s.ts and arbResolverL2.s.ts). Also, the new urls of layer one and two will be the following:
L1 (Universal Resolver) - 0x499149A35c6Fb93aC2A235899cd41F1BEC478851
L2 (Arbitrum Resolver) - 0x047CCc01932Af96ED5CB0F41A4B79572341E3904

Universal Resolver ENS deployment on Sepolia: 0xc8af999e38273d658be1b921b88a9ddf005769cc
reference


Pr/compute global type relations again

Re-applies #41000, undoing the revert in https://github.com/apple/swift/pull/41627.
The fix was to use target-swift-ide-test instead of swift-ide-test in the test case (https://github.com/apple/swift/commit/a4c18ed4a188c5e28bcbc5faa8ccd1aba7d67666).

@swift-ci Please test


Moving to Go 1.12

Please note that as part of this I had to simplify how we import linuxkit and manifest-tool. We can no longer rely on importing hacks via Gopkg.toml AND since go doesn't allow importing of the main modules I had to import actual files. I've updated LICENSE and NOTICE accordingly.
Another annoying feature of Go modules as it happens is the fact that they mandate the version IDs to be used on github. Thus I couldn't just import linuxkit v0.7 and had to do v0.0.0-20190417213831-4f4f7feae125 instead.
Other than that -- this represents a pretty significant cleanup and now allows out-of-tree builds, remapping of dependencies, etc.
I'll follow up with additional cleanups of Dockerfile in pillar

Thanks @nordmark
@deitch please take a look and let us know what do you think -- I'd like to merge this in ASAP to give a bit of baking time before we cut over on 5/10.

Is there any reason not to just download the released binaries from https://github.com/linuxkit/linuxkit/releases and https://github.com/estesp/manifest-tool/releases ? Unless we absolutely need to build from source, why vendor in the entire source tree?
manifest-tool is just about 1.0.0, and linuxkit v0.7 is fairly recent.

Yup @deitch noticed manfiest-tools going 1.0.0 pretty soon -- that we can pull once they actually release. I need a few things in linuxkit 0.7 so that's why. And speaking of needing a few things: that's the idea behind pulling the source -- @gianlzed and I wanted to hack it right in our tree (and later upstream the patches). That has gotten to be much lower priority. Certainly for manifest-tool  we can just pull the binary down. For linuxkit I actually do have a few PRs I need to apply to the source I'm pulling down so keeping it in source form may make sense for now.
So here's what I'd propose -- lets merge the PR in its current form and then we can decide whether switching to downloading binaries would make sense down the road (once I upstream my build stuff into lk).
Makes sense @deitch ?

I need a few things in linuxkit 0.7

0.7 has been released. Or did you mean we need to add a few things to 0.7, ie beyond it? And if so, is it things in master of lkt but not yet released? Or additional patches?

lower priority now

Then please let’s not pull in all the code now. We can have a separate discussion when we actually need it.
I can almost guarantee you that our copies of the source will get out of sync very quickly. If we have PRs, let’s get them on the master ASAP.
I’m deeply worried that we are creating a boondoggle by downloading all of the code and committing it. People will start to change things and getting out of it will be weeks or more of work.
Unless we absolutely must, can we please just go get or at worst use modules to get it? I see the yawning abyss of unending maintenance here. Maybe I’ve been hurt too many times by it. :-)

In any case, if we must use a non-released version, can we not just stick with the go way of doing it?
$ TMPGOPATH=$PWD/.go    # or pick some other path, or even use the basic GOPATH
$ GO111MODULE=off GOPATH=$TMPGOPATH go get -u github.com/linuxkit/linuxkit/src/cmd/linuxkit
$ GO111MODULE=off GOPATH=$TMPGOPATH go build -o bin/linuxkit github.com/linuxkit/linuxkit/src/cmd/linuxkit

No need to version in everything.


ConstructFrom failure error can be more specific

Description:
Getting below error which doesn't help me with which field's mapping was wrong. I was trying to map string to int and that's why it's failing. Error message can be bit more specific in telling me which field mapping went wrong.
{ballerina}ConversionError {"message":"incompatible convert operation: 'json' value cannot be converted as 'ballets/bitmex:0.0.1:Margin'"}

Related issue :

[ ] Duplicates https://github.com/ballerina-platform/ballerina-lang/issues/18376

Fixed with #32761. Hence closing this.


URL deletion

Hello,
It would be really helpful to be able to delete old / unused / rotten URLs, to be able to reuse some short-links, to update the URL.
KR,
Bryan.

Deleting a URL in a URL shortener is generally a bad idea. One example is where URL malware scanners cache the URL to be healthy or not, and a bait and switch can be performed later if URL deletion is allowed. If you have to do it, you can always delete the entry in the SQlite DB, but as I said, that is usually not recommended.

True, if you plan to leave the URL shortener public and open without any account, audit, or consequences...
False if you plan to use it yourself and/or a couple of friend, or if there are accounts with audit enabled and you can ban an entire domain from registering an account (you ban the free mail services and all the free .tk & .ml domains, and force users to have their own domain, you see how registering fake accounts start becoming expensive)

Sorry, I do not think I understand. This software does not have the concept of user accounts or sign ins. Just authentication/authorization for admin login. The protection is more for the receiver of the shortened link where their email provider/antivirus would have scanned the link and deemed it safe.
But if you are using it internally, I guess that does not matter, and reuse of links do become useful. Can be a toggle setting to enable/disable that.

Any update on this? Thank you so much


LunarVim: nvim-treesitter error

Describe the bug
About a week ago, I started seeing this error message at LV launch:
Failed to source `/home/cig0/.local/share/lvim/site/pack/lazy/opt/nvim-treesitter/plugin/nvim-treesitter.lua`

vim/_editor.lua:0: BufReadPre Autocommands for "*"..script nvim_exec2() called at BufReadPre Autocommands for "*":0../home/cig0/.local/share/lvim/site/pack/lazy/opt/bigfile.nvim/after/plugin/bigfile.lua.
.nvim_exec2() called at /home/cig0/.local/share/lvim/site/pack/lazy/opt/bigfile.nvim/after/plugin/bigfile.lua:0../home/cig0/.local/share/lvim/site/pack/lazy/opt/nvim-treesitter/plugin/nvim-treesitter.lua
: Vim(source):E5113: Error while calling lua chunk: ...d-0.10.0/share/nvim/runtime/lua/vim/treesitter/query.lua:651: Overriding existing predicate has-ancestor?
stack traceback:
^I[C]: in function 'error'
^I...d-0.10.0/share/nvim/runtime/lua/vim/treesitter/query.lua:651: in function 'add_predicate'
^I...nvim-treesitter/lua/nvim-treesitter/query_predicates.lua:74: in main chunk
^I[C]: in function 'require'
^I...te/pack/lazy/opt/nvim-treesitter/lua/nvim-treesitter.lua:8: in main chunk
^I[C]: in function 'require'
^I...pack/lazy/opt/nvim-treesitter/plugin/nvim-treesitter.lua:9: in main chunk
^I[C]: in function 'nvim_exec2'
^Ivim/_editor.lua: in function 'cmd'
^I...im/site/pack/lazy/opt/lazy.nvim/lua/lazy/core/loader.lua:438: in function <...im/site/pack/lazy/opt/lazy.nvim/lua/lazy/core/loader.lua:437>
^I[C]: in function 'xpcall'
^I...
^Ivim/_editor.lua: in function 'cmd'
^I...im/site/pack/lazy/opt/lazy.nvim/lua/lazy/core/loader.lua:438: in function <...im/site/pack/lazy/opt/lazy.nvim/lua/lazy/core/loader.lua:437>
^I[C]: in function 'xpcall'
^I...lvim/site/pack/lazy/opt/lazy.nvim/lua/lazy/core/util.lua:110: in function 'try'
^I...im/site/pack/lazy/opt/lazy.nvim/lua/lazy/core/loader.lua:437: in function 'source'
^I...im/site/pack/lazy/opt/lazy.nvim/lua/lazy/core/loader.lua:396: in function 'source_runtime'
^I...im/site/pack/lazy/opt/lazy.nvim/lua/lazy/core/loader.lua:367: in function 'packadd'
^I...im/site/pack/lazy/opt/lazy.nvim/lua/lazy/core/loader.lua:304: in function '_load'
^I...im/site/pack/lazy/opt/lazy.nvim/lua/lazy/core/loader.lua:180: in function 'load'
^I.../pack/lazy/opt/lazy.nvim/lua/lazy/core/handler/event.lua:33: in function <.../pack/lazy/opt/lazy.nvim/lua/lazy/core/handler/event.lua:26>

# stacktrace:
  - vim/_editor.lua:0 _in_ **cmd**
  - /bigfile.nvim/lua/bigfile/init.lua:77 _in_ **configure_treesitter_disable**
  - /bigfile.nvim/lua/bigfile/init.lua:117 _in_ **setup**
  - /bigfile.nvim/after/plugin/bigfile.lua:7
  - vim/_editor.lua:0 _in_ **cmd**
Press ENTER or type command to continue

I tried removing the plugin directory inside .local/share, but the error shows up again.
Steps To Reproduce
Steps to reproduce the behavior:

Launch LunarVim
Open a file (any type of file)
...

Expected behavior
No error message message should appear.
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
I've used this package for almost a month and have never seen this error before.
Notify maintainers
@ProminentRetail
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-linux"`
 - host os: `Linux 6.9.1, NixOS, 24.05 (Uakari), 24.05.20240517.4a6b83b`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - nixpkgs: `/nix/store/0aavdx9m5ms1cj5pb1dx0brbrbigy8ij-source`

Add a :+1: reaction to issues you find important.

(Not a Nix User, found this issue by googling)
FWIW, this is also an issue with LunarVim in Arch, as of the most recent update.
Exact same error and stacktrace. Likely some change in lua or neovim upstream that both Nix and Arch picked up.

Following up, the issue appears to be in neovim-0.10.0-1 (at least on Arch, I assume the same for Nix?). After downgrading to neovim-0.9.5-6, everything works fine again.

same bug here! i use arch 6.9.1-arch1-1 ...

Thanks, @arevno and @Luis-Marins, for confirming the issue. Salim, the main dev of LunarVim, said on their Discord:

@lebensterben Given what Salim said, I propose:

Pinning the neovim package version in your package to 0.95 will solve the issues for now.
Creating a new package lunarvim-nightly so folks can still use Neovim 0.10 if they prefer that.

I'll be more than glad to lend a hand. I'd love to learn what you think!
Thanks

Also, I believe it's worth sharing this other bit:

Salim's response to https://www.reddit.com/r/lunarvim/comments/1cafb7v/lunarvim_has_been_abandoned_by_maintainers/

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/how-to-pin-a-specific-version-for-neovim/45895/1