CUDA device memory not being freed immediately

Reported from mailing list:
import numpy as np
from numba import cuda

gpus = cuda.gpus.lst
mem_list = []
for gpu in gpus:
    with gpu:
        meminfo = cuda.current_context().get_memory_info()
    mem_list.append(int(meminfo[0]))
sort_gpus = [x for (y, x) in sorted(zip(mem_list, gpus), reverse=True)]
sort_gmem = [y for (y, x) in sorted(zip(mem_list, gpus), reverse=True)]

print [mem/1e9 for mem in sort_gmem]

with sort_gpus[0]:
    a = np.zeros(9e8, dtype=np.float32)
    print a.nbytes/1e9
    b=cuda.to_device(a)
    print cuda.current_context().get_memory_info()[0]/1e9
    del b
    print cuda.current_context().get_memory_info()[0]/1e9

Produces following output:
[4.134227968, 2.646806528] 3.6 0.533983232 0.533983232

From reporter:

The first two are as expected, since one of the GPUs is occupied with two monitors. However, as we can see after the deletion of the reference to the GPU array, get_memory_info() still seems to think that the memory is still allocated. Is this an issue with get_memory_info() or is the array still allocated?

@sklam Ideas?

There are some logic to prevent immediate deallocation because it causes a synchronization to the cuda stream.  Deallocation is triggered in batch and deferred.  Allocation will flush some pending deallocation.

Ah, I see.  Is this the best way to do this (from the above thread)?
cuda.current_context().trashing.clear()

Or is it possible to trigger cleanup automatically when the device or stream is synchronized?  (That would not require people to use an undocumented method to trigger immediate deallocation.)

We can add a user API to force memory deallocation instead of cuda.current_context().trashing.clear()

Would it be possible to change the way that cuda.current_context().get_memory_info() reports memory so that it includes the fact that the arrays have been deleted and will be removed from memory before the next allocation?  I mean this is memory which will be free as soon as we want to allocate new arrays.

Out of curiosity, did the user API for trashing ever come about?

Following the above advice I was using
cuda.current_context().trashing.clear()
in order to clear up some pending arrays from previous iterations of an iterative call of my kernel.
This was working nicely while I was using an older version of numba.
Since I updated two days ago to version 0.30 trashing() isn't a function anymore and I can't seem to find anything else that will do the same job. cuda.synchronize() will still not do the job and I am kind of stuck because the code won't work any more (and it is too large and complex to change now, even if this was possible in the first place).
Some help would be really appreciated.

A PR was merged to improve the deallocation code.  There are user configurable options exposed as environment variables.  See https://github.com/numba/numba/pull/2046#issue-171708499 for details.  Hopefully, those options will solve most of the problems.  Otherwise, you can force a deallocation with cuda.current_context().deallocations.clear().
Another reason that users should rarely need to force deallocation is that the gpu allocation function in numba will now force deallocation and retry if the first attempt resulted in out-of-memory error.

Closing.

In performing simple benchmarks, it seems you need to manually clear the cuda memory

without manual clearing

CudaAPIError: [700] Call to cuMemcpyHtoD results in UNKNOWN_CUDA_ERROR

with manual clearing

Loop run
import pandas as pd
out_res = []
for c_dim in np.logspace(1.5, 4.5, 18).astype(int):

    A = np.random.uniform(-1, 1, size=(c_dim, c_dim)).astype('float32')
    B = np.random.uniform(-1, 1, size=(c_dim, c_dim)).astype('float32')
    C = np.zeros((c_dim, c_dim), dtype='float32')
    Ac = cuda.to_device(A)
    Bc = cuda.to_device(B)
    Cc = cuda.to_device(C)
    cuda_time = lambda times=100: timeit(lambda : cu_square_matrix_mul(Ac, Bc, Cc), number=times)*1000.0/times
    numpy_time = lambda times=100: timeit(lambda : np.matmul(A, B, out=C), number=times)*1000.0/times
    with cuda.defer_cleanup():
        out_res.append({'dim': c_dim,
                        'cuda': cuda_time(),
                        'numpy': numpy_time()})

I also found this problem. In OpenACC, the arrays are still presented on GPU after !$acc exit data. How to force memory deallocation? @kmader sklam

I noticed some updates in numba, and used device.reset() to free the GPU memory, which caused new error: CudaAPIError: [701] Call to cuLaunchKernel results in CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES.

I noticed some updates in numba, and used device.reset() to free the GPU memory, which caused new error: CudaAPIError: [701] Call to cuLaunchKernel results in CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES.

@Crear12 if this is a regression across Numba versions then please feel free to open a new issue with a reproducer for it and someone will take a look. Thanks.

@Crear12 if this is a regression across Numba versions then please feel free to open a new issue with a reproducer for it and someone will take a look. Thanks.


manage grub password

fix #3

Thanks, looks great. Waiting for CI.

Couple of issue, listing mostly:
literal-compare: Don't compare to literal True/False

You can rewrite these:
when: grub_efi.stat.exists == True

to:
when: grub_efi.stat.exists

(Not having == True does exactly the same. I know; it's weird.)

Great PR, thanks!


How do you hide column ?

Blazor beginner, How do you hide a column ?

Columns can't be hidden. I will look to add this in a future release.

Add Class="d-none" to the column if you are using Bootstrap - that seems to work.

I want to show and hide dynamically

I tested setting a checkbox on a page to control visibility, then setting the Class based on this using a variable, e.g.
    string columnCSS => columnVisible ? null : "d-none";
    bool columnVisible = true;

and in the table
<Column TableItem="PersonData" Title="Full Name" Field="@(x => x.full_name)" Sortable="true" Filterable="true" Width="20%" Class="@columnCSS" />

However this was rather flaky - the checkbox caused it to appear and disappear in the reverse of the expected value! Not sure what's going on.


Add Australia Central datacenters

Please add the two new Australian datacenters: Australia Central and Australia Central 2
{
    "displayName": "Australia Central",
    "id": "/subscriptions/xxx/locations/australiacentral",
    "latitude": "-35.3075",
    "longitude": "149.1244",
    "name": "australiacentral",
    "subscriptionId": null
  },
  {
    "displayName": "Australia Central 2",
    "id": "/subscriptions/xxx/locations/australiacentral2",
    "latitude": "-35.3075",
    "longitude": "149.1244",
    "name": "australiacentral2",
    "subscriptionId": null
  }

Hello @jamesbannan thanks for the feature request, but I can not enable latency test for these two Australian regions as I do not have access. These regions do not show up in my azure portal.

Both Australia Central & Australia Central 2 are added, please give a try


Location override using "Sensors" pane in the Chrome/Edge dev tools

Description
Per https://github.com/dotnet/aspnetcore/issues/53707#issuecomment-2040797371.
Hisham ... I'll float something to address this and ping you on the PR. The easy thing to do would be to cross-link to the product unit issue remark in the last section, and perhaps I'll do that. However, I might write something on this.
BTW -- I'd also like to touch that existing PU issue cross-link. We should have link text, and we have a link text format for PU cross-links. I'll drop that into the PR as well.
Also ... This problem that the dev faced came up in the context of a Blazor app. Therefore, I'll need to address it in the Blazor glob/loc article, too. I'll get that on the PR.
Page URL
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/troubleshoot-aspnet-core-localization?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/troubleshoot-aspnet-core-localization.md
Document ID
9a1dccda-d7bf-1eb5-e5e3-8aba4aeb444f
Article author
@hishamco

I will look at the linked comment, so I can understand how it's related to the troubleshooting article that I wrote long time ago

Ok ... Halter floated the idea that it would go here. I guessed the same.
The article could use some NIT touches, mostly per our style manual. Even if we don't add the sensors bit to this article, I'll perform a quick edit.

BTW ... If you'd rather work on this issue, that's totally cool with me. However, let me get a PR merged first for this article with these updates. I've already started working on it, and it will be up shortly. After that merges, you can take over and work this issue if you want to.


Digital Ocean within Cloud Providers not present

File: docker-cloud/infrastructure/link-do.md
When I look at the Cloud Settings, there isn't anything labelled 'Cloud Providers', only 'Service Providers'.  Within this I only see 'AWS' and 'Azure'.  There isn't anything for Digital Ocean.
Is this because I have an individual account?
Has the system changed, but the documentation has not?
Has this feature been removed?
Thanks

I too am wondering if this is an issue because of individual accounts. I am following a tutorial to link docker cloud to AWS, but under my settings I don't even have a service providers section. My settings skip from general to source providers (even though there is a Service Providers nav bar option)

https://vimeo.com/15351476


maintainers: add pantheon team

Motivation for this change
Needed for https://github.com/NixOS/nixpkgs/issues/121827
Related to https://github.com/NixOS/nixpkgs/pull/121780 and https://github.com/NixOS/nixpkgs/issues/121769
Potential additions:

[ ] Add more members
[ ] Add team to maintainers of packages (when https://github.com/NixOS/nixpkgs/pull/121780 is merged, so we don't have a merge conflict)

but it could also be merged in the current state. let's wait some more
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

@davidak Will like to join this if the team is still looking for people :-)
bobby285271 = {
  email =<EMAIL_ADDRESS>  github = "bobby285271";
  githubId = 20080233;
  name = "Bobby Rong";
};

P.s.: pkgs/desktops/pantheon/default.nix will also need update:
https://github.com/NixOS/nixpkgs/blob/4be510e3adfbe630e32e8d92feebaa603270e68f/pkgs/desktops/pantheon/default.nix#L26

@bobby285271 can you review and  check if something not belongs to pantheon? i think it is good if we get notified about vala changes because it could break pantheon or apps. does that make sense?
we can add the team to other components in the other pr or later if something is missing

@SuperSandro2000 i squashed your change in. can we merge now?

Almost forget this, we probably need to do something similar to https://github.com/NixOS/nixpkgs/pull/83975 (switch from pantheon.maintainers to lib.teams.pantheon).

Most cases already use teams.pantheon.members similar to teams.gnome.members.


UI and Contract support for TE2

Resolves: #3
This PR contains 2 features:

Include TE2 option in web ui
Include support for simple contract files

Additionally one more change was done to ensure passing of all the test cases - here. Because super glue dataset requires trust_remote_code set to True.

@aryamaanthakur Looks good. A few more things to add:

Create a tool to export contract for a dataset. This can be along the lines of the train tool here: https://github.com/foundation-model-stack/fm-training-estimator/tree/main/fm_training_estimator/regressor/xgboost
Instead of using the LinearReg from Sklearn, can you use the internal wrapper around the xgboost tool here?
Once we have 1, we need a way to let the user input the contract in the cli/ui instead of the real dataset.


[Editor] Add .editorconfig to the projects.

Adds .editorconfig to ensure external editors/IDEs use UTF-8 encoding.
Fixes https://github.com/godotengine/godot/issues/27083
Supersede https://github.com/godotengine/godot/pull/96837

Thanks!

This injects .editorconfig in modules/gdscript/tests/scripts/ but it isn't ignored


Load event not fired on some pages

Steps to reproduce
Tell us about your environment:

Puppeteer version: 1.1.1
Platform / OS version: macOs 10.13.3
URLs (if applicable): http://gradyassociates.com/
Node.js version: v9.6.1

What steps will reproduce the problem?
Please include code that reproduces the issue.
const puppeteer = require('puppeteer');

(async() => {
  const browser = await puppeteer.launch({
    timeout: 10000
  });
  try {
    const page = await browser.newPage();

    await page.goto('http://gradyassociates.com/', {
      waitUntil: [ 'load' ],
      timeout: 10000
    });
    console.log('success!');
  } finally {
    browser.close();
  }
})();

What is the expected result?
it prints success!
What happens instead?
UnhandledPromiseRejectionWarning: Error: Navigation Timeout Exceeded: 10000ms exceeded

even though this page loads fast when I run it in my normal browser.

Nevermind. They have a broken image that is used as a hitcounter. My adblocker rejected it, that's why the page loaded in my main browser.


Feat asv pws

[X] Closes #170
[X] Tests added: benchmarks added. Nothing to test. Will update this template to request adding benchmarks.

The time_prms_run test is highly parameterized, a lot happens there

One view showing that performance has not changed significantly for the full NHM config with x-axis being NetCDF output option (one can also see the differences between these options currently).

Same info, different view

Tabular look at the benchmarks

Codecov Report

Merging #184 (f71d4ca) into develop (67bc849) will decrease coverage by 0.02%.
The diff coverage is n/a.

:exclamation: Current head f71d4ca differs from pull request most recent head a8a8bd2. Consider uploading reports for the commit a8a8bd2 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff             @@
##           develop     #184      +/-   ##
===========================================
- Coverage    77.26%   77.24%   -0.02%
===========================================
  Files           50       50
  Lines         6346     6346
===========================================
- Hits          4903     4902       -1
- Misses        1443     1444       +1

see 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Tasks declared as Lost will be killed when reported running again

When mesos agent registration uses non strict registry, TASK_LOST is not a terminal state.
A task that is reported as lost can be running again.

Marathons general behavior is to expunge tasks from state for which it receives a TASK_LOST status update. It will then scale the app to make sure enough instances are running. If there are constraints or insufficient resources, it might not be able to launch a new task.
With this fix applied, Marathon will still scale the app and try to launch a new task for every received TASK_LOST immediately. However, it will not generally expunge lost tasks from state if there is reason to believe that it might come back RUNNING (which can happen if Mesos is run with a non-strict registry and has a Master failover - the agent is then allowed to re-register without having all its tasks killed).
If Marathon receives a TASK_LOST with REASON_SLAVE_DISCONNECTED, REASON_SLAVE_REMOVED or REASON_RECONCILIATION, the task will now not be removed from state, because it might come back. If Marathon receives a TASK_LOST with any other reason, the task will be expunged from state (and killed if it unexpectedly reappears) like before this change was introduced.
This means Marathon will now effectively consider lost tasks as _possibly_ not running. If a lost task reappears, resulting in an instance count over the desired capacity, Marathon will kill running or staged tasks to scale down to the desired instance count. It will kill staged tasks with precedence, and continue with the youngest running tasks, so that the old, reappeared tasks stay running.


Add LDAPConnectionContext constructor with minimal configs to test connection health

Part of the fix for wso2/product-is#1528

Not required since the improvement is done from wso2/carbon-identity-framework#4230


Add a --disable-profiling flag to the build.

See also the requests in #55.

Add --disable-profiling and --enable-profiling. Make --disable-profiling the default.


current pypi release (1.2.5) is incompatible with python 3

Even worse: the latest 1.2.5 version is broken if you try to install it on Python 3.5, as you get:
While current release published on pypi installs on Python 3 but fails to load (import). There is no known version to be working with Python 3.x so far.
pip install kerberos
python -c "import kerberos"                                                                                Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: dlopen(/Users/ssbarnea/os/python-jenkins/.tox/py35/lib/python3.5/site-packages/kerberos.cpython-35m-darwin.so, 2): Symbol not found: _PyCObject_Type
Referenced from: /Users/ssbarnea/os/python-jenkins/.tox/py35/lib/python3.5/site-packages/kerberos.cpython-35m-darwin.so
Expected in: flat namespace
in /Users/ssbarnea/os/python-jenkins/.tox/py35/lib/python3.5/site-packages/kerberos.cpython-35m-darwin.so

This should be resolved with the release of 1.3.0.

So is this issue moot with the 1.3.0 release?

https://pypi.org/project/kerberos/1.3.1/
Sorry this took so long...

https://pypi.org/project/kerberos/1.3.1/
Sorry this took so long...


[GIE/Gaia-IR] Compile IR with v6d dependency errors

After merging the latest version of Gaia, the v6d dependency errors prompt on Gaia/IR, which cannot be compiled without installing v6d as a dependency, even when v6d is not needed at all, such as in the unit tests by cargo test. Such dependency errors should be avoided.
To reproduce, running  cargo test  under  research/query_service/ir shows:
--- stderr
 CMake Error at CMakeLists.txt:53 (find_package):
   By not providing "Findvineyard.cmake" in CMAKE_MODULE_PATH this project has
   asked CMake to find a package configuration file provided by "vineyard",
   but CMake did not find one.

   Could not find a package configuration file provided by "vineyard"
   (requested version 0.4.1) with any of the following names:

     vineyardConfig.cmake
     vineyard-config.cmake

   Add the installation prefix of "vineyard" to CMAKE_PREFIX_PATH or set
   "vineyard_DIR" to a directory containing one of the above files.  If
   "vineyard" provides a separate development package or SDK, be sure it has
   been installed.

You need install vineyard first.

[ ] Should make all codes related to v6d_ffi as features, including those in GAIA-Runtime.
[ ] It seems that dyld error occur on macos in some cases.

It seems that dyld error occur on macos in some cases.

It was caused by the difference in the behaviour of cargo's LTO setting. Has discussed with @MeloYang05 for a workaround.

It seems that dyld error occur on macos in some cases.

It was caused by the difference in the behaviour of cargo's LTO setting. Has discussed with @MeloYang05 for a workaround


Add TryAddCouchbaseBucket extension

Motivation
Need a way to registered a Couchbase bucket which won't register the
bucket again if it is already registered.
Modifications
Added TryAddCouchbaseBucket to IServiceCollection extensions, which uses
TryAddSingleton instead of AddSingleton to register the bucket.
Results
Consumer can optionally use TryAddCouchbaseBucket, and if the bucket is
already registered it will be ignored.

:white_check_mark: Build Couchbase.Extensions 19 completed (commit https://github.com/brantburnett/Couchbase.Extensions/commit/b49f4147b9 by @brantburnett)


doc: add transaction

BEGIN/COMMIT/ROLLBACK

https://github.com/datafuselabs/databend/pull/14562/files#diff-f269127d10d7a88c990c5a64b3d823348bc83ad309788f6293c5bef043380f35

Welcome to BendSQL 0.12.5-61a19d7(2024-01-25T02:44:25.884223000Z).
Connecting to localhost:8000 as user root.
Connected to Databend Query v1.2.515-nightly-159a8b8547(rust-1.78.0-nightly-2024-06-05T09:26:43.846173960Z)
root@localhost:8000/default> CREATE TABLE employees (
id INT,
name VARCHAR(50),
department VARCHAR(50)
);
CREATE TABLE employees (
id INT,
name VARCHAR(50),
department VARCHAR(50)
)
0 row written in 0.039 sec. Processed 0 row, 0 B (0 row/s, 0 B/s)
root@localhost:8000/default> begin;
BEGIN
0 row read in 0.016 sec. Processed 0 row, 0 B (0 row/s, 0 B/s)
root@localhost:8000/default> INSERT INTO employees (id, name, department) VALUES (1, 'Alice', 'HR');
INSERT INTO
employees (id, name, department)
VALUES
(1, 'Alice', 'HR')
1 row written in 0.055 sec. Processed 1 row, 46 B (18.29 row/s, 841 B/s)
root@localhost:8000/default> INSERT INTO employees (id, name, department) VALUES (2, 'Bob', 'Engineering');
INSERT INTO
employees (id, name, department)
VALUES
(2, 'Bob', 'Engineering')
1 row written in 0.043 sec. Processed 1 row, 53 B (23.12 row/s, 1.20 KiB/s)
root@localhost:8000/default> UPDATE employees SET department = 'Finance' WHERE id = 1;
UPDATE
employees
SET
department = 'Finance'
WHERE
id = 1
1 row written in 0.085 sec. Processed 1 row, 0 B (11.71 row/s, 0 B/s)
root@localhost:8000/default> ROLLBACK;
ROLLBACK
0 row read in 0.013 sec. Processed 0 row, 0 B (0 row/s, 0 B/s)
root@localhost:8000/default> SELECT * FROM employees;
SELECT
*
FROM
employees
┌───────────────────────────────────────────────────────┐
│        id       │       name       │    department    │
│ Nullable(Int32) │ Nullable(String) │ Nullable(String) │
├─────────────────┼──────────────────┼──────────────────┤
│               1 │ Alice            │ Finance          │
│               2 │ Bob              │ Engineering      │
└───────────────────────────────────────────────────────┘
2 rows read in 0.028 sec. Processed 2 rows, 104 B (72.35 rows/s, 3.67 KiB/s)

Verified the example above on Databend n Databend Cloud:

ROLLBACK seems not working on Databend.
The example worked fine on Databend Cloud.


Animation editor breaks if snapping is set to more than 1 second

Tested versions

Reproducible in: 4.3.stable, 4.4.dev1
Not reproducible in: 4.2.1.stable, 4.2.2.stable

System information
Windows 11 - Godot v4.3.stable - Vulcan (Forward+)
Issue description
When snap value is set to more than 1 second animation editor just breaks.

If snap value is higher than 1 second and equal or less than 2 seconds, then animation keys continue to snap to 1 second, ignoring that value is actually higher
If snap value is higher than 2 seconds, then animation editor just refuses to create new keys when you try to make them by right clicking on animation track and selecting "Insert key..." option.
And you're no longer able to move any animation keys if snapping is set to more than 2 seconds.

Steps to reproduce

1.) Create AnimationPlayer node and some Sprite or ColorRect node inside scene
2.) Add new animation and make some simple animation with created Sprite/ColorRect
3.) Set snap value to higher than 2 seconds
4.) Try to move existing animation keys or create new key via "Insert key..." right-click option

Minimal reproduction project (MRP)
animation_test.zip

I found an issue with the _update_snap_unit function which tries to round the fraction part of a number to a nice value like 0.033 to 0.0333333333333(3). But this code causes an error with values that are above 2 since the calculation creates a +Inf step value. I will correct it and create a pull request soon.

As additional information, I remember originally implementing this due to a problem with not being able to snap to 1.0 s at 1s in https://github.com/godotengine/godot/pull/92670. So it may be necessary to separate the decimal and integer parts of the process to prevent the accumulation of fractional errors.

I checked and this is the only place I could find it as a calculation. I got the point and already implmeented the fix by introducing a modf function that splits the fraction and integer and then preserves the accumulation logic with the rounding but only on the fraction.


[SPARK-37644][SQL][FOLLOWUP] When partition column is same as group by key, pushing down aggregate completely.

What changes were proposed in this pull request?
When JDBC option specifying the "partitionColumn" and it's the same as group by key, the aggregate push-down should be completely.
Why are the changes needed?
Improve the datasource v2 complete aggregate pushdown.
Does this PR introduce any user-facing change?
'No'. Just change the inner implement.
How was this patch tested?
New tests.

cc @cloud-fan

thanks, merging to master!

@cloud-fan @huaxingao Thank you for review.


Update assets for API reference generation

This PR updates the assets for API reference generation, again.
depends-on: #47711

/lgtm


Not working on DEV on network devices

Hi,
Thanks for this great library. I have come across an issue where when I add --host to give dev server network address - the website displays without any styling on all devices connected to network address.
What is the best way to solve this just for dev.
Thanks

Hi @moshetanzer
This could be related to the default security setup for ‘upgrade-insecure-requests’ when serving with —host without a secure SSL connection
Can you try our recommended setup for —host at  https://nuxt-security.vercel.app/documentation/advanced/faq#running-app-with-host-flag
And let us know if this works for you ?

Hi, Yes thanks this worked better than just using the --https flag.
Thank you.
Shouldnt cors handler * be set only for dev to all?

Also when using strictTransportSecurity true - nuxt.config.ts type is wrong since it expects false
https://github.com/Baroshem/nuxt-security/blob/8305b48079dc7c0ef83a16d3f6de24dfc41e563b/src/types/headers.ts#L237C1-L238C1

Shouldnt cors handler * be set only for dev to all?

With all the settings we usually prefer to have it the same for all environments to avoid situations where something will pass on dev environment and will fail on prod environment. This is shipped by us as a good practise but you can always customize it to work only on certain environment the way you want :)

Also when using strictTransportSecurity true - nuxt.config.ts type is wrong since it expects false https://github.com/Baroshem/nuxt-security/blob/8305b48079dc7c0ef83a16d3f6de24dfc41e563b/src/types/headers.ts#L237C1-L238C1

I think you are correct. Could you please create a new issue with it? I think it is related to the documentation only as we changed it some time ago from accepting boolean values to only accept Object / false.
And if you would be interested in contributing, we would be very happy to help you with your first PR :)


TablerIcons from table sample missing

where is TablerIcons.Info_circle?
in,
error,
error CS0103: The name 'TablerIcons' does not exist in the current context
code from the samples at https://tabblazor.com/docs/tables,
@using TabBlazor;
...
@code{
...
private async Task ShowDialog( string title ) {
await ModalService.ShowDialogAsync(new TabBlazor.Components.Modals.DialogOptions {
CancelText = "",
StatusColor = TablerColor.Primary,
IconType = TablerIcons.Info_circle,
MainText = title
});
}
}
nuget,
nuget TabBlazor 0.7.10-alpha
_Imports.razor,
@using TabBlazor
Program.cs,
builder.Services.AddTabler();
builder.Services.AddTabBlazor();
_Layout.cshtml, at the end of Head tag

Hello,
Please check https://tabblazor.com/docs/icons
Icons are not included by default. Just create a static class and select/copy the icons from the Icon list.

Okay, it's a bit strange that there is a class for it in the samples, but I have to create a different class with a different name as to not conflict with the existing one, but it works, thanks.


Jackson IO Library

IO Jackson Implementation.
Based off #15 for the AdapterPresenceTest
TODO:

[ ] Decide on the correct version for FeatherModule.VERSION
[ ] Fix up docs on JacksonTest
[ ] Potentially redesign the ignoreNonDocumented implementation
[ ] Add more documentation :harold:.

Things noticed:

[ ] ParameterData uses a signed byte for the index, should really be unsigned (0-255)
[ ] IllegalArgumentException used in places instead of JsonParseException/JsonDataException
[ ] No tests for the Manifest?

Just a question: What is the usage of this? I have no problem with adding it, but I want to know why we have this module.

https://github.com/ParchmentMC/Feather/issues/12
Jackson happens to be the other leg of the main three JSON libraries for Java (GSON, Jackson, Moshi), I believe we also got a request for it at some point.
It semi serves as a good alternative for Moshi since that moved to Kotlin.


Crate doesn't build due to build errors in a dependency

error[E0282]: type annotations needed
  --> /home/cody/.cargo/registry/src/github.com-1ecc6299db9ec823/sample-0.6.2/src/window.rs:57:41
   |
57 |         let v = phase.to_float_sample().to_sample() * PI_2;
   |                                         ^^^^^^^^^ cannot infer type for type parameter `S` declared on the associated function `to_sample`
   |
help: consider specifying the type argument in the method call
   |
57 |         let v = phase.to_float_sample().to_sample::<S>() * PI_2;
   |                                                  ^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0282`.
error: could not compile `sample`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

Dependency sample-0.6.2 does not build and so I cannot build this crate, version synth = "0.11.0".

Hi thanks for the issue @ocdy1001, I wrote this crate back in the earlier days of Rust - these days my approach to writing a synth like this would be very different. I think I'll archive this repo to make it clear that it's no longer actively developed.


A11y_Azure Tools for VS Code [BM]_Default Screen_Resize: Unable to see complete information when we change text size to 200%.

Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
GitHubTags:
#Azure Tools for VS Code; #A11ySev1; #A11yTCS; #BM-Azure Tools for VS Code-Win-Feb2021; #DesktopApp; #Resize; #WCAG1.4.4; #NVDA; #Win10;
OS Details:
Windows 10 Version 20H2 (OS Build 19042.685)
Environment Details:
Application Name: Azure Tools for VS Code
Version: 1.53.1
Commit: 5d424b828ada08e1eb9f95d6cb41120234ef57c7
Date: 2021-02-08T23:29:42.785Z
Electron: 11.2.1
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19042
Azure Function Version: 1.2.1
Repro Steps:

Change the display resolution to 1280x 786 and change the text size to 200%
Open Visual studio code
Tab till extension button and press enter on it.
Search for "Azure Functions" and select it.
Tab till "Install" button and press enter on it.
Tab till "Azure" button from left side pane and press enter on it.
Default screen will get open.
Verify everything is visible or not.

Actual Result:
Unable to see  complete information when we change text size to 200%.
Expected Result:
User should be able to see complete information when we change text size to till 200%.
User Impact:
Low vision users find it difficulty in viewing the content and performing operations if few controls and content is not available when we change the text size
Attachment for Reference:
https://user-images.githubusercontent.com/38523250/108177559-6b233780-7129-11eb-8223-81c1215a7c7c.mp4
2673_Resize issue_Default screen.zip

Our extension does not control zooming of the UI. Tracked in VS Code by https://github.com/microsoft/vscode/issues/115878


Dynamic roles definition by a custom bind to RolesStore

Currently there is no out of the box possibility to define roles dynamically. This feature will be in particular useful for custom user authentication plugins.
Example:
public void onModule(AuthorizationModule module) {
  module.registerRoleStore(CustomRoleStore.class);
}

@s4nch3z sorry for the delay in response, could you provide some more details about your use case for dynamically defined roles?

+1 For this feature, we need to add roles on fly through REST. So custom realm must somehow replace default RolesStore...
Please add this feature.

@Hronom we're adding APIs that allow role management and these will be stored within the cluster. With this API, do you still need the ability to have a custom realm define roles?

@jaymode Actually we run app that work with Elasticsearch through REST API.
Our app needs to create new roles for users in Elasticsearch cluster on fly through REST API.
Is new APIs gives this ability?


Cannot invoke 'WebSocket' with an argument list of type '(url: URL)'

Hello
Thanks for watching
I use xcode 9.0 . pod 1.3.1
in podfile
    pod 'Starscream', '~> 2.0.3'
in source code
import Starscream
  var soc = WebSocket(url: URL(string: "ws://localhost:8080/")!)
But i'm getting an error

Cannot invoke 'WebSocket' with an argument list of type '(url: URL)'

or other case
  var soc = WebSocket(url: URL(string: "ws://localhost:8080/")!, protocols: nil)
-- Type of expression is ambiguous without more context
please help

Sorry. it was an conflict with other class


ZEPPELIN-3463 pip freeze statsmodel 0.8.0

What is this PR for?
pip freeze statsmodel 0.8.0.   The new version statsmodel 0.9.0 fails to install using install_external_dependencies.sh
What type of PR is it?
Bug Fix
What is the Jira issue?

[ZEPPELIN-3463]
https://issues.apache.org/jira/browse/ZEPPELIN-3463

How should this be tested?

sh testing/install_external_dependencies.sh

Questions:

Does the licenses files need update?
No
Is there breaking changes for older versions?
No
Does this needs documentation?
No

can you update the PR description, include link to JIRA https://issues.apache.org/jira/browse/ZEPPELIN/ etc.?

I have updated the PR description and link.

LGTM


fix(build): build project path error

Description
fix #9771

Additional context

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[ ] Read the Contributing Guidelines.
[ ] Read the Pull Request Guidelines and follow the Commit Convention.
[ ] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Thanks for the fix @btea! Would you try to add a test case so we avoid regressions in the future here? I think you should be able to add index.html in the config of the assets playground to replicate the issue?

@patak-dev Hello, Could you help me add the test case? I don't know how to add it. Thanks!

Whoops I didn't see the comment before approving 😅 @btea it should be setting the input like https://github.com/JiPaix/Fukayo/blob/183069a81a17b9b651261d374a253641edf59a73/packages/renderer/vite.config.js#L50 in the assets playground, which should be all that's need I think.

@bluwy Hi, did I misunderstand what you meant? After I updated the code, the ci failed 😅

Oh, sorry @btea, looks like index.html works if you run the repo directly, but not in our tests since root ends up being CWD. Setting the root for all tests may be a good idea moving forward, but better to work on this in another PR. Let's revert the tests change.
@JiPaix, would you confirm that this PR fixes the issue for you?

Oh, sorry @btea, looks like index.html works if you run the repo directly, but not in our tests since root ends up being CWD. Setting the root for all tests may be a good idea moving forward, but better to work on this in another PR. Let's revert the tests change. @JiPaix, would you confirm that this PR fixes the issue for you?

@patak-dev
rollupOptions.input: 'index.html'.

linux: ./src/filename.ext
windows: ./filename.ext

same output with base: '' and base: './'.

Thanks for testing @JiPaix, let see if @btea is able to reproduce it 👍🏼

@patak-dev @JiPaix I tested it with wsl, the output is normal, the path does not contain src.

@sapphi-red maybe you could try this one with a real Windows box there?

It's working for me.
I tested with create-vite vanilla with the following config.
export default {
  base: './',
  build: {
    rollupOptions: {
      input: 'index.html'
    }
  }
}

Build result (index.html) with both Windows and WSL:
    <script type="module" crossorigin src="./assets/index.0771aa93.js"></script>
    <link rel="stylesheet" href="./assets/index.d0964974.css">

@JiPaix would you provide a minimal reproduction of your issue with this PR?

@sapphi-red @patak-dev @btea
Nvm it works, i was doing something wrong...
sorry to waste your time :face_with_head_bandage:


app.unregister() fails for instance method callbacks

In app.py, the key used for callbacks relies on the id() function of the callback.  The internal id for instance methods defined with async def apparently does not seem to be persistent.
import asyncio

class A(object):
    async def foo(self):
        print(id(self.bar))
    async def bar(self):
        pass

loop = asyncio.get_event_loop()

async def test():
    a = A()
    await a.foo()
    await a.foo()

loop.run_until_complete(test())

#<PHONE_NUMBER>90152
#<PHONE_NUMBER>94440

Would it be a reasonable solution to check callbacks during register() for isinstance(callback, types.MethodType) and use a combination of id(callback.__func__) and id(callback.__self__) as a key?

Update...
So for some reason now I cannot seem to duplicate the results from the snippet above.  The issue is still present in my application though (the first line is the output from print(id(self.<mycallback>)):
140280319751880
2017-01-06 16:29:39,069 [ERROR] - default_exception_handler: Task exception was never retrieved
future: <Task finished coro=<SofiEventProtocol.onMessage() done, defined at /home/nocarrier/programs/vidhub-control/venv3/lib/python3.5/site-packages/sofi/app/app.py:162> exception=KeyError('140280319750728',)>
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/home/nocarrier/programs/vidhub-control/venv3/lib/python3.5/site-packages/sofi/app/app.py", line 170, in onMessage
    await self.processor.process(self, body)
  File "/home/nocarrier/programs/vidhub-control/venv3/lib/python3.5/site-packages/sofi/app/app.py", line 145, in process
    await handler(event)
  File "vidhubcontrol/sofi_ui/main.py", line 335, in on_device_select_click
    self.app.unregister('click', self.on_click, selector='button')
  File "/home/nocarrier/programs/vidhub-control/venv3/lib/python3.5/site-packages/sofi/app/app.py", line 29, in unregister
    self.interface.unregister(event, callback, selector)
  File "/home/nocarrier/programs/vidhub-control/venv3/lib/python3.5/site-packages/sofi/app/app.py", line 125, in unregister
    self.handlers[event].pop(str(id(callback)))
KeyError: '140280319750728'

I'm ok with using some other mechanism as the key, just need something unique that's easy to access.


Added missing components to 1.2.4.

Signed-off-by: dblock<EMAIL_ADDRESS>Description
Will make sure all versions have been incremented.
Issues Resolved
Part of https://github.com/opensearch-project/opensearch-build/issues/1417
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1448 (2b39dc4) into main (1f2608b) will decrease coverage by 10.60%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##               main    #1448       +/-   ##
=============================================
- Coverage     94.43%   83.82%   -10.61%
  Complexity       11       11
=============================================
  Files           141       21      -120
  Lines          3071       68     -3003
  Branches          8        8
=============================================
- Hits           2900       57     -2843
+ Misses          164        4      -160
  Partials          7        7

Impacted Files
Coverage Δ

.../ci_workflow/ci_check_gradle_properties_version.py

src/run_bwc_test.py

src/ci_workflow/ci_target.py

src/build_workflow/build_artifact_checks.py

src/paths/output_dir.py

src/manifests/test_manifest.py

src/test_workflow/test_recorder/log_recorder.py

src/test_workflow/test_kwargs.py

src/manifests_workflow/manifests_args.py

src/manifests/build_manifest.py

... and 110 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 1f2608b...2b39dc4. Read the comment docs.


GlusterFS volume create fails when launching a single control node

glusterfs_volume.sh.j2 contains the command:
NAME=$1

if ! gluster volume list | grep -q $NAME; then
    gluster volume create $NAME \
            replica {{ glusterfs_replication }} \
            {% for server in groups[glusterfs_server_group] %}{{ server }}.node.{{ consul_dns_domain }}:{{ glusterfs_brick_location }}/$NAME {% endfor %}{% if glusterfs_volume_force == "yes" %}force{% endif %};
else
    echo "volume already created";
fi;

If {{glusterfs_replication}} replication value is 1 in the case of a single control node the volume create command will fail as 1 is not a valid replica count.
I'm thinking there should be an {% if glusterfs_replication <= 1%} to catch the single controller case and run the volume create command without the replica parameter set.

@BrianHicks You mentioned in #733 that we may have depreciated single control node setups. Is that correct? If so, we can close this issue.

@chrholme we really can't recommend using single-control-node clusters, as data loss is almost guaranteed in any outage, and you have no capacity for maintenance. But we could really stand to have a more friendly error message indicating that in this case. I think that's going to have to be the solution to this ticket. Were you able to get around this? I'm sorry that this issue fell through the cracks.

I fully agree that single node master is a bad idea for anything prod but its nice to have it as an option for spinning up POCs.  That said I'm happy to hack the Ansible for this use case if its not going to be officially supported.

@crholme I actually have a branch with your suggested fix, I just haven't been able to test yet. I'll keep you posted. If you'd like to try it out and test as well, that's be super helpful.

@chrholme If you're interested in testing/trying it out, feature/configurable-vms should fix the issue.

Fixed in #942


[InputUnstyled] Use useSlotProps

Replaced the existing logic for preparing slot props with the useSlotProps hook.
Fixed an error in a demo along the way (minRows and maxRows were incorrectly forwarded).

Should we add usage of useSlotProps for resolving https://github.com/mui/material-ui/pull/33100#discussion_r896700463? Is this a public API, and if not should we make it?

Yes, it could be useful for devs creating styled versions of components based on hooks. I'll export it from the package's main index file.


test/cpp/qps:json_run_localhost tests hang if Read(&client_status) after WritesDone()

What version of gRPC and what language are you using?
C++
What operating system (Linux, Windows,...) and version?
Linux
What runtime / compiler are you using (e.g. python version or version of gcc)
What did you do?
If possible, provide a recipe for reproducing the error. Try being specific and include code snippets if helpful.
Didn't comment line 495 in test/cpp/qps/driver.cc, and then run:
bazel run //test/cpp/qps:json_run_localhost_cpp_protobuf_async_streaming_from_server_qps_unconstrained_insecure@poller=epollex,
What did you expect to see?
Test Passed
What did you see instead?
test/cpp/qps/json_run_localhost_cpp_protobuf_async_streaming_from_server_qps_unconstrained_insecure --scenarios_json '{scenarios : [{"name": "cpp_protobuf_async_streaming_from_server_qps_unconstrained_insecure", "warmup_seconds": 0, "benchmark_seconds": 1, "num_servers": 1, "server_config": {"security_params": null, "server_type": "ASYNC_SERVER", "async_server_threads": 0, "threads_per_cq": 3, "channel_args": [{"str_value": "throughput", "name": "grpc.optimization_target"}, {"int_value": 1, "name": "grpc.minimal_stack"}]}, "client_config": {"security_params": null, "channel_args": [{"str_value": "throughput", "name": "grpc.optimization_target"}, {"int_value": 1, "name": "grpc.minimal_stack"}], "async_client_threads": 0, "outstanding_rpcs_per_channel": 100, "rpc_type": "STREAMING_FROM_SERVER", "load_params": {"closed_loop": {}}, "histogram_params": {"resolution": 0.01, "max_possible":<PHONE_NUMBER>0.0}, "client_type": "ASYNC_CLIENT", "payload_config": {"simple_params": {"resp_size": 0, "req_size": 0}}, "client_channels": 64, "threads_per_cq": 3}, "num_clients": 0}]}'
RUNNING SCENARIO: cpp_protobuf_async_streaming_from_server_qps_unconstrained_insecure
I1029 00:12:52.750339735   49197 driver.cc:297]              Starting server on localhost:19467 (worker #0)
D1029 00:12:52.750704275   49197 ev_posix.cc:174]            Using polling engine: epollex
D1029 00:12:52.750803520   49197 dns_resolver_ares.cc:503]   Using ares dns resolver
I1029 00:12:52.751491453   49197 subchannel.cc:1053]         New connected subchannel at 0x18646b0 for subchannel 0x1840c00
I1029 00:12:53.155825327   49197 driver.cc:357]              Starting client on localhost:30402 (worker #1)
D1029 00:12:53.156005825   49197 driver.cc:381]              Client 0 gets 64 channels
I1029 00:12:53.157057054   49197 subchannel.cc:1053]         New connected subchannel at 0x186f530 for subchannel 0x181b2b0
I1029 00:12:53.455431123   49197 driver.cc:402]              Initiating
I1029 00:12:53.459613039   49197 driver.cc:423]              Warming up
I1029 00:12:53.459649663   49197 driver.cc:429]              Starting
I1029 00:12:53.472343037   49197 driver.cc:456]              Running
I1029 00:12:54.459729067   49197 driver.cc:470]              Finishing clients
I1029 00:12:54.461494086   49197 driver.cc:486]              Received final status from client 0

Test hangs for 12 minutes......

I1029 00:24:33.637637386   49197 driver.cc:501]              Finishing servers
I1029 00:24:33.639845287   49197 driver.cc:541]              Received final status from server 0
I1029 00:24:34.610079098   49197 report.cc:82]               QPS: 86622.3
D1029 00:24:34.610552520   49197 report.cc:106]              CLIENT[0].client_calls_created = 6400
D1029 00:24:34.610585932   49197 report.cc:106]              CLIENT[0].server_calls_created = 1
D1029 00:24:34.610601438   49197 report.cc:106]              CLIENT[0].cqs_created = 12
D1029 00:24:34.610616381   49197 report.cc:106]              CLIENT[0].client_channels_created = 64
D1029 00:24:34.610631111   49197 report.cc:106]              CLIENT[0].client_subchannels_created = 128
D1029 00:24:34.610645771   49197 report.cc:106]              CLIENT[0].server_channels_created = 1
D1029 00:24:34.610660396   49197 report.cc:106]              CLIENT[0].syscall_poll = 42989
D1029 00:24:34.610673731   49197 report.cc:106]              CLIENT[0].syscall_wait = 0
D1029 00:24:34.610683722   49197 report.cc:106]              CLIENT[0].pollset_kick = 79828
D1029 00:24:34.610693163   49197 report.cc:106]              CLIENT[0].pollset_kicked_without_poller = 15269
D1029 00:24:34.610702473   49197 report.cc:106]              CLIENT[0].pollset_kicked_again = 3091
D1029 00:24:34.610711636   49197 report.cc:106]              CLIENT[0].pollset_kick_wakeup_fd = 204
D1029 00:24:34.610720811   49197 report.cc:106]              CLIENT[0].pollset_kick_wakeup_cv = 374
D1029 00:24:34.610730193   49197 report.cc:106]              CLIENT[0].pollset_kick_own_thread = 60890
D1029 00:24:34.610739597   49197 report.cc:106]              CLIENT[0].syscall_epoll_ctl = 524
D1029 00:24:34.610766827   49197 report.cc:106]              CLIENT[0].pollset_fd_cache_hits = 0
D1029 00:24:34.610776144   49197 report.cc:106]              CLIENT[0].histogram_slow_lookups = 6401
D1029 00:24:34.610784608   49197 report.cc:106]              CLIENT[0].syscall_write = 6565
D1029 00:24:34.610792801   49197 report.cc:106]              CLIENT[0].syscall_read = 64261

...... Test finished with timeout.
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
See TROUBLESHOOTING.md for how to diagnose problems better.
Anything else we should know about your project / environment?

This issue is found in #20809

@nanahpang  Thanks for filing the issue but please reassign. The code is owned by the C-core team so I'm not the right person to debug.

@nanahpang  FYI github can make nice links like this: https://github.com/grpc/grpc/blob/0856e267efdf9b3d06367641c9e5dc6290502b9f/test/cpp/qps/driver.cc#L495

I thought it is related this line of the qps_worker:
https://github.com/grpc/grpc/blob/f8bf05bceec8bf36525aa2ee92c04a8226bcef60/test/cpp/qps/qps_worker.cc#L218
And then jump to client_callback.cc or client_async.cc
Do you mean the clietn_callback.cc and client_async.cc do not owned by you? @jtattermusch

@jtattermusch  I do not own any of the C / C++ code. They are owned by C-core team. I am only involved because I know about the testing infrastructure and I have setup the OSS benchmarks in the past (but I do not own the benchmarking C++ code itself).

@jtattermusch I see, sorry that I misunderstood this part.

@nanahpang is this still relevant?

It is already fixed. :)


Query Cache - network request nevertheless

Describe the bug
For my codebase and the codesandbox provided by #1082 the cache doesn't seem to kick in.
To Reproduce
Steps to reproduce the behavior:

Go to mentioned codesandbox in #1082
Open network tab in dev tools
cache fills according to react-query-devtools but data is re-fetched every time nevertheless.

Expected behavior
On fetch of a cached query, no network request is made.
Screenshots

Desktop (please complete the following information):

OS: Linux (Arch)
Browser: vivaldi
Version: 3.4.2066.99

also tested in chrome and firefox (no better there). I also tried playing around with the react-query version but I couldn't find any version with behavior as expected.

It is caching, but always updating in the background. Try setting the staleTime option to a higher number.

Ok never mind me. The problem was staleTime. After setting staleTime: Infinity I had my expected behavior. Although I don't quite understand why a query going stale immediately and being cached could be useful.

It defaults to being as up to date as possible. Defaulting to any stale time greater than zero is already an opinion that most would want to change. This keeps things simple and configurable

Sure that makes sense, but wouldn't you then want to just disable cache entirely?

No because then you’ll hit hard loading screens for data you have already seen.

Ok. Anyway thanks a lot. I'm also using you're table library which I enjoy very much.


Inconsitency between overlay processing (config vs devicetree)

There are two different behaviour when it comes to processing overlay, depending if it is for configuration (Kconfig) or for device tree (dtc).

OVERLAY_CONFIG : is automatically processing $BOARD.conf
DTC_OVERLAY_FILE: is not processing $BOARD.overlay

I'll like to see an option (perhaps OVERLAY_DTC) with the same behaviour as OVERLAY_CONFIG where board overlay are always processed the same way (for config or device tree)

cc @tejlmand

Supported was added many releases ago for EXTRA_DTC_OVERLAY_FILE


Documentation.

Codecov Report

Merging #12 (bc3b0ac) into main (b0e3fa6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #12   +/-   ##
=======================================
  Coverage   82.24%   82.24%
=======================================
  Files          37       37
  Lines        2174     2174
=======================================
  Hits         1788     1788
  Misses        347      347
  Partials       39       39

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 b0e3fa6...bc3b0ac. Read the comment docs.


Maintenance of Working with MNE-Python and EEG-BIDS module

Module to maintain
Website: https://school-brainhack.github.io/modules/mne_python/
Code: https://github.com/school-brainhack/school-brainhack.github.io/tree/main/content/en/modules/mne_python
Work to be done
Please ensure:

[x] links, resources and exercises reflect the state-of-the-art
[x] videos are of good quality and reflect the materials.
@htwangtw

Close as no issues were reported


RWKV Support

Thank you, I'm running it on my machine and will leave my reviews later.

We can discard the changes in mlc_llm/conversation.py because that part would be refactored soon.


Update http4s-circe, http4s-dsl, ... to 0.23.22

About this PR
📦 Updates

org.http4s:http4s-circe
org.http4s:http4s-dsl
org.http4s:http4s-server

from 0.23.14 to 0.23.22
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.http4s" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, version-scheme:early-semver, commit-count:1

Superseded by #186.


[ATK] Udo Neuroth 68020 Turbo-Karte fails Memory Test

I have an A2000 rev 6.2. with an Udo Neuroth Turbo-Karte, that is an accelerator with a 020 and 4 MB of Fast 32-bit RAM.
Contrary to that the above page says, the RAM does NOT autoconfig, it needs a tool from the install floppy to be run (Add32Bit), which will instantly "insert" the RAM into the system. I also have an Oktagon card with 4 MB of Fast RAM, which gets autoconfig'ed at $200000-$5fffff, so the RAM from the Udo Neuroth gets mapped at $600000-$9fffff.
The system appears to be working correctly, though I haven't done extensive testing on it. I have tried to run the ATK Memory Test and:

If I boot it straight away, it won't see the ram from the Udo Neuroth Card (which is expected AFAIK).
If I run the "manual" memory scan it will detect 5 MB of Fast RAM, that is the 4 MB from the Oktagon + 1 MB from the Udo Neuroth, and it will all test fine.
If I run the WB version of ATK once WB has booted and the memory has been configured by the tool, it will see the whole 8 MB (4+4) but the test will fail as soon as it checks the $600000-$67ffff range.

I have tried to edit the start/end addresses to test 1 MB from the Udo Neuroth at a time and this way it will always succeed. So I guess what's happening is that the memory is wrapping at every 1 MB, but I don't understand why this is happening. Other memory tests I have tried either do not see the Udo Neuroth RAM or detect no problems (but they might be crappy and not detect "wrapovers"). Could this be a bug in ATK or more likely a problem with my card?
The card has a "1/4 MB" jumper, but I'm not sure which setting corresponds to the jumper open or closed and the manual does not help. All I can say is that it is currently closed and if I open it the RAM config tool will crash, so it looks like it's in the 4 MB position.

After a lot of testing, I can conclude that ATK is right and the board does not have 4 MB. In fact, a look at the board revealed that it has 8 Siemens HYB514256BJ-70 chips, which are 256Kx4, thus the total amount is 1 MB. I guess these could be replaced with some other chips (1Mx4?) for the 4 MB configuration.
I can also guess that the 1/4 MB jumper is not supposed to be changed by the user to decide how much RAM they want to see, but it's rather a factory setting (at least if you have the 1 MB version).
Bottom line is there's nothing wrong in ATK, sorry for the waste of time.


Store metadata as a nested dict in the HDF5 not as a flat string

Currently the Hyperspy metadata is a flat string in the HDF5, it should ideally retain the nested dict structure. Maybe even consider directly using / modifying the Hyperspy file format ?? See #7

@znekula see this gist for an example: https://gist.github.com/matbryan52/b0e3b61d158d9a988fcfdea78cd5ff55


Fixed octopush legacy doesn't return error code

⚠⚠⚠ Since we do not accept all types of pull requests and do not want to waste your time. Please be sure that you have read pull request rules:
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma
Tick the checkbox if you understand [x]:

[x] I have read and understand the pull request rules.

Description
The octopush legacy API does not return a HTTP error code and instead always returns a HTTP 200. This means that no error it thrown even if something like the parameters are incorrect.
Instead the error code is given in the json response data. Therefore we must look at the response data and check for the presence of the "error_code" key in the response data.
Type of change

Bug fix (non-breaking change which fixes an issue)

Checklist

[x] My code follows the style guidelines of this project
[x] I ran ESLint and other linters for modified files
[x] I have performed a self-review of my own code and tested it
[x] I have commented my code, particularly in hard-to-understand areas
(including JSDoc for methods)
[x] My changes generate no new warnings

Why is this a draft?
I can't find any documentation for the legacy octopush API and as such can't verify that the error_code key is only present in error responses (there is a risk they also put it in successfull responses, which this PR would break). I have tried contacting them and am waiting for them to get back to me. As I don't have an octopush account, and creating a new one would not let me test the legacy service, I can't test this my self. In the meantime, if someone who does use the legacy service could confirm if the error_code key is present in success responses, I could convert this PR to be ready to merge.

https://github.com/octopush/Octopush-SMS-API-PHP/blob/ed903f4c608bdb78246e6a035f232bb003b78dd5/src/Octopush/Api/Client.php#L271-L276
These lines seem to indicate that it may be included in all requests but 0000 is a success. I will modify the PR accordingly


Nick: Watch chardhampackage.com

Nick requests the watch of the watch_keyword chardhampackage\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

chardhampackage\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ


Rancher-Compose "Stop -t " option is not working

**Rancher Version:**v1.0.2-rc2
**Docker Version:**v0.7.4, v0.8.0
Environment Type: (Cattle/Kubernetes/Swarm/Mesos): Cattle
Steps:

rancher-compose stop --help

$ ./rancher-compose stop --help
Usage: rancher-compose stop [OPTIONS]

Stop services

Options:
   --timeout, -t "10"   Specify a shutdown timeout in seconds.

The time out option is currently not working.

According to @alena1108, Cattle doesn't currently have a concept of forcefully stopping services. This makes implementing this command impossible for now. In the meantime, this flag should be removed so users don't get confused and assume this functionality exists.

@joshwget can we remove this flag if we can't support this?

This flag isn't present in the Rancher CLI.


Fix provider & consumer install doc guide #488

What is the purpose of the change
Fix #488

Thanks : )


operators hazelcast-operator (0.3.7)

Signed-off-by: devOpsHelm<EMAIL_ADDRESS>

/merge possible

/merge possible


support TCP routes

https://github.com/deislabs/smi-spec/blob/master/traffic-specs.md#tcproute

ref https://github.com/openservicemesh/osm/issues/1521


Tag generation

Would be great if merlin supported tag generation. It might seem redundant because merlin has its own mechanism to go to definition but the point is that editors have very good integration with tag files that would be hard for merlin to replicate. For example, searching for tags, highlighting them in a buffer, navigating back and forth, etc.
otags but it doesn't work with ppx and is annoying to use.

I don't feel like this is the job of merlin, plus a program which postprocess cmts to produce tag files seems pretty easy to do.


Deduplication for Prune and Check jobs

Summary
WIP
Closes #214
Checklist

[ ] Keep pull requests small so they can be easily reviewed.
[x] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking,
as they show up in the changelog
[ ] Update the documentation.
[ ] Update tests.
[x] Link this PR to related issues.

Did some testing with this.
It currently doesn't detect when someone changes the repository on an existing schedule.
I created two identical random schedules for check in two namespaces:
k get schedules.backup.appuio.ch --all-namespaces
NAMESPACE   NAME                     AGE
default     schedule-deduplication   24s
test        schedule-deduplication   12s

It was deduplicated properly:
k get effectiveschedules.backup.appuio.ch
NAME                     SCHEDULE NAMESPACE   SCHEDULE NAME            GENERATED SCHEDULE   JOB TYPE   AGE
check-lsnrqxzf9cjrbkf2   default              schedule-deduplication   54 * * * *           check      31m

Changing the backend on one of the schedules doesn't de-deduplicate the effective schedule. It still remains one. Also after deleting and re-creating the schedule it still stays the same.
I have to delete all schedules and re-create them to get it work again.
I did some debugging and it looks like upsertEffectiveScheduleInternally(), doesn't create a new effective schedule in that case.

It currently doesn't detect when someone changes the repository on an existing schedule.

argh darn. I thought of changisch a schedule, but not changing of a backend. I't simply not implemented

argh darn. I thought of changing a schedule, but not changing of a backend. I't simply not implemented

Changing the schedule is the easier use case. Changing the backend could get more complex as it creates a new scope for deduplication and needs to be removed from existing effective schedules.

Changing the schedule is the easier use case. Changing the backend could get more complex as it creates a new scope for deduplication and needs to be removed from existing effective schedules.

I'd say it's about the same complexity. changing the original schedule (e.g. from daily-random to hourly-random) also requires to be removed from existing effective schedules


Update go.md

create golang example
Description
In this example, we provide a simple Go program that connects to FerretDB, inserts a new user into the users collection of the test database, and then lists all the users in that collection. This example serves as a guide for users who want to interact with FerretDB using the Go programming language.
Readiness checklist

[ ] I added/updated unit tests (and they pass).
[ ] I added/updated integration/compatibility tests (and they pass).
[ ] I added/updated comments and checked rendering.
[ ] I made spot refactorings.
[x] I updated user documentation.
[ ] I ran task all, and it passed.
[ ] I ensured that PR title is good enough for the changelog.
[ ] (for maintainers only) I set Reviewers (@FerretDB/core), Milestone (Next), Labels, Project and project's Sprint fields.
[ ] I marked all done items in this checklist.

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

create golang example

I'm sorry, was it a generative AI prompt?

In any case, we can't accept the PR without our CLA signed.


Registry key evaluation not always working

Due to a missing \ after hklm: the Component Based Servicing and Windows Update keys are not always processed I believe.
Problem code in MSFT_xPendingReboot.psm1 @ line 14 & 24

@PiAnAnXa  & @kwirkykat
Double checked xPendingReboot code.  @PiAnAnXa is correct as far is code is concerned;
current behavior (PowerShell 5 and earlier versions) of Get-ChildItem dictates a SMB like path, so hlkm:\ or c:
see: https://technet.microsoft.com/en-us/library/ee176841.aspx
and: https://technet.microsoft.com/en-us/library/hh849800.aspx

I think this issue has been resolved and can be closed.

@gaelcolas - can you close this one?


display spark datasets and dataframes with table widget

see @jpallas comments https://github.com/twosigma/beakerx/pull/6993
indeed.  the widget should show just what spark normally shows ascii-formatted tables (sometimes very wide).
is there a way to configure show method to use our repr?
maybe via https://github.com/jupyter/jvm-repr?
add a new method or a subclass?
after the tables support streaming https://github.com/twosigma/beakerx/issues/7006
then we can connect them directly to that.

related: https://github.com/twosigma/beakerx/issues/7041

show is defined directly by Dataset and has no return value, so I don't think there's any way to get it into a table short of scraping the output (or doing unspeakable things with cglib).

on the other issue you said:

(I've prototyped this).
care to share? jarek could pick up your work if you think it's on the right track.

What I did is just a few lines:
implicit class DatasetOps(ds: org.apache.spark.sql.Dataset[_]) {
    def display(rows: Int = 20) = {
        // I do not understand why this import is necessary
        import com.twosigma.beakerx.scala.table.TableDisplay
        val columns = ds.columns
        val rowVals = ds.toDF.take(rows)
        val t = new TableDisplay(rowVals map (row => (columns zip row.toSeq).toMap))
        t.display()
    }
}

(There is something strange going on with imports and visibility in the Scala kernel, maybe some odd interaction with the way the interpreter wraps things.)
Example with a Dataset[Fields] where case class Fields(first: String, second: String, third: Int):


default ZAFIRA_ELASTICSEARCH_URL has reference to localhost incorrectly

https://github.com/qaprosoft/zafira/blob/67657606d24117720d3dd41b6a5a002de2960256/integrations.env#L16
We can't use localhost here and seems like 9200 is one more requirement to open port for Zafira server.
On AWS instances with public/private IP and limited number of shared ports elasticsearch can't be configured at all.

This is default config for local deployment, like we do specify localhost for default backend. For cloud deployment you have to provide correct public IP or host name. By the way you are capable to expose any allowed port in required by AWS range.


Validate bicep using ARM

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Provisioning


[AMD] Pipeline support for gpu.barrier in epilogue

When loop pipelining, do not predicate gpu.barrier. It should be unconditional.

@ThomasRaoux should this be handled in tt::predicateOp?


Need help in setting up VPN in nixOS

Hello,
I've read your tutorial on nixOS and it's great! I was wondering if you would be willing to share your config for VPN clients like clash and v2ray. I've been trying to set up a VPN on my nixOS machine for a while now but haven't found a good solution. I hope I can learn from your approach.
It would be really helpful if you could share any solution or suggestions. Thank you in advance for your assistance.

I'm using a bypass router(openwrt) to speed up my NixOS downloading, for some stuff like v2ray/dae, considering ask for help at https://t.me/nixos_zhcn

FYI, how to setup http proxy for nix-daemon:
https://nixos-and-flakes.thiscute.world/nixos-with-flakes/add-custom-cache-servers#use-local-http-proxy-to-speed-up-nix-package-download

Thanks for your help! Let me have a try.

I solved my problem now. Thanks a lot!


[Toolpad Editor] Fix Markdown text alignment issue

Fixes #2588
This PR targets to fix the alignment issues when rendering the markdown text component on the canvas. It was also showing the wrong alignment state on the left panel.
The typography was taking full width not allowing the text to align to correct position.
This is a similar issue to this : https://github.com/mui/mui-toolpad/issues/2071
Before :
https://github.com/mui/mui-toolpad/assets/30728574/0e4dfc44-2f4c-4a8b-aee7-47fc3071ae93
After :
https://github.com/mui/mui-toolpad/assets/30728574/cc02ea28-d6c8-40ac-9d5b-20bafa7f2b73

[x] I've read and followed the contributing guide on how to create great pull requests.
[x] I've updated the relevant documentation for any new or updated feature
[x] I've linked relevant GitHub issue with "Closes #"
[x] I've added a visual demonstration under the form of a screenshot or video

Looks good to me! Thanks for the contribution @rohanprasadofficial

Looks good. Shall we add the same as https://github.com/mui/mui-toolpad/pull/2587#issuecomment-1704949837 but with three elements in markdown mode?

@Janpot , yes i think we should add it here as well, will add the visual test and push in.

Thank you!


Document the design system and design assets

The design system documentation is in draft here: https://hackmd.io/@S1meqA60T5ycyQ3qIxy4GA/condadesignsystem
There has been no update on it for the past couple of weeks because I am unsure how to move forward with it. I am not what topics to cover and so far there's only a documentation of the colours we use. I could use some help on this @trallard!


Update Composer dependencies (2022-03-31-00-11)

Visual regression test passed!
View the visual regression test report


feat: Times of India extractor

Adding a custom parser for the Times of India. It's a messy site, no dek (hence no test for it), the author and publish dates are a single line of text, so it's difficult to parse, hence using the fallback for the GenericAuthorExtractor.
Tests pass just fine -
Test Suites: 221 passed, 221 total
Tests:       1205 passed, 1205 total
Snapshots:   0 total
Time:        31.388s, estimated 32s
Ran all test suites.

My first PR, and hopefully more to come. I'd love feedback on this PR!

PASS  src/extractors/custom/timesofindia.indiatimes.com/index.test.js (9.539s)
TimesofindiaIndiatimesComExtractor
initial test case
✓ is selected properly (1ms)
✓ returns the title
✓ returns the author
✓ returns the date_published
✓ returns the lead_image_url (1ms)
✓ returns the content (1ms)
Test Suites: 1 passed, 1 total
Tests:       6 passed, 6 total
Snapshots:   0 total
Time:        10.354s
Ran all test suites matching /timesofindia.indiatimes.com/i.

Bump @adampash

@nitinthewiz included in the latest release!


Usage of deprecated Lambda runtime (Node.js 12)

Describe the bug
Data.all makes use of a number of Lambda functions leveraging the runtime Node.js 12. This Lambda runtime is deprecated and not receiving security updates anymore, resulting in security alerts from AWS Trusted Advisor.
This involves the following Lambda functions:
Deployment account (us-east-1 region, 8 Lambdas affected):
dataall-dev-cloudfront-st-UserPoolClientUpdateHand-gPbr3IcD1BGK
dataall-dev-cloudfront-stage-clou-ParseAuthHandler-Rdf18PSzydcP
dataall-dev-cloudfront-stage-clou-CheckAuthHandler-ubksBahEPw7E
dataall-dev-cloudfront-sta-LambdaCodeUpdateHandler-BnhSbQEF7Cej
dataall-dev-cloudfront-stage--RandomValueGenerator-Ji35iJprMkBa
dataall-dev-cloudfront-st-UserPoolDomainLookupHand-FVicTspGgtBK
dataall-dev-cloudfront-stage-cl-RefreshAuthHandler-aoiGg3TCAbU3
dataall-dev-cloudfront-stage-cloudf-SignOutHandler-cdgdUqRryYZB
Deployment account (home region, 3 Lambdas affected):
dataall-dev-backend-stage-CognitoProviderdevframew-3Jf9ZUyKuHjE
dataall-dev-backend-stage-AWS679f53fac002430cb0da5-nVWUrhAoUikr
dataall-dev-backend-stage-CustomS3AutoDeleteObject-7sp1Sa8kKoTF
Tooling account (home region, 1 Lambda affected):
dataall-main-cicd-stack-CustomS3AutoDeleteObjectsC-nABrKFVwz4c8
Each account onboarded as an environment (region of choice, 1 Lambda affected):
dataall-environment-4kkia-dataallLakeformationDefa-4D9ipp0vGxhX
Lambda runtimes doc: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html

How to Reproduce
A default deployment of data.all will result in these alerts.
Expected behavior
Update of all affected data.all Lambda functions to a supported runtime version.
Your project
No response
Screenshots
No response
OS
Node.js 12
Python version
Node.js 12
AWS data.all version
v1.4.3
Additional context
No response

I can confirm that V1.5 still has this issue, thanks for raising it we are looking into it

The Lambdas with deprecated runtimes are those created automatically by cdk built-in methods. For example, dataall-main-cicd-stack-CustomS3AutoDeleteObjectsC-nABrKFVwz4c8 is created whenever removal_policy=RemovalPolicy.DESTROY is set on an S3 Bucket.
For the tooling account:
self.pipeline_bucket = s3.Bucket(
            self,
            id='source-code-bucket',
            bucket_name=self.pipeline_bucket_name,
            block_public_access=s3.BlockPublicAccess.BLOCK_ALL,
            removal_policy=RemovalPolicy.DESTROY,

We use aws-cdk-lib==2.61.1. I am checking what is the default runtime used in this version.

@tvancasteren if your deployment of data.all is in version V1.4 or lower, the issue can be solved by upgrading to V1.5. I verified that deployments that were on lower versions update the node version once they upgraded to V1.5.
Alternatively you could also upgrade your version of cdk-lib, but we recommend you to upgrade to V1.5 to keep up with the latest changes and fixes.

Thanks @dlpzx for the alignment we've had on this.


Wrap the return of ProveShares into a new type ResultProveShares that lives inside of rpc/core/types/responses/go

Feature Request
Wrap the return of ProveShares into a new type ResultProveShares that lives inside of rpc/core/types/responses/go.
Summary
Every single RPC request in the codebase follows a pattern in which the responses for an rpc method get wrapped into a ResultX type. For example, the DataRootInclusionProof request returns:
type ResultDataRootInclusionProof struct {
	Proof merkle.Proof `json:"proof"`
}

But ProveShares doesn't, it simple returns a type from types.go
Problem Definition
Returning types.go/ShareProof without wrapping it into a result breaks the pattern that is established across RPC methods, and without proper documentation, it leads into errors and confusion when trying to interact with celestia core through any request method that does not involve using celestia-core's Go client.

People will have to change the structure of their responses if they are making their own requests to celestia core using their own code, and people using the http client of previous versions of celestia core to make requests will have to update to a newer version.
Proposal

Add a ResultProveShares type to rpc/core/types.go that wraps around SharesProof like:
type ResultProveShares struct {
   Proof SharesProof `json:"proof"`
}

Why does this issue need the WS: v2 label? It can be fixed in a non-breaking way and released much sooner than v2 is released. To fix this in a non-breaking way:

Create a new endpoint that wraps the response in a result
Deprecate the existing endpoint

We don't need to worry about breaking this since no one is using this. Also, we have to release this as part of V2. So it's fine to have the breaking change instead of introducing new endpoints etc

We don't need to worry about breaking this since no one is using this

I am using this :raised_back_of_hand:
But I think since it's already implemented as a method in Go and Rust, its not something that should require an immediate change and can be done later

I am using this 🤚

Meant external downstream teams with whom we should discuss the change and worry if they won't like it 😆


Util type to parse ref name

Provide a new type to make it easier to parse a ref name.
Actually, it's picked up from #21937, to make the origin PR lighter.

Codecov Report

Merging #21969 (ef0e61d) into main (715cf46) will decrease coverage by 0.02%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main   #21969      +/-   ##
==========================================
- Coverage   48.14%   48.12%   -0.03%
==========================================
  Files        1037     1037
  Lines      141359   141363       +4
==========================================
- Hits        68054    68027      -27
- Misses      65164    65206      +42
+ Partials     8141     8130      -11

Impacted Files
Coverage Δ

modules/git/ref.go
65.90% <66.66%> (+8.40%)
:arrow_up:

modules/util/timer.go
85.71% <0.00%> (-14.29%)
:arrow_down:

routers/web/admin/users.go
27.77% <0.00%> (-10.59%)
:arrow_down:

modules/charset/charset.go
71.73% <0.00%> (-3.63%)
:arrow_down:

modules/queue/queue_channel.go
78.70% <0.00%> (-1.86%)
:arrow_down:

services/pull/pull.go
41.70% <0.00%> (+0.62%)
:arrow_up:

models/unit/unit.go
48.71% <0.00%> (+1.70%)
:arrow_up:

modules/git/blame.go
75.28% <0.00%> (+3.37%)
:arrow_up:

modules/secret/secret.go
64.00% <0.00%> (+12.00%)
:arrow_up:

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

make L-G-T-M work


Installation instructions and testing

We need to bundle this software including a demo for DARPA to test. They suggested a jupyter notebook.

[ ] how to get julia installed (docker?)
[ ] what will go in notebook
[ ] how to test notebook (jupytext?)
[ ] how to bundle deps for easy install

@mehalter when you were testing the travis stuff, how did you do that? Did you make a docker container that built and ran everything? We should make a dockerhub image that installs all the dependencies and runs a jupyterlab instance. Then users can just run that and open the demo notebooks on their machines.

I just forked to my personal github and enabled travis and did pushes there to test the travis stuff. I couldn't figure out a good way to do it locally and be able to test the travis.yml syntax. I can work on a docker image to install everything and spin up a jupyterlab instance.

yeah basically we want the deploy instructions for DARPA to be

docker run -it -p8000:8000 -v/containerpath:$(pwd)/semanticmodels semanticmodels
Open the browser to localhost:8000
Navigate to examples/notebooks/example1.ipynb
Run the cells

and the notebook examples/notebooks/example1.ipynb should be like
using SemanticModels
data = load("file")
result = process(data)
visualize(result)

so that basically the notebook just shows you how to use functions from the library to achieve some example goal. The current snippets in the documentation are good examples of what the notebooks should do.

@mehalter, are you correctly configured as a collaborator on https://cloud.docker.com/u/jpfa/repository/docker/jpfa/semanticmodels? Can you push the dockerfile to that repo?

Looks good, I was able to push to the repo. Check it out by running

docker run -it --rm -p 8888:8888 jpfa/semanticmodels:stretch
Navigate to the link it returns localhost:8888/?token=...

Let me know if this looks like what you want.


4.0 Backport go1.22

4.0  Backport of https://github.com/owncloud/ocis/pull/8586
bingo dependency bump needed to be done manually because of autogenerated files

Whoopsie, here is the correct PR: https://github.com/owncloud/ocis/pull/8597


Redis max number of clients reached

It appears that we are not properly close the redis clients
After some period, if we visit https://ai.imjoy.io/public/apps/hypha-login/
we get:
Traceback (most recent call last):
  File "/opt/conda/lib/python3.11/site-packages/hypha/asgi.py", line 66, in __call__
    result = await func(scope)
             ^^^^^^^^^^^^^^^^^
Exception: Failed to send the request when calling method (public/workspace-manager:services.hypha-login.index), error: max number of clients reached

This issue should have been fixed since we close connections in time.


CHAOS-2114 Add introduction for AWS superset policy

Add introduction for AWS superset policy
Add correct case for "Security configurations"

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65b2151c558cbc3ca93466dd--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65b2818d9fba3d945609042e--harness-developer.netlify.app


Swift3 Support?

Finally decided to go with XCode8 / Swift3. Change my pod file to get the swift-3 branch, but, still have lots of compile time errors.
Comments?

Hi! I'm having a hard time migrating because lots of issues regarding pushing new builds with CocoaPods. I'm working on it :)

Do you have an approximate ETA? I have to finish up for an upcoming Demo. So if it is in the next couple days I can wait, otherwise I need to rollback.  Thanks! Or. if there is something very specific that you can point me to. I might be able to help fix things.

Hi! It's coming later today. Already migrated some of the dependencies, just need to finish some migration on this repo.

The main blocker so far was CocoaPods, but they have been very helpful to fix things. Did you knew that now you have to add a .swift-version file to your repo in order to ship a pod with Swift 3? No? Me neither. Mindblown.

Branch in progress here https://github.com/hyperoslo/Sync/pull/279

It's on master now, for now just point directly to :head

pod 'Sync', git: 'git@github.com:hyperoslo/Sync.git'

did you lock down the repo? Or cocoa pod problem? This is what I get ::
[!] Error installing Sync
[!] /usr/bin/git clone git@github.com:hyperoslo/Sync.git /var/folders/08/3tkjvm5n33dgcs3b285qjgmm0000gn/T/d20160914-97058-muxjqr --template= --single-branch --depth 1
Cloning into '/var/folders/08/3tkjvm5n33dgcs3b285qjgmm0000gn/T/d20160914-97058-muxjqr'...
Warning: Permanently added the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Seems like a CocoaPods problem

Released as Sync 2.0.0
https://github.com/hyperoslo/Sync/releases/tag/2.0.0


Proposal: $Diff for unions.

Here is example of the problem: https://flow.org/try/#0JYWwDg9gTgLgBAKjgQwM5wEoFNkGN4BmUEIcA5FDvmQNwBQdMAnmFnAMozIxsC8cAbzpw4YYmABccAIxwAPnABM8uADsArgBtNdAL51cmtOgCCcLAA8eqgCbpseGADoAwiUiqsqmAB4N2gBoOLh4APkFhOEpbLCgACgBKCJERXAhVVHgBUXE4XTh+GAALYFQnTO4sGjhIkWACODixCDA4AEJefn9NJKEUlMoYdShVRp8AIRyW3gFmsF0AelCE+n79fsHh0e7VvL0GQ2M4SctrO0wqZzdwdK9fPqnJOAASAAVxWOYAFRYsH05KkEyHMyKE9OFsiJIsBVLgCo1cFINCAAEaxJK8cK4ADU2PokWiNliiWSKTSGSyjzy8OKpScc1QuyhGywQxGjVqKR8NmAADdQgJaWUYbgmuIErofAsefzOStIvpdEA
I want the B component could takes type of the prop from State of the component A excludes null value, because I know what prop already hasn't null. Of course I can check prop is not null in the component B, but it's excess step.
My offer that $Diff also could to do so:
type A = 1 | 2 | null;
type B = $Diff<A, null>;

or is necessary to exclude a several values then can use Array:
type B = $Diff<A, [null, 1]>;

This sounds like Exclude<T, U> in TypeScript: https://www.typescriptlang.org/docs/handbook/advanced-types.html#predefined-conditional-types


Upgrade to new phosphor mono repo.

Notes

Because the MainMenu API has changed and cannot just simply addItem, it instead offers to add a menu (addMenu). The plugin will need a getMenu option that returns a menu if it exists so that user code will be able to add items.
Because the application shell is new (it does not come from phosphide any more) and because the old SideBar class is gone and now we just use a TabBar (phosphor/lib/ui/tabbar), we need new CSS for the left area.
The horizontal TabBar CSS also needs revision.
The menu CSS needs revision.
Tests need to be ported to the mono-repo.
Examples need to be ported to the mono-repo.

:tada:


Disambiguation context

I'm having some problems with the disambiguation feature. Some entities seem not to be disambiguated correctly. For example "apple" is linked as "Apple Inc" even though the text is talking about food.
Ex:
Spread on some mustard to taste and top with half of the shredded cheddar and the sliced apple. Add the remaining cheddar on top of the apple slices, making sure to get to the edges. Butter the other slice of bread and place on top of the cheese, butter-side facing out.
Are there any parameter that i can modify to adjust the disambiguation?
Thanks

Which  disambiguator you have used? Some disambiguators use the concept of relatedness to a context. The disambiguation takes into account whether candidates are related to the context.


Create nested blueprint routes

Sails version: 0.12.14
Node version: 7.10.0
NPM version: 4.2.0
DB adapter name: N/A
DB adapter version: N/A
Operating system: Windows 10 Fall Creators Update

Hi,
I have question how to make nested blueprint routes like in Laravel where I could write
Route::resource('user', 'UserController');
Route::resource('user.photo', 'UserPhotoController');

and I had all rest routes:
GET /user
GET /user/:id
POST /user
...

and

GET /user/:user_id/photo
POST /user/:user_id/photo
PUT /user/:user_id/photo/:photo_id
DELETE /user/:user_id/photo/:photo_id

I have created User API in Sails using command line tool:
sails generate api user

and have configured blueprint so It's working very well but I need nested routes without writing those. How to?

Hi @pawel-miczka! This forum is for reporting bugs in the Sails core or its related projects. In the future, please direct support requests to our live chat, Google Group or StackOverflow.

If you have an association between the User and Photo models, you'll get most of those blueprint routes for free.  For example, if your api/models/User.js contains an attribute like:
photos: {
   collection: 'photo'
}

then (with RESTful blueprints turned on) Sails v0.12.x will generate the following for you:
// Get the list of photos associated with the given user
GET /user/:user_id/photos

// Add the specified photo to the given user
POST /user/:user_id/photo/:photo_id

// Remove the specified photo from the given user
DELETE /user/:user_id/photo/:photo_id

In v1.0, the POST route was changed to PUT, and an additional route was added, that allows you to specify an array of IDs of child records in the body.
// Replace list of photos associated with the given user with a new list
PUT /user/:user_id/photo

Note that in v0.12.x, it is possible to use the POST route to create a new child record and simultaneously attach it to a parent (e.g. create a new photo and add it to a user), which was convenient but ultimately caused implementation headaches, so that ability was removed in v1.0.  If you're planning on upgrading to 1.0 in the future, you're advised to not use the "create and add" functionality and just create the child record in a separate step (or create your own custom action).


no need to duplicate fasta file in makeBlastDB.bash script

Done

Done. I added a cat and sed to modify the fasta header to remove 'length 0000' get just the protein name in the output.


git ("source control") staged changes don't preserve word wrap (on switching between files/diffs)

Type: Bug
... even though UNstaged changes do.
Try committing/reviewing some changes with a non-trivial word-wrap setting, and then toggling on/off Alt-Z. Then try the same (with the same changes/files/diffs) once you've staged them, and then switch from file to file (and back again). FAILs.
 Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Implement certificate pinning for all Hexavalent project domains

https://github.com/chromium/chromium/blob/main/net/http/transport_security_state_static.pins


Remove pytest dependency from docker image

Please speed up build and reduce image size by changing it so pytest and it's dependencies don't end up in docker image build by this action.
One of the solution would be to moving pytest to requirements-dev.txt file.
Also please look into .dockerignore to skip files that are not used in the final image.

Hi @lukasz-mitka! Thank you for this feedback. This is a great suggestion, and we'll include these changes in a release this week. I'll follow up with you here once that release has shipped. Thank you!

Hi, release 2.0.1 manage the pytest as @lukasz-mitka mentioned. Probably we could close this issue safely @phillipcurl .


Percentage Encode showing weird behaivor

Hello, I'm looking at this percentage encoding, where it does this:
  str = str:gsub("\n", "\r\n")
  str = str:gsub("([^%w ,;=_%%%-%.~])", char_to_hex)
  str = str:gsub(" ", "+")

I noticed a weird encoding issue: it encodes journey into jourrney (double r). My suspicion is the first line causes this, even though it doesn't make sense.
This seems to happen only on certain platforms or Lua versions (I'm not sure what triggers that). For example, it didn't happen on my local while running the unit test, but I noticed this issue while on a machine.
This problem stops to happen after I change the code to this:
  str = string.gsub(str, "\r?\n", "\r\n")
  str = string.gsub (str, "([^%w%-%.%_%~%% ,;=])", char_to_hex)
  str = string.gsub (str, " ", "+")

What's the origin str?
What platform and Lua version causes this issue?


Undefined symbols for architecture arm64

How to support iOS ？

iOS should work fine. Can you please provide information about what version you’re building and what errors you are seeing?

Just arm64, There is no such problem in the simulator.

Which version of swift-nio-ssl? What are your build settings (including target OS?£

swift-nio-ssl 2.0.0, The previous version did not have this problem .

What iOS version are you targeting?

12.0

And what Xcode version?

10.2 , swift 5.0

I have not been able to reproduce this so far. Have you tried removing the .build directory and your Xcode derived data, as well as the xcodeproj file, and regenerating?

When I try to compile CNIOBoringSSL, I get an error, but this error only occur in the arm64 architecture, not in the x86_64 architecture. I'll try something else. Thanks

@Lojii any updates here?

@Lojii friendly ping, can we close this?

closing this issue because it has gone stale.


[Bug]: Install package bugs

What happened?
Hello,
I have a serie of bug when installing this package on an existing installation.
Run upgrade/update, in order to use he last version if Laravel, filament & your package.
pages/themes.blade.php
@if ($this->getCurrentTheme() instanceof \Hasnayeen\Themes\Contracts\HasChangeableColor)
GetCurrentTheme() is a class, but getCurrentTheme return a string (getName)
    public function getCurrentTheme()
    {
        return app(\Hasnayeen\Themes\Themes::class)->getCurrentTheme(); //->getName();
    }

Themes.php
For the function getCurrentThemeColor(), I had to modify like this:
        if (Arr::has($this->getCurrentTheme()->getThemeColor(), $color)) {
            return ['primary' => Arr::get($this->getCurrentTheme()->getThemeColor(), $color)];
        } else {
            return $this->getCurrentTheme()->getPrimaryColor();
        }

The ['primary' => null] always exists. And Arr::get(Array, null) return the full array. Need to check existence with has (or use collect()->get(null, default)).
Sunset Theme
Here I removed the Color:rgb in order to avoid Filament\Support\Colors\Color::rgb(): Argument #1 ($color) must be of type string, array given. Maybe DefaultTheme too ?
    public function getPrimaryColor(): array
    {
        return ['primary' => $this->getThemeColor()['blue']];
    }

How to reproduce the bug
Follow installation notes.
Go to Themes, and play with options
Package Version
v3.0.8
PHP Version
8.2.4
Laravel Version
v3.0.39
Which operating systems does with happen with?
Windows
Notes
(Thank you for this great package :) )

@Thiktak thanks for reporting the bug and hints, a fix has been deployed. If it's not fixed please reopen the issue. Thank you.


Release 0.5.1

This release includes following PR.

#13

Sorry for the late response.
I have just deployed clj-hgvs 0.5.1 to Clojars 🚀


glue app job parameter value over 256 characters

when I check the CQLReplicator under Glue, I see the Job parameter error.  Attach screenshot for review.
The maximum number of characters you can use in a parameter value is 256.

is it preventing you to execute cqlreplicator --state  run?
Note that during the init stage CQLReplicator deploys the Glue job CQLReplicator.scala via aws cli with spark conf parameters and there is no specific quota for the max number of characters.


FIX: impose last included proba to be one if the max score is one and…

… add test accordingly
Description
Fixes #254
Type of change
Please remove options that are irrelevant.

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Modify test_cumulated_scores to take into account à example with a score to 1.
Checklist

[x] I have read the contributing guidelines
[x] I have updated the HISTORY.rst and AUTHORS.rst files
[x] Linting passes successfully : make lint
[x] Typing passes successfully : make type-check
[x] Unit tests pass successfully : make tests
[x] Coverage is 100% : make coverage
[x] Documentation builds successfully : make doc

Codecov Report
Base: 99.89% // Head: 99.89% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (9139d97) compared to base (e476f7f).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #255   +/-   ##
=======================================
  Coverage   99.89%   99.89%
=======================================
  Files          26       26
  Lines        2850     2852    +2
  Branches      306      306
=======================================
+ Hits         2847     2849    +2
  Misses          3        3

Impacted Files
Coverage Δ

mapie/classification.py
100.00% <100.00%> (ø)

mapie/tests/test_classification.py
100.00% <100.00%> (ø)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


use diff based refactoring API

https://github.com/ensime/ensime-server/pull/1180

I'm working on it now finally. I'm using https://github.com/kpdecker/jsdiff which seems to be able to do the job just fine.

:smile:

This is done in >= 0.32

Nice!


Added run_enhancements_first option

Adds a new option, run_enhancements_first, which lets you run ehancements before they are added to an aggregation and before they add a realert setting. This is useful if your alerts might be dropped and you don't want that to silence other alerts, or if you need them to run before an aggregation gets sent.

Ship it!


[bug]1.0.5中resetFields后，select会直接显示验证提示

ElementUI version

OS/Browers version

Vue version

Reproduction Link

Steps to reproduce
What is Expected?
What is actually happening?

Fixed in #1630


added updated favicon and the png used to create it.

I am little confused by the diff ---- there is already a favicon.ico file, and you are replacing it, and yet the diff shows your favicon.ico as a new file. I would expect it would show replacing it.

In my email I see it as modified:
File Changes
A assets/img/fortran_logo_64x64.png (0)
M favicon.ico (0)

Ok. @milancurcic I'll let you merge this one.

https://raw.githubusercontent.com/jacobwilliams/fortran-lang.github.io/purple-favicon/favicon.ico
Looks good! Thank you @jacobwilliams.


img has no min-height  will not load

img has no min-height  will not load
so, must add alt or title or add css img{ min-height: 1px}

Thanks for this.  I was noting the same issue since updating to Chrome 60.  Basically it appeared as though Blazy wasn't triggering at all anymore.  Setting the image min-height to 1px as @yuanjianhua suggests fixed this issue for me