Cannot stop a running job

Hello,
Thanks for a wonderful gem! I have a small problem with stopping a running job. Once the job disappears from:
scheduler.jobs
it goes to:
scheduler.running_jobs
i find the job by simply:
scheduler.running_jobs.select { |job| job.job_id == saved_in_database_job_id }
because, this doesn't work:
scheduler.find(saved_in_database_job_id)
The question is: how can i pause / resume / stop a job that is already running.
Example:
I'm sending 10000 emails in one loop to is run as a job scheduled in Rufus Scheduler. I noticed that i'm sending bad content and i want to stop it by using a button on my webpage. So, i'm retrieving the job by using:
@@scheduler.running_jobs.select { |job| job.job_id == saved_in_database_job_id }
What do i do next? How do i stop the running job?
Thank you for any advice! :-)

Hello,
you could do:
@@scheduler.running_jobs.select { |job|
  job.job_id == saved_in_database_job_id
}.last_job_thread.kill

or you could add a condition inside of your loop that checks for some 'global' stop variable. It depends on how your application is thought out.
Cheers,
John


Update Existing Equipment on CSV Import

Right now, sequential imports will create duplicate items, because there's no unique attribute in the CSV upload. My suggestion is to expose a unique primary key in the UI and in the Equipment report.
Then as part of the CSV import if the key is empty on import, create new item, if exists and is in user’s team, update, if key doesn’t match, or isn’t in team, fail.
This would help fill the gap of no UI feature to do bulk equipment updates, as well as avoid accidental duplicate equipment items. Even if the functionality is partially addressed via a Write API, this would lower the programming barrier for department managers to keep update item information

Votes: 3
Author: guatemal
Voters: guatemal,jruhe,viendih

add primary key column

related to #757


Element - Is Main Element bug

Element edit page, Set to main element function doesn't update previous main element to false.

Fixed in 0.58.0.
Additionally, since in edit page, cancel button doesn't work for 'Set as main element' function, it was moved to element list page.


fix: alphabetize useDefineForClassFields in Compiler Options

Description

the rest seem to be alphabetized, but this one was out of place

Tags
Noticed this while checking for discrepancies between Compiler Options and TSConfig Reference after #1092

👍🏻


IMU and Encoder Sensor Fusion

Get a state estimation node from robot_localization running with IMU and Encoder sensor inputs.

robot_localization's ukf_localization_node tested with encoder data alone.


Cannot Delete Users

Running Version v1.1.0
PDOException #42S02
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'pufferpanel.actions_log' doesn't exist

Upon trying to delete users that had 2FA to recreate them to not use 2FA, this error came up and the user was not deleted.

Unfortunately, I believe this issue is related to the database issues you were having previously. We can speak more on Discord about resolving this issue for you.


PHP leftovers?!

tmp = Event($this->instance)
https://github.com/ProcessOut/processout-python/blob/master/processout/customer.py#L286
https://github.com/ProcessOut/processout-python/search?utf8=✓&q=this->&type=Code

The leftovers were due to the way the library is automatically generated based on the API specifications.
This is now fixed!


adding password reset

Yeah we can do something like that but i think we should stick with our first idea and have the incentive to create an account be if the users want to view the class discussions. Things like news and schedule and possibly some other stuff should probably be accessible even if the user doesn't have an account.


fix fastcall mangling for rust_psm_on_stack

All but the label were @16, but the label itself was @20.  This was causing an error trying to build a mingw-w64 (windows-gnu) rust using clang/lld.

Huh, I'm pretty sure we run tests for i686-pc-windows-gnu in CI. I wonder if its because the Windows' implementation actually uses the Fibers implementation and the toolchain used in the CI optimizes out the reference to the symbol, but not whatever toolchain you're using in msys2?

Published as 0.1.14

Published as 0.1.14

Forgive my rust ignorance, but how do I use this when building rustc?  There's a Cargo.lock file that references:
[[package]]
name = "psm"
version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "96e0536f6528466dbbbbe6b986c34175a8d0ff25b794c4bacda22e068cd2f2c5"
dependencies = [
 "cc",
]

I guess I can update the version to "0.1.14" but where do I find the checksum?  This seems to be a file intended to be updated by cargo, but having not successfully built rust yet...

cargo update -p pam?
On Mon, 19 Jul 2021, 01:12 jeremyd2019, @.***> wrote:

Published as 0.1.14
Forgive my rust ignorance, but how do I use this when building rustc?
There's a Cargo.lock file that references:
[[package]]
name = "psm"
version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "96e0536f6528466dbbbbe6b986c34175a8d0ff25b794c4bacda22e068cd2f2c5"
dependencies = [
"cc",
]
I guess I can update the version to "0.1.14" but where do I find the
checksum? This seems to be a file intended to be updated by cargo, but
having not successfully built rust yet...
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/rust-lang/stacker/pull/54#issuecomment-882123139, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFFZURM7VRYJSF53DVPCXLTYNGTZANCNFSM47Z3SOAA
.

psm*
🪛 📱 ⌨
On Mon, 19 Jul 2021, 03:03 Simonas Kazlauskas, @.***> wrote:

cargo update -p pam?
On Mon, 19 Jul 2021, 01:12 jeremyd2019, @.***> wrote:

Published as 0.1.14
Forgive my rust ignorance, but how do I use this when building rustc?
There's a Cargo.lock file that references:
[[package]]
name = "psm"
version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "96e0536f6528466dbbbbe6b986c34175a8d0ff25b794c4bacda22e068cd2f2c5"
dependencies = [
"cc",
]
I guess I can update the version to "0.1.14" but where do I find the
checksum? This seems to be a file intended to be updated by cargo, but
having not successfully built rust yet...
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/rust-lang/stacker/pull/54#issuecomment-882123139,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFFZURM7VRYJSF53DVPCXLTYNGTZANCNFSM47Z3SOAA
.

Well, that updated it to 0.1.13 but I'm trying to get 0.1.14

@nagisa it's not actually published. When I go to https://crates.io/crates/psm/versions version 0.1.13 is the most recent one.

Ran cargo publish. Not sure how this happened :shrug: but I guess it suggests there's some space for automation here ^^

No problem, it's easy to use git version in Cargo.

Thanks, that got the Cargo.lock file to update through the command you gave.


pkg_rpm "cannot stat" data files in 0.2.2

Given a BUILD file such as the following:
load("@rules_pkg//:rpm.bzl", "pkg_rpm")

pkg_rpm(
    name = "fake-package",
    architecture = "x86_64",
    data = ["//src:test.txt"],
    version = "0.1.0",
    release = "0",
    spec_file = "fake-package.spec",
)

and a spec file such as:
Summary: Fake package for testing
Name: fake-package
Version: 0.1.0
Release: 0
License: MIT

%description
A fake package that lets me test stuff

%install
install -d -m 0755 %{buildroot}/etc
install -m 0755 {test.txt} %{buildroot}/etc

%files
/etc/test.txt

the following error is produced by rpmbuild:
Error calling rpmbuild:
Executing(%install): /bin/sh -e /tmp/tmpiUpfJr/TMP/rpm-tmp.8Xjyu0
+ umask 022
+ cd /tmp/tmpiUpfJr/BUILD
+ '[' /tmp/tmpiUpfJr/BUILD '!=' / ']'
+ rm -rf /tmp/tmpiUpfJr/BUILD
++ dirname /tmp/tmpiUpfJr/BUILD
+ mkdir -p /tmp/tmpiUpfJr
+ mkdir /tmp/tmpiUpfJr/BUILD
+ install -d -m 0755 /tmp/tmpiUpfJr/BUILD/etc
+ install -m 0755 src/test.txt /tmp/tmpiUpfJr/BUILD/etc
install: cannot stat 'src/test.txt': No such file or directory
error: Bad exit status from /tmp/tmpiUpfJr/TMP/rpm-tmp.8Xjyu0 (%install)

RPM build errors:
    Bad exit status from /tmp/tmpiUpfJr/TMP/rpm-tmp.8Xjyu0 (%install)

No RPM file created.

Reverting the "buildroot" changes made in this change set (lines 212-223) appears to resolve this issue. What was the reasoning for those changes? They appear unrelated to the commit message, which is simply replacing abseil with argparse.

My recollection is that the buildroot changes were to make things work, but that is sort of vague.
This doesn't quite make sense to me.
install -m 0755 {test.txt} %{buildroot}/etc

%files
/etc/test.txt

The syntax {test.txt} is new to me, but seems a basic problem, since we can have many files named test.txt, as long as they are in separate packages.
Then /etc/test.txt in %files is also weird, because test.txt should either be in /src or /.
I'll have to make another pass to figure out what is the right path out of this.

Currently this issue is a blocker for moving from the builtin pkg_rpm to @rules_pkg. I believe it is also related to #107.
@aiuto -
As for the {test.txt} syntax, this is what's currently expected by the following code in the rpm.bzl file:
    substitutions = {}
    for data_file in ctx.files.data:
        key = "{%s}" % data_file.basename
        substitutions[key] = data_file.path
    ctx.actions.expand_template(
        template = ctx.file.spec_file,
        output = spec_file,
        substitutions = substitutions,
    )

Building the substitution key using a different value than basename would be more precise, but would also be more verbose and possibly break backward compatibility.
The example spec file from @apt-itude is what a typical spec file would look like. The %install and %files sections should align (e.g. putting test.txt in /etc in this case). I believe this may also be the issue experienced in Pull Request https://github.com/bazelbuild/rules_pkg/pull/108#issuecomment-547043567.  The test_rpm.spec file should have an %install section that looks like the example given by @apt-itude above.

This may be fixed by #108

Waiting for verification of fixed at head

I don't work with Bazel on a regular basis anymore, so I can't comment on whether the issue is resolved. Can you assign to @adruch since they appear to be directly affected by this issue currently?

Friendly ping.  As a heads up, the next major Bazel release will drop the internal pkg_rpm and pkg_deb (maybe not pkg_tar, but that will be soon after).

closing as stale


tests integ: Adding ethernet mtu tests

The following scenarios are added to the ehternet integration tests:
(Relative to the mtu default value of 1500)
- Increase mtu
- Decrease mtu
- Increase mtu to the upper jambo limit
- Increase mtu to be bigger than jambo upper limit
- Decrease mtu to zero
- Decrease mtu to negative value
- Decrease mtu to lower than min limit

@EdDev: STDCI errors with:
tests/integration/ethernet_mtu_test.py ./bin/bash: line 8:   210 Segmentation fault      (core dumped) pytest --log-level=DEBUG --durations=5 --cov=libnmstate --cov=nmstatectl --cov-report=html:htmlcov-py27 tests/integration

http://jenkins.ovirt.org/job/nmstate_nmstate_standard-check-pr/203/display/redirect

I think you managed to crash libnm.

I opened https://bugzilla.redhat.com/show_bug.cgi?id=1642625 .
I suspect it is related to the mtu=10000 test.

Well, it is not related to one specific change:
tests/integration/ethernet_mtu_test.py::test_increase_iface_mtu PASSED   [  7%]
tests/integration/ethernet_mtu_test.py::test_decrease_iface_mtu PASSED   [ 14%]
tests/integration/ethernet_mtu_test.py::test_upper_limit_jambo_iface_mtu PASSED [ 21%]
tests/integration/ethernet_mtu_test.py::test_decrease_to_zero_iface_mtu /bin/bash: line 9:   226 Segmentation fault      (core dumped) pytest -vv --log-level=DEBUG --durations=5 --cov=libnmstate --cov=nmstatectl --cov-report=html:htmlcov-py27 tests/integration

tests/integration/ethernet_mtu_test.py::test_increase_iface_mtu PASSED   [  7%]
tests/integration/ethernet_mtu_test.py::test_decrease_iface_mtu /bin/bash: line 9:   228 Segmentation fault      (core dumped) pytest -vv --log-level=DEBUG --durations=5 --cov=libnmstate --cov=nmstatectl --cov-report=html:htmlcov-py27 tests/integration

ci test please

ci test please


Limit user name to 250 chars

Rough modifications needed for the issue:

Modify bind and edit_name functions on user_prompts.rs to ensure names with over 250 chars don't get accepted
If over 250, it should show an error text with the details, disable the confirm button, and add the error CSS to the entry
Perhaps the bind function should be separated for name and image editing for easier handling similar to bind_int for numbers

I would like to contribute to this feature!

@Dianesaur Thank you for your interest! Feel free to contribute to it. I have modified the description a bit to highlight what changes are needed to make it work. If you have any questions, confusion or need help with something, you can always ask here.

@TheRustyPickle Hi I'm so sorry I have zero experience with coding and I thought I could be able to find a way to work on it through youtube and trial and error. But I realized that there's actual non code ways to contribute so I think I would like to give this someone who's more experienced? Or at least take me off the list of expecting to contribute? Again so sorry,


[WIP] GraphPg::to_graph_mem() method

Superseded by https://github.com/Inversed-Tech/hawk-pack/pull/19/files


(Internal) CosmosElement : Add deserializer so that user can deserialize custom POCO in any format.

(Internal) CosmosElement : Add deserializer so that user can deserialize custom POCO in any format.
Description
This PR adds a deserializer, so that a user can deserialize their custom POCO similiar to newtonsoft's JsonConvert.Deserialize(). The user can call on
TryCatch<T> CosmosElementDeserializer.TryDeserialize<T>(ReadOnlyMemory<byte> buffer).
The benefits of this API over newtonsoft's is:

Supports our notions of JSON

Multiple encoding formats
Extended types (ex. Binary, Guid, and numeric types like int8)

Exceptionless

The con right now is that is not performant. I added a benchmark and got the following results:
[11:40 AM] Brandon Chong

|                                          Method |       Mean |    Error |   StdDev |    Gen 0 |    Gen 1 | Gen 2 |  Allocated |
|------------------------------------------------ |-----------:|---------:|---------:|---------:|---------:|------:|-----------:|
|   CosmosElementDeserializer_TryDeserialize_Text | 4,471.6 us | 49.56 us | 46.36 us | 500.0000 | 234.3750 |     - | 2927.55 KB |
| CosmosElementDeserializer_TryDeserialize_Binary | 3,052.1 us | 59.48 us | 55.64 us | 398.4375 | 199.2188 |     - | 2348.84 KB |
|              JsonConvert_DeserializeObject_Text |   855.7 us | 19.08 us | 17.85 us |  90.8203 |   2.9297 |     - |  373.91 KB |
|            JsonConvert_DeserializeObject_Binary | 1,397.6 us | 26.88 us | 34.95 us | 115.2344 |  23.4375 |     - |  477.37 KB |

So we are about 3.5x as slow. There are two optimizations that I will try in future PRs:

use JsonReader, instead of CosmosElement to avoid navigation and memory allocation
add a cache for reflection calls

A deserializer implies that we could use a serializer, so in another PR I will add:
ReadOnlyMemory<byte> CosmosElementSerializer.Serialize(object poco, JsonSerializationFormat jsonSerializationFormat)

What do text and binary here represent? wire format?

The System.Text.Json JsonSerializer supports ReadOnlySpan<byte>, (https://docs.microsoft.com/en-us/dotnet/api/system.text.json.jsonserializer.deserialize), in V4 we have a dependency on System.Text.Json, in that case, which would be the benefit of maintaining our own serializer? Wouldn't that add a lot of work just to maintain this single component and make sure it is performant as users take a dependency on it?


Removal Suggestions

Suggest anything that should be removed because it doesn't fit the mod collection.

Boomalopes and Boomrats, maybe (some) exotic animals like ostriches?


[WIP] Expose group info to C API + other wrappers

Doing my best at taking over from @hcho3 @ #3514
TODOs:

[x] Add C++ test
[ ] Expose the function to Python wrapper
[ ] Expose the function to Java/Scala wrapper
[x] Expose the function to R wrapper

Codecov Report

Merging #3566 into master will increase coverage by 0.2%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##             master    #3566     +/-   ##
===========================================
+ Coverage     50.38%   50.59%   +0.2%
  Complexity      188      188
===========================================
  Files           172      172
  Lines         13985    14014     +29
  Branches        457      457
===========================================
+ Hits           7047     7090     +43
+ Misses         6713     6699     -14
  Partials        225      225

Impacted Files
Coverage Δ
Complexity Δ

tests/cpp/data/test_metainfo.cc
95.83% <100%> (ø)
0 <0> (ø)
:arrow_down:

tests/cpp/c_api/test_c_api.cc
100% <100%> (ø)
0 <0> (ø)
:arrow_down:

src/c_api/c_api.cc
27.62% <100%> (+3.98%)
0 <0> (ø)
:arrow_down:

tests/cpp/data/test_sparse_page_dmatrix.cc
96.87% <100%> (+0.04%)
0 <0> (ø)
:arrow_down:

python-package/xgboost/plotting.py
78.57% <0%> (ø)
0% <0%> (ø)
:arrow_down:

python-package/xgboost/training.py
97.02% <0%> (ø)
0% <0%> (ø)
:arrow_down:

python-package/xgboost/core.py
82.6% <0%> (ø)
0% <0%> (ø)
:arrow_down:

python-package/xgboost/sklearn.py
84.55% <0%> (+0.05%)
0% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

I've exposed it to R and have fixed the C++ test. Was the plan to use this same PR also for adding the Python/Java/Scala parts?

@khotilov Thanks. I'll be adding Python part and @Helw150 Java/Scala

I should be free up to work on the JNI and then Scala/Java stuff in the next couple of days! Thanks so much @khotilov for doing the heavy lifting

I believe the java/scala group getters are now in this PR https://github.com/dmlc/xgboost/pull/4838


utf-8 not work

Because the terminal is not able to recognize the tildes "versiÃ³n".
How can I configure my terminalfx to correctly display the texts in utf-8 and recognize the tildes and ñ?

Can you share the steps how to reproduce it?

Good, attached link so you can see the code. He used jdk8 and followed your instructions for use with the version you indicate ->
<! - Add dependency for Java 8 ->

 com.kodedu.terminalfx
 terminalfx
 1.0.8

Everything works correctly except the utf-8 charset which does not recognize it.
What modification would be necessary?
https://github.com/danemaker/Terminal-JFX-JDK8


[Date Converter] The Month Output Is Displaying in English When Set To a Different Language.

Pre-Conditions
Set PC to a RtL language such as Hebrew for the primary display language.
Repro Steps

Launch the Calculator build 10.1902.20.0.
Confirm the app is being displayed in a RtL language such as Hebrew.
Use the app menu to navigate to Date Converter.
Select difference between dates, or the top field.
Observe while most of the app while display in a different language the output for the two container fields will show the month being displayed in English, such as March 13, 2019.
Select any of the two containers.
Observe in the drop down menu for the containers the month is displayed in the primary language.
Navigate to Add and Subtract dates or the bottom field at the top of the app.
Observe the output for the answer field at the bottom is displaying the day and month in * English while the rest of the app is in a different language.

This is your friendly Microsoft Issue Bot. I created this issue automatically as requested by a team member.

Set PC to a RtL language such as Hebrew for the primary display language.

What are the other language/region/locale settings on your PC?
Would you be able to provide the following from the Settings app:

The list of your "Preferred languages".
The "Country or Region".
The "Regional format".

This would help to narrow down where the issue might be coming from.
Thanks!


Improve controls

Full keyboard support:

[x] R to restart
[x] Cell chosing with arrows
[x] Cell open with space
[x] Cell mark with shift or ctrl may be

Full mouse support:

[ ] Restart button
[x] Left click to open
[x] Right click to mark

done


Feature Request: Show/hide splashscreen in dart

When launching my Flutter application, the splashscreen is shown. After the first Flutter frame is rendered, the splashscreen will be hidden and the Flutter view will be loaded and shown.
However during loading the Flutter view it needs some time to store a big asset image in the image cache. The asset image is actually the same as the splashscreen image, but now as background image loaded from the assets folder.
I can preload this image like this:
preloadBackground() async {
    final ImageConfiguration config = createLocalImageConfiguration(context);
    Image image = Image.asset('assets/background.jpg');
    Completer<ui.Image> completer = new Completer<ui.Image>();
    image.image.resolve(config).addListener((ImageInfo info, bool _) {
        completer.complete(info.image);
    });

    await completer.future;
}

However it needs the BuildContext for this, and once we can pass the buildContext it also renders the page. So it shows a white screen for some seconds even with preloading.
I also tried lowering the resolution of the background image, but then you can see a big quality difference between the splashscreen and the AssetImage.
This is just an example but I can image other useful scenarios, for example if you want to preload images or data from the internet before the Flutter view is shown.
So it would be great if we can show/hide the splash screen after launching the flutter application, like in Cordova:
navigator.splashscreen.show();
navigator.splashscreen.hide();
And then we also need a settings like:
<meta-data
                android:name="io.flutter.app.android.HideSplashScreenAfterFirstFrame"
                android:value="false" />

And the equivalent setting in the plist file for iOS.
What do you guys think?

Another possible solution: keeping the splashscreen/launch image behind the flutter view and changing the opacity of the flutter view background to zero would also solve this.

Sounds a bit like #25666

What you are asking for has now been implemented in Flutter, using deferFirstFrame and (allowFirstFrame)[https://api.flutter.dev/flutter/rendering/RendererBinding/allowFirstFrame.html].
My package flutter_native_splash uses these calls to allow the developer to only hide the splash screen when their app is ready, such as after assets have been loaded.


Getting IEnumerable of doubles from Mat? Not sure how to port some code

Summary of your issue
Not sure how to port following C++ code to get array/list of doubles for later processing. I technically only need the first part to later use in some statistical libs, such as Mathnet. Code snippet taken from here: https://github.com/eokeeffe/AutoCanny/blob/master/include/auto_canny.h
Environment
Windows 10 x64, VS2019, ocvs 4.3.0
What did you do when you faced the problem?
Cannot proceed further. I tried marshalling from data IntPtr, but cannot do it correctly. Input image is a single-channel CV_8UC1.
Example code:

double medianMat(cv::Mat Input)
{
    Input = Input.reshape(0,1);// spread Input Mat to single row
    std::vector<double> vecFromMat;
    Input.copyTo(vecFromMat); // Copy Input Mat to vector vecFromMat
    std::nth_element(vecFromMat.begin(), vecFromMat.begin() + vecFromMat.size() / 2, vecFromMat.end());
    return vecFromMat[vecFromMat.size() / 2];
}

Output:

What did you intend to be?

static double Median(byte[] bytes)
{
    var ordered = bytes.OrderBy(b => b).ToArray();
    if (ordered.Length % 2 == 0)
        return (ordered[ordered.Length / 2] + ordered[ordered.Length / 2 - 1]) / 2.0;
    return ordered[ordered.Length / 2];
}

static double MedianMat(Mat src)
{
    src.GetArray(out byte[] bytes);
    return Median(bytes);
}

static void Main()
{
    var srcData = new byte[] { 1, 1, 2, 2, 5, 100, 100, 200, 200 };
    using var src = new Mat(srcData.Length, 1, MatType.CV_8UC1, srcData);

    var median = MedianMat(src);

    Assert.Equal(5, median);
}

That works! Thank you.


Start wl-summary-mode in evil-emacs-state

wl-summary-mode would not start in evil-emacs-state otherwise.

Sorry for the (tremendously) late response. Thanks for the help!


[Info] pop ups while writing code in Visual Studio Code

Is there a way to turn off the [Info] pop ups that queue up while writing code in VSCode? I have to manually click to close them and I don't want them appearing while writing new code. It's driving me nuts! Tried Googling the topic and couldn't find anything.

Have you installed a plugin or something? This isn't core VS Code that's spawning the popups, it's probably a plugin that's not entirely working correctly...

I installed the Go Support extension before I started using VSCode. Also installed the following Go libraries:
https://github.com/rogpeppe/godef
https://github.com/nsf/gocode
https://github.com/mitchellh/go-ps
First time using VSCode so didn't realize the popups weren't part of the core code. Can you point me to documentation for restoring VSCode default settings?

@lukehoban fyi

Yeah - I believe this is a bug in the vscode-go plugin.

This issue was moved to Microsoft/vscode-go#50

@andrewrgoss Try to uninstall the go plugin and try it again. If the popups aren't showing up anymore, it's an issue with that plugin and you might file an issue over there.


Update IdleConnectionResiliency with the latest changes from dev branch

Codecov Report

:exclamation: No coverage uploaded for pull request base (IdleConnectionResiliency@1973e5e). Click here to learn what that means.
The diff coverage is 61.5%.

@@                     Coverage Diff                     @@
##             IdleConnectionResiliency     #900   +/-   ##
===========================================================
  Coverage                            ?   48.77%
  Complexity                          ?     2824
===========================================================
  Files                               ?      118
  Lines                               ?    27877
  Branches                            ?     4642
===========================================================
  Hits                                ?    13596
  Misses                              ?    12090
  Partials                            ?     2191

Flag
Coverage Δ
Complexity Δ

#JDBC42
48.29% <61.5%> (?)
2781 <23> (?)

#JDBC43
48.64% <61.5%> (?)
2815 <23> (?)

Impacted Files
Coverage Δ
Complexity Δ

...m/microsoft/sqlserver/jdbc/SQLServerResultSet.java
33.09% <ø> (ø)
260 <0> (?)

...ava/com/microsoft/sqlserver/jdbc/DLLException.java
0% <ø> (ø)
0 <0> (?)

...oft/sqlserver/jdbc/SQLServerSymmetricKeyCache.java
56.25% <ø> (ø)
5 <0> (?)

...rc/main/java/com/microsoft/sqlserver/jdbc/TVP.java
44.12% <ø> (ø)
27 <0> (?)

...a/com/microsoft/sqlserver/jdbc/SQLJdbcVersion.java
0% <ø> (ø)
0 <0> (?)

...va/com/microsoft/sqlserver/jdbc/StreamTabName.java
85% <ø> (ø)
7 <0> (?)

...crosoft/sqlserver/jdbc/dns/DNSKerberosLocator.java
0% <ø> (ø)
0 <0> (?)

...r/jdbc/dataclassification/SensitivityProperty.java
0% <ø> (ø)
0 <0> (?)

...n/java/com/microsoft/sqlserver/jdbc/DataTypes.java
79.88% <ø> (ø)
6 <0> (?)

...rc/main/java/com/microsoft/sqlserver/jdbc/dtv.java
62.68% <0%> (ø)
0 <0> (?)

... and 23 more

Continue to review full report at Codecov.

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


[sentry-native] update to 0.7.11

[x] Changes comply with the maintainer guide.
[x] SHA512s are updated for each updated download.
[x] The "supports" clause reflects platforms that may be fixed by this new version.
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Feature backend,compression,transport tested successfully in the folloeing triplet:

x86-windows
x64-windows
x64-windows-static


Extend SQLListenerContext

I'm trying to integrate SqlDetailedListeners into our existing SQL logging framework.  We log the type of query, and include the SQL parameters and ResultSet info if there is any.  None of this is saved in the SQLListenerContext so it's hard to have a unified logging framework,
I will submit a Pull Review with suggested changes.

Actually on further examination the only thing missing is the PreparedStatement parameters, I propose adding Sqlbindings rather than just the SQL statement to get around this.


Reverse adblocker warning in spiegel.de

As spiegel.de was completely redesigned and relaunched blocking
spiegel-de.spiegel.de
leads to not being able to get passed the new options appearing on the website. Clicking accept leads to a warning that says it's not possible to save the needed cookie.

Reversing #536 and therefore no longer blocking spiegel-de.spiegel.de makes the new accept button work again.
Thanks

Use ublock origin, does it help?

Use ublock origin, does it help?

There is no block origin for Safari on macOS. Adguard and Better are really good, but do not help here.
As stated above removing (or commenting out) spiegel-de.spiegel.de from /etc/hosts solves the problem.

Thanks @tiiiecherle — I have removed spiegel-de.spiegel.de which comes to us via my own, ad-hoc list.
This will be reflected in the next release, shortly.
Closing.

Thanks, have a great weekend ;)


Illegal character encoding error

GCC 9.2.0 generates the following warning:
./libs/LeksysINI/iniparser.hpp:979:88: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
                    return std::string("Parse error in file ") + file_name + " on line <B9>"
                                                                                ^~~~

See https://github.com/Lek-sys/LeksysINI/blob/master/iniparser.hpp#L979

Fixed.


MINOR UI Changes: Stratego Image Update, Card Layout Adjustment, and Login Page Responsiveness Fix

I have updated the following:

Updated the Stratego board game image as the previous link was broken.

Added spacing between the buttons on the board game cards for a cleaner layout, optimized for both mobile and larger mobile screens.

As you can see, there was almost no space at the bottom of the buttons:

I have added proper spacing between the buttons, following the Gestalt principles of UI/UX:

Improved the responsiveness of the login page for better visibility on smaller screens. Previously, the layout extended beyond the screen by a few pixels, which has now been resolved.
Login section was going off the screen:

Improved Version

Please review these changes!!

Summary by CodeRabbit

New Features

Introduced a new board game image for "Stratego."
Improved layout and responsiveness of the login form.

Bug Fixes

Adjusted form submission button to ensure correct functionality.

Style

Enhanced semantic structure and styling for better user experience in both the board game and login components.

If possible please add gssoc-ext label to this

@badmuffin resolve the conflicts and mention issue number

@RamakrushnaBiswal  okay


Help with using Admin Queries

I am trying to follow along with the following article here
Namely the part where they add a user to a group using admin queries.
I am not sure what I am doing wrong as I am not able to make a request to this call. My nextToken is empty and not sure where or how they are getting this value
At the end of the day what I am want to be able to do is during signup process add a user to a specific cognito group and have admin users be able to make changes in the React application
Here is my code.

import React from 'react';
import { Section } from '../../../reusableStyles/sections/Sections';
import { Auth, API } from 'aws-amplify';
export const Test = () => {
  let nextToken;
  const getCurrentUser = async () => {
    const user = await Auth.currentAuthenticatedUser();
    console.log(user.signInUserSession.accessToken.payload['cognito:groups']);
  };

  const listEditor = async () => {
    let apiName = 'AdminQueries';
    let path = '/listUsersInGroup';
    let myInit = {
      queryStringParameters: {
        groupname: 'developers',
        token: nextToken,
      },
      headers: {
        'Content-Type': 'application/json',
        Authorization: `${(await Auth.currentSession())
          .getAccessToken()
          .getJwtToken()}`,
      },
    };
    console.log(path);
    const { NextToken, ...rest } = await API.get(apiName, path, myInit);
    try {
      nextToken = NextToken;
      console.log('next token is', nextToken);
      return rest;
    } catch (error) {
      console.error('There as an Error', error);
    }
  };
  getCurrentUser();
  listEditor();

  return <Section>Testing </Section>;
};

Hello @arhoy
Are you getting a specific error when you try to run this?

If you're experiencing errors here please comment and we'll reopen the issue.


enhancement request: ability to toggle time slider on and off

would be useful, especially right now when the time slider is tending to obscure most of the map.

Noting here that some folks on Discord just asked for this today:
https://discord.com/channels/413070382636072960/634106496560398349/999010832727953548
We do have this style demo without timeslider, to show what that might look like:
https://openhistoricalmap.github.io/map-styles/demo.html
It also lacks URL params, so it's not terribly useful as a stopgap pending getting this request on the roadmap


Level is broken: game dev 2 jailbreak

this level is broken:
https://codecombat.com/play/level/jailbreak?
gives this error:
The initial code to build the world never finished running. It's probably either really slow or has an infinite loop. Or there might be a bug. You can either try running this code again or reset the code to the default state. If that doesn't fix it, please let us know.
You can also open the developer console to see what might be going wrong.(instructions)
console says no property 'die'

Thanks. Fixed.

for the record, it did load today, but there was a return statement as the first line.  I had to comment it out for the level to work.


Rename binary operators

Inside the ast module we have the BinOp type which represents binary operations in all the internal representations. However, the name of the variants are too verbose and we could rename them:
pub enum BinOp {
    Plus, // Change to `Add`
    Minus, // Change to `Sub`
    Times, // Change to `Mul`
    Divide, // Change to `Div`
    Modulo, // Change to `Rem`
    And, // This is fine
    Or, // This is fine
    BitAnd, // This is fine
    BitOr, // This is fine
    BitXor, // This is fine
    Equal, // Change to `Eq`
    NotEqual, // Change to `Neq`
    LessThan, // Change to `Lt`
    GreaterThan, // Change to `Gt`
    LessThanOrEqual, // Change to `Lte`
    GreaterThanOrEqual, // Change to `Gte`
}

This should be relatively straightforward to do and should give you a good tour around the codebase if you are interested :)

Still learning my way around the codebase, so I will gladly take an opportunity to tour all the different parts of it 😄

I never seen Leq and Geq as abbreviations... what about?
LessThanOrEqual, // Change to `Lte`
GreaterThanOrEqual, // Change to `Gte`

I never seen Leq and Geq as abbreviations... what about?
LessThanOrEqual, // Change to `Lte`
GreaterThanOrEqual, // Change to `Gte`

They are equally long so it sounds good to me. I'll update the first comment to reflect that.

closed via https://github.com/christianpoveda/pijama/pull/43


CI: Upgrade Emscripten to 2.0.25

That's the version used by current containers for Godot 3.4.
Not a candidate for cherry-picking to 3.3 as we will stick to version 2.0.15 to avoid surprises.

diff --git a/servers/audio_server.h b/servers/audio_server.h
--- servers/audio_server.h
+++ servers/audio_server.h
@@ -244,9 +244,9 @@
 		AudioCallback callback;
 		void *userdata;

 		bool operator<(const CallbackItem &p_item) const {
-			return (callback == p_item.callback ? userdata < p_item.userdata : callback < p_item.callback);
+			return (callback == p_item.callback ? userdata < p_item.userdata : (void*)callback < (void*)p_item.callback);
 		}
 	};

 	Set<CallbackItem> callbacks;

@akien-mga This should fix the build.

Only for a single occurrence, but there are dozens more. I already added a flag to disable those warnings, but haven't rebased this PR yet.


implement pr - convert text files for printing

The goal is to implement "pr"
The work started here:
https://github.com/uutils/coreutils/pull/1327
I will require some rebasing but it should not be too hard.

I'm going to give it a try.

pr has been semi-implemented by #2300.
The name of this issue is now a bit misleading. Don't know if you want to close it or keep it.

Agreed, issues about pr should now be about specific feature requests or bugs.


chore: drops dependabot

We have security updates enabled for the repository (which does not require dependabot), we don't need other updates as we should be conservative dealing with deps. See https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates

Thank you for contributing to Coraza WAF, your effort is greatly appreciated
Before submitting check if what you want to add to coraza list meets quality standards before sending pull request. Thanks!

Make sure that you've checked the boxes below before you submit PR:

[ ] My code includes positive and negative tests.
[ ] I have an appropriate description with correct grammar.
[ ] I have read Contribution guidelines, maintainers note and Quality standard.
[ ] My code is properly linted and passes pre-commit tests.

Thanks for your contribution :heart:

Instead of dropping dependabot we could limit the libraries it monitor to a core list and it's recursive dependencies. That list is documented under go.mod:

libinjection-go (owned by us)
aho-corasick (not mainteined)
gjson
binaryregexp

I believe golang.org/x/net should be also considered e.g. because of https://github.com/golang/net/commit/63727cc58253c59c71cf8491bb4d7448990d63b8

I'd still drop it. Even if we consider the right dependencies, dependabot PRs are usually red.

Are we dropping this PR?


custom push notification design using the remote views

This is a feature request.
I want to change the push notification style to display, when im checking that android has the concept of Remote views to show the xml file as the display in push notification. I think it is very nice and improvement in the plugin to take the html template file and show as remote views.
required documentation links

https://developer.android.com/reference/android/widget/RemoteViews.html
https://developer.android.com/guide/topics/ui/notifiers/notifications.html#CustomNotification

While researching, I came to know that we need to make RemoteViews object an then we need to give that object to notification builder object dot setContent() method. but the remote view object will be created with .xml layout can we give this option to cordova users to load the html file rather than xml file
RemoteViews remoteViews = new RemoteViews(getPackageName(),
				R.layout.customnotification);

after this
NotificationCompat.Builder builder = new NotificationCompat.Builder(this)
				// Set Icon
				.setSmallIcon(R.drawable.logosmall)
				// Set Ticker Message
				.setTicker(getString(R.string.customnotificationticker))
				// Dismiss Notification
				.setAutoCancel(true)
				// Set PendingIntent into Notification
				.setContentIntent(pIntent)
				// Set RemoteViews into Notification
				.setContent(remoteViews);

More resource:
http://www.androidbegin.com/tutorial/android-custom-notification-tutorial/ (example for custom layout notification in Android)

I really not found a solution for getting the remote views object in cordova, But I think there should be an option in plugin for remote style notification at this line of code.

Is there any improvements on this ?

@pavankumarkatakam I'm not actively working on it but pull requests are welcome.

Thanks for the reply @macdonst , Im willing to give a pull request but im not very much JAVA developer to know about the remote views very in depth, So please tag this issue as need JAVA help so that any one interested can join.


[WIP] IPv6 Address and CIDR to wire

Add some of the basics of ipv6.

Add the ipv6 feature

Ensure there is a travis build with the ipv6 feature enabled.

Add the basic infrastructure to wire for IPv6 support.

Ipv6Address
Ipv6Cidr

Okay, this is way too much code to even discuss, much less merge, in a single PR. Can you please split it into many PRs, and start small? I suggest the following:

Make IPv4 optional by adding a feature gating it.
Add Ipv6Address/Ipv6Cidr.
Add Ipv6Packet/Ipv6Repr.
Please do not yet make any provisions for handling extension headers, multicast, etc, I would like to first see a simple, clean version of the IPv6 basics go in. Then we can think about those superfluous things.

Can you please split it into many PRs, and start small?

Np

Please do not yet make any provisions for handling extension headers, multicast, etc

We can go without extension headers. We will not be able to get to the next header for any packet that contains an option, but even if we find out we need to implement options, we might be able to get away with implementing the absolute basics and not actually parsing the options contained within the given header. We can delay implementing multicast, but we'll need multicast to implement address resolution.

We can go without extension headers.

To elaborate: I'm not saying that smoltcp doesn't need extension headers or multicast. I'm saying that I want to have a good view of the core functionality before I start building on it, so that I don't go overboard with complexity.

Gotcha. Makes way more sense now :smile: I'll try to get a super trimmed down version tomorrow.

Implemented 2 first so that when we add the ipv4 feature we don't hit a ton of unused and unreachable errors

I would strongly prefer that you do not use the i128 type. Not only it requires a feature, but also it is a code generation hazard on the kinds of targets smoltcp aims to be suitable for. E.g. the OR1K backend we use at M-Labs crashes trying to codegen it.

Well, and it breaks the build.

I would strongly prefer that you do not use the i128 type. Not only it requires a feature, but also it is a code generation hazard on the kinds of targets smoltcp aims to be suitable for. E.g. the OR1K backend we use at M-Labs crashes trying to codegen it.

Np, I'll figure out something

Should IpEndpoint have FromStr implementation as well? While it's trivial to split an IPv4 endpoint at ':', IPv6 endpoints are quite tricky: https://tools.ietf.org/html/rfc5952#section-6 . I think the recommended style would be enough, it's the only one std::net::SocketAddrV6 supports: https://doc.rust-lang.org/nightly/src/std/net/parser.rs.html#280 .

@batonius Yes.

Cleaned up some logic

Added some comments to the Ipv6Address Display implementation and a test case for the Ipv6Address parser.


matching with Tabular Data

Let's assume that I have a tabular Data in excel or Pandas Data frame, something like below :

TYPE
NO
UNIT
FAMILY

Change
84785
BU
WIN

Tracking
84778
ER
IOS

Status
84778
ER
IOS

Ready to Ship
84778
BU
WIN

Change
84785
CPBU
WIN

And user Enters below dataFrame

Change
84785
BU
WIN

now it should give me a Output like below :
The Top 2 Matching entries are
Top 1: 100% match and Top 2: 90% match

TYPE
NO
UNIT
FAMILY

Change
84785
BU
WIN

Change
84785
CPBU
WIN

So what is the best way to use RapidFuzz for Tabular Data like above sample Example?
Sould I Merge all tabular data as a single string like :
"Change 84785  BU  WIN"
or I can have match at tabular level as well ???

I would match this in multiple separate steps:
from rapidfuzz.process import cdist

type_score = cdist([query["TYPE"]], choices["TYPE"])
family_score = cdist([query["FAMILY"]], choices["FAMILY"])
...

This gives you a numpy array of the similarities for each of the separate elements. This has the following advantages:

allows you to combine the scores in whichever way you want
allows you to use different scorers for the rows

In addition consider to replace user input fields with drop down lists where sensible. E.g. for the FAMILY field you should have a finite number of possible inputs, so a drop down list of all possible inputs would remove the need to use fuzzy string matching for the field.


rebase to chromium 42.0.2311.68

also marked OnRequestFocusTest flaky because bug=XWALK-3863

@Bysmyyr you need to rebase your roll out. DEPS.xwalk was changed :). It should be quick.

Thanks, it's almost there. We still need 01org/ozone-wayland#371 to be merged first, and then you need to roll oz-wl in your patch.


unavliable Russian version of tour

When you go to the https://go-tour-ru-ru.appspot.com/
You'll meet an error:
Go 1.9 is no longer available. Please refer to https://goo.gl/aESk5L for more information.

Thanks for the report. We're tracking this on #1039, so I'm closing here.


  is not treated correctly in JSX.

When JSX is compiled, non-breaking space is not treated correctly.

    foo   bar

In this block, there should be three visible spaces between the words, but it's collapsed to one at JSX transform time.

Fixed in 0.28.0


Add support for nested parameter resolvers for array values

Add support for resolving array parameter values using parameter resolvers. This is particularly useful when building up array values from various sources.
For example, given the following parameter definition:
my_parameter:
  - stack_output: my-stack/output # value resolves to 'value1'
  - value2

The parameter value will resolve to:
my_parameter: 'value1,value2'

@stevehodgkiss Hmm... replacing the existing array resolver didn't cross my mind when I wrote this.
If this was to replace the existing array resolver, your example would look like:
my_parameter:
  - stack_output: stack/output1
  - stack_output: stack/output2

That doesn't look too bad even though there's a bit of duplication.
I guess people can choose which one they prefer/need.

Released as 0.11.0.


Installing the Static Linux SDK on Linux segfaults intermittently

Is it reproducible with SwiftPM command-line tools: swift build, swift test, swift package etc?

[X] Confirmed reproduction steps with SwiftPM CLI. The description text must include reproduction steps with either of command-line SwiftPM commands, swift build, swift test, swift package etc.

Description
swift-container-plugin's CI has a scheduled GitHub Action which installs the Static Linux SDK in an Ubuntu VM and uses it to build some example projects.   This job fails intermittently with a segmentation fault.     The scheduled job has only been running for a couple of days, but I also saw this problem once while working on the CI job so it has happened at least twice.   The earlier failure log seems to have been lost because I re-ran the job.
I have not yet reproduced this issue in a local Linux machine, and I have never seen it on macOS.
Expected behavior
The SDK should install successfully.
Actual behavior
The SDK install sometimes segfaults:
https://github.com/apple/swift-container-plugin/actions/runs/12269075412/job/34232032783
swift sdk install \
      https://download.swift.org/swift-6.0.2-release/static-sdk/swift-6.0.2-RELEASE/swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz \
      --checksum aa5515476a403797223fc2aad4ca0c3bf83995d5427fb297cab1d93c68cee075
  shell: /usr/bin/bash -e {0}
Downloading a Swift SDK bundle archive from `[https://download.swift.org/swift-6.0.2-release/static-sdk/swift-6.0.2-RELEASE/swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz`...](https://download.swift.org/swift-6.0.2-release/static-sdk/swift-6.0.2-RELEASE/swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz%60...)
Downloading
0%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
6%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
10%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
17%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
19%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
21%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
23%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
24%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
31%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
32%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
32%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
34%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
34%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
36%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
37%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
39%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
43%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
44%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
46%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
48%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
49%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
50%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
51%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
54%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
56%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
59%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
64%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
68%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
70%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
74%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
77%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
80%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
83%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
85%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
91%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
97%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz
100%: Downloading swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz

*** Signal 11: Backtracing from 0x7fea7869af5e... done ***

*** Program crashed: Bad pointer dereference at 0x0000000000000018 ***

Thread 0 "swift-sdk":

0  0x00007fea7864280a <unknown> in libc.so.6

Thread 1:

0  0x00007fea78725e2e <unknown> in libc.so.6

Thread 2 crashed:

0  0x00007fea7869af5e <unknown> in libc.so.6

Thread 3:

0  0x000055f79c0b8c40 llbuild::buildsystem::BuildSystemExtensionManager::~BuildSystemExtensionManager() in swift-package at /home/build-user/llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildSystemExtensions.h:33

Thread 4:

0  0x00007fea78691117 <unknown> in libc.so.6

Thread 5:

0  0x00007fea78691117 <unknown> in libc.so.6

Registers:

rax 0x00000000ffffffff<PHONE_NUMBER>
rdx 0x00007fea60199910  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
rcx 0x00007fea75c40588  00 00 00 00 00 00 00 00 03 00 00 00 05 00 00 00  ················
rbx 0x0000000092a74dfd<PHONE_NUMBER>
rsi 0x0000000000000000  0
rdi 0x0000000000000011  17
rbp 0x00000000ffffffff<PHONE_NUMBER>
rsp 0x00007fea6bffde30  09 00 00 00 00 00 00 00 10 99 19 60 ea 7f 00 00  ···········`ê···
 r8 0x0000000000000000  0
 r9 0x0000000000000000  0
r10 0x0000000000000000  0
r11 0x820de9d6dfe34264<PHONE_NUMBER>716356196
r12 0x00007fea75b615e4  2e 2e 2f 63 72 79 70 74 6f 2f 78 35 30 39 2f 78  ../crypto/x509/x
r13 0x00007fea75c404e0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
r14 0x00007fea75b44f6b  2e 2e 2f 63 72 79 70 74 6f 2f 65 78 5f 64 61 74  ../crypto/ex_dat
r15 0x00007fea75c3cb10  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
rip 0x00007fea7869af5e  8b 57 18 64 8b 04 25 d0 02 00 00 39 c2 0f 84 c7  ·W·d··%Ð···9Â··Ç

rflags 0x0000000000010206  PF

cs 0x0033  fs 0x0000  gs 0x0000

Images (56 omitted):

0x000055f79a7bb000–0x000055f79c954818 <no build ID>                            swift-package /usr/share/swift/usr/bin/swift-package
0x00007fea78600000–0x00007fea787bc341 490fef8403240c91833978d494d39e537409b92e libc.so.6     /usr/lib/x86_64-linux-gnu/libc.so.6

Backtrace took 11.76s

/home/runner/work/_temp/a6217ede-b6bd-4e1c-a7ce-94ddb3a8b154.sh: line 3:  2013 Segmentation fault      (core dumped) swift sdk install https://download.swift.org/swift-6.0.2-release/static-sdk/swift-6.0.2-RELEASE/swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz --checksum aa5515476a403797223fc2aad4ca0c3bf83995d5427fb297cab1d93c68cee075
Error: Process completed with exit code 139.

Steps to reproduce
Attempt to install the released version of the Static Linux SDK on an Ubuntu 24.04 VM in GitHub actions.
https://github.com/apple/swift-container-plugin/blob/main/.github/workflows/endtoend_tests.yml
https://github.com/apple/swift-container-plugin/actions?query=event%3Aschedule+branch%3Amain
Swift Package Manager version/commit hash
6.0.2
Swift & OS version (output of swift --version ; uname -a)
OS Version: 22.04.5 LTS
Kernel Version: 6.5.0-1025-azure
Image Version: 20241201.1.0
Swift 6.0.2
Full list of included software is at: https://github.com/actions/runner-images/blob/ubuntu22/20241201.1/images/ubuntu/Ubuntu2204-Readme.md

The CI runs two examples in parallel.  I don't know if these run in the same underlying VM: if they do, the problem might be caused by two processes trying to install the SDK at the same time.    If that is the case, SwiftPM still shouldn't segfault.

Yikes indeed.

Would also be nice if we had stack traces on Linux. Hard to see where this is crashing.


Entry adds 1 to typed page number when in limit

I don't know if I should open another issue, or post it here
I'm testing this new version of Widget.
When the typed page is smaller or larger than the limit, it is now correct. But when the typed page is in the limit, it adds 1 to the typed page number.

Striped lines are not being applied (bg and fg were not passed to the striped attribute). With this change below, it is possible to apply the striped lines:
    def apply_table_stripes(self, stripecolor):
        if len(stripecolor) == 2:
            self._stripecolor = stripecolor
            bg, fg = stripecolor
            kw = {}
            if bg is None:
                kw["background"] = colors.active
            else:
                kw["background"] = bg

            if fg is None:
                kw["foreground"] = colors.inputfg
            else:
                kw["foreground"] = fg

            self.view.tag_configure("striped", **kw)

Needed to add this:
            else:
               kw["background"] = bg

and that:
            else:
                kw["foreground"] = fg

Originally posted by @antrrax in https://github.com/israel-dryer/ttkbootstrap/issues/123#issuecomment-1008096189

Another problem I encountered.
When is on the last page:

select all lines,
deletes all lines from the last page

the Index changes to the previous page, but the treeview is blank
the expected is to load the data from this previous page

when sorting columns, it does not select the first row.
In my case I found it more practical to add this at the end of the 'load_table_data' method:
self._select_first_visible_item()
Whenever you load or reload data, you already select the first item

However, even with the first line selected, it does not respond to the mouse up and down arrows. Need to click on a row to use the to navigate.


spacefm: sudo and gksu fixes #15758 and license update

Motivation for this change
https://github.com/NixOS/nixpkgs/issues/15758
and license change from GPL3 to GPL3+ ( https://github.com/IgnorantGuru/spacefm/blob/master/COPYING )
~~https://github.com/NixOS/nixpkgs/issues/183~~ doesn't apply here. SpaceFM depends on real bash features.
I've also added a module to modify spacefm.conf by adding the following in configuration.nix:
  programs.spacefm.enable = true;

Additionally, the default settings can be overridden with:
  programs.spacefm.settings = {
    tmp_dir = "/tmp";
    terminal_su = "${pkgs.sudo}/bin/sudo";
    graphical_su = "${pkgs.gksu}/bin/gksu";
  };

It follows the atoprc program module format tightly. It relieves spacefm.nix's dependencies on sudo and gksu as discussed in the https://github.com/NixOS/nixpkgs/issues/15758.
Things done

[x] Tested using sandboxing
(nix.useChroot on NixOS,
or option build-use-chroot in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[x] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

cc maintainers @jagajaga @obadz

@joachifm  k I've added the defaults as you suggested and used an enable bool to make sure the default dependencies aren't installed system-wide.

@jagajaga Updated the module to depend on the SpaceFM package as you asked and improved the documentations.

@RamKromberg tested? After last update: if its enabled and not installed to user space then it must work?

I'm not exactly sure what it is you're asking. So to be clear, putting programs.spacefm.enable = true; in configuration.nix is the same as adding pkgs.spaceFM to environment.systemPackages and defining a spacefm.conf file.
That's to say, even if the user doesn't have spaceFM installed locally, it's still provided by the system environment if enabled.
I've tested this and it works.
@jagajaga


[Branch-1.3] [DOC] doc fix for date

Trivial fix.

Test build #26844 has started for   PR 4400 at commit 31bbe40.

This patch merges cleanly.

Test build #26844 has finished for   PR 4400 at commit 31bbe40.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26844/
Test PASSed.

Thanks. Merging in master.


Db2 for i Extension

So I think it's worthy to remove the existing Database functionality from the base extension, to then write a 'Db2 for IBM i' extension which would add back that functionality.

I think this would remove some bloat from the base
Would allow us to add more functionality since we've got space to grown in a separate extension. (It would use the Code for IBM i connection, like the git extension does.)

Ideas:

Move the 'execute SQL' functionality to the new extension
The initial view is a list of schemas, and the user can add remove more
I want this list of schemas in the view to work exactly as the list of schemas does in the Schemas window in ACS.

When you open the schema dropdown, you get a list of database types.
Clicking on the database types will then show you all the objects of that type in the chosen schema
Instead of showing the list in a new view (tab) like Schemas does, it will just show under the item type in the view.
Clicking on the SQL object will maybe render some HTML to show information about the object in a table (like Schemas does)
Right-clicking on the object will show:

Query - to open a new SQL file with a prefilled statement to select * from x limit 10
Generate SQL - to open a new SQL file with the SQL to generate the same object

Please make further suggestions, but this is the current plan.

I actually have made a start, but nothing to publish yet. It's a lot of work. It might be some time.

A start has been made in the new extension: https://github.com/halcyon-tech/vscode-db2i/projects/1

One thing i would love to have is a generator for an sql that is a simple select but has all of the fields, rather than select *. This allows me to strip out some useless fields but still not have to type all of the other fields in, and also to consolidate fields from multiple files into a single select much easier. just a thought. right now i build these using SYSCOLUMNS...


Added "owner system" limitation information to the Extension Docs

Added a notice to the Owner section of the "Extensions and DataExtensions" documentation that will help to remind developers of the limitations of the owner system when it comes to private and protected properties and methods
You may read this Slack conversation for more information:
https://slackarchive.silverstripe.org/slack-archive/message/321404

Hear, hear

Welp, I learnt something today... 😮
$ grep -r \\[notice\\] silverstripe-framework/docs/
silverstripe-framework/docs/en/02_Developer_Guides/02_Controllers/03_Access_Control.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/02_Controllers/03_Access_Control.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/02_Controllers/01_Introduction.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/02_Controllers/02_Routing.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/05_Extending/01_Extensions.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/05_Extending/01_Extensions.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/05_Extending/01_Extensions.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/05_Extending/01_Extensions.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/05_Extending/00_Modules.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/05_Extending/06_Aspects.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/05_Extending/06_Aspects.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/09_Security/04_Secure_Coding.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/01_Templates/01_Syntax.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/01_Templates/01_Syntax.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/01_Templates/01_Syntax.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/01_Templates/09_Casting.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/01_Templates/02_Common_Variables.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/01_Templates/02_Common_Variables.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/01_Templates/02_Common_Variables.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/01_Templates/02_Common_Variables.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/01_Templates/02_Common_Variables.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/01_Templates/How_Tos/02_Pagination.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/03_Forms/00_Introduction.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/03_Forms/00_Introduction.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/03_Forms/00_Introduction.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/03_Forms/00_Introduction.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/03_Forms/03_Form_Templates.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/03_Forms/06_Tabbed_Forms.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/03_Forms/06_Tabbed_Forms.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/03_Forms/01_Validation.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/03_Forms/How_Tos/02_Lightweight_Form.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/03_Forms/Field_types/03_HTMLEditorField.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/03_Forms/Field_types/03_HTMLEditorField.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/03_Forms/Field_types/03_HTMLEditorField.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/03_Forms/Field_types/03_HTMLEditorField.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/03_Forms/Field_types/04_GridField.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/03_Forms/Field_types/04_GridField.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/03_Forms/Field_types/02_DateField.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/16_Execution_Pipeline/01_Flushable.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/14_Files/03_File_Security.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/06_Testing/04_Fixtures.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/06_Testing/04_Fixtures.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/06_Testing/How_Tos/00_Write_a_SapphireTest.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/06_Testing/How_Tos/00_Write_a_SapphireTest.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/06_Testing/00_Unit_Testing.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/06_Testing/01_Functional_Testing.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/06_Testing/01_Functional_Testing.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/00_Model/05_Extending_DataObjects.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/00_Model/02_Relations.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/00_Model/10_Versioning.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/00_Model/10_Versioning.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/00_Model/10_Versioning.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/00_Model/07_Permissions.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/12_Search/01_Searchcontext.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/12_Search/01_Searchcontext.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/12_Search/01_Searchcontext.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/12_Search/02_FulltextSearch.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/08_Performance/00_Partial_Caching.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/17_CLI/index.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/17_CLI/index.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/04_Configuration/01_SiteConfig.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/04_Configuration/00_Configuration.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/04_Configuration/00_Configuration.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/04_Configuration/00_Configuration.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/01_ModelAdmin.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/07_ReactJS_Redux_and_GraphQL.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/07_ReactJS_Redux_and_GraphQL.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/04_Preview.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/04_Preview.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/03_CMS_Layout.md:[notice]
silverstripe-framework/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/03_CMS_Layout.md:[notice]
silverstripe-framework/docs/en/05_Contributing/01_Code.md:[notice]
silverstripe-framework/docs/en/05_Contributing/08_Translation_Process.md:[notice]
silverstripe-framework/docs/en/05_Contributing/06_Documentation.md:[notice]
silverstripe-framework/docs/en/05_Contributing/06_Documentation.md:[notice]

Thank you for merging this @NightJar. Looks good


[Query] How to restore deleted file to specified version without enable soft-delete.

Query/Question
We want enable restore API in azure, after investigation we found:

for undeleted file, it can be retore to target version with copy API
for deleted file, according the document, it need undelete() first?  but the undelete() api is not available because the soft-delete is not in our plan.

the questions is :

is there any workaround to restore deleted file to specified version without enable soft-delete?
if wanna retore deleted file to target version, is enable soft-delete necessary?

Why is this not a Bug or a feature Request?
We had notcie that there is an API named undelete(), it required soft-delete enabled.
The doubt is that the file and its different version already be stored in OSS, maybe there is some workaround to restore deleted file to a specified verison?
Setup (please complete the following information if applicable):

OS: N/A
IDE: N/A
Library/Libraries: com.azure:azure-storage-blob:12.19.0

Hi @tianshangstar! someone from the storage team will follow up on your question shortly.

Acknowledging. We also notice that the docs are a little unclear and are further investigating an answer.

Hi @tianshangstar
Following up on this thread. Based on further investigation, you must have soft-delete enabled in order to use undelete(). For more information, see here:
https://learn.microsoft.com/en-us/rest/api/storageservices/undelete-blob
Please let us know if you have any other questions, thanks!


[Feat] Provide a command to goto definition directly

Is your feature request related to a problem? Please describe.
As of now if we want to goto definition, we have to open lsp_finder and navigate to definition from there
Describe the solution you'd like
Instead of that, provide another command (like goto_definition) to navigate directly. In this way we can reduce one step
Describe alternatives you've considered
I'm using Telescope for now to navigate to definitions

did you tried the Lspsaga peek_definition ?

Did that. peek_definition shows it in a floating window and again had a press a key to navigate

float window also a normal buffer. you can do edit in it.

that is how I can use it now if not for Telescope. I peek_definition and edit, which will take me to it's definition. But if there were to be a single command which does this, then this 2 step interaction can be eliminated.

lspsaga support it very easy . but there has default vim.lsp.buf.definiton. does this not you expect ?

I used to use that but that comes with not so good looking quickfix list at times. So I moved to Telescope lsp_definitions. Now I'm moving to Lspsaga (great plugin BTW 👏 ) and this is the only one which is dependent on Telescope.

okay will add the goto_definition command.

thanks for your efforts man!!! I'm planning to lazy load this plugin by adding cmd = Lspsaga. Do you have any better approach?

or after = 'nvim-lspconfig'

+1 ❤


Replace array in Handler.Queue with a linked list

Handler queues only need a linked list, but currently they have a javascript array.  This makes handling an element cost O(N), because it calls shift().  We should just make it a linked list.

In uproxy-lib 20.1.1+.


error with shared library

Hi,
I'm getting this error when running gocode:
gocode: error while loading shared libraries: libgo.so.7: cannot open shared object file: No such file or directory
Regards
Simon

How do you build gocode? Shared libraries is a new Go feature or a gccgo feature. And well, I don't see how it is specific to gocode. If gocode binary is built against the shared go library and can't find it. Other go binaries will behave the same.

You are right. Somehow I had an old binary installed which was used instead of the freshly build ones. After figuring that out, deleting it and doing a fresh build it ran fine. Sorry for bothering you with my faults! (It was late (= )


Add Cache

For the contact refactoring, I need to use a different cache and extracted a general purpose solution. It provides a InMemoryCache, ExpiringCache and SynchronizedCache to fit several needs.

assertThat

Even if Truth works with Kotlin, it is not optimized for Kotlin. What about selecting a Kotlin assertion library that also has support for Kotlin Multiplatform.


Enhancement: Cache Version

I think this is something that could be set at the StorybookClient level, wdyt ?


trailingSlash: true errors when scaffolding a react app with batijs

Description

Scaffold: pnpm create @batijs/app --react

Modify vite.config.ts to add trailingSlash: true:

import ssr from "vike/plugin";
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
// add
import vike from 'vike/plugin'

export default defineConfig({
  plugins: [react({}), ssr({}),
    // add
    vike({
      // Make URLs end with a trailing slash.
      // For example: /some//path -> /some/path/
      trailingSlash: true,
    }),
  ],
});

Run:
pnpm install
pnpm build

Error:
><EMAIL_ADDRESS>build /home/fl/tmp/my-app
> vite build

error during build:
Error: [vike][Wrong Usage] Setting config.build.rollupOptions.output.assetFileNames is currently forbidden. (It's possible to support, thus contact a maintainer if you need this.)
    at file:///home/fl/tmp/my-app/node_modules/.pnpm/vike@0.4.162_vite@5.1.3/node_modules/vike/dist/esm/node/plugin/plugins/distFileNames.js:31:21
    at Array.forEach (<anonymous>)
    at configResolved (file:///home/fl/tmp/my-app/node_modules/.pnpm/vike@0.4.162_vite@5.1.3/node_modules/vike/dist/esm/node/plugin/plugins/distFileNames.js:15:27)
    at file:///home/fl/tmp/my-app/node_modules/.pnpm/vite@5.1.3/node_modules/vite/dist/node/chunks/dep-stQc5rCc.js:67859:24
    at Array.map (<anonymous>)
    at resolveConfig (file:///home/fl/tmp/my-app/node_modules/.pnpm/vite@5.1.3/node_modules/vite/dist/node/chunks/dep-stQc5rCc.js:67859:10)
    at build (file:///home/fl/tmp/my-app/node_modules/.pnpm/vite@5.1.3/node_modules/vite/dist/node/chunks/dep-stQc5rCc.js:66730:20)
    at CAC.<anonymous> (file:///home/fl/tmp/my-app/node_modules/.pnpm/vite@5.1.3/node_modules/vite/dist/node/cli.js:842:9)
 ELIFECYCLE  Command failed with exit code 1.

I also tried scaffolding a vike app without bati via pnpm create vike and then adding trailingSlash: true, here everything works. Is this not supported?

Thanks for creating the bug report, I will have a look at it tomorrow.

@schaschko, I'm sorry, but why did you add import vike from 'vike/plugin' ? FYI vike already imported with import ssr from "vike/plugin";. so you only need to add trailingSlash: true inside ssr({})

Thank you, this works. I did add it like that, because it's suggested in the docs.

@schaschko Make sure to use 0.4.162-commit-6812418 as it includes a bug fix for trailingSlash.
Also, in case your company is up for it: https://github.com/vikejs/vike/issues/1350.


Delete tests/htdocs/inc/SetWlanIpMailTest.php

Revert the test file which was accidentally added

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 78.51%

Totals

Change from base Build<PHONE_NUMBER>2:
0.0%

Covered Lines:
453

Relevant Lines:
577

💛  - Coveralls


x/net/webdav: delete should release locks

What version of Go are you using (go version)?

go version go1.15 linux/amd64

Does this issue reproduce with the latest release?
I haven't tried yet, but the relevant code does not seem to have changed.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/kyle/.cache/go-build"
GOENV="/home/kyle/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/kyle/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/kyle/"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build077298422=/tmp/go-build -gno-record-gcc-switches"

What did you do?
I'm using https://github.com/hacdias/webdav to evaluate a few things. I plan on implementing my own server using the webdav library soon, but wanted to get some testing done on it before diving in. While testing (using davfs2 as a client), I noticed that if I did the following, the third operation would always fail.
touch foo.txt && rm foo.txt && touch foo.txt
touch: cannot touch 'foo.txt': Permission denied

The requests/responses issued by davfs2/returned by webdav are:

PROPFIND / -> 207
LOCK foo.txt -> 201
HEAD /foo.txt -> 200
DELETE /foo.txt -> 204
LOCK /foo.txt -> 423
PROFIND /foo.txt -> 404

If I wait for a bit between when I create the file and delete it, everything works fine. It looks to me like davfs2 creates the lock, but does not flush the contents of the file/release the lock until some time expires. If I remove the file before that time expires, davfs2 issues the DELETE without releasing the lock. The problem is that despite the file not existing, the webdav server still thinks that a lock is present for the file, so it refuses to lock it again in step 5.
Perhaps davfs2 should release the lock. But, the webdav RFC is pretty clear that the lock should be released when the file is deleted:
   A server processing a successful DELETE request:

   MUST destroy locks rooted on the deleted resource

Detailed reproduction steps:

Compile https://github.com/hacdias/webdav
Run the following:

cd $(mktemp -d)
cat > config.yaml <<EOF
# Server related settings
address: <IP_ADDRESS>
port: 8080
auth: false
tls: false
prefix: /

scope: .
modify: true
rules: []
EOF

webdav -p 8080 --auth=false

Download/build/install/etc cadaver
Run cadaver http://localhost:8080
In its command prompt, run the following commands:

lock foo.txt
rm foo.txt
lock foo.txt

Note that the third operation fails with 423 Locked. It should have succeeded.

What did you expect to see?
dav:/> lock foo.txt
Locking `foo.txt': succeeded.
dav:/> rm foo.txt
Deleting `foo.txt': succeeded.
dav:/> lock foo.txt
Locking `foo.txt': succeeded.
dav:/>

What did you see instead?
dav:/> lock foo.txt
Locking `foo.txt': succeeded.
dav:/> rm foo.txt
Deleting `foo.txt': succeeded.
dav:/> lock foo.txt
Locking `foo.txt': failed:
423 Locked
dav:/>

cc @ianlancetaylor
Seems overlooked by triage?

I have a potential fix for this. Going to wait for my CLA to go through, but feel free to take a look.

I have a potential fix for this. Going to wait for my CLA to go through, but feel free to take a look.


📖 Documentation: Custom Git Branch

https://github.com/amplication/amplication/issues/6195

This one is taken care of in #333.


Remove testimoial from the footer

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Currently the testimonial is not directing us anywhere
In the main page it might be okay
But when we are trying to go to the testimonial page from other pages it is cauing problem
Use Case
I would like to remove the testimonial from the footer as it is not been used as for the moment
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@varshith257 please assign me this issue also


app crash on Collaborative wallet success modal

when user clicks on view details app crashes

Resolved,
https://github.com/bithyve/bitcoin-keeper/assets/61345820/36045bfc-efec-4bbf-8afb-6e0c0277357d

Verified this issue on keeper app v 1.2.0(321)


Remove legacy node selector on RoleGroup

### Common tasks
- [ ] https://github.com/stackabletech/operator-rs/pull/652

### Bump operator-rs and grep for 'selector:'
- [ ] airflow
- [ ] druid
- [ ] hbase
- [ ] hdfs
- [ ] hive
- [ ] kafka
- [ ] nifi
- [ ] opa
- [ ] spark-k8s
- [ ] superset
- [ ] trino
- [ ] zookeeper
- [ ] commons
- [ ] listener
- [ ] secret
- [ ] hello-world
- [ ] edc

Blocked by operator-rs release


[FEATURE REQUEST] Pwned password matching

Is your feature request related to a problem? Please describe.
As a user, I would like to see if the entered password is on a common/bad/pwned passwords list.
Describe the solution you'd like
A predefined check that checks up against a solid password list.
Describe alternatives you've considered
Use sorted file to check if entered password exists in the list.

This wont be added as it is more of a password strength related feature rather than a password validation feature.


Fixes for newest Hyprland

This pretty much should fix most of the crashes and compiling incompatibilities.
The one problem, I haven't had time to figure it out, was with CWindow::onUnmap. For some reason, if you turn on g_hycov_auto_exit and exit XWayland window the whole Hyprland crashes.
Basically, it just tries to set “end” callback to unregisterVariable function, but that somewhere along the way fails while trying to execute it.
Edit: Probably worth mentioning that my setup is on NVIDIA card. Also if you were to enable legacy rendering, it does not crash anymore, however strange artefacts appear if you enable hycov (not sure whether this is Hyprland's issue or this plugin)
Whole stack is:
#0  x86_64_fallback_frame_state (context=0x7ffd14491170, fs=0x7ffd14491260) at ./md-unwind-support.h:63
#1  uw_frame_state_for (context=context@entry=0x7ffd14491170, fs=fs@entry=0x7ffd14491260) at /usr/src/debug/gcc/gcc/libgcc/unwind-dw2.c:1013
#2  0x000079e2a5ae2cee in _Unwind_Backtrace (trace=0x79e2a5735370, trace_argument=0x7ffd144913a0) at /usr/src/debug/gcc/gcc/libgcc/unwind.inc:303
#3  0x000079e2a5735471 in backtrace () at /usr/lib/libc.so.6
#4  0x00005a84b99be5e6 in getBacktrace () at ../src/helpers/MiscFunctions.cpp:840
#5  0x00005a84b9924c75 in CrashReporter::createAndSaveCrash (sig=sig@entry=11) at ../src/debug/CrashReporter.cpp:165
#6  0x00005a84b98b3a5c in handleUnrecoverableSignal (sig=11) at ../src/Compositor.cpp:55
#7  0x000079e2a5650ae0 in <signal handler called> () at /usr/lib/libc.so.6
#8  0x00000000b99774f0 in ??? ()
#9  0x00005a84b997771f in std::function<void (void*)>::operator()(void*) const (this=0x5a84c53a5d18, __args#0=<optimized out>)
    at /usr/include/c++/14.1.1/bits/std_function.h:587
#10 CBaseAnimatedVariable::onAnimationEnd (this=0x5a84c53a5cd0) at ../src/config/../helpers/../desktop/../helpers/AnimatedVariable.hpp:183
#11 0x00005a84b996b404 in CBaseAnimatedVariable::setCallbackOnEnd(std::function<void (void*)>, bool) (this=0x5a84c53a5cd0, func=..., remove=true)
    at ../src/config/../helpers/../desktop/../helpers/AnimatedVariable.hpp:118
#12 CWindow::onUnmap (this=0x5a84c53a5220) at ../src/desktop/Window.cpp:485
#13 0x000079e2a0903fa6 in hkCWindow_onUnmap (thisptr=<optimized out>) at /tmp/hyprpm/REDACTED/src/globaleventhook.cpp:184
#14 0x00005a84b99ab678 in Events::listener_unmapWindow (owner=<optimized out>, data=<optimized out>) at ../src/events/Windows.cpp:778
#15 0x00005a84b99d84c9 in std::function<void (void*, void*)>::operator()(void*, void*) const (this=<optimized out>, __args#0=<optimized out>, __args#1=0x0)
    at /usr/include/c++/14.1.1/bits/std_function.h:591
#16 CHyprWLListener::emit (this=<optimized out>, data=0x0) at ../src/helpers/WLListener.cpp:61
#17 handleWrapped (listener=0x5a84c53a52f0, data=0x0) at ../src/helpers/WLListener.cpp:14
#18 0x000079e2a614601e in wl_signal_emit_mutable () at /usr/lib/libwayland-server.so.0
#19 0x00005a84b9be9d39 in wlr_surface_unmap (surface=0x5a84c51cb7e0) at ../subprojects/wlroots-hyprland/types/wlr_compositor.c:830
#20 wlr_surface_unmap (surface=0x5a84c51cb7e0) at ../subprojects/wlroots-hyprland/types/wlr_compositor.c:825
#21 0x00005a84b9bfbd25 in xwayland_surface_dissociate (xsurface=0x5a84c53a4ee0) at ../subprojects/wlroots-hyprland/xwayland/xwm.c:440
#22 xwm_handle_unmap_notify (ev=0x5a84c51b12f0, xwm=0x5a84c5443f90) at ../subprojects/wlroots-hyprland/xwayland/xwm.c:1153
#23 x11_event_handler (fd=<optimized out>, mask=<optimized out>, data=<optimized out>) at ../subprojects/wlroots-hyprland/xwayland/xwm.c:1707
#24 x11_event_handler (fd=<optimized out>, mask=<optimized out>, data=0x5a84c5443f90) at ../subprojects/wlroots-hyprland/xwayland/xwm.c:1661
#25 0x000079e2a6147ae2 in wl_event_loop_dispatch () at /usr/lib/libwayland-server.so.0
#26 0x000079e2a61482d7 in wl_display_run () at /usr/lib/libwayland-server.so.0
#27 0x00005a84b9a636fb in CEventLoopManager::enterLoop (this=<optimized out>, display=<optimized out>, wlEventLoop=<optimized out>)
    at ../src/managers/eventLoop/EventLoopManager.cpp:27
#28 0x00005a84b98c98ea in CCompositor::startCompositor (this=<optimized out>) at ../src/Compositor.cpp:575
#29 0x00005a84b9835db5 in main (argc=<optimized out>, argv=<optimized out>) at /usr/include/c++/14.1.1/bits/unique_ptr.h:193```

thanks for your pr, in addition, what you said that the auto_exit option cause crashes will not happen to me here, you can try the latest hycov commit.


Add support for building a multi-arch builder manifest

What this PR does / why we need it:
Build a ppc64le and amd64 multi-arch image with qemu-user on amd64
nodes.
The multi-arch image can be created for all architectures on amd64 machines. This works by injecting qemu-user binaries into the container which will be used by the kernel to run the binaries from foreign achritectures.
A prerequisite to bring in #2944
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
NONE

/cc @cynepco3hahue

/cc @danielBelenky

/retest

/lgtm

/approve


Database Configuration

Set up a MongoDB database connection using Mongoose in /config/db.js.
Utilize DATABASE_URI from the .env file for the connection.
Implement connection logic with error handling and success message upon connecting.


Bug: "base color darkness" slider does nothing

I installed the plugin (version 1.0.2) via obsidian (v0.10.6), and for some reason, the "base color darkness" slider seems to not do anything.

It looks like you’re in dark mode. This slider only affects light mode for now.

It looks like you’re in dark mode. This slider only affects light mode for now.

oh that explains a lot, thx

oh that explains a lot, thx


Add LOL in chat acronyms

Added LOL aka "Laugh out loud" as an acronym.

I didn't even think about it lol


Bump Fulcio client lib and use LegacyClient

Summary
With @bobcallaway's recent work the client in Fulcio library was renamed to LegacyClient. This change bumps the Fulcio package version and uses that new LegacyClient name. Once GRPC is rolled out in production we should move off of this client as it uses the v1 API's

Yup, removed and need a mod tidy as well

Hmm I see the GRPC refactor did pull in some banned dependencies (trillian + grpc middleware) that work against our slimming down the cosign binary....
Should we make a client library upstream and not use the api package so we can slim down the client library as much as possible?

I removed "github.com/google/certificate-transparency-go" in the embedded SCT PR, we need to depend on it.

Ah ok, yeah I don't think we can run away from depending on grpc either now so these changes make sense then..

I wonder if the issue is the same thing I was running into in https://github.com/sigstore/cosign/pull/1731/, where one of the Trillian packages defines a flag that conflicts with what's defined in cosignd.

This is why in https://github.com/sigstore/cosign/pull/1731/ I copied in a file, so that when I used that package, I was only pulling in the bare minimum.

closing in favour of #1762


updated fast-json-stringify

Can you please update the benchmarks?
Btw. I updated the serializer for asString and I think you are using a similar serializer for strings. Maybe you want to adapt it for more performance.
https://github.com/fastify/fast-json-stringify/commit/17bb4c2430c60a44079ef572766a8150ab70aefc#diff-8e3d45dd0e9ec504195499d7fafe3efc08756c349fce602ef6538c593aa563d8
Also the benchmarks are a little bit unfair. E.g. you are benching for stringify but fast-json-stringify is not only stringifying but also does some assertions, like checking for required fields.

https://dev.to/samchon/good-bye-typescript-is-ancestor-of-typia-20000x-faster-validator-49fi
Thanks for notification. As typia had started from wrapper of fast-json-stringify (at that time, package name was typescript-json), I'm still using string serializer of fast-json-stringify. I'll update string serializer following fast-json-stringify.
By the way, typia has four stringify functions and assertStringify is simliar with fast-json-stringify. Benchmark result is showing all of those typia stringify functions (https://github.com/samchon/typia/tree/master/benchmark/results/11th Gen Intel(R) Core(TM) i5-1135G7 %40 2.40GHz#stringify(, but as normal users don't know the difference, I can understand why you feel it as unfair. About this topic, how about adding a comment that fast-json-stringify is similar with typia.assertStringify() under the graph?

stringify
isStringify
assertStringify
validateStringify

Sure, I will provide a PR.
Please check if the patch for serializer for asString makes a perf boost. If you see a performance regression, than I would need to investigate.

You can measure benchmark of typia.stringify<T>() function by below commands.
# PREVIOUS SMALL-STRING
git clone https://github.com/samchon/typia -b features/original typia@original
cd typia@original
npm install
npm run benchmark

# ADVANCED SMALL-STRING
cd ..
git clone https://github.com/samchon/tyipa -b features/stringify typia@advanced
cd typia@advanced
npm install
npm run benchmark

By the way, as my benchmark program of stringify function handling composite types, it would much better to make a new dedicated benchmark function for only your asStringSmall() function.

https://github.com/samchon/typia/blob/features/stringify/test/issues/736.ts
I made a dedicated benchmark, and you can run it through:
git clone https://github.com/samchon/typia -b features/stringify typia@stringify
cd typia@stringify
npm install
npm run issue 736

This is my result:
previous 21733.525786503033
advanced 21911.521555138926

https://github.com/samchon/typia/blob/features/stringify/test/issues/736.ts
Fixed every string length to be 41, and checked that your algorithm enhanced over 2x faster.
previous 7094.000198330213
advanced 15068.440537777558

Fixed length to be 41, and new algorithm became slower than before
previous 6867.585931699803
advanced 6861.237658316788

Yes, the number 42 is super arbitrary. I asked @mcollina why 42, but it seems it was a random number.
It should be investigated when the breaking point is useful.

didnt you write that in a special case it was double the perf?

@Uzlopak Oops, I missed the STR_ESCAPE pattern checking.
After adjusting that, new algorithm became faster when length 41. However, length 5 became slower.
# LENGTH 41
previous 5193.547705809435
advanced 5982.83813974943

# LENGTH 5
previous 23195.423057822234
advanced 20127.113157546624

Your code is different from ours.
Your code is
length > 42 and call JSON.stringify, str escape check and , then fallback to simple case
It has to be length < 42 do simple case, str escape check and wrap in double quotes, fallback to JSON.stringify

Oops, did lots of mistake. I repeated it carefully, and this is the final result.
Sorry for repeated mistakes. It was so confusing because I did another at the same time.

Tried sequence of if conditions, but it was not a matter.

# LENGTH 41
previous 6739.206407670302
advanced 19771.155382046658

# LENGTH 5
previous 30564.183105977772
advanced 32337.116211885812

Can you investigate if 42 as string lengt is optimal?

Make a very string matching this regex /[a-z0-9]/+. At the end put a double quote "

Normal characters

<EMAIL_ADDRESS>issue
node test/issue 736-normal

Limit
Native
Optimized
Gap

#10
13,231
35,170
165.82 %

#20
10,373
20,038
93.17 %

#30
8,009
13,359
66.81 %

#40
5,733
8,997
56.93 %

#50
5,005
7,741
54.65 %

#60
5,260
7,851
49.28 %

#70
4,536
5,658
24.76 %

#80
3,637
4,928
35.49 %

#90
3,364
4,207
25.06 %

#100
2,504
3,829
52.92 %

#200
1,913
1,932
1.02 %

#300
1,312
1,359
3.6 %

#400
1,052
1,006
-4.41 %

#500
826
857
3.74 %

#600
781
884
13.17 %

#700
761
780
2.49 %

#800
669
552
-17.5 %

#900
521
478
-8.19 %

#1,000
449
462
2.96 %

Surrounded by " characters

<EMAIL_ADDRESS>issue
node test/issue 736-special

Limit
Native
Optimized
Gap

#10
11,640
14,012
20.38 %

#20
9,499
14,581
53.5 %

#30
6,159
10,490
70.31 %

#40
6,104
9,964
63.24 %

#50
5,640
8,743
55.03 %

#60
5,454
7,924
45.29 %

#70
4,794
6,160
28.48 %

#80
3,978
4,740
19.15 %

#90
3,949
5,202
31.71 %

#100
3,170
4,363
37.65 %

#200
1,983
2,673
34.78 %

#300
1,323
1,569
18.64 %

#400
1,062
1,355
27.56 %

#500
907
1,151
26.99 %

#600
814
963
18.29 %

#700
694
847
22.17 %

#800
642
746
16.12 %

#900
592
652
10.15 %

#1,000
509
575
13.12 %

Only regex pattern

<EMAIL_ADDRESS>issue
node test/issue 736-regex

Limit
Native
Optimized
Gap

#10
12,645
28,811
127.84 %

#20
10,155
26,702
162.93 %

#30
8,256
22,639
174.21 %

#40
6,658
23,138
247.53 %

#50
5,996
19,395
223.45 %

#60
5,562
15,214
173.54 %

#70
4,349
13,053
200.17 %

#80
4,028
11,180
177.55 %

#90
3,683
9,873
168.04 %

#100
3,027
9,763
222.49 %

#200
1,904
5,624
195.35 %

#300
1,467
4,105
179.73 %

#400
1,102
3,325
201.69 %

#500
886
2,721
207.22 %

#600
773
2,318
199.76 %

#700
687
2,056
199.52 %

#800
610
1,751
187.34 %

#900
570
1,239
117.42 %

#1,000
483
1,752
262.94 %

Also, looking at benchmark result, only regex pattern can be an alternative option.
const optimized = (str: string): string => {
    return STR_ESCAPE.test(str) === false
        ? '"' + str + '"'
        : JSON.stringify(str);
};

Comparing regex and special case, current code seems really reasonable.
Diminishing margin of manual serialization logic is about 40 to 50.
Also, even though target string over the 42 length, regex pattern extremely diminish the serialization time.

Currently running the benchmarks:
https://github.com/fastify/fast-json-stringify/pull/637

I'm just confused by only regex filtered case. It is even faster than optimized case when no special character exists.
When special character exists, advanced manual stringify logic is faster, so I'm considering below implementation:
export const $string = (str: string): string => {
    if (STR_ESCAPE.test(str) === false)
        return `"${str}"`;

    if (str.length > 41)
        return JSON.stringify(str);

    ...OPTIMIZED LOGIC
}

Currently running the benchmarks:
fastify/fast-json-stringify#637

Great enhancement on short string.

In my opinion:
The regex is theoretically always slower than processing every character in a for loop.
Doing first the regex, means that this is the geneeral bottleneck. even though the optimized logic is also handling the same unicoode and double quotes etc.
The length check seems to be the cheapest operation from all. So thats why I would do that one first.

benchmarking now your consideration
https://github.com/fastify/fast-json-stringify/pull/637


added L2 goerli testnets

added optimism-goerli and arbitrum-goerli. Batch contract address missing

We should remove unsupported networks.


Fix Windows CI

Also bump the version of the wasm-tools umbrella crate to trigger CI again.

The release ended up working so I backed out the bump here.


BUG: .sort_values(ascending=False) gives incorrect result when using reshuffling implementation

Modin version checks

[X] I have checked that this issue has not already been reported.

[X] I have confirmed this bug exists on the latest released version of Modin.

[X] I have confirmed this bug exists on the main branch of Modin. (In order to do this you can follow this guide.)

Reproducible Example
import modin.config as cfg

cfg.NPartitions.put(4)

import modin.pandas as pd

part1 = pd.DataFrame({"a": [1, 2, 3, 4]})
part2 = pd.DataFrame({"a": [5, 6, 7, 8]})

df = pd.concat([part1, part2])

assert df._query_compiler._modin_frame._partitions.shape == (2, 1)

print(df.sort_values("a", ascending=False))
# Output:
#    a
# 3  4
# 2  3
# 1  2
# 0  1
# 3  8
# 2  7
# 1  6
# 0  5

Issue Description
The result is incorrect because we're not reversing partitions order when ascending=False.
Expected Behavior
The expected result would be properly sorted data:
   a
3  8
2  7
1  6
0  5
3  4
2  3
1  2
0  1

Error Logs

Replace this line with the error backtrace (if applicable).

Installed Versions

Replace this line with the output of pd.show_versions()

Okay, the problem seems to only occur when the number of pivot values is equal to one. In this case, we're skipping this branch that is intended to set the descending order for partitions:
https://github.com/modin-project/modin/blob/e2fd6ddce0943d42d802180d5359733ad2272ac4/modin/core/dataframe/pandas/dataframe/utils.py#L260-L265
@RehanSD do you aware of why there's a len(pivots) != 1 check? I removed it and everything started to work just fine.