[Bug] HTTP request not executing in revert function

Is there an existing issue for this?

[X] I have searched the existing issues

Have you updated FilePond and its plugins?

[X] I have updated FilePond and its plugins

Describe the bug
The XMLHttpRequest() is not being executed from the revert function after removing a file.
var pond = FilePond.create(el, {
    server: {
        process: {
            url: uploadUrl,
            method: 'POST',
            onload: (response) => {
                // Retrieving fileId from response for uniqueFileId
                const responseData = JSON.parse(response);
                const fileId = responseData.fileId;
                return fileId;
            },
        },
        revert: (uniqueFileId, load, error) => {
            var request = new XMLHttpRequest();
            var deleteUrl = '/Awards/DeleteUpload?TempGroupId=' + tempGroupId + '&FileId=' + uniqueFileId;

            request.open('DELETE', deleteUrl);

            request.setRequestHeader('__RequestVerificationToken', REQUEST_VERIFICATION_TOKEN);

            // Handle response
            request.onload = function () {
                if (request.status >= 200 && request.status < 300) {
                    console.log('Successfully deleted file: ' + uniqueFileId);
                    load();
                } else {
                    error('Error deleting file');
                }
            };

            request.onerror = function () {
                error('Network error');
            };

            request.send();
        },
    },
    allowRemove: true,
    allowReorder: false,
    credits: false,
    maxParallelUploads: 1,
    allowMultiple: true
});

I tried using the code below which works but i need the uniqueFileId param value which is retrieved from the onload().
revert: {
    url:  '/Awards/DeleteUpload?TempGroupId=' + tempGroupId,
    method: 'DELETE',
},

Reproduction
Using the code provided, simply upload a file to retrieve its fileId which is passed to the uniquefileId. Then try to remove the image which will launch the revert function.
No request was made in Network Tab. When launching same API on POSTMAN, request was made successfully.
Environment
- Device: Asus Zenbook
- OS: Windows 11
- Browser: Microsoft Edge

SOLUTION: I used fetch instead and the request worked
revert: (uniqueFileId, load, error) => {
    var deleteUrl = '/Awards/DeleteUpload?TempGroupId=' + tempGroupId + '&FileId=' + uniqueFileId;

    fetch(deleteUrl, {
        method: 'DELETE',
    }).then(response => {
        if (response.ok) {
            console.log('Successfully deleted file: ' + uniqueFileId);
            load();
        } else {
            return response.text().then(text => {
                console.error('Error deleting file: ' + text);
                error('Error deleting file');
            });
        }
    });
},


no module named smarts

I've run install_deps.sh and pip install -e .[train] and pip install -e .[test]. However, when running make test, I encountered the following error, any ideas why?
scl scenario build-all scenarios
Traceback (most recent call last):
  File "/afs/inf.ed.ac.uk/user/s18/s1800883/SMARTS/env/bin/scl", line 33, in <module>
    sys.exit(load_entry_point('smarts', 'console_scripts', 'scl')())
  File "/afs/inf.ed.ac.uk/user/s18/s1800883/SMARTS/env/bin/scl", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/afs/inf.ed.ac.uk/user/s18/s1800883/SMARTS/env/lib/python3.7/site-packages/importlib_metadata/__init__.py", line 105, in load
    module = import_module(match.group('module'))
  File "/afs/inf.ed.ac.uk/user/s18/s1800883/miniconda3/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/afs/inf.ed.ac.uk/user/s18/s1800883/SMARTS/cli/cli.py", line 22, in <module>
    from .envision import envision_cli
  File "/afs/inf.ed.ac.uk/user/s18/s1800883/SMARTS/cli/envision.py", line 22, in <module>
    from envision.server import run
  File "/afs/inf.ed.ac.uk/user/s18/s1800883/SMARTS/envision/server.py", line 41, in <module>
    import smarts.core.models
ModuleNotFoundError: No module named 'smarts'
make: *** [Makefile:51: build-all-scenarios] Error 1

When I do pip list, it shows that smarts is already installed

Hello @eerkaijun thank you for reaching out. I am unable to diagnose the problem with what you have provided.
Does the first line of: "/afs/inf.ed.ac.uk/user/s18/s1800883/SMARTS/env/bin/scl" match the python source #!/afs/inf.ed.ac.uk/user/s18/s1800883/SMARTS/env/bin/python3.7?

HI @Gamenot, thanks for the response. I checked and the first line of scl is #!/afs/inf.ed.ac.uk/user/s18/s1800883/SMARTS/env/bin/python. But even after I changed python to python3.7, the same error still persists. Any ideas why?

Could you confirm the results for the following commands within your virtual environment:
pip --version && \
which python && \
python --version && \
which scl && \
python3.7 -m smarts && \
/afs/inf.ed.ac.uk/user/s18/s1800883/SMARTS/env/bin/pip list | grep smarts

Hi, please find below:
>>> pip --version
pip 21.0.1 from /afs/inf.ed.ac.uk/user/s18/s1800883/SMARTS/env/lib/python3.7/site-packages/pip (python 3.7)

>>> which python
/afs/inf.ed.ac.uk/user/s18/s1800883/SMARTS/env/bin/python

>>> which python3.7
/afs/inf.ed.ac.uk/user/s18/s1800883/SMARTS/env/bin/python3.7

>>> python --version
Python 3.7.3

>>> which scl
/afs/inf.ed.ac.uk/user/s18/s1800883/SMARTS/env/bin/scl

>>> python3.7 -m smarts
/afs/inf.ed.ac.uk/user/s18/s1800883/SMARTS/env/bin/python3.7: No module named smarts

>>> /afs/inf.ed.ac.uk/user/s18/s1800883/SMARTS/env/bin/pip list | grep smarts
smarts                   0.4.13      /afs/inf.ed.ac.uk/user/s18/s1800883/SMARTS

>>> python3.7 -m smarts
/afs/inf.ed.ac.uk/user/s18/s1800883/SMARTS/env/bin/python3.7: No module named smarts

I do not quite understand what is happening here but the last ditch effort could be to call
python3.7 -m pip | grep afs
python3.7 -m pip list | grep smarts
python3.7 -m pip install -e .
python3.7 -m pip list | grep smarts

I would be extremely confused if this does not work and then the last thing I can think of is to check the python path from python.
$ python3.7
>>> import sys
>>> sys.path

Assuming that /afs/inf.ed.ac.uk/user/s18/s1800883/SMARTS is the smarts repository location it should be one of the paths in the returned list. And also assuming the /afs/.../SMARTS directory contains the SMARTS repository directories and files (i.e. scenarios, smarts, third_party, .gitignore, ...)
If that directory is not there it is a problem with how the virtual environment was set up and the following should find smarts but I would still suggest fixing the virtual environment:
PYTHONPATH='/afs/inf.ed.ac.uk/user/s18/s1800883/SMARTS/' scl scenario build-all scenarios

@eerkaijun Is this still a problem?

Hello @Gamenot, even after running PYTHONPATH='/afs/inf.ed.ac.uk/user/s18/s1800883/SMARTS/' scl scenario build-all scenarios it still doesn't work for me. So I followed your suggestion to set up the virtual environment from scratch and it works. So I guess that's an issue with my virtual environment.
Sorry for forgetting to update you, but thanks a lot for your help! (I'll close the issue now)


IE falls over on default parameters

Description
IE11 throws a syntax error when parsing built version of validation.ts

The default value set on the argPosition parameter seems to the the issue here.
export function checkIsEmpty(arg: unknown, argPosition: number = 1) {
  return arg == null;
}

Steps to Reproduce

Create an app importing typesafe-actions
Attempt to run it in IE11

CodeSandbox to help you reproduce issue in isolation
Attempted to reproduce here, is erroring with similar message but not identical to prod issue https://codesandbox.io/s/typesafeactionsieissue-lhfbc
Expected behavior
Should run fine (assuming IE polyfills added as per docs)
Suggested solution(s)
Transform the default parameters on build
Project Dependencies

Typesafe-Actions Version: 4.2.1

TypeScript Version: 3.3.3333

tsconfig.json:

    "baseUrl": ".",
    "outDir": "build/dist",
    "module": "esnext",
    "target": "es5",
    "lib": ["es2015", "es2017", "dom"],
    "sourceMap": true,
    "allowJs": true,
    "jsx": "react",
    "moduleResolution": "node",
    "typeRoots": ["./@types", "./node_modules/@types"],
    "rootDir": "src",
    "forceConsistentCasingInFileNames": true,
    "noImplicitReturns": true,
    "noImplicitThis": true,
    "noImplicitAny": true,
    "strictNullChecks": true,
    "suppressImplicitAnyIndexErrors": true,
    "noUnusedLocals": false,
    "allowSyntheticDefaultImports": true
  },

In our production app we are building with parcel (pipeline is: .tsx -> tsc -> .js -> babel)
Environment (optional)

Browser and Version: IE 11
OS: Windows 10

@ee0pdt please use most recent version, there was a fix for this.


Add missing documentation

Add missing documentation to some of the parameters and classes
that are used by the Data Inspector API Reference.
Relates-To: OLPEDGE-1988
Signed-off-by: Halyna Dumych<EMAIL_ADDRESS>

Please fix tslint error: ERROR: /home/travis/build/heremaps/here-data-sdk-typescript/@here/olp-sdk-authentication/lib/UserAuth.ts:128:1 - asterisks in jsdoc must be aligned

Codecov Report

Merging #321 into master will not change coverage.
The diff coverage is 100.0%.

@@          Coverage Diff           @@
##           master    #321   +/-   ##
======================================
  Coverage    87.6%   87.6%
======================================
  Files          56      56
  Lines        1559    1559
  Branches      183     183
======================================
  Hits         1365    1365
  Misses        121     121
  Partials       73      73

Impacted Files
Coverage Δ

@here/olp-sdk-authentication/lib/UserAuth.ts
79.6% <ø> (ø)

.../olp-sdk-core/lib/utils/DataStoreRequestBuilder.ts
90.7% <ø> (ø)

@here/olp-sdk-core/lib/utils/HttpError.ts
80.0% <ø> (ø)

...p-sdk-dataservice-read/lib/client/CatalogClient.ts
75.5% <ø> (ø)

...dk-dataservice-read/lib/client/IndexLayerClient.ts
93.3% <ø> (ø)

...ataservice-read/lib/client/LayerVersionsRequest.ts
100.0% <ø> (ø)

...dataservice-read/lib/client/VolatileLayerClient.ts
86.7% <ø> (ø)

@here/olp-sdk-core/lib/utils/HRN.ts
88.2% <100.0%> (ø)

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 6ba1e1a...cc330c5. Read the comment docs.


python310Packages.plugwise: 0.25.4 -> 0.25.6

Description of changes
https://github.com/plugwise/python-plugwise/releases/tag/v0.25.6

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 199700 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.plugwise
python310Packages.plugwise
python39Packages.plugwise


modules/scm.py: Call 'getchildren()', rather than use '._children'

"getchildren()" seemed to work.

I've pushed v1.8.0 to PyPI today, and that version includes this change.


Build-time variables to set url and version of chart

Depends on #118
Changes:

add chartUrl flag for tas-install cli
add Makefile with support to build tas-installer project
set cmd.helmChartVersion and cmd.helmChartUrl during build time by go tool link

Usage:
Dev
Build installer which use by default Helm Chart from ./charts/trusted-artifact-signer path.
make build
Prod
Compile with reseted default values to use released oci helm chart
CHART_VERSION=0.1.24 CHART_URL='oci://quay.io/redhat-user-workloads/arewm-tenant/sigstore-ocp/trusted-artifact-signer' make build

@osmman rebase and @JasonPowr or I will review/merge Monday!


error building in android studio or with gradle 3.4.1

I don't know enough about either to work out what's going on. latest source. latest gradle. latest android studio with sdk installed using studio.
Error:Project :mobile declares a dependency from configuration 'compile' to configuration 'default' which is not declared in the descriptor for project :reactive-ampache.
15:14:51.264 [DEBUG] [org.gradle.api.internal.artifacts.repositories.resolver.ExternalResourceResolver] No meta-data file or artifact found for module 'com.android.support:design:23.4.0' in repository '/home/user/Android/Sdk/extras/google/m2repository'.
15:14:51.264 [DEBUG] [org.gradle.api.internal.artifacts.repositories.resolver.DefaultExternalResourceArtifactResolver] Loading file:/home/user/Android/Sdk/extras/android/m2repository/com/android/support/design/23.4.0/design-23.4.0.pom
15:14:51.266 [DEBUG] [org.gradle.api.internal.artifacts.repositories.resolver.ExternalResourceResolver] Metadata file found for module 'com.android.support:design:23.4.0' in repository '/home/user/Android/Sdk/extras/android/m2repository'.
15:14:51.266 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainComponentMetaDataResolver] Using com.android.support:design:23.4.0 from Maven repository '/home/user/Android/Sdk/extras/android/m2repository'
15:14:51.266 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder] Visiting dependency patchyamp:mobile:unspecified(_debugApk) -> dependency: patchyamp:reactive-ampache:unspecified from-conf: compile to-conf: null
15:14:51.267 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder] Selecting new module version patchyamp:reactive-ampache:unspecified
15:14:51.268 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
15:14:51.268 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
15:14:51.268 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
15:14:51.268 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
15:14:51.268 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] A problem occurred configuring project ':mobile'.
15:14:51.268 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve all dependencies for configuration ':mobile:_debugApk'.

Got past this. Had to download the source for reactive Ampache manually


[Improvement][Alert] Remove default alert group

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description

https://github.com/apache/dolphinscheduler/blob/db615ba284de8ab2782ef41ab412286357d77cb6/dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_mysql.sql#L1013-L1015
Currently DS binds alert plugin instances with id 1 and 2 to default alert group, which may cause unexpected behavior.
We might the initialization for default alert group, or find a more appropriate way. WDYT? @caishunfeng @ruanwenjun

Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

+1 this is a bad design, and it seems ds will use this alert group(id = 0) to send server up/down alert, we need to remove this alert group and use admin alert group to replace this.


Unboxing feature proposition

I think we should have something like smart unboxing functionality (python like)
Case 1
a, b, c = [1 to 10]

console.log a,b,c # => 1,2,3

Case 2
a, b, c = { a: 1, b: 2, c: 3 }

console.log a,b,c # => 1,2,3

Implementation
unbox = (o, varName, index)->
   | typeof! o is \Object => o[varName]
   | typeof! o is \Array => o[index]
   | index is 0 => o
   | _ => null

I don't think this is a good idea because of foo a, b = x, which already compiles to foo(a, b = x) and not foo(unbox(x, 'a', 0), unbox(x, 'b', 1)). Having a, b = x mean unboxing and foo a, b = x mean simple assignment would be pretty unintuitive.

Why you put foo there? it is not allowed.
First of all please learn python and try to use it in math formulas before your decision.

If you would try foo a, b = x in a LiveScript compiler, you will find that it is indeed allowed, so I'm not sure what it is you're trying to say.
And I assure you I'm experienced with Python. My decision has nothing to do with Python, though; at risk of insulting you by stating the obvious, Python supports a different syntax than LiveScript, and you made a proposal for LiveScript, so I have to judge it based on what does and doesn't work in LiveScript.

I cannot find any sense in your arguments. I proposed to use python to show how simple it is and intuitive. The concern is your "would be pretty unintuitive." - I think you are not one who can say "intuitive" or "unintuitive" without valuable confirmation.

Okay, let me try to explain in more detail.
First: in LiveScript, foo a, b = x is currently valid. It means foo(a, b = x). I don't know whether you would ever write code like that, but it doesn't matter—in LiveScript, people can, and I'm not going to change something you can write in LiveScript to be invalid without a very good reason. So that's the first thing that I would want you to understand—that foo a, b = x has a meaning and I don't think it's a good idea for that meaning to change, because I want to avoid breaking existing code. Agree or disagree?
Second: given that foo a, b = x means what it means, I think there is a difference between how that expression works and what you're proposing for a, b = x alone on a line. You want a, b = x to mean a = unbox(x, 'a', 0); b = unbox(x, 'b', 1);, and that is very different from what's happening in foo a, b = x => foo(a, b = x). Agree or disagree?
Third: given that foo a, b = x means what it means, and given that there is a difference between how that expression works and how you want a, b = x to work, I think there is a conflict between those two ideas that programmers would find unintuitive. It may or may not be an actual grammar conflict—in the first case, the = binds more tightly than the , (if you think about the tree of that expression, it would group something like (foo a, (b = x))), but in the second case, the , binds more tightly than the = (the grouping is like ((a, b) = x)), and that would ordinarily be a bad sign for a grammar, but perhaps there's a clever way to work around that. I haven't thought too deeply about it, because the real objection is that I think that humans looking at foo a, b = x would expect the part of that expression that looks like a, b = x to behave the same way that a, b = x would behave if alone on a line. Most of the time, in a programming language, if you can take a piece of an expression out of a larger expression and still use it on its own, it has at least a similar meaning to its original meaning in the larger expression. (The ‘if’ there is important; I'm not talking about fragments that you can take out of an expression that make no sense on their own.) This is not a universal rule (for example, LiveScript violates this when it makes { +flag } mean { flag: true }, but +flag on its own means just what it would mean in JavaScript), but when it's violated, I think people are surprised and have to do some learning. Agree or disagree?
If you agree with all of the above, then you should understand why I think your proposal is unintuitive: because there is an existing kind of expression made of commas and equals signs in LiveScript that means a completely different thing, and people expect things that look similar to be similar. If you disagree, please explain what part of the argument you disagree with.

P.S. In Python, parentheses change the meaning of equals signs within them. So in Python, the equals sign in foo(a, b=x) doesn't mean assignment; it means value of named parameter. That's how Python edges around the mental conflict between a, b = x and foo(a, b=x): because the equals sign in the former case doesn't appear in parentheses, it means to set the value of some new variables; and since Python programmers already know it means something different, it can have different binding precedence relative to commas as well, because why not? In LiveScript, the equals sign in both cases means regular old assignment. That's why bringing in Python idioms doesn't necessarily work as well in LiveScript, and why pointing at Python and saying that it's intuitive there doesn't convince me that it would be as intuitive in LiveScript.

this works:
[a, b, c] = [1 to 10]
[a, b, c] = arrayVar
{a, b, c} = {a: 1, b: 2, c: 3}
{a, b, c} = objectVar
not much to type..

ok.
foo a, b = x means assignment of variable before passing it into the function.
so the real use case that you can use b variable right after invoking.
It is kind of useless thing for me but if you want to support community who thinks it is not useless - okey, I will live with that.
But
The use case of a, b = boxed_object_or_array much more better use case. You can replace object with array and do not change the code from { a, b, c } to [a, b, c]  everywhere where you use it. Of course dynamic language has problems with search and replace
Moreover this kind of syntax is closer to math and code looks much clear.
when in this case foo a, b = x code looks confusing. I would say ... why not it means foo(a, b) = x

foo(a, b) = x

Because that's never valid JS. It does parse, but outside of WScript, I don't know that it's ever been valid JS.

The use case of a, b = boxed_object_or_array much more better use case.
You can replace object with array and do not change the code from { a, b, c } to [a, b, c] everywhere where you use it.

Except one has order, and the other one doesn't. If you use {a, b} = o and {b, c} = o (because you only care about a few properties), everything breaks.

why not it means foo(a, b) = x

It's worse here, foo(a, b) = x used to be a specific syntax in LiveScript to declare curried functions, Haskell-like.

@askucher, when anyone proposes a change to LiveScript, there are two things I have to think about first: does this preserve existing LiveScript code, and does this increase (or at least, not decrease) the internal consistency of the language? On occasion, increasing the consistency of the language will justify to me a minor backward-incompatible change. However, in no case yet, and in no case I can imagine in the future, have I thought/will I think that a change that decreases the internal consistency of the language will be worth any amount of convenience. Even in the conversation over at #999, where the potential value is massive, I'm arguing for consistency with existing LiveScript forms.
So even if I agreed that a, b = emcd 1, 2 represented some kind of vast improvement over [a, b] = emcd 1, 2 (and I don't, to be clear—I think the second, existing syntax is clearer because it is more explicit, it makes lvalues look like the rvalues they destructure, it involves less run-time indirection, and as determin1st notes, it's only two extra characters), the argument that I already laid out to you in detail would prevent me from making this change. If you can't defeat that argument, you can't convince me that this is a good idea for LiveScript.
Please note that I'm not asserting that this isn't a good idea at all. Although I would not design a language that way, it may be that a language similar to LiveScript but that forbids expressions like foo a, b = x and enables expressions like what you're proposing is, in some objective or subjective way, a better language than LiveScript. If you are convinced that is the case, and think that ven and determin1st and I are all fools for not seeing it, my advice is to write that language! I won't make LiveScript into that language because LiveScript already has a user base, and given that LiveScript development comes at an average of one or two new commits a month these days, I'm unwilling to disrupt that user base by changing the core design of LiveScript too much. But your language would start with only you. You can experiment as much as you want. I know, in fact, that you have already forked LiveScript for your own purposes, so I know that this suggestion is not news to you. I bring it up only to contrast between my position, where I am forced to be conservative, and yours, where you are free to implement whatever patterns you find most intuitive, with no constraint other than your own ability to write the implementation.

@Announcement, the difference between those two expressions is not the point. The point is the difference between foo a, b, c = x and (proposed) a, b, c = x; in the first, the assignment stops at the comma, and in the second, the assignment extends through all the commas. Put another way, if someone gets used to seeing a, b, c = x meaning the same thing as [a, b, c] = x (ignoring for a moment the proposed complication that this kind of destructuring should apply to both arrays and objects), I anticipate seeing an issue opened asking why foo a, b, c = x doesn't translate into foo(a = x[0], b = x[1], c = x[2]) or something like that, since they are used to the assignment extending leftward through the commas.


SV simulation

Hello,
Just to clarify things, I have a couple of questions:

if I set "NUMBER_Haploid" parameter to 2, does the simulator create diploid SVs, do I understand correctly?
Can you be more specific about the difference between option 0 and 1 in simSV? Does 1 add real events whereas the ones with 0 are purely simulated?
For creating large deletions, I need to increase the INDEL size within the parameters file, right? Because there is no specific DELETION option in the parameters file.
Is it possible to generate e.g., 500 DUPs of length between 1000 - 10000 and 500 DUPS between 10000 - 1000000?

Thanks so much,
Arda

Hey Arda,
yes sorry this is a new feature so not very well documented.

Yes set to 2 and it simulates diploid. Higher ploidy is not supported.
So this option is about if you use the simulated sequence (reference) as the reference (1: real reads option) or to simulate reads from this reference (0 option). This is needed because the coordinates of the variants will be shifted depending on what option you are choosing.
Correct.
Sadly not. You can only set one size range within each SV type.

Hope that clears it up
Fritz

Thanks so much Fritz,
Sorry but I'm not clear about the question 2; I want to test my algorithm with a simulated data. So, I want SURVIVOR to add the variants to human reference, then will use ART to generate reads from that. Then I should use option 0 in order to get a fasta file of human reference with the variants added right?

Exactly .
If you want to use real reads and test your algorithm over that it would be option 1, with mapping the reads then to the so generated genome.

I have one last question,
I'm using grch37, which is haploid, so what happens when I set "NUMBER_haploid" to 2. Since the genome is not diploid, it has no effect as far as I see from the output, right?

The simulator (simSV) is simulating the variants on one of the other copy of the grch37 chromosomes. So within the simulator it handles a diploid model .
You should see the differences in the output (more chrs ) and VCF file (het vs. homozygous genotype).

Oh sorry, yes you are right. I was expecting to see "_maternal", "_paternal" added to the header of the chromosomes in the fasta file so I hadn't gone to the end of the file since I did not see it at the initial chromosomes :)
Thanks,
Arda


Fixed intention from space to tab; Removed empty lines and duplicated spaces

PSR-2 all indentations should be made using space and not tab. Tabs are not universal and can equate to different measures of spaces pending the application from which they were created in, OS, etc.
https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
If opinions matter in this, I say don't make this change. Empty lines should be used to clearly define changes in logic as well.

I am following the PHP style guide @ http://www.codeigniter.com/user_guide/general/styleguide.html
Most CodeIgniter files are using tab, not space.

@LouisMilotte CodeIgniter has never followed PSR-2 and if it's up to me alone - it never will.
@calvintam236
Please note that indentation is not the same thing as alignment. We use tabs for indentation, but alignment can only be done with spaces.
There's proof of that in your own patch where in some places you're replacing a single tab with two tabs or vice-versa (i.e. the user_agents.php file), because you have a tab-width of 4 spaces. If everybody does that, we'd have endless "alter tabs" commits going back and forth between what looks ok to one developer or another.
Also, not every occurence of two spaces is wrong, so to speak. Particularly in texts after a full stop, it means the start of a new paragraph. You also didn't take into account functional behavior and your patch would break the Typography tests.
That being said, you do have some desirable changes and I've manually applied them here: 10fb7d17b2025de4963da8b0108fda4da36ade11

Many of the files I read in CodeIgniter use tab-width as 4 spaces in order to show correctly. If you are saying the code should use tab width of 2 spaces, you have to update a lot of files to match your current standard.. (I am okay using spaces for alignment. Some of the alignment e.g. note I saw are using tab instead of space so that's why I am matching the style)

I don't know where you got that 2-spaces tab width guess from ... I for one use 8.
But that's the whole point - if something appears uneven with a different tab width, then it's alignment; not indentation and has to use spaces instead. To give an example:

	public function foo()
	{
		$var = 'a static prefix '
		       // The following line (and this comment) is indented
		       // with tabs up to the start of $var above (two tabs)
		       // and aligned with spaces up to the '=' operator
		       .something_dynamic();
	}

Yes, you will see many occurences of tabs being used for alignment, but those are old and gradually replaced when that particular piece of code needs to be modified.


Implement a custom Data.Iterator

What's in this pull request?
Implement a custom Data.Iterator instead of using the default IndexingIterator. This custom iterator uses an internal 32-byte buffer so it doesn't have to call copyBytes(to:count:) as often. This results in an approximate 6x speedup on my computer.
With the included benchmark, I get the following numbers with IndexingIterator:
SAMPLES MIN(μs) MAX(μs) MEAN(μs) SD(μs) MEDIAN(μs) MAX_RSS(B)
3,      14680,  15039,  14867,   0,     14867,     4666709

And the following numbers with the custom iterator:
SAMPLES MIN(μs) MAX(μs) MEAN(μs) SD(μs) MEDIAN(μs) MAX_RSS(B)
3,      2436,   2508,   2482,    0,     2482,      4642133

This is a re-submission of #3831.

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

A smoke test on macOS does the following:

Builds the compiler incrementally.
Builds the standard library only for macOS. Simulator standard libraries and
device standard libraries are not built.
lldb is not built.
The test and validation-test targets are run only for macOS. The optimized
version of these tests are not run.

A smoke test on Linux does the following:

Builds the compiler incrementally.
Builds the standard library incrementally.
lldb is built incrementally.
The swift test and validation-test targets are run. The optimized version of these
tests are not run.
lldb is tested.

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

@swift-ci Please smoke test

For the benchmark? I called it Data because I think there are other legitimate benchmarks that might be written around Data and if they get written they should presumably go in the same file.

@kballard We have in general been using separate benchmark files. See all the string benchmarks.

The general principle of the benchmark suite is 1 benchmark per file. If there is common infrastructure, we move it to utils or something along those lines.

I've submitted #3865 to rename the benchmark.

@kballard Thanks!


Wrong Command in prerequisite link

Just an FYI that in the web page of prerequisites [https://github.com/ROCm-Developer-Tools/ROCmValidationSuite/blob/master/PREREQUISITES.md] the command to install is wrongly entered as
sudo apt-install  instead of apt-get install.
Please do the correction as required.

Fix merged in #233


Updating gem to 0.3.10, fixes #220, fixes #221

Signed-off-by: gaelik<EMAIL_ADDRESS>Description

Update chef-ruby-lvm-attrib gem to 0.3.10

Issues Resolved
List any existing issues this PR resolves
#220
#221
Check List

[X] A summary of changes made is included in the CHANGELOG under ## Unreleased
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable.

looks like there was an issue with downloading the bento boxes re-running failed jobs to see if the issue persists.

looks to be an issue with the kitchen.platforms.yml file. The URL it's trying to download the images from doesn't have any files in it.
In the .github/workflows/ci.yml can you comment out line 48 so it'll just use the default kitchen.yml file.

Released as: 6.0.1


!subscribe Command is not differentiating servers

Description of Issue
When using the !subscribe command it does not update the layers correctly. Causing them to update all servers in one embed.
Errors or Screenshots of Issue

uhhhh ok, wasnt expecting that to show in here lol

New error:
[DiscordServerStatus][1] Generating message content for update...
DatabaseError [SequelizeDatabaseError]: SQLITE_ERROR: no such column: server
at Query.formatError (C:\Users\Administrator\Desktop\Servers\Spaghetti-Bot\node_modules\sequelize\lib\dialects\sqlite\query.js:415:16)
at Query._handleQueryResponse (C:\Users\Administrator\Desktop\Servers\Spaghetti-Bot\node_modules\sequelize\lib\dialects\sqlite\query.js:72:18)
at afterExecute (C:\Users\Administrator\Desktop\Servers\Spaghetti-Bot\node_modules\sequelize\lib\dialects\sqlite\query.js:246:27)
at Statement.errBack (C:\Users\Administrator\Desktop\Servers\Spaghetti-Bot\node_modules\sqlite3\lib\sqlite3.js:14:21) {
parent: [Error: SQLITE_ERROR: no such column: server] {
errno: 1,
code: 'SQLITE_ERROR',
sql: 'SELECT id, channelID, messageID, server FROM DiscordServerStatus_SubscribedMessages AS DiscordServerStatus_SubscribedMessage;'
},
original: [Error: SQLITE_ERROR: no such column: server] {
errno: 1,
code: 'SQLITE_ERROR',
sql: 'SELECT id, channelID, messageID, server FROM DiscordServerStatus_SubscribedMessages AS DiscordServerStatus_SubscribedMessage;'
},
sql: 'SELECT id, channelID, messageID, server FROM DiscordServerStatus_SubscribedMessages AS DiscordServerStatus_SubscribedMessage;',
parameters: undefined
}

@werewolfboy13 is this issue resolved?

I think this was resolved, closing.


🐛 Bug Report: The home page doesn't match with Figma design.

📜 Description
As per Figma design, there should be proper margin around the three boxes on the home page and all the boxes should be the same size. But in reality, there is no margin around all three boxes and the rightmost box is also larger in size.
👟 Reproduction steps

Go to the home page.
See the error.

👍 Expected behavior
As per Figma design, there should be proper margin around the three boxes on the home page as shown below :

👎 Actual Behavior with Screenshots
There is no margin around all three boxes and the rightmost box is also larger in size :

💻 Operating system
Windows
What browsers are you seeing the problem on?
Microsoft Edge
🤖 What development environment are you experiencing this bug on?
Local dev server
🔒 Did you set the correct environment variables in the right path? List the environment variable names (not values please!)
No response
📃 Provide any additional context for the Bug.
Sir, I want to fix this bug, please assign this issue to me.
📖 Relevant log output
No response
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🔗 Are you willing to submit PR?
Yes, I am willing to submit a PR!
🧑⚖ Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hey @dartpain, please assign this issue to me.

hii , please assign this issue to me.

Sorry @Shivam-Shah12, but I am already working on this issue..
Since this issue was created by me, it will be assigned to me fairly.

Hey @tenokami, please tell me which of the following preferable :-

Which design should I make 1 or 2?

@Ankit-Matth The first one. But I feel like somebody already did this...

@Ankit-Matth here https://github.com/arc53/DocsGPT/issues/419

@Ankit-Matth The first one. But I feel like somebody already did this...

No worries!


serializes a DataSet to JSON on dotnet core 2.0

I have the same problem when convert datatable to json on .net core 2.0. Any one help?

The issue is due to the serializer don't use the DataSetConverter in netcore 2.0 (the current support of json.net v10.0.3 is netstandard 1.3)
I have used the same source code of  DataSetConverter/DataTableConverter  in a separate project created in dotnet core 2.0 (with some modification ) and json is created  normally as expected.
I hosted the demo project in github.
You can use the accompanied library until it's implemented in the next release.
The generated json is:
		{
		  "table1": [
			{
			  "id": 0,
			  "item": "item 0"
			},
			{
			  "id": 1,
			  "item": "item 1"
			}
		  ]
		}

I expect, once Json.Net support netcore 2.0 (which is final release), DataSetConverter/DataTableConverter will be available.

@moh-hassan  Thank you so much ，But there is still a small problem,When the columnValue is DBNull

DBNull is supported in netstandard2 (netcore 2)
Review the source code public sealed class DBNull : ISerializable, IConvertible
If you serialized  the dataset to xml , `dataSet.WriteXml(textwriter) you get xml without error in case some columns have DBNull values.
I think this error is related to the internals of json.net of handling DBNull, and  waiting to the update  of other packages to netstandard2 that json.net depends on like: System.Runtime.Serialization.Primitives, System.ComponentModel.TypeConverter
You can avoid this error by  supplying settings to JsonConvert.SerializeObject to tell it how to handle null values:
          var settings = new JsonSerializerSettings
                {
                    NullValueHandling = NullValueHandling.Ignore,
                    MissingMemberHandling = MissingMemberHandling.Ignore
                };
           settings.Converters.Add(new DataSetConverter()); // using the acompanied library
           var json = JsonConvert.SerializeObject(dataSet, settings);

I updated my demo in github  to handle DBnull and generate a corresponding xml serialization.

It will be fixed with a netstandard20 assembly - https://github.com/JamesNK/Newtonsoft.Json/commit/ab3315f1d5e57c70203c904be79d8e951bf09794

Is there a target date for when an 11.x version of Newtonsoft.Json will be available on Nuget (even as prerelease)?

@kfarris9 there is a version up now, (been up for a while)
https://www.nuget.org/packages/Newtonsoft.Json/11.0.1-beta1


Copy shortcut does not work when generate new code with required touch.

Yubico Authenticator v. 4.1.0 on Ubuntu 16.
How to reproduce:
-click on credential with required touch
-space -> touch your YubiKey
-ctrl-c -does not work, but right click works correct.

Thanks for the report, will look into it.

Btw, where can I find some information how build app from source, so maybe can try to fix it.

This is what's available right now: #143
Will try to improve these docs in the future.

it seems like the item isn't actually selected (even though it visually is) after generating the code. up+down and you can copy again (easier than having to reach for your mouse in the meantime).


[ci:component:github.com/gardener/vpn2:0.10.0->0.11.1]

Release Notes:
Updated base image of vpn seed server and vpn shoot client to alpine 3.16.2

Not really seeing the correlation/error related to vpn.
/test pull-gardener-integration

/kind enhancement
/approve
/milestone v1.56


Source code

Seeing this repo is going viral, I feel that some clarification is needed.
1) Source code
It goes against all that GitHub stands for to publish a repo containing only a 300+MB .exe file and no source code. Therefore, I am including the complete source code of this app (12 lines) here. For those familiar, it is almost direct copy&paste from StableDiffusion source code available here.
No credit to the original project is given.
# Source Generated with Decompyle++
# File: watermark.pyc (Python 3.9)

import cv2
import os
from imwatermark import WatermarkEncoder
files = (lambda x: [ f for f in x if f.endswith('.jpeg') ])(os.listdir('.'))
wm = 'SDV2'
encoder = WatermarkEncoder()
encoder.set_watermark('bytes', wm.encode('utf-8'))
for file in files:
    (file_name, file_ext) = os.path.splitext(file)
    bgr = cv2.imread(file)
    bgr_encoded = encoder.encode(bgr, 'dwtDct')
    cv2.imwrite(file_name + '_wm' + file_ext, bgr_encoded)

2) Effectiveness
As should be apparent from the above, the "app" works by embedding a SDv2 watermark using the imWatermark library. I will leave it to each of you to judge how effective protection method that is.
I appreciate the author's intentions, but overall the attempt at secrecy and (in my opinion) over-hyping the project's capabilities is to the detriment of users who might get a false sense of security from using it. Not mentioning the bad practice of publishing closed-source binaries on GitHub, and not honoring the license of the copied code.

I just find it hilarious how the project is about giving credits to artists and this guy is the first one that just copy and paste code without giving proper credit

Agreed, As a security minded person, my first question was if this is malware that would try capitalize on potentially misguided artists wanting to not be in training data. Can the maintainer of this repository please publish the source code used to compile this application

That's the source? Why is it 300 megabytes?

Wait, 12 lines of code resulted in 300mb .exe? Lol
Also, congrats for publish that it, the "project" it's just a simple copy and paste

This code is just a script running
https://pypi.org/project/invisible-watermark/
which is only 1.6MB. So you turned 12 Lines of code that run a 1.6mb file into a 300mb Binary?
This looks either highly suspicious or very inexperienced. I assume that that this is made using pyinstaller or autopsy, in that case make sure to use a virtual environment which only has the required pip components installed.
It also doesn't hurt to post source on something easily written.

Am not very good with reverse engineering or auditing what an application does so I could be talking crap here (I would want someone who does know what they are doing to check though) but it makes calls to very strange places on the file system and registry
On top of that running strings on the exe amongst the junk has references to SQL???
I’m sure a large amount of what I think I saw is me not understanding but this thing stinks bad and would want to see the code to know why it’s such a huge binary.

That's the source? Why is it 300 megabytes?

The exe is 300 MB because it was created with PyInstaller, which allows to turn Python scripts into executables...
... by including the whole Python runtime, standard library, and all your script's dependencies into the single .exe file 😅

Thanks for the swift write up @jankais3r
For those who wants to verify, you can decompile the watermark.exe with something like this pyinstxtractor script: https://github.com/extremecoders-re/pyinstxtractor
I've done it myself and got this result:
PS C:\Users\mimocha\Desktop\NO_AI.Watermark> python .\pyinstxtractor.py .\watermark.exe
[+] Processing .\watermark.exe
[+] Pyinstaller version: 2.1+
[+] Python version: 3.9
[+] Length of package: 358528340 bytes
[+] Found 17040 files in CArchive
[+] Beginning extraction...please standby
[+] Possible entry point: pyiboot01_bootstrap.pyc
[+] Possible entry point: pyi_rth_pkgutil.pyc
[+] Possible entry point: pyi_rth_multiprocessing.pyc
[+] Possible entry point: pyi_rth_setuptools.pyc
[+] Possible entry point: pyi_rth_pkgres.pyc
[+] Possible entry point: pyi_rth_win32comgenpy.pyc
[+] Possible entry point: pyi_rth_pywintypes.pyc
[+] Possible entry point: pyi_rth_pythoncom.pyc
[+] Possible entry point: pyi_rth_traitlets.pyc
[+] Possible entry point: pyi_rth__tkinter.pyc
[+] Possible entry point: pyi_rth_mplconfig.pyc
[+] Possible entry point: pyi_rth_pyqt5.pyc
[+] Possible entry point: pyi_rth_inspect.pyc
[+] Possible entry point: watermark.pyc
[!] Warning: This script is running in a different Python version than the one used to build the executable.
[!] Please run this script in Python 3.9 to prevent extraction errors during unmarshalling
[!]  I'm still digging around, and I just hope I don't find anything nefarious hiding inside.

If you anyone wants to inspect the code themselves, you just need pyinstextractor to extract the installer, and pycdc to decompile the watermarking script:
python3 pyinstxtractor.py watermark.exe

./pycdc watermark.exe_extracted/watermark.pyc

That's the source? Why is it 300 megabytes?

The exe is 300 MB because it was created with PyInstaller, which allows to turn Python scripts into executables...
... by including the whole Python runtime, standard library, and all your script's dependencies into the single .exe file 😅

This is much too large for such a simple script still.
https://stackoverflow.com/a/47810133

This code is just a script running
https://pypi.org/project/invisible-watermark/
which is only 1.6MB. So you turned 12 Lines of code that run a 1.6mb file into a 300mb Binary?
This looks either highly suspicious or very inexperienced. I assume that that this is made using pyinstaller or autopsy, in that case make sure to use a virtual environment which only has the required pip components installed.
It also doesn't hurt to post source on something easily written.

Considering they claim at https://github.com/eballai/NoAI/issues/1 that they aren't using said library. People are right to be suspicious.

For what it's worth, here's the output of running Manalyze on the executable. Does anyone know if these results are normal for a PyInstaller program?
Output
[!] Error: [Yara compiler] yara_rules/clamav.yara(972665) : syntax error, unexpected '{', expecting _TEXT_STRING_
[!] Error: [Yara compiler] yara_rules/clamav.yara(1004435) : syntax error, unexpected _STRING_IDENTIFIER_, expecting '}'
[!] Error: Could not compile yara rules (2 error(s)).
[!] Error: ClamAV rules haven't been generated yet!
[!] Error: Please run yara_rules/update_clamav_signatures.py to create them, and refer to the documentation for additional information.
[*] Warning: Please edit the configuration file with your VirusTotal API key.
* Manalyze 0.9 *

-------------------------------------------------------------------------------
/data/watermark.exe
-------------------------------------------------------------------------------

Summary:
--------
Architecture:     IMAGE_FILE_MACHINE_AMD64
Subsystem:        IMAGE_SUBSYSTEM_WINDOWS_CUI
Compilation Date: 2023-Jan-08 21:34:04

[ SUSPICIOUS ] Strings found in the binary may indicate undesirable behavior:
    Looks for Qemu presence:
        QEMU
        QEmu
    Miscellaneous malware strings:
        hack

Cryptographic algorithms detected in the binary:
    Uses constants related to CRC32

[ SUSPICIOUS ] The PE is possibly packed.
    Unusual section name found: _RDATA

[ MALICIOUS ] The PE contains functions mostly used by malware.
    [!] The program may be hiding some of its imports:
        LoadLibraryExW
        GetProcAddress
    Possibly launches other programs:
        CreateProcessW
    Can create temporary files:
        GetTempPathW
        CreateFileW
    Functions related to the privilege level:
        OpenProcessToken
    Enumerates local disk drives:
        GetDriveTypeW

The following exploit mitigation techniques have been detected
    Stack Canary: enabled
    SafeSEH: enabled (0 registered handlers)
    ASLR: enabled
    DEP: enabled
    CFG: enabled

[ SUSPICIOUS ] The file contains overlay data.
    358528340 bytes of data starting at offset 0x4e200.
    The overlay data has an entropy of 7.9966 and is possibly compressed or encrypted.
    Overlay data amounts for 99.9108% of the executable.

we have just posted the source code on GitHub.

Thanks @eballai
Mind if I ask why it was private from the beginning?

Also @eballai can you update the readme to contain instructions for how you build it into the executable you published? I see a batch script file to run the python script but no way to recreate what you originally published

Nice project! I just made my own called YesAI, https://github.com/TheGoat1230/YesAI This allows for the removal of AI-generated metadata, however, this is not meant to compete with yours. You can build off of it if you please, but it does do the opposite of yours.

@jankais3r I think this issue is still open cause we don't know how the exe was compiled


Broken link to battery API project

Just FYI :)

Well, on the positive side, it's live again, on the same location.
On the negative side, Battery Status API was just a W3C suggestion, and nothing specifically changed in that API since 2014.
Still works on Chromium-based browsers, but it's been removed from Firefox (both desktop and Android) and it's only a matter of time before it gets removed from Chromium-based browsers as well.
Thanks for letting me know! :smile:


Explicitly select files to ship to npm

The tests directory is pretty big. This changes selects which files to publish explicitly. npm will automatically include README, LICENSE, and CHANGELOG files.
Before:
> npm i hashring@latest && du -sh node_modules/hashring && ls node_modules/hashring
<EMAIL_ADDRESS>node_modules/hashring
├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>4.7M	node_modules/hashring
CHANGELOG     LICENSE       Makefile      README.md     benchmarks/   doc/          index.js      node_modules/ package.json  tests/

After:
> npm i ~/Projects/node/libs/node-hashring && du -sh node_modules/hashring && ls node_modules/hashring
<EMAIL_ADDRESS>node_modules/hashring
├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>132K	node_modules/hashring
CHANGELOG     LICENSE       README.md     index.js      node_modules/ package.json

Is "files" a new thing of npm? I thought that ignoring files was always done using an .npmignore file.

Yep, it's potentially a two-step process: Everything in files but what is ignored via .npmignore. I personally prefer using files most of the time because it's harder to accidentally publish files. But happy to update this PR to use .npmignore.
See: https://docs.npmjs.com/files/package.json#files

👍 Any chance of merging this PR :)


UHF-9007: add option for 10 results

UHF-9007
What was done
Added third option for search result count. Tested with different options to see that frontend doesn't break.
How to install

Make sure your instance is up and running on latest dev branch.

git pull origin dev
make fresh

Update the Helfi Platform config

composer require drupal/helfi_platform_config:dev-UHF-9007_event_list_pagination_values

Run make drush-cr

How to test

[ ] Go to https://helfi-elo.docker.so/fi/yritykset-ja-tyo/business-helsingin-tapahtumat
[ ] Edit page and confirm that the dropdown contains options 3, 5 and 10
[ ] Set to 10 and check if the listing is acting as expected

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (f0525ad) 13.07% compared to head (56f39ce) 13.07%.
Report is 21 commits behind head on main.

:exclamation: Current head 56f39ce differs from pull request most recent head 2e17162. Consider uploading reports for the commit 2e17162 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #680   +/-   ##
=========================================
  Coverage     13.07%   13.07%
  Complexity      242      242
=========================================
  Files            28       28
  Lines           941      941
=========================================
  Hits            123      123
  Misses          818      818

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


Getting error message whenever I do "Enter URL and press 'Enter' to load the page."

When I run this, irrespective of which site I simply get "error" inside the virual screen. Tried several different websites and browsers and I get the same thing. No error in the code so presumably all dependencies are installed correctly... This example is the IRS site. Happens within the link and within colab.

Never mind - my fault. I had a copy of the colab file running and was using that. It had been updated since. Works as indicated by the founders now. Great to see.


End2End Test failing because kafka-connect cannot see MongoDbSinkConnector plugin

When attempting to execute the end2end test MinimumViableIT, MongoDbSinkConnector is not listed as an available connector in the list. Part of error HTTP response body is:

"error_code":500,"message":"Failed to find any class that implements Connector and which name matches at.grahsl.kafka.connect.mongodb.MongoDbSinkConnector, available connectors are: ...
goes on to list all of the other connectors (FileStreamSinkConnector, FileStreamSourceConnector.. etc.) that are available.

Development machine is a Mac running OS X High Sierra with Docker Version 18.03.0-ce-mac60.
Added following to /etc/hosts
<IP_ADDRESS>	mongodb zookeeper kafkabroker schemaregistry kafkaconnect
Some sort of a bootstrapping issue? Something simple that I am missing?

Sorry, oversight on my part. The gradle build was dropping the jar files in a different libs/target directory and kafka-connector could not see them. I need to finalize gradle build script so that it can work seamlessly with the maven config and send it in so it can become part of the repo.

No problem. Thx for diving into this matter and working on a gradle build. I'm sure a bunch of people will appreciate that over my somewhat conservative maven approach ;-)


feat(framework): Add full/automatic support for Framework hardware

Also:
feat: Add patched switcheroo for functional automatic dGPU cut-over
todo: Wrapper for flatpak Steam to fix a Valve bug.

Does this also work for GTS (Fedora 39)?
I saw that a patch was only added if F40.

Does this also work for GTS (Fedora 39)?
I saw that a patch was only added if F40.

Pieces of it,
You won't get switcheroo, but you will get everything else.

Thanks! ❤

Thanks! ❤

See: https://github.com/ublue-os/bluefin/pull/1248


The offset in deformable conv

Great job!
I found that the deformconv1d in this repo is different from the original one. If I'm right, the deformable kernel will not change when facing different inputs. Since the offsets are set as the learnable parameters, which will be fixed after the training, all samples will use the same offset parameters to conduct the deformable 1d convolution. While the original deformable conv can change the form of the kernel based on the input samples.
Is that correct?

Either is possible. You can use a torch.nn.Parameter if you want fixed offsets or, for example, torch.nn.Conv1D to compute the offsets for each input frame. I included a class called PackedConv1D which already does this for variable offsets based depthwise separable convolutional structure using stacked 1D convolutions, see the offset subnetwork in Fig. 3 of my paper


Initial setup for backend

@Ghostscypher, please resolve the Codacy scan defects

Closing this PR till all style fixes are applied


Timeout exception in GetObjectInfo when path contains "[" or "]"

FTP OS: Unix
FTP Server: Synology FTP Server
Computer OS: Windows 10
I'm getting timeout exceptions when trying to GetObjectInfo of files containing "[" or "]" characters in path. When I'm trying to list directories named this way - GetListing returns empty array. Filezilla works fine with that.
Logs :

FluentFTP - GetObjectInfo
# Connect()
Status:   Connecting to <IP_ADDRESS>:21
Response: 220 <IP_ADDRESS> FTP server ready.
Command:  USER admin
Response: 331 Password required for admin.
Command:  PASS ***
Response: 230 User admin logged in.
Command:  FEAT
Response: 211 End.
Response: 211- Extensions supported:
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response: SIZE
Response: MDTM
Response: MFMT
Response: REST STREAM
Response: UTF8
Response: MLST type*;modify*;size*;UNIX.mode*;UNIX.owner*;UNIX.group*;
Response: MLSD
Status:   Text encoding: System.Text.UTF8Encoding
Command:  OPTS UTF8 ON
Response: 200 OK, UTF-8 enabled
Command:  SYST
Response: 215 UNIX Type: L8
Status:   Auto-detected UNIX listing parser

# GetObjectInfo("/video/[src]  sr/[src]  sth.of.-LLO.mkv", True)
Command:  MLST /video/[src]  sr/[src]  sth.of.-LLO.mkv
The thread 0x28b8 has exited with code 0 (0x0).
Status:   Disposing FtpSocketStream...
Exception thrown: 'System.TimeoutException' in mscorlib.dll

# Dispose()
Status:   Disposing FtpClient object...
Status:   Disposing FtpSocketStream...
Exception thrown: 'System.TimeoutException' in mscorlib.dll
Exception thrown: 'System.TimeoutException' in mscorlib.dll
An exception of type 'System.TimeoutException' occurred in mscorlib.dll but was not handled in user code
Timed out trying to read data from the socket stream!

FluentFTP - GetListing
# Connect()
Status:   Connecting to <IP_ADDRESS>:21
Response: 220 <IP_ADDRESS> FTP server ready.
Command:  USER admin
Response: 331 Password required for admin.
Command:  PASS ***
Response: 230 User admin logged in.
Command:  FEAT
Response: 211 End.
Response: 211- Extensions supported:
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response: SIZE
Response: MDTM
Response: MFMT
Response: REST STREAM
Response: UTF8
Response: MLST type*;modify*;size*;UNIX.mode*;UNIX.owner*;UNIX.group*;
Response: MLSD
Status:   Text encoding: System.Text.UTF8Encoding
Command:  OPTS UTF8 ON
Response: 200 OK, UTF-8 enabled
Command:  SYST
Response: 215 UNIX Type: L8
Status:   Auto-detected UNIX listing parser

# GetListingAsync("/video/[src]  sr", Auto)
Command:  TYPE I
Response: 200 Type set to I.

# OpenPassiveDataStreamAsync(AutoPassive, "MLSD /video/[src]  sr", 0)
Command:  EPSV
Response: 229 Entering Extended Passive Mode (|||55541|)
Status:   Connecting to <IP_ADDRESS>:55541
Command:  MLSD /video/[src]  sr
Response: 150 Opening BINARY mode data connection for 'file list'.
+---------------------------------------+
-----------------------------------------
Status:   Disposing FtpSocketStream...

# CloseDataStream()
Response: 226 Transfer complete.
Status:   Disposing FtpSocketStream...
Command:  QUIT
Response: 221 Goodbye. You uploaded 0 bytes and downloaded 0 bytes.
Status:   Disposing FtpSocketStream...

 If I do, for example:
var listing = await client.GetListingAsync()
listing contains all but paths/files containing '[' or ']'

See #101 Should work in current versions of FluentFTP. See also Wiki path problems


[BUG] Fresh project -- app-icon component cause build error, antd causes runtime error (remix, antd, rest, google)

Describe the bug

Using either refine.new or the create-refine-app, without modifying any code, the new project created has the following runtime error in the browser, with a few additional errors in the browser console, which are attached:

TypeError: Cannot read properties of null (reading 'firstChild')     at injectCSS (http://localhost:3000/build/_shared/chunk-DOI7WL5K.js:14967:30)     at syncRealContainer (http://localhost:3000/build/_shared/chunk-DOI7WL5K.js:15002:28)     at updateCSS (http://localhost:3000/build/_shared/chunk-DOI7WL5K.js:15011:3)     at http://localhost:3000/build/_shared/chunk-DOI7WL5K.js:15919:22     at http://localhost:3000/build/_shared/chunk-DOI7WL5K.js:15217:67     at http://localhost:3000/build/_shared/chunk-DOI7WL5K.js:15160:5     at commitHookEffectListMount (http://localhost:3000/build/_shared/chunk-GY5AQWTY.js:16904:34)     at commitMutationEffectsOnFiber (http://localhost:3000/build/_shared/chunk-GY5AQWTY.js:17700:19)     at recursivelyTraverseMutationEffects (http://localhost:3000/build/_shared/chunk-GY5AQWTY.js:17681:15)     at commitMutationEffectsOnFiber (http://localhost:3000/build/_shared/chunk-GY5AQWTY.js:17695:15)

Using refine.new or adding example pages to create-refine-app, creates the 'app-icon' component, which uses 'fill-rule' and 'clip-rule', instead of the React versions of these properties 'fillRule' and 'clipRule'. Upon modifying these, however, the project builds properly (but still has the above runtime error).

Steps To Reproduce

create a refine project with create-refine-app or refine.new (both have the same problem), with the following settings
~/refine % npm create refine-app@latest Need to install the following packages<EMAIL_ADDRESS>Ok to proceed? (y) y ✔ Downloaded remote source successfully. ✔ Choose a project template · refine-remix ✔ What would you like to name your project?: · refine-template ✔ Choose your backend service to connect: · data-provider-custom-json-rest ✔ Do you want to use a UI Framework?: · antd ✔ Do you want to add example pages?: · no ✔ Do you need any Authentication logic?: · auth-provider-google ✔ Choose a package manager: · yarn
Note, at this point, I'm already getting warnings about deprecations and peer dependency issues (below), but no outright errors.
warning @refinedev/cli > jscodeshift > micromatch > snapdragon > source-map-reso<EMAIL_ADDRESS>See https://github.com/lydell/source-map-resolve#deprecated warning @refinedev/cli > jscodeshift > micromatch > snapdragon > source-map-reso warning @refinedev/cli > jscodeshift > micromatch > snapdragon > source-map-reso<EMAIL_ADDRESS>See https://github.com/lydell/source-map-resolve#deprecated warning @refinedev/cli > jscodeshift > micromatch > snapdragon > source-map-reso lve ><EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated warning @refinedev/cli > jscodeshift > micromatch > snapdragon > source-map-reso lve ><EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated warning @refinedev/cli > jscodeshift > micromatch > snapdragon > source-map-reso lve ><EMAIL_ADDRESS>See https://github.com/lydell/source-map-url#depreca ted warning @remix-run/dev > cacache ><EMAIL_ADDRESS>This functionality h as been moved to @npmcli/fs warning "@refinedev/cli ><EMAIL_ADDRESS>has unmet peer dependency "@babel/ <EMAIL_ADDRESS>warning "@refinedev/cli > ink-markdown ><EMAIL_ADDRESS>has incorrect pe er dependency<EMAIL_ADDRESS>|| ^2.0.0". warning "@refinedev/cli > ink ><EMAIL_ADDRESS>has incorrect peer depe
cd refine-template
yarn dev
Open either localhost or the assigned IP at port 3000. It may start to render the page, but almost immediately throws a type error on whatever is calling 'firstChild'.

Expected behavior
The app should run the out of the box program without any errors.
Screenshot

Desktop

OS: macOS Ventura 13.4
Browser: chrome
Version: 114.0.5735.133 (Official Build) (arm64)
Used data provider: Rest API

Mobile
No response
Additional Context
I did a bit of digging and the problem looks like it starts in rc-util/es/DOM/dynamicCSS.js (antd dependency) in the getContainer(options) function, where there may be a race condition. If you log out options and document, both are defined, but document.body and document.querySelector('head') are both undefined.
function getContainer(option) {   console.log('getContainer option', option)   if (option.attachTo) {     return option.attachTo;   }   var head = document.querySelector('head');   console.log('getContainer head', head)   console.log('getContainer document.body', document.body)   console.log('document', document)   return head || document.body; }
double returns:

I can also bring this up to antd's issue board, if this is better suited there, but I'm hoping this is a matter of getting something to load inside a useEffect.
P.S.
There looks like there's a known issue with rc-util and antd (see here) that had been resolved with a versions of rc-util from 2020. It's very similar issue, but dealt with a getContainer function that was returning null somewhere else. I did a quick double check, and everything is running on latest right now<EMAIL_ADDRESS>and rc-util@5.34.1). There was also an antd issue on it like 8 years ago, but the solution didn't seem to help.

Hello @ansley257 thanks for the report! We'll check it and get back to you soon.

Hey @ansley257
When these choices were made, I could not reproduce the same problem. The problem is caused by dependencies and may be resolved.
Please let us know if the problem persists 🚀


Fix Auth0 session persistence in production

Locally, your session info persists. However, it doesn't persist between page refreshes on Fly.

Wasn't actually a problem?


'std::bad_alloc' on EC2

Hello,
I find KB python super useful and efficient.
Recently I have moved to work EC2 instances and to test that everything was good I decided to re-run a sample in there using KB, the same version and index. I was previously working in a dragen server and sometimes my kb jobs would fail but sometimes the same sample would finish. Because of that I was eager to see if moving to EC2 would be better, but now I cannot run kb in my EC2 instance.
The installation seems to be fine.
This is my command (notice I am trying to run the workflow lamanno)
IDX=/home/ubuntu/kb_lamanno_index_CAR/index.idx
T2G=/home/ubuntu/kb_lamanno_index_CAR/t2g.txt
SPL=/home/ubuntu/kb_lamanno_index_CAR/spliced_t2c.txt
UNSPL=/home/ubuntu/kb_lamanno_index_CAR/unspliced_t2c.txt

kb count --loom -i $IDX -g $T2G -x 10xv2 -o $sample -c1 $SPL -c2 $UNSPL --workflow lamanno --filter bustools \
sample_01_L001_R1.fastq.gz sample_01_L001_R2.fastq.gz sample_01_L002_R1.fastq.gz sample_01_L002_R2.fastq.gz

It runs for about 5 min and then I get:
[2022-06-28 22:07:53,285]    INFO [count_lamanno] Using index /home/ubuntu/kb_lamanno_index_CAR/index.idx to generate BUS file to SM135_batch1_01_S1 from
[2022-06-28 22:07:53,285]    INFO [count_lamanno]         /home/ubuntu/BioInfo-SM-135/batch1/SM135_batch1_01_S1_L001_R1_001.fastq.gz
[2022-06-28 22:07:53,285]    INFO [count_lamanno]         /home/ubuntu/BioInfo-SM-135/batch1/SM135_batch1_01_S1_L001_R2_001.fastq.gz
[2022-06-28 22:07:53,285]    INFO [count_lamanno]         /home/ubuntu/BioInfo-SM-135/batch1/SM135_batch1_01_S1_L002_R1_001.fastq.gz
[2022-06-28 22:07:53,285]    INFO [count_lamanno]         /home/ubuntu/BioInfo-SM-135/batch1/SM135_batch1_01_S1_L002_R2_001.fastq.gz
[2022-06-28 22:10:41,559]   ERROR [count_lamanno]
[bus] Note: Strand option was not specified; setting it to --fr-stranded for specified technology
[index] k-mer length: 31
[index] number of targets: 1,455,417
[index] number of k-mers: 1,578,640,741
[index] number of equivalence classes: 128
terminate called after throwing an instance of 'std::bad_alloc'
what():  std::bad_alloc
[2022-06-28 22:10:41,560]   ERROR [main] An exception occurred
Traceback (most recent call last):
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/kb_python/main.py", line 1301, in main
    COMMAND_TO_FUNCTION[args.command](parser, args, temp_dir=temp_dir)
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/kb_python/main.py", line 482, in parse_count
    count_velocity(
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/ngs_tools/logging.py", line 62, in inner
    return func(*args, **kwargs)
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/kb_python/count.py", line 1915, in count_velocity
    bus_result = kallisto_bus(
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/kb_python/validate.py", line 116, in inner
    results = func(*args, **kwargs)
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/kb_python/count.py", line 190, in kallisto_bus
    run_executable(command)
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/kb_python/dry/__init__.py", line 25, in inner
    return func(*args, **kwargs)
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/kb_python/utils.py", line 203, in run_executable
    raise sp.CalledProcessError(p.returncode, ' '.join(command))

I have tried to increase the memory up to 100 and my instance (r4.8xlarge) should have no issue. I tried looking into other issues
like #49 but that seems to be more 'platform based'. When using cell ranger this sample detected 6798 cells after filtering.
Maybe I am missing something obvious, thank you so much for your support.

Something seems wrong with the index. Try re-creating the index (and make sure the FASTA file from which you're creating the index is not corrupted or anything).
Your output states that there are 1,455,417 targets (i.e. transcripts) but there are only 128 equivalence classes. This should not be possible.


Incorrectly render lines overflow the chart.

One-line summary [问题简述]
当使用dataZoom进行缩放时，线条会溢出图表。详见下面给出的JSFiddle
Version & Environment [版本及环境]

ECharts version [ECharts 版本]: 4.10
Browser version [浏览器类型和版本]: 69
OS Version [操作系统类型和版本]: macOS

Expected behaviour [期望结果]
进行缩放时，不要将线条渲染到图表之外。
ECharts option [ECharts配置项]

option = {
       xAxis: {
          type: 'time',
          min:<PHONE_NUMBER>000,
          max:<PHONE_NUMBER>000,
        },
        yAxis: {
          type: 'category',
          data: ['A', 'B'],
        },
        dataZoom: [{
          type: 'slider',
          xAxisIndex: [0],
        }],
        series: [{
          data: [{
            coords: [
              [1462294400000, 'A'],
              [1462294500000, 'A'],
            ],
          }, {
            coords: [
              [1462294450000, 'B'],
              [1462294550000, 'B'],
            ],
          }],
          type: 'lines',
          coordinateSystem: 'cartesian2d',
          silent: false,
        }]
}

Other comments [其他信息]

http://jsfiddle.net/62t3d9bf/

We should probably put dataZoom overflow bug at a higher priority. @100pah
See also #8935.

Check if #10748 is the same problem.

Check if #10748 is the same problem.

Maybe the same problem.

#11010 may also be related.

Added clip option for lines series in the commit https://github.com/apache/incubator-echarts/commit/94dfc9284f12cba56b7524dcf60776d0c39dbe79 . It will be included in version 4.4.0
Here is the screenshot after fixed.


README content width should not expand on side drawer close

Checklist

Please ensure the following tasks are completed before filing a bug report.

[x] Read and understood the Code of Conduct.
[x] Searched for existing issues and pull requests.

Description

Description of the issue.

Encountered an error when closing the side menu (drawer). Upon closing, the README content width expands. This behavior differs from the previous behavior, where the README content simply shifted to the left.
Related Issues

Does this issue have any related issues?

No.
Questions

Any questions for reviewers?

No.
Other

Any other information relevant to this issue? This may include screenshots, references, stack traces, sample output, and/or implementation notes.

Demo

If relevant, provide a link to a live demo.

For a live demo of the issue, see

https://stdlib.io/docs/api/v0.0.90/@stdlib/array

Reproduction

What steps are required to reproduce the unexpected output?

In order to reproduce this bug, do the following:

Navigate to the API docs.
Open a README.
Close the drawer.
The README content width expands.

Expected Results

What are the expected results?

The following results are expected:

README content width does not expand.

Actual Results

What are the actual results?

The following are the actual results:

README content width expands.

Environments

What environments are affected (e.g., Node v0.4.x, Chrome, IE 11)? If Node.js, include the npm version, operating system, and any other potentially relevant platform information.

The following environments are affected:

Chrome

The behavior has been changed. Comments?

I pulled down the latest and rebuilt the application. Locally, I am still seeing the same behavior, which does not match the behavior prior to the refactor preceding the webinar.

This has now been resolved.


Update version to 1.1.1-0 on staging

Update version to 1.1.1-0

🚀 Deployed to staging by @OSBotify in version: 1.1.1-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @Jag96 in version: 1.1.1-8 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


can't do anything with the files. 'bad address'

I tried to save a vid, with the command
cp vid /tmp
Got this: cp: cannot open ‘morality.mp4’ for reading: Bad address
Also the mplayer example won't work, and the the vlc player also tells me filesystem access error: cannot open file /tmp/ytfs/something/somethig (Bad address) .
Also when mounting the system, I got this message, but creating directories seemed to work ok: 'fusermount: failed to open /etc/fuse.conf: Permission denied'.
I have some strace output, i think the relevant one is here:
stat("the_file.mp4", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
stat("/tmp/the_file.mp4", 0x7ffdbc0d0de0) = -1 ENOENT (No such file or directory)
open("the_file.mp4", O_RDONLY) = -1 EFAULT (Bad address)

So if you need any more info from me, I'll happily provide it. In the meantime I might take a look for myself, and I'll post here if I find something.

Thank you for reporting. Please check if last commit fixed the problem.

Nope. Still there. Still the same.

Please run ytfs with -d option and show output after failure.


Instances

Is there any way to do multiple push registrations for one service worker on web?
If not (as far as I know it's not possible), how do we handle instances in this lib?
Remove the instance parameter, becuase instances won't work in web anyway and this will cause inconsistency, or keep it for android?
Right now, everything just returns default instance, and instance checking in the example app is disabled.
( @p1gp1g @MatMaul ) what would you guys advise?

According to the W3C Push API document:

Each push subscription is associated with a service worker registration and a service worker registration has at most one push subscription.


feat(sort): support to remove applied sort

Introduced enableClearingSortState which allows to clear the sort on particular column after performing ascending and descending sort.
Similar to what angular material table provides:
https://material.angular.io/components/table/overview#table-sorting
What kind of change does this PR introduce? (check one with "x")

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

What is the current behavior? (You can also link to an open issue here)
What is the new behavior?
Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

@timowolf Could you please review this PR?


chore(*) fixing typos

This PR fixes typos, both in the documentation and in source code files.

thx!


PostCSS vulnerability - update package

The package uses PostCSS <8.4.31 as a dependency which has a vulnerability. Therefore Snaky.io reports a security concern. The information about it can be found there:
https://security.snyk.io/vuln/SNYK-JS-POSTCSS-5926692
Please update the dependent packages that use postCSS to one that uses postCSS 8.4.31 or higher. It would also be great if you could update other packages as well.
Thank you

thanks for letting know, i'll update everything in about a week

@kamilchojnicki fixed in 0.2.3
remember to also upgrade postcss in your project after upgrading vite-plugin-laravel-purgecss


PostgreSQL driver support

Hello, thank you for your project. I have encountered some problems when using it. I need to use PostgreSQL driver, but I don't support it at present. I hope you can add PostgreSQL driver when you are free, or give me some guidance on how to add PostgreSQL driver. Thank you

Hi, ok I’ll see if I can make a sample for this. As alternative you can also use Npgsql like https://github.com/bertt/wkx_dapper_sample

I've checked on this, but the PostgreSQL driver seems to be missing (both on Windows/Linux). There is another project (https://github.com/MaxRev-Dev) for GDAL 3.1, but PostgreSQL is also missing (PROJ6, SQLITE3, GEOS(3.8), HDF4, HDF5, GEOTIFF, JPEG, PNG, LIBZ, LERC, CURL).
So my conclusion: it's not possible to get from GDAL to PostgeSQL, NuGet GDAL package maintainers have to be contacted for this. Or use the Npgsql package directly (I expect thats also faster).

PostgreSQL Driver can get from NuGet GDAL.Navite package  but just on windows (dotnet framework).
I wanna running on linux ；I solved the problem with Npgsql

ok excellent


Collect protein sequence data for ion channels in C. elegans

For estimating kinetics, we need to collect protein/structural data about ion channels in C. elegans.
This could be done by some script which is able to:

Retrieve the protein entry in WormBase (e.g. EGL-19, isoform a) for the ion channel of interest from the spreadsheet which is now available via this DB.

Get the provided external link by WormBase for UniProt (e.g. G5EG02).

Retrieve the protein sequence in FASTA format (e.g. G5EG02.fasta).

@a-palyanov Hey Andrey, this breaks down some of the data searching you, Vahid and I talked about a little while ago. Is this issue something you'd want to take on?
Here's the link to your spreadsheet that is a good start on collecting some of this data.
Pasting this in some other issues to link you into them, as you mentioned you were interested in data collection.

Because some of the WormBase REST APIs are broken, such as those for proteins according to this doc, going to use alternative tools for retrieving required info (such as mining WB web pages, or BioPython package + Entrez search utilities)
In WormBase, some query like this:
https://www.wormbase.org/search/autocomplete/protein?term=slo-2
Returns information about the proteins of the ion channel of interest, in JSON format.
Then the protein id, and it's WB url (e.g. /species/c_elegans/protein/WP:CE09233), could be retrieved (in the ion channel spreadsheet we have this link only for the first protein.)
By following each link, it is possible to download the protein sequence and access to related data.

Done, using this script.
Also some other channels get updated.


RuntimeError occurs when running PartA2 on torch 1.2

Hello,
I found that the following error will occur when running PartA2 on torch 1.2.

RuntimeError: range.second - range.first == t.size() INTERNAL ASSERT FAILED at /pytorch/torch/csrc/autograd/generated/Functions.cpp:55, please report a bug to PyTorch. inconsistent range for TensorList output

Since the requirements in INSTALL.md says that the code was tested on PyTorch 1.1, I changed the PyTorch version and it worked.
The issue here is quite similar.  Is function torch.nonzero() the reason?
Thank you.

Sorry I didn't check it with pytorch 1.2.
torch.nonzero() may be used here https://github.com/open-mmlab/OpenPCDet/blob/master/pcdet/models/roi_heads/target_assigner/proposal_target_layer.py#L121 in PartA2.
Maybe you could check here.

@gardenbaby @sshaoshuai
Hello, I have the same problem as you. And I choose to change my torch version from 1.2.0 to 1.5.1, but after I change my version, new error occurs:
Traceback (most recent call last):
  File "train.py", line 7, in <module>
    from pcdet.datasets import build_dataloader
  File "/home/vadingu/OpenPCDet/pcdet/datasets/__init__.py", line 3, in <module>
    from .dataset import DatasetTemplate
  File "/home/vadingu/OpenPCDet/pcdet/datasets/dataset.py", line 5, in <module>
    from .augmentor.data_augmentor import DataAugmentor
  File "/home/vadingu/OpenPCDet/pcdet/datasets/augmentor/data_augmentor.py", line 3, in <module>
    from . import augmentor_utils, database_sampler
  File "/home/vadingu/OpenPCDet/pcdet/datasets/augmentor/database_sampler.py", line 3, in <module>
    from ...utils import box_utils
  File "/home/vadingu/OpenPCDet/pcdet/utils/box_utils.py", line 4, in <module>
    from ..ops.roiaware_pool3d import roiaware_pool3d_utils
  File "/home/vadingu/OpenPCDet/pcdet/ops/roiaware_pool3d/roiaware_pool3d_utils.py", line 5, in <module>
    from . import roiaware_pool3d_cuda
ImportError: /home/vadingu/OpenPCDet/pcdet/ops/roiaware_pool3d/roiaware_pool3d_cuda.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_preallocated_32E

It seems problem of "python setup.py develop" when torch version changes, and I need to rerun setup. But after I run it, nothing changes as all files has been installed. It seems that I need to delete old "setup" files, but I don't know delete what files.
(pcdet) vadingu@ubuntu:~/OpenPCDet$ python setup.py develop
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda-10.1/'
running develop
running egg_info
writing pcdet.egg-info/PKG-INFO
writing dependency_links to pcdet.egg-info/dependency_links.txt
writing requirements to pcdet.egg-info/requires.txt
writing top-level names to pcdet.egg-info/top_level.txt
/home/vadingu/anaconda3/envs/pcdet/lib/python3.6/site-packages/torch/utils/cpp_extension.py:305: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
  warnings.warn(msg.format('we could not find ninja.'))
reading manifest file 'pcdet.egg-info/SOURCES.txt'
writing manifest file 'pcdet.egg-info/SOURCES.txt'
running build_ext
copying build/lib.linux-x86_64-3.6/pcdet/ops/iou3d_nms/iou3d_nms_cuda.cpython-36m-x86_64-linux-gnu.so -> pcdet/ops/iou3d_nms
copying build/lib.linux-x86_64-3.6/pcdet/ops/roiaware_pool3d/roiaware_pool3d_cuda.cpython-36m-x86_64-linux-gnu.so -> pcdet/ops/roiaware_pool3d
copying build/lib.linux-x86_64-3.6/pcdet/ops/pointnet2/pointnet2_stack/pointnet2_stack_cuda.cpython-36m-x86_64-linux-gnu.so -> pcdet/ops/pointnet2/pointnet2_stack
Creating /home/vadingu/anaconda3/envs/pcdet/lib/python3.6/site-packages/pcdet.egg-link (link to .)
pcdet 0.2.0+b7553c8 is already the active version in easy-install.pth

Installed /home/vadingu/OpenPCDet
Processing dependencies for pcdet==0.2.0+b7553c8
Searching for PyYAML==5.3.1
Best match: PyYAML 5.3.1
Adding PyYAML 5.3.1 to easy-install.pth file

Using /home/vadingu/anaconda3/envs/pcdet/lib/python3.6/site-packages
Searching for easydict==1.9
Best match: easydict 1.9
Adding easydict 1.9 to easy-install.pth file

Using /home/vadingu/anaconda3/envs/pcdet/lib/python3.6/site-packages
Searching for tensorboardX==2.0
Best match: tensorboardX 2.0
Adding tensorboardX 2.0 to easy-install.pth file

Using /home/vadingu/anaconda3/envs/pcdet/lib/python3.6/site-packages
Searching for numba==0.48.0
Best match: numba 0.48.0
Adding numba 0.48.0 to easy-install.pth file

Using /home/vadingu/anaconda3/envs/pcdet/lib/python3.6/site-packages
Searching for spconv==1.0
Best match: spconv 1.0
Adding spconv 1.0 to easy-install.pth file

Using /home/vadingu/anaconda3/envs/pcdet/lib/python3.6/site-packages
Searching for torch==1.5.1
Best match: torch 1.5.1
Adding torch 1.5.1 to easy-install.pth file
Installing convert-caffe2-to-onnx script to /home/vadingu/anaconda3/envs/pcdet/bin
Installing convert-onnx-to-caffe2 script to /home/vadingu/anaconda3/envs/pcdet/bin

Using /home/vadingu/anaconda3/envs/pcdet/lib/python3.6/site-packages
Searching for numpy==1.18.2
Best match: numpy 1.18.2
Adding numpy 1.18.2 to easy-install.pth file
Installing f2py script to /home/vadingu/anaconda3/envs/pcdet/bin
Installing f2py3 script to /home/vadingu/anaconda3/envs/pcdet/bin
Installing f2py3.6 script to /home/vadingu/anaconda3/envs/pcdet/bin

Using /home/vadingu/anaconda3/envs/pcdet/lib/python3.6/site-packages
Searching for six==1.14.0
Best match: six 1.14.0
Adding six 1.14.0 to easy-install.pth file

Using /home/vadingu/anaconda3/envs/pcdet/lib/python3.6/site-packages
Searching for protobuf==3.11.3
Best match: protobuf 3.11.3
Adding protobuf 3.11.3 to easy-install.pth file

Using /home/vadingu/anaconda3/envs/pcdet/lib/python3.6/site-packages
Searching for setuptools==46.1.1.post20200322
Best match: setuptools 46.1.1.post20200322
Adding setuptools 46.1.1.post20200322 to easy-install.pth file
Installing easy_install script to /home/vadingu/anaconda3/envs/pcdet/bin

Using /home/vadingu/anaconda3/envs/pcdet/lib/python3.6/site-packages
Searching for llvmlite==0.31.0
Best match: llvmlite 0.31.0
Adding llvmlite 0.31.0 to easy-install.pth file

Using /home/vadingu/anaconda3/envs/pcdet/lib/python3.6/site-packages
Searching for future==0.18.2
Best match: future 0.18.2
Adding future 0.18.2 to easy-install.pth file
Installing futurize script to /home/vadingu/anaconda3/envs/pcdet/bin
Installing pasteurize script to /home/vadingu/anaconda3/envs/pcdet/bin

Using /home/vadingu/anaconda3/envs/pcdet/lib/python3.6/site-packages
Finished processing dependencies for pcdet==0.2.0+b7553c8

Currently you need to run PCDet with PyTorch 1.1 or 1.2. It doesn't support 1.5 yet since some CPP/CUDA interfaces need to be modified.
I have tested it with PyTorch 1.1, maybe you could remove the build files and re-build it with PyTorch 1.1.

Thanks, and where to find build files.

Under the root directory of OpenPCDet

rm -r build
python setup.py clean

Hi @sshaoshuai.
I also face the same issue when trying to train PartA2 in v0.2.0, while version 0.1.1 still works for me.
I am currently using Pytorch v1.2 and PVRCNN stilll works well but not PartA2.
The fg_inds have an empty tensor array. The result iou in max_overlaps is very small which make max_overlaps >= fg_thresh cannot find any.

So, should I downgrade PyTorch version from 1.2 to 1.1 to train PartA2? It is weird because old version of PCDet still can train PartA2 model with Pytorch 1.2.

Sorry, I do not understand what your problem is. Could you achieve a similar performance with PCDet v0.2?
I think the current version should run successfully with PyTorch 1.2.

Yeah. It still works when I test PartA2 model but not when training, while PVRCNN works in both situations.

Yeah. It still works when I test PartA2 model but not when training, while PVRCNN works in both situations.
Here is the problem.
RuntimeError: range.second - range.first == t.size() INTERNAL ASSERT FAILED at /opt/conda/conda-
bld/pytorch_1565272271120/work/torch/csrc/autograd/generated/Functions.cpp:55,
please report a bug to PyTorch. inconsistent range for TensorList output

Same here. The error only occurs when training PartA2 in PCDet v0.2. I changed the PyTorch version from 1.2 to 1.1 and it worked.


Add support for WPA3 enterprise only mode

net: wifi: fix wifi connect parameter count error
Fix wrong parameter count error when input 'wifi connect' in enterprise mode.
net: wifi: should enable MFP when connect to WPA3 network
Add check that should enable MFP when connect to WPA3 network.
net: wifi: support printing WPA3 enterprise in scan result
Support printing WPA3 enterprise type in scan result, including the suiteb, suiteb-192 and WPA3 enterprise only.
hostap: support getting enterprise type by status cmd
For 'wifi status' and 'wifi ap status' cmd, support getting the specific enterprise mode, including the WPA3 enterprise mode and the EAP method type.
net: wifi: fix typo of EAP method
hostap: add WPA3 enterprise security type
Change Wi-Fi suiteb type into WPA3 enterprise security type. Support setting WPA3 enterprise only mode, which should use cipher_config->key_mgmt as WPA-EAP-SHA256, and the AKM in RSN IE will show 00-0F-AC:5.
net: l2: wifi: remove EAP TLS SHA256 security
Remove EAP TLS SHA256 security, as it should be replaced by WPA3 enterprise only mode.

@MaochenWang1 the description shouldn't be copy-paste of all commit logs, it should have a summary describing the context of the changes (why, what..).


WIP / Handle complex provenance merging better.

@sellout thanks!

Closing this since I'll be rebasing the commit to exclude the MapFunc deletions.


Room code not cleared on returning to menu.

Bug Report
The bot doesn't remove a lobby's room when the socket receives the MENU state update event.
Steps to Reproduce

Start a lobby
Start capture
(In game) Start a game (to get a room code)
(In game) Go back to the menu.

The bot gets the MENU state update event, but doesn't remove the room.
Expected behavior
Going to the menu should reset the room.
Screenshots

This issue is resolved in version 2.2.0-beta.3

This issue is resolved in version 2.2.0


dashboard: attribution needed

The bottom of the dashboard could say something like "Created by Leah Xinli Harden" and link your your home page

your your


fixes exe package downloads

A regression introduced here has caused exe based windows packages to fail when pulling from a remote source. This is because of the added define_resource_requirements method which ensures that a source is included for exe packages.
This is called before converging and therefore also before any remote source is downloaded. If the source is remote, we do not download it (and rightly so) until we determine that the package is elligible to be installed. However, in order to determine the type of package (in this case if the package is not an msi), we must beable to read the package installer file. If we do not have that locally, this fails with an error stating that the file cannot be found.
However, we don't really need to know the exact installer type at this point. We just need to know if it is an msi or not. Fortunately, we can tell that without actually downloading the file. So this PR adds a msi? method that simply checks that and uses it in the define_resource_requirements method.

:+1: minor comment

:+1:


[Enhancement] Use the methods that have been extracted [ConfigurationWrapper]

Search before asking

[X] I had searched in the issues and found no similar issues.

Enhancement Request

located at:
eventmesh-connector-plugin/eventmesh-connector-rabbitmq/src/main/java/org/apache/eventmesh/connector/rabbitmq/config/ConfigurationWrapper.java line 58
Describe the solution you'd like
reference:

Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

i want to fix it


Remove track Crash

If I remove a track with a new part inside it, I got this crash report:

But if I remove a track with no parts inside it, it don't crash and works normally

I got the same crash creating a new file. What I did:
Open OpenUtau
Create a New Track
Create a New Part
Delete the Track or create a new file (Ctrl+N)
Apparently this only works with unsaved/new files. If you open an ust and delete their part or create a new file, the crash did not occur

I got the same crash creating a new file. What I did:
Open OpenUtau
Create a New Track
Create a New Part
Delete the Track or create a new file (Ctrl+N)
Apparently this only works with unsaved/new files. If you open an ust and delete their part or create a new file, the crash did not occur

Thanks for reporting. Will not immediately but eventually fix it.

Thanks for reporting. Will not immediately but eventually fix it.


Mouse hover color changing

An option to change color to particles on the mouse hover event. This can be merged with the existing bubble feature that already has opacity and size

Could I work on this?

Sure, just use dev branch as base please, the new features are there. If you need help you can also join Slack

This looks like a good opportunity to further implement the spatial grid!
Currently, we're starting to port over to a faster neighbor detection system based on a grid-like structure.
If anything it might be easier for you to implement the behavior with the new system! In my current PR, there are updates to its functionality. Which makes it easier to check radius. it can be done something like this:
for (const p2 of container.particles.spatialGrid.queryRadius(p1.position, radius)) {  interact. }
Note this hasn't been merged as of yet, but if you could implement this as your distance checking it would be a great help in the integration of the system.

This feature is added to the bubble mode. I did some tests and seems ok. The spatial grid was not used yet.

I can try to implement the spatial grid. However, I am running into an issue. While I was able to test before, now when i try to run npm run build i get this "error File '/Desktop/tsparticles/tests/options.ts' is not under 'rootDir' '/Desktop/tsparticles/src'. 'rootDir' is expected to contain all source files." do you know what might be the issue?

Sorry I broke dev branch! Now should be fine.

You can implement the spatial on bubble mode, it's fine. If you find any bug you can try fix it. If you need help you can ask on Slack


CVE-2017-14775 for laravel auth

Listed in the CVE database under CVE-20170-14775.
Documented (and fixed) at Laravel PR#21320.

Thank you


Issue with SimpleNode

I am trying to use this and I get errors. Netbeans can't resolve for class SimpleNode.


Remove maven support for instrumentation-java.

Add to animalsniffer to gradle and force signature for 1.6 in core and core-impl.
Build with java7/8 gradle.
Build with java8 bazel.

PTAL.

sniff sniff.. bye maven, you will be missed.
(seriously, this is fine.. there's a lot of good reasons to use gradle for
this ecosystem)


[SPARK-10618] [Mesos] Refactoring scheduling condition and adding test for same

PR deals with scheduling condition changes. Refer discussion from #8771

@andrewor14 @tnachen @dragos please do another pass on this PR.

Can one of the admins verify this patch?

I'll review this one, but personally I see no point in this PR unless it improves something user-facing. That means the todo comment should be implemented (fine-grained logging on what condition actually failed).

ok to test (@dragos you can also say this by the way)

Test build #47850 has started for PR 10326 at commit f1bb5b1.

Don't have anything else to add besides what @dragos said, but seems like it takes a while to get this updated. I vote for trying to merge this first as this adds more tests :+1:
We can add finer grain logging later

Test build #47850 has finished for PR 10326 at commit f1bb5b1.

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

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

Merged build finished. Test PASSed.

@SleepyThread thanks for cleaning up the code and adding tests. I think the patch in its current state is only half way there, however. There's more opportunity to abstract the duplicate code. Also there are still a lot of style violations, and it no longer merges into master. Once you address my and @dragos' comments then we'll take a closer look.

@SleepyThread, user name checks! :) Any progress?

Test build #51710 has started for PR 10326 at commit 412f56d.

Test build #51710 has finished for PR 10326 at commit 412f56d.

This patch passes all tests.
This patch does not merge cleanly.
This patch adds no public classes.

Build finished. Test PASSed.

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

Thanks for the pull request. I'm going through a list of pull requests to cut them down since the sheer number is breaking some of the tooling we have. Due to lack of activity on this pull request, I'm going to push a commit to close it. Feel free to reopen it or create a new one. We can also continue the discussion on the JIRA ticket.


Timeout Question

If using this command from here
git config --global credential.helper "cache --timeout=XXXX"
What would be the point of saving a cache with my password on it, if I have a key system set up?

The article mentions that this command is for https connections, but if you have SSH key authentication set up then git will use that instead (so there would be no point in this command).


Miscellaneous fixes

Mostly reduce the amount of errors that get sent to sentry. Also improve the time since last binlog deletion metric handling.

CodeQL refused to run for some reason, hardly anything related to this change