Add a "library in use" dialog when trying to delete them

What's the Problem?
From the discord conversation a user tried to delete a libary but it didnt work with no obvious reason why.
Relevent error
2022-06-20 18:24:25.3125|WARN|HandleShellLibraryMessage|
	System.IO.FileLoadException: The process cannot access the file because it is being used by another process. (0x80070020)
   at Vanara.PInvoke.Shell32.IShellLibrary.LoadLibraryFromItem(IShellItem library, STGM grfMode)
   at Files.FullTrust.MessageHandlers.LibrariesHandler.<>c__DisplayClass6_0.<HandleShellLibraryMessage>b__2()

Solution/Idea
Add "This libary is in use by " dialog. If its able to get the process using it.
Alternatives

Priorities
No response
Files Version
No response
Windows Version
No response
Comments
No response

Asking @yaichenbaum for approval.


[Feature Request] Add an algorithms folder in documentation part of website

I would like to add an Algorithms folder containing a Searching Algorithms folder which will contain Linear and Binary Search Algorithms.
Linear Search:

Binary Search:

Kindly assign this issue to me with gssoc-ext label with appropriate level and hactoberfest-accepted label.


Add support for .NET Core 2.1 and the AseClientFactory type

Fixes #42
Need to regenerate the performance graphs to include .NET Core 2.1 at some point.

From MSDN, it looks like the normal way to Get a DbProviderFactory is to call DbProviderFactories.GetFactory(providerName); is it possible for a test around this?


Add --noflow option to react native cli's 'init' command.

For Discussion

Is it possible to add an option, say, --noflow, to react native cli's 'init' command?
When used, the cli would produce project files which look similar to those on your frontpage, free from any "flow" code... :)
Or, even better, make this default behavior, and add the --flow option to create files with 'flow'.

The CLI has been moved to https://github.com/react-native-community/react-native-cli


Invalid BREAK usage with dryrun

Given this piece of code:
*** Test Cases ***
first test
    WHILE    True
        BREAK
    END

If I run this with in "dry run" mode like this:
robot -d .\results\ --dryrun .\tests\playground.robot
then I get an Invalid 'BREAK' usage. and the test fails with this output:
==============================================================================
Playground
==============================================================================
first test                                                            | FAIL |
Invalid 'BREAK' usage.
------------------------------------------------------------------------------
Playground                                                            | FAIL |
1 test, 0 passed, 1 failed
==============================================================================
Output:  C:\tmp\rt1\results\output.xml
Log:     C:\tmp\rt1\results\log.html
Report:  C:\tmp\rt1\results\report.html

I would expect that there is no error, also if I run this in dry run mode.
Versions:
Robot Framework 5.0rc1 (Python 3.10.2 on win32)

Thanks for the report! This is indeed a bug.

Thanks for fixing ;-)

Changed from bug to task to not get this listed in final 5.0 release notes. The fix is rather simple so I'm not sure is this big enough change to warrant rc 2. Let's at least wait a little time for other possible reported problems.


block polling failed issue in graph node

We have set up a Graph Node on a Docker system.
Here is the error we encountered while syncing blockchain data:
Error: "ERRO Trying again after block polling failed: Block data unavailable, block was likely uncled (block hash = 0xd7649c6c8da4bb868dfd5450bfca0b5573c5a88ddd5a15635ad4e1997b3c6), provider: abeychain-rpc-0, component: EthereumPollingBlockIngestor"
Any suggestions on what the issue could be?

Hey @mihiradx this is expected behaviour in case of a re-org. If this is happening continuously there may be some issue with the RPC (is it EVM compatible?), closing for now please re-open if you are having issues


App configuration 1.1.4

Description
Updates 1.1.x with the same changes as 1.2.4

Codecov Report

Merging #676 into 1.1.x will increase coverage by 0.42%.
The diff coverage is 68.25%.

@@             Coverage Diff              @@
##              1.1.x     #676      +/-   ##
============================================
+ Coverage     55.74%   56.17%   +0.42%
- Complexity      750      753       +3
============================================
  Files           181      181
  Lines          3157     3181      +24
  Branches        226      233       +7
============================================
+ Hits           1760     1787      +27
+ Misses         1267     1259       -8
- Partials        130      135       +5

Impacted Files
Coverage Δ
Complexity Δ

...oud/config/AppConfigurationProviderProperties.java
80.00% <ø> (ø)
9.00 <0.00> (ø)

...config/AppConfigurationBootstrapConfiguration.java
67.64% <38.46%> (+2.02%)
9.00 <0.00> (ø)

.../azure/spring/cloud/config/stores/ClientStore.java
61.11% <57.14%> (-0.89%)
12.00 <1.00> (ø)

...g/cloud/config/AppConfigurationPropertySource.java
57.14% <66.66%> (+0.67%)
13.00 <0.00> (ø)

...e/spring/cloud/config/AppConfigurationRefresh.java
88.88% <66.66%> (-4.10%)
17.00 <0.00> (-1.00)

.../azure/spring/cloud/config/stores/ConfigStore.java
79.62% <66.66%> (+15.62%)
22.00 <3.00> (+4.00)

...ure/spring/cloud/config/stores/KeyVaultClient.java
66.66% <71.42%> (-1.34%)
7.00 <2.00> (ø)

.../config/AppConfigurationPropertySourceLocator.java
86.60% <100.00%> (+2.34%)
26.00 <0.00> (ø)

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 12d073b...894e61c. Read the comment docs.


Have you had any problem in the sense that... they steal your login identification? I would like certification that it is not a malicious app. I haven't had any problems, but I got this morning that someone had tried to log into my Riot account, I want to verify that the owner of the app does not have malicious purposes

Have you had any problem in the sense that... they steal your login identification? I would like certification that it is not a malicious app. I haven't had any problems, but I got this morning that someone had tried to log into my Riot account, I want to verify that the owner of the app does not have malicious purposes
Originally posted by @Th3Nigh7mare in https://github.com/Terevenen2/LOL-Client-TOOL/issues/4#issuecomment-1192451218

Hi @Th3Nigh7mare I can tell you the app doesn't do this kind of things, the only information that the app saves on the computer is located in : C:\Users%username%\AppData\Local\LOL_Client_TOOL
If someone has the time to review the shit show that is my code to testify that I don't lie it would be nice.

After I checked the code, everything was normal. Is there any possibility of ID leakage


add support for highway, platform-independant SIMD library

https://github.com/google/highway

supports AVX2,AVX512 and Neon instructions sets
supports dynamic dispatch - decide at run time which SIMD ISA to use

Note: had to remove a few compiler flags to get this to build.
Performance doesn't seem to be affected.

@boxerab
Looks good to me. One question: This PR is to make OpenHTJ2K ready to work with Highway and the actual modification to the code will come later, right?

@boxerab
It makes sense. Thanks!


Check restored values for #isEmpty

This PR retores the value for isEmpty
Fixes #520
testConcurrentIsEmpty shows that #size does not restore values, I opened another issue for that

I did another pass and implemented #isEmpty using SoilIndexedDictionary>>#restoreValue:forKey:iterator:
This is nice, as this way the only method on SoilIndexedDictionary that does an isRemoved check can be restoreValue:forKey:iterator: (together with the pr #530 for basicAt:ifAbsent:)


test/e2e: improve waits, logs, etc

Tests need to be redone, but I'm not kicking off resting in case @stevekuznetsov wants to use the output...

Can't make heads or tails of those failures or how I possibly broke them .... :facepalm:


playfab documentation improvements

Good morning,
I'm confused by the statement "increment NodePort" in the following sentence:

If your game server needs multiple ports, copy/paste the existing port configuration and increment NodePort

I didn't think NodePort would change if it is the port opened on your workstation.
Apologies if this is JSON terminology I'm a beginner. When I looked up incrementing a JSON object all I could find was code incrementing the value in the key-value pair.
Maybe an example of multiple GamePorts would be good clarification?
With love,
<EMAIL_ADDRESS>
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 782f6394-63b6-e3a4-8582-a917f398b774
Version Independent ID: 17137dde-8bef-1dcc-e68e-8132c4fa6b40
Content: Locally debugging game servers and integration with PlayFab - PlayFab
Content Source: playfab-docs/features/multiplayer/servers/locally-debugging-game-servers-and-integration-with-playfab.md
Product: playfab
GitHub Login: @joannaleecy
Microsoft Alias: joanlee

@ToniaSanzo Could you repost your question in the PlayFab forum? You can get more help there: https://community.playfab.com/spaces/23/index.html


build(build): add missing package.json to build/pkg

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


running  BlurryModalSegue wihtout cocoa-pods

is there any way to run BlurryModalSegue without using cocoa-pods ?

You just need to manually add the BlurryModalSegue's dependencies into your project as well:
https://github.com/Adrian2112/UIImage-BlurredFrame
https://github.com/m1entus/MZAppearance
QuartzCore iOS framework


How are contact points determined during convex-convex collision?

Hi,
I'm a student working with MuJoCo for neuromechanical simulation. I'm currently building some animal models and trying to understand the collision detection theory, because it would affect how the force applys and how the animal behaves during walking etc.
I'm a bit confused by how the contact points are determined between pairs of meshes.
I saw in the MuJoCo paper that "Collision detection uses dedicated pair-wise functions when possible, and otherwise defaults to a general-purpose convex collider (implemented by libccd)."
However, libccd seems to only check if two convex shapes intersect but does not give a contact point or normal where the collision force should apply. I also found the flag multiccd could let the convex-convex collider find multiple contact points but it was not explained how the points were located.
Could you please give some more info on how exactly the contact points are determined between convex objects?

For Convex-convex collisions, CCD does give a contact point, with the function ccdMPRPenetration: https://github.com/danfis/libccd/blob/master/src/ccd/ccd.h#L146
Multiccd runs the same collision code 4 more times, with the objects slightly rotated around the contact point.

Thank you for your pointer. I would take a closer look at how it works


Fix for aeson-<IP_ADDRESS>

Codecov Report

Merging #75 (9202228) into main (70fc7e2) will decrease coverage by 0.10%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main      #75      +/-   ##
==========================================
- Coverage   26.36%   26.26%   -0.11%
==========================================
  Files          13       14       +1
  Lines         512      514       +2
  Branches       24       24
==========================================
  Hits          135      135
- Misses        368      370       +2
  Partials        9        9

Impacted Files
Coverage Δ

src/Data/Aeson/Schema/Internal.hs
0.00% <0.00%> (ø)

src/Data/Aeson/Schema/Key.hs
5.88% <0.00%> (ø)

src/Data/Aeson/Schema/Utils/Compat.hs
0.00% <0.00%> (ø)

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 70fc7e2...9202228. Read the comment docs.


Improve the readme of repo.

[ ] Have screenshots at the top.
[ ] Fix missing images in the readme.
[ ] Fix the styling of the readme.
[ ] Etc

Okay I will throw light on it.

Thanks


Slow Deck Interface While Navigating

I installed Chimera as a clean, fresh install, and am encountering odd performance issues within the Steam Deck interface.
I am running a NVIDIA GPU on a desktop with the Intel iGPU disabled currently. Navigating through with the different animations all appear choppy and sluggish.
It is not unusable, but definitely is a little distracting and odd considering the hardware that is being ran. I would like to continue running this OS as I have high interest in at least trying it.
Intel Core i7-10700
NVIDIA GeForce RTX 2070 Super
32GB DDR4-3000

This is a known issue with Nvidia.

Ahh ok. In that case I'd imagine that is something Valve would have to fix with the interface on that level. It is still functional for now at least.


Fails to compile

cargo install --locked --force qrscan

....

error[E0716]: temporary value dropped while borrowed
   --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/qrscan-0.1.6/src/main.rs:149:21
    |
149 |     let mut stdin = std::io::stdin().lock();
    |                     ^^^^^^^^^^^^^^^^       - temporary value is freed at the end of this statement
    |                     |
    |                     creates a temporary which is freed while still in use
150 |     stdin.read_to_end(&mut buf)?;
    |     --------------------------- borrow later used here
    |
    = note: consider using a `let` binding to create a longer lived value

For more information about this error, try `rustc --explain E0716`.
error: failed to compile `qrscan v0.1.6`, intermediate artifacts can be found at `/tmp/cargo-installGioEDO`

Caused by:
  could not compile `qrscan` due to previous error

According to the docs this is who to fix it.

A temporary value is being dropped while a borrow is still in active use.
Erroneous code example:
fn foo() -> i32 { 22 }
fn bar(x: &i32) -> &i32 { x }
let p = bar(&foo());
         // ------ creates a temporary
let q = *p;

Here, the expression &foo() is borrowing the expression foo(). As foo() is
a call to a function, and not the name of a variable, this creates a
temporary -- that temporary stores the return value from foo() so that it
can be borrowed. You could imagine that let p = bar(&foo()); is equivalent to
the following, which uses an explicit temporary variable.
Erroneous code example:
let p = {
  let tmp = foo(); // the temporary
  bar(&tmp) // error: `tmp` does not live long enough
}; // <-- tmp is freed as we exit this block
let q = p;

Whenever a temporary is created, it is automatically dropped (freed) according
to fixed rules. Ordinarily, the temporary is dropped at the end of the enclosing
statement -- in this case, after the let. This is illustrated in the example
above by showing that tmp would be freed as we exit the block.
To fix this problem, you need to create a local variable to store the value in
rather than relying on a temporary. For example, you might change the original
program to the following:
fn foo() -> i32 { 22 }
fn bar(x: &i32) -> &i32 { x }
let value = foo(); // dropped at the end of the enclosing block
let p = bar(&value);
let q = *p;

By introducing the explicit let value, we allocate storage that will last
until the end of the enclosing block (when value goes out of scope). When we
borrow &value, we are borrowing a local variable that already exists, and
hence no temporary is created.
Temporaries are not always dropped at the end of the enclosing statement. In
simple cases where the & expression is immediately stored into a variable, the
compiler will automatically extend the lifetime of the temporary until the end
of the enclosing block. Therefore, an alternative way to fix the original
program is to write let tmp = &foo() and not let tmp = foo():
fn foo() -> i32 { 22 }
fn bar(x: &i32) -> &i32 { x }
let value = &foo();
let p = bar(value);
let q = *p;

Here, we are still borrowing foo(), but as the borrow is assigned directly
into a variable, the temporary will not be dropped until the end of the
enclosing block. Similar rules apply when temporaries are stored into aggregate
structures like a tuple or struct:
// Here, two temporaries are created, but
// as they are stored directly into `value`,
// they are not dropped until the end of the
// enclosing block.
fn foo() -> i32 { 22 }
let value = (&foo(), &foo());

Hi... Try compiling with the latest rust toolchain.

What version of the chain?
I am on rustc  version (1.59.0+dfsg1-2)

It was implemented in https://github.com/rust-lang/rust/releases/tag/1.61.0, so 1.61.0 or above.

Hmmm ok

Hope this is solved. Closing this.


pipenv --two fails with PIPENV_VENV_IN_PROJECT

With PIPENV_VENV_IN_PROJECT true, pipenv --two tries to use Python 3 and fails to create a virtual environment.

SHELL: /usr/local/bin/zsh
EDITOR: mate_wait
LANG: en_US.UTF-8
PWD: /Users/rob

------------
Expected result
With PIPENV_VENV_IN_PROJECT undefined, pipenv --two does what I expect:

Creates a Pipfile with python_version = "2.7"
Creates a new virtual environment using Python 2 in $WORKON_HOME

Actual result
If I enable PIPENV_VENV_IN_PROJECT and run pipenv --two:

A Pipfile is created with python_version = "3.6"
No virtual environment is created at .venv
If I run pipenv shell, it attempts to create a virtual environment in .venv using Python 3, but that and everything after fails.

Steps to replicate

sample shell commands and output
Note that python on my system (outside of any virtualenv) refers to 3.6.
❯ echo $PIPENV_VENV_IN_PROJECT

❯ mkdir project

❯ cd project

❯ pipenv --two
Creating a virtualenv for this project…
Using /usr/local/bin/python2 (2.7.15) to create virtualenv…
⠋Running virtualenv with interpreter /usr/local/bin/python2
New python executable in /Users/rob/Developer/Python/Environments/project-az5PATU3/bin/python2.7
Also creating executable in /Users/rob/Developer/Python/Environments/project-az5PATU3/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /Users/rob/Developer/Python/Environments/project-az5PATU3
Creating a Pipfile for this project…
pipenv --two  4.28s user 1.27s system 55% cpu 10.063 total

❯ ls -la
total 8
drwxr-xr-x   3 rob  staff    96 May 10 13:38 .
drwxr-xr-x+ 91 rob  staff  2912 May 10 13:39 ..
-rw-r--r--   1 rob  staff   138 May 10 13:39 Pipfile

❯ pipenv shell
Spawning environment shell (/usr/local/bin/zsh). Use 'exit' to leave.
. /Users/rob/Developer/Python/Environments/project-az5PATU3/bin/activate

❯ . /Users/rob/Developer/Python/Environments/project-az5PATU3/bin/activate
(project-az5PATU3)
❯ python --version
Python 2.7.15
(project-az5PATU3)
❯ exit

❯ rm Pipfile; rmvirtualenv project-az5PATU3
Removing project-az5PATU3…

❯ export PIPENV_VENV_IN_PROJECT=1

❯ pipenv --two
Creating a virtualenv for this project…
Using /usr/local/bin/python2 (2.7.15) to create virtualenv…
⠋Running virtualenv with interpreter /usr/local/bin/python2
The PYTHONDONTWRITEBYTECODE environment variable is not compatible with setuptools. Either use --distribute or unset PYTHONDONTWRITEBYTECODE.

Virtualenv location: /Users/rob/project/.venv
Creating a Pipfile for this project…

❯ ls -la
total 8
drwxr-xr-x   3 rob  staff    96 May 10 13:40 .
drwxr-xr-x+ 91 rob  staff  2912 May 10 13:40 ..
-rw-r--r--   1 rob  staff   138 May 10 13:40 Pipfile

❯ pipenv shell
Creating a virtualenv for this project…
Using /usr/local/bin/python3.6m (3.6.5) to create virtualenv…
⠋Running virtualenv with interpreter /usr/local/bin/python3.6m
New python executable in /Users/rob/project/.venv/bin/python3.6
Also creating executable in /Users/rob/project/.venv/bin/python
Failed to import the site module
Traceback (most recent call last):
  File "/Users/rob/project/.venv/bin/../lib/python3.6/site.py", line 67, in <module>
    import os
  File "/Users/rob/project/.venv/bin/../lib/python3.6/os.py", line 652, in <module>
    from _collections_abc import MutableMapping
ModuleNotFoundError: No module named '_collections_abc'
ERROR: The executable /Users/rob/project/.venv/bin/python3.6 is not functioning
ERROR: It thinks sys.prefix is '/Users/rob/project' (should be '/Users/rob/project/.venv')
ERROR: virtualenv is not compatible with this system or executable

Virtualenv location: /Users/rob/project/.venv
Spawning environment shell (/usr/local/bin/zsh). Use 'exit' to leave.
. /Users/rob/project/.venv/bin/activate

❯ . /Users/rob/project/.venv/bin/activate
.: no such file or directory: /Users/rob/project/.venv/bin/activate
✗ 127
❯ ls -la
total 8
drwxr-xr-x   4 rob  staff   128 May 10 13:41 .
drwxr-xr-x+ 91 rob  staff  2912 May 10 13:41 ..
drwxr-xr-x   6 rob  staff   192 May 10 13:41 .venv
-rw-r--r--   1 rob  staff   138 May 10 13:40 Pipfile

A work-around is to manually run virtualenv -p python2 .venv before running any pipenv commands.

python is Python 2 from Homebrew (not the same as python2). This sounds too much like a configuration problem I really need a clean, producible environment to work on.


Support git clone

This resolves #13, which was suffering from two issues.
dev mount
The /dev directory is a mount (and not an actual directory) and therefore needs to be remounted instead of overlayfs'ed. For now, I just created a new bind mount of /dev inside the container root, but maybe we want to limit which files we want to bind in /dev (e.g., /dev/null but not other devices with side-effects).
Missed directory
When running git clone ... and after asking to commit the changes, the top level directory was not created and therefore we got an error. I fixed this by doing mkdir -p before cp but I think that in a later PR we have to replace commit and summary with programs in a different PL so that we can have more fine-grained control.

Nice! I think selectively mounting /dev is pretty critical. We'll need to support, at a minimum:

/dev/null
/dev/full
/dev/tty
/dev/random and /dev/urandom

For the second part... I don't love moving beyond the shell, since it makes installation harder. What do we need to do that mkdir -p can't?


Error seen while trying to restore from backup

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

Create a DO cluster on Rancher. (1 etcd/1 control plane/1 worker nodes)
Default, first backup (Backup#1) will be taken.
Scale upto 3 etcd nodes.
Take a backup. (Backup#2)
Edit cluster and change the Recurring etcd Snapshot Creation Period to 1 hour. Click on Save.
After the cluster has finished updating, restore from back - to the first backup taken.(Backup#1)

Expected Result:
Cluster is restored to the first backup successfully.
Actual Result:
Error Host must be a URL or a host:port pair: "https://" is seen on the UI and in the Rancher logs.
Note: If Step 5 from above set of steps, was not performed, the restore works fine.

Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): rancher:master
Installation option (single install/HA): single install

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): DO cluster.
Kubernetes version (use kubectl version):

v1.13.4

Docker version (use docker version):

18.9.3

See the same restore issue, with the following steps:
Create a cluster with local backup
Create few backups B1, B2
Edit and change to S3
Perform a backup and ensure it goes to S3
Perform a restore to B1.

Restore fails with the below error:
2019/03/12 17:57:04 [ERROR] ClusterController c-tbt9r [cluster-provisioner-controller] failed with : host must be a URL or a host:port pair: "https://"
W0312 17:57:13.656423       8 reflector.go:270] github.com/rancher/norman/controller/generic_controller.go:175: watch of *v3.ClusterAlertGroup ended with: too old resource version: 733732 (739974)

I have seen this when loading Rancher with lots of clusters.

@soumyalj Current workflow when handling mixed providers:

If the cluster is configured with s3 configuration, and you try to restore a local backup: this is now handled automatically
if the cluster is configured with local configuration, and you try to restore an s3 backup: this is not currently possible and you get a message saying:  "failed to prepare backup: restoring S3 backups with no cluster level S3 configuration is not supported"

Tested with master build from March 14th.
Create a cluster with local backup config
Create few backups B1, B2
Edit and change to S3 backup config
Perform a backup and ensure it goes to S3
Perform a restore to B1.
Restore succeeded with no issues. Cluster was functional.

Verified on rancher:master.
Steps taken:

Create a EC2 cluster on Rancher. (1 etcd/1 control plane/1 worker nodes)
Default, first backup (Backup#1) will be taken.
Scale upto 3 etcd nodes.
Take a backup. (Backup#2)
Edit cluster and change the Recurring etcd Snapshot Creation Period to 1 hour. Click on Save.
After the cluster has finished updating, restore from back - to the first backup taken.(Backup#1)
No error is seen on the UI/Logs.


⚠ PrivateHD has degraded performance

In 3ef1719, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 2895 ms

Resolved: PrivateHD performance has improved in 2d05af2.


ajax load selectpicker  wrong title

I load with jQuery load function an HML block containing a select that has the select picker class
i don't get any JS error in console, i try to addd  data-live-search="true" and i can find the search field that works
but title is set to first option element, is not getting the title from  attribute
i add the same code inside the page the title is correctly set
i also try to add a
$('.selectpicker').selectpicker('refresh');
after load event is completed but did not fix it

Please try latest version.


BatchNormalization test fails with invalid memory access

On ppc64le, Ubuntu 16.04/14.04, cuda 8.0/7.5, we are testing torch/extra/cudnn/test/test.lua with cudnn 5.1. From test.lua, we are getting a test failed for BatchNormalization with below error.
Error:
THCudaCheck FAIL file=/home/ac/pkgbuild/torch/torch/extra/cutorch/lib/THC/generic/THCStorage.cu line=41 error=77 : an illegal memory access was encountered
1/1 BatchNormalization .................................................. [ERROR]
/opt/DL/torch/bin/luajit: cuda runtime error (77) : an illegal memory access was encountered at /home/ac/pkgbuild/torch/torch/extra/cutorch/lib/THC/generic/THCStorage.c:158
Analysis:

For this test, testBatchNormalization is called with input size having 2 items and in testBatchNormalization accesses inputSize[2] which is also 2nd item. If I either change inputSize[2] to inputSize[1] in testBatchNormalization or I add one more item in the inputSize, then above error goes away (as I'd earlier thought even Lua will have array indexing starting from zero). But even with this, I further get CUDNN_STATUS_BAD_PARAM error.
The exact call causing above failure of invalid memory access are cbn:forward and cbn:backward.

I also wanted to know how we can debug these tests. I'm new to torch and lua, so need some help to go ahead. Any pointers would be helpful.
Thanks.

That's a bug somewhere in ppc luajit/ffi when passing double arguments by value. To confirm, print out batch norm arguments as seen by errcheck and as seen by cudnn (actually, not cudnn but a dummy library function that implements the same interface:
1/1 BatchNormalization .................................................. [WAIT]number of args    17
cdata<struct cudnnContext *>: 0x01001db6c080 <--arguments as passed to errcheck
CUDNN_BATCHNORM_PER_ACTIVATION
cdata<float *>: 0x01001da8a750
cdata<float *>: 0x01001da8a830
cdata<struct cudnnTensorStruct *>: 0x0100250afbf0
cdata<float *>: 0x230aac0000
cdata<struct cudnnTensorStruct *>: 0x0100250affd0
cdata<float *>: 0x230aac2000
cdata<struct cudnnTensorStruct *>: 0x0100250b0570
cdata<float *>: 0x230a7c0a00
cdata<float *>: 0x230a7c1000
0.1
cdata<float *>: 0x230a7c0800
cdata<float *>: 0x230a7c1200
0.001
cdata<float *>: 0x230a7c2600
cdata<float *>: 0x230a7c2800
training, double args passed by value
alpha 0x1001da8a750  <--arguments as received by library
beta 0x1001da8a830
bottomDesc 0x100250afbf0
bottomData 0x230aac0000
topDesc 0x100250affd0
topData 0x230aac2000
sdesc 0x100250b0570
scale 0x230a7c0a00
bias 0x230a7c1000
ema 0.100000
runningmean 0x230a7c1200 <-- note, everything after the first double argument is mangled. runningMean and runningVar take on values of some different vars, saveMean and saveVar are garbage
runningvar 0x230a7c2600
eps 0.001000
saveMean 0x7
saveVar 0x3fffcdd6d5a8
CUDNN_STATUS_BAD_PARAM is expected when you are changing the arguments.

We can recommend all ppc64 users to use Lua 5.2

Thanks @ngimel and @soumith for your response. I'll try to update Lua to 5.2 and see if it fixes the problem.

I installed lua5.2 and tried to build torch by changing TORCH_LUA_VERSION to LUA52 in install.sh as per this link.
But now, on th> require 'cudnn' I get below error -
th> require 'cudnn'
Trace/breakpoint trap
Did I miss any other setting or pre-requisite?

WIth lua 5.2 you also need luaffifb
https://github.com/facebook/luaffifb

We've reported the problem to luajit compiler team. Also, found some alternative without updating to lua5.2 that fixes the problem. So, we can close this issue.
Thanks for your prompt and effective responses.

Team member of @npanpaliya here.  Just in case it's useful to anyone in the future...  We found a problem in the way the lua JIT constructs long argument lists for POWER. The problem should be confined to cases where a floating point argument beyond position 8 is followed by non-FP arguments. We'll work to get a fix into to lua JIT.


Fix yaml problem

If you look really carefully at the logs in https://github.com/UAlbertaALTLab/cree-intelligent-dictionary/runs/1964903183?check_suite_focus=true
1 Run curl -X POST https://deploy.altlab.dev/itwewina --fail -d '{ "secret": "***" }' -H 'Content-Type:
2 curl -X POST https://deploy.altlab.dev/itwewina --fail -d '{ "secret": "***" }' -H 'Content-Type:
3 application/json'
4 shell: /usr/bin/bash -e {0}

the curl command was failing because there’s a newline in the Content-Type
header, which comes from two extra spaces in the yaml block.

@dwhieb @eddieantonio


NativeCookieHandler does nothing (just throws) on Windows

I'm using ModernHttpClient with Refit on iOS, Android and Windows, to implement an API that requires cookies.
The NativeMessageHandler facade is perfectly usable on Windows (as long as you don't need throwOnCaptiveNetwork, RegisterForProgress, etc). NativeCookieHandler, OTOH, is useless.
Right now, I have to do this to set a cookie:
NativeCookieHandler cookies;
NativeMessageHandler handler;

(...)

try
{
    cookies.SetCookies(Enumerable.Repeat(cookie, 1));
}
catch
{
    handler.CookieContainer.Add(uri, cookie);
}

Something like #175 would fix this, but it was rejected. I don't think creating a new "platform" is necessary (if that's why it was rejected).
Would a PR implementing this under the Portable project be considered? So instead of facades, you'd have a minimally useful (portable) implementation of NativeCookieHandler (and, eventually, some of the additional NativeMessageHandler features).

Sure


Merge throws an error with CycloneDX

Describe the bug
When trying to merge input SBOMs in CycloneDX format, the surfactant CLI produces and error message and no output.
To Reproduce
Steps to reproduce the behavior:

run surfactant merge --input_format cyclonedx --output_format cyclonedx sbom1.json sbom2.json
Observe error:

2024-08-19 14:30:21.305 | WARNING  | surfactant.infoextractors.docker_image:is_docker_scout_installed:21 - Install Docker Scout to scan containers for additional information
2024-08-19 14:30:21.458 | ERROR    | surfactant.plugin.manager:find_io_plugin:100 - No "read_sbom" plugin for format "cyclonedx" found

Expected behavior
The input SBOMs should be merged and an output SBOM produced.
System Information (please complete the following information):

OS: Ubuntu 22.04.4 LTS
Python: 3.10.12

Additional context
One of the inputs was generated with surfactant, the other with npm-sbom.

Reading input SBOMs in CycloneDX (and SPDX eventually) formats is being implemented in PR https://github.com/LLNL/Surfactant/pull/221 if you want to try it out and provide feedback. From discussion with @mws180000 and others, there are some lossy aspects to conversion between formats (including to the internal representation that is used as an intermediate format by the merge feature).


Ignore changelog on end-of-file-fixer

We really honestly don't care, since towncrier will handle
stripping/adding newlines where necessary. It's totally fine for
changelog entries if they don't end with a single newline.

Will let this percolate - if no objections will merge sometime tomorrow (or later)

It was later :joy:


OPENAI Key issue when starting front and backend

Workspace directory /mnt/c/Users/pierr/OpenDevinProjects does not exist. Creating it...
Task exception was never retrieved
future: <Task finished name='create controller' coro=<Session.create_controller() done, defined at /mnt/c/Users/pierr/OpenDevin/opendevin/server/session.py:106> exception=OpenAIError('The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable')>
Traceback (most recent call last):
File "/mnt/c/Users/pierr/OpenDevin/opendevin/server/session.py", line 134, in create_controller
llm = LLM(model=model, api_key=api_key, base_url=api_base)
File "/mnt/c/Users/pierr/OpenDevin/opendevin/llm/llm.py", line 36, in init
self._router = Router(
File "/home/pierre/.local/share/virtualenvs/OpenDevin-kZ9rGcbW/lib/python3.10/site-packages/litellm/router.py", line 196, in init
self.set_model_list(model_list)
File "/home/pierre/.local/share/virtualenvs/OpenDevin-kZ9rGcbW/lib/python3.10/site-packages/litellm/router.py", line 2099, in set_model_list
self.set_client(model=model)
File "/home/pierre/.local/share/virtualenvs/OpenDevin-kZ9rGcbW/lib/python3.10/site-packages/litellm/router.py", line 1952, in set_client
_client = openai.AsyncOpenAI(  # type: ignore
File "/home/pierre/.local/share/virtualenvs/OpenDevin-kZ9rGcbW/lib/python3.10/site-packages/openai/_client.py", line 296, in init
raise OpenAIError(
openai.OpenAIError: The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable

@PierrunoYT  did you set your api key in the config.toml per the instructions?

@PierrunoYT did you set your api key in the config.toml per the instructions?

Actually yes

Can you post config.toml? (Don't forget to remove actual api key!)

Can you post config.toml? (Don't forget to remove actual api key!)

I believe only LLM_API_KEY works now.  The OPENAI_API_KEY was used previously.

I believe only LLM_API_KEY works now. The OPENAI_API_KEY was used previously.

True thx


data loading bug with dvc

load_dataset function from hugging face can't access the dvc tracked data directory
--> OSError: [Errno 30] Read-only file system: '/data'

What command are you using? Note /data is not same as ./data


How do we import settings?

I have exported settings to settings.json that I would like to import. How do I import them?

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

ID: ad122bae-7538-09bc-787f-83799da988fe
Version Independent ID: a36e9393-877a-209c-7c4c-56ea85ade861
Content: Export or delete Azure portal settings
Content Source: articles/azure-portal/azure-portal-export-delete-settings.md
Service: azure-portal
GitHub Login: @santhoshsomayajula
Microsoft Alias: cwatson

@nickgailloux, Sorry for the delay. For now, you cannot import settings. The option of exporting settings is provided as a means for users to export only and is provided for compliance purposes as a mandatory step due to GDPR.

@santhoshsomayajula  - 2 questions:

Is there a plan to support importing Azure Portal settings?
Do we have a suggested workaround to share with the customer?

@nickgailloux , confirming @SadiqhAhmed-MSFT 's last comments - confirmed by the Feature owner. more details below:
"There is no plan to have an import option for these settings considering this is meant for GDPR purposes and purely export only. We can’t have users control the data getting into our settings database through an import option. This is a carefully crafted data that flows into portal and must always go based on the user action since all of this mostly user preferences and deep links to resources and services that cannot be applied to a different user. Also importing them to the same user might corrupt the data as the information in here is dynamic in nature. "


Add WebSocket Examples

Hello,
I noticed that the current version of the FastAPI-Template project does not include examples of using WebSockets with FastAPI. I think adding these examples would be helpful for developers.
It's worth noting that DI for WebSockets is different from DI for HTTP routes and testing.
I want to suggest adding examples of using WebSockets to the project.
I'm willing to help with this and can provide code examples as needed.

Hi, and thanks for trying fastapi-template even better.
That's a good idea. I'll look into it this evening. Can you provide some ideas what should be done in this example? Simple echo server, or maybe something more mature?

I believe that a simple echo server and an example with a dummy model would be good examples to include in the project.
In the dummy model example, we could have clients subscribe to changes in the model, and have the server broadcast updates to all connected clients. This would demonstrate how WebSockets can be used to create real-time, collaborative applications.

I guess that subscribing for a model updates is a very big example. Maybe small message broadcasting would be enough? Like if someone writes a message, it sends to all connected people?
But I'm not sure that this is what is really neede, since these examples are exist here in fastapi docs.

I don't really want to create a really big example, since it would be hard to support. But what I really like is the idea to show the example how to test websockets.

I agree that subscribing to model updates may be a big example, and a simple echo or broadcast may be sufficient.
However, I would still like to propose including an example that demonstrates the proper use of DI with WebSockets. Because, there are issues with DI in FastAPI that are not well-documented, and I believe that including an example would be very helpful for developers who are new to FastAPI or WebSockets.
In fact, I recently came across a discussion on GitHub where this issue was raised. Here is the link. As you can see, there are developers who have experienced problems with DI in FastAPI and would benefit from a clear example.

I agree that subscribing to model updates may be a big example, and a simple echo or broadcast may be sufficient.
However, I would still like to propose including an example that demonstrates the proper use of DI with WebSockets. Because, there are issues with DI in FastAPI that are not well-documented, and I believe that including an example would be very helpful for developers who are new to FastAPI or WebSockets.
In fact, I recently came across a discussion on GitHub where this issue was raised. Here is the link. As you can see, there are developers who have experienced problems with DI in FastAPI and would benefit from a clear example.

I have same issue now....


codeFixes for things that aren't diagnostics

TypeScript Version:  2.7.0-dev.20171020
Code
function f(x) {}

It would be nice to have a codeFix to fix implicit-any instead of a refactoring. I believe a refactoring requires you to highlight the thing in question, which isn't easily discoverable.
Currently codeFixes work by iterating over errors; but in this case we would want to produce one even in an error-less build.
This would also help us avoid having to create codeFix / refactor pairs for things such as installing types for implicit-any packages.
We could also generate "info" errors (ref: #14501) that don't surface normally and make codeFixes for those.
CC @mjbvz

@amcasey was tlaking about this

I asked about this at today's design meeting and the consensus seemed to be that we should create a separate (linter-like) tool to detect such cases and then offer to fix them (i.e. that this doesn't belong in the compiler).

It wouldn't be easy to create a separate tool to detect implicit-any without duplicating code from the compiler -- unless you clone the project, change the compiler options, and type-check again, which is what tslint's no-unused-variable currently does. But that rule is slow and thus not enabled by default; supporting a lint rule for every compiler option like that would result in a lot of clones.

I understood that we proposed to add new compiler APIs (e.g. getImplicitAnyDeclarations) on a case-by-case basis as we determined that doing the work in a separate tool was infeasible.  I believe it was @mhegazy who brought it up.


Create Issue forms and make the issue options more visually appealing

Describe the Feature you want to end

Currently, the issue template for this repo seems to be basic also it is less visually appealing.👇

Changes I will make

Expected behavior

Screenshots (optional)

Additional context (optional )
Will add issue forms to the respective issues to make it easier for the contributor to raise it.
Here is an example of how a Bug Issue Form will look like 👇

Kindly assign this issue to me ! @Suchitra-Sahoo

Kindly assign this issue to me ! @Suchitra-Sahoo

@dakshsinghrathore assigned. You may start working on it.


Project Initialize

I initialize the project and add apache license.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: theonefx.chenx:x: steveraotheonefx.chenx seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Strandbeest

Add intermediate changes

Codecov Report

Merging #42 (1ce2167) into master (d201d95) will decrease coverage by 1.84%.
The diff coverage is 38.23%.

@@            Coverage Diff             @@
##           master      #42      +/-   ##
==========================================
- Coverage   74.08%   72.24%   -1.85%
==========================================
  Files          43       40       -3
  Lines        2879     2994     +115
==========================================
+ Hits         2133     2163      +30
- Misses        746      831      +85

Impacted Files
Coverage Δ

src/main_components/equalityconstraint.jl
74.19% <0.00%> (-7.95%)
:arrow_down:

src/main_components/graph.jl
90.10% <ø> (ø)

src/ui/urdf.jl
59.49% <39.03%> (-21.93%)
:arrow_down:

src/main_components/mechanism_struct.jl
84.21% <100.00%> (-5.30%)
:arrow_down:

src/bounds/impact.jl
58.33% <0.00%> (-3.21%)
:arrow_down:

src/util/custom_static.jl
59.57% <0.00%> (-2.13%)
:arrow_down:

src/joints/joint.jl
51.85% <0.00%> (ø)

src/joints/genericjoint.jl
92.00% <0.00%> (ø)

src/discretization/symplectic_euler/bound.jl

src/discretization/implicit_trapezoid/bound.jl

... and 4 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 d201d95...b60f84b. Read the comment docs.

Codecov Report

Merging #42 (1ce2167) into master (d201d95) will decrease coverage by 1.84%.
The diff coverage is 38.23%.

@@            Coverage Diff             @@
##           master      #42      +/-   ##
==========================================
- Coverage   74.08%   72.24%   -1.85%
==========================================
  Files          43       40       -3
  Lines        2879     2994     +115
==========================================
+ Hits         2133     2163      +30
- Misses        746      831      +85

Impacted Files
Coverage Δ

src/main_components/equalityconstraint.jl
74.19% <0.00%> (-7.95%)
:arrow_down:

src/main_components/graph.jl
90.10% <ø> (ø)

src/ui/urdf.jl
59.49% <39.03%> (-21.93%)
:arrow_down:

src/main_components/mechanism_struct.jl
84.21% <100.00%> (-5.30%)
:arrow_down:

src/bounds/impact.jl
58.33% <0.00%> (-3.21%)
:arrow_down:

src/util/custom_static.jl
59.57% <0.00%> (-2.13%)
:arrow_down:

src/joints/joint.jl
51.85% <0.00%> (ø)

src/joints/genericjoint.jl
92.00% <0.00%> (ø)

src/discretization/symplectic_euler/bound.jl

src/discretization/implicit_trapezoid/bound.jl

... and 4 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 d201d95...b60f84b. Read the comment docs.


Update Dashboard Names for Resident and Admin Views

Description
Currently, all the dashboards across the three Layers in UnlockEd are generically called "Dashboard," leading to confusion for both the development team and users. To improve clarity and user experience, the dashboards will be renamed based on their specific function and context for Residents and Administrators.
Current Names:

All dashboards are simply labeled "Dashboard."

Proposed Name Changes:

Layer
Resident Dashboard
Admin Dashboard

Layer 1: Knowledge Base
Trending Content
Knowledge Insights

Layer 2: Connected Learning
Learning Path
Learning Insights

Layer 3: Program Hub
Program Tracker
Program Insights

These names provide intuitive descriptions of each dashboard’s purpose and functionality, making them easier to understand and navigate.
Task List
Frontend Tasks

[ ] Update the Resident Dashboard names across the product:

Layer 1: Change "Dashboard" to Trending Content.
Layer 2: Change "Dashboard" to Learning Path.
Layer 3: Change "Dashboard" to Program Tracker.

[ ] Update the Admin Dashboard names across the product:

Layer 1: Change "Dashboard" to Knowledge Insights.
Layer 2: Change "Dashboard" to Learning Insights.
Layer 3: Change "Dashboard" to Program Insights.

[ ] Ensure the new names are reflected in:

Dashboard navigation titles.
Page headers or titles displayed on the dashboards themselves.
Breadcrumbs or any navigation aids referencing dashboards.
Page URLs

Backend Tasks

[ ] Check for any backend references to "Dashboard" tied to Layer-specific logic.
[ ] Ensure any APIs or configurations referencing these dashboards reflect the new names if necessary.

Acceptance Criteria

Frontend:

Resident and Admin Dashboards are renamed as per the table above.
The new names are displayed consistently in navigation, page headers, and any associated breadcrumbs.
All dashboard names are responsive and styled appropriately for different devices (desktop, tablet, mobile).

Outstanding Questions

Are there any analytics or metrics tied to the current "Dashboard" naming that need to be adjusted or migrated?
Should the name changes be reflected in external documentation or user-facing materials (e.g., guides, FAQs)?
Are there tooltips referring to the generic "Dashboard" that now need to be updated?

@chrissantillan This bullet point under FrontEnd doesn't seem related to the overall task.

All dashboard names are responsive and styled appropriately for different devices (desktop, tablet, mobile).

Can we remove it or write it up as a separate issue and indicate where there are issues?

@jtucholski Yes we can remove it.

I hadn't seen that it said "names." My brain blocked that part out and replaced it with "All dashboards"

This and #563 should probably be done together.

closed with #536


Able to pass in string for prefix

This way we can use batch operations with multilevel / RPC since we don't have to pass in a sublevel instance.

can you add tests? something like this needs test coverage, otherwise I might refactor it away if there are no tests to catch the change.

Actually, I don't think you need this change. just call put(key, value, {prefix: ['sublevel']}, cb)
the prefix should be an array of strings, not a string.

I see what you mean. It will work as is if you pass in an array. I spent a while figuring this out, maybe we should document this interface in the readme?

@nichoth yes, that is exactly what we should do.


Support GHC 9.4.5

Adds support for GHC 9.4.5.
Updates the nixpkgs revision to provide GHC 9.4.5.
Update the 9.2 tests from 9.2.2 to 9.2.7 to match the corresponding GHC version provided by nixpkgs.
Update rules_haskell, rules_nixpkgs (implicitly through rules_haskell), and rules_go to support the more recent nixpkgs revison.

Seems like CI is failing since ghcplatform.h has been relocated, before it was to be found in /nix/store/...-ghc-9.x/lib/ghc-v.v.v/include, but now it resides in /nix/store/...-ghc-9.x/lib/ghc-v.v.v/rts/include.

Related to https://github.com/tweag/rules_haskell/pull/1922

@mergifyio rebase


Python fastRand fails when given p=1

import _fastrand
_fastrand.randbits(1.0, num_bits)
results in 0L

Fixed by pull request 62
https://github.com/google/rappor/pull/62


Request: Query from YAML data file

It would be so powerful if Dataview could query from one text note file that contains a full database in the form of a YAML file. Eg:
table from MyMovieDatabase

Note: MyMovieDatabase:

Movie: 2001 A Space Odyssey
Director: Stanley Kubrick
Year: 1968
Movie: E.T. The Extra-Terrestrial
Director: Steven Spielberg
Year: 1982
Movie: Star Wars
Director: George Lucas
Year: 1977

So something like having a db.yml file or something, say:
movie: 2001 A Space Odyssey
director: Stanley Kubrick
year: 1968
---
...
---
movie: Star Wars
director: George Lucas
year: 1977

And then you could pull data from it directly via TABLE FROM yml("db.yml") or something. If so, I agree - seems like a cool idea. Probably not too hard to implement. Will put it on my docker after my current slew of QOL improvements.

Interesting idea. This could probably be done with Daniel's text files plugin and some JS. IMO, that's the way to go since adding and maintaining file adapters seems outside of the scope of this plugin.

JS is the correct way to do this now; I think a quick workaround would be to add dv.io.yml to support loading yaml files into data arrays to make it easier.


OAK staking indexer bug

refer to :
https://github.com/web3go-xyz/bifrost-staking-indexer/commit/20bcf1270c25c46749ac79f969641ca277c5d074

fixed