text:
🛑 Executive and Indigenous Affairs is down

In 429c154, Executive and Indigenous Affairs (https://www.eia.gov.nt.ca) was down:

HTTP code: 504
Response time: 279 ms

Resolved: Executive and Indigenous Affairs is back up in 1a15b8e after 7 minutes.


text:
🛑 Legislative Assembly is down

In 612e1e5, Legislative Assembly (https://www.ntassembly.ca) was down:

HTTP code: 504
Response time: 316 ms

Resolved: Legislative Assembly is back up in 1d05c90 after 9 minutes.

source: gharchive/issue

repo: Barctic/gnwt-monitor

license: MIT

license_type: permissive

license_source: github-api


text:
New ELF Loader

The following patch provides a new ELF loader that has better
support for:

New CTOR/DTOR logic that uses a similar approach to GCC
with a crt static library to provide init / fini functions
Weak symbol support
Better searching logic
Better unit testing (far less over-specification)
Cleaned up formatting

In addition, this patch includes a couple of nicities that were
used when developing this code

Comment support in the vmm.modules file
Cleaned up build script which adds support for dependencies

Signed-off-by: Rian Quinn quinnr@ainfosec.com

Been testing it for the past week, works fine for all the development I've been doing.

source: gharchive/pull-request

repo: Bareflank/hypervisor

license: mit

license_source: bigquery


text:
Feat: remote notifications

Triggering  remote notification from backend -> #503

@Becca-Saka can you also share a video of this implementation working with any of the realtime integrations available?

Hey @josancamon19, I made the fixes and here is the video.
https://github.com/user-attachments/assets/2ae7c7a9-d001-42c8-a60d-314407ec5b0f

repo: BasedHardware/Omi


text:
feat: add docs for elements focus and blur

Description

Adds docs for focus and blur methods
Concentrate all elements methods in a new section

Testing required outside of automated testing?

[x] Not Applicable

Screenshots (if appropriate):

[ ] Not Applicable

Rollback / Rollforward Procedure

[x] Roll Forward
[ ] Roll Back

Reviewer Checklist

[ ] Description of Change
[ ] Description of outside testing if applicable.
[ ] Description of Roll Forward / Backward Procedure
[ ] Documentation updated for Change

:tada: This PR is included in version 1.63.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: bt-platform-eng lcschy

repo: Basis-Theory/docs


text:
Develop Core Codebase

Establish beta website's core codebase, creating the website's initial framework and basic containers. See Design Overview.

I added Bootstrap's basic code framework into index.html (in the beta_files folder).

repo: BeehiveNGO/Beta


text:
FastLogin support

Is your feature request related to a problem? Please describe.
Hello, when FastLogin is used and you try to put your name in the whitelist while being Premium, the message appears that your session is invalid.
Describe the solution you'd like
Allow adding both names and UUIDs in the configuration file regardless of whether your server is online or offline.
Describe alternatives you've considered
Add FastLogin support, but I think it will be better with the solution above.
Screenshot
This is the screen that appear when trying to log in while being Premium in an offline mode server with FastLogin.

I don't know why, but he let me in normally this time and the other times, so I take it back.


text:
Inputs of the type "date" do not appear to be supported.

I'm using the Selenium2 driver. I have the following scenario:
  Scenario: I can add and update insurer coverage.
    Given I go to "/url/in/question.php"
    When I fill in "coverageInsurer" with "VA"
    And I fill in "coverageStartDate" with "2016-01-01"
    And I fill in "coverageEndDate" with "2016-10-23"
    And I press "Update User"
    Then the "coverageInsurer" field should contain "VA"
    And the "coverageStartDate" field should contain "2016-01-01"
    And the "coverageEndDate" field should contain "2016-10-23"

The coverageStartDate and coverageEndDate fields are <input type="date"> elements. When running the test, the values are saved as "0000-00-00" for both fields.
Are date input types not supported?

I ended up achieving the same thing with the executeScript method. I'm going to close this and possibly create a pull request for the Selenium2 driver so that date inputs are properly handled.

Well, it depends whether Selenium itself supports these fields, which depend on the version of Selenium and of the instrumented browser.
In any case, this is not an issue in Behat (it may be reported against Mink, but my answer would be the same)

authors: saturday stof

repo: Behat/Behat


text:
Phpunit 6 compatibility

This one is a quite easy-pick and can be release under a new minor because of the PHP version dropping.

@stof Failing HHVM seems to be not related.
The last master build is form over 2 years now, maybe you can try a new trigger?

I propose to remove HHVM support, because in my opinion support for phpunit 6 is most important.

@Soullivaneuh I did a pull request huge upgrades. Remove HHVM is a part of it.

authors: Soullivaneuh gustawdaniel kevin-lot

repo: Behat/WebApiExtension


text:
Fix issue where scrolling gets stuck on second to last row/column

Fixes #40
Views are added to the layout manager before they are inside the canvas, which would cause the last child views in the layout manager to be ignored in the canvas findBorderViews() method.  This caused a case where stateFactory.getEndViewBound() was returning the end position of the previous row/column instead of the end of the row/column containing the last child.  This was preventing scrolling past the second to last row because the scrolling controller thought the last view's end had reached the parent end.

Thanks for your pr! Merged

authors: BelooS jasennett

repo: BelooS/ChipsLayoutManager


text:
🛑 Tech Scan API is down

In b880744, Tech Scan API ($TECHAPI) was down:

HTTP code: 502
Response time: 6706 ms

Resolved: Tech Scan API is back up in 1b813f3.

repo: BeltwayCloud/status


text:
The command Capitalize all words in selected text requires the selected text to be in lower case.

I want to turn "THIS PHRASE" into "This Phrase", but the command Capitalize all words in selected text does nothing.
I need to turn the text into lower case first before applying the command Capitalize all words in selected text.

It can be config in setting

repo: Benature/obsidian-text-format


text:
Added middleName to class Name

Apple added the field "middleName" to the json reponse.
After first authentication an error occured on keycloak server:
 09:35:52,588 ERROR [org.keycloak.broker.oidc.OIDCIdentityProvider] (default task-1) Failed to parse userJson [{"name":{"firstName":"First","middleName":"","lastName":"Last"},"email":"some@email.de"}]: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "middleName" (class fr.benjaminfavre.provider.AppleIdentityProvider$User$Name), not marked as ignorable (2 known properties: "lastName", "firstName"])  at [Source: (String)"{"name":{"firstName":"First","middleName":"","lastName":"Last"},"email":"some@email.de"}"; line: 1, column: 44] (through reference chain: fr.benjaminfavre.provider.AppleIdentityProvider$User["name"]->fr.benjaminfavre.provider.AppleIdentityProvider$User$Name["middleName"])
It was not possible to extract firstName or lastName from the json response. With this PR all works again as expected.
P.S:
I hate apple!

Thank you ! I prefered to ignore any new field received from Apple to prevent future crashes.

@BenjaminFavre Yes me to. I tried to add @JsonIgnoreProperties(ignoreUnknown = true) to the classes. But it did not work. It was ignored ^^.

authors: BenjaminFavre Tynamix


text:
a03_mukalamusij

added code and did a house.

Somehow when you merged master into your branch, it looks like every other commit (from other students) is being treated as your commit.
This means you could have changed other people's work, which I cannot accept (even though I'm sure you didn't intend this).
Come see me and we will fix this PR.

authors: mukalamusij sheggen


text:
Test failures at random

There are some unit test failures at random. This should be checked and corrected.

The test output:
Failed tests:
TestEntityEndpointPasswordPlainWss4j>AbstractTestNGSpringContextTests.run:175->AbstractTestEntityEndpointRequest.testEndpoint_Envelope_Valid:113 XML is not valid: [org.xml.sax.SAXParseException; cvc-complex-type.2.4.b: The content of element 'ns2:getEntityResponse' is not complete. One of '{"http://wandrell.com/example/ws/entity":entity}' is expected.]

The valid and invalid SOAP messages are getting mixed somehow?

Divided the endpoint unit tests into one for valid and another for invalid messages. This may fix this. If it works it may have been related to the fact that both test cases made use of the application context.
Still, this problem only seems to arise with the password protected endpoint.

Still going on.

A different error:
`TestEntityEndpointRequestEncryptionXwss>AbstractTestNGSpringContextTests.run:175->AbstractTestEntityEndpointRequest.testEndpoint_Envelope_Valid:112 XML is not valid: [org.xml.sax.SAXParseException; cvc-elt.1: Cannot find the declaration of element 'SOAP-ENV:Fault'.]
Payload: <SOAP-ENV:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">SOAP-ENV:Servercould not prepare statement; SQL [select defaultexa0_.id as id1_0_0_, defaultexa0_.name as name2_0_0_ from example_entities defaultexa0_ where defaultexa0_.id=?]; nested exception is org.hibernate.exception.SQLGrammarException: could not prepare statement</SOAP-ENV:Fault>`

Seems fixed. Apparently was a problem with the test dependencies. Mocked the domain service.


text:
Add resources to PubAnnotation

Add documents to PubAnnotation : about 1million pmids from pubmed to add
Add dictionary  to Pubdictionaries :  about 4 million dictionary entries from ncbi to add

#add documents : prepare a json document according to the pubannoation format from a list of pmids.

Use the following command :
curl -u "your_email_address[:your_password]" -H "content-type:application/json" -d @filename.json "http://pubannotation.org/projects/your_project/docs/add[.json]"

add docuement : charge issues with the 1M documents. Select 1000 random documents from the 1M

#add dictionary : prepare ncbi entries and add from pubdictionaries

#add dictionary  : Issue when adding 4M  entries from Pubdictionnaries. Finish but nothing is loaded.

#add dictionary : try to load about 1M but seems to be a wifi problem

add resources: investigate the charge issues

repo: Bibliome/alvisnlp


text:
Character floats on air instead of being standing/walking on the ground

When on the editor we can see GameObject as having only one BoxCollider

when pressing play on unity we can see a second BoxCollider appear on GameObject Skeleton on a poisition, making it float + 0.5f.y;
Caused by a second BoxCollider on GameObject.Skeleton

Solution: error in code where instead of Getting the component, component was being added onto GameObject


text:
ClipOverlappingAlignment doesn't clip one base starting from 3'-end

When a read needs to be soft-clipped from the 3'-end only by one base, the ClipOverlappingAlignment leaves the read as is (no clipping is performed). If the read is shifted to the right for one position, the ClipOverlappingAlignment performs the clipping as expected, as it soft-clips two bases (see example below, extensions changed as .bed and .sam not supported by github).
Tool version is 1.27.
intervals.csv
testSAM.txt
soft_clipped_SAM.txt

@milnikol Thanks for the report. I will look into this.

Thanks for the helpful test case. In this instance I think this is what's happening:

Bed files are 0-based, so the interval 249-1000 is actually base pairs 250 to 1000
Your first alignment starts at bp 100, ending on bp 249. Therefore it doesnt actually overlap the BED and isnt clipped
Your second alignment started at bp 101, ending on bp 250. It overlaps 1 bp. There was a problem in that the tool was over-clipping by 1bp on terminal alignments (it clipped starting at the last base to retain). This resulting in your second alignment getting a 2bp softclip, not 1.

I pushed this bugfix to release 1.3.1: https://github.com/BimberLab/DISCVRSeq/releases/tag/1.3.1

@bbimber Thank you so much for the prompt answer and fix!

authors: bbimber milnikol

repo: BimberLab/DISCVRSeq


text:
Convert to English

Adding some tweaks and workflows so it will be auto update when its uploaded to main branch

This project was previously warned by GitHub for misuse of actions.
Please just fork it and use it personally... I like Korean.

Ohh ok, thanks for the info.

authors: Bing-su rezytijo


text:
chore(master): release 2.0.0

:robot: I have created a release beep boop
2.0.0 (2024-10-24)
⚠ BREAKING CHANGES

remove old script, all commands support multiple servers now

Features

all existing commands support on multiple servers (4f710bd)
new configure command to configure a textchannel for all cron tasks (3a190bb)

Bug Fixes

adjust test mocks (01bcb44)
deploy commands to all servers, register on all (f4fa935)
remove old script, all commands support multiple servers now (642ee88)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/BingusBoingus-Developer-Team/BingusBoingus/releases/tag/v2.0.0 :sunflower:


text:
SSE4.1 support cannot be enabled on machines with AVX

It is due to this check:
https://github.com/BinomialLLC/basis_universal/blob/8903f6d69849fd782b72a551a4dd04a264434e20/encoder/basisu_kernels_sse.cpp#L26-L27
Looks like some unfortunate refactoring artefact from old code that supported more than one SIMD type.

If AVX || AVX2 || AVX512F are defined here then the generated SSE code won't execute on very old (ancient!) CPU's that don't support AVX. That's why these macros are here. I'll double check that this still works, though.

I've verified that SSE supports works as intended under Windows and Linux. Can you describe what you're doing that's causing these code gen sanity checks to trigger? Your options are probably not the same as the ones used to compile the tool.
I think it's fine to remove them if you're ok with the generated code not working on old CPU's. Perhaps I can put these checks in a guard.


text:
fix: Use svg for Logo

Need to figure out how to make it light/dark

Is there a reason that this isn't ready?

authors: edmundmiller kescobo


text:
Orange Pipeline

Development
Description
This PR introduces the following functionalities:

split_dataset, basic_dbeta, and setting dbeta_threshold tailored exclusively for lung cancer analysis.
Updates to the lock file by adding dependencies for toml and plotly.
Enhancements to the orange_pipeline_orchestrator to generalize the process for five cancer types. Currently, it supports analysis for two datasets, with lung cancer serving as a specific case.

Additionally, the orange_pipeline_orchestrator🪈 records all pivotal feature processes in a toml file to enhance clarity and prevent confusion. It is important to note that Section 0 should not be re-run as doing so could alter filtering results.
Implementation

Split Dataset & Threshold Features: Developed functions to split the dataset, calculate basic dbeta, and set dbeta_threshold. These functionalities are tailored for lung cancer analysis to provide targeted insights.
Dependency Updates: The lock file includes new dependencies (toml, plotly) to support new features and enhance visualization.
Pipeline Orchestrator: Updated the orange_pipeline_orchestrator to manage datasets for five cancer types, though only two datasets are currently supported. All critical feature processes are logged into a toml file to improve traceability and reduce ambiguity.

Required Hidden Data

lung\result\GDC_lung_tissue\train80\all_beta_normalized_0.csv (generated in section 0)

Checklist

[x] Detail implementation description at the top of the notebook.
[x] Data input and output paths are correct.
[x] Free of spurious comments.
[x] Free of unnecessary notebook updates (e.g., cell execution counts).

other cancer support will come before Friday night

我等你做完 流程比較好做嗎，還是我可以先做

Mabye wait

Cancer Type
Merge and Split
DBeta
Filtering
ML RFE
ML RFECV

Breast
✅
✅
✅
✅
✅

Lung
✅
✅
✅
✅
❌

Rectal
✅
❌
❌
❌
❌

Stomach
✅
❌
❌
❌
❌

Prostate
❌
❌
❌
❌
❌

Assume breast cancer is complete

@xzh0623 oversampling 要在用在RFE之後嗎

@xzh0623 oversampling 要在用在RFE之後嗎

不是，是在一開始分train/test data之後

所以要傳到google drive的是oversampling完的嗎?

yes

#92 complete

complete visualisation of RFE

remember to manually download oversampled datasets


text:
refactor the build functionality

[x] #45
[x] Parallelize ingesting matrices from inputs
[x] Matrices are now their own tiledb group assays
~[ ] Move sample and cell into their own tiledb groups - row_data and column_data~
[x] Filtering frames with query expressions
[x] Better remapping of sliced coo matrices from tiledb arrays
[x] Update documentation
[x] Tests
[x] update README
[x] ~Add a top level meta.json to store build options~
[x] get sample chunk

@tony-kuo and @keviny2 i'll update and merge this tomorrow, but good to get another set of eyes here

This PR has dependencies in #61 and #60. Will merge this PR first to maintain keep it small and avoid merge conflicts later.

repo: BiocPy/cellarr


text:
& token not working as intended with conditional formatting

Bug description
The & token is not functioning as the documentation states it does in the separate log files text file content field.
Steps to reproduce
Using the expression
<%all%?%all%><%all%?&%author%?BOTH:NOTBOTH><%author%?%author%>
results in text files being written with "&%author%?BOTH" for all images with tags, suggesting that the logic is reading the first "?" and exiting.
Removing the first ? and using the following expression
<%all%?%all%><%all%&%author%?BOTH:NOTBOTH><%author%?%author%>
results in images with tags but no author to evaluate as NOTBOTH, but images with an author and no tags to evaluate as BOTH. This suggests only the second statement, %author%? is being evaluated. It is not writing %all% to the file twice however.
Expected behavior
Correctly functioning logic statements
Context

Provide your main.log file to see if any obvious error occurred.
Providing your settings.ini file will greatly help maintainers reproduce your problem if it may be caused by your configuration.
If the bug occurred during a download, make sure to provide said download as an .igl file that Grabber can generate by clicking the Save button of the Downloads tab.

Note that both main.log and settings.ini files can be found in C:/Users/%USERNAME%/AppData/Local/Bionus/Grabber in Windows, and in the installation directory on Linux.
Screenshots
If applicable, add screenshots to help explain your problem.
System information

OS: [e.g. Windows 10] Windos 10
Grabber version: [e.g. 6.0.3] 7.10.0

Additional context
Add any other context about the bug report here.

After some additional experimenting, it seems like the second expression works correctly, and the issue is that %all?% is always True. This can be verified with the following
<%all%?True:False>|%all%
This will always output True, even if %all% is empty. Is this intended behavior?

<%all%?%all%><%all%?&%author%?BOTH:NOTBOTH><%author%?%author%>

<%all%?%all%>: correct but useless, it can be simplified to %all%
<%all%?&%author%?BOTH:NOTBOTH>: your condition (%all%?&%author%) is not correct, it should be %all%&%author%, without the question mark. Which you pretty much found out by yourself 😄
<%author%?%author%>: same remark, it can be simplified to %author%

the issue is that %all?% is always True [...] Is this intended behavior?

It's definitely not intended behavior. I'll see if I can reproduce.

Edit: Side note, it also appears as though %allo% ignores your specified tag separator and separates tags with a space. Not sure if this is intended or not

Yes it's intended, you shouldn't really be using this token as it's an internal one 😄
The separator is always a space for this one.

I just tested both with an image with no tags (using the Zerochan bug on 7.10.0), and with an unit test, and both gave the proper results: <%all%?True:False> gave "False".

authors: Bionus rrweller

repo: Bionus/imgbrd-grabber


text:
commit to merge

Commiting the Pylabrobot specialization and an updated version of the Container ontology file.

Can you add any tests to validate the operation of this specialization with pyLabRobot, at least at a syntactic level?

@jakebeal No, I don't have any tests yet. Can you show me how to test the specialization at syntatic level?

For an example, look at : https://github.com/Bioprotocols/labop/blob/main/test/test_opentrons.py

@jakebeal I am going to go ahead and approve this merge request, since for now it appears that @LuHesketh is simply trying to port over a feature branch from her fork back on to the main repo here.
We've discussed the requirement for adding a test before any of her features get merged into production on main.

I just wanted to add that this PR is from a forked feature branch back to a feature branch.  It is on top of several to-be-PR'd updates.  @LuHesketh has example protocols that use the specialization.  I'd like to see these added to examples/protocols/mpe_pcr (for example).
I think the test case should resemble test/test_igem_examples.py uses example protocols.  I'll add a test that runs and checks each example protocol.

OBE, rebased as #209

authors: LuHesketh bbartley danbryce jakebeal

repo: Bioprotocols/labop


text:
Add proxy support

Hi,
my server need a proxy for outgoing http request. Do you can add a proxy parameter?
Cheers!

I'm sorry, where do you want what? (preferably make a pull request)

Hi!
Sorry I got the wrong GitHub Repo.
Sorry about the confusion

authors: Bisa jkroepke

repo: Bisa/factorio-init


text:
JDBC: Merge with master, fix failing tests

Not sure why GitHub displays all the commits here - sorry about that. The last 6 commits should fix the build and get tests to pass.
Note I had to un-exclude netty-transport-unix-common to get the TLS tests to pass.

@lidavidm
There are some JDBC tests failing in CI:
https://github.com/Bit-Quill/arrow/runs/7977813470?check_suite_focus=true#step:6:7191

Thanks, appears to be Java 17/18 compat issues. I'll work through these.
Do you mind if I do a bit of other cleanup here too? (In particular: renaming everything to use flight-sql as the name to make it clear what it's building on)

Looks like some Windows/Java 11 things now, will take a look in a bit…

Thanks, appears to be Java 17/18 compat issues. I'll work through these.
Do you mind if I do a bit of other cleanup here too? (In particular: renaming everything to use flight-sql as the name to make it clear what it's building on)

Sounds good.

Alright, things here should be ready - I did do a bunch of renaming but let me know if we should revert that

@lidavidm LGTM. Did you have any other changes planned?

@jduo no more changes here. I'll take another pass through the Arrow PR itself once this is in, before merging; then the other contributor's PR can go in I think

@jduo any other comments here? I'll do a final review of the PR once this is in (assuming tests actually pass)

I didn't have any other comments. @raymond-lum ?

I didn't have any other comments. @raymond-lum ?

Thanks @lidavidm. Looks great. Down to 1 failing check is amazing and super helpful!

Got it.
Ray
On Tue, Sep 6, 2022 at 12:35 PM David Li @.***> wrote:

The R check failure should be unrelated to this/is just a flaky test/infra
issue
—
Reply to this email directly, view it on GitHub
https://github.com/Bit-Quill/arrow/pull/5#issuecomment-1238571925, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AVXQT3IKR6Z3FJWBTDPN6BLV46MJLANCNFSM57L64D3A
.
You are receiving this because you were mentioned.Message ID:
@.***>

Just to follow up, is there anything else needed here?

James, Defer to you here. I don't think I have any other comments. Ray
…
On Thu, Sep 8, 2022 at 9:06 AM David Li @.> wrote: Just to follow up, is there anything else needed here? — Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVXQT3LCECXW6LZYGMTH54LV5IFITANCNFSM57L64D3A . You are receiving this because you were mentioned.Message ID: @.>

LGTM.

authors: jduo lidavidm raymond-lum

repo: Bit-Quill/arrow


text:
urlopen error [Errno 10054] The external host lost a connection

After running Poloniex Lending Bot without problems for several months, last week it didn't work anymore. I get the following error <urlopen error [Errno 10054] The external host lost a connection> Requesting retourAvailableAccountBalances. There is nothing changed in the settings at Poloniex nor in the config file of the Lending Bot.
See attachment for the complete error text

Can anyone please explain what I need to do to solve this?

Basically Poloniex is closing the connection, are you using IP filter? maybe your IP changed? otherwise is the problem persisting?

I don't see a version number, which tells me you may be using an outdated version of the bot.
Step 1 in troubleshooting our bot is to update to the most recent version. Please do so and get back to us! :)
If the problem doesn't come back, then it is no issue and may have just been temporary problems on Poloniex's end, such as if they were protecting against a DDoS attack.

Thanx for your response. Unfortunatelly this is not the case, I even removed the restriction of the IP-address (temporarely) to see if this solves the problem, but the problem still persists.
Van: Raanan [mailto:notifications@github.com]
Verzonden: maandag 26 maart 2018 21:32
Aan: BitBotFactory/poloniexlendingbot poloniexlendingbot@noreply.github.com
CC: GillBill gkorte@hotmail.com; Author author@noreply.github.com
Onderwerp: Re: [BitBotFactory/poloniexlendingbot] urlopen error [Errno 10054] The external host lost a connection (#620)
Basically Poloniex is closing the connection, are you using IP filter? maybe your IP changed? otherwise is the problem persisting?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/BitBotFactory/poloniexlendingbot/issues/620#issuecomment-376284576, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkDQAEkcJeHSBe9tOqVvnWYdGexF58ZJks5tiUJKgaJpZM4S7B9i.

I suspect the exchange may have in some way blacklisted your IP, hopefully temporarily.
I cannot replicate this issue and it seems to be between you and the exchange.
You may want to generate a new API key and test if that works, or maybe just time will solve it.
If after nearly a week you are still experiencing this issue (without you doing anything that could have caused it) then the problem is probably not on your bot's end, but on your ISP blocking what they think is fraudulent traffic or Poloniex blocking what they think is DDoS.
If you find a solution on your own it would be great to hear it, but I do not think there is anything we can do on our end.

authors: Evanito GillBill rnevet

repo: BitBotFactory/poloniexlendingbot


text:
Market analysis macd (phase 1)

Description
This is the start of a larger piece of work (though would be fine to merge as is).
These changes improve the recording of data by the market analysis module by:

Threading the writes per currency being recorded
Having more data in the files (more accurate time and top 10 offers)
Giving a more realistic (closer to the actual value) and deterministic (currencies reads don't block other currencies due to long waits as they're threaded) time between each row written.

Closes #267
TESTING STAGE
In testing now
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have read CONTRIBUTING.md
[x] I fully understand Github Flow.
[x] My code adheres to the code style of this project.
[ ] I have updated the documentation in /docs if I have changed the config, arguments, logic in how the bot works, or anything that understandably needs a documentation change.
[ ] I have updated the config file accordingly if my change requires a new configuration setting or changes an existing one.
[ ] I have tested the bot with no issues for 24 continuous hours. If issues were experienced, they have been patched and tested again.

I've been playing with poloniex lending feature recently, and it seems relevant to store the "total loan offers", as it can help a lot to predict how far in the offers book it will take to reach higher offers.
I explain:
When there is 100BTC offered, we are quite sure to reach a peak, as the latest offers are very high.
When there is 2kBTC in the offer book, the first 200BTC are following a linear (almost flat) progression.
IMHO, this is a very valuable information, because it helps predicting (and analysing) bursts. WDYT?

@themouette Do you mean the total amount being offered for the currency?
It would certainly be useful information to have, I'd just be worried about how long it would take to transmit as I don't think you can get that in an API call from Polo, we'd have to ask for the whole loan book and total it ourselves. I can do some testing though, as I do think it would be useful.
The code in this PR is currently saving the top 10 loans, though that will be configurable. If it turns out it's not too bad to request the entire book, then we could look at saving that instead of just 10. It takes up a lot of data though.

From my understanding, the user interface uses https://poloniex.com/public.php?currency=BTC&command=returnLoanOrders&limit=999999 call to public api to determine the total amount.
It is very fast as you do not notice it being executed on every data refresh:
Taken from the HTML in lending page:
	    for (side in data){
			var lendingOfferTotal = 0;
			var offers = data[side];
			var html = '

';
			html += 'Rate	';
			html += 'Amount (' + lendingCurrency + ')	';
			html += 'Duration	';
			html += '

';
			for (x in offers){
				lendingOfferTotal += parseFloat(offers[x].amount);
				if (x > lendingOrderBookLimit)
					continue;

				rateString = (parseFloat(offers[x].rate) * 100).toFixed(4);
				amountString = parseFloat(offers[x].amount).toFixed(8);
				rangeString = parseInt(offers[x].rangeMin).toString();
				if (offers[x].rangeMax > offers[x].rangeMin)
					rangeString += "-" + parseInt(offers[x].rangeMax).toString();
				html += '
';
				html += '' + rateString + '%	';
				html += '' + amountString + '	';
				html += '' + rangeString + ' Days	';
				html += '
';
			}
			if (offers.length > lendingOrderBookLimit)
				html += '
		Load More
';
			html += "

";

			$("#" + side + "Total").html(lendingOfferTotal.toFixed(8));
			$("#lending" + side).html(html);
			$("#lending" + side + 'Table').dataTable({
			    'paging': false,
			    'autoWidth': true,
			    'info': false,
			    'scrollY': 198,
			    'bSort' : false,
				'language': { "emptyTable": "There are no loan " + side + "." },
			    'fnInitComplete': function() {
			        $('#lending' + side + 'Table_wrapper')
			        .find('.dataTables_scrollBody')
			        .jScrollPane({
			            verticalDragMinHeight: 20
			       });
			    }
			});
			$("#lending" + side + 'Table').DataTable().draw();
			if (loadMore)
				$('#lending' + side + 'Table_wrapper').find('.dataTables_scrollBody').data('jsp').scrollToY(9999999);
		}

Yea, that's the request that's required.
I did some testing, and on my machine, requesting 10 orders takes about 250ms, requesting the max available (around 1000 at the time) took about 360ms.
So there is a noticeable difference, though I don't think it's enough to worry about.
I'll add a column to the table I'm recording with total volume then.
It could also be a good measure for the removal of dust offers, I'm currently implementing it via a percentile of the 10 best offers. I'll have a think anyway.

This is at the point it could be tested if people were feeling brave, I've a lot more to do though. Everything is hardcoded and there are no docs. Also, it probably only works on linux / mac until I add options for where to store the database.

from what I can see, someone is manipulating rates to keep them really low, It looks like this MR (and some strategy when not using market analysis) to address this issue.
For instance, this morning, there were less than 3k BTC offered for lending, and lending rate was around 0.1%.
Few weeks ago, it would have been at least 0.4 ou 0.5.

I was going to ask for review, but I see there are a lot of codebeat issues.

That's going to take me a while. @rnevet and @Evanito could you start having look at this and I'll work my way through those issues.

We just added codebeat, not sure if it isn't too strict, don't go too crazy with fixing the problems reported by it. Just go through them see if things make sense to you. Can highlight which checks seem too strict.

Some I think are going to be too hard to fit in with it's requirements. Though it's quite interesting analysis in general.

I like the multi-threaded market data recording. Is there anyway I can help to get this merged? Is it worth it for me to resolve the Codebeat warnings?

@druilaap You can see the comments I left and sync with @laxdog if he needs help... Codebeat is considered nice to have, wouldn't start there.

OK, I'm going to look at all these issues soon. Just needed a bit of a break :)
I'll sort it out @druilaap but thanks for the offer.

I'll find a way to test this Codebeat stuff locally, I'll be here all day pushing changes to test.

@laxdog did you see my comments?

The don't start with Codebeat one @rnevet ?
I thought it wouldn't take me long to be honest. Or you mean the other stuff? I've not read through it all yet.

lol, now that you mention it... the codebeat comment was also relevant. ;)
But I meant the other ones.

I haven't been following along completely, but have you looked at this library:
https://tulipindicators.org/
https://tulipindicators.org/macd
https://github.com/cirla/tulipy

@utdrmac I haven't looked at that one in particular, but did have a look at talib, which I've used before and does similar stuff. I'd definitely like to add more analysis and have a load of ideas for things that can be added. But at the minute, I just want to get this merged.
Once this is in it should be easier to add to and improve.

Has there been any backtesting on how much "improvement" MACD analysis will give vs the current algorithm? I guess I'm curious why MACD would be better than the current. Are we expecting better rate calculations? Better in what sense?

I am trying to write some code that sets the lending length based on past market data. At the moment this PR adds code that creates a database for each currency that is being tracked. Would it not be easier if all the market data is stored in one single database? That way, it would be much simpler to do sql queries like "When was the last time that any currency had a lending rate above 1%?".
Sqlite3 is serialized by default, so it should be threadsafe.

authors: druilaap laxdog rnevet themouette utdrmac


text:
Update peers_seeds_and_services.md

Added Panthea EU endpoints

Thanks a lot!

repo: BitCannaGlobal/bcna


text:
Update notification error

— Running 0.6.1 Bitshares on windows. Update button returned notification that Devshares was up to date, but was not running 0.6.2 .

Duplicate: https://github.com/BitShares/web_wallet/issues/510

repo: BitShares/bitshares

license: Unlicense


text:
473 - Notifications

This doesn't actually fix issue 473 because that requires a back end change, but it does make the notifications look better on Android. There was a missing icon I noticed while debugging 473.

Merge on the sprint/22.
PR closed.

authors: brendoncoin jbdtky

repo: Bitcoin-com/Wallet


text:
Find a sustainable solution to the BITBOX vacuum

Since March BITBOX (that CashScript depends on) is no longer maintained. To fix this vacuum, CashScript now uses a combination of BITBOX, bitcoincashjs-lib, and Chris Troutner's forks of those. This is kind of confusing in the code as there is no one way to do things. So we should find a sustainable solution to this problem. The best maintained libraries are currently:

Chris Troutner's bch-js. This is not TS and lacks some of the features that BITBOX has.
bitcore-lib-cash. This has most of the functionality needed, but with a somewhat clunky API.
libauth + electrum-cash. libauth still lacks some required functionality, but this would be the most lightweight solution.

I have good relations with Chris (bch-js), Jonathan (electrum-cash) and Jason (libauth), so I think any of those would be the way to go.

Since March BITBOX (that CashScript depends on) is no longer maintained.

WTF?!? 🤬 Then why not post that shit in BIG BRIGHT LETTERS on https://developer.bitcoin.com?? The API https://rest.bitcoin.com is also incredibly unstable. Had re-write A LOT of code recently, and in the process, migrated over to BitDB/BitSocket and Insomnia from Fountainhead.

I think the way to go is to migrate fully to bch-js some time in the future and work with Chris to make sure the library has all required features.

I actually haven't used bch-js personally, but Chris is a super dev (very consistent) in my book, so this makes the most sense.

bitcore-lib-js. This has most of the functionality needed, but with a somewhat clunky API.

Did you mean bitcore-lib-cash? or do they both basically work the same? I'm currently using it with my own library NitoJS, still a WIP .. Plan is to build the APIs to match BITBOX functionality with BitDB/BitSocket support. Also will have built-in failovers for if/when an endpoint goes down (a MUST if you're doing anything on-chain).

Yes I meant bitcore-lib-cash 😅. I've also been using @bitjson's libauth (previously bitcoin-ts), which is great as well, but doesn't have all the same features yet. I'll add NitoJS as well.
Currently I'm trying to cut down on the dependencies, and BITBOX is pretty heavyweight (and unfortunately so is BCH-JS). So what I'm considering to do is use libauth (0 dependencies) for all utility functions and @monsterbitar's electrum-cash for all network operations. That would drastically reduce the footprint of the library, which would be good.

For good measure I wrote down a list of functionality requirements I have for a BCH library so I can use it in CashScript exclusively.
Requirements for utility library:

Provide enum/object of all opcodes
Compile Script between three formats (ASM, hex, list of opcodes and data)
Minimally encode JS numbers to script numbers
Decode script numbers to JS numbers
hash160
decode/encode P2SH input and output scripts
Convert from output script to P2SH address or from redeem script to P2SH address
Build a transaction

Add (partial) inputs
Add outputs (including OP_RETURN)
Setting sequence and encoding BIP68 (can also use bip68 separately)
Setting locktime
Generate sighash preimage
Transaction signing / general signing with Schnorr signatures

Requirements for network library:

Get current block height
Retrieve address' list of UTXOs (confirmed and unconfirmed)
Retrieve address' balance (confirmed and unconfirmed) - can be derived from previous point
Send raw transaction
Retrieve transaction details

So what I'm considering to do is use libauth (0 dependencies) for all utility functions and @monsterbitar's electrum-cash for all network operations.

wasn't familiar with libauth; will definitely check it out, as I'd also like to keep my library small; but fair warning, that's NOT the priority atm .. eventually (down the road), I'd like to modularize it into smaller parts, but right now I just need my shit to work (so size doesn't matter to me)..
@monsterbitar's electrum-cash is probably my favorite library right now .. I absolutely ❤ the way the clustering works, and have started to mimic the functionality in NitoJS .. the only issue I have is that it depends on ElectrumX servers (using TCP), so it doesn't work via web browsers (at least not that I'm aware of), even though I see mention of web sockets in their docs..
fwiw, I'm pretty committed to ONLY creating apps that can be run from an IPFS gateway 😉

For good measure I wrote down a list of functionality requirements I have for a BCH library so I can use it in CashScript exclusively.

nice! 👍
I'll be diving much deeper into CashScript over the next few weeks .. I'm currently modifying the Mecenas contract to work with a price Oracle (using the logic from your HodlVault example) .. it's the last piece before I can finally launch Causes Cash .. I'll likely be hitting you up to review that contract in the next few days .. but also considering a Flipstarter to fund an "official" security audit w/ optimizations from Kalis Inc 😉

Some links to get you started with Libauth:

Provide enum/object of all opcodes

OpcodesBCH
OpcodeDescriptionsBCH
bitcoinABCOpcodes – the names used by ABC (removes some underscores and excludes the OP_ prefix, e.g. OP_PUSHDATA_1 is PUSHDATA1)

Compile Script between three formats (ASM, hex, list of opcodes and data)

For hex <-> Uint8Array (try searching binTo in the docs to see a lot of the formatting utils):

hexToBin
binToHex

For Uint8Array <-> ParsedAuthenticationInstructions (can be malformed) -> AuthenticationInstructions (always valid):

parseBytecode - try the generic for stronger typing, e.g. parseBytecode<OpcodesBCH>(hexToBin(hex))
serializeParsedAuthenticationInstructions
authenticationInstructionsAreMalformed type guard
authenticationInstructionsAreNotMalformed type guard
serializeAuthenticationInstructions (only valid instructions)
stringify (basically a JSON.stringify which supports Uint8Array and BigInt)
strigifyTestVector this can save you a lot of time

For Uint8Array <-> ASM:

assembleBytecodeBCH
disassembleBytecodeBCH
maybe also useful: disassembleParsedAuthenticationInstructions

Also notable:

assembleBitcoinABCScript - Bitcoin ABC's lossy ASM format (can't encode all push operations), currently used by script_tests.json

Minimally encode JS numbers to script numbers

encodeDataPush(bigIntToScriptNumber(BigInt(num))) or encodeDataPush(bigIntToScriptNumber(parseBytesAsScriptNumber(nonMinimalNumber))) (see the docs for encodeDataPush)

bigIntToScriptNumber
encodeDataPush - Returns the minimal bytecode required to push the provided data to the stack. [...]

Decode script numbers to JS numbers

parseBytesAsScriptNumber (this one has pretty extensive docs about Script Numbers in general, too)

And some related stuff:

booleanToScriptNumber
padMinimallyEncodedScriptNumber

hash160

instantiateRipemd160
instantiateSha256

Convert from output script to P2SH address or from redeem script to P2SH address

cashAddressToLockingBytecode
lockingBytecodeToCashAddress
base58AddressToLockingBytecode
lockingBytecodeToBase58Address
addressContentsToLockingBytecode
lockingBytecodeToAddressContents

For transaction building and signing, I recommend you either wait to switch until the transaction generation APIs in Libauth are stable, or role your own (for simple cases like going to/from P2PKH, the Libauth transaction compiler probably isn't necessary 😅).
For signing, note that Libauth uses the term "signing serialization" rather than "sighash", so the method you'll need is generateSigningSerializationBCH.
And please be sure to open issues/PRs in the Libauth repo if you come across confusing or incorrect docs!

If these changes happens is it gonna be backward compatible to Bitbox? considering that SignatureTemplate is using a Bitbox object, I assume it's possible to ducktype the object and support both the old and new way?

That is a very good point @p0o! I think it should be possible to keep that same interface and allow you to input a bitbox ECPair. This is definitely something I'll keep in mind.

This has been resolved. CashScript no longer has any dependency on BITBOX. It now uses Libauth for all utility functionality, and uses a NetworkProvider interface for network operations. NetworkProviders are available for electrum-cash, bch-js and bitbox, while electrum-cash is the default. Anyone else can implement a different network provider using a different library (or even for a different network, such as BTC 🤷♂) if they want to.
Regarding @p0o's point, the CashScript SDK is now library-agnostic and can be combined with any library if needed. The first argument of SignatureTemplate used to be a bitbox ECPair, but can now be a bitbox or bchjs ECpair, a bitcore-lib-cash PrivateKey a WIF string or a raw private key buffer. As long as the library supports exporting a private key as WIF or raw buffer, it is compatible.

authors: bitjson nyusternie p0o rkalis

repo: Bitcoin-com/cashscript


text:
typo corrected

Fix for issue #5

Thanks

authors: BitcoinQnA snake-eaterr

repo: BitcoinQnA/BitcoinPrivacyGuide


text:
Feature Request: Attribute Filtering

Recently attributes found on the implementation class were persisted to the generated interface as covered in issue #3 .
This change was a welcomed change and received well as the default use-case, and I appreciate you fulfilling this request.
However, a coworker pointed out a scenario when used with another code generating package, where the attributes there exist to drive behavior within the generated mapper.
namespace MyApp;

[AutoInterface]
[Mapper(EnumMappingStrategy = ByName, UseReferenceHandling = true)]
public sealed partial class Mapper : IMapper
{
   [MapperIgnoreSource(nameof(Data.FilterCategory.CreatedTs))]
   [MapperIgnoreSource(nameof(Data.FilterCategory.LastUpdatedTs))]
   [MapperIgnoreTarget(nameof(Services.FilterCategory.ChildFilterCategory))]
   [MapProperty([nameof(Data.FilterCategory.ColorFilterCategory), nameof(Data.FilterCategory.ColorFilterCategory.Hex)], [nameof(Services.FilterCategory.Hex)])]
   public partial Services.FilterCategory MapFrom(Data.FilterCategory source);
}

Generates:
// <auto-generated/>
#pragma warning disable
#nullable enable annotations

namespace MyApp;

public interface IMapper {
   [MapperIgnoreSource(nameof(Data.FilterCategory.CreatedTs))]
   [MapperIgnoreSource(nameof(Data.FilterCategory.LastUpdatedTs))]
   [MapperIgnoreTarget(nameof(Services.FilterCategory.ChildFilterCategory))]
   [MapProperty([nameof(Data.FilterCategory.ColorFilterCategory), nameof(Data.FilterCategory.ColorFilterCategory.Hex)], [nameof(Services.FilterCategory.Hex)])]
   Services.FilterCategory MapFrom(Data.FilterCategory source);
}

I am not opinionated on whether those attributes are persisted to the interface as there doesn't appear to be any obvious concerns. However, we have observed odd behavior with the mapper logic itself for some generated maps with the addition of AutoInterface. Although we haven't pin-pointed the exact cause, it does appear that when we declare the interface ourselves, omitting the corresponding attributes, we observe the expected behavior of the mapper.
The actual mapper in question is vast and we had hoped to leverage AutoInterface for code maintainability purposes, keeping our implementation and contracts in sync.
Ideally, for some distinct scenarios, it might be beneficial to control which attributes are filtered out of the interface.
A suggested approach:
namespace MyApp;

[AutoInterface(ExcludeAttributes = [typeof(MapperIgnoreSource), typeof(MapperIgnoreTarget), typeof(MapProperty)])]
[Mapper(EnumMappingStrategy = ByName, UseReferenceHandling = true)]
public sealed partial class Mapper : IMapper
{
   [MapperIgnoreSource(nameof(Data.FilterCategory.CreatedTs))]
   [MapperIgnoreSource(nameof(Data.FilterCategory.LastUpdatedTs))]
   [MapperIgnoreTarget(nameof(Services.FilterCategory.ChildFilterCategory))]
   [MapProperty([nameof(Data.FilterCategory.ColorFilterCategory), nameof(Data.FilterCategory.ColorFilterCategory.Hex)], [nameof(Services.FilterCategory.Hex)])]
   public partial Services.FilterCategory MapFrom(Data.FilterCategory source);
}

Perhaps there are use-case scenarios where more granular control could be needed, but I thought a simple start might suffice.
Thanks for your consideration.

It is unlikely that the generated attributes of AutoInterface influence the generation of Mapperly, because source generators are independent from each other. Each source generator gets as input the source code before any generation. A source generator cannot see the output of another generator, so for Mapperly the generated interfaces does not exist.
Maybe the problem is exactly that: Somewhere Mapperly needs to read an interface, but the interface is not present because it will be generated by AutoInterface and Mapperly is not able to see it. And when the interface is created manually, Mapperly has no problems finding the interface.
Another thing that is possible is when working with multiple .csproj/assemblies. When code is generated in the first .csproj and the second .csproj has a reference on the first .csproj, then the generated code of the first .csproj is visible for the generators of the second .csproj.
In this case the generated attributes of AutoInterface are visible to Mapperly, but the [Mapper]-attribute is not present at the interface, so it should not affect anything.
I want to wait until you pin-point the exact cause before making a decision, because I still think that the attributes do not harm and the cases they do harm are so rare, that this feature is not worth it.
In case you do not know, you can use <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> to save the generated source code to disk.
Good Luck

The team was able to reproduce the bug without AutoInterface involved at all. So their initial assumptions were incorrect and therefore this feature request should not be needed. Thanks for the consideration.

authors: BlackWhiteYoshi ristogod

repo: BlackWhiteYoshi/AutoInterface


text:
Prueba

No description provided.


text:
Add syntax for supplying multiple fastq files to docs

see https://groups.google.com/d/msg/transrate-users/eCHEJKzhwO0/o9e5a5CVJQwJ

Added to command-line help: 1a1404748180a88cf99bdce1ca698c396cd4762b

repo: Blahah/transrate


text:
I have the most recent version of python but

Two errors appear whenever I load it
'python' is not recognized as an internal or external command, operable program or batch file.
or
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
I have python 3.11.2 and ive tried disabling, re-enabling app execution aliases and when i disable that it gives me the first error, i dont know what "install from microsoft store" means or how to disable that

Disable from execution aliased.
When using the python installer, tick the "Add Python to PATH" option.

authors: Blank-c YuyaHam

repo: Blank-c/Blank-Grabber


text:
Fix some issue with the client preview for the tag and task preview widgets

@JavaCafe01
Some other issues:

I think these widgets should be turned into proper objects, with methods like :show() :hide() and :toggle() instead of the current signals.
When there isn't an available client.content to preview, the tag preview displays a black background with the client icon in the cener. The task preview before this PR would always show the client.content, so there wasn't a need for that - but maybe we should at now do it here too?
The task preview height differes between clients. I think it has to be with the title not being limited in size?
What about using #129 to the get the icons for the running clients? It will retrive the icon for the running client from the currently system selected icon theme, or whatever theme was passed to the constructor

@Kasper24

I think this is a great idea. I believe Bling is overusing signals :smile:. I think we can wait for #99 to finish or add this to the list for that PR.

The client icon is already shown in the preview, so I think if there is nothing to show we just don't show an image (just the icon and title), or we can show the AwesomeWM logo as a fallback.

That, and maybe also because the client previews are different sizes?

Seems like a good idea! But for a different PR, not this one.

repo: BlingCorp/bling


text:
🛑 Wikipedia is down

In fe21ba0, Wikipedia (https://en.wikipedia.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wikipedia is back up in 33a33cb after 10 minutes.

repo: Blissaw/uptime


text:
Non-admin players unable to change brush type or shape after reloading the server.

Description
I have this issue on my server where players who aren't operators are unable to select the brush type and shape in the GUI and they show up as as blank. This occurs after reloading the server.

Versions

PocketMine version: PocketMine-MP 3.12.0
BlockSniper version: v3.2.3
Minecraft version: Bedrock Edition v.1.14.60 (protocol version 390)

Crashdump and/or console errors
No console errors or crash.

What do you mean by reloading the server? If you are referring to the /reload command, this command has problems with most plugins. (It is going to be removed from PocketMine soon)

Ah, didn't know /reload was causing issues and that it's going to be removed.

repo: BlockHorizons/BlockSniper


text:
Simplify examples by using ES6

Also updated the {{#each}} to the new syntax.

Nice, thanks!

authors: knownasilya ynnoj

repo: Blooie/ember-cli-notifications


text:
Erase collection of non-consecutive nodes from vector

Since this function is requested often:
it would be cool to have a function (for every node vector) that erases an arbitrary collection of non-consecutive nodes from a vector.
Interesting note:
since our vectors are typically vectors of pointers there is no risk of having duplicate entries since every pointer goes to a different location in memory (if we compare pointers)

It is useful to simplify https://github.com/BlueBrain/nmodl/pull/230

repo: BlueBrain/nmodl


text:
Ask to load settings from backup as part of the setup process

No content

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @zach in #feedback.

done

repo: BlueBubblesApp/bluebubbles-app


text:
[Android] Enter to send doesn't refocus text field

from willxzero: so i was messing around with it, if i press space bar it will go back to typing area if anybody is having that issue

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @tneot01 in #android-support.

Likely only applies to tablet mode


text:
🛑 hosted-PalmettoGBA is down

In 687f906, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 63fdcc2 after 19 minutes.


text:
🛑 hosted-PalmettoGBA is down

In 4ae2378, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 91ed16b.


text:
🛑 hosted-PalmettoGBA is down

In 3b1013c, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in e1e17de.


text:
🛑 DRMedRemote is down

In e0f7a4b, DRMedRemote (https://drmedremote.bcbssc.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DRMedRemote is back up in faffe72 after 14 minutes.


text:
🛑 ComRemote is down

In 44f78c0, ComRemote (https://comremote.bcbssc.com/vpn/index.html) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ComRemote is back up in c0f5169 after 6 minutes.


text:
🛑 hosted-PalmettoGBA is down

In 613184e, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 7932862 after 9 minutes.


text:
🛑 hosted-PalmettoGBA is down

In 24bd4d6, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in a5d83c2 after 37 minutes.


text:
🛑 DRTriRemote is down

In cbff2e2, DRTriRemote (https://drtriremote.bcbssc.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DRTriRemote is back up in 29e6d7d after 15 hours, 2 minutes.


text:
🛑 hosted-PalmettoGBA is down

In 363afb8, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 6ee4d27 after 9 minutes.


text:
Support for Antarctica?

Hi! I am trying to integrate an address form with collecting a user's phone number using intl-tel-input.
I was randomly testing addresses and ran one for Antarctica which in turn populated intl-tel-input's defaultCountry with continent code "aq" and, when I got an error back, realized that intl-tel-input doesn't include Antarctica's dialing code of +672.
I know this represents a tiny portion of users but was wondering if there are plans to include it? If the issue is establishing what to use for a flag, perhaps the emblem of the Antarctic Treaty (as officially resolved in 2002: http://www.ats.aq/devAS/info_measures_listitem.aspx?lang=e&id=289) could be used in lieu of a flag?
A minor point in an otherwise excellent package! Thank you!

Just realized that +672 is also the dialing code for Norfolk Island and when I enter "nf" in lieu of "aq," the national number format for Norfolk Island seems to correspond with Antarctica's too (although I can't find any definite Antarctic numbers to be absolutely sure). In light of that, I will do a little behind the scenes country code switcheroo if a user enters an address in the Antarctic.

According to Wikipedia's List of country calling codes, +672 is the dial code of Australian External Territories, which include Norfolk Island (+672 3) and Australian Antarctic Territory (+672 1). I think we should update the metadata to reflect that, seeing as Australian Antarctic Territory just uses Australia's normal flag, so that's easy.
Unfortunately I don't have time to implement this myself right now, but I would be happy to accept a pull request.

See comment on pull request.

authors: jackocnr mpmurph

repo: Bluefieldscom/intl-tel-input


text:
Make download and preparation of the geoname dataset and countrycodes table part of the package installation.

Right now, the data is fetched when Geocoder is run for the first time. It would make more sense to move this step to the installation step to avoid runtime errors related to missing/incomplete data.

[ ] Add build step to the package
[ ] Store the datasets in scratch spaces

I think downloading the data to Scratch would be a good improvement.
Alternatively using the artifact system, but generally being lazy with the download is fine.

authors: BoZenKhaa vchuravy


text:
节点列表-节点状态，国旗显示从汉字 “地区”识别改为emoji的建议

你好，开发者。
在v2b后台节点名称上，一般的设置为“ 🇺🇸 US02 4837 500m”的名称，其中，“🇺🇸”为emoji,这样的好处是在clash v2rayng 小火箭等能显示国旗的客户端，都会有如图的结果。

可是这样的设置在该主题下并不能很好的显示国旗

该主题的只有在名称为 【地区】-xx  的情况下才能正确显示国旗

在clash v2rayng 小火箭的客户端会有如下显示

因此，我建议将该主题的国旗识别从 中文【地区】 改为 emoji

已修复


text:
constexpr all the things

LA operators are not constexpr for statically known bounds (literal types). The following code fails to compile:
template<Unit U = si::metre>
using v_length = fs_vector<si::length<U>, 3>;

static_assert(v_length<>{ 1q_m, 2q_m, 3q_m } + v_length<>{ 3q_m, 2q_m, 1q_m } == v_length<>{ 4q_m, 4q_m, 4q_m });

done for r7z

authors: BobSteagall mpusz

license: NCSA


text:
Add the ability to pass hostName in the argument (Fixes #1)

@BondAnthony
Added the ability to pass in a hostname. Currently if you do not pass a hostName it will default to the old behavior of using a UUID. I will wait until #3 is merged before adding a test.

Coverage remained the same at 67.742% when pulling bd3b138eb733ab5684ea750a5bd1bd462b438cfc on sapanshah:master into a9a4110a2c3d405beb9d30fb00c7ffc8df8945ed on BondAnthony:master.

Coverage remained the same at 67.742% when pulling df5f97c9be39af70db52c6acf8d0115d7dc29df5 on sapanshah:master into a9a4110a2c3d405beb9d30fb00c7ffc8df8945ed on BondAnthony:master.

Coverage increased (+19.4%) to 87.097% when pulling c107ff2eb9a853c7d2543b8d3edf3082bb3cc19e on sapanshah:master into a9a4110a2c3d405beb9d30fb00c7ffc8df8945ed on BondAnthony:master.

authors: coveralls sapanshah

repo: BondAnthony/status-service


text:
Highlight search term in search results

Describe the feature you'd like
Show and highlight the search term in each search result.
Describe the benefits this feature would bring to BookStack users
It is very helpful to have this additional context in order to select the search result most relevant to your query.
Additional context
Example of this in action for additional clarity (example used is Wikipedia):

Hi @jameswmcnab,
Thanks for the detailed request, I think this is essentially already covered by #997. Therefore to cut down on duplicates I'll close this request.

Thanks @ssddanbrown!
I hadn't seen that issue when I searched before opening this but yes this is a duplicate.

authors: jameswmcnab ssddanbrown

repo: BookStackApp/BookStack


text:
[FEATURE] Add an explanation on how to reference the api documentation

Is your feature request related to a problem? Please describe.

The API specification is automatically generated by the framework (FastAPI), but an explanation of this should be added.

Describe the solution you'd like

Add an explanation to the readme

repo: BoostryJP/ibet-Prime


text:
Fix bug in copy to read-ahead buffer.

Issue #10

Coverage remained the same at 97.531% when pulling 5c0e39c060fc966113b9a6aa8bb4058e57b4f984 on issue-10 into 51645bed738f14fc18adccb4c7eb5f281848e615 on master.

authors: Borewit coveralls

repo: Borewit/then-read-stream


text:
🛑 Supervision BRS is down

In 7e58439, Supervision BRS ($SUPERVISION_BRS_URL) was down:

HTTP code: 525
Response time: 400 ms

Resolved: Supervision BRS is back up in 2ee86eb after 11 minutes.

repo: BorneRecharge/uptime


text:
Define database schema

Create the schema and pull it, so the team can create the same database with the same tables.
take github username give cohort
region/cohort

id: 1
name: LDN9
start_date

trainee

id: 1
gitHub_user_name: Sam1000
full_name: Sam Smith
email: sam@example.com
cohort_id: 1

done.

authors: OlenaReukova Zobeir-Rigi

license: ISC


text:
🛑 demolovi is down

In 570b630, demolovi (https://demolovi.botslovers.com) was down:

HTTP code: 500
Response time: 683 ms

Resolved: demolovi is back up in 5ae4870.

repo: Botslovers-SL/uptime


text:
🛑 siemensmails is down

In b7d59f7, siemensmails (https://siemensmails.botslovers.com/) was down:

HTTP code: 503
Response time: 430 ms

Resolved: siemensmails is back up in 9ab5580 after 8 minutes.


text:
🛑 spell is down

In efd43e6, spell (https://spell.botslovers.com/spell/spells) was down:

HTTP code: 502
Response time: 507 ms

Resolved: spell is back up in 408883f.


text:
Half hourly reporting

Is it possible to have half hourly / hourly values displayed as half hourly values are available in the api?
Not sure if this possible, but I currently only get the accumulated value at 4am each day.
Cheers

Hi there, sorry for the late response - Work life is busy at the moment.
When you say display, do you mean in the energy dashboard or separate sensors?
For the energy dashboard, no as HA currently only officially supports "live" data which is why we have the accumulations for the previous day. There is an issue which has uncovered a way of potentially porting stats historically, but there is currently no documentation (which makes me nervous about how stable it is) and I haven't had the time to investigate.
In terms if separate sensors, I'm not sure how useful this would be.
I can however look at exposing the breakdowns on the accumlation sensor as an attribute. That way you can create template sensors and then do what you need with the data?

No need to apologize.
Sorry, yes I meant the breakdown on the energy dashboard.
The officially supporting only live data makes sense as to why its not possible yet. I was curious as I could see the data from Octopus being in 30 minute intervals. If HA does support / document importing historic data, that would be nice to throw the previous days break down in.

Yeah I can understand why your output is causing confusion.

Octopus publish your daily usage in 30 minute intervals one day in arrears, as a bulk upload.

Ideally this is what Octopus would do, however in testing and with previously raised issues, this is not what occurs in practice. There are days when Octopus part publishes the previous days worth of data, and then publishes the rest later on in the day. This is what looks like is happening in your instance, which results in the dashboard summing the partial total and actual total. I'm not sure why one of your days is going negative when the value is clearly positive. This might be a bug with HA.
I tried to combat the partial updates by waiting for there to be 48 entries available before updating the sensor. Unfortunately, some other users ended up never seeing their sensors update because there was missing data.
I'll add something to the list to see about making the entry threshold configurable before the sensors are updated. This way, users can reduce this threshold in instances where their meter might be missing half hour blocks.

Cheers, I think I’ve got it now. I’d say that with these limitations considered you’ve implemented this in the best way. Truthfully though until retrospective data loads are possible there will always be issues esp. with such an inconsistent 3rd party.
I had a look and there are a number of CRs logged to add this functionality to load historical data.  None of them seem to be getting off the ground. I’m guessing that something in the ability to retrospectively modify sensor data must break something architecturally. Would definitely cause issues for any feeds out of HA (e.g. to Influx).
There are some cowboy suggestions for doing your own SQL updates to the HA database but am sure you’ve seen these and discounted the approach as being too risky. E.g.
https://community.home-assistant.io/t/remove-faulty-readings-from-energy-dashboard-history/335555
Will put my mind to it and let you know if I can think of another approach.

Closing this issue until a better solution from home assistant is possible.

authors: BottlecapDave gitothy reecebedding


text:
L message doesn't look the same as described here

Hello,
I am using a Wemos D1 board to connect to the cube and try to read the messages sent. I cannot seem to request only the L message, so I tried to read the entire message sent by the cube on connect, because the L message is sent by default. But what I get doesn't look the same as described here. Please have a look below:
H:LEQ0128320,0ed2a3,0113,00000000,2987aef7,00,32,110b0c,0d2d,03,0000
M:00,01,VgIDAQdMaXZpbmcxEs+qAgdMaXZpbmcyEtGvAwdMaXZpbmczEsnZAwISz6pNRVExMjkwODAwFVJhZGlhdG9yIFRoZXJtb3N0YXQgMQECEsnZTUVRMTI5MjI4MxVSYWRpYXRvciBUaGVybW9zdGF0IDEDAhLRr01FUTEyOTAyODcVUmFkaWF0b3IgVGhlcm1vc3RhdCAxAgE=
C:0ed2a3,7Q7SowATAQBMRVEwMTI4MzIwAQsABEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsABEAAAAAAAAAAQQAAAAAAAAAAAAAAAAAAAAAAAAAAAGh0dHA6Ly9tYXguZXEtMy5kZTo4MC9jdWJlADAvbG9va3VwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVFVAAACgADAAAcIEVFU1QAAwACAAAqMA==
C:12c9d9,0hLJ2QIDEP9NRVExMjkyMjgzKyE9CQcYAzAM/wBESFUIRSBFIEUgRSBFIEUgRSBFIEUgRSBFIERIVQhFIEUgRSBFIEUgRSBFIEUgRSBFIEUgWSBZIFkgWSBZIFkgWSBFIEUgRSBFIEUgRSBZIFkgWSBZIFkgWSBZIEUgRSBFIEUgRSBFIFkgWSBZIFkgWSBZIFkgRSBFIEUgRSBFIEUgWSBZIFkgWSBZIFkgWSBFIEUgRSBFIEUgRSBZIFkgWSBZIFkgWSBZIEUgRSBFIEUgRSBFIA==
C:12cfaa,0hLPqgIBEABNRVExMjkwODAwKyE9CQcYAzAM/wBESFUIRSBFIEUgRSBFIEUgRSBFIEUgRSBFIERIVQhFIEUgRSBFIEUgRSBFIEUgRSBFIEUgRGBVFEUgRSBFIEUgRSBFIEUgRSBFIEUgRSBEYFUURSBFIEUgRSBFIEUgRSBFIEUgRSBFIERgVRRFIEUgRSBFIEUgRSBFIEUgRSBFIEUgRGBVFEUgRSBFIEUgRSBFIEUgRSBFIEUgRSBEYFUURSBFIEUgRSBFIEUgRSBFIEUgRSBFIA==
C:01bbcf,EQG7zwUAEg9KRVEwMzA4NDEy
C:12d1af,0hLRrwICEABNRVExMjkwMjg3KyE9CQcYAzAM/wBESFUIRSBFIEUgRSBFIEUgRSBFIEUgRSBFIERIVQhFIEUgRSBFIEUgRSBFIEUgRSBFIEUgRGBVFEUgRSBFIEUgRSBFIEUgRSBFIEUgRSBEYFUURSBFIEUgRSBFIEUgRSBFIEUgRSBFIERgVRRFIEUgRSBFIEUgRSBFIEUgRSBFIEUgRGBVFEUgRSBFIEUgRSBFIEUgRSBFIEUgRSBEYFUURSBFIEUgRSBFIEUgRSBFIEUgRSBFIA==
L:CxLJ2QkAAAAAAAAACxLPqgkAAAAAAAAABgG7zwkAAAsS0a8JAAAAAAAAAA==
This exact same L message is being sent each time I connect to the Cube.
Do you know what might be the issue?
Thank you in advance.
Kind regards,
Szilard Dezso

Good night.
That is not a L: reply form cube is the Hello automatic message send by the Max Cube when have a new connection from a client.
Sems you "catched" the Hello message reply and not the reply form L: .
Hope this helps.
Bye

The last line looks like a correct L message to me.
On connect the cube sends 1 H message 1 ore more M messages, a C message for each device and 1 L message.

authors: HMvdZijden jirmjos szilyd

repo: Bouni/max-cube-protocol


text:
[BUG] parser error

Description
The event parser fails to parse the event for multi-user moves successfully.
Expected Behavior
The event is parsed, and a list of all moved users is returned.
Actual Behavior
An error is thrown.
ERROR ts3_query_api::protocol::reader] Connection closed: ArgTypeError { key: "clid", value: "167|clid=178", expected_type: "u32", error: "invalid digit found in string" }

Version
dev ef721ba854e8749ce5e150922ba23b17e31f2132

fixed by 8821c994071153086d6eba01a476243f9fe2376e


text:
Running network from JSON seems inaccurate with hundreds of JSON objects?

I'm utilising the fromJSON option of Brain JS to output my network to a json file and load it back in, however, I'm confused as to how I'm meant to train this...
Am I meant to run one set of data through the network in the .run([]) and then use that one json file for other data running through the data, or, am I meant to train it and keep appending data to the JSON file, either way, the following seems to return mostly the same result all of the time, I've stripped most of the training data, but the array of objects would be thousands of objects:
// require packages
const brain = require('brain.js')
const fs = require('fs');
const path = require('path');
const args = require('minimist')(process.argv.slice(2))

// check if we have a trained network already
const checkIfNetworkExists = fs.existsSync('./js/generate/data/trained-network.json')

// Loan & Term: init Training Pattern
const myNetwork = new brain.NeuralNetwork({hiddenLayers: [7, 7]})
if (!checkIfNetworkExists) {
  const trainingData = [
    {input:[451,2200,42,0,650,200,150],output:[0,1,1,0,0,1,1]},{input:[851,1400,52,150,500,50,850],output:[0,1,1,0,0,0,0]}
  ]

  // train the network
  if (args['enableAsyncTraining'] && args['enableAsyncTraining'] === 'true') {
    myNetwork.trainAsync(trainingData, trainingOptions)
  } else {
    myNetwork.train(trainingData, trainingOptions)
  }

  // write trained network to file
  fs.writeFileSync('./js/generate/data/trained-network.json', JSON.stringify(myNetwork.toJSON(), null, '  '));
} else {

  // load network if it exists
  myNetwork.fromJSON(JSON.parse(fs.readFileSync('./js/generate/data/trained-network.json', 'utf8')));
}

// run the network
myNetwork.run([100, 2000, 40, 6, 650, 200, 100])

Each time you train network with new data, network is updated. This means you just need to update/replace your json with newly generated one.

@mubaidr My JSON file is 292 lines long, do I need to add another parent object to the end with each training? How would I update the network whilst retaining the performance?
{
  "sizes": [
    7,
    7,
    7,
    7
  ],
  "layers": [
    {
      "0": {},
      "1": {},
      "2": {},
      "3": {},
      "4": {},
      "5": {},
      "6": {}
    },
    {
      "0": {
        "bias": 0.09439083188772202,
        "weights": {
          "0": -0.7670116424560547,
          "1": -0.6642861366271973,
          "2": -0.19578738510608673,
          "3": -0.21747833490371704,
          "4": -0.14496855437755585,
          "5": -0.11916668713092804,
          "6": -0.2401152402162552
        }
      },
      "1": {
        "bias": -0.15841266512870789,
        "weights": {
          "0": -0.5381118655204773,
          "1": -0.5877346992492676,
          "2": -0.04498208686709404,
          "3": 0.09252215921878815,
          "4": -0.4555858373641968,
          "5": 0.0008982665603980422,
          "6": 0.1640717089176178
        }
      },
      "2": {
        "bias": -0.04460155963897705,
        "weights": {
          "0": 1.3179415464401245,
          "1": 0.6098086833953857,
          "2": 0.1907377690076828,
          "3": 0.2269635796546936,
          "4": -0.11790905147790909,
          "5": 0.30080828070640564,
          "6": 0.1771688163280487
        }
      },
      "3": {
        "bias": -0.006974233780056238,
        "weights": {
          "0": 0.19547560811042786,
          "1": 0.14253273606300354,
          "2": 0.12966442108154297,
          "3": 0.15862159430980682,
          "4": 0.06666643172502518,
          "5": 0.06027138978242874,
          "6": 0.09067974984645844
        }
      },
      "4": {
        "bias": 0.04890609532594681,
        "weights": {
          "0": -0.26986971497535706,
          "1": -0.2122180163860321,
          "2": -0.19262979924678802,
          "3": 0.2195170819759369,
          "4": -0.09843645244836807,
          "5": 0.0943814292550087,
          "6": -0.11620646715164185
        }
      },
      "5": {
        "bias": 0.007766162045300007,
        "weights": {
          "0": 0.19123606383800507,
          "1": 0.17956386506557465,
          "2": -0.16825221478939056,
          "3": -0.2137739360332489,
          "4": 0.0667356327176094,
          "5": 0.20001071691513062,
          "6": 0.06469400972127914
        }
      },
      "6": {
        "bias": -0.14158064126968384,
        "weights": {
          "0": 0.269572913646698,
          "1": 2.356199026107788,
          "2": -0.04505547136068344,
          "3": 0.27069488167762756,
          "4": 1.0695784091949463,
          "5": 0.6510146260261536,
          "6": 1.067539930343628
        }
      }
    },
    {
      "0": {
        "bias": -0.7611159086227417,
        "weights": {
          "0": -0.0686710998415947,
          "1": -0.24292978644371033,
          "2": -0.8989506959915161,
          "3": -1.0361626148223877,
          "4": -3.3347342014312744,
          "5": -0.9127030372619629,
          "6": -0.7809993028640747
        }
      },
      "1": {
        "bias": -0.6161317229270935,
        "weights": {
          "0": 0.01872648298740387,
          "1": -0.44291770458221436,
          "2": -0.8336756229400635,
          "3": -0.8752111196517944,
          "4": -3.327821969985962,
          "5": -0.8654630184173584,
          "6": -1.1974551677703857
        }
      },
      "2": {
        "bias": -0.5951817631721497,
        "weights": {
          "0": -0.00733727402985096,
          "1": -0.6064631342887878,
          "2": -0.9993404746055603,
          "3": -0.6716686487197876,
          "4": -3.4572129249572754,
          "5": -0.9579042196273804,
          "6": -1.1782407760620117
        }
      },
      "3": {
        "bias": -0.5544703602790833,
        "weights": {
          "0": 0.03121502883732319,
          "1": -0.4008966386318207,
          "2": -1.0554537773132324,
          "3": -0.9632909297943115,
          "4": -3.0501139163970947,
          "5": -0.8849554061889648,
          "6": -0.8785363435745239
        }
      },
      "4": {
        "bias": -0.8543322682380676,
        "weights": {
          "0": 0.03028627671301365,
          "1": -0.08175212144851685,
          "2": -1.1896885633468628,
          "3": -0.7588884830474854,
          "4": -3.4440109729766846,
          "5": -0.9725902080535889,
          "6": -0.6348049640655518
        }
      },
      "5": {
        "bias": -0.895724356174469,
        "weights": {
          "0": 0.19649137556552887,
          "1": -0.44556358456611633,
          "2": -1.098259449005127,
          "3": -0.960195004940033,
          "4": -3.355997085571289,
          "5": -0.73044353723526,
          "6": -0.7049161791801453
        }
      },
      "6": {
        "bias": -0.7397876381874084,
        "weights": {
          "0": -0.113799549639225,
          "1": -0.2322213351726532,
          "2": -0.8513315916061401,
          "3": -0.8888430595397949,
          "4": -2.009086847305298,
          "5": -0.775073766708374,
          "6": -1.0452015399932861
        }
      }
    },
    {
      "0": {
        "bias": 0.4242694079875946,
        "weights": {
          "0": 1.6234968900680542,
          "1": 1.6203052997589111,
          "2": 1.6591789722442627,
          "3": 1.513173222541809,
          "4": 1.6682435274124146,
          "5": 1.6272711753845215,
          "6": 1.2238273620605469
        }
      },
      "1": {
        "bias": 6.9684882164001465,
        "weights": {
          "0": 1.5869325399398804,
          "1": 1.2068145275115967,
          "2": 1.763297438621521,
          "3": 1.39811110496521,
          "4": 1.450259804725647,
          "5": 1.299032211303711,
          "6": 0.8678433299064636
        }
      },
      "2": {
        "bias": 6.967097282409668,
        "weights": {
          "0": 1.4249857664108276,
          "1": 1.0491899251937866,
          "2": 1.8390330076217651,
          "3": 1.521957278251648,
          "4": 1.408325433731079,
          "5": 1.5694714784622192,
          "6": 1.032562017440796
        }
      },
      "3": {
        "bias": -0.10140286386013031,
        "weights": {
          "0": 0.7015955448150635,
          "1": 0.6939533948898315,
          "2": 0.7209612727165222,
          "3": 0.6339335441589355,
          "4": 0.7265103459358215,
          "5": 0.7037737965583801,
          "6": 0.4587821364402771
        }
      },
      "4": {
        "bias": -1.1545584201812744,
        "weights": {
          "0": -0.706428587436676,
          "1": -0.6880828142166138,
          "2": -0.7451974153518677,
          "3": -0.6021878719329834,
          "4": -0.7454286813735962,
          "5": -0.7167820334434509,
          "6": -0.07689554244279861
        }
      },
      "5": {
        "bias": -1.7900606393814087,
        "weights": {
          "0": 0.41949495673179626,
          "1": 0.4168839454650879,
          "2": 0.41511523723602295,
          "3": 0.3618548810482025,
          "4": 0.43424156308174133,
          "5": 0.40631112456321716,
          "6": 0.12862923741340637
        }
      },
      "6": {
        "bias": -1.7644935846328735,
        "weights": {
          "0": -2.5884010791778564,
          "1": -2.545736789703369,
          "2": -2.7074363231658936,
          "3": -2.383005142211914,
          "4": -2.6837635040283203,
          "5": -2.63854718208313,
          "6": -1.3939564228057861
        }
      }
    }
  ],
  "outputLookup": false,
  "inputLookup": false,
  "activation": "sigmoid",
  "trainOpts": {
    "iterations": 20000,
    "errorThresh": 0.005,
    "log": true,
    "logPeriod": 10,
    "learningRate": 0.3,
    "momentum": 0.1,
    "callbackPeriod": 10,
    "beta1": 0.9,
    "beta2": 0.999,
    "epsilon": 1e-8
  }
}

Just over-right JSON from network.TOJSON after each train:
// write trained network to file
  fs.writeFileSync('./js/generate/data/trained-network.json', JSON.stringify(myNetwork.toJSON(), null, '  '));

@mubaidr So I just need to update the trainingData Array with new data and rerun?

Yes.

train network
save json
load network
train network with new data
replace old json file from network

while were here NN work better with numbers between 0 and 1 is deviding your training data by your highest input is a good way to get this.

@vorticalbox Are we saying that this: input:[451,2200,42,0,650,200,150] should be: input:[0.451,0.2200,0.42,0,0.650,0.200,0.150] ?

@vorticalbox Are we saying that this: input:[451,2200,42,0,650,200,150] should be: input:[0.451,0.2200,0.42,0,0.650,0.200,0.150] ?

that that it should be but it's generally better to geta  value betwork 0 and 1.
in the code you posted in the issue i would divide by 3000 and get something like this
const trainingData = [
    {
        input:[ 0.15033333333333335,0.7333333333333333,0.014,0,0.21666666666666667,0.06666666666666667,0.05 ],
        output:[0,1,1,0,0,1,1]
    },
    {
        input:  [0.2836666666666667,0.4666666666666667,0.017333333333333333,0.05,0.16666666666666666,0.016666666666666666,0.2833333333333333 ],
        output:[0,1,1,0,0,0,0]
    }
  ]

@vorticalbox Sweet! How should I handle negative numbers that happen as a result of a division by X? Or can Brain JS handle this?

@vorticalbox When I run numbers through, would they need to be divided as well? myNetwork.run([100, 2000, 40, 6, 650, 200, 100])

Normalize them to between 0 and 1 for the best results (NOTE: this isn't a brain.js thing, it is just machine learning in general).  Normalize the most negative number (or least number) to 0, and then the highest number to 1, everything else should be within that 0 to 1 range for effective normalization.

@robertleeplummerjr Thanks! Using this idea, would I potentially receive better results? E.g:
I have a random number generator that builds an array of 7 whole numbers, if a number is between 200 & 500, it scores 1 as the output, and a number less than 200 or greater than 500 scores 0. I need Brain to detect this and score a higher output in this bracket, and outside of it to score lower.
Normalizing the numbers and converting them would score better? What would you advise? Currently I'm seeing error thresholds of between 0.10 and 0.15, is this acceptable

@mubaidr So this is what I'm currently doing:

Create a training data set (an Array of 35,000 objects containing various number combinations) which have been normalized between 0 and 1.
Running normalized numbers in myNetwork.run([0.5, 0.54, 0, 0.69, 0.25, 0.9, 1]), it takes a while to run through 20,000 iterations
A file is then generated using fs.writeFileSync using toJSON()
I then load that file into the JS file, just after the training data Array, but before where the network is trained through: myNetwork.train(trainingData, trainingOptions)
I then pass a different set of numbers into myNetwork.run([0.4, 0.15, 1, 0.3, 0.2, 0.95, 1]),
a new file is created in replace of the initial one.

Is this correct? I've tried doing this loop 4 times, and the error threshold remains around 0.050 each time, and it takes the same amount of time?

/cc @mubaidr

@sts-ryan-holton Can you please create a playground here, with your sample code: https://runkit.com/home
This will allow us to understand the code and we will be able to update code.

@mubaidr @robertleeplummerjr I've created a playground here: https://runkit.com/ryan-holton/brain-js-network-from-json
Granted, it's missing a few things that would otherwise be available on a physical environment such as filesystem read/write, you'll see some "WOULD BE" comments as to where this would be.

This looks good. My apologies looks like this is correct way to train with new data:

train network
save json
create new network
train network with (old + new data)
replace old json file from network

authors: mubaidr robertleeplummerjr sts-ryan-holton vorticalbox


text:
Remove non-Python dependencies

The current version uses fslmaths for a number of steps that could very easily be done with nilearn or nibabel + numpy.
The only difficult part that I can think of is handling MELODIC's mixture modeling. We can either (1) assume the MELODIC data are in BIDS format already and work from there or (2) try to "implement" the mixture modeling method with a Python-based ICA algorithm.

Is it really necessary to implement the mixture modelling step? AFAIK, the spatial criteria only require to compute the percentage of the spatial variance in the ventricles or the edges of the brain.

I think that mixture modeling is necessary based on the blockers I came up against the last time I tried this conversion, but (1) I can't be sure I did the conversion correctly and (2) the official version of the code is, unfortunately, nearly unreadable. It should be easier for us to see if mixture modeling is necessary once we have thoroughly refactored the code.

Definitely. Once the code is refactored, it will be much easier to see what's missing and what our next steps should be.

I think the most important remaining FSL code is:

MELODIC for ICA and mixture modeling.
FLIRT for applying linear transforms from native-space data to standard space.
apply_warp for applying warps from native space to standard space.
fsl_regfilt for denoising (see #37).

I guess we could use nitransforms to replace FLIRT.

I guess we could use nitransforms to replace FLIRT.

I'm trying to see how we can do this.

I believe we have to do something like this for the affine:
xfm = nt.linear.Affine(afnixfm.to_ras(reference=new, moving=new), reference=new)
nt_with_afni = xfm.apply(new, order=0)

and I guess we can create the iso one ourselves and give it as input:
xfm = nt.linear.Affine(T)
moved = xfm.apply(new, order=0)

Do you know if nitransforms can handle nonlinear transforms?

I think it can but I would have to look into that.

Now that we're planning to drop transforms (see #45) for the immediate future, I think all we need to do now is figure out how to replace MELODIC's mixture modeling.

Is anyone familiar with nipy's Gaussian Gamma mixture model? See here and here. I think that a Gaussian Gamma mixture model is the one used by MELODIC:

I think we can also leverage tedana in replacing MELODIC. Something like the following:

tedana's MAPCA function in tedana to get number of components and dimensionally-reduced data.
tedana's TEDICA function to get component time series and maps.
Corrected version of tedana's computefeats2() to get component z-statistic maps. (We need the fixed version for this.)
nipy's GMM to threshold component maps.
FFT using tedana's plotting code to get the component power spectra.
Code proposed in #49 to get the masks used for spatial features.

authors: CesarCaballeroGaudes eurunuela tsalo

repo: Brainhack-Donostia/ica-aroma-org


text:
🛑 Plex is down

In f5f95b7, Plex (https://plex.bramboeckx.be) was down:

HTTP code: 530
Response time: 3133 ms

Resolved: Plex is back up in 4718358.


text:
Swift version

Is Swift version planned?

No swift plans. How would a swift version help your use case? Presumably that is just an implementation detail.

We have a Swift project with react native and we're having hard time compiling it with obj c library

I added the pod to the Podfile:
target 'MyProject' do
  pod 'React', :path => '../node_modules/react-native'
  pod 'react-native-branch', :path => '../node_modules/react-native-branch'
end

but when I compile the project I get this error:

What am I doing wrong?
BTW - shouldn't react-native-branch podspec contain dependency on React pod?

Added to podspec in #22
Will cut a new npm release tomorrow.
Thanks 👍


text:
Manage capacity expansion model (CEM) simulation data

:rocket:

[x] Is your feature request essential for your project?

Describe the workflow you want to enable
I wish I could customize a capacity expansion model (CEM) simulation, send the prepared information to a remote server (or container) where it will be solved, and then have all relevant inputs and outputs be accessible to everyone with server access through a simple user interface. There three tasks roughly correspond to the existing Create, Execute, and Analyze states of the existing Scenario object, which is designed to manage the information for a production cost model (PCM). The interface for managing and running CEM simulations could be an analogous user-facing class, containing child objects which perform more specific tasks (these could also be analogous to the existing Scenario child classes).
Describe your proposed implementation
Customization includes:

Modifications to the 'base grid' to represent the currently-built grid infrastructure:

the existing ChangeTable methods modify what's present as a starting point
existing infrastructure could also be marked for retirement at a future date

Definitions of potential new infrastructure:

Baseline expansion candidates: generation, transmission, and storage. Future expansion candidates: hydrogen and CCUS infrastructure
Generator expansion information:

Where (bus or substation ID)
Generator type
Cost per MW of new capacity
Limit of new capacity at this bus (potentially unlimited)
Operating costs (which might need to be specified differently than currently in gencost, since we don't know the capacity of the generator, so the x-axis of the curve can't be MW of generation)

Transmission expansion information:

to and from buses (or substations?)
Voltage (if the branch is defined by substations, not buses. Otherwise the buses should have a common defined voltage)
Cost per MW of new capacity
maximum potential capacity (potentially unlimited)
some way of determining the line impedance (not sure how we want to do this though, since greater capacity lines will tend to have lower impedance).
Note: this specification assumes that transmission line construction on each path is a continuous variable (e.g. build a transmission line of 0-1000MW) rather than discrete (e.g. either build a 100 MW line, or a 500 MW line, or a 1000 MW line). Discrete variables are closer to real-world decision-making, and allow each potential project to have its impedance and capacity set exogenously, but transform the optimization problem from linear to mixed-integer, which increases the computational complexity.

Storage expansion information:

Where (bus or substation ID)
a cost per MW of new power capacity
a cost per MW of new energy capacity
a limit of how much new power capacity can be built at this bus (potentially unlimited)
a limit of how much new energy capacity can be built at this bus (potentially unlimited)
Constraints around the power:energy ratio (e.g. assume 4-hr storage, or something between 2-hr and 8-hr)
Charging and discharging efficiency

Note: default per-MW costs for generation, transmission, and storage can be derived from the powersimdata.design.investment module
If information on land uses is available, this information may be used to modify the expansion candidates, e.g. setting the availability of wind plant expansion to 0 throughout sensitive areas for migratory birds.

CEM Scenario meta-information:

Spatial clustering information: either a mapping of buses to clusters (i.e. the busmap input to pypsa.networkclustering.get_clustering_from_busmap) or the appropriate parameters to generate the same via other algorithms.
Temporal clustering information: either a mapping of our starting 8760 timestamps to representative snapshots/timeslices (to be ingested by some downstream function for aggregation) or the appropriate parameters to generate the same via other algorithms.
Multiple investment period information: see the PyPSA example: https://pypsa.readthedocs.io/en/latest/examples/multi-investment-optimisation.html#Multi-Investment-Optimization
In addition to the multiple investment periods, we may have additional non-investment operational periods, e.g. investments can be made in {2024, 2026, 2028, 2030} but operations are also considered in {2023, 2025, 2027, 2029}. The operational costs in each year will need to be weighted somehow against capital investments, but this could be calculated somewhat automatically using assumptions about financing costs, discount rates, whether there's a 'terminal' year that represents all future years, etc.
'Global' constraints that are already built into PyPSA or other CEM tools: e.g. a limit on the total CO2 for a given year, see https://pypsa.readthedocs.io/en/latest/components.html#global-constraints
'Global' constraints that aren't already built into PyPSA or other CEM tools: e.g. a limit on the total amount of a certain resource that can be installed in a given year (to represent manufacturing capacity or labor constraints).

Once customization is complete, preparing the information would generate a unique ID for this simulation, apply the specified customizations and then create the required input files that can be run with a CEM tool and upload them to the appropriate place on the remote server. For PyPSA, this could be a pickled Network object; for Switch, this could be a set of CSVs; etc. The user would then be able to launch the CEM process on the server, specifying any additional information about the solution process (e.g. the solver to be used, the number of threads, etc.). There may also be a post-simulation step to transform the results into a format that's more standardized, to be able to more easily retrieve data from simulations which may have been run using different CEM tools. These 'launching' and 'extraction' functions may live in separate repositories which are thin wrappers around each CEM tool, e.g. SwitchWrapper, PyPSAWrapper, etc.
Once the simulation is complete, the user would be able to instantiate an object using the Scenario ID, and this object would be an interface to all relevant input and output information (retrieving each from the local machine or transferring from the remote server as applicable). This information would include:

The starting grid
Investments and retirements for each investment period

Analogously, Grid objects representing the infrastructure in a given year

Time-series information for each operational year simulated
Generator dispatch and power flow for each operational year simulated

Relevant sub-tasks

#638

This list may be incomplete.

Here's a crude diagram of how we might enable user input in the Create state (blue boxes) as well as process the data during Execute state to produce a Network object (orange boxes). I've broken up the three top-level bullets for customization into three different data structures/objects, but this is only one potential design and we may want to rethink the user interface and the internal data storage.

repo: Breakthrough-Energy/PowerSimData


text:
Add socat support to traefik proxy stack

For improved security, we should use socat to offload incoming web traffic hitting the traefik proxies, from being on Swarm managers. Ideally, managers are only "managing" and putting socat in the proxy stack can do that for us.
Mike talks about it in his block post here: https://blog.mikesir87.io/2018/07/letting-traefik-run-on-worker-nodes/
Thanks @pascalandy for the reference: https://github.com/pascalandy/docker-stack-this/blob/master/traefik_stack5/toolproxy.yml
I added a sample stack yaml here but don't think it worked the first time I tried, so needs to have more time testing to see how it should be configured for dogvscat: https://github.com/BretFisher/dogvscat/blob/master/stack-socat-proxy.yml

I trying out the stack-socat-proxy.ym example and wanted to share what happens when you use the RexRay DigitalOcean driver and deploy mode global. In this example DigitalOcean will create a [stackname]-acme block store drive and the first Traefik container that runs will attached this drive to one of the swarm nodes. Now since we are doing deploy mode global the other Traefik containers will fail to start because they can't share the same drive. So you will have to use a different storage provider that can be shared across all the swarm nodes.

Global mode with a file-based Traefik config is not the correct way to make Traefik highly-available. You'll need a more complex solution with a key/value store, as documented here. There are various issues with the solution of a "shared file endpoint" for Traefik, so a volume won't solve the problem.
Sorry, I copied that socat yaml file in not realizing it had global mode set. As mentioned I hadn't tested it yet :).
Multi-node volumes are not a rexray or docker limitation, but a limit of the storage itself. It's common for most cloud node storage to not support multi-node read+write. Digitalocean Block Storage only supports connecting to one node at a time, as does AWS EBS. If on AWS you could use EFS to share files across multiple nodes with rexray, but this doesn't address Traefik HA like the cluster link above does.
This enhancement GHIssue is about using socat to prevent Traefik running on managers, not multi-node support for Traefik, which I've created as a separate issue here #12

I verified that this setup works:
version: '3.6'

volumes:
  acme:
    driver: rexray/dobs
    driver_opts:
      size: 1

networks:
  proxy:
    external: true

services:
  traefik:
    image: traefik:1.7-alpine
    networks:
      - proxy
    volumes:
      - acme:/etc/traefik/acme
    ports:
      - 80:80
      - 443:443
      - 8080:8080 # traefik dashboard
    command:
      - --Docker
      - --Docker.EndPoint=http://dockersocket:2375
      - --Docker.SwarmMode
      - --Docker.Watch
      - --api
      # - --defaultentrypoints=http,https
      # - --acme
      # - --acme.email=[replace_with_email]
      # - --acme.httpchallenge
      # - --acme.httpchallenge.entrypoint=http
      # - --acme.onhostrule=true
      # - --acme.entrypoint=https
      # - --entryPoints=Name:https Address::443 TLS
      # - --entryPoints=Name:http Address::80 Redirect.EntryPoint:https
      # - --acme.storage=/etc/traefik/acme/acme.json
      # - --acme.acmelogging
      # - --acme.caserver=https://acme-v02.api.letsencrypt.org/directory
    logging:
      options:
        max-size: "500k"
    deploy:
      placement:
        constraints:
          - node.role == worker

  dockersocket:
    image: tecnativa/docker-socket-proxy
    networks:
      - proxy
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      CONTAINERS: 1
      NETWORKS: 1
      SERVICES: 1
      SWARM: 1
      TASKS: 1
    deploy:
      mode: global
      placement:
        constraints:
          - node.role == manager
    logging:
      options:
        max-size: "500k"

I also have the worker nodes behind a DigitalOcean load balancer and if you configure DNS for the load balancer and uncomment the lets encrypt options SSL works too.

Fixed in the big proxy update! 🎉 https://github.com/BretFisher/dogvscat/commit/97a27e1437579c66a228d35c8ae302fdfed9d975

authors: BretFisher CarlosEspejo

repo: BretFisher/dogvscat


text:
Folder name inside WindowsApps isn't necessarily the appid

I need to find a way to populate AUMIDS from windows packages to make things actually work, not based on simple guess

Fixed, finding proper aumids with powershell.

repo: BrianLima/UWPHook


text:
[MI-2209] Added slash command for repos

Added a command to open the subscription modal.
Added a command to list all the repo subscriptions.
Added a command to delete a repo subscription.

@ayusht2810 I took a pull from MI-2193 because of some changes in the slash command by Abhishek. I think that's why it shows Abhishek's commits on that branch here.

@raghavaggarwal2308 also fix the behaviour that we discussed on call

@raghavaggarwal2308


text:
Not an issue but a question

Do you still plan on updating this?

Yes, but I no have times for now