TLC frontend

Automatically deselect users when transferring them between groups.
Sort group hierarchy alphabetically.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (e18b391) to head (0ad87d4).
Report is 1 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##              main       #41   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           14        14
  Lines         1368      1368
  Branches       116       116
=========================================
  Hits          1368      1368

Flag
Coverage Δ

unittests
100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Making signup page responsive

I would like to make the signup page responsive
Image:

Please assign

please assign

@ShivanshAr97 Go ahead

@ShravaniAK If he fails within 2 days, then you can take up the issue.


Deprecated Facebook url

I'am testing your module, nice work and thanks for sharing!
Facebook has announced all.js will be removed.
// Old SDK (deprecated)
js.src = "//connect.facebook.net/en_US/all.js";

// New SDK (v2.x)
js.src = "//connect.facebook.net/en_US/sdk.js";

Maybe you need to replace this in our code someday. Please review this page for same details:
https://developers.facebook.com/docs/javascript/howto/angularjs

Thanks for the heads up. Fancy making a PR?

Great!
I have changed the URL, and al seems to work whit-out any problem.
You need to add only the version to the .init()
    $facebookProvider.init({
        appId: '1234567890123456',
        version: 'v2.3'          //<-- needed for sdk.js
        channel: '//path/to/channel.html'
    });

Awesome. I'm not able to make the change at the moment and it may be some time. If you'd like to make a PR with this I'll gladly accept it! If you do... make sure to edit the relevant tests too! :)


Date Picker: When you open the year Dropdown it starts on the minimum year

Acceptance Criteria:
Requested by yazan

Datepicker year Dropdown should start on the currently selected year

From: Meng Li - UX Designer - Jobs, Economy and Trades
Usability issue:
After customizing the range of years (to go beyond the 5 yrs min and mx default), when opening the year dropdown, current year is not in view - user has to start with the oldest year. This is a usability issue that we have observed, especially when it comes to selecting a DOB.


NIFI-10919 Correct SCRAM SASL Mechanism for Kafka Components

Summary
NIFI-10919 Corrects Kafka component handling of SCRAM-SHA-256 and SCRAM-SHA-512 SASL Mechanism property handling as a result of changes introduced in NIFI-10819.
The changes replace the use of SaslMechanism.valueOf() with SaslMechanism.getSaslMechanism() to find the matching property value instead of the enumeration name, which does not match property values. Additional changes include new unit tests to validate property handling in referencing classes.
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[X] Apache NiFi Jira issue created

Pull Request Tracking

[X] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[X] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[X] Pull Request based on current revision of the main branch
[X] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[ ] JDK 8
[ ] JDK 11
[ ] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

No need to check for Java 8 since it is deprecated for 1.19?

Support for Java 8 is deprecated: Java 11.0.16 is the minimum recommended version
https://cwiki.apache.org/confluence/display/NIFI/Release+Notes#ReleaseNotes-Version1.19.0

@Kagee NiFi version 1 releases continue to support Java 8, although support is deprecated in 1.19.0. NiFi 2.0 will remove support for Java 8, but it remains supported for now.


Feature request: Detach or disable pushpin if pinned is bigger viewport

The ability to detach or disable the pushpin in case the pinned element is too big for the viewport.
Problem: Content in pinned content goes outside viewport making it unreachable.
Preferably a solution that watches viewport and resize event. If not just an option to unpin.

@mblarsen #3179

Merged


Separate canonical data methods from ExerciseCase

ExerciseCase should not be an OpenStruct and the canonical data should be kept separate from the methods of this class.

from Generator Improvements exercism/xruby#485.
Supersedes #640 (Closed)
Depends on #650 (Closed/Merged)
Completes #622 (Closed) to a usable state.

There are a lot of changes in https://github.com/exercism/xruby/pull/648/commits/ba6daa3dafbe4406091cd590c3b3ed0fc101a52c that are not directly related to separating the canonical data methods from ExerciseCase that I want to pull out of this PR.

#650 has been merged, rebased to master and force-pushed this branch.


Create feature to choose loss functions

Currently the choice of loss function is hard-coded. Create a way to change these via the config file.

I think this should be done through the CLI. We can discuss it.

I think picking of loss function belongs in the configuration file. This is better for reproducibility as everything is contained in the config. We could consider using number of epochs in the CLI

Merged into development with PR #213. Closing issues with this comment.


No UEFI installer tests

At the moment there are no UEFI installer tests. These were removed previously because they were broken at the time (https://github.com/NixOS/nixpkgs/commit/92837f2dbf2bf3691f3f82548ed29ce6cd79155d). @domenkozar raised the issue in #14902. There are quite a few installer tests at the moment, but none of them use GPT and none of them use Gummiboot. UEFI is probably being used quite a lot nowadays, so automated tests seem appropriate.
There are however tests that cover booting the ISO using UEFI, but they aren't being used to actually install a NixOS system. They do not cover a separate boot partition with GPT and do not cover generating Gummiboot configuration.

Here is one for Gummiboot: #14957.
I'm not an UEFI expert, reviews welcome.

Hasn't gummiboot been renamed to systemd-boot?

Yes, but we don't use it (yet).


Add LampLinc dimmer to device list.

Hope I got all the settings right.  Works for me.

Thanks JonMR! I'll get this updated on npm shortly.

npm package updated as well. (and I updated the test app to the latest local copy).


TooManyRequests error. Even after setting Run Config

[Y ] I have checked the documentation and related resources and couldn't resolve my bug.
Describe the bug
A clear and concise description of what the bug is.
Trying to run Testset generation on a dataset with ~8000 llamaindex documents using Cohere's line of models.
I constantly keep getting cohere.errors.too_many_requests_error.TooManyRequestsError: status_code: 429, body: data=None message='You are past the per minute request limit, please wait and try again later.'
How do I ensure rate-limiting is applied within the ragas framework? I tried setting a RunConfig like shown below, but it doesn't really help.
my_run_config = RunConfig(max_workers=2, timeout=180, max_wait=120)

Its okay if it is slow but I just need my testset generation to run.
Ragas version: 0.1.18
Python version: 3.11
Code to Reproduce
Share code to reproduce the issue
documents = SimpleDirectoryReader(input_files=[input_file]).load_data()
 generator_llm, critic_llm, embed_model = setup_models() #Cohere objects

    generator = TestsetGenerator.from_llama_index(
        generator_llm=generator_llm,
        embeddings=embed_model,
        critic_llm=critic_llm
    )

    generator.adapt(language="english", evolutions=[simple, multi_context, reasoning])
    testset = generator.generate_with_llamaindex_docs(
        documents,
        num_samples,
        distributions={simple: 0.6, reasoning: 0.2, multi_context: 0.2},
        is_async=False,
        with_debugging_logs=True,
        run_config=my_run_config
    )

Error trace
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.

hey @tarunn2799 would it be possible to update to the latest version v0.2? we have batching in that version that should help
you can check the migration guide here: https://docs.ragas.io/en/stable/howtos/migrations/migrate_from_v01_to_v02/


Pressing wallets manager multiple times increases the wallets

seems the grid is not cleared before adding the response from the actor

Verified
Branch: development
Commit: 1701a86231412b9e9ea11171c84c00a44b251860


Throw EmptyPipelineException if passed in continuation is invoked more than once.

[x] Are you fixing a bug?
Yes

[x] Detail how the bug is invoked currently.
By calling the handler that is passed in the middlewares more than once.

[x] Detail the original, incorrect behavior.
The handler Next::$fallbackHandler is invoked more than once. The first invocation
of $handler->handle inside a middleware drains the middleware queue in Next::queue,
subsequent invocations of $handler->handle invoke Next::$fallbackHandler.

[x] Detail the new, expected behavior.
The handler should be allowed to be invoked only once or the behavior will be inconsistent. The first middleware
invokes the second middleware in the pipe when calling hanlder::handle first time,
second time it will be invoking the handler Next::$fallbackHandler.

[x] Base your feature on the master branch, and submit against that branch.

[x] Add a regression test that demonstrates the bug, and proves the fix.
Added the smallest failing test, and the code to pass it in NextTest.php . Didn't remove uneeded Next::$fallbackHandler because one of the tests checks of its existence.

[ ] Add a CHANGELOG.md entry for the fix.

This PR can not be accepted as it breaks intended behavior of the Next handler while not addressing the actual issue of allowing multiple invocations.
The problem you experience is due to your usage. Is there a reason why you need to invoke it multiple times?
Normally middleware acts on request then potentially delegates to next handler then acts on the response returned by next handler.
Do you use this middleware outside of its intended usage as a part of middleware pipe?
https://github.com/zendframework/zend-stratigility/blob/e62d1c5006ad4359b44d7700c78ca00939143fbc/src/MiddlewarePipe.php#L81-L84
I will keep this PR open for your feedback.

All test were passing, is there an implicit Next behavior I am ignoring? I added the test, If the test captures a valid Use case instead of an exception please regect the PR. What is the standard behavior when middleware delegates to the next handler twice? This captures the edge case when a continuation is called twice, you are right about normally middle ware delegates to the next handler (once).
https://github.com/zendframework/zend-stratigility/blob/90da95e4b18569b9dd4fa3f193c3209ca807d6df/test/NextTest.php#L219-L239

Hm. Next does not provide a way to push to queue once it has been passed to constructor, so one use case I had in mind is out.
That also means that only questionable edge case behavior is affected by pushing final handler to queue. I was too fast to reject it.
Going back to original issue, we have two options here: go ahead and explicitly forbid second invocation or allow multiple invocations.
Second option is easy to achieve by passing cloned Next handler to queued middlewares. Next handler is a hot path though and it will have a performance impact as it will have to be cloned for each piped middleware.
$next = clone $this;
$middleware = $next->queue->dequeue();
return $middleware->process($request, $next);

public function __clone()
{
    $this->queue = clone $this->queue;
}

So, my question stands:  Is there a reason why you need to invoke it multiple times?
@weierophinney I would also like your input on the two options outlined above.

So, my question stands: Is there a reason why you need to invoke it multiple times?

I do not want to invoke it multiple times, I rather have it throw an exception if it is invoked more than once so I am told explicitly that I have done something wrong.

After discussion in slack we came to conclusion that Next handler should not be allowed to be invoked multiple times from the same context as it constitutes bad design and leads to unpredictable and/or hard to test and debug results.

Thanks, @alihammad-gist!


ETL not import csv file if lock is on

OrientDB Version: TP-3.2.7
Java Version: 1.8
OS: Windows 10
Expected behavior
ETL should import csv correctly if lock is turned on (and the file is not locked by other processes)
Actual behavior
ETL tool stops with 0 rows imported
Steps to reproduce
Turn on lock in configuration file
for example,
"source": { "file": { "path": "product.csv", "lock": true } },
and run ETL tool. It turns out
 + extracted 0 rows (0 rows/sec) - 0 rows -> loaded 0 vertices (0 vertices/sec) Total time: 15ms [0 warnings, 0 errors] [OETLProcessor]
disable lock by removing it from source config
"source": { "file": { "path": "product.csv",  } },
ETL loads all rows
2022-06-24 14:06:37:658 INFO  + extracted 6,809 rows (6,139 rows/sec) - 6,809 rows -> loaded 6,307 vertices (6,139 vertices/sec) Total time: 2024ms [0 warnings, 0 errors] [OETLProcessor] 2022-06-24 14:06:38:671 INFO  + extracted 15,698 rows (8,774 rows/sec) - 15,698 rows -> loaded 15,196 vertices (8,774 vertices/sec) Total time: 3037ms [0 warnings, 0 errors] [OETLProcessor] 2022-06-24 14:06:39:557 INFO  END ETL PROCESSOR [OETLProcessor] 2022-06-24 14:06:39:558 INFO  + extracted 24,747 rows (10,201 rows/sec) - 24,747 rows -> loaded 24,747 vertices (10,767 vertices/sec) Total time: 3924ms [0 warnings, 0 errors] [OETLProcessor]

Hi,
this should be fixed as well from version TP-3.2.9.
Regards


Bump python from 3.9 to 3.11

Update python 3.9 to 3.11 as default environment

@dependabot merge


I downloaded an empty plugin zip file

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

Bug

What did you do?

What did you expect to see?
I want to download my plugin oauth2client from pilot
What did you see instead?
but i download an empty zip file.
I have successfully run my own userinfo plug-in . they look the same.
Output of traefik version: v2.3.2

error: failed to check archive integrity of the plugin github.com/ytyuanxi/oauth2client: plugin integrity check failed

What is your environment & configuration (arguments, toml, provider, platform, ...)?
[experimental.plugins]
  [experimental.plugins.rewritebody]
    modulename = "github.com/traefik/plugin-rewritebody"
    version = "v0.3.1"
  [experimental.plugins.userinfo]
    modulename = "github.com/ytyuanxi/userinfo"
    version = "v1.0.0"
  [experimental.plugins.oauth2client]
   modulename = "github.com/ytyuanxi/oauth2client"
   version = "v3.0.0"

If applicable, please paste the log output in DEBUG level (--log.level=DEBUG switch)
(paste your output here)

Hello @ytyuanxi,
Thanks for your interest in Traefik!
It seems that you are referencing a version which does not exist. The current version for this plugin is the v0.0.1:
  experimental:
    plugins:
      oauth2client:
        modulename: github.com/ytyuanxi/oauth2client
        version: v0.0.1

I'll close this issue as a question accordingly.


TextField centering should work in loose constraints

We should always use the maxWidth from the incomming constraints to size the
text inside the editable because the EditableText itself always expands to fill
its width.
Also, make sure InputDecoration always expands horizontially (even when there's
no icon) for consistency.
Fixes #9149

@Hixie @HansMuller


Module 1 - Cannot deploy model to web app

Module: 01
Lab: 01
Task: Deploy your model to a web app
Step: 02
Description of issue
Repro steps:

At the top right of the Chat playground page, in the Deploy to menu, select A new web app.

In the Deploy to a web app dialog box, create a new web app with the following settings:

Name: A unique name
Subscription: CS-SUB-0459
Resource group: AI-050
Locations: The region where you provisioned your Azure OpenAI resource
Pricing plan: Free (F1) - If this is not available, select Basic (B1)
Enable chat history in the web app: Unselected

Last task - "Deploy your model to a web app" not working with these instructions. See screenshot.

This is a bug in the studio. Added a note about that in the instructions.


Avoid mallocing unprocessed_rcds and processed_rcds fields in dtls record layer

Should be better performing.

To confirm you meant this to target master right? As opposed to the dtlsv1.3 featur branch?

To confirm you meant this to target master right? As opposed to the dtlsv1.3 featur branch?

Hmm I've also been wondering where the best place to put it would be... I also have https://github.com/openssl/openssl/pull/26150
Maybe it is better to target the feature branch for both of the changes to avoid possible conflicts. Should I rebase on the feature branch or does the merge scripts handle that?

Should be better performing.

I can't imagine it saves a lot. But ok.

Agree, but memory management logic is also simplified.

Maybe it is better to target the feature branch for both of the changes to avoid possible conflicts. Should I rebase on the feature branch or does the merge scripts handle that?

Yeah, I'd be tempted to put this on the feature branch. Please rebase, and then retarget this PR (click "Edit" to the right of the title, and change the target branch in the drop down that appears underneath the title).

This pull request is ready to merge

Merged to the feature branch. Thank you for your contribution.


Soci build failure

Operating system
Ubuntu 22.04 (inside docker container)
Compiler
g++
Steps to reproduce the behavior
https://stackoverflow.com/questions/77140854/how-to-install-soci-db-library-with-vcpkg-on-linux

Failure logs
cmake . -DCMAKE_TOOLCHAIN_FILE=/home/vcpkg/scripts/buildsystems/vcpkg.cmake
Soci found:  and
-- Configuring done
-- Generating done
-- Build files have been written to: /home
root@agh-legion:/home# make
[ 50%] Building CXX object CMakeFiles/Learning_VCPKG.dir/main.cpp.o
[100%] Linking CXX executable Learning_VCPKG
/usr/bin/ld: vcpkg/installed/x64-linux/debug/lib/libsoci_sqlite3.a(vector-into-type.cpp.o): in function `soci::sqlite3_vector_into_type_backend::post_fetch(bool, soci::indicator*)':
/home/vcpkg/buildtrees/soci/src/v4.0.3-7f07d34610.clean/src/backends/sqlite3/vector-into-type.cpp:260: undefined reference to `soci::details::parse_std_tm(char const*, tm&)'
/usr/bin/ld: vcpkg/installed/x64-linux/debug/lib/libsoci_sqlite3.a(standard-into-type.cpp.o): in function `soci::sqlite3_standard_into_type_backend::post_fetch(bool, bool, soci::indicator*)':
/home/vcpkg/buildtrees/soci/src/v4.0.3-7f07d34610.clean/src/backends/sqlite3/standard-into-type.cpp:139: undefined reference to `soci::details::parse_std_tm(char const*, tm&)'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/Learning_VCPKG.dir/build.make:102: Learning_VCPKG] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/Learning_VCPKG.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Additional context
When I asked inside discord channel somebody provided me information:

Usually it's patched like this: https://github.com/microsoft/vcpkg/blob/78ba9711d30c64a6b40462c72f356c681e2255f3/ports/sqlpp11/fix_link_sqlite3.patch
But soci's build system is cursed IMHO.
Places which you would probably need to touch:
https://github.com/SOCI/soci/blob/master/cmake/resources/SOCIConfig.cmake.in
https://github.com/SOCI/soci/blob/master/src/backends/sqlite3/CMakeLists.txt#L13
https://github.com/SOCI/soci/blob/master/cmake/SociBackend.cmake#L82

monica@monica003:~/vcpkg$ ./vcpkg version
vcpkg package management program version 2023-09-15-ac02a9f660977426b8ec6392919fbb1d51b10998

See LICENSE.txt for license information.

Sorry I didn't repro your issue.
monica@monica003:~/vcpkg$ ./vcpkg install soci[sqlite3,boost] --binarysource=clear
Computing installation plan...
The following packages will be built and installed:
    soci[boost,core,sqlite3]:x64-linux -> 4.0.3#1
Detecting compiler hash for triplet x64-linux...
Installing 1/1 soci:x64-linux...
Building soci[boost,core,sqlite3]:x64-linux...
-- Using cached SOCI-soci-v4.0.3.tar.gz.
-- Cleaning sources at /home/monica/vcpkg/buildtrees/soci/src/v4.0.3-7f07d34610.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/monica/vcpkg/downloads/SOCI-soci-v4.0.3.tar.gz
-- Applying patch fix-dependency-libmysql.patch
-- Applying patch export-include-dirs.patch
-- Applying patch fix-mysql-feature-error.patch
-- Using source at /home/monica/vcpkg/buildtrees/soci/src/v4.0.3-7f07d34610.clean
-- Configuring x64-linux
-- Building x64-linux-dbg
-- Building x64-linux-rel
-- Installing: /home/monica/vcpkg/packages/soci_x64-linux/share/soci/copyright
-- Performing post-build validation
Elapsed time to handle soci:x64-linux: 13 s
Total install time: 13 s
soci provides CMake targets:

  # this is heuristically generated, and may not be correct
  find_package(SOCI CONFIG REQUIRED)
  target_link_libraries(main PRIVATE SOCI::soci_core_static SOCI::soci_empty_static SOCI::soci_sqlite3_static)

./vcpkg install soci[sqlite3,boost] --binarysource=clear

This is not the reproducer. You must consume the package, not just build it.

./vcpkg install soci[sqlite3,boost] --binarysource=clear

This is not the reproducer. You must consume the package, not just build it.

Sorry I missed it, thanks for the reminder. Attach my usage log:
usage:
soci provides CMake targets:

  # this is heuristically generated, and may not be correct
  find_package(SOCI CONFIG REQUIRED)
  target_link_libraries(main PRIVATE SOCI::soci_core_static SOCI::soci_empty_static SOCI::soci_sqlite3_static)

monica@monica003:~/test/build$ cmake ..
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/monica/test/build

monica@monica003:~/test/build$ cmake --build .
[ 50%] Building CXX object CMakeFiles/main.dir/test.cpp.o
[100%] Linking CXX static library libmain.a
[100%] Built target main

test.cpp

#include <iostream>
#include "soci/soci.h"
using namespace std;
int main()
{
cout << "Hello CMake." << endl;
return 0;
}

CMakeLists.txt

cmake_minimum_required (VERSION 3.8)
set(CMAKE_TOOLCHAIN_FILE "/home/monica/vcpkg/scripts/buildsystems/vcpkg.cmake")
project ("test")
add_library (main "test.cpp")
find_package(SOCI CONFIG REQUIRED)
target_link_libraries(main PRIVATE SOCI::soci_core_static SOCI::soci_empty_static SOCI::soci_sqlite3_static

@JonLiu1993 This is expected when the C code doesn't reference any symbol from the link libraries... The inital post points to an example. That's the repro.
When you managed to repo, I will open a PR for testing.

The easiest way to reproduce is to use docker container with Ubuntu (as I used in thread in stackOverflow). I've used ubuntu:22.04, in different system You may have different compiler and different compilation behaviour.

The instruction are fully reproducable without containers.
But this is just one problem with that port...

@JonLiu1993 This is expected when the C code doesn't reference any symbol from the link libraries... The inital post points to an example. That's the repro.
When you managed to repo, I will open a PR for testing.

Yes, I reproduced this error in docker:
root@test:/home/build# cmake .. -DCMAKE_TOOLCHAIN_FILE=/home/vcpkg/scripts/buildsystems/vcpkg.cmake
-- The CXX compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Soci found:  and
-- Configuring done
-- Generating done
-- Build files have been written to: /home/build
root@test:/home/build# make
[ 50%] Building CXX object CMakeFiles/Learning_VCPKG.dir/test.cpp.o
[100%] Linking CXX executable Learning_VCPKG
/usr/bin/ld: ../vcpkg/installed/x64-linux/debug/lib/libsoci_sqlite3.a(vector-into-type.cpp.o): in function `soci::sqlite3_vector_into_type_backend::post_fetch(bool, soci::indicator*)':
/home/vcpkg/buildtrees/soci/src/v4.0.3-7f07d34610/src/backends/sqlite3/vector-into-type.cpp:260: undefined reference to `soci::details::parse_std_tm(char const*, tm&)'
/usr/bin/ld: ../vcpkg/installed/x64-linux/debug/lib/libsoci_sqlite3.a(standard-into-type.cpp.o): in function `soci::sqlite3_standard_into_type_backend::post_fetch(bool, bool, soci::indicator*)':
/home/vcpkg/buildtrees/soci/src/v4.0.3-7f07d34610/src/backends/sqlite3/standard-into-type.cpp:139: undefined reference to `soci::details::parse_std_tm(char const*, tm&)'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/Learning_VCPKG.dir/build.make:102: Learning_VCPKG] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/Learning_VCPKG.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

https://github.com/microsoft/vcpkg/pull/34327 is now ready for review.

#34327 is now ready for review.

I've already checked. Commands inside docker container:
apt-get update && apt-get upgrade -y --no-install-recommends
apt-get install g++ git cmake curl zip unzip tar ca-certificates make pkg-config --no-install-recommends  -y
git clone https://github.com/dg0yt/vcpkg.git -b soci --depth=1
 ./vcpkg/bootstrap-vcpkg.sh
 ./vcpkg/vcpkg install 'soci[sqlite3]'
 ./vcpkg/vcpkg integrate install
 cmake . -DCMAKE_TOOLCHAIN_FILE=/home/vcpkg/scripts/buildsystems/vcpkg.cmake
make -j4 &&  ./Learning_VCPKG
 ./vcpkg/vcpkg install 'soci[sqlite3,boost]' --recurse
cmake . -DCMAKE_TOOLCHAIN_FILE=/home/vcpkg/scripts/buildsystems/vcpkg.cmake && make && ./Learning_VCPKG

Everything works.
Code used to test sqlite3 and boost:
#include <iostream>
#include <string>
#include <chrono>
#include <exception>
#include <soci/soci.h>
#include <soci/sqlite3/soci-sqlite3.h>

using namespace soci;
using namespace std;
using namespace std::chrono;

void runMultipleQueriesWithVariables( soci::session & sql, size_t queriesCount )
{
    string name;
    int age;
    double salary;
    for( size_t i = 0; i < queriesCount; ++i )
    {
        name = "Janusz " + to_string( i );
        age = rand() % 100;
        salary = static_cast < double >( rand() ) / RAND_MAX * 10000;
        sql << "INSERT INTO Employers(ID, Name, Age, Salary) VALUES (:id, :name, :age, :salary); ", use( i ), use( name ), use( age ), use( salary );
    }
}
void runMultipleQueriesWithStreams( soci::session & sql, size_t queriesCount )
{
    string name;
    int age;
    double salary;
    for( size_t i = 0; i < queriesCount; ++i )
    {
        name = "Janusz " + to_string( i );
        age = rand() % 100;
        salary = static_cast < double >( rand() ) / RAND_MAX * 10000;
        sql << "INSERT INTO Employers(ID, Name, Age, Salary) VALUES (" << i << ", '" << name << "'," << age << "," << salary << ");";
    }
}
void runMultiplePreparedQueries( soci::session & sql, size_t queriesCount )
{
    string name;
    int age, i;
    double salary;
    statement st =( sql.prepare << "INSERT INTO Employers(ID, Name, Age, Salary) VALUES (:id, :name, :age, :salary);",
                    use( i ), use( name ), use( age ), use( salary ) );
    for( i = 0; i < queriesCount; ++i )
    {
        constexpr bool exhangeData = true;
        st.execute( exhangeData );
    }
}

void testFunctionExecutionTime( const char * textPrefix, void( * function )( soci::session &, size_t ), soci::session & sql )
{
    auto startingTime = steady_clock::now();
    {
        constexpr size_t queriesCount = 1000;
        function( sql, queriesCount );
    }
    const auto elapsedTimeInSeconds = std::chrono::duration < double >( steady_clock::now() - startingTime ).count();
    cout << textPrefix << ", the function took seconds: " << elapsedTimeInSeconds << endl;

    sql << "DELETE FROM Employers;";
}

int main()
{
    try
    {
        soci::session sql( sqlite3, "Employers3.db" );

        sql << "CREATE TABLE IF NOT EXISTS Employers("
               "ID INT PRIMARY KEY     NOT NULL,"
               "Name           TEXT    NOT NULL,"
               "Age           INT     NOT NULL,"
               "Salary         REAL);";

        testFunctionExecutionTime( "not prepared with variables", runMultipleQueriesWithVariables, sql );
        testFunctionExecutionTime( "not prepared with streams", runMultipleQueriesWithStreams, sql );
        testFunctionExecutionTime( "prepared query", runMultiplePreparedQueries, sql );

        sql << "DELETE TABLE Employers;";
    }
    catch( const exception & e )
    {
        cerr << "Error: " << e.what() << '\n';
    }
}

APPROVE FROM ME:)


WindowsApps (Microsoft Store)

Friendly reminder: Bulk-Crap-Uninstaller does not remove older versions of apps installed from the Microsoft Store App.
Microsoft Store apps Folders;

C:\Program Files\WindowsApps\
C:\Users{user}\AppData\Local\Packages\

# List Microsoft Store apps for all users
Get-AppxPackage -AllUsers | Sort-Object Name | Select-Object PackageFullName, Name, Version

# List Microsoft Store apps for a specific user (replace {user} with your username)
Get-ChildItem -Path "C:\Users\{user}\AppData\Local\Packages\" | ForEach-Object { $PackageName = $_.Name; Get-AppxPackage | Where-Object { $_.PackageFamilyName -like "*$PackageName*" } | Sort-Object Name | Select-Object PackageFullName, Name, Version }

# List Microsoft Store apps for all users
Get-AppxPackage -AllUsers  ...

wow, thanks a lot for commands, some fixes/improvements/styling for my own use:
# List Microsoft Store apps for current users: -AllUsers flag raised Access is denied error, as I ain't admin
Get-AppxPackage | Sort-Object Name | Select-Object PackageFullName, Name, Version

# List Microsoft Store apps for a specific user (replace {user} with your username)
Get-ChildItem -Path $Env:LOCALAPPDATA\Packages\ |
ForEach-Object {
    $PackageName = $_.Name;
    Get-AppxPackage |
    Where-Object { $_.PackageFamilyName -like "*$PackageName*" } |
    Sort-Object Name |
    Select-Object PackageFullName, Name, Version
}


Deliver information about Xyz.from conversion methods to the IDE

Pull Request Description
With the introduction of Any.to method the Xyz.from conversions become first class citizen in Enso. We need to make sure IDE works well with them. The first step is to deliver information about all possible conversions to the IDE.
Important Notes

Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[ ] The documentation has been updated, if necessary.
[ ] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[ ] All code follows the
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
All code has been tested:

[ ] Unit tests have been written where possible.
[ ] If GUI codebase was changed, the GUI was tested when built using ./run ide build.

At current state of the PR (e.g. at 5d8e7d7) and when trying to open following source in the Enso IDE:
from Standard.Base.Data.Text.Case_Sensitivity import Case_Sensitivity
import Standard.Base.Data.Text.Extensions
from Standard.Base.Data.Text.Location import Location
from Standard.Database import Database
from Standard.Database.Connection import Connection_Details
import Standard.Visualization
from Standard.Base import all
from Standard.Table.Data.Column import Column
import Standard.Visualization

type Complex
    Value re:Number im:Number

Number.from (that:Complex) (ignore_im:Boolean=False) = case ignore_im of
    False -> that.re*that.re+that.im*that.im . sqrt
    True -> that.re

main =
    yields_3 = Complex.Value 3 4 . to Number ignore_im=True
    yields_5 = Complex.Value 3 4 . to Number ignore_im=False
    default5 = Complex.Value 3 4 . to Number

    arr = [ yields_3, yields_5, default5 ]
    operator1 = arr.to_array
    operator1.to Vector

What am I seeing when building the SQLite DB:
sbt:enso> runProjectManagerDistribution
[error] [2023-09-04T08:16:03.178Z] [org.enso.languageserver.search.SuggestionsHandler] Error applying suggestion updates for loaded library [Standard.Base].
[error] [2023-09-04T08:16:03.213Z] [org.enso.languageserver.search.SuggestionsHandler] Error applying suggestion updates for loaded library [Standard.Database].
[error] [2023-09-04T08:16:03.233Z] [org.enso.languageserver.search.SuggestionsHandler] Error applying suggestion updates for loaded library [Standard.Visualization].
[error] [2023-09-04T08:16:03.278Z] [org.enso.languageserver.search.SuggestionsHandler] Error applying suggestion updates for loaded library [Standard.Table].

There are all currently registered conversions (kind=7):

Obsolete as of

#7857


Release 0.2.2

New release of GWS, which grabs the now released dependencies at version 0.2.0 (using GeodesyML 0.4) and 0.3.0 of igssitelog-java-bindings, which does not depend on GeodesyML.

I've updated this PR so that we deploy updates to geodesyml-0.4 branch itself, rather than to deploy updates to branches partaking in PRs against geodesyml-0.4.


Add option to configure bullet conversion

This is the best Docs-to-Markdown conversion I've found yet, but there's still one document feature that I find I have to do significant post-processing on to get to the way I want it: bullets. I prefer to use hyphens (-), not asterisks (*), to indicate bullets in Markdown, and I want each level of indentation beyond the leftmost to be indented by two, rather than apparently four, spaces. It would be really nice if the converter either met these conventions by default or allowed the user to configure which character to use for bullets and how much to indent each subsequent level of nested bullets.

Thanks for filing this, Jonathan. I'm inclined to add an option of some kind to allow a choice between hyphens and asterisks. John Gruber reported some interesting findings about this recently: https://daringfireball.net/2017/07/unordered_lists_in_markdown (Summary: - and * most popular bullets by far).
As for the indenting of nested lists: there are some Markdown renderers that have trouble with two-space indents after the second level of nesting (github Markdown is not among them). Since four-space indent seems to render correctly everywhere, I'm inclined to stick with that for now.

On reading that blog post, I realized I'd forgotten about + as a possible bullet. And maybe each level of bullets should be configurable separately?
Fair enough about the indentation. (At least this exporter seems to be consistent, now that I've figured out that it's four spaces, so I can do the conversion with one mass-replacement; whatever converter Draft uses isn't consistent, and in fact often omits the necessary line breaks between the items.)

My guess is that + is too much work (have to use the shift key), while - is easiest, and * looks most like a bullet. I think that making each level configurable might be too complex and lead to a lot of UI options just for that. But I'll think about it. If/when I open-source this, you could always have a go.
Trying to be consistent with output -- please file a bug if you notice any oddities.

Since four-space indent seems to render correctly everywhere, I'm inclined to stick with that for now.

Seems not to be true for https://github.com/dillonkearns/elm-markdown

Any chance of this enhancement getting some love?


openDS term data schema

A JSON schema to describe the openDS terms as FDO.
The first version of this schema is focused on creating the basic structure of the object. Feedback from RFC will be incorporated in different stages. There are a few decisions regarding RDF, JSON-LD we have to make.

updated schema
changes in this version:

updated Regex for the Handle
removed rdf:Type
used ods:hasAgent instead of dcterms:creator
added skos:note and skos:example
removed owl cardinality. we use json schema required for this
added hasVersion for more provenance metadata
used rdfs:range instead of new term belongsToClass
added language in prefLabel


RollingWindow logic should be encapsulated in indicator

Expected Behavior
Rolling window (history), should be available just by specifying history length in constructor or calling some method with this parameter after initialisation.
This is quite heavily used feature, given number of question for this topic. It is available in implicit form similar to described one in most other trading/backtesting platforms...
.
Actual Behavior
To add rolling window functionality, there is need to explicitly add values to explicitly created rolling window
Potential Solution
Example usage:
self.RSI_Ind = self.RSI("AAPL", RSI_Period, history= 50)
...
if self.RSI_Ind.history.IsReady:
self.Debug ("Previous RSI value is: {}".format(self.RSI_Ind.history[1]))

Agreed. Popular request. Full API spec here: https://github.com/QuantConnect/Lean/pull/4842#issuecomment-706798613
Add optional int parameter to all helper methods, to the current indicators. Default to 0.


Only return MetaObject from AWSResource.MetaObject() call

Issue #, if available: https://github.com/aws-controllers-k8s/community/issues/937
Description of changes:

For implementation of AWSResource.MetaObject, we were returning the complete resource.
This change only returns 'ObjectMeta' from AWSResource which is the implementation of 'metav1.Object' inside resource struct
returning only the relevant members helps in metadata comparison correctly with ackcompare.MetaV1ObjectEqual

Unit tests successful
Successful local kind e2e test for newly generated dynamodb controller

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

I believe we are using MetaObject as part of the adoption reconciler. Would you mind verifying these still work as intended, as well? Just a simple smoke test should suffice.

I believe we are using MetaObject as part of the adoption reconciler. Would you mind verifying these still work as intended, as well? Just a simple smoke test should suffice.

There should be no regression from this change at all but I will perform sagemaker adoption test nevertheless.

Thanks!
/lgtm


Duplicate answer on bot command

i made a bot which receive a submission from bot clients.. when 1st time user submit a sequence of form it works fine on the 2nd submission from another user it duplicate the submission message(Submitted successfully.) if 10 users submits it sends 10 Dublicate message at once..
any way to fix this issue?

Can you post the code, please?

bot.on("callback_query",function(query){
  var data = query.data;
  var chat_id = query.message.chat.id;
  var message_id = query.message.message_id;
  var text = "_OK! Send me the name of your item_"
if(data == "submit"){
  bot.editMessageText(text, {
    chat_id: query.message.chat.id,
    message_id: query.message.message_id,
    parse_mode: 'Markdown',
}).then(function (msg) {
  answerCallbacks[msg.chat.id] = function (answer) {
      var name = answer.text;
      bot.sendMessage(msg.chat.id, "_Enter Price of the item_",{parse_mode:"Markdown"}).then(function () {
          answerCallbacks[msg.chat.id] = function (answer) {
              var Price = answer.text;
              bot.sendMessage(msg.chat.id, "_Send one picture of your item_",{parse_mode:"Markdown"}).then(function () {
                answerCallbacks[msg.chat.id] = function (answer) {
                    var picture = answer.photo.pop().file_id;
                      bot.sendPhoto(msg.chat.id, picture, {
                        parse_mode:"Markdown",
                        caption:"*Name:*" + name + "\n*Price:*" + Price + "\n*"
                        reply_markup:{
                          inline_keyboard:[
                            [{text:"✅Confirm",callback_data:"confirm"},
                          {text:"🔄Resubmit",callback_data:"resubmit"},
                        {text:"⛔Cancel",callback_data:"cancel"}]
                          ]
                        }
                      }
                      )
                      bot.on("callback_query",function(query){
                        var data = query.data;
                        var chat_id = query.message.chat.id;
                        var message_id = query.message.message_id;
                        var firstname = query.message.chat.first_name;
                        var mesg = "*you have successfully submitted your item! wait a while until it has been checked by the admins*\n_use /start command to start over_"
                        if (query.message.text != mesg && data == "confirm"){
                          bot.deleteMessage(chat_id,message_id)
                          if(query.message.text != mesg){
                          bot.sendMessage(chat_id,mesg, {
                              chat_id: query.message.chat.id,
                              message_id: query.message.message_id,
                              parse_mode: 'Markdown'
                          })
                          if(query.message.text != mesg){
                          bot.sendPhoto(367526255,picture, {
                            parse_mode:"Markdown",
                            caption:"*Name:*" + name + "\n*Price:*" + Price + "\n*Submitted by: *" + `[${firstname}](tg://user?id=${chat_id})`

You are instantiating event insider another event, or callback_query inside another callback_query.
On the first action, you will have one callback_query, but once that users will begin to "complete" your flow, actions will increase.
You should use only one bot.on() per type (like callback_query or message) per module or action, by designing instead all the possible replies you will receive.
For example, you have to understand if, on callback_query, you are going to proceed with a new action or an action that already started.
If there's something not clear, please tell me and I will try to explain you better. 😊

it won't make it because the data which i want to send for user 367526255 can't get the submission message

Trust me, I've already done that. Right now I cannot review deeply your code or rewrite a part of it to show it to you, but trust me you can do as I said.
To understand better your code, can you please write down the steps the user is going to do when interacting with your bot? Because right now the code is not that readable.

Thanks for your reply. i have tried it and it gives me polling error after user enter the form and confirm it should be forwarded to the admin but didn't make it because i already closed the query and created another callback query. any other way to fix this issue? i look forward for your response. thanks.

Insert in the root of your code, this:
bot.on("polling_error", (msg) => {
    console.log(msg)
});

It will give you a more detailed error.

Error: ReferenceError: picture is not defined

Then you know where to act 😉 You are calling picture in a different scope.

any idea on how can i migrate var picture from the first query to the new query?

As I said, at the moment I cannot write code or help you with great chunks code. You can start by putting it as global (even if it is not a suggested code design).
Once you start to reorder your code, I think you will find the best way 😉

i have assigned var picture from user input so its kinda impossible to set it as global..

It probably won't work, but I just want to express how could you do it.
bot.on("callback_query", (query) => {
	var data = query.data;
	var chat_id = query.message.chat.id;
	var message_id = query.message.message_id;
	var text = "_OK! Send me the name of your item_";
	var firstname = query.message.chat.first_name;

	if (data == "submit") {
		bot.editMessageText(text, {
			chat_id: query.message.chat.id,
			message_id: query.message.message_id,
			parse_mode: 'Markdown',
		}).then(function (msg) {
			answerCallbacks[msg.chat.id] = function (answer) {
				var name = answer.text;
				bot.sendMessage(msg.chat.id, "_Enter Price of the item_", { parse_mode: "Markdown" })
					.then(function () {
						answerCallbacks[msg.chat.id] = function (answer) {
							var Price = answer.text;
							bot.sendMessage(msg.chat.id, "_Send one picture of your item_", { parse_mode: "Markdown" })
								.then(function () {
									answerCallbacks[msg.chat.id] = function (answer) {
										var picture = answer.photo.pop().file_id;
										bot.sendPhoto(msg.chat.id, picture, {
											parse_mode: "Markdown",
											caption: "*Name:*" + name + "\n*Price:*" + Price + "\n*",
											reply_markup: {
												inline_keyboard: [
													[{ text: "✅Confirm", callback_data: "confirm" },
													{ text: "🔄Resubmit", callback_data: "resubmit" },
													{ text: "⛔Cancel", callback_data: "cancel" }]
												]
											}
										});
									}
								});
						}
					});
			}
		});
		return;
	}
	if (data == "confirm") {
		bot.deleteMessage(chat_id, message_id)
		bot.sendMessage(chat_id, mesg, {
			chat_id: query.message.chat.id,
			message_id: query.message.message_id,
			parse_mode: 'Markdown'
		})
		bot.sendPhoto(367526255, picture, {
			parse_mode: "Markdown",
			caption: "*Name:*" + name + "\n*Price:*" + Price + "\n*Submitted by: *" + `[${firstname}](tg://user?id=${chat_id})`;
		});

		// do something else
	}
});

Anyway, for keyboards consider using Node-telegram-keyboard-wrapper.
And I'm also working on another package to simplify the creation of reply queues (if you are interested).

thanks @alexandercerutti your code works fine with some modification but i better save it in a database to keep things simple. and i will check the lib. GREAT!!


Ending Review Ticket

Assignment
Points
Grade
Evidence

Pull Request (Integration)
2
2

Relevancy Checklist (Peer)
2
79.5/90*2=1.77
https://tarunja1ks.github.io/CSATarunStudent/csa/unit6-p1/unit6-1

Lesson (Group)
1
0.92
https://nighthawkcoders.github.io/portfolio_2025/csa/unit6-p1/unit6-1

Homework, Popcorn Hacks
1 x 8
0.9+0.92+0.9+0.88+0.92+0.9+0.9+0.85(from our teamteach grading)) =7.17
https://tarunja1ks.github.io/CSATarunStudent/csa/OverviewFoundations

Individual Contribution
1
0.9
  https://github.com/iwu78/teamteach/commits/main/

Personal Notebooks / Blogs
1
0.9
https://tarunja1ks.github.io/CSATarunStudent/csa/OverviewFoundations

Total
15
13.66

Skill
Points
Grade
Evidence

Work Habits (Analytics)
1
0.88

Team Planning (Issue)
1
0.89
https://github.com/iwu78/teamteach/issues/1

Presentation Memories
1
0.9

Grading and Feedback
1
0.85
Added the Rubric now      https://docs.google.com/spreadsheets/d/10XepdUcdx_P8o1Fqs39vEvkUzZJwhpFommN9PzveYxY/edit?gid=0#gid=0

Beyond Perfunctory
1
0.88
Had Python Translations for better understanding, and introduced non-collegeboard Array methods(Arrays.toString) , As seen in presentation memories; ALSO has lots of commits by me to constantly revise and perfect the lesson      , I also have notes/my own project in the page with all the homeworks, which I can look back at to see examples of lessons

Total
5
4.4

Assignment
Weightage
Grade
Comments  (Aidan Lau/Nitin Balaji)

College Board Coverage
20
(18+18)/2=18
Covers relevant topic for AP/ Goes over all the major information and knowledge for Unit 6.1

Java Examples
30
(27+27)/2=27
Includes code examples/The examples are very helpful and help students understand the lesson better.

Popcorn Hack Usage
10
(8+9)/2=8.5
Has a popcorn hack that covers Java topic and relates to python    / The hacks were created very well and help test whether students understand the lesson and whether they need help. Could have maybe added a bit more time for each hack, but still very good.

Homework
10
(9+9)/2=9
Homework is challenging and covers the algorithms/   Homework is challenging but necessary and helpful to test understanding of the lesson.

Grading Plan
10
(8+8)/2=8
Grading plan is covered in spreadshee/ Grading plan is covered in the spreadsheet and explains process.

Original an Creative
10
(9+9)/2=9
Challenge hack is original and creative/ Good originality. The hacks and homework problems were original and seemed like they thought of it on their own.

Total
90
79.5

I like the efforts.   This looks like it would be fun to explore in detail.

I like how you made a java project game with all the important concepts you learned.

Hi Tarun,
I like your idea of putting all of the homework in the navbar, it's going to be really easy to come back and refer to this. Also, nice game!

Making a Java Project game was good because it will help you connect back to everything you did. Good job

Hi Tarun,
I liked how you organized all of the homework topics so that you can refer back to it.

Blog -Notes over all 9 unites
Relevancy - Array.toString()
Memory - The game concept was a great idea
Beyond Perfunctory - Making several blogs for the presentation

Blog - Notes over all 9 units
Memory - Organized all hw easy to recall and nice to look at
Relevancy - Learned a lot about various lessons liek anusha pretty interesting
Beyond Perfunctory - Made a random number generator game

I liked your blog it was very organized. I also liked you java project and the homework topics that you made so its easy to go back to.

I like the organization of homework as it will help you review and study for when you need it.

Organized homework into menu bar for easier access. Created project that utilized concepts from units. Added python translations to hacks.

Blog - in association with Units and Teaching
Memory - something to recall your individual presentation
Relevancy - something impactful you learned
Beyond Perfunctory - something that shows you want to learn
Put homeworks in menu bar.  Did some review notes.   Made a projects including arraylist and polymorphism.  Enjoyed binary search and polymorphism blog.   Talked about code and learning with code.

I like how you're conscious of your time limit and target what you're good and bad at to improve on.

Your game was very interesting. I like how you kept your presentation short and sweet just giving us the important parts.

Great presentation. I liked how you have detailed notes from each team teach to help you remember the units that we learned.

I like the organization of your homework, I like how you included all of it in a blog that would be easy to refer back to.

Hi Tarun,
I liked the blog summaries and game that you made out of all of the team teach units.

I really like the number game and the memory/reflection section were very personalized.

The menu for all the team teaches homework menu is a really good idea and beneficial for reviewing.

I liked the organization and how you focused on the main 4 points. It made it easier.

Very nice job, especially for being the first to do the whole "notes" concept. I really see your commitment to the content with the extra project you worked on and can see you're knowledgeable

I like how you made it easier for people to read it with the organization as well as the notes that you took.


:construction_worker: put python installs in separate stage

Motivation
Our scans on quay are picking up intermediate package installs from the build stage, which are overwritten by the pip installs in the server-release stage.
Modifications
This puts all the final pip install commands and site-packages overrides into a python-installations stage, then the python environment from there is copied into the server-release stage.
Result
This should mean that the server-release stage does not contain any intermediate python packages.

Shoot, unfortunately this is yet again causing the worker to run out of space:
System.IO.IOException: No space left on device : '/home/runner/runners/2.313.0/_diag/Worker_20240301-223511-utc.log'


Command + Enter doesn't work until after repositories have been fetched

As reported in https://github.com/bswinnerton/launchbar-github/issues/8#issuecomment-340189604:

@bswinnerton: When I enter a owner/repo name (e.g., apple/swift) and hit command+enter, the LaunchBar window disappears, but it doesn't open the repo:

Is there any trick to getting this to work correctly? If there's additional information I can provide, please let me know.

Pulling out my earlier comment from #8:

Is there any trick to getting this to work correctly?

@jasonrudolph, I suspect that you're hitting ⌘ + Enter before launchbar-github has a chance to fetch all of the repositories that the Apple organization has access to via an API call to GitHub.
Here's a screen capture of an up-to-date version of launchbar-github that has already cached the result of Apple's repositories:

A terrible workaround is to wait for the repositories appear before hitting ⌘ + Enter. But I've opened https://github.com/bswinnerton/launchbar-github/issues/87 to explore a better way of accomplishing this.

I suspect the offending line is right here:
https://github.com/bswinnerton/launchbar-github/blob/de2381116e16b9612cb96a3e10c4ee7ea0975ee8/Contents/Scripts/default.js#L160
This calls out to Account#repositories, which makes an API call to GitHub here:
https://github.com/bswinnerton/launchbar-github/blob/de2381116e16b9612cb96a3e10c4ee7ea0975ee8/Contents/Scripts/account.js#L30-L48
Before we check to see if the command key has been selected here:
https://github.com/bswinnerton/launchbar-github/blob/de2381116e16b9612cb96a3e10c4ee7ea0975ee8/Contents/Scripts/default.js#L180


fix(components): [drawer] The animation direction of left/top/bottom …

…of the drawer component is wrong
PR
PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our Commit Message Guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: #689
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

当前组件还没有添加任何测试
pnpm dev后，就能看到对应组件的动画效果

@all-contributors please add @AcWrong02  for fixing component bugs


WCSimRootOptions does not store OD information

WCSimRootOptions doesn't store the information of the OD dark noise/digitizer/trigger. WCSimRootOptions therefore needs to be expanded, and the options told to be stored in WCSimEventAction. This information should be stored in e.g. maps, to allow it to be expanded when there are more than 2 types of PMT.

I missed that, I'll look into it!


[Feature Request] Let us define scan radius

Hello,
the program is running like a charm, i just have one suggestion: Let us define scan radius.
I live in a rural area, and both my workplace and my home are quite close to the woods. If it was possible to just scan the inner three or four circles, it would keep me up to date on anything that i'm willing to get while also not wasting time on scanning pokemon-free, partially unwalkable woodlands.

that's already possible - on the login screen, you can adjust the radius (standard is set to 7). You have to scroll down if you haven't seen it yet. The smaller the radius - the faster the rescan.

Thank you, i honestly didn't expect to find it there. Soooo, would it be a big problem to add that to the "main" screen?

I believe the original code on which this is build/is a wrapper does not allow changing the steps parameter during runtime. Whether that's because it's hard/impossible or just not thought of I don't know, but it'd definitely require changing the original codebase, which can add complexity in updating to newer updates. So I don't think you'll see that...

@Jagatai I've opened a feature issue for this, it might be a nice feature to have.
Please follow #561


wip: create vc method

Codecov Report

Merging #7 (3d1c712) into main (c693aa0) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main      #7   +/-   ##
=====================================
  Coverage   5.85%   5.85%
=====================================
  Files          4       4
  Lines        239     239
=====================================
  Hits          14      14
  Misses       222     222
  Partials       3       3

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

superseded by the other work we did on a different branch


Expand Django support to 1.8

I've just started using django-mediumeditor in a Django 1.8 project called regnskab with these settings, setting the widget of a CharField to MediumEditorTextarea and including {{ form.media }} in the template.
It seems to work just fine in my limited testing. Are there any hidden ways in which it might subtly fail in production?

Not that I know of. It mainly just needed some testing.


Meeting-Rules per Series

As a moderator I can specify the meeting rules on a per-series level so all participants are "on-the-same-page"

[ ] Icons allow/dissalow: SMS, E-Mail, Phone calls, usage of Laptop/Tablet
[ ] Freetext meeting rules: like ">5 Min. late => 5 Euro", "Strictly Timeboxed"

This will be handled by pinned Global Notes (see #382)


Add module for KRunner

Added a basic module for KRunner, basically only the options available in its configuration window (none for its search results, for example). From my testing, it seems to work. The module is formatted according to nixpkgs-fmt.

Thanks for your contribution :)

Great! Thanks for your review, refactoring, and merging :)


[Feature] Addition of LLM Chain

GenAI Stack version: 0.2.0
Python version: 3.8+

Hacktoberfest Accepted PR guidelines

Please check the documentation and CONTRIBUTING.md before you start making changes
We accept the PR as hacktoberfest-accepted for this issue, if the PR adds the feature of LLM Chain i.e., connecting two LLM model response and make a chain.

Hey @jaintarunAI can you please explain me what sort of functionality are you looking for using the LLM chain models ?

Hi @rexdivakar
Thank you for showing interest. The functionality for LLM Chain should take multiple input variables, uses the PromptEngine to format them into a prompt. It then passes that to the model.
Reference: https://python.langchain.com/docs/modules/chains/


Dev - SPFx Sample, Yammer REST API SPFx react webpart

Q
A

Bug fix?
no

New feature?
no

New sample?
yes

Related issues?
fixes #X, partially #Y, mentioned in #Z

What's in this Pull Request?
Yammer REST API SPFx webpart - This sample shows how Yammer REST APIs can be consumed by using React SPFx webpart and the Yammer JavaScript SDK. The SPFx webpart contains wrapper around the Yammer JavaScript SDK that can be extended for fluent typescript api experience.
Guidance
Please refer to the README.md file.

@VelinGeorgiev,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

thx Velin, appreciated. Would you be available to demo this next Tuesday (9th of May) in our monthly community call? - This would be 10-15 min demo with code walk through. Call is recorded and then published to YouTube channel for others to view. Call is at 4 PM GTM and invite is available from http://aka.ms/sppnp-call.

Hi Vesa, I will join the call. Do you know if I need the full Skype for Business client to present or I can use the small meeting client downloaded from the meeting url?

thx Velin, I'll add you on the agenda for a quick demo around this. Good to have this recorded in the video for others.


fix: No option to add receipt when submitting to someone

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/43942
PROPOSAL: https://github.com/Expensify/App/issues/43942#issuecomment-2181807966
Tests

Go to self DM.
Track a manual expense
Click Submit it to someone from the actionable whisper
Select a user
Verify that: There will be an option to add receipt on the confirmation page

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

Go to self DM.
Track a manual expense
Click Submit it to someone from the actionable whisper
Select a user
Verify that: There will be an option to add receipt on the confirmation page

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

changes looks pretty straight forward to me. I'm quite busy rn, I'll complete the checklist tomorrow morning.

Reviewer Checklist

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[x] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

https://github.com/Expensify/App/assets/16502320/f765dad4-143d-4b82-9f81-a048282d0625

Android: mWeb Chrome

https://github.com/Expensify/App/assets/16502320/91daa20f-440f-42e1-9b88-7d8a649b3a84

iOS: Native

https://github.com/Expensify/App/assets/16502320/037a9bc2-2c40-4a1e-9e16-ab43fcbc8f1f

iOS: mWeb Safari

https://github.com/Expensify/App/assets/16502320/a5118509-4170-47b6-9ae0-9514d0fed864

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/16502320/42038399-17c0-431a-a632-a425a8edcbd6

MacOS: Desktop

https://github.com/Expensify/App/assets/16502320/88d7e40a-eade-411d-a974-e90eef7b8ecc

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/yuwenmemon in version: 9.0.4-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Cherry-picked to staging by https://github.com/tgolen in version: 9.0.4-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

This PR caused this blocker https://github.com/Expensify/App/issues/45062 because the ConvertTrackedExpenseToRequest command doesn't accept a receipt as a parameter.

🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.5-13 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.6-8 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


xarchiver: replace unfree rar handler

Motivation for this change
Since version <IP_ADDRESS>, Xarchiver supports using either unrar or unar to
unpack .rar files. The former being released under an unfree license,
using the latter by default is preferable.
This avoids indirectly guarding the xarchiver package under
nixpkgs.config.allowUnfree due to the dependency on unrar.
Users who would like to use the unfree implementation may do so by
adding the unrar package to the environment from which they are calling
xarchiver.
Related issue: https://github.com/NixOS/nixpkgs/issues/16868
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Is there any difference between the two? Does upstream has any doc about this? I couldn't find any.

@SuperSandro2000 wrote:

Is there any difference between the two?

unar is released under a free licence while unrar is not.
Both support unpacking RAR files up to RAR version 5.0 (the latest to date).
Note that Debian suggests unar and not unrar as an optional dependency for the
xarchiver package: https://packages.debian.org/buster/xarchiver

Does upstream has any doc about this? I couldn't find any.

I could not find any documentation on Xarchiver's side either, but here are the
two commits adding support for unar since xarchiver version <IP_ADDRESS>:

https://github.com/ib/xarchiver/commit/ddb96b646e9548c8752a42d10d9b6c187418b3d6
https://github.com/ib/xarchiver/commit/4490d82c71abb04e9f0c3ade8723a6cbb6a863f4


workbench.editor.closeOnFileDelete should be false by default

workbench.editor.closeOnFileDelete should be false by default.
See #55284.

Duplicate of https://github.com/Microsoft/vscode/issues/47930


[CRYPTO-135]CryptoOutputStream is always blocking

int write(ByteBuffer src) should not do blocking write but return actual write out bytes which underlying output writes.
I add a NetworkStreamTest to test such non-blocking write.

Coverage increased (+0.7%) to 74.11% when pulling<PHONE_NUMBER>e54382be65c01444f7cef700f2c411 on cjjnjust:master into 158be0644c353a617427ab190a4f09082cda42ac on apache:master.

@sundapeng @winningsix  Any other comments?

@sundapeng @winningsix  do we have any other consideration for this? any other comments?

OK, please go ahead.


How to use mmdet API to inference

Hi, I'm trying to use the tusimple_small model to detect lanes in a simple image.
Is it possible to use mmdet API to do it? Otherwise, how can I infer using a image (array) as the input, and not a .json file?
Thanks,

Have you figured out how to do this yet? Have the same question!

@harishsatishchandra Unfortunately not, so I decided to use another repository.
https://github.com/ibaiGorordo/Ultrafast-Lane-Detection-Inference-Pytorch-
It worked fine for my application.


Window Corruption Upon Loading Monitor Configuration After Waking From Sleep

VSCode Version: Code 1.10.1 (653f8733dd5a5c43d66d7168b4701f94d72b62e5, 2017-03-02T00:33:15.706Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

cake-vscode
cake-build
0.6.0

cpptools
ms-vscode
0.10.2

csharp
ms-vscode
1.7.0

slack
sozercan
0.0.13

cmake
twxs
0.0.17

Steps to Reproduce:
(Note: My monitor configuration does not persist upon waking from sleep)

Let display go to sleep
Unlock computer
Load monitor configuration from NirSoft's MultiMonitorTool

P.S - Slack acts similarly and the entire application window is corrupted, whereas only the tab bar in Chrome is affected.

Still happening?


Add attribute for singularity variant

Now that there are multiple forks of Singularity (e.g. AppTainer, Singularity CE), in addition to SINGULARITY_VERSION, it would be useful to add the variant as an attribute (suggested name: SINGULARITY_VARIANT). According to @DrDaveD, this is the first word of the output of singularity --version, for example
singulary-ce version 3.9.0-rc.3

should result in SINGULARITY_VARIANT="singularity-ce".
This is especially important since AppTainer plans to reset their version to 1.0.0 and start numbering from there.

@matyasselmeci  Have a counter-proposal
What about SINGULARITY_FULL_VERSION, containing the whole string returned by singularity --version
Or, even better CONTAINERSW_FULL_VERSION, since it is not only singularity. It is also apptainer, soon maybe also podman.
In short, my preference would be:

CONTAINERSW_FULL_VERSION containing the whole version string
SINGULARITY_FULL_VERSION containing the whole version string (if 1 is not OK)

I'm OK with using the whole version string. The issue with CONTAINERSW_FULL_VERSION though is what if you have multiple runtimes installed, e.g. both singularity and podman - which one would you report?

The only one used by the glidein.
Currently it is a flavor of singularity, the first one encountered in the search places, with preference for apptainer, then singularity, then singularity-pro (singularity-ce).
GlideinWMS is advertising also:
CONTAINERSW_PATH
CONTAINERSW_VERSION
CONTAINERSW_FULL_VERSION
CONTAINERSW_MODE

For now, these are the same as the SINGULARITY_ variables. The idea is that in the future someone will require also the support of another container software and these variables will all point to the one that has to be used (as requested by the VO or the site). Probably a CONTAINERSW_NAME or CONTAINERWS_ID will have to be added to select different behaviors depending on the name of the container sw. I'd like the idea to start thinking along these ways because there is no guarantee that apptainer will not diverge in behavior from singularity

Do you think in the future we'll have to advertise the availability and versions of multiple container software (all the ones that are installed and available)?
In this case, we may need a SINGULARITY_FULL_VERSION, PODMAN_FULL_VERSION and maybe also APPTAINER_FULL_VERSION.

What about a nested classad?
CONTAINERSW_VERSIONS = [ SINGULARITY="singularity-ce 3.5.5"; APPTAINER="apptainer 1.0"; PODMAN="4.1.0"; ]

I think I'm fine with only reporting the one glideinwms will use by "default", though. @rynge , @bbockelm , what do you think?

Yes, I think this is part of a larger discussion about what takes precedence and would we ever support more than one at the same time? If it is one and one only, just reporting that version is fine.

GlideinWMS as of 3.9.5 will look in the following places for the following binaries:
    # 1. Optional: Look first in the override path (GLIDEIN_SINGULARITY_BINARY_OVERRIDE)
    # 2. Look for 'apptainer' and then 'singularity' in the path suggested via $1 (SINGULARITY_BIN)
    #      (keywords: PATH -> go to step 3 - ie start w/ $PATH;
    #           OSG -> OSG location, and continue from step 3 if failed, this is the default)
    # 3. Look in $PATH for 'apptainer' and then 'singularity'
    # 4. Invoke module singularitypro
    # 5. Invoke module singularity
    # 6. Look in the default OSG location
    #   (OSG_SINGULARITY_BINARY_DEFAULT="/cvmfs/oasis.opensciencegrid.org/mis/singularity/bin/singularity")

The first one found that passes all the tests is the one used to populate the SINGULARITY_ and CONTAINERSW_ variables.
The binary, whichever it is, it is supposed to behave like singularity (there are some compensations for differences found in different versions).
In the future probably will be desirable to support multiple container softwares with different behaviors.
When that happens I'm expecting a preference-ordered list with all the acceptable binaries.
I'm not sure if it will have to be the pilot job to discover and adverise all the available container sowtwares and if it is, defining ad hoc variables for each container software probably is not ideal.

The variable to use is CONTAINERSW_FULL_VERSION
GWMS is advertising also SINGULARITY_FULL_VERSION with the same content, but we'd prefer users to move to the new naming.


Edit.ToggleBlockComment not working for Python files

This issue has been moved from a ticket on Developer Community.

Hot Keys for toggling comments on or off is not working for Python files. To reproduce:

Create a python file (like test.py).
In python file just created type any word or sentence and press default key combo ctrl+k,ctrl+/ to comment the line out.
An error is given "The key combination (Ctrl+k,Ctrl+/) is bound to command (Toggle Line Comment) which is not currently available."

If you do the same steps but create a cpp file instead it will work.

Original Comments
Feedback Bot on 3/28/2023, 08:03 PM:
(private comment, text removed)

Original Solutions
(no solutions)

Hi there, you could use Ctrl+K+C/Ctrl+K+U to comment and uncomment code block for python. Thanks!


Is there any way to have this support TabBarItems?

i used
 self.tabBarController?.tabBar.items![1].valueForKey("view") as? UIView

version 0.1.7 supports any subclass of ``UITabBarItems`. Cheers.


Support to specify client kerberosAuthType as fromTicketCache

:mag: Description
The use case:

the user code running in flink cluster and wrapped by transparent ugi.doAs

the current UserGroupInfomation is the proxy user not login/real user

user specify url with kyuubiClientTicketCache but does not work

the proxy UserGroupInfomation is used and then throw GSS issue.

Caused by: org.apache.kyuubi.shade.org.apache.thrift.transport.TTransportException: GSS initiate failed
    at org.apache.kyuubi.shade.org.apache.thrift.transport.TSaslTransport.sendAndThrowMessage(TSaslTransport.java:232)
    at org.apache.kyuubi.shade.org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:316)
    at org.apache.kyuubi.shade.org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37)
    at org.apache.kyuubi.jdbc.hive.auth.TSubjectTransport.lambda$open$0(TSubjectTransport.java:47)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:422)
    at org.apache.kyuubi.jdbc.hive.auth.TSubjectTransport.open(TSubjectTransport.java:42)
    at org.apache.kyuubi.jdbc.hive.KyuubiConnection.openTransport(KyuubiConnection.java:458)
    at org.apache.kyuubi.jdbc.hive.KyuubiConnection.<init>(KyuubiConnection.java:207)
    ... 22 more

The root cause is that, for this case, the result of isHadoopUserGroupInformationDoAs is true.
So, isFromSubjectAuthMode is true.
In this pr, I want to specify the kerberosAuthType to fromTicketCache, and do not check isHadoopUserGroupInformationDoAs.
After this pr, customer can specify kerberosAuthType=fromTicketCache to leverage ticket cache prefer than ugi.doAs.
Issue References 🔗

This pull request fixes #
Describe Your Solution 🔧
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Types of changes :bookmark:

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Test Plan 🧪
Behavior Without This Pull Request :coffin:
Behavior With This Pull Request :tada:
Related Unit Tests

Checklist 📝

[ ] This patch was not authored or co-authored using Generative Tooling

Be nice. Be informative.

Codecov Report
Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (4855ffe) 61.27% compared to head (098a37b) 61.21%.
 Consider uploading reports for the commit 35bcbee to get more accurate results

Files
Patch %
Lines

.../org/apache/kyuubi/jdbc/hive/KyuubiConnection.java
0.00%
3 Missing :warning:

.../kyuubi/jdbc/hive/auth/KerberosAuthentication.java
0.00%
2 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5961      +/-   ##
============================================
- Coverage     61.27%   61.21%   -0.07%
  Complexity       23       23
============================================
  Files           622      622
  Lines         36882    36886       +4
  Branches       5014     5016       +2
============================================
- Hits          22599    22579      -20
- Misses        11854    11871      +17
- Partials       2429     2436       +7

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Event listener fired after message sent Causes mailable failure if exception was thrown

Laravel Version
8
PHP Version
8
Database Driver & Version
8
Description
When I set a lister for the Laravel's MessageSent event, the logic in the listener gets executed with the mailable it's self therefore when an exception is thrown in the listener the mailable fails.
This is unexpected knowing that the logic that would be handled after the email was sent is separate from the email sending logic.
Reference : https://laravel.com/docs/8.x/mail#events
Steps To Reproduce
Set a mailable and define a listener for that event and throw an exception in the listener then queue a mailable, the mailable would fail cuz of the exception thrown in the listener
Ref : https://laravel.com/docs/8.x/mail#events

Hey there,
Unfortunately we don't support this version of the library anymore. Please check out our support policy on which versions we are currently supporting. Can you please try to upgrade to the latest version and see if your problem persists? If so, please open up a new issue and we'll help you out.
Thanks!


Acceptance Criteria:
-I can input league settings(league name, size, scoring style, etc.)
-I can add/invite other users to the league


error: No such file or directory (os error 2)

System infomation: Darwin <IP_ADDRESS>.static.m1net.com.sg 21.6.0 Darwin Kernel Version 21.6.0: Mon Feb 19 20:24:34 PST 2024; root:xnu-8<IP_ADDRESS>7.4~1/RELEASE_X86_64 x86_64
Run command : gh-xplr DC-Melo/sunflower-family
command output:
Cloning into '/var/folders/gb/5q9_cggs35x8s1cvtpnj3z9c0000gp/T/gh-xplr.1713331639081'...
X11 forwarding request failed on channel 0
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 8 (delta 0), reused 5 (delta 0), pack-reused 0
Receiving objects: 100% (8/8), 10.88 MiB | 3.58 MiB/s, done.
error: No such file or directory (os error 2)

Hi. Thanks for reporting. Sorry but I don't have the bandwidth to look into this at this moment. If you know the issue, please feel free to create a PR.


To do app Structure

In this branch, I:

[] Use webpack to bundle JavaScript.
[] Use ES6 modules to write modular JavaScript.
[] Write a function to iterate over the tasks array and populate an HTML list item element for each task.

STATUS: INVALID CODE REVIEW REQUEST 🛑 🛑
Hi @CaptainBawa,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
Kindly format your README using the Microverse template. All the main headers should be present.
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear. And please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


Decrypt Supplementary Data form SDS API

What is the context of this PR?
It is required for prepop that the data payload retrieved from the SDS API be encrypted to ensure the transmission of the data is secure.
This PR implements decryption of the SDS payload, as well as updating the mock SDS API to encrypt the payload. The encryption mechanism is symmetric, as such both SDS (and the mock) and EQ will share an encryption key to encrypt and decrypt the payload. This is distinct from submission and authentication which uses asymmetric public and private keys.
Changes
app/keys.py: Adding a new key type for supplementary data decryption.
app/routes/errors.py: Handling the new exception MissingSupplementaryDataKey by displaying the 500 internal server error page.
app/services/supplementary_data.py: Adding new exception MissingSupplementaryDataKey.
Method get_supplementary_data first checks that the Supplementary Data decryption key exists in the KeyStore, if it does not, it throws a MissingSupplementaryDataKey to render the internal server error page. This method also now calls the new method decrypt_supplementary_data after decoding the successful SDS API response payload.
New method decrypt_supplementary_data added which expects a MutableMapping object which should be the decoded payload from a successful SDS API request. Throws a Validation exception if either the encryption_key_id or data JSON key-values are not present. Using the key in the KeyStore specified with the encryption_key_id in supplementary_data, the value for the key data is decrypted using sdc.crypto helper methods. This decrypted object is set as the value for data, and the modified supplementary_data is returned.
New method get_key_store added so the KeyStore can be retrieved without code duplication across methods in this file.
app/setup.py:  validate_required_keys called for the Authenication key purpose, ensuring at start-up, the public and private keys used for Authentication, are present in the executing environment's keys file.
dev-keys.yml: Adding a development only key for use by both EQ and SDS mock to decrypt and encrypt respectively. Generated using the method for private keys specified here.
scripts/mock_data/: Adding the encryption_key_id key-value to the SDS data payloads.
scripts/mock_sds_endpoint.py: New method encrypt_mock_data which takes a mock sds data message and encrypted the value of data using helper methods from sdc.crytpo along with the new encryption key added to dev-keys.yml.
tests/app/services/test_request_supplementary_data.py: Amended existing supplementary data tests to mock an SDS API response to contain an encrypted payload, and to then later assert the decrypted payload is present. Where required additional patches have been added to mock the method decrypt_supplementary_data to return the decrypted payload.
Added tests for decrypt_supplementary_data to test successful decryption and failure paths in isolation.
Added test for exception when the encryption key does not exist in the KeyStore.
tests/integration/integration_test_case.py: Adding the supplementary data key to the app set up KeyStore.
tests/integration/routes/test_session.py: Added tests for invalid supplementary data being returned form the API call, and missing encryption key. Happy path decryption is covered by existing tests.
Removed duplicated code which checked that the 500 internal server error page had rendered for many tests.
tests/jwt-test-keys/sdc-sds-supplementary_data-encryption-private-v1.pem: The supplementary data key that was generated and is used throughout these changes.
How to review
Existing supplementary data payloads should be successfully loading into the survey when launched.
Place breakpoints in the mock SDS API where encryption takes place, and verify the data is encrypted.
Place a breakpoint on line 74 of supplementary_data.py and observe that an encrypted payload is delivered, and is decrypted and interpreted as a python object.

 SDS data decryption - Runner implementation (3 SP)


HOW to delete the MapBox and OpenstreeMap displayed on my MM

Hello,
HOW to delete the MapBox and OpenstreeMap displayed on my MM at the bottom right of the map,
Thank you.

Hello,
In the JS file you, could remove the attribution container. Note that this would most likely be a violation of the MapBox and OSM terms of use.

Ok, thanks, I don't do this, so.


Password for key in SSL

I was trying to configure the SSL for Bandit but I just realised my key file is encrypted and it's required that's not unencrypted, so could we specify the password? I can see that Plug.SSL has the password but that's compiled with the code and I want the possibility to pass that information with the Bandit configuration when it's starting, like certfile and keyfile configurations.

When you say 'Plug.SSL has the password' what are you referring to? Thousand Island (and by extension Bandit) are deliberately unaware of the options you pass to the underlying transport; anything you can pass to the underlying Erlang :ssl library is supported, we just pass it through. I'm not aware of any options to the effect you're looking for

Sorry, I was referring that I was using Bandit options like this:
bandit_opts = [
  plug: MyApp.Router,
  port: 4000,
  otp_app: :myapp,
  scheme: :https,
  certfile: "/certs/path/file.crt",
  keyfile: "/cets/path/file.key",
  thousand_island_options: [
    num_acceptors: 5
  ]
]

Where could I put the password to unencrypt the key file?

It looks like the password option is what you're looking for. Because it's not one of Bandit's convenience options you'll need to set it manually on the underlying transport:
bandit_opts = [
  plug: MyApp.Router,
  port: 4000,
  otp_app: :myapp,
  scheme: :https,
  certfile: "/certs/path/file.crt",
  keyfile: "/cets/path/file.key",
  thousand_island_options: [
    num_acceptors: 5,
    transport_options: [password: "soopersekrit"]
  ]
]

that's what I needed, thanks @mtrudel !!!