Give users more control of how ABN splits utxo for mining

The automatic splitting of utxo by ABN needs to give us a bit more control over it as it affects our mining.
It should be improved or removed.
A person should have to give permission to enable abn to split utxo.
"changequantity=" is not enough control.
We should be able  to turn it on/off, dictate size of utxo and number of utxo, even set to -1 to enable "numberofUTXO=(balance-2bbp)/desiredUTXOsize" rounded down to the nearest whole number. The 2 bbp ensures there is always enough available for fees.
And it still takes coin weight from lowest to highest, lumping previously used utxo in every increasing lumps.
Sorting utxo to find the ideal number of utxo coin age to use might be a good way to go.
Such as fewest utxo to reach required coinage starting with highest coinage utxo first.
After all, large utxo shouldn't be a problem as they are auto split into smaller utxo.
suggested conf settings:
enableabnsplit= 0 or 1 and default to 0
abnsplitsize=2000 to X and default to -1
minabnutxos= 0 to turn off minimum and 1 to maximum 100 will provide that many utxo and leave any remaining untouched or as change, override by "abnsplitsize=-1"
Alternative is turning it off completely and using a custom script to control utxo splitting based on abnweight which I do already. Although I cannot prevent ABN from splitting automatically every single time I get hit for ABNweight.

The automatic splitting of utxo by ABN needs to give us a bit more control over it.

You have not explained why having control over ABN splitting is necessary. How is adding complexity to the current process going to improve your situation?
Could you also edit your title and body and create separate issues or suggestions? You are conflating multiple ideas into one.

how do you see this as multiple issues?! and it has been edited

And it still takes coin weight from lowest to highest, lumping previously used utxo in every increasing lumps.

In <IP_ADDRESS>, your oldest coins are preserved by utilizing your newest coins first. It will just continue to use your newest coins to make up whatever it needs for abnweight of 125k BBP. You'd have to explain taking a single input from an older coin (to exceed 125k BBP abnweight) is better than just taking 10 of the most recent coins.
Optimally, you'd want to take input(s) that brings you closest to 125k BBP without going over. I do see some downsides to taking the youngest coin age first, but in practice, splitting the change into 10 outputs instead of 1 is a vast improvement. The next time you mine a block, instead of taking that single input, it might take 3 of the 10, leaving the other 7 for future mined blocks.
BiblePay is already complex with its various settings. I don't see the slight improvement justifying the added complexity and documentation required. This is JMHO.

Seeing as the ABN Auto spits the tuxos already, large utxos are already made into small ones. As explained in the OP. Taking from highest coinage allows lowest coinage time to age.
Everytime you get hit for abnweight the wallet is now taking lowest coinage to create the abn amount and then splitting into 10 pieces by default. the next time it needs to create an abn amount it  takes from the utxos it split the last time and lumps it altogether and then splits it AGAIN. This is counter productive to aging coins for mining.
I am not trying increase the complexity, I followed the guidelines for submitting an issue best I can. Removing the automatic splitting is fine too or at the very least give us an on/off switch.

Also, for your info, pool mining self funded can take out 1.25 Million ABNweight in 10 blocks without your machines ever finding a block.
This is vastly different than solo mining.

This is counter productive to aging coins for mining.

In the long-term, it doesn't really matter whether you take the youngest coins or oldest coins for abnweight. If you take the oldest coins first, your youngest coins will become the oldest and vice versa. The greater impact is when an input is so large that abnweight greatly exceeds 125k BBP. That is what splitting it 10 ways addresses.
If you can not continuously mine then you starved for abnweight. The only way to fix this is to reduce your hash power or get more BBP. Changing how UTXOs are picked will only have a one-time benefit.
If you disable abn splitting, you are in a far worse position than now. You just have to look at the blockchain data before <IP_ADDRESS>. You will find high hash miners unable to mine because all their BBP is tied up in one input. They end up having 30 minute or longer gaps between blocks because they have no eligible abnweight. Some resorted to exec bankroll of 125k BBP, but who has time to babysit BBP wallet for mined blocks?

This is vastly different than solo mining.

Your abnweight happens to be used with someone else's hash power, but there's no difference with the abnweight mechanics between solo mining and pool mining.

There is no difference in the mechanic, just the experience as others are using up your abnweight and thereby increasing virtually your hashing power. It has happened that all 1.25 Million abnweight that I aged during the week was taken in 14 blocks by other pool users.
In any case, we should have the choice to enable/disable auto splitting regardless of whether or not it's "good" for us.
I don't babysit my coins so I can bankroll them. My script does that quite nicely on it's own. The auto splitting just does unnecessary additional splitting.

As a miner I can say, that ABNsplit helps me a lot with my coinage. It's really better then before 1149. Maybe you can try to use changequantity=1 if you want only 1 output, but I think that it's counterproductive, because like Sunk wrote "it might take 3 out of the 10, leaving the other 7 for future mined blocks"

@OrbisPictus you don't have a script that manages the abnweight like I do. This is also about permissions. We should be allowed to enable/disable it

Ok. You're true, I don't have any script, because I don't need it. Haven't you problem with GSCsplit before? Or you don't use it for GSC?

I do not use GSC anything. no point with such a low balance. I only PoBH mine.

Hi All,
I just want to clarify something :  We don't sort the wallet by the age of the coins or by the value of the coins.  What we do is we have a custom sort routine (for both ABN and GSC, they both use the same sort routine), and its called "coin * age".  This is to attempt to appease mostly everyone LOL.
So, if a person has a sufficient amount of change (IE say, 20 transactions in the wallet), this is what happens:  No matter what the coin amount is, or the age is, the custom sort routine calculates the coinage of each wallet entry, and sorts ascending.  So in either case, abn or gsc, we use up the smallest coinage first when selecting coins for the abn/gsc transaction.
The other thing, although I agree with Sun, that we do not want to complicate the wallet with a lot of settings as we easily get overcomplicated, I also agree with Nick that at the very least the user should always have control over their funds/wallet/actions of bbp.   But visualizing a switch to disable the change is really the same effect of "changequantity=1" ;  as we always have to send you the change back from a transaction.
So Nick, do you agree that all that really needs done on this ticket is the user set "changequantity=1" ?
I see Orbis suggested this as his last suggestion; let me know Nick if there is anything else we need to do here.
Thanks!

I agree that changequantity=1 is a solution to controlling whether or not ABN splits utxo. Perhaps when things are not so busy it can be revisited as to how it sorts coin * age and chooses coins for the transactions.
Also it would be good if settings like this were available in a help file or in the debug console.
Thanks for  clearing this up :)


Introduction to PHP graphic techniques

####Proposed title of article
[Languages] Introduction to PHP graphic techniques
####Proposed title introduction
PHP has the Inherent ability to create and manipulate graphics independently. The scope and capabilities of PHP graphics handling is indeed deep and powerful. It does this with the aid of the GD library which currently supports image formats in JPEG, png, gif and wbmp.
This tutorial aims at giving a solid foundation to intended readers on the first steps to take in this graphics journey. It is an intended intro to follow up graphics tutorials that I intend to publish here.
Key takeaways
i.	Readers will learn how to create a canvas, ink and paint brush.
ii.	Readers will learn how to draw geometric shapes such as rectangles, polygons e.t.c
iii.	Readers will learn how to write words on the canvas.

good topic @SarahAsuquo  - approved. One important note: please be sure to put your article through a thorough grammar/readability editing review prior to submitting for final approval. This will help increase the likelihood of your article getting published and you receiving a payout :)


Add require: false to the readme in line with rubocop

Similar to https://github.com/rubocop-hq/rubocop-rspec/pull/859, this PR adds require: false to the readme.

This seems good. Thank you 👍  Sorry it has taken so long for us to review.

This seems good. Thank you 👍  Sorry it has taken so long for us to review.


Java version compatibility of ServerAgent 2.2.3

It seems with ServerAgent 2.2.3 is working fine with jdk1.8.0_231, but not with jdk1.8.0_301, and also with higher version jdk-17.0.1.
Just waned to bring it your notice, at least all sub version of jdk 1.8 would have worked. Here is log file for  jdk1.8.0_301 👍
hs_err_pid2124.log
I switched back to jdk1.8.0_231, and for now its not an urgent issue for me, but just wanted to report here.

Hello there.  Thank you for your feedback.  I have the same issue here.
Not working on Windows 10 x64 with neither jdk8u292-b10 nor jdk-11.0.15+10 nor jdk Corretto-8.332.08.1
It works however with jre1.8.0_211

Thanks for sharing your issue.
Server Agent uses "SIGAR" library to gather system metrics. That library is not maintained for a long time, thus ServerAgent can't really do much about it.


Language transcription for German not working.

The language transcription for German doesnt work, neither the auto detect nor specified by "!python diarize.py -a "name_of_the_file" --language de"
The Transcript is still english

Can you upload the audio file to reproduce?

Cant upload an MP3 file, in the thread, but here it is:
https://drive.google.com/file/d/1wCjZZvlzyIB4S7MuNTBckatScDD4yPA1/view?usp=sharing

My Google Colab code was:
!git clone https://github.com/MahmoudAshraf97/whisper-diarization.git %cd whisper-diarization !pip install -r requirements.txt
After this I had to restart the session
!python diarize.py -a "...Meeting Recording" --language "de"
I also tried ' and no quotation marks

you need to specify a multilingual model, the default model is english only

WHere can I find a list? Which could I use for german?


Extremely MVP polling deduplication helper

Make the errors/warnings about duplicate places have pre-populated Google Maps links so we can more easily resolve. (Address and Coords for both)
c.f. https://github.com/keithamoss/demsausage/issues/89
AB#32

Closing and merging into https://github.com/keithamoss/demsausage/issues/1339


Create db-reconstruction.md

Document recovery procedure for Cockroach database for existing PVC

Incorporated feedback and reworded, make format consistent.

I do not have write access, so cannot merge myself


maint: update github actions workflows

Which problem is this PR solving?

With the switch to GitHub Enterprise we introduced stricter permissions at the Org level for GitHub Actions, which disallows the setting for allowing read/write for all scopes. This means we need to manually provide access to individual workflows, at least for private repos. This resulted in some failed action workflows ("Validate PR Title" failed with Error: Resource not accessible by integration)
Also, we've renamed the internal actions repo from oss-management-actions to oss-management and the workflow wasn't able to find the redirect at least on private repos, resulting in some failed action workflows ("Apply project labels" failed with Error: Unable to resolve action. Repository not found: honeycombio/oss-management-actions).

Short description of the changes

Update the apply-labels.yml workflow to use oss-management
Give "write" permissions to apply-labels.yml and validate-pr-title.yml

How to verify that this has the expected result
Successful GHA workflow runs

I think the one error with pull_request_target is failing because it needs to be pull_request, which I've changed. The other error with "Validation failed" might be specifically because of it having problems updating labels that already exist, not sure if it's a real thing or not 🤔


Embed MessagesBundle resource configuration to runtime

Description
Getting MessagesBundle resource not found error when running the standard library BBEs.
Steps to Reproduce
This is reproducible with this BBE after removing all the io module usage
import ballerina/io;

public function main() returns error? {
    xml x1 = xml `<name>Sherlock Holmes</name>`;
    xml:Element x2 =
        xml `<details>
                <author>Sir Arthur Conan Doyle</author>
                <language>English</language>
            </details>`;

    // `+` does concatenation.
    xml x3 = x1 + x2;

    io:println(x3);

    xml x4 = xml `<name>Sherlock Holmes</name><details>
                        <author>Sir Arthur Conan Doyle</author>
                        <language>English</language>
                  </details>`;
    // `==` does a deep equality check.
    boolean eq = x3 == x4;

    io:println(eq);

    // `foreach` iterates over each item.
    foreach var item in x4 {
        io:println(item);
    }

    // `x[i]` gives the `i-th` item (empty sequence if none).
    io:println(x3[0]);

    // `x.id` accesses a required attribute named `id`: the result is `error` if there is no such
    // attribute or if `x` is not a singleton.
    xml x5 = xml `<para id="greeting">Hello</para>`;
    string id = check x5.id;

    // Since an attribute named `id` exists in the `xml` value on which required attribute access
    // is done, the result of the access will be the value of the attribute (`"greeting"`).
    io:println(id);

    // `x?.id` accesses an optional attribute named `id`: the result is `()` if there is no such
    // attribute.
    string? name = check x5?.name;

    // Since an attribute named `name` does not exist in the `xml` value on which optional
    // attribute access is done, the result of the access is nil. Therefore, the following
    // `is` check evaluates to `true`.
    io:println(name is ());

    // Mutate an element using `e.setChildren(x)`.
    x2.setChildren(xml `<language>French</language>`);

    // The `xml` value assigned to `x2` will now include `<language>French</language>` as a
    // child element.
    io:println(x2);

    // Since the value assigned to `x3` used `x2` in the concatenation, the change will also
    // be reflected in `x3`.
    io:println(x3);
}

Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
Runtime
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

Fixed with https://github.com/ballerina-platform/ballerina-lang/pull/37932


Different button height for non-flat buttons

You may have missed my previous comment. Here's what needs to be done:
Regular style: button height = 18 px, rx = 4, font y = 13, shadow y = 14
Flat style: button height = 20 px, rx = 3, font y = 14, shadow y = 15
It's probably better to have two Haml files for these styles, to keep things readable.

I can't remember... this was done, right?

No, compare
https://img.shields.io/badge/style-plastic-green.svg?style=plastic
https://img.shields.io/badge/style-flat-green.svg?style=flat


By default clean up builds; previously some jobs didn't.

We're running out of disk space, so make sure we clean up as much as possible.

How much does this actually clean up?  "Files owned by root" seems like a strange criterion to apply for cleanup.  How about all the non-root owned files still taking up space?  Presumably they'll eventually lead to an out-of-space condition too.
So maybe this it a good change, but it's hard to evaluate without knowing how much space it's going to save.  But it's probably not sufficient to resolve the issue.

But it's probably not sufficient to resolve the issue.

Therefore, clicking "changes requested".

looks like this one here:
https://wiki.jenkins-ci.org/display/JENKINS/Workspace+Cleanup+Plugin

Failures look intermittent + FLOC-3564.
Please add the comment & merge when ready.


Enhance BM25SparseEmbedding initialization

[ ] PR title: "Enhance BM25SparseEmbedding initialization"

[ ] PR message:

Description: This update enhances the BM25SparseEmbedding class by allowing the initialization to optionally load a model from a specified path, in addition to fitting it with a provided corpus. This makes the embedding model more flexible for different use cases.
Issue: Not applicable

You can find the integration package you would want to edit here: https://github.com/langchain-ai/langchain-milvus
sorry for the inconvenience!


Fix wrong exchange for notification_factory()

Before, notification.notifcation_factory() function create Notification
class by self.exchange. This variable is just intial variable in config
, not the real exchange which messages come from. Fix to add correct
exchange variable to create valid Notification class.

Thank you for contributing to openstack/stacktach!
openstack/stacktach uses Gerrit for code review.
If you have never contributed to OpenStack before make sure you have read the
getting started documentation:
http://docs.openstack.org/infra/manual/developers.html#getting-started
Otherwise please visit
http://docs.openstack.org/infra/manual/developers.html#development-workflow
and follow the instructions there to upload your change to Gerrit.


Support SentinelOne's operational_state integration field

Add support for the operational_state SentinelOne Agent field for ZT Dash admins to use in Service Provider Posture Rules. This PR is dependent on a cloudflare-go PR being merged: https://github.com/cloudflare/cloudflare-go/pull/3234

acceptance tests all passing
TF_ACC=1 go test ./internal/sdkv2provider -v -run "^TestAccCloudflareDevicePostureRule_" -count 1 -timeout 120m -parallel 1
=== RUN   TestAccCloudflareDevicePostureRule_SerialNumber
--- PASS: TestAccCloudflareDevicePostureRule_SerialNumber (3.84s)
=== RUN   TestAccCloudflareDevicePostureRule_OsVersion
--- PASS: TestAccCloudflareDevicePostureRule_OsVersion (3.45s)
=== RUN   TestAccCloudflareDevicePostureRule_OsVersionExtra
--- PASS: TestAccCloudflareDevicePostureRule_OsVersionExtra (3.95s)
=== RUN   TestAccCloudflareDevicePostureRule_LinuxOsDistro
--- PASS: TestAccCloudflareDevicePostureRule_LinuxOsDistro (3.44s)
=== RUN   TestAccCloudflareDevicePostureRule_DomainJoined
--- PASS: TestAccCloudflareDevicePostureRule_DomainJoined (3.56s)
=== RUN   TestAccCloudflareDevicePostureRule_Firewall
--- PASS: TestAccCloudflareDevicePostureRule_Firewall (4.14s)
=== RUN   TestAccCloudflareDevicePostureRule_DiskEncryption_RequireAll
--- PASS: TestAccCloudflareDevicePostureRule_DiskEncryption_RequireAll (3.77s)
=== RUN   TestAccCloudflareDevicePostureRule_DiskEncryption_CheckDisks
--- PASS: TestAccCloudflareDevicePostureRule_DiskEncryption_CheckDisks (3.54s)
=== RUN   TestAccCloudflareDevicePostureRule_ClientCertificateV2
    provider_test.go:217: Skipping acceptance test for default account (f037e56e89293a057740de681ac9abbe). Assertion requires an active certificate configured
--- SKIP: TestAccCloudflareDevicePostureRule_ClientCertificateV2 (0.00s)
=== RUN   TestAccCloudflareDevicePostureRule_Intune
    provider_test.go:217: Skipping acceptance test for default account (f037e56e89293a057740de681ac9abbe). Assertion requires active Intune license.
--- SKIP: TestAccCloudflareDevicePostureRule_Intune (0.00s)
PASS
ok  	github.com/cloudflare/terraform-provider-cloudflare/internal/sdkv2provider	30.763s


Feature request: option for auto-rename

Any chances to run script automatically every time when I rename symbol?
It will be handy to siply check this option and forgot the plugin (and do not remember another shorcut).
Thanks

Unfortunately there is no action trigger for when something has been renamed. I asked about this a back in August (http://sketchplugins.com/d/70-using-the-action-api/27), to which I got the response "There are no actions artboard renaming no, and no quick action can be added for that either I'm afraid."
I have dug into the available actions in the past (http://developer.sketchapp.com/reference/action/), and ArtboardChanged or SelectionChanged are possible candidates, but I have not utilized them as they would trigger way too often, essentially making the plugin run constantly.
I appreciate the idea and feedback though, I would like the same functionality. I am definitely monitoring the situation.


Simplify create command to only input mapbox token (as a required input) and let all the others have a default value if empty

The default value can be based off of the create name that was passed.

I'm going to close this and move it to a cave_cli issue so it can be referenced in a commit


UHF-10275 linked events autocomplete sort

UHF-10275
Sort autocomplete results from shortest to longest
What was done
Added select2 alter
How to install

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

git pull origin dev
make fresh

Update the Helfi Platform config

composer require drupal/helfi_platform_config:dev-UHF-10275

Run make drush-updb drush-cr

How to test

Login as admin
Go and edit any page which have linkedevents search
Try adding new items to topics select2

The autocomplete results should be from shortest to longest

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

Project coverage is 17.87%. Comparing base (7c52e54) to head (c992c78).

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #872   +/-   ##
=========================================
  Coverage     17.87%   17.87%
  Complexity      285      285
=========================================
  Files            36       36
  Lines          1080     1080
=========================================
  Hits            193      193
  Misses          887      887

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


[INFRA] Update Intel compiler

Artifacts available for download:

Artifact Name
Download Link

clang.versions
https://github.com/seqan/actions/actions/runs/11542100129/artifacts/2109381853

gcc.versions
https://github.com/seqan/actions/actions/runs/11542100129/artifacts/2109381155

intel.versions
https://github.com/seqan/actions/actions/runs/11542100129/artifacts/2109380977


backend: bump version to 0.1.0

Sorry, I didn't realize I needed to review and merge this.
I think for something like this that needs to go out the door as soon as possible, it makes sense for you (as an admin) to just merge it.


Configure allowed request types for api

PUT,GET,OPTIONS,HEAD,DELETE,PATCH based on annotation-protocol.

I think this one covers:
https://github.com/SWEZenith/Fall2017Swe574-Zenith/issues/33
If it does not, can you close the issue?


ConnectionError: Connection is closed when used in a multithreaded environment with Eventlet

are you sharing connections between threads? vertica-python only attempts to maintain dbapi threadsafety=1 (connections can't be shared).

closing this issue since as i believe the behavior is expected given vertica_python's limitations on connection sharing


Assert fails when cross compiling

I received this error when cross compiling to musl:
thread 'testing' panicked at 'assertion failed: current_dir.ends_with(\"target/debug/deps\") ||\n    current_dir.ends_with(\"target/release/deps\")', /cargo/registry/src/github.com-1ecc6299db9ec823/test_bin-0.3.0/src/lib.rs:59:5

I ran cross test --release --target x86_64-unknown-linux-musl.
The binary was in target/x86_64-unknown-linux-musl/release.

Thanks for reporting the issue! I can reproduced on my machine.
I'll take a look at supporting cross compiling. Patches are welcome :-)

One solution might be to remove the assert completely, Alternatively, changing the assert to just check that the final part of the path is deps:
assert!(current_dir.ends_with("deps"))

I could raise PRs for either of those, if you like.

Let's remove the assert. We can always add back a better assert later if needed. I would appreciate a PR for that.

Thanks again! Your fix was merged in #4. I'll try to get a new release out today.

I've published version 0.4.0.

Works great! Thanks for turning this round so quickly.


Tutorial issues

Hi there, I am pretty new to using halotools, so I am trying trying to get a sense of the package by working through some of the available tutorials. I have downloaded the default halo catalogs and am working through the tutorial "Galaxy Catalog Analysis Example: Galaxy-galaxy lensing." However, when I copy and paste the first chunk of code into my notebook and try to run it, I get the following error: 'CachedHaloCatalog' object has no attribute '_halo_table'. I have also downloaded some of the jupyter notebooks from the documents section and tried to run them myself, and the same error message popped up. I would really appreciate any help!

Hi @mctcampb before running the notebook, did you first download the initial halo catalog data? There are docs for that in the Getting Started with Halotools quickstart guide. In case you did not, then I think this error is expected.

Hi there,
Yes, I have downloaded every available halo catalog. Other members of my team are experiencing the same issue, and cannot use certain catalogs.

Hi @mctcampb sorry this issue continues to cause you problems. I have been having trouble reproducing it and so I'm having a hard time figuring out what could be causing it. When I run the first code cell of this notebook locally on my machine, it executes without complaints. The only things I can think of that would cause what you are seeing would be that either there was some problem with the download of the halo catalog, or that it has not been cached. Are you able to confirm that you do indeed have the halo table on disk? If you used the download_additional_halocat.py script that ships with halotools, then your halo catalog would be stored here:
$HOME/.astropy/cache/halotools/halo_catalogs/bolshoi/rockstar
There should also be a corresponding entry in the halo catalog cache log, which should be located here:
$HOME/.astropy/cache/halotools/halo_table_cache_log.txt
If you inspect that file (which is just plain ASCII), you should see an entry for every one of the halo catalogs you downloaded and cached, along with the path where it is stored. Could you check on these two things and let me know what you find?

Hi there, it seems like we figured out the issue. This problem only appears when using Windows, but not Linux/macOS. Thank you for the help!

I ran into the same problem after installing halotools 9.0 on Windows 11 via conda. Apparently clean install and I correctly prepped the cached halo catalogs, but they didn't always work in the tutorials. If helpful, I've copied the full error message I got when running the third cell of hod_modeling_tutorial_with_alignments.ipynb :

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
File c:\ProgramData\miniconda3\Lib\site-packages\halotools\sim_manager\cached_halo_catalog.py:543, in CachedHaloCatalog.halo_table(self)
    [542](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/sim_manager/cached_halo_catalog.py:542) try:
--> [543](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/sim_manager/cached_halo_catalog.py:543)     return self._halo_table
    [544](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/sim_manager/cached_halo_catalog.py:544) except AttributeError:

AttributeError: 'CachedHaloCatalog' object has no attribute '_halo_table'

During handling of the above exception, another exception occurred:

AssertionError                            Traceback (most recent call last)
File c:\ProgramData\miniconda3\Lib\site-packages\halotools\utils\crossmatch.py:143, in crossmatch(x, y, skip_bounds_checking)
    [142](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/utils/crossmatch.py:142) assert len(set(y)) == len(y)
--> [143](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/utils/crossmatch.py:143) assert np.all(np.array(y).astype(int) == y)
    [144](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/utils/crossmatch.py:144) assert np.shape(y) == (len(y),)

AssertionError:

During handling of the above exception, another exception occurred:

ValueError                                Traceback (most recent call last)
Cell In[3], [line 2](vscode-notebook-cell:?execution_count=3&line=2)
      [1](vscode-notebook-cell:?execution_count=3&line=1) halocat = CachedHaloCatalog(simname='bolplanck', halo_finder='rockstar', redshift=0, version_name='halotools_v0p4')
----> [2](vscode-notebook-cell:?execution_count=3&line=2) mask_bad_halocat(halocat)

Cell In[2], [line 3](vscode-notebook-cell:?execution_count=2&line=3)
      [2](vscode-notebook-cell:?execution_count=2&line=2) def mask_bad_halocat(halocat):
----> [3](vscode-notebook-cell:?execution_count=2&line=3)     bad_mask = (halocat.halo_table["halo_axisA_x"] == 0) & (halocat.halo_table["halo_axisA_y"] == 0) & (halocat.halo_table["halo_axisA_z"] == 0)
      [4](vscode-notebook-cell:?execution_count=2&line=4)     halocat._halo_table = halocat.halo_table[ ~bad_mask ]

File c:\ProgramData\miniconda3\Lib\site-packages\halotools\sim_manager\cached_halo_catalog.py:547, in CachedHaloCatalog.halo_table(self)
    [545](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/sim_manager/cached_halo_catalog.py:545) if self.log_entry.safe_for_cache is True:
    [546](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/sim_manager/cached_halo_catalog.py:546)     self._halo_table = Table.read(_passively_decode_string(self.fname), path='data')
--> [547](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/sim_manager/cached_halo_catalog.py:547)     self._add_new_derived_columns(self._halo_table)
    [548](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/sim_manager/cached_halo_catalog.py:548)     return self._halo_table
    [549](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/sim_manager/cached_halo_catalog.py:549) else:

File c:\ProgramData\miniconda3\Lib\site-packages\halotools\sim_manager\cached_halo_catalog.py:557, in CachedHaloCatalog._add_new_derived_columns(self, t)
    [554](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/sim_manager/cached_halo_catalog.py:554)     add_halo_hostid(t)
    [556](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/sim_manager/cached_halo_catalog.py:556) if 'halo_mvir_host_halo' not in list(t.keys()):
--> [557](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/sim_manager/cached_halo_catalog.py:557)     broadcast_host_halo_property(t, 'halo_mvir')

File c:\ProgramData\miniconda3\Lib\site-packages\halotools\utils\value_added_halo_table_functions.py:83, in broadcast_host_halo_property(table, halo_property_key, delete_possibly_existing_column)
     [78](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/utils/value_added_halo_table_functions.py:78) elif (new_colname in list(table.keys())) & (
     [79](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/utils/value_added_halo_table_functions.py:79)     delete_possibly_existing_column is True
     [80](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/utils/value_added_halo_table_functions.py:80) ):
     [81](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/utils/value_added_halo_table_functions.py:81)     del table[new_colname]
---> [83](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/utils/value_added_halo_table_functions.py:83) idx_halos, idx_hosts = crossmatch(table["halo_hostid"].data, table["halo_id"].data)
     [84](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/utils/value_added_halo_table_functions.py:84) table[new_colname] = np.zeros(len(table), dtype=table[halo_property_key].dtype)
     [85](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/utils/value_added_halo_table_functions.py:85) table[new_colname][idx_halos] = table[halo_property_key][idx_hosts]

File c:\ProgramData\miniconda3\Lib\site-packages\halotools\utils\crossmatch.py:147, in crossmatch(x, y, skip_bounds_checking)
    [145](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/utils/crossmatch.py:145) except:
    [146](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/utils/crossmatch.py:146)     msg = "Input array y must be a 1d sequence of unique integers"
--> [147](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/utils/crossmatch.py:147)     raise ValueError(msg)
    [148](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/utils/crossmatch.py:148) try:
    [149](file:///C:/ProgramData/miniconda3/Lib/site-packages/halotools/utils/crossmatch.py:149)     assert np.all(np.array(x).astype(int) == x)

ValueError: Input array y must be a 1d sequence of unique integers
/media/nvanalfen/T7/Northeastern/Research/my halotools/halotools/halotools/empirical_models/ia_models/ia_model_components.py:190: UserWarning: `central_alignment_strength` not detected in the table, using value in self.param_dict.
  warn(msg)
/media/nvanalfen/T7/Northeastern/Research/my halotools/halotools/halotools/empirical_models/ia_models/ia_model_components.py:520: UserWarning: `satellite_alignment_strength` key not detected in `table`.The value set in self.param_dict of this class will be used instead.
  warn(msg)


Not showing any alarms with Icinga Web 2.5.3

Hi!
I am trying to replace Nagstamon with Nagbar which looks to be a better MacOS alternative.
I have added the server and it shows stutus "OK". But its not showing anything afterwards, just "No Alarms". Are there any logs or ways to debug the app?
Running IcingaWeb 2.5.3.

For Icinga2, you have to use the API, not IcingaWeb. So, the URL would be something like https://icinga2instance.com:5665/v1.
The "OK" status just indicates that the connection is successful (correct credentials, certificate and etc.) but does not indicate if the URL that is specified actually contains the monitoring information.


fix(package): no longer ESM #8

close #8
Also exports all typings to the root.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


moves class definition into loop, it's slower

Move the class Record definition into the matmul loop -- it takes longer.
That was the original intent, cf. the text on optimization in "Improving the performance". I moved it out while measuring the difference and forgot to put it back.

🚀 The docs preview is ready! Check it out here:     https://modal-labs-examples--frontend-preview-4bebe38.modal.run


ridzikowski/distribution-update

Codecov Report

Merging #20 (da2ab96) into master (bf6d061) will decrease coverage by 0.16%.
The diff coverage is 0.00%.

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

@@            Coverage Diff            @@
##           master     #20      +/-   ##
=========================================
- Coverage    9.87%   9.71%   -0.17%
=========================================
  Files          26      26
  Lines        1073    1091      +18
=========================================
  Hits          106     106
- Misses        967     985      +18

Impacted Files
Coverage Δ

src/params/progression.jl
0.00% <0.00%> (ø)

src/simparams.jl
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

shift changes to new-immunity PR


Remove duplicate application of preprocessing in fallback BaseEstimator.fit_generator

Signed-off-by: Beat Buesser<EMAIL_ADDRESS>Description
This pull request removes the unnecessary duplicate application of preprocessing in fallback BaseEstimator.fit_generator.
Fixes #1217
Type of change
Please check all relevant options.

[ ] Improvement (non-breaking)
[x] Bug fix (non-breaking)
[ ] New feature (non-breaking)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Codecov Report

Merging #1219 (71f411f) into dev_1.7.1 (b0c9cf0) will increase coverage by 0.31%.
The diff coverage is 41.02%.

@@              Coverage Diff              @@
##           dev_1.7.1    #1219      +/-   ##
=============================================
+ Coverage      63.66%   63.97%   +0.31%
=============================================
  Files            229      231       +2
  Lines          21110    21201      +91
  Branches        3947     3956       +9
=============================================
+ Hits           13440    13564     +124
+ Misses          6073     6030      -43
- Partials        1597     1607      +10

Impacted Files
Coverage Δ

art/utils.py
65.40% <0.00%> (ø)

...t/defences/preprocessor/mp3_compression_pytorch.py
27.65% <27.65%> (ø)

...defences/preprocessor/video_compression_pytorch.py
31.70% <31.70%> (ø)

art/defences/preprocessor/mp3_compression.py
70.14% <33.33%> (-3.63%)
:arrow_down:

art/__init__.py
100.00% <100.00%> (ø)

...ion/imperceptible_asr/imperceptible_asr_pytorch.py
61.30% <100.00%> (+29.35%)
:arrow_up:

..._air_flickering/over_the_air_flickering_pytorch.py
76.81% <100.00%> (ø)

...nces/detector/poison/spectral_signature_defense.py
86.95% <100.00%> (-1.45%)
:arrow_down:

art/defences/preprocessor/__init__.py
100.00% <100.00%> (ø)

art/estimators/classification/keras.py
73.52% <100.00%> (-1.04%)
:arrow_down:

... and 11 more


PHP: 499 for Tile Requests Only?

I'm trying to switch from the .NET proxy to the PHP proxy. Everything works great in .NET. Using the PHP proxy, requests to service endpoints are fine. But, requests to cached tiles are failing. Actually, the requests pass for a few minutes, and then begin failing.
All my checks are passing in the verification script (which is a very cool feature). There's nothing informative in the log. There are a lot of blank lines though, which is suspicious.
Are there some default settings for rate limiting? I don't have anything explicitly set for that in my config. But, I see that there is a proxy.sqlite file in my proxy folder.
The php code is a lot different from the .NET code. So, I'm hoping somebody else has seen this problem with proxying cached tiles, and can tell me where to being looking.

Are you using the most recent version of the PHP file? Also, how are you accessing these tiled services? Are they secured in AGO and you are accessing them via Oauth token authentication with a client id and secret saved in the proxy configuration file? Or are you accessing them with username/password credentials?
The more details you can give on how the app is accessing these tiles, the better. Thanks.

Closing due to inactivity...


Different parent?

It is possible to use a different parent element than the actual parent in DOM?

@strarsis
No. If you would like to provide a PR, support would be considered. Initially, a feature like this would be really complex and cause issues for other features + weird support across browsers.

Readers, please give this issue a thumbs up if you would like this feature to be considered. 👍

+1 for this feature!
My site's header has 3 bars wrapped inside <header> tag and I only want to make the last bar sticky. Apparently, it's not possible to make the last header bar always on the top of the page without unwrapping those three bars out of <header> tag.
@yowainwright any other solution for this http://jsfiddle.net/Lkt26q70/1/ ?

Did any progress happen on this?

@alejandroiglesias no. Would you like to work on it? 🙂


Extracts widgets javascript into "js/widgets" folder

cms/forms/widgets.py PageSelectWidget
cms/forms/widgets.py PageSmartLinkWidget
cms/forms/widgets.py AppHookSelect & ApplicationConfigSelect

We have to avoid injecting javascript through python directly. This PR extracts those snippets and moves them into the /static/cms/js/widgets/ folder.
The only JS injected by python are initial states for _PageSelectWidget and _PageSmartLinkWidget .
I also took up the liberty to clean up the code, ensure its consistent and included the JS linter.
Thanks to @mkoistinen for the help

LGTM

LGTM

:+1:


Rodapé e  navbar

#282 #283

O build falhou, revertendo esse PR. @davidedup  Daí você corrige e manda novamente um PR corrigido

-----> Node.js app detected

-----> Creating runtime environment
   NPM_CONFIG_LOGLEVEL=error
   NODE_VERBOSE=false
   NODE_ENV=production
   NODE_MODULES_CACHE=true

-----> Installing binaries
engines.node (package.json):  unspecified
engines.npm (package.json):   unspecified (use default)
   Resolving node version 12.x...
   Downloading and installing node 12.16.3...
   Using default npm version: 6.14.4

-----> Restoring cache
- node_modules
-----> Installing dependencies
Installing node modules (package.json + package-lock)
audited 1315 packages in 10.353s
   37 packages are looking for funding
     run `npm fund` for details

   found 3 vulnerabilities (2 low, 1 high)
     run `npm audit fix` to fix them, or `npm audit` for details

-----> Build
Running build
   ><EMAIL_ADDRESS>build /tmp/build_1728082c73e0b9b022a8233e17288445
   > cd ui && vue-cli-service build

Building for production...
ERROR  Failed to compile with 1 errors2:17:05 PM
This dependency was not found:

* @/components/contact/contact.vue in ./src/router/index.js

To install it, you can run: npm install --save @/components/contact/contact.vue

ERROR  Build failed with errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build: cd ui && vue-cli-service build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/npmcache.4si2z/_logs/2020-05-20T14_17_05_390Z-debug.log
-----> Build failed
   We're sorry this build is failing! You can troubleshoot common issues here:
   https://devcenter.heroku.com/articles/troubleshooting-node-deploys

   Some possible problems:

   - Node version not specified in package.json
     https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version

   Love,
   Heroku

!     Push rejected, failed to compile Node.js app.
!     Push failed


Add default providers for resources

What does this PR do?
This PR adds default providers for some common resources.
Which scenarios this will impact?
Motivation
Package level default providers are disabled in the automation API. The user must now explicitly set the provider for all resources.
Additional Notes

Package level default providers are disabled in the automation API. The user must now explicitly set the provider for all resources.

Was this always true ? Is this a recent change in Automation API side ?

I have begun to run into this recently yes. Seems to have been added here

Please wait for @vboulineau review before merging, as he has more knowledge over this code than me.


Feature Request: unshorten links and evaluate the resolved URL

The "shortened URL" detections could be improved by actually resolving and unshortening those shortened links and checking whether they redirect to a legit or malicious site.
One way to do this would be by simply sending a HEAD request allowing redirections and then checking the URL of the response, as suggested on https://stackoverflow.com/a/30156125/4464570:
def unshorten_url(url):
    return requests.head(url, allow_redirects=True).url

Another way could be using an unshortening API. To me after a bit of research, https://unshorten.me/api looked most promising. Their default free plan allows you 10 requests about new shortened URLs per IP per hour. However, if an URL had been requested once by anybody already, they have the result in their database and querying that doesn't increment the counter. In Python this could look like:
def unshorten_url(url):
    return requests.get("https://unshorten.me/json/" + url).json().resolved_url
    # .json() output example:
    # {'resolved_url': 'https://unshorten.me/', 'success': True,
    #  'usage_count': 0, 'requested_url': 'http://goo.gl/IGL1lE'}

After unshortening the links, the post could either be evaluated as if posted with the direct link, or with a little additional weight because of the shortener.
Suggestions? Comments? Opinions?

I like it. If we can use requests we may as well, instead of adding another external dependency.


Bypass Error 1015

Description
Bypass of error 1015

Full steps to reproduce the issue

Issue Type
Feature Request
Operating System
Linux, Mac OS
Do you use Docker?
I don't use Docker

The rate limit error is caused by your ip address being blocked for a while when you send too many requests in a row. It is not a problem with the library.


Make ViewState3d.lookAt take named parameters

@MarcNeely I'm sorry I missed the review of your previous changes, but this is what I think we should have for 3.0. Obviously this is a breaking change, but I think worth doing.

@MarcNeely BTW, I don't understand why you made LookAtOrthoArgs take (only) a verticalSize. Why not newExtents?

@MarcNeely BTW, I don't understand why you made LookAtOrthoArgs take (only) a verticalSize. Why not newExtents?

Oops, just saw this.  verticalSize is essentially one of the extents, right?  So since we don't change the aspect ration of the view with this, then there's no need for the x extent is there?


Fix for #25. Check units at the primitive level

Checking was happening at the gerber/excellon file level, but this adds units checking at the primitive level so the use case shown in the example is covered. Might want to throw a bunch more assertions in the test code (i started doing a few) to cover multiple calls to unit conversion functions

Coverage increased (+0.12%) to 88.85% when pulling 390838fc8b70c9b105fdc1d3e35a4533b27faa83 on unit_conversion_fix into a3cce62be741cb2bc1e65165ba4f0b45c8838b60 on master.

Looks great. Merging.


Deploy Flag Tool

I found out that the Flag tool in dumber than we thought. It takes a message Id as parameter and sets that message's flag column to 1 in the database

There's an error on the build flow

ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref roe6knnim31vpk5gdohvzxb1i::lif9w3ywf9q9bm6ej2wh19d6i: "/bin/Release/netcoreapp3.1/publish": not found
Error: buildx failed with: ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref roe6knnim31vpk5gdohvzxb1i::lif9w3ywf9q9bm6ej2wh19d6i: "/bin/Release/netcoreapp3.1/publish": not found

This is the PR that connects to the new database:
https://github.com/ingrid-mc/DevOps-group_s/pull/134