fix(rds): fix unresolved endpoint socket address

Convert port to a string token before using it in socketAddress otherwise the number token is
converted to a string and cannot be resolved.
Fixes #2711

Pull Request Checklist

[x] Testing

Unit test added (prefer not to modify an existing test, otherwise, it's probably a breaking change)
CLI change?: coordinate update of integration tests with team
cdk-init template change?: coordinated update of integration tests with team

[ ] Docs

jsdocs: All public APIs documented
README: README and/or documentation topic updated
Design: For significant features, design document added to design folder

[x] Title and Description

Change type: title prefixed with fix, feat and module name in parens, which will appear in changelog
Title: use lower-case and doesn't end with a period
Breaking?: last paragraph: "BREAKING CHANGE: <describe what changed + link for details>"
Issues: Indicate issues fixed via: "Fixes #xxx" or "Closes #xxx"

[ ] Sensitive Modules (requires 2 PR approvers)

IAM Policy Document (in @aws-cdk/aws-iam)
EC2 Security Groups and ACLs (in @aws-cdk/aws-ec2)
Grant APIs (only if not based on official documentation with a reference)

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

This actually looks like something I'd like tokens to be able to do. @rix0rrr what do you think?
const num = Token.asNumber({ "Fn::GetAtt": [ "Boom", "Port" ] });
const text = `Hello, ${num}`;

Should resolve to:
{ "Fn::Join": [ "", [ "Hello, ", { "Fn::GetAtt": [ "Boom", "Port" ] } ] ] }

I think??

@eladb found a "nicer" fix in the mean time, see latest commit.
Agree that it would be nice if this would be handled by the token system.
As the fix here implies, wouldn't this need something like a .toString() for number tokens that would convert them to string tokens and not string representation of a number? But those are of type number?

Elad, so you're saying we should also be scanning strings for stringified versions of number-encoded tokens? I mean, technically possible, but pretty tricky I'm expecting.
(Also, purity nitpick: to properly mirror the language type system into the document type system, we would then need to produce a stringified version of the number in the CloudFormation document language as well, which we can't. Good thing is that CFN probably doesn't care about the distinction all that much...)


create public metaresults browser

We want to show FinnGen release 9 metaresults for FG + UKBB. Can you @juhaa point to the imported data if still exists?
URL should be
https://public-metaresults-est-ukbb.finngen.fi/

Just to clarify, 2-way or 3-way meta results @Fedja ? In any case, the R9 meta imported data is at production-meta-instance-nfs:/data/nfs/pheweb/r9*


Implement occasional maintenance task to remove old non-critical data (request and response events)

We have DB constraints (currently 1GB) and the NWC database will grow over time, especially due to storing NIP-47 requests and responses. Ones older than 3 months could be occasionally deleted.

Because this requires a migration (and might be easier to just drop and create a new table since our app is still unpublished) we would also like to change the table to transactions and include incoming payments as well (as per https://github.com/getAlby/nostr-wallet-connect-next/issues/318) and make sure we have enough info to do better budgets (https://github.com/getAlby/nostr-wallet-connect-next/issues/279) plus this requires more planning to make sure we have everything transaction-related we need for Alby Hub.


Create EIP-3074 (AUTH and AUTHCALL) Audit.md

Add EIP-3074 (AUTH and AUTHCALL) Audit RFP

Closed in favor of https://github.com/ethereum/requests-for-proposals/pull/8


Can't toggle between color modes using getSelector

Steps to reproduce
Link to live example: (required) codesandbox
Steps:

Deploy https://github.com/mui/material-ui/blob/master/examples/material-ui-pigment-css-nextjs-ts/src/app/page.tsx
Add getSelector: (colorScheme) => colorScheme ? .theme-${colorScheme} : ":root" to the theme file
Add a toggle button with logic like document.documentElement.classList.toggle("theme-light"); from the pigment css documentation

Current behavior
 adds class="theme-light" or "theme-dark"
Color scheme does not change after button click
Expected behavior
 adds class="theme-light" or "theme-dark"
Color scheme changes on button click
Context
I'm trying to use mui v6 with pigment css with the ability to select a particular color scheme, overriding the system defaults.
You'll also notice I had to comment out a Grid component in the codesandbox example. The nextjs pigment css example does not currently render with Grid/> without changing to a client component.
Your environment

npx @mui/envinfo
   Replicated in Chrome

   System:
    OS: Linux 6.1 Ubuntu 20.04.6 LTS (Focal Fossa)
  Binaries:
    Node: 20.12.1 - /home/codespace/nvm/current/bin/node
    npm: 10.5.0 - /home/codespace/nvm/current/bin/npm
    pnpm: 8.15.6 - /home/codespace/nvm/current/bin/pnpm
  Browsers:
    Chrome: Not Found
  npmPackages:
    @emotion/react:  11.13.3
    @emotion/styled:  11.13.0
    @mui/core-downloads-tracker:  6.0.2
    @mui/material: 6.0.2 => 6.0.2
    @mui/material-pigment-css: 6.0.2 => 6.0.2
    @mui/private-theming:  6.0.2
    @mui/styled-engine:  6.0.2
    @mui/system:  6.0.2
    @mui/types:  7.2.16
    @mui/utils:  6.0.2
    @pigment-css/nextjs-plugin: latest => 0.0.22
    @pigment-css/react:  0.0.21
    @pigment-css/unplugin:  0.0.22
    @types/react: latest => 18.3.4
    react: latest => 18.3.1
    react-dom: latest => 18.3.1
    typescript: latest => 5.5.4

Search keywords: pigment-css v6

I battled this issue this morning...
What I did to resolve in the interim:

specify colorSchemeSelector to be class in `next.config

-   cssVariables: true,
+   cssVariables: {
+      colorSchemeSelector: "class"
+   },

toggle() the class on root/html element

const ToggleColorScheme = () => {
  const handleClick = () => {
    document.documentElement.classList.toggle("dark");
  };

  return (
    <Button onClick={handleClick} color="primary" variant="contained">
      Toggle color scheme
    </Button>
  );
};

remove the getSelector in next.config as it seems superfluous...

PS
Add suppressHydrationWarning to your html and body tags to avoid hydration errors in console
sandbox

This at least gets it to toggle but it loses system preference. Would really like to have an opinionated way to allow system preference, but then to select an override if desired.
And like other frameworks, be able to avoid the first time load flicker while not causing all routes to become dynamic by using async in the root layout.

@shjacobs303 Pigment does not have a built-in way to handle system preferences yet. Meanwhile, you can use https://github.com/pacocoursey/next-themes for Next.js

next-themes looks to be ideal, I can see you're planning to add some examples using V6. I can wait and follow your pattern, looking forward to it.


Reactive Xamarin.Forms pages implementations

Includes additional Xamarin.Forms pages setup for Reactive UI.
Also, I bumped up the version of Xamarin.Forms referenced, but this can be excluded. There have been some API changes since 1.5, but nothing too major.

LGTM.

Thanks @michaelstonis . Unfortunately, the XamForms events project file includes a path to the XF binary under the packages directory (which includes the version). Could you please update that reference to use the new version too? Otherwise, XF events won't build.

This is the line I was talking about, but also looks like it's necessary to upgrade the XF packages for that project.

Upgraded. Totally missed the events package. It had been broken for so long... Excited to have it back.

Thanks @michaelstonis !


Cloning failed

Cloning this project on Windows with Git-2 is impossible for me (git version 2.35.0.windows.1):
md Git-latest
cd Git-latest
git clone -j8 https://github.com/allegory-software/allegory-sdk.git .
git submodule update --init --recursive

The last command yields these errors:
Submodule 'c/bcrypt/src' (git@github.com:allegory-software/allegory-sdk-bcrypt.git) registered for path 'c/bcrypt/src'
...
Submodule 'c/zlib-ng/src' (git@github.com:allegory-software/allegory-sdk-zlib-ng.git) registered for path 'c/zlib-ng/src'
Cloning into 'F:/MinGW32/src/LUA/Allegory-Software/Git-latest/c/bcrypt/src'...
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

The publickey could be a hint. But I fail to grasp what exactly; missing  ssh key?
Similar to this: https://github.com/kujason/avod/issues/8
After patching .git/config into https://github.com/allegory-software.. a git submodule update --init --recursive worked.
But a git pull failed (!)
So why can't we clone with https://? Always works here.

Well you have to put a full URL AFAIK when you clone a submodule, and since I'm always using only SSH (because I also push not just pull and I don't want to mess with password agents and other crap), that's what you get. You can teach your git to always clone everything via https though with a rewrite rule.

Btw you only need the submodules if you want to rebuild the binaries.

Wait, I was wrong, looks like you can use relative URLs after all. I'll change and test.

Yup it works, but do git checkout dev before cloning the submodules.

So my steps would be:
md Git-latest
cd Git-latest
git clone -j8 https://github.com/allegory-software/allegory-sdk.git .
git checkout dev
git submodule update --init --recursive

This works.


jsx-indent false positive

Using v6.10.0, I'm getting the following errors from this code:
import React from 'react';

const groups = [
  [
    ,
    ,

  ],
  [

  ]
];

6:5  error  Expected indentation of 2 space characters but found 4  react/jsx-indent
7:5  error  Expected indentation of 2 space characters but found 4  react/jsx-indent

If I "fix" these errors by un-indenting lines 6 and 7 (but not 5), I get generic indent errors:
6:3  error  Expected indentation of 4 spaces but found 2  indent
7:3  error  Expected indentation of 4 spaces but found 2  indent

Could not reproduce this on master. Tried with both 2 and 4 spaces as indent. @pfarnach can you check if this is still an issue with latest ?

I don't have access to that repo anymore and this may have been fixed by now so we can close.


"inner join" and "group by" error

I have three tables and when I join them and "group by" their ID to redupliction, the "extends" key is not work. Example is below:
Define struct:
type TableA struct{
ID string
DataA string
}

type TableB struct{
ID string
DataB string
}

type TableC struct{
ID string
Tag string
}

type Result struct{
A *TableA  `xorm:"extends"`
B *TableB `xorm:"extends"`
}

Exec Find by group:
results := make([]*Result, 0, 10)
session.Table("table_a").
        Join("INNER", "table_b", "table_a.id=table_b.id").
        Join("INNER", "table_c", "table_a.id=table_c.id").
        In("table_c.tag", ["a"]).
        Limit(10, 0).
        Desc("talbe_a.id").
        GroupBy("table_a.id").
        Find(&results)

The result.A != nil and result.B = nil.
But if only Find and no "gourp by"
results := make([]*Result, 0, 10)
session.Table("table_a").
        Join("INNER", "table_b", "table_a.id=table_b.id").
        Join("INNER", "table_c", "table_a.id=table_c.id").
        In("table_c.tag", ["a"]).
        Limit(10, 0).
        Desc("talbe_a.id").
        Find(&results)

the result.A != nil and result.B != nil.
Please tell me why happened this? I am so worried.

If you are using groupby, you should only select special columns. That's database's limitation.

I find the generated SQL in log.
I use this driver:  "github.com/go-sql-driver/mysql"
SELECT *
FROM `table_a`
INNER JOIN table_b ON table_a.id = table_b.id
INNER JOIN table_c ON table_a.id = table_c.id
WHERE `talbe_c`.`tag` IN ("a")
GROUP BY table_a.id
ORDER BY `table_a`.`id`
DESC LIMIT 6;

So I must indicate the columns in Select?
The "*" is not work, right?

Yes.

Thanks, I use "Select", the problem is solved.


Bump to latest release version

Added me as an author so I can help with registration. If unnecessary then can remove my name.
Passing all tests on Docker03
test/kb_gtdbtk_server_test.py::kb_gtdbtkTest::test_assembly PASSED       [  7%]
test/core/api_translation_test.py::test_get_gtdbtk_params PASSED         [ 15%]
test/core/api_translation_test.py::test_get_gtdbtk_params_backwards_compatibility PASSED [ 23%]
test/core/api_translation_test.py::test_get_gtdbtk_params_fail_bad_args PASSED [ 30%]
test/core/gtdbtk_runner_test.py::test_gtdbtk_run PASSED                  [ 38%]
test/core/k_report_generation_test.py::test_create_report PASSED         [ 46%]
test/core/sequence_downloader_test.py::test_with_sets_genomeset PASSED   [ 53%]
test/core/sequence_downloader_test.py::test_with_search_genomeset PASSED [ 61%]
test/core/sequence_downloader_test.py::test_with_genome PASSED           [ 69%]
test/core/sequence_downloader_test.py::test_with_assembly PASSED         [ 76%]
test/core/sequence_downloader_test.py::test_with_assemblyset PASSED      [ 84%]
test/core/sequence_downloader_test.py::test_with_binnedcontigs PASSED    [ 92%]
test/core/sequence_downloader_test.py::test_fail_bad_type PASSED         [100%]

Coverage remained the same at 70.984% when pulling 22e194b174cc1118824bbcb9625d29a30b857d96 on jungbluth:master into 842589340ecd8981295680ec9e00727453814541 on kbaseapps:master.

changes already made in a different branch


Allow WriteOptions to be given if desired.

Closes #24

Im having an issue that this MR will be the solution.

Im having an issue that this MR will be the solution.

I wouldn't have much hope if this repo being revived. We forked to here instead - with all 3 of my PRs merged there:
https://github.com/fleetspace/goque - note you'd need a replace github.com/beeker1121/goque/v2 => github.com/fleetspace/goque/v2 v2.1.4-fleet directive in your go.mod

Thanks for your work @Psykar


All members are given a tag of "community manager"

In our communities all members are shown as "community manager" in profile heading:

This is only happening if the logged in user is a Community Manager. it is actually a backend issue


Attach the Request ID to relevant SDK exceptions

https://app.clubhouse.io/workos/story/1178/ruby-attach-the-request-id-to-relevant-sdk-exceptions

Pretty simple! Couple of lines + a spec.
Net::HTTP is a little odd in the sense that it downcases headers. All good though:
irb(main):015:0>   profile = WorkOS::SSO.profile(
irb(main):016:1*     code: 'foo',
irb(main):017:1*     project_id: PROJECT_ID,
irb(main):018:1*     redirect_uri: REDIRECT_URI
irb(main):019:1>   )
...
WorkOS::RequestError (The code 'foo' has expired or is invalid. - request ID: 7423a232-c8d7-41b5-bb2e-375d6919a019)

Totally open to suggestions wrt to the formatting or copy of adding the request ID to the error message. Ruby exceptions just take a string message, nothing formatted like key / value.
@mark I figure this client method will become a singleton class in order to support Audit Logs fwiw.

Good call, will fix.
🚨 We also can't merge this yet (until humbledot is off installing via github)


C#/asp.net developer

Coder/Programmer (Wellington based) Wanted by PSA.
12-24 month fixed term contract.
This is an intermediate role but Junior applicants is acceptable if you have the skills.
Experienced in asp.net, C# and java script with a knowledge of classic asp, VB script, HTML and CSS is preferable.
Must be capable of supporting newly developed and legacy applications.
Working In a small team of 4 there are times when user support of Windows 10, desktop applications and mobile applications may be required.
Approx. 60% of time will be coding and coding support, 40% will be user support.
Contact<EMAIL_ADDRESS>with your application.

If you could add the [Fixed term] to the title, it will be even better.


ENH: Add @UUID support for String UUID generation

Currently, when I want to use a uuid as the primary key, I need to
declare as:
public class User {
@Id
UUID id;
}

It works well, but sometimes not convenient. For example, if I want to
dump a user instance to yaml, or json, the id can't be converted,
because they don't know how to convert UUID
I hope ebean can provide an annotation, such as @UUID(or other), then
we can use String as the type:
public class User {
@Id
@UUID
String id;

}

I think this is not useful.

At this point I'd agree that this is not really useful.  If someone wants to reopen then please do so with some discussion. Thanks.


can I specify image of mysqld-exporter and so on?

I try to deploy mysql-operator in an off-line enviroment, and prom/mysqld-exporter:v0.11.0 image pull failed.
Where can I find the field to specify image of exporte?

Yes, there is a command-line argument that lets you specify the metrics exporter image, --metrics-exporter-image
Just add in your values.yaml the following:
extraArgs:
 - --metrics-exporter-image=<your image>


Smoke shader in Linear colourspace is very different from in tiltbrush

with running assets in linear colourspace there's quite a large difference between what we see in tiltbrush and in unity.
We ended up multiplying the alpha just by eye and landed about ~2.8x
Not sure if there's a more logical way to figure what the difference is

My guess, based purely on supposition and not on looking at the sketch giving you issues, is that this is because multiple smokes are overlapping. It's possible to get scenes that use no blending to look identical between srgb and linear colorspace (and this is what we aim for the TBT_LINEAR_TARGET keyword) but once there's any blending, especially additive blending, that'll expose the differences between linear and srgb/gamma color.
Unfortunately, Tilt Brush internally uses srgb targets, which means the blending is done in srgb, which means sketches that rely heavily on additive blending -- which I know is a lot of them -- will look significantly different when blending is done in linear.
Is this what you're seeing? Or does, like, a single smoke particle on a black background look different between colorspaces?

Just did a test with single particles on a black background and the particles look identical, so yeah, I guess it must be the blending. I guess we'll continue to eyeball things with our Multiplier value.


Feedback from Joel M4

Implement one major and four minor
Major:

[x] #85

Minor:

[x] #76
[x] #77
[x] #78
[x] #79
[x] #80
[x] #81
[ ] Zoom out limitations on map?
[x] #82

Map zoom out limitation was left because we couldn't figure out an optimal solution

Thank you for your feedback Joel.


Import ABCs from collections.abc on Python 3.3+

The ABC classes in 'collections' were moved to 'collections.abc' in
Python 3.3, are deprecated as of Python 3.7 and due for removal in
Python 3.8.

I came here to report the same issue - thanks for sending the PR!


Provide an example about sorting

The orderBy Pipe is no more available in Angular2 for performance reasons.
The example shows how to filter data, which is a simple task for a stream of data.
Most real world applications require their data tables to be sortable, which will not be as easy as filtering...
Would be great, if the example-app would provide a sortable table.

Can't it be done just by simple:
    let sortBooks = (a: Book, b: Book) => a.volumeInfo.title > b.volumeInfo.title ? 1 : -1;
    this.books$ = store.let(fromRoot.getBookCollection)
        .map((books:Book[]) => books.sort(sortBooks));


Remove Link Reject and link-local RLOC.

Resolves #639.

Current coverage is 73.49% (diff: 100%)

Merging #913 into master will decrease coverage by 0.14%

@@             master       #913   diff @@
==========================================
  Files           116        116
  Lines         17273      17229    -44
  Methods        2412       2410     -2
  Messages          0          0
  Branches       2094       2089     -5
==========================================
- Hits          12721      12663    -58
- Misses         3848       3861    +13
- Partials        704        705     +1

Powered by Codecov. Last update dc6ad5b...7637266

LGTM :+1:  Thanks!

VERY nit: There is still "link local RLOC" in the documentation here:
https://github.com/openthread/openthread/blob/master/examples/apps/cli/README.md
https://github.com/openthread/openthread/blob/master/src/cli/README.md


Repositories Page Draft + Backend Datastructure

first base layout of the repository page
backend datastructure in pocketbase

will merge this one and finish the repository page in another PR


Appstudio update test-component-pac-wvot

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-wvot-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
20 seconds
clone-repository

✅ Succeeded
34 seconds
build-container

✅ Succeeded
20 seconds
deprecated-base-image-check

✅ Succeeded
18 seconds
inspect-image

✅ Succeeded
47 seconds
clamav-scan

✅ Succeeded
8 seconds
clair-scan

✅ Succeeded
10 seconds
sbom-json-check

✅ Succeeded
1 minute
label-check

✅ Succeeded
10 seconds
show-summary

✅ Succeeded
11 seconds
show-sbom

Pipelines as Code CI/test-component-pac-wvot-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
10 seconds
init

✅ Succeeded
2 minutes
clone-repository

✅ Succeeded
46 seconds
build-container

✅ Succeeded
1 minute
inspect-image

✅ Succeeded
1 minute
deprecated-base-image-check

✅ Succeeded
12 seconds
clair-scan

✅ Succeeded
56 seconds
clamav-scan

✅ Succeeded
10 seconds
sbom-json-check

✅ Succeeded
4 minutes
label-check

✅ Succeeded
20 seconds
show-summary

✅ Succeeded
20 seconds
show-sbom

Pipelines as Code CI/test-component-pac-wvot-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
10 seconds
init

✅ Succeeded
2 minutes
clone-repository

✅ Succeeded
46 seconds
build-container

✅ Succeeded
1 minute
inspect-image

✅ Succeeded
1 minute
deprecated-base-image-check

✅ Succeeded
12 seconds
clair-scan

✅ Succeeded
56 seconds
clamav-scan

✅ Succeeded
10 seconds
sbom-json-check

✅ Succeeded
4 minutes
label-check

✅ Succeeded
20 seconds
show-summary

✅ Succeeded
20 seconds
show-sbom


storage: security: use pre-built images

Signed-off-by: Boris Glimcher<EMAIL_ADDRESS>

Fix the CI issue so we can merge this! Thanks!

on it...


HDDS-11183. Keys from DeletedTable and DeletedDirTable of AOS should be deleted on batch operation while creating a snapshot

What changes were proposed in this pull request?
Keys from DeletedTable and DeletedDirTable of AOS should be deleted on batch operation while creating a snapshot and not directly from the table. The transactions have to be flushed to delete the keys. If the transaction is not flushed then the deleted keys wouldn't be present in the next transaction replay leading to having unreferenced blocks in the system.
Scenario:
Snapshot S1 create is fired.
create S1 transaction has not been flushed yet, but it has created the snapshot directory and deleted the entries from the table.
This OM has received a bootstrap request from another OM. The bootstrap command will only copy the OM instance and the snapshots that have been flushed to the AOS. S1 will not be a part of it.
The boostrapped OM will replay unflushed transactions(Create S1 will be a part of it). Now it will create a checkpoint out of the bootstrapped AOS which doesn’t have the delete entries. Now the snapshot instance will also not have the deletedKey entries
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-11183
How was this patch tested?
Existing unit tests and addition of unit tests.

Thanks @swamirishi for the patch. The idea makes sense to me. It should have used putWithBatch() in the first place.

https://github.com/apache/ozone/actions/runs/9964095152/job/27532079656
Error:  Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 180.071 s <<< FAILURE! - in org.apache.hadoop.ozone.om.snapshot.TestSnapshotBackgroundServices
Error:  org.apache.hadoop.ozone.om.snapshot.TestSnapshotBackgroundServices.testSnapshotAndKeyDeletionBackgroundServices  Time elapsed: 41.556 s  <<< ERROR!
org.apache.ratis.thirdparty.io.grpc.StatusRuntimeException: INTERNAL: Cannot invoke "org.apache.ratis.server.protocol.TermIndex.toProto()" because the return value of "org.apache.ratis.server.raftlog.RaftLog.getTermIndex(long)" is null
	at org.apache.ratis.thirdparty.io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:268)
	at org.apache.ratis.thirdparty.io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:249)
	at org.apache.ratis.thirdparty.io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:167)
	at org.apache.ratis.proto.grpc.AdminProtocolServiceGrpc$AdminProtocolServiceBlockingStub.groupInfo(AdminProtocolServiceGrpc.java:496)
...

Thanks @swamirishi for the patch and @smengcl for the review.


[Bugfix] [Tiered Caching] Make ehcache disk cache size setting be ByteSizeValue rather than long

Description
EhcacheDiskCache's DISK_CACHE_MAX_SIZE_IN_BYTES_SETTING should take ByteSizeValue, not long. This means users can specify values with units like "10G", "10GB", or "10737418240B" when passing settings in the command line, rather than having to pass "10737418240". This matches the behavior of similar settings like OpenSearchOnHeapCacheSettings.MAXIMUM_SIZE_IN_BYTES.
Added unit test around this change. Also manually tested with the IntelliJ debugger and commands like:
./gradlew run -Dtests.opensearch.opensearch.experimental.feature.pluggable.caching.enabled=true -Dtests.opensearch.indices.requests.cache.store.name=tiered_spillover -Dtests.opensearch.indices.requests.cache.tiered_spillover.onheap.store.name=opensearch_onheap -Dtests.opensearch.indices.requests.cache.tiered_spillover.disk.store.name=ehcache_disk -PinstalledPlugins="['cache-ehcache']" -Dtests.opensearch.indices.requests.cache.ehcache_disk.storage.path="/Volumes/workplace/opensearch/OpenSearch/build/testclusters/runTask-0/data/nodes/0/indices/request_cache" -Dtests.opensearch.indices.requests.cache.ehcache_disk.max_size_in_bytes=10M
to ensure the actual sizes received by ehcache are correct in all cases.
Related Issues
Part of tiered caching.
Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added
~- [N/A] API changes companion pull request created.~

[x] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[x] Commits are signed per the DCO using --signoff
~- [N/A] Commit changes are listed out in CHANGELOG.md file (See: Changelog)~
~- [N/A] Public documentation issue/PR created~

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

@peteralfonsi @sgup432 - Are we planning to merge this change? If yes, let us address the failing checks and get approval from one of the maintainers

Flaky tests: https://github.com/opensearch-project/OpenSearch/issues/14294


Adds an option to dm help

After creating your pull request, tick these boxes if they are applicable to you.

[x] I have tested my changes against the review branch (the latest developmental version), and this pull request is targeting that branch as a base
[x] I have tested my changes on Python 3.5/3.6

Description
Adds an option to send the help menu directly to the user who called it.
Useful for spam prevention. Additionally should prevent future problems with commands in dm's if more where to be added.
Related issues (if applicable)

Closing because https://gist.github.com/Rapptz/4a2f62751b9600a31a0d3c78100287f1


When /v1/bequeath-your-data-and-die is executed ,call back "PromptForBequeathingDataCausesRequestForDeregisteringOfOldRelease" should not  be executed if new-application is of same release and same application name

Problem Description:
When we trigger /v1/bequeath-your-data-and-die for oldRelease as application of same release and same application name got deployed in new-application-address and new-application-port .
Then during call back "PromptForBequeathingDataCausesRequestForDeregisteringOfOldRelease" , deregister-application will be sent with current-application-name and current-release-number which is same as new-application-name and new-release-number in this case , it will lead to end of subscriptions .
Solution:
Call back "PromptForBequeathingDataCausesRequestForDeregisteringOfOldRelease" should not  be executed if new-application is of same release and same application name.

Closing the issue , based on the decision made in the issue https://github.com/openBackhaul/ExecutionAndTraceLog/issues/260


Allow a whitelist of users to be able to make public renders

These users would be manually added, and will be able to make public renders (i.e, not in a response, but just posted for the bot).
The way this would work is that when an user request a render, we check whether they're on the whitelist or not, if they are their render will be public. The bot should also mention this in the tweet, and link to the account who requested the render.
These users would need to agree to strictly comply with the rules . They also must have shown interest in the bot for some months. Only AceAdjudicator and ObamaTheSimp would be able to do so for now.

Due to a policy change, this will no longer be done


Required integration test

This test will need to pass for the github PRs to get merged.

My opinion: Apply these guidelines to all integration tests

If the tests passes 5 times in a row on circle, we make it required.
If developers need to re-run failed tests, re-running it should pass 80% of the time.

The integration tests are relatively quick to re-run, so this isn't the worst short-term rule

If the developer re-runs the test a couple of times and it keeps failing with the same error, they probably broke it, so they should fix that error

https://github.com/statechannels/monorepo/pull/1781

Seems like this is closed by #1781 , which is now merged


Add test_ids for reconcile all old PDBs test

Signed-off-by: Kedar Bidarkar<EMAIL_ADDRESS>
What this PR does / why we need it: Add test_ids for reconcile all old PDBs test
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/approve

/lgtm

/retest


🚀 -  Hide arrow in config

Which ngx-ui-tour-* package is relevant to the feature request?
ionic
Description
I'm using ionic lib and I would like to hide arrow but is there any way to do it by config ?
Thanks

Not yet, but I can add the config.

Yes please it could be wonderful

Any news ? Or date for future release please

Most likely I will release a new version next week. I am quite busy at the moment.

Released new version. Let me know if it works as expected.


How to run instructions should be improved

Like so:
How to run

install dependencies: npm i and bower install
run the service: node srv/app-dev.js
open http://localhost:8000/

@thefoxis Fully agree,
I'm going to drop bower too. Ideally I would like each service to run as simply as npm install, then npm run. Once I have this done I will update the instructions to be simpler.

Yes, that'd be probably optimal. You could also do pre- or postprocessing (mostly for variables sake, but plain CSS is a-okay too), concatenate CSS files and run other optimisation tasks; but if it's supposed to only be mostly for demonstration purposes I probably would leave that out.

Actually I have this as an action item to get your opinion on 😊 let's discuss this too

On 12 Jan 2016, at 23:15, Karolina Szczur<EMAIL_ADDRESS>wrote:
Yes, that'd be probably optimal. You could also do pre- or postprocessing (mostly for variables sake, but plain CSS is a-okay too), concatenate CSS files and run other optimisation tasks; but if it's supposed to only be mostly for demonstration purposes I probably would leave that out.
—
Reply to this email directly or view it on GitHub.

Done in to-redux


Transaction completed..but not reflected in app wallet

Completed an onchain transaction..but updated balance is not reflecting in app wallet
e8eff4d84262762a968465d220dec8985c80b43c9e77a42fc2abe684a0e939b1

There is a resync wallet button in the admin settings, can you try pressing that?

Tried pressing resync wallet.. it did not help..

Tried multiple time..did not help..a couple of time "recursive error ....aliasing in rust"..msg came up..pressed the Dangit button and wallet was up again..with the wrong balance though..

Put in the seed words in sparrow..zero balance..no utxos..no sats...mutiny app shows at least some balance..cannot understand at all..

Changed wallet settings to Taproot...saw the 1st UTXO..but the 2nd(2of2) is missing..shows an adress which is not in the list of addresses in sparrow..if it is lost..kindly let me know directly..

Increase the gap limit.

Found all coins!!
Increased Gap limit from 20 to 50..now i hiw to make the app see these sats?

There's an open issue for this to be fixed.


doc: doxygen: fix include paths

See commit details.
Examples of what this fixes from the current documentation:

https://docs.zephyrproject.org/3.7.0/doxygen/html/group__arch-timing.html#gaffc9f3013d53e72c25243ce4f972549f
#include </home/runner/_work/zephyr/zephyr/kernel/include/kernel_arch_interface.h>

https://docs.zephyrproject.org/3.7.0/doxygen/html/group__fff__extensions.html#ga4a4e81f6291e0bfbe7f60e0a03c2e9b1
#include </home/runner/_work/zephyr/zephyr/subsys/testsuite/include/zephyr/fff_extensions.h>

@ZEPHYR_BASE@/lib/libc/minimal/include/ in STRIP_FROM_INC_PATH resulted in the following warnings that made the documentation build fail:
WARNING: <unknown>:1: the name '/home/runner/_work/zephyr/zephyr/lib/libc/minimal/include/signal.h' supplied as the argument in the \file statement matches the following input files:
WARNING: <unknown>:1: the name '/home/runner/_work/zephyr/zephyr/lib/libc/minimal/include/time.h' supplied as the argument in the \file statement matches the following input files:

From a quick looks it seems to be caused by the fact that there are other header files with the same name. As a quick fix I removed libc/minimal/include from the path, which means it will show up in the documentation, but it will still be better than the current full path: https://docs.zephyrproject.org/3.7.0/doxygen/html/group__system__errno.html#gadd669d31505a077f769cff8e66c780b3
By the way, it would be great to add to the documentation that at least make html-fast may freeze your machine. (At reading sources... [ 45%] for me.) :smile:

Now fixed an issue that seems to be affecting other PRs as well.

I am confused. The documentation build is now failing on this:

Generating output.
Processing file doc/_doxygen/groups.dox
Processing file doc/_doxygen/mainpage.md
genhtml: ERROR: cannot read /home/runner/_work/zephyr/zephyr/include/kernel_arch_interface.h
Processing file include/kernel_arch_interface.h

Somehow kernel/include/kernel_arch_interface.h turns into include/kernel_arch_interface.h with the addition of @ZEPHYR_BASE@/kernel/include/ to STRIP_FROM_PATH.
Any clue why and how to fix this? @gmarull @aasinclair @kartben

Anyone able to help with this?

Help? It would be great to get this fixed.

So just to try make progress on this, it should be pointed that it seems to be a bug during the doxygen coverage step.
Doxygen's XML output has the stripped version of the paths, hence the generation of the HTML coverage report fails due to it not being able to find the file in the now incorrect paths.
https://github.com/psycofdj/coverxygen/issues/22
https://github.com/doxygen/doxygen/pull/331

Thanks @kartben for taking a look! What would do you think is the next step regarding this?

Any chance you could look into this some more @kartben (or anyone else)?


Backwards simulation

Follow up on #15, from the same email:

I am a worldbuilder with a map of a planet which I made with the aid of photshop and fractals which I really like - I have even divided it into rather simplistic plates - but, I would like to be able to take a raster picture of that map, load it into tectonics.js, and run it either forward or backward. Particularly backward, since I know how I want the planet to end up looking... just not how it got that way...

So there's two things going on here:

Load map images into simulator, described in issue #15.

use the simulator to work backwards in time, described here

I never accounted for this in the design of the model and never really intend to. I don't really want this to restrict the design of the model or change how I think about it. I want turnaround times to remain the same.
For implementing this feature, we'll assume the user is fine with a certain loss in predictive power, so any sort of backwards simulation is better than nothing. If any feature conflicts with backwards simulation, we'll simply have to disable it when running backwards. If we can't disable it, then we'll assume we can no longer support backwards simulation. This also applies to any new features we implement in the future.
The calculation for plate velocity remains unchanged, as does the integration of velocity into position. The only difference now is we set our timestep to negative.
The same code can be used to create and destroy crust, only now when we create crust, we're actually adding old crust that in a normal run would have subducted into the mantle and been removed from consideration. We don't know the age of the old crust that we add, so we have to guess. Most ocean crust never gets older than 250 million years, so we'll set it to 250 My and say that's as best we can do.
One consequence of this means age could potentially become negative. Since crust density is a function of age, we could see some really wacky behavior where density becomes negative. Since age never logically becomes negative, we'll have to implement a clamp on age so that this situation never occurs.
Even though we're reusing the create/destroy code, we'll have to create new code to detect where the creation/destruction occurs. Right now the model destroys subducted crust if density exceeds a threshold. When we go backwards though, we only need to destroy where ever an overlap exists between plates. This is a simpler detection scheme, but we still need to decouple the create/destroy code from the detection code before we can implement this. We'll also need a way to switch off between the two detection methods depending on whether timestep is positive or negative.
Nothing in the upcoming climate model needs to change. Everything in climate is calculated using information from the current timestep. It's possible we could use results from the previous timestep as an initial guess for climate in the present timestep, but this won't change as timestep becomes negative.
The biggest problem is definitely going to be continental collision. There is no guarantee that continents won't collide when you run backwards, and the model will (rightfully) treat this as a mountain building process. But if you take your backwards-running-simulation and play it forwards, it will appear as if mountains never exist for any particularly good reason. I see no way around this, and I'm not going to try to find one for my initial implementation. At some point I plan to implement subduction zone congestion, where the plates slow down as their continental crust collides. There's no getting around this - running backwards is going to wreck havok on plans to implement this, so I'll just have to disable it when timestep is negative.
Erosion is another big sticking point, since it's inherently irreversible. At present, it's represented by something analogous to the heat diffusion equation, which uses the average difference across grid cells (AKA the "Laplacian") to determine whether a cell adds or loses mass. If you apply this in reverse, you will eventually get ridiculous looking, pencil-thin continents that are more like mountain ranges sticking up out of ocean. I'm just going to have to disable this when running backwards.

So to summarize:

set a clamp on crust age

decouple creation/destruction detection from actual creation/destruction

implement new code for detecting creation/destruction when running backwards, and switch off between the two

disable erosion when timestep is negative

If backwards sim turns out to be a fairly easy fix(with limitations), I'd say go for it. Otherwise, I'd push it way back in priority.
For a limited form of backwards sim, I'd direct the worldbuilder to gplates.
I'd also suggest the worldbuilder sign up with github. It would be nice to have a larger crowd of kibitzers driving this. Especially kibitzers with more dev skills than I. I don't know how you would regard more devs mucking about in your stuff…

I'd also suggest the worldbuilder sign up with github. It would be nice to have a larger crowd of kibitzers driving this. Especially kibitzers with more dev skills than I.

Definitely agree.

I don't know how you would regard more devs mucking about in your stuff…

I would very strongly welcome anyone who wants to contribute code. I'll admit I'm possessive of the model code proper, but there's lots of things I don't care about and just wish they were implemented, particularly file exports and graphics improvements. This is probably the stuff that most people are best equipped to work on, anyways.

reposting from 16:

The problem here is that, despite being a physics model, and the physics being deterministic, there are some operations that model the physics that simply cannot be reversed. Even if we could reverse them, that's not to say we wouldn't want to add other subsystems that aren't reversible, and we don't want to limit ourselves in what subsystems we represent (by "subsystem", I mean important things, like fluid simulations for climate, ocean, mantle, etc) so the only way to make this work is to cache the state of the model every few frames for some amount of time, but we're already running up against the limits of javascript as to how much can be represented on typical machines, caching the entire state of the model every few frames will simply multiply what we're doing now. The obvious workaround is to cache at a much lower resolution and not allow the user to play forward from anytime they go back to (lest they get stuck working with the low resolution) This is basically the approach that sim earth took. I agree that it can be done in this form, but this is a lot of work for something that I don't see offers much benefit to the user. I think the user would be better suited having some form of video capture, which is something they can easily get using third party tools.


User Owns Embedded tutorial is not accurate

Followed the tutorial here (https://docs.microsoft.com/en-us/power-bi/developer/embed-sample-for-your-organization) step by step but the embedding didn't work. Also the exact steps are not documented clearly. Had to make some changes as follows.
The AADAuthorityUrl given in the document is not correct. I had to use the AADAuhtorityUrl in the following format - https://login.windows.net/"tenant Id" to make it to work.

Thanks for your comment, @haider392 . This issue has been assigned to the doc author for review.


Error in firefox while rendering complex PDF files

Attach (recommended) or Link to PDF file here:
https://filetransfer.io/data-package/dzVBY8Ud#link
Configuration:

Web browser and its version: Firefox 92.0 (64-bit)
Operating system and its version: Linux mint ( but also do not work in Windows )
PDF.js version: 2.9.359
Is a browser extension: No

Steps to reproduce the problem:

Preview the document in firefox ( I have attached PDF.js build with the file for a quick review )

What is the expected behavior? (add screenshot)
What went wrong? (add screenshot)
Preview work in Chrome but not in Firefox
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
Description of files attached:

the PDF file have been generated from complex a autocad project

test.pdf the file what do not works

overwritten compressed.tracemonkey-pldi-09.pdf into pdf.js/web for a quick testing

Sorry for the dirty PDF, but I can not share real PDF because private data, only I can share this dirty file to emulate the behaviour. In the next screen can watch how chrome render the file

Screenshot with error shown in firefox console:

Duplicate of #6741


⚠ SceneTime has degraded performance

In ab81031, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1629 ms

Resolved: SceneTime performance has improved in c1c66eb after 6 minutes.


Documentation for gpio_add_raw_irq_handler functions

The documentation for the gpio_add_raw_irq_handler*() functions does not mention that there is a limitation on the number of handlers that can be added. The limitation is due to the call to irq_add_shared_handler(), which has a limit that can be configured via PICO_MAX_SHARED_IRQ_HANDLERS. The default value in the SDK is a maximum of four handlers, of which two or three may be used by USB and the cyw43 driver. I think it would be helpful to mention the limitation since anybody installing more than one or two handlers is likely to exceed the default limit.

Oh, I didn't realise the raw handler functions were using shared handler underneath.  That would probably explain why I'm hitting a problem, as it is extremely easy to run out of shared handlers!

merged into develop


[Release Checklist] 1.13.0-RC1

[ ] OpenShift Pipeline
[ ] Konvoy Pipeline
[ ] Native K8s Pipeline
Upgrade Pipelines

[ ]  1.0 to 2.0.0-RC1
[ ]  1.1 to 2.0.0-RC1
[ ]  1.2 to 2.0.0-RC1
[ ]  1.3 to 2.0.0-RC1
[ ]  1.4 to 2.0.0-RC1
[ ]  1.5 to 2.0.0-RC1
[ ]  1.6 to 2.0.0-RC1
[ ]  1.7 to 2.0.0-RC1
[ ]  1.8 to 2.0.0-RC1
[ ]  1.9 to 2.0.0-RC1
[ ] 1.10.0 to 2.0.0-RC1
[ ] 1.11.0 to 2.0.0-RC1
[ ] 1.12.0 to 2.0.0-RC1

ZFS Upgrade Pipelines

[ ]  0.4 to 0.9.1-RC1
[ ]  0.4.1 to 0.9.1-RC1
[ ]  0.5 to 0.9.1-RC1
[ ]  0.6 to 0.9.1-RC1
[ ]  0.6.1 to 0.9.1-RC1
[ ] 0.7.0 to 0.9.1-RC1
[ ] 0.8.0 to 0.9.1-RC1
[ ] 0.9.0 to 0.9.1-RC1

Manual testing

[ ] spc pool and cspc pool migration
[ ] cspc/csi volume upgrade

The RC1 images are available:
openebs/linux-utils:2.0.0-RC1
openebs/node-disk-exporter:0.8.0-RC1
openebs/node-disk-operator:0.8.0-RC1
openebs/node-disk-manager:0.8.0-RC1

openebs/jiva:2.0.0-RC1

openebs/cstor-istgt:2.0.0-RC1
openebs/cstor-pool:2.0.0-RC1
openebs/snapshot-provisioner:2.0.0-RC1
openebs/snapshot-controller:2.0.0-RC1
openebs/openebs-k8s-provisioner:2.0.0-RC1
openebs/admission-server:2.0.0-RC1
openebs/m-upgrade:2.0.0-RC1
openebs/m-exporter:2.0.0-RC1
openebs/cstor-volume-mgmt:2.0.0-RC1
openebs/cstor-pool-mgmt:2.0.0-RC1
openebs/m-apiserver:2.0.0-RC1
openebs/velero-plugin:2.0.0-RC1

openebs/provisioner-localpv:2.0.0-RC1
openebs/zfs-driver:0.9.1-RC1

openebs/cvc-operator-amd64:2.0.0-RC1
openebs/cstor-csi-driver:2.0.0-RC1
openebs/cstor-webhook-amd64:2.0.0-RC1
openebs/cstor-pool-manager-amd64:2.0.0-RC1
openebs/cstor-volume-manager-amd64:2.0.0-RC1
openebs/cspc-operator-amd64:2.0.0-RC1
openebs/migrate-amd64:2.0.0-RC1
openebs/upgrade-amd64:2.0.0-RC1

while migrating cstor csi volume getting the below error log

cstor_volume.go:77] failed to update storageclass {openebs-cstor-disk}: CStorVolumePolicy.cstor.openebs.io "openebs-cstor-disk" is invalid: spec.replicaPoolInfo: Invalid value: "null": spec.replicaPoolInfo in body must be of type array: "null"

In Konvoy pipeline Jiva auto snapshot deletion test case is failing @shashank855  @payes  looking into it
In OpenShift pipeline
- cstor volume provisioning BDD is failing @mittachaitu is looking into it.
- Target network loss [ cstor volume] failing because of deprovision of applicaion target pod waiting for delete it's in terminsating state need to increase the timeout in test case.
- Jiva controller kill when the replica scaleup failing.
- Jiva revisiion counter failing.

Upgrade of cspc pools failing

While upgrade cspc pool getting the job error log as failed to reconcile: invalid current version 1.12.0  @shubham14bajpai  looking into it


ISPN-4546, ISPN-5274 - Handle more corner cases when retrying tx commands

https://issues.jboss.org/browse/ISPN-4546
https://issues.jboss.org/browse/ISPN-5274
https://issues.jboss.org/browse/ISPN-5399

Add more tests
Handle LockControlCommands
Avoid retrying CommitCommands after the remote transactions were removed

Updated

testing and pushing....

integrated! thanks @danberindei!


add: Ashish Ratre

Description
Added my profile #305

Hey @ashishratre404 You have deleted the head repo. If you want to add your profile, open a new PR.


Fix ClassNotFoundException on replay

Ref

https://nanopay.atlassian.net/browse/NP-2246

Changes

Generate MinMaxCapabilityWizardlet.java as it's used by Capability.wizardlet
Output ClassInfo as string instead of key to conform with the FObject json parser

@kgrgreer @KernelDeimos @penzital please review when you have a chance, thanks.

@lchanmann why was the requires removed in favour of using the class path explicitly? requires is usually better because it allows both genjava and the javascript builder to see a more accurate dependancy tree.


Clean up Forgot Password page

consistent padding and button colors

Yep! Looks like this page just needs to be generally styled.


onedrive: Onedrive Business Support for organizations in an unamanged state (mostly universities)

This topic was discussed at the end of Issue #1577, but as @ncw requested I created a new one for this specific problem.
Many schools don't verify their Office 365 Education Account. This prevents students from authorizing application using the API. Authorization requests return this error:

What is your rclone version (eg output from rclone -V)

./rclone -V
rclone v1.39-025-g60afda00β
- os/arch: linux/amd64
- go version: go1.9.2

Which OS you are using and how many bits (eg Windows 7, 64 bit)

ArchLinux 4.14.13-1-ARCH #1 SMP PREEMPT Wed Jan 10 11:14:50 UTC 2018 x86_64 GNU/Linux

Which cloud storage system are you using? (eg Google Drive)

OneDrive (Office 365 Education)

The command you were trying to run (eg rclone copy /tmp remote:tmp)

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

./rclone authorize onedrive
Choose OneDrive account type?
 * Say b for a OneDrive business account
 * Say p for a personal OneDrive account
b) Business
p) Personal
b/p> b
If your browser doesn't open automatically go to the following link: http://<IP_ADDRESS>:53682/auth
Log in and authorize rclone for access
Waiting for code...
2018/01/14 15:50:08 Failed to configure token: failed to get code

Returned URL:
http://localhost:53682/?error=access_denied&error_description=AADSTS65005%3a+Using+application+%27rclone%27+is+currently+not+supported+for+your+organization+*********+because+it+is+in+an+unmanaged+state.+An+administrator+needs+to+claim+ownership+of+the+company+by+DNS+validation+of+***********+before+the+application+rclone+can+be+provisioned.

I already contacted my school, but they don't plan to verify their domain, because it would require them to handle password resets and other stuff by themselves.
However, there seem to be a few workarounds:
I managed to connect duplicati to my Office 365 education account.
I suppose it works because it uses a different onedrive for business/sharepoint implementation.
I had to put in my actual username and password and the server it should connect to (e.g. [universityname]-my.sharepoint.com).
Another way is using webdav, as mentioned by @putiyeb in the original issue:
"The OD4B of your account can be mounted by WebDav, using Cookie to authorize.
See detail:
https://shui.azurewebsites.net/2018/01/13/mount-onedrive-for-business-on-headless-linux-vps-through-webdav/"
Apparently this repo implements a way of getting an onedrive cookie in python and uses a bash script to mount the share using davfs2:
https://github.com/yulahuyed/test

Hi, so in the last months I did some projects in go and now I thought about reviewing the other possibilities to authenticate. I implemented the cookie retrieval in go:
https://github.com/hensur/onedrive-cookie-test
I can get a cookie now and it is possible to mount the onedrive account using davfs2 and the retrieved cookie. It probably would be possible to setup a local rclone on this mountpoint, but that's not really my favorite way of solving this.
I looked into the rclone sources to find a method to integrate the cookie auth into, but I'm not quite sure where to start.
So I thought about here (https://github.com/ncw/rclone/blob/master/backend/webdav/webdav.go#L282) and added a SetCookie method to the rest module which basically does the same as the SetUserPass method (https://github.com/ncw/rclone/blob/master/lib/rest/rest.go#L96)
I got a 403 Forbidden response after hardcoding some values in there and trying it with a new webdav endpoint which points to my sharepoint URL.
The error came from here: https://github.com/ncw/rclone/blob/master/backend/webdav/webdav.go#L202
I guess it is because of api.CallXML, which calls api.callCodec and then api.Call?
The cookie seems to get lost here because a new request is created?!
https://github.com/ncw/rclone/blob/master/lib/rest/rest.go#L231
I'd be happy for some help to get started :)

@hensur that is great! I'm traveling at the moment so I'll be brief.
Did you try using --vv with --dump bodies? That will show you exactly what happens to the http requests.
Can you show code for what you've done so far?
Gotta go now plane doors shutting!

@hensur back now!
I would have thought setting your cookie with SetHeader would be the right approach.

The cookie seems to get lost here because a new request is created?!

I don't think a new request gets created... Did you try with -vv and --dump bodies to look at the HTTP transactions?

Hey @ncw! I hope you had a good flight :)
Thank you for the fast response. I had not much time last week, but I just looked into it again and found my mistake.
My SetCookie method just created a new request, added the cookie and returned that request. I just now noticed the api SetHeader method. So I changed my method to get the Cookie Header from the new request and saved it using api.SetHeader.
I just pushed my changes to my rclone fork: https://github.com/hensur/rclone
I also created a small package to fetch the required cookies: https://github.com/hensur/onedrive-cookie-test/tree/master/odrvcookie
Although it would probably be better to integrate this directly into rclone, it works quite good for testing the authentication.
In the current state I can use my fork to authenticate and somehow list the remote.
I'm getting this error for every folder in the remote using rclone lsd webdav:/

2018/04/09 10:11:55 ERROR : personal/MY_EMAIL_ADDRESS/Documents: Entry doesn't belong in directory "" (contains subdir) - ignoring
2018/04/09 10:11:55 ERROR : personal/MY_EMAIL_ADDRESS/Documents/example.file: Entry doesn't belong in directory "" (contains subdir) - ignoring
2018/04/09 10:11:55 ERROR : personal/MY_EMAIL_ADDRESS/Documents/Anlagen: Entry doesn't belong in directory "" (contains subdir) - ignoring
2018/04/09 10:11:55 ERROR : personal/MY_EMAIL_ADDRESS/Documents/Office Lens: Entry doesn't belong in directory "" (contains subdir) - ignoring
2018/04/09 10:11:55 ERROR : personal/MY_EMAIL_ADDRESS/Documents/Forms: Entry doesn't belong in directory "" (contains subdir) - ignoring
2018/04/09 10:11:55 ERROR : personal/MY_EMAIL_ADDRESS/Documents/backups: Entry doesn't belong in directory "" (contains subdir) - ignoring

I just pushed my changes to my rclone fork: https://github.com/hensur/rclone

I had a quick look through that - it is looking very nice :-)

I'm getting this error for every folder in the remote using rclone lsd webdav:/
2018/04/09 10:11:55 ERROR : personal/MY_EMAIL_ADDRESS/Documents: Entry doesn't belong in directory "" (contains subdir) - ignoring

What that means is that the directory itself appeared in the directory listing for the directory.  This should be filtered out but that isn't working for some reason - I expect a bit of examination of the lsd with -vv --dump bodies and the code will tell you why!
Will this code work for any onedrive account?  Eg my personal one?
Some thoughts about making this into a pull request

needs docs (in docs/content/webdav.md)
needs an extra OptionExample for the "onedrive" quirk...
can you split changes to the rest module into a separate commit.
if you want to keep your : https://github.com/hensur/onedrive-cookie-test/ library separate that is fine by me - we could then vendor it.  Or you could include that file into the webdav remote.

Excellent progress - looking forward to seeing the next step :-)

@hensur wrote:

Just a quick update, I did some testing and I noticed that the error above only happens if i execute rclone lsd webdav:/
After some trial and error I ran rclone lsd webdav: (without the slash) and the lsd worked perfectly fine.
I tried the same with my nextcloud and noticed this behavior there as well (even with the latest stable).
Is this something that should be fixed or some wanted behavior?

Rclone is supposed to be agnostic about / so webdav: and webdav:/ should be the same thing.  So that is worth investigating (in another commit!).
Oh - I see you did that already in your PR :-)  Excellent!

I think this issue is sorted at least for webdav.
In the light of #2325 I think there needs to be some documentation in docs/content/onedrive.md pointing people to the webdav solution.  We should put the text of the error message in the docs.
I wonder if rclone can detect the error and print a more helpful error message...

ok, I'll add the docs.
I'm guessing by "more helpful message" you mean the webpage that is shown in the screenshot? I will look into that as well then.

Not necessarily the screenshot, but a pointer to what to do if your org turns out to be unmanaged and how you would recognise it.

@hensur , @ncw
This is a problem to copy file in webdav (sharepoint onedrive) , for example:
When copy or sync from a source directory to local, it work fine.
rclone.exe copy od1:song/    ./
When copy from  a source file  to local,,  it has error:
rclone.exe copy od1:song/my.mp3    ./
ERROR : : error reading source directory: directory not found


Option --check-only isn't listed as an available option

Type of issue
Missing information
Description
Hello,
In the Description it is mentioned a --check-only options that exist but isn't listed in the Options section.
Page URL
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new-update
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/tools/dotnet-new-update.md
Document Version Independent Id
aa21de56-b0c8-0fc3-ec75-6f310ae0dec6
Article author
@tdykstra
Metadata

ID: aae4b99c-452e-fd3d-4bb5-4d9961212fbd
Service: dotnet-fundamentals

@gravity00 Thanks for reporting this oversight, I'm adding the option to the Options section now.


CLI-style execution for Python-defined experiments

Hey!
I think the Tango CLI is really nice and would really like if we could support Python-defined experiments with CLI-style execution. So I modularized the CLI run functions and decoupled them from __main__.py.
Now we can also run scripts like:
from tango import StepGraph
from tango.cli import tango_cli, execute_step_graph, prepare_workspace, prepare_executor

from examples.euler.complex_arithmetic import *
from tango.steps import PrintStep

i = [0.0, 1.0]
pi = [3.1415926535, 0.0]

i_times_pi = MultiplyStep(a=i, b=pi)
pow_e = ExponentiateStep(x=i_times_pi)
plus_one = AdditionStep(a=pow_e, b=[1,0])
print_step = PrintStep(input=plus_one)

step_graph = StepGraph({
    "i_times_pi": i_times_pi,
    "pow_e": pow_e,
    "plus_one": plus_one,
    "print": print_step
})

if __name__ == '__main__':
    with tango_cli():
        workspace = prepare_workspace()
        executor = prepare_executor(workspace)
        execute_step_graph(step_graph, workspace, executor)

This should be the same as tango run examples/euler/euler.jsonnet!
If we want to use the default TangoGlobalSettings, we can also shorten the block to
    with tango_cli():
        execute_step_graph(step_graph)

This includes the changes from (@BigRedT) Tanmay's PR #491. CLI functionality should be completely the same. I ran the tests in tests/main_test.py successfully. Formatted with isort and black and checked with ruff and mypy. Docs needed.
What do you think? Happy to make adjustments as you see fit!

Seems like the lint and type check failed, but for reasons independent of this PR. Shall I resolve those anyway?

That's great -- thanks a lot @AkshitaB!


RFC: pipeline compile step

Add a own section called compile into pipeline config.
witch use normal workflow logic (default or custom clone) ... but it's output is no log but an pipeline config.
tldr: with way we could support starlark, jsonnet (#1396), drone >= 1.0, ... without needing to add it to woodpecker core
details
we either could make a special compile pipeline, and show it as own entry, witch trigger the actual pipeline with its config
(if we do so, we need to somehow link them UI/UX wise ...)
or we just use our multi workflow approach ... where one workflow (eventually with a different icon) is the compile and all generated workflows from it are also i it ... (as a compile could create one or more workflows)
we need to make sure we dont have a recursion in it -> see permutate example
example:
compile:
  image: wp/jsonnet
  settings:
    file: woodpecker.jsonnet

compile:
  image: wp/replace-image # permutate normal wp pipeline config

pipeline:
  normal-steps:
...

be aware as we would support with multible workflows multible compiles ... that this get's complicated quite fast

we also might add a server flag to ignore this feature

seems pretty similar to #53

I like the idea, this would also allow one to "emulate" some of the features of GitHub workflows by basically overriding a step declared with just a name and e.g. "fake" image with a step with all settings prepared (basically a plugin + the necessary config / commands)... which would increase code reusability and also ease updating a step in all repos (e.g. switching to a newer buildx plugin or changing defaults like proxy settings to match the environment)

would be nice to be able to specify global (or org wide) permutate image that would by applied than to all respective pipelines

This feature looks really great! Even if it was super-simple: generating entire woodpecker.yml using a docker image this would already provide enough tooling to write virtually any integration one can imagine. Thanks for thinking ahead and for your work :+1:

What would be the input/output scheme of this compile step?
stdin/stdout seems like a obvious choice, however would prevent the compile step outputting logs to the user and would make it rather hard to take advantage of multi-workflows.
maybe an approach to how github workflows handles output could be taken, eg:
the env-var $COMPILE_INPUT holds the regular pipeline for mutation.
$COMPILE_OUTPUT holds the path to a folder where the compile-step can write files to, which then are handled the same way as the .woodpecker folder normally would, basically overwriting what is delivered by the csv.
adding this feature would make woodpicker a viable alternative for us, as we rely on jsonnet for some of our pipelines.

stdin/stdout seems like a obvious choice, however would prevent the compile step outputting logs to the user and would make it rather hard to take advantage of multi-workflows.

The standard is to use stderr for user-oriented output in that case.

adding this feature would make woodpicker a viable alternative for us, as we rely on jsonnet for some of our pipelines.

I had a good experience using the matrix builds in tandem with the when.evaluate option to replace jsonnet in my use-case. But that doesn't get you very far.

The standard is to use stderr for user-oriented output in that case.

well, yeah, in theory, tho i think you gonna have a very hard time to make all programs a user would potentially want to use comply with that.

well, yeah, in theory, tho i think you gonna have a very hard time to make all programs a user would potentially want to use comply with that.

Isn't that something that can be solved with redirection for non-complying programs?


Qiskit nature tutorial - Leveraging Qiskit Runtime - RuntimeError: The job '' cc63u4qbvge6kouqocmg '' failed unexpectedly

Describe the bug
Whenever I try to reproduce the tutorial described in this link : https://qiskit.org/documentation/nature/tutorials/07_leveraging_qiskit_runtime.html
The error : RuntimeError: The job " cc63u4qbvge6kouqocmg " failed unexpectedly
occurs.
Steps to reproduce
Exactly as described here
https://qiskit.org/documentation/nature/tutorials/07_leveraging_qiskit_runtime.html
I only change my runtime provider by setting hub='ibm-q', group='open', project='main'
Expected behavior
Suggested solutions
Additional Information

qiskit-ibm-runtime version:

Qiskit Software
Version

qiskit-terra
0.21.1

qiskit-aer
0.10.4

qiskit-ignis
0.7.1

qiskit-ibmq-provider
0.19.2

qiskit
0.37.1

qiskit-nature
0.4.4

Python version:
Python version | 3.9.12
Python compiler | GCC 7.5.0
Python build | main, Apr 5 2022 06:56:58
Operating system:
OS | Linux
CPUs | 8
Memory (Gb) | 7.544063568115234

@kalpakghosh Can you provide a job_id

@kalpakghosh Can you provide a job_id

Added job_id. Thanks.

This tutorial is not up to date - I created an issue in https://github.com/Qiskit/qiskit-nature/issues


Library doesn't seem to work

venv/lib/python3.11/site-packages/humancursor/utilities/calculate_and_randomize.py", line 72, in generate_random_curve_parameters
target_points = max(int(math.sqrt((pre_origin[0] - post_destination[0]) ** 2 + (pre_origin[1] - post_destination[1]) ** 2)), 2)
~~~~~~~~~~~~~~~~^^^
TypeError: 'int' object is not subscriptable

Please show code you have written.

Have this.
from humancursor import SystemCursor
import random
import time
import numpy as np
import pyautogui

cursor = SystemCursor()

# Create a display surface
screen = pygame.display.set_mode((800, 600))

running = True
while running:
    randx, randy = (random.randint(0,300), random.randint(0, 300))
    pos = pyautogui.position()
    cursor.move_to(randx+pos[0], randy+pos[1])
    time.sleep(0.1*np.norm(np.array((randx, randy))) / 100.)

I'm looking for the performant library that does simulates mouse movements with top high performance, no latency for real-time streaming of coordinates - I'm basically taking the coordinates from a new type of pointing device
If I don't see anything else doing that I will write my own

You are inputting coordinates wrong, they should be in a list where first element is x coordinate, and the second is y, like this [x, y].

That should give an error outside the library

Just try this cursor.move_to([randx+pos[0], randy+pos[1]]) instead of cursor.move_to(randx+pos[0], randy+pos[1]). Don't think it changes anything for you outside the library

I got pass that, what I meant is to have input validation for basic API functions
On the library itself:
You're using pyautogui in a loop:
    for pnt in human_curve.points:
        pyautogui.moveTo(pnt)
    pyautogui.moveTo(point)

That makes it slow, it gives it signifficant overhead as I can test it:
from humancursor import SystemCursor
import random
import time
import numpy as np
import pyautogui

import perf_timer as pft
import cv2

_cursortimer = pft.PerfTimer('cursor timer', observer=pft.HistogramObserver, quantiles=(.5,.9))

cursor = SystemCursor()

c=0
n=0
T=.0
while c !=27:
    randx, randy = (random.randint(-300,300), random.randint(-300, 300))
    pos = pyautogui.position()
    duration = np.linalg.norm(np.array((randx, randy)))/1000
    T+=duration
    with _cursortimer:
        cursor.move_to([randx+pos[0], randy+pos[1]], duration=duration)
        n+=1
    c = cv2.waitKey(10)
    print(T/n)

It might need to be reimplemented on top of better library. How does pynput look?

Will take a look into that, thanks for the feedback!


Responsive sizing of the screen

Hi,
I developed an app using NativeScript with Angular 2. Wrote the UI according to the official docs. Mostly stacked / grid layouts. I developed it using an Android emulator with 5 inch screen and it looks fine while testing on a 5 " device but while I tried to test on 4.7" or other lower screen sizes, the layout is not the same. It is either cutting down some text or hiding few components.
I suppose the layout would be auto-aligned accordingly based on the screen size (if not for tablets, at least for all mobile screen sizes because I cannot build different APK versions based on the screen size, if you know what I mean). If it doesn't automatically align the sizes, how do I fix it ? by giving the values based on a percentage or any other work around ? I declared all the css properties without px.
eg : margin : 20;
NOTE: I am trying to keep the look same for all mobile screen sizes.

@crazycoder775 in NativeScript the main unit is DP (a.k.a DIPs) - Device Independent Pixels which are calculated based on the screen density and scale. For GridLayouts you can also create youtr rows and cols using not only DP but also auto (will take only as much space as needed) or * (will take all the available space left).
When working with images the best practice is to use the native folders (located in App_Resources/Android or App_Resources/iOS) and provide different scaled images for the different screens. More details can be found here and here

I have long sought a solution to this problem in nativescript so here is a simple and free solution to manage in css the different size and format.
///////////////////////typescript code///////////////////////////////////////////////////
import { screen } from "tns-core-modules/platform";
ngOnInit(): void {
const deviceWidth: number = screen.mainScreen.widthDIPs;
if (deviceWidth >= 1280) {
this.ClassResponsive = "1280";
} else if (deviceWidth >= 1024) {
this.ClassResponsive = "1024";
} else if (deviceWidth >= 800) {
this.ClassResponsive = "800";
} else if (deviceWidth >= 600) {
this.ClassResponsive = "600";
} else if (deviceWidth >= 540) {
this.ClassResponsive = "540";
} else if (deviceWidth >= 480) {//toute est bon dans cette grandeur!!!!!!!!!!!!!!!
this.ClassResponsive ="480";
} else if (deviceWidth >= 400) {
this.ClassResponsive = "400";
} else if (deviceWidth >= 360) {
this.ClassResponsive = "360";
}
}
ClassResponsive: any = "";

[class]="ClassResponsive"
after in css:
.360 .element{
}
.400 .element{
}
........


SLURM script

Hi, I am trying to get Juicer running on our uni HPC cluster and failing so far.
I find it hard to find the locations that should be modified or commented out when not a member of the Aiden lab (ie user Rice/BCM/Voltron). At the beginning we are advised to set the load_bwa/java/gpu variables to work with our system, which I did. However there are several chunks of the juicer.sh scripts that start with a condition, for example
if [ $isRice -eq 1] #line 76
Does it matter? I have the feeling I get plenty of error messages related to these conditions never being fulfilled.
Would it be possible to add notes indicating which lines exactly should be modified to adapt to our own clusters?

All of the "is" flags will be 0 for your system. You just need to set the
flags up top, e.g. load_java, load_bwa, load_gpu. Change lines 112-127. The
other times this is looked at is for system specific memory requirements,
so you might take over the "isVoltron" flag and have it be tailored to your
system (some have restrictions on memory, e.g.)
On Tue, Mar 2, 2021 at 3:11 PM PopGen Lab Hamburg<EMAIL_ADDRESS>wrote:

Hi, I am trying to get Juicer running on our uni HPC cluster and failing
so far.
I find it hard to find the locations that should be modified or commented
out when not a member of the Aiden lab (ie user Rice/BCM/Voltron). At the
beginning we are advised to set the load_bwa/java/gpu variables to work
with our system, which I did. However there are several chunks of the
juicer.sh scripts that start with a condition, for example
if [ $isRice -eq 1] #line 76
Does it matter? I have the feeling I get plenty of error messages related
to these conditions never being fulfilled.
Would it be possible to add notes indicating which lines exactly should be
modified to adapt to our own clusters?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aidenlab/juicer/issues/207, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAK2EW36A5OXVIR7PUI3MZTTBVBA7ANCNFSM4YPVCSYQ
.

--
Neva Cherniavsky Durand, Ph.D. | she, her, hers
Assistant Professor |  Molecular and Human Genetics
Aiden Lab | Baylor College of Medicine
www.aidenlab.org

Thank you, this is helpful! Now running better i.e. I get issues later on...
At some point after line 818 I get the following error
"sbatch: error: Batch job submission failed: Invalid account or account/partition combination specified". Do you have an idea where it could come from?

You might need to use the -A flag to specify account.
On Tue, Mar 2, 2021 at 3:43 PM PopGen Lab Hamburg<EMAIL_ADDRESS>wrote:

Thank you, this is helpful! Now running better i.e. I get issues later
on...
At some point after line 818 I get the following error
"sbatch: error: Batch job submission failed: Invalid account or
account/partition combination specified". Do you have an idea where it
could come from?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aidenlab/juicer/issues/207#issuecomment-789202310,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAK2EW3OUDDYAYSJWZUQVDTTBVEXDANCNFSM4YPVCSYQ
.

--
Neva Cherniavsky Durand, Ph.D. | she, her, hers
Assistant Professor |  Molecular and Human Genetics
Aiden Lab | Baylor College of Medicine
www.aidenlab.org

And we use "queue" (-q) to specify partition.
On Tue, Mar 2, 2021 at 4:39 PM Neva Durand<EMAIL_ADDRESS>wrote:

You might need to use the -A flag to specify account.
On Tue, Mar 2, 2021 at 3:43 PM PopGen Lab Hamburg <
<EMAIL_ADDRESS>wrote:

Thank you, this is helpful! Now running better i.e. I get issues later
on...
At some point after line 818 I get the following error
"sbatch: error: Batch job submission failed: Invalid account or
account/partition combination specified". Do you have an idea where it
could come from?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aidenlab/juicer/issues/207#issuecomment-789202310,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAK2EW3OUDDYAYSJWZUQVDTTBVEXDANCNFSM4YPVCSYQ
.

--
Neva Cherniavsky Durand, Ph.D. | she, her, hers
Assistant Professor |  Molecular and Human Genetics
Aiden Lab | Baylor College of Medicine
www.aidenlab.org

--
Neva Cherniavsky Durand, Ph.D. | she, her, hers
Assistant Professor |  Molecular and Human Genetics
Aiden Lab | Baylor College of Medicine
www.aidenlab.org

I set both of them but still get the same error. I was wondering about the unit in which run time is given in lines 814 and 816. If I indeed coopt the isVoltron flag this is where max run times are defined, and I suppose this also should be adjusted to my cluster, right? Are these hours or minutes?

You can also use the -L and -Q flags to set the time.
https://slurm.schedmd.com/sbatch.html
-t, --time=<time>Set a limit on the total run time of the job
allocation. If the requested time limit exceeds the partition's time limit,
the job will be left in a PENDING state (possibly indefinitely). The
default time limit is the partition's default time limit. When the time
limit is reached, each task in each job step is sent SIGTERM followed by
SIGKILL. The interval between signals is specified by the Slurm
configuration parameter KillWait. The OverTimeLimit configuration
parameter may permit the job to run longer than scheduled. Time resolution
is one minute and second values are rounded up to the next minute.
A time limit of zero requests that no time limit be imposed. Acceptable
time formats include "minutes", "minutes:seconds", "hours:minutes:seconds",
"days-hours", "days-hours:minutes" and "days-hours:minutes:seconds".
On Wed, Mar 3, 2021 at 9:52 AM PopGen Lab Hamburg<EMAIL_ADDRESS>wrote:

I set both of them but still get the same error. I was wondering about the
unit in which run time is given in lines 814 and 816. If I indeed coopt the
isVoltron flag this is where max run times are defined, and I suppose this
also should be adjusted to my cluster, right? Are these hours or minutes?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aidenlab/juicer/issues/207#issuecomment-789769721,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAK2EW6HE6LBHJELNHST2YDTBZELBANCNFSM4YPVCSYQ
.

--
Neva Cherniavsky Durand, Ph.D. | she, her, hers
Assistant Professor |  Molecular and Human Genetics
Aiden Lab | Baylor College of Medicine
www.aidenlab.org

Thank you for your very fast and helpful answers! Sadly setting up all the flags still doesn't help on my cluster :(
I hev started the job with the following command:
./juicer.sh -g hg19 -q std -l std -d $WORK/HIC003 -s MboI -a 'test' -p $HOME/juicedir/references/hg19.chrom.sizes -y $HOME/juicedir/restriction_sites/hg19_MboI.txt -z $HOME/juicedir/references/Homo_sapiens_assembly19.fasta -D $HOME/juicedir -Q 12:00:00 -L 12:00:00 -t 1 -A fbnv336
There seems to be also a dependency issue, but the error message doesn't show which one.

module: loaded site/slurm
module: loaded site/tmpdir
module: loaded site/hummel
module: loaded env/system-gcc
./juicer.sh: line 71: host: command not found
./juicer.sh: line 72: host: command not found
./juicer.sh: line 76: [: -eq: unary operator expected
./juicer.sh: line 100: [: -eq: unary operator expected
Using /home/fbnv336/juicedir/restriction_sites/hg19_MboI.txt as site file
./juicer.sh: line 374: [: -eq: unary operator expected
./juicer.sh: line 374: [: -eq: unary operator expected
(-: Looking for fastq files...fastq files exist
(-: Aligning files matching /work/fbnv336/HIC003/fastq/_R.fastq*
in queue std to genome hg19 with no fragment delimited maps.
(-: Created /work/fbnv336/HIC003/splits and /work/fbnv336/HIC003/aligned.
(-: Starting job to launch other jobs once splitting is complete
./juicer.sh: line 818: [: -eq: unary operator expected
sbatch: error: Batch job submission failed: Invalid account or account/partition combination specified
sbatch: error: Batch job submission failed: Job dependency problem
sbatch: error: Batch job submission failed: Job dependency problem
sbatch: error: Batch job submission failed: Job dependency problem
sbatch: error: Batch job submission failed: Job dependency problem
sbatch: error: Batch job submission failed: Job dependency problem
sbatch: error: Batch job submission failed: Job dependency problem
sbatch: error: Batch job submission failed: Job dependency problem
(-: Finished adding all jobs... Now is a good time to get that cup of coffee... Last job id

The debug folder contains 6 files atm with align1-1374379.err still growing. From this I deduce bwa is still working and my input regarding the bwa path was correct.

You don't have host installed on your system, but just get rid of that
command and set those variables to 0. That will get rid of a bunch of those
errors.
However the reason your script isn't running is this:
sbatch: error: Batch job submission failed: Invalid account or
account/partition combination specified
You will need to ask your cluster management IT person what is invalid
about the account or partition.
On Wed, Mar 3, 2021 at 10:39 AM PopGen Lab Hamburg<EMAIL_ADDRESS>wrote:

Thank you for your very fast and helpful answers! Sadly setting up all the
flags still doesn't help on my cluster :(
I hev started the job with the following command:
./juicer.sh -g hg19 -q std -l std -d $WORK/HIC003 -s MboI -a 'test' -p
$HOME/juicedir/references/hg19.chrom.sizes -y
$HOME/juicedir/restriction_sites/hg19_MboI.txt -z
$HOME/juicedir/references/Homo_sapiens_assembly19.fasta -D $HOME/juicedir
-Q 12:00:00 -L 12:00:00 -t 1 -A fbnv336
There seems to be also a dependency issue, but the error message doesn't
show which one.
module: loaded site/slurm
module: loaded site/tmpdir
module: loaded site/hummel
module: loaded env/system-gcc
./juicer.sh: line 71: host: command not found
./juicer.sh: line 72: host: command not found
./juicer.sh: line 76: [: -eq: unary operator expected
./juicer.sh: line 100: [: -eq: unary operator expected
Using /home/fbnv336/juicedir/restriction_sites/hg19_MboI.txt as site file
./juicer.sh: line 374: [: -eq: unary operator expected
./juicer.sh: line 374: [: -eq: unary operator expected
(-: Looking for fastq files...fastq files exist
(-: Aligning files matching /work/fbnv336/HIC003/fastq/_R.fastq*
in queue std to genome hg19 with no fragment delimited maps.
(-: Created /work/fbnv336/HIC003/splits and /work/fbnv336/HIC003/aligned.
(-: Starting job to launch other jobs once splitting is complete
./juicer.sh: line 818: [: -eq: unary operator expected
sbatch: error: Batch job submission failed: Invalid account or
account/partition combination specified
sbatch: error: Batch job submission failed: Job dependency problem
sbatch: error: Batch job submission failed: Job dependency problem
sbatch: error: Batch job submission failed: Job dependency problem
sbatch: error: Batch job submission failed: Job dependency problem
sbatch: error: Batch job submission failed: Job dependency problem
sbatch: error: Batch job submission failed: Job dependency problem
sbatch: error: Batch job submission failed: Job dependency problem
(-: Finished adding all jobs... Now is a good time to get that cup of
coffee... Last job id
The debug folder contains 6 files atm with align1-1374379.err still
growing. From this I deduce bwa is still working and my input regarding the
bwa path was correct.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aidenlab/juicer/issues/207#issuecomment-789806402,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAK2EW5ZU2ZRJXSXQX3MZADTBZJ4NANCNFSM4YPVCSYQ
.

--
Neva Cherniavsky Durand, Ph.D. | she, her, hers
Assistant Professor |  Molecular and Human Genetics
Aiden Lab | Baylor College of Medicine
www.aidenlab.org


fix input autofocus

Please make sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you follow DiDi's contributing guide.
[x] Make sure you are merging your commits to dev branch.
[x] Add some descriptions and refer relative issues for you PR.

Codecov Report

Merging #435 into dev will decrease coverage by 0.03%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##              dev     #435      +/-   ##
==========================================
- Coverage   92.89%   92.85%   -0.04%
==========================================
  Files         139      139
  Lines        3010     3011       +1
  Branches      489      490       +1
==========================================
  Hits         2796     2796
  Misses        108      108
- Partials      106      107       +1

Impacted Files
Coverage Δ

src/components/input/input.vue
94.59% <0%> (-2.63%)
:arrow_down:

Continue to review full report at Codecov.

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


django-bulk-update 1.1.10 not working for basic example for Python 2.7.9, Django 1.9.0, sqlite

I have not worked with this package before so I was trying to get the basic example in the documentation to work.  I get an error as show below.
Python 2.7.9 Enthought Canopy
Django: 1.9.0
Database:  sqlite
django-bulk-update: 1.1.10
In models file:
from bulk_update.manager import BulkUpdateManager

class PlantInfo(models.Model):

    processed_plant_id = models.CharField(max_length=50, primary_key=True)
    plant_name = models.CharField(max_length=100, blank=True)
    original_plant_id = models.CharField(max_length=100)
    street_addr = models.CharField(max_length=250, blank=True)
    city = models.CharField(max_length=100, blank=True)
    state = models.CharField(max_length=2, blank=True)
    zip_code = models.CharField(max_length=9, blank=True)
    status = models.CharField(max_length=2, blank=True)
    date_created = models.DateTimeField(blank=True)
    date_modified = models.DateTimeField(blank=True)

    objects = BulkUpdateManager()

    def unique_states(self):
        states = PlantLocation.objects.order_by('state').values('state').distinct()
        return states

    def __unicode__(self):
        return self.processed_plant_id

The data in the model looks something like the following.  There are currently 921 records in the database.
In [199]: PlantInfo.objects.all().values()
Out[199]: [{'status': u'2',
'city': u'City name',
'date_modified': datetime.datetime(2016, 2, 10, 15, 5, 43, 666000, tzinfo=<UTC>),
'street_addr': u'11175 Street Address',
'original_plant_id': u'M10034',
'state': u'SC',
'plant_name': u'Plant Name',
'processed_plant_id': u'M10034',
'date_created': datetime.datetime(2016, 2, 10, 15, 5, 43, 666000, tzinfo=<UTC>),
'zip_code': u'12345'
},...

I'm running the following code from Django shell to test.
from myapp.models import PlantInfo
update_recs = PlantInfo.objects.all()
for rec in update_recs:
    rec.plant_name = "It worked"

PlantInfo.objects.bulk_update(update_recs)

Error message:
In [196]:                 PlantInfo.objects.bulk_update(update_recs)
---------------------------------------------------------------------------
OperationalError                          Traceback (most recent call last)
<ipython-input-196-6a75800cb104> in <module>()
----> 1 PlantInfo.objects.bulk_update(update_recs)

C:\Users\slgardner\AppData\Local\Enthought\Canopy\User\lib\site-packages\bulk_up
date\manager.pyc in bulk_update(self, objs, update_fields, exclude_fields, batch
_size)
      9             objs, update_fields=update_fields,
     10             exclude_fields=exclude_fields, using=self.db,
---> 11             batch_size=batch_size)

C:\Users\slgardner\AppData\Local\Enthought\Canopy\User\lib\site-packages\bulk_up
date\helper.pyc in bulk_update(objs, meta, update_fields, exclude_fields, using,
 batch_size, pk_field)
    172             del values, pks
    173
--> 174             connection.cursor().execute(sql, parameters)
    175     return lenpks

C:\Users\slgardner\AppData\Local\Enthought\Canopy\User\lib\site-packages\django\
db\backends\utils.pyc in execute(self, sql, params)
     81             stop = time()
     82             duration = stop - start
---> 83             sql = self.db.ops.last_executed_query(self.cursor, sql, para
ms)
     84             self.db.queries_log.append({
     85                 'sql': sql,

C:\Users\slgardner\AppData\Local\Enthought\Canopy\User\lib\site-packages\django\
db\backends\sqlite3\operations.pyc in last_executed_query(self, cursor, sql, par
ams)
    125         if params:
    126             if isinstance(params, (list, tuple)):
--> 127                 params = self._quote_params_for_last_executed_query(para
ms)
    128             else:
    129                 keys = params.keys()

C:\Users\slgardner\AppData\Local\Enthought\Canopy\User\lib\site-packages\django\
db\backends\sqlite3\operations.pyc in _quote_params_for_last_executed_query(self
, params)
    114         # Native sqlite3 cursors cannot be used as context managers.
    115         try:
--> 116             return cursor.execute(sql, params).fetchone()
    117         finally:
    118             cursor.close()

OperationalError: too many SQL variables

Hi,
I have tried to get the same error with same env stack as you have, but I couldn't repeat it.
Can you try to narrow down the case with updating less objects each time you get error. Is it still occurring, if you try to update only 1 object?
Thanks.

Seems like there is limitation for maximum variable in sqlite. http://stackoverflow.com/questions/7106016/too-many-sql-variables-error-in-django-witih-sqlite3
I am not sure how I successfully updated 10000 objects in my local env though.
Do you get the same error, if you try to do following:
pks = list(PlantInfo.objects.values_list('processed_plant_id', flat=True))
list(PlantInfo.objects.filter(processed_plant_id__in=pks))

Idea: Using batch_size may solve it, if not please let me know.
Thanks.

The code works if I use batch_size of up to 47.  It fails when I try 48.
I don't understand your suggestion with the code listed in your last comment (pks = ...).  Could you expand on your thoughts a little.  Thanks!

Similar issue here, https://code.djangoproject.com/ticket/17788. Already have a batch_size option.


Certificate Generator

Script Title - This is for contributors, We have to generate a certificate for all contributors in appreciation for their contribution to automation script and hactoberfest.
what will change - Adding a script for that
Instructions

Create a new folder for your script and file/folder name should be appropriate.
Create a README.md in your folder for program Instructions
add requirements.txt if needed

Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language

[x] Python

Happy Coding,

hey @pawangeek , i want to work on this issue, can u assign me?

Sure go ahead, can you have any design or idea of the design for certificate

I was thinking of using one of the templates on MS-Word, if you have any specific requirements, I'm all ears.

Hey, is it possible to create one like this?

To extend it Lil bit, is it possible to deploy this mini web app on Heroku, netlify, or any other hosting platform (Free dyno)

Dear Maintainers,
I have successfully completed this issue, If you can assign it to me, I will make a PR.
Thank You.
You can check my work here.

wow @KKhushhalR2405 , Just one thing can you please turn it into a flask app that user just give the name in UI and it generates certificates
And a few suggestions regarding that

[ ] Remove option of xl, CSV file, the user just gives its name, pr and able to download the certificate by UI (I mean just use flask-wtf forms for taking input and output is generated certificate
[ ] Optional -> If it's possible to use flask-sqlalchemy for that to store username, PR above (we have to use flask-admin too to view our user's database)
[ ] optional -> the Last thing is to deploy it on Heroku (free-dyno) and use Heroku-Postgres in sqlalchemy orm.

I am ready to help you (if you wants) with this (So that we both learn together :) )

I started using Flask a week before, But I am sure I will come up with it in 2-3 days.
Thank You

no problem @KKhushhalR2405 we have approx 10 days for this task, if you stuck somewhere in between just frankly ask for help.

Sure

Isn't making that gonna just take a small pillow(PIL) script ?

hey @pawangeek  can i also work on this?

hey @pawangeek can i also work on this?

Okay fine @anujpatel224

Isn't making that gonna just take a small pillow(PIL) script ?

want a full-fledged web app for that

@pawangeek  thanks, so i have to make a complete app to generate the given type of cetificate right?

@pawangeek thanks, so i have to make a complete app to generate the given type of cetificate right?

Yes try to do that with help of flask/django

okay thanks

Hi @pawangeek , How are you doing. Could you please look into the contributors list whenever you can.

Script Title - This is for contributors, We have to generate a certificate for all contributors in appreciation for their contribution to automation script and hactoberfest.
what will change - Adding a script for that
Instructions

Create a new folder for your script and file/folder name should be appropriate.
Create a README.md in your folder for program Instructions
add requirements.txt if needed

Please add/delete options that are not relevant.

[x]  Adding New Code

Programming Language

[x]  Python

Happy Coding,
Hello, can you assign this work to me

Is this done?

No @TheFenrisLycaon not yet

I'd like to work on it.

Okay, @TheFenrisLycaon Go ahead. Let me know if you want any help

Is this still available? I'd want to get started on it. Also, if there is already work done, please let me know where I may pick it up. I notice you're looking for a flask web app. I have a lot of expertise with it and have previously done automated certificate generation. Please let me know what the intended outcomes are, and I'll be happy to help.

Hey @shreyasvedpathak you can pick the template, Idea is to create a simple Flask web app, if your input the name, It will generate the certificate. This will be our Ist iteration, we will add more features in next iterations

@pawangeek alright, I'll start right away.

hey @pawangeek, you haven't assigned me this yet, I'm almost done. Also, the flake8 thing, I am new to that, could you send some links that would help me get started.
Tech Stack:
Frontend: HTML, bootstrap 5
Backend: flask, PIL

You can create a PR new

hey, @pawangeek, I did a PR but it is not passing all the checks of flake8. It is showing me errors for the part of the code which has to be like that to prevent what we call "circular imports". You can below that, routes module is imported at the end and routes imported is not used, it has to be that way.
Check out this tutorial by Corey Schafer where he explains why it has to be that way Python Flask Tutorial: Full-Featured Web App Part 5 - Package Structure

Please let me know how to proceed. I have passed all other checks.

Cool, @shreyasvedpathak I will review it and will if any changes requested


Void return for functions

: void is supported on php 7.1 or later, so Propel2 cannot accept this PR, I think.

@DurandSacha : void is supported on php 7.1 or later

Duplicate of https://github.com/propelorm/Propel2/pull/1530

Hey @DurandSacha ,
Thank you for your contribution. There is a stable2.0.0 branch where we are going to drop the support of EOL PHP versions (incl php5 and php7.0). So you could start adjusting types there, but also you need to take care of the compatibility of the suggested return type and real return values. In some cases, such suggestions will require heavy refactoring and tests.
Also, it's much better to do it all at once using tooling.
Cheers,

We now have a new tag available you can build on top.
Closing this as the changes are not valid.


Bump junit from 4.12 to 4.13

Adopt me! (otherwise I will be abandoned if no progress by Oct 16)

I'll take a look at this one!

@onichols-pivotal can you review this


Correctly resolve the icon asap when defaultProfile is null

When the defaultProfile is null we don't actually know what the default
profile is until the process has been created, this is because it needs a
round trip to the pty host. This change fixes the _icon prop updating and
icon changed event firing.
Fixes #151639

@Tyriar related?
  1) VSCode Smoke Tests (Web)
       Terminal
         Terminal Tabs
           should update icon of the tab in the tabs list:
     Error: Timeout: get element '.tabs-list .monaco-list-row[data-index="1"] .terminal-tabs-entry .codicon-symbol-method' after 20 seconds.
      at Code.poll (D:\a\_work\1\s\test\automation\src\code.ts:254:11)
      at Code.waitForElement (D:\a\_work\1\s\test\automation\src\code.ts:207:10)
      at Terminal.assertTabExpected (D:\a\_work\1\s\test\automation\src\terminal.ts:197:5)
      at Terminal.assertTerminalGroups (D:\a\_work\1\s\test\automation\src\terminal.ts:151:6)
      at Context.<anonymous> (src\areas\terminal\terminal-tabs.test.ts:60:4)


Remove low sync frequencies that make K-9 crash

See: https://github.com/evernote/android-job/wiki/FAQ#why-cant-an-interval-be-smaller-than-15-minutes-for-periodic-jobs
Closes #3803.
Are strings.xml managed by Transifex? (I'm wondering if I should remove all or just values/strings.xml...)
Please ensure that your pull request meets the following requirements - thanks !

Follows our existing codestyle. :heavy_check_mark:
Does not break any unit tests. :heavy_check_mark:
Contains a reference to the issue that it fixes. :heavy_check_mark:
For cosmetic changes add one or multiple images, if possible. :heavy_check_mark:

This will also need a migration, in case the values are already set to a smaller value (or imported).

@wiktor-k Unfortunately, this now needs rebasing because of the changes made in #3831.

@cketti, no problem, rebased :+1:. Too bad GitHub doesn't send a notification when the PR needs a rebase automatically :-/