text:
Shortening road sequence

We are looking into using barefoot for our tracking system. As we have cars driving for a long time, the k-state vectors of the cars get quit huge ...
We now like to get the driven track of the car  (i.e. matched points and driven segments) into a separate database and if done, delete this part in the k-state vector.
Have you done something like that or if not, how would you suggest to do it?

First, sorry for the long delay. This is a good feature that I thought of implementing sometime. Here is just a short description, how you could do it (but of course not tested, since not implemented):

The k-state data structure (https://github.com/bmwcarit/barefoot/blob/master/src/main/java/com/bmwcarit/barefoot/markov/KState.java) is the crucial part for this thing. Note, there's t and a k parameter to do something similar, i.e. bounding the length of the state to either a time of t or a length of k. For your purpose, you should disable both bounds which is the default.
At the end of the remove method (after line 247) you could add a condition that checks if the size of the vector with the given index (sequence.get(index).one().size()) is one, and if so reads the last remaining candidate let's say c and reads all its predecessors recursively saving it to your store and afterwards calls remove(c, index) to remove it from the data structure.

I hope that helps, if you like it and implemented it, feel free to contribute it with a pull request.

@vzahn is there any progress on this issue? If you're planning to work on this issue, I would leave it open but I would close it otherwise.

@smattheis : Yes we are working on it.
In fact, we have already implemented something shortening algorithm, but it has to be tested and refactored to find its way into the general code.

Solution delivered in pull request #39

Regarding this issue:
It is necessary to store the latest stable candidate in candidateStorage and change the KState persistence.
The candidateStorage have to be set like this.
kState = previous KState
cState  = new KState
candidateStore.addAll(kState.candidates());
candidateStore.removeAll(kState.vector());

cState.setCandidateStorage(candidateStore);

And a modification in KState.java is needed, maybe a change in initialize MatcherKState is also needed when you dont want to remove the vector after setting candidates for candidateStorage like described above
	private List<C> candidateStorage;

@Override
	public JSONObject toJSON() throws JSONException {
		JSONObject json = new JSONObject();
		JSONArray jsonsequence = new JSONArray();
		...
                ....
		JSONArray jsoncandidates = new JSONArray();
		for (Entry<C, Integer> entry : counters.entrySet()) {
			JSONObject jsoncandidate = new JSONObject();
			jsoncandidate.put("candidate", entry.getKey().toJSON());
			jsoncandidate.put("count", entry.getValue() + candidateStorage.size());
			jsoncandidates.put(jsoncandidate);
		}
                 //candidateStorage need check against null
		for (int i = 0; i < candidateStorage.size(); i++) {
			JSONObject jsoncandidate = new JSONObject();
			C candidate = candidateStorage.get(i);
			candidate.transition(null);
			candidate.predecessor(null);
			jsoncandidate.put("candidate", candidate.toJSON());
			jsoncandidate.put("count", i);
			jsoncandidates.put(jsoncandidate);
		}
		json.put("k", k);
		json.put("t", t);
		json.put("sequence", jsonsequence);
		json.put("candidates", jsoncandidates);

		return json;
	}

authors: dvent7 smattheis vzahn

repo: bmwcarit/barefoot


text:
Add maximum gas limit in batch submitter

:clipboard: Add associated issues, tickets, docs URL here. https://github.com/bobanetwork/boba/issues/381
Overview
Describe what your Pull Request is about in a few sentences.
Add maximum gas limit in the batch submitter in batch submitter to bypass the code check
In go/pkg/mod/github.com/ethereum/go-ethereum@v1.10.12/accounts/abi/bind/base.go, the package verifies that the contract is not in the pending stage before sending the eth_estimateGas request. However, Moonbeam doesn't support this method. We have to add the gas limit to bypass the code check.
How to reproduce the error
curl --data '{"jsonrpc":"2.0","method":"eth_getCode","params":["0x59A798dcff6406369217cbef8bad549De196f3C6", "pending"],"id":1}' -H "Content-Type: application/json" -X POST https://rpc.api.moonbase.moonbeam.network/
{"jsonrpc":"2.0","error":{"code":-32603,"message":"Runtime api access error: Application(Execution(AbortedDueToTrap(MessageWithBacktrace { message: \"wasm trap: wasm `unreachable` instruction executed\", backtrace: Some(Backtrace { backtrace_string: \"\\n    0: 0x4d99e6 - <unknown>!rust_begin_unwind\\n    1: 0x640a - <unknown>!core::panicking::panic_fmt::h18b15be283411c65\\n    2: 0x63cb - <unknown>!core::panicking::panic::h0207b244811fef8b\\n    3: 0x32c22a - <unknown>!pallet_randomness::vrf::set_output::hda52248db37d1434\\n    4: 0x25698a - <unknown>!<pallet_maintenance_mode::types::ExecutiveHooks<T> as frame_support::traits::hooks::OnInitialize<<T as frame_system::pallet::Config>::BlockNumber>>::on_initialize::h32e5ad245280265d\\n    5: 0x38e337 - <unknown>!frame_executive::Executive<System,Block,Context,UnsignedValidator,AllPalletsWithSystem,COnRuntimeUpgrade>::initialize_block::h90c40efe95799986\\n    6: 0x1773f7 - <unknown>!Core_initialize_block\\n\" }) })))"},"id":1}%

Changes
Describe your changes and implementation choices. More details make PRs easier to review.

Add maximum gas limit in the batch submitter

Testing
Describe how to test your new feature/bug fix and if possible, a step by step guide on how to demo this.
Add configuration tests

Please fix the GH PR description and explain why this was added, where the issue was and include tests.

Please fix the GH PR description and explain why this was added, where the issue was and include tests.

Done

Codecov Report
Base: 49.89% // Head: 49.89% // No change to project coverage :thumbsup:

Coverage data is based on head (a7935cb) compared to base (2546b84).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           alt-l1     #380   +/-   ##
=======================================
  Coverage   49.89%   49.89%
=======================================
  Files         103      103
  Lines        3982     3982
  Branches      795      795
=======================================
  Hits         1987     1987
  Misses       1995     1995

Flag
Coverage Δ

boba-contracts
26.47% <ø> (ø)

contracts
79.54% <ø> (ø)

core-utils
86.80% <ø> (ø)

data-transport-layer
31.17% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

source: gharchive/pull-request

authors: Boyuan-Chen InoMurko codecov-commenter

repo: bobanetwork/boba

license: MIT

license_type: permissive

license_source: github-api


text:
turing -> hc rebranding: boba-community (esp. Starter project)

:clipboard: Addresses #457
Overview
Refactor boba_community projects, especially TuringStarter & redeploy on Goerli.
Deploy faucet on Goerli.
Adapted metaTx api for Goerli support.
Changes

Rename folders + files in boba_community
Refactor code (TuringStarter)
Deploys of HcStarter + Faucet on Goerli
Deployment & Adaption of new metatx api for Goerli

Testing

Rebuilt the full stack (success)
Rebuild all packages in turing-start
Run of TuringStarter React app & smart contract tests work
Faucet tests run

will also add the Goerli config in this PR, please don't merge yet.
@Boyuan-Chen @InoMurko Goerli Blockexplorer, Gateway & Faucet don't seem to be live yet. What is the current status?

@InoMurko @souradeep-das would be ready to merge.
Would be great if you could have a look at it again, many things changed.

Codecov Report
Base: 46.54% // Head: 46.54% // No change to project coverage :thumbsup:

Coverage data is based on head (05a5d06) compared to base (1b5a65f).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #458   +/-   ##
========================================
  Coverage    46.54%   46.54%
========================================
  Files          107      107
  Lines         4381     4381
  Branches       878      878
========================================
  Hits          2039     2039
  Misses        2342     2342

Flag
Coverage Δ

boba-contracts
24.52% <ø> (ø)

contracts
79.30% <ø> (ø)

core-utils
86.80% <ø> (ø)

data-transport-layer
31.17% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

authors: codecov-commenter wsdt


text:
Add bobby lx file

my art

thank you

repo: bobbyLXArt/github-slideshow


text:
Some geometry will crash the MeshAlgo/conversion process

This will be a bit of a tricky one, unless I just make a way to reliably detect problematic geometry. This is what I've found so far:

If a camera is not a part of __cameras set, it will be attempted to convert, we can do a type-check and do an early exist here
The cow.scc seems to do a double-delete of the trianglulate mesh primitive, not sure what to do here yet
One asset I've exported out of blender as an alembic cache seemed to crash the normals conversion step, but re-generating the normals with MeshType seemed to fix it. The other backends didn't seem to have issues here (OpenGL/Appleseed).

Bob.
I grabbed a free car to test out, converted to abc in blender. Mostly renders..
There are crashes with a one line segfault. I thought it could be certain geo causing this but when I was successful with more car parts being rendered.. starting and stopping interactive render cased a crash.
I made a __cameras set on the renderable camera and still had crash
z3.tar.gz

gaffer-0.53.4.0
gafferCycles-0.5.0

Cheers for the test data @edmondeng although I think the crash is being done elsewhere if you are able to render the car in some way. The last Cycles update has changed & it's related to shaders that I have an idea about fixing in the next release when I get some time.

FYI: i had nouveue drivers before and after a modern Nvidia install I get some more output on the crash..
how it happens for me

the scene I have isolates some parts
I start interactive render
disable the isolate > crash

free(): corrupted unsorted chunks
Aborted (core dumped)

Hey @edmondeng
What I noticed is the normals are really bad, I plunked in a MeshType node and regenerated the normals and converted the geo to polygon & pruned out the camera. Hold off from subdivision for now, I'll get that to work next if that's what is causing the crash.

hey .. I had the mesh node but left polys unchanged and re-calculated normals.. I'll boot back in later to see what specifically is the issue in the scene I had based on your feedback... do the meshes come in as cutmull interpolation for you? Thought they were lin.
talk later.
e

I think it's more the normals were funky. Anyways I'm working on subdivision with some success, it looks like it is working as the wheels are visually smoother, I still need to get the dicing rate value from the CyclesAttributes still.

Ok yeah.. that camera that slipped in plus making the meshtype node apply to all geo has made it get through to the end.
e

https://github.com/boberfly/GafferCycles/commit/321e4e0ed119976a764c6f95278882d137e84986
This fixes a crash with FaceVarying normals (it'll skip them and not crash).

Closing this as the major cause was the FaceVarying normals. Feel free to re-open if there's problems with new geo.

source: gharchive/issue

authors: boberfly edmondeng

repo: boberfly/GafferCycles


text:
Update implementation with svg stacked logo

@susanjrobertson the logo is on the Bocoup NAS.

@iamjessklein i think the SVG saved off funny? It's looking cut off no matter how wide I make it:

oops I forgot to outline the fonts - I fixed and re-uploaded @susanjrobertson try again.

Done and in the code!

nice job problem solving that svg file @susanjrobertson and @isaacdurazo

authors: iamjessklein susanjrobertson

repo: bocoup/opendesignkit


text:
Factories for map and list creation

In order to create instances of lists or maps, we need factories so we can decouple from specific GenericOrderedList or GenericMap instances.

Closed with #31

repo: boesing/typed-arrays


text:
Band pinned content enhancements

Jira
http://vjira2:8080/browse/BDS-828
Summary
Simplified pinned content feature in the band component for easier implementation..
Details

Grid component usage has been removed from the band component
Band twig template is refactored to be simpler
Deprecated grid props inside band
Added new props to pass content into the band: content and pinned_content
Fully revamped demo pages and documentation
There will be breaking changes for the existing share tool implementation on the Drupal side (cc @charginghawk)

How to test
Run the branch locally and check all the band demos and documentation.

Closing this one out in lieu of the 3 smaller PRs I broke this great work from @mikemai2awesome into:

Component-specific changes (confirming that the initial Band refactor work could be released via a minor vs major release of Bolt): #1088
API and Demo-specific changes that depend on the work from #1088: #1091
Misc Band-related cleanup that doesn't depend on #1088 or #1091: #1090

repo: bolt-design-system/bolt


text:
sending sats does not automatically refresh the tx list

your phone model and OS version
OnePlus Nord - Android 11

BoltCardWallet app version (settings->about->scroll down)
0.1.5

When the connected bolt card is used or sats are received, the tx list updates automatically to show the new transaction.
When sending sats, the tx list doesn't update automatically.
Manually updating the tx list shows the sent sats.

The push notification should trigger a refresh, other than that I don't think there is a way of notifying the app from the hub

authors: PeterRounce robertclarkson

repo: boltcard/boltcard-wallet


text:
Fedora 29 Gnome login not working

Hi,
Thanks a lot for this awesome package. I managed to get it working for sudo and other prompts in the system(Fedora 29) but for some reason it doesn't work in the login screen. I shows a brief message that says "attempting face detection" but it fails right away and says: Unknow error 1. I tried changing the permissions of the howdy folder but same result. When this occurs the camera/IR emitters don't turn on as it usually does when I use the sudo command in the terminal.

I've searched for similar issues already, and my issue has not been reported yet.
Linux distribution (if applicable): Fedora 29
Howdy version: 2.5.0

I have the same issue with 2.5.1 on Ubuntu 18.04 (KDE). It works with sudo but I can't login or unlock the screen, with error "Unknown error 1". The camera does turn on though for 4 seconds after I press enter

Could you both try this solution?

It worked on my computer. Thank you!

authors: Germanc boltgolt kervin5

repo: boltgolt/howdy


text:
🛑 Bomberos Coyhaique is down

In 1367347, Bomberos Coyhaique (https://bomberoscoyhaique.cl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bomberos Coyhaique is back up in 7462276 after 35 minutes.

repo: bomberosalas/status


text:
🛑 Personal is down

In b546807, Personal (https://www.csalas.cl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Personal is back up in 2a09989 after 6 minutes.


text:
🛑 Bomberos Coyhaique is down

In 558eacc, Bomberos Coyhaique (https://bomberoscoyhaique.cl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bomberos Coyhaique is back up in 3315197 after 4 minutes.


text:
🛑 Prowlarr is down

In e0eacad, Prowlarr ($URLS_PROWLARR) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Prowlarr is back up in b1a34b2 after 27 minutes.


text:
🛑 Deluge is down

In 5face81, Deluge ($URLS_DELUGE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Deluge is back up in 2a917bf after 1 hour, 17 minutes.


text:
How can install in win10?

Run cmd "python.exe -m pip install luastyle", in win10, visual studio 2017.
No success, error info: fatal error LNK1181: cannot open input file 'stdc++.lib'.
How can install in win10?

Hey,
This project has not been tested on windows. I don't plan to do this for now.

repo: boolangery/py-lua-style


text:
"bad version" while handshake and "Operation cancelled" in write

Hi everyone,
I've constructed a socket client and server and using it communicate locally
Building is good, but when running in root privilege(bind() needs root), the socket got bad version while handshake,
Before I removed the resolver and modified the code with binding local endpoint, it works good.
But I didn't modify the handshake part.
and cannot see whats going on in debug mode because it straight go into the write operation.
is there any wrong with the code?
any assistance and guidance would be appreciated, Thanks!
or is that I used
 websocket::stream <beast::tcp_stream> ws_;
although it is used in original code
for simplicity, the error code came in:
on_handshake()
on_write()
might be similar:
https://github.com/boostorg/beast/issues/2195
version: 1.70.0
Code:
ClientService.cc
// Client Connect to Server
void ClientService::Connect(const std::string &host, unsigned int port) {
    const auto id = (unsigned int)(mpSLAM->GetMap()->mnId);

    mThread = new std::thread([this, host, port, id] {
        auto const text = "Hello, world!";
        info("client {} connect to host {} port {}", id, host, port);

        // The io_context is required for all I/O
        boost::asio::io_context ioc;

        work_guard_type workGuard(ioc.get_executor());

        const std::string  specify_local_address = "0.0.0.0";
        unsigned int  specify_local_portnumber = 20000;

        info("In connection: client bind to local endpoint host {} port {}", specify_local_address, specify_local_portnumber);

        // Launch the asynchronous operation, which would call WebSocket.h
        auto session = std::make_shared<WS::Client::session>(ioc, specify_local_address.c_str(), reinterpret_cast<unsigned int *>(specify_local_portnumber),
                                                             std::bind(&ClientService::OnRequest, this, std::placeholders::_1));

        this->service = session;
        session->run(host.c_str(), reinterpret_cast<unsigned int *>(port), text);

        // Run the I/O service. The call will return when
        // the socket is closed.
        ioc.run();

    });
}

void ClientService::SendRequest(const Request &req) {
    // serialize and send request
    std::string msg = ORB_SLAM2::toString(req);

    this->service->send(make_shared<std::string>(msg));
}

WebSocket.h of client
//The constructor

namespace Client {
// Sends a WebSocket message and prints the response
class session : public std::enable_shared_from_this<session> {
//    we do not need a resolver since itself initialize a connection
//    tcp::resolver resolver_;
//    websocket::stream <tcp::socket> ws_;
    websocket::stream <beast::tcp_stream> ws_;
//    beast::tcp_stream ws_;
    beast::flat_buffer buffer_;
    std::vector<std::shared_ptr<const std::string>> queue;
    std::string host_;
    std::uint8_t port_;
    std::function<void(const std::string&)> on_message;
    std::string localhost_;
    std::uint8_t localport_;

public:
    // Resolver and socket require an io_context
    explicit
        session(net::io_context &ioc, char const *localhost, unsigned int *localport, std::function<void(const std::string&)> on_message)
    : ws_(net::make_strand(ioc)), on_message(std::move(on_message))
    {
        localhost_ = localhost;

        std::stringstream str_port_value;
        str_port_value << localport;
        str_port_value >> localport_;

        beast::error_code err;

        //Here I've bind the local endpoint
        beast::get_lowest_layer(ws_).socket().open(boost::asio::ip::tcp::v4(), err);
        beast::get_lowest_layer(ws_).socket().bind(tcp::endpoint(boost::asio::ip::make_address_v4(localhost_), localport_));

    }

    // Start the asynchronous operation
    void
    run(
            char const *host,
            unsigned int *port,
            __attribute__((unused)) char const *text) {
        // Save these for later
        host_ = host;
        std::stringstream str_port_value;
        str_port_value << port;
        str_port_value >> port_;

        // dropped the resolver
//        resolver_.async_resolve(
//                host,
//                port,
//                beast::bind_front_handler(
//                        &session::on_resolve,
//                        shared_from_this()));

        //construct a tcp::endpoint using ip::address_v4 and port number
        tcp::endpoint ep(boost::asio::ip::address::from_string(host_.c_str()), port_);

        beast::get_lowest_layer(ws_).expires_after(std::chrono::seconds(30));

        //here just connect to ep without resolver
        beast::get_lowest_layer(ws_).socket().async_connect(
                ep,
                beast::bind_front_handler(
                        &session::on_connect,
                        shared_from_this()));
    }

    void
//    on_connect(beast::error_code ec, tcp::resolver::results_type::endpoint_type ep) {
        on_connect(beast::error_code ec)
        {

        //  get the ep parameter from run() as ep_
        tcp::endpoint ep_(boost::asio::ip::address::from_string(host_.c_str()), port_);

        if (ec)
            return fail(ec, "connect");

        // Turn off the timeout on the tcp_stream, because
        // the websocket stream has its own timeout system.
        beast::get_lowest_layer(ws_).expires_never();

        // Set suggested timeout settings for the websocket
        ws_.set_option(
                websocket::stream_base::timeout::suggested(
                        beast::role_type::client));

        // output on screen said making a handshake with server
        std::cout << "Making a handshake with server" << std::endl;

        //where possibly go wrong
        // Set a decorator to change the User-Agent of the handshake
        ws_.set_option(websocket::stream_base::decorator(
                [](websocket::request_type &req) {
                    req.set(http::field::user_agent,
                            std::string(BOOST_BEAST_VERSION_STRING) +
                            " websocket-client-async");
                }));

        // update the host string. This will provide the value of the
        // host HTTP header during the websocket handshake
        // the guide references: https://tools.ietf.org/html/rfc7230#section-5.4
        host_ += ':' + std::to_string(ep_.port());

        // Perform the websocket handshake
        ws_.async_handshake(host_, "/",
                            beast::bind_front_handler(
                                    &session::on_handshake,
                                    shared_from_this()));
    }

    void
    on_handshake(beast::error_code ec) {
        //here comes the error code
        if (ec)
            return fail(ec, "handshake");

        buffer_.consume(buffer_.size());
        net::post(ws_.get_executor(), beast::bind_front_handler(&session::on_read, shared_from_this(), ec, 5));
        std::cout << "Handshake successful." << std::endl;
    }

    void
    on_write(
            beast::error_code ec,
            std::size_t bytes_transferred) {
        boost::ignore_unused(bytes_transferred);

        //another error code
        if (ec)
            return fail(ec, "write");

        queue.erase(queue.begin());

        // send the message if any
        if (!queue.empty()) {
            ws_.async_write(net::buffer(*queue.front()),
                           beast::bind_front_handler(&session::on_write, shared_from_this()));
        }
    }

WebSocket.h of server
public:
    // Take ownership of the socket
    explicit
    session(tcp::socket &&socket, std::shared_ptr<shared_state> state, std::function<void(std::string)> on_message)
            : ws_(std::move(socket)), state(std::move(state)), on_message(std::move(on_message)) {
    }

    ~session() {
        std::cout << "~session()" << std::endl;
        state->leave(this);
    }

    // Start the asynchronous operation
    void
    run() {
        // Set suggested timeout settings for the websocket
        ws_.set_option(
                websocket::stream_base::timeout::suggested(
                        beast::role_type::server));

        // Set a decorator to change the Server of the handshake
        ws_.set_option(websocket::stream_base::decorator(
                [](websocket::response_type &res) {
                    res.set(http::field::server,
                            std::string(BOOST_BEAST_VERSION_STRING) +
                            " websocket-server-async");
                }));

        // Accept the websocket handshake
        ws_.async_accept(
                beast::bind_front_handler(
                        &session::on_accept,
                        shared_from_this()));
    }

    void
    on_accept(beast::error_code ec) {
        if (ec)
            return fail(ec, "accept");

        state->join(this);
        // Read a message
        do_read();
    }

running log:
[11:07:16][3518][I][RegisterRemote:70] Registering remote client
[11:07:16][3518][I][Register:172] client bind to local endpoint host 0.0.0.0 port 20001
[11:07:16][3518][I][Register:173] client register to host 0.0.0.0 port 10088
1 2330
[11:07:16][3518][I][RegisterRemote:79] Registered client with id: 1 and port: 2330
[11:07:16][3518][I][RegisterRemote:85] Connecting to the data channel
[11:07:16][3518][I][RegisterRemote:89] Connected to the data channel
[11:07:16][3533][I][operator():39] client 1 connect to host 0.0.0.0 port 2330
[11:07:16][3533][I][operator():54] In connection: client bind to local endpoint host 0.0.0.0 port 20000
Making a handshake with server
handshake: bad version
Gtk-Message: 11:07:16.297: Failed to load module "canberra-gtk-module"
write: Operation canceled

Can you show what is being sent and received on the wire using a packet sniffer?

Can you show what is being sent and received on the wire using a packet sniffer?

Hi and thanks for the response,
my issue should be the port number using for binding local endpoint cast to uint_8_t, which is just 0-255 thus broken the handshake rules, and the irregular websocket programming.
here is the answer and I corrected my code referencing the answer:
https://stackoverflow.com/questions/75528739/boost-beast-bad-version-while-handshake-and-operation-cancelled-in-write

repo: boostorg/beast


text:
submodule refs broken

I need to use the boost-1.64.0 version, but most of the submodule refs are not available any more.
> git submodule update --init --recursive
error: no such remote ref d022c85123683138ebec9149f0dc9aec6f3839cf
Fetched in submodule path 'libs/accumulators', but it did not contain d022c85123683138ebec9149f0dc9aec6f3839cf. Direct fetching of that commit failed.

This is the "libs/accumulators" module. If I skip this one, others fail as well.
Is 1.64.0 not supported any more?

Hi @zoeeer -
You can perform the following to get the 1.64.0 release by tag:
git clone git@github.com:boostorg/boost.git boost-1_64_0
cd boost-1_64_0
git fetch --tags
git checkout boost-1.64.0
git submodule update --init --recursive

You can also use --depth 1 to fetch just what you need:
git submodule update --depth 1 --init --recursive

authors: mjcaisse zoeeer

repo: boostorg/boost


text:
VirtualBox Guest Additions does not match VirtualBox version 5.1

I have a vagrant project that uses shared folders. The build breaks because I upgraded to VirtualBox 5.1 and the Guest Additions on boot2docker is still on 5.0. Below is the output of a vagrant up.
Bringing machine 'data' up with 'docker' provider...
Bringing machine 'percona' up with 'docker' provider...
Bringing machine 'memcached' up with 'docker' provider...
Bringing machine 'app' up with 'docker' provider...
Bringing machine 'phpfpm' up with 'docker' provider...
Bringing machine 'nginx' up with 'docker' provider...
==> data: Docker host is required. One will be created if necessary...
    data: Vagrant will now create or start a local VM to act as the Docker
    data: host. You'll see the output of the `vagrant up` for this VM below.
    data:
    cms: Box 'dduportal/boot2docker' could not be found. Attempting to find and install...
    cms: Box Provider: virtualbox
    cms: Box Version: >= 0
    cms: Loading metadata for box 'dduportal/boot2docker'
    cms: URL: https://atlas.hashicorp.com/dduportal/boot2docker
    cms: Adding box 'dduportal/boot2docker' (v1.11.1) for provider: virtualbox
    cms: Downloading: https://atlas.hashicorp.com/dduportal/boxes/boot2docker/versions/1.11.1/providers/virtualbox.box
    cms: Successfully added box 'dduportal/boot2docker' (v1.11.1) for 'virtualbox'!
    cms: Importing base box 'dduportal/boot2docker'...
    cms: Matching MAC address for NAT networking...
    cms: Checking if box 'dduportal/boot2docker' is up to date...
    cms: Setting the name of the VM: bbl-cms_cms_1470245153891_69312
    cms: Clearing any previously set network interfaces...
    cms: Preparing network interfaces based on configuration...
    cms: Adapter 1: nat
    cms: Adapter 2: hostonly
    cms: Forwarding ports...
    cms: 2375 (guest) => 2375 (host) (adapter 1)
    cms: 2376 (guest) => 2376 (host) (adapter 1)
    cms: 22 (guest) => 2222 (host) (adapter 1)
    cms: Running 'pre-boot' VM customizations...
    cms: Booting VM...
    cms: Waiting for machine to boot. This may take a few minutes...
    cms: SSH address: 127.0.0.1:2222
    cms: SSH username: docker
    cms: SSH auth method: private key
    cms: Warning: Remote connection disconnect. Retrying...
    cms: Machine booted and ready!
    cms: Checking for guest additions in VM...
    cms: The guest additions on this VM do not match the installed version of
    cms: VirtualBox! In most cases this is fine, but in rare cases it can
    cms: prevent things such as shared folders from working properly. If you see
    cms: shared folder errors, please make sure the guest additions within the
    cms: virtual machine match the version of VirtualBox you have installed on
    cms: your host and reload your VM.
    cms:
    cms: Guest Additions Version: 5.0.18
    cms: VirtualBox Version: 5.1
    cms: Setting hostname...
    cms: Configuring and enabling network interfaces...
    cms: Mounting shared folders...
    cms: /var/www => /Users/jpresley/projects/bbl-cms
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attemped was:

set -e
mount -t vboxsf -o uid=`id -u docker`,gid=`getent group docker | cut -d: -f3` var_www /var/www
mount -t vboxsf -o uid=`id -u docker`,gid=`id -g docker` var_www /var/www

The error output from the command was:

mount: mounting var_www on /var/www failed: Protocol error

I have a similar error
I have my custom boot2docker from the latest release (v1.12.1) That release includes VirtualBox Guest Additions v5.1.2
vagrant: 1.8.4
VirtualBox: 5.1.4
Windows 7
Using Docker as provider
Vagrant plugin vagrant-winnfsd
When I start the docker-host everything mounts well, but when I start a service vagrant up myservice
I have this error:
Bringing machine 'author' up with 'docker' provider...
==> author: Docker host is required. One will be created if necessary...
    author: Docker host VM is already ready.
==> author: Syncing folders to the host VM...
    dockerhost: Mounting shared folders...
    dockerhost: /var/lib/docker/docker_1472059381_57325 => C:/Users/ehernandez/D
esktop/mycompany/mycompany
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attemped was:

set -e
mount -t vboxsf -o uid=`id -u docker`,gid=`getent group docker | cut -d: -f3` 98
4f505632 /var/lib/docker/docker_1472059381_57325
mount -t vboxsf -o uid=`id -u docker`,gid=`id -g docker` 984f505632 /var/lib/doc
ker/docker_1472059381_57325

The error output from the command was:

mount: mounting 984f505632 on /var/lib/docker/docker_1472059381_57325 failed: Pr
otocol error

Any idea?
Thank you

The reason is missing getent command. Don't have ideas yet.

Temporally I moved to Vagrant 1.8.4 and VB 5.0.x

See this comment for an explanation and a temporary fix (until vagrant 1.8.6 is released):
https://github.com/blinkreaction/boot2docker-vagrant/issues/83#issuecomment-243599131

Another way is to install getent on tinycore boot2docker iso by building your own. The missing tiny core package is glibc-apps installing it shloud provide getent command and let virtualbox work with vagrant even if version is 1.8.5.
Regards.

authors: AlbanMontaigu chirkin ehernandez-xk jpresley23 lmakarov

license_source: bigquery


text:
Add support for Open vSwitch GRE tunnel

Hi,
The kernel supports Open vSwitch and VXLAN tunnels, as seen in the kernel_config (CONFIG_OPENVSWITCH and CONFIG_OPENVSWITCH_VXLAN).
Unfortunately, it doesn't support GRE tunnels.
It would be great to add it, by adding CONFIG_OPENVSWITCH_GRE to the kernel_config.
Thanks (and btw, thanks for boot2docker 👍!!)

Here is an example to fully support Open vSwitch GRE tunnels :)
git clone https://github.com/boot2docker/boot2docker.git
cd boot2docker
git checkout tags/v17.10.0-ce
echo CONFIG_OPENVSWITCH_GRE=m >> kernel_config
echo CONFIG_NET_IPGRE=m >> kernel_config
echo CONFIG_NET_IPGRE_BROADCAST=y >> kernel_config

docker build -t boot2docker .
docker run --rm boot2docker > boot2docker.iso

Man, not sure how I missed this, sorry!
This seems roughly reasonable, but I'm really curious what you're wanting to use Open vSwitch together with boot2docker for? (If you even still are, given how long I've taken to get back to you! :sweat_smile:)
Given the life-support-only status of boot2docker, I'm hoping adding something like this won't encourage folks to use it for bigger things than perhaps they should. :sweat_smile:

authors: Bacto tianon


text:
GetDataTable Nullable Convertible Properties

Hi,
You check for null types on property.PropertyType in the DataTable GetDataTable method but you do not check it if the property belongs to the tableInfo.ConvertibleProperties. Would it be possible to support for nullable/DBNull there also, otherwise we get the error DataSet does not support System.Nullable<>.
Thanks

Could you elaborate more and give an example or Test where it can be reproduced.

Here is an example:
System.NotSupportedException: 'DataSet does not support System.Nullable<>.'
using EFCore.BulkExtensions;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace BulkCopyNullableConversionTest226
{
	class Program
	{
		static async Task Main(string[] args)
		{
			using (var myContext = new MyContext())
			{
				int numberOfEntities = 10;
				var entities = new List<Sample>();
				for (int i = 1; i <= numberOfEntities; i++)
				{
					entities.Add(new Sample() { });
				}
				await myContext.BulkInsertAsync(entities);
			}
		}
	}

	public class MyContext : DbContext
	{
		public DbSet<Sample> Samples { get; set; }
		protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
		{
			optionsBuilder.UseSqlServer(@"Data Source=" + System.Environment.MachineName +
				";Initial Catalog=bulkCopyNullableConversionTest;" + "Integrated Security=True" +
				";Connect Timeout=15;Encrypt=False;TrustServerCertificate=True;ApplicationIntent=ReadWrite;MultiSubnetFailover=False");
			optionsBuilder.EnableSensitiveDataLogging();
			optionsBuilder.ConfigureWarnings(w => w.Log(
				Microsoft.EntityFrameworkCore.Diagnostics.CoreEventId.SensitiveDataLoggingEnabledWarning));
		}
		protected override void OnModelCreating(ModelBuilder modelBuilder)
		{
			modelBuilder
				.Entity<Sample>()
				.Property(e => e.DT)
				.HasConversion(v => v.HasValue ? v.Value.ToUniversalTime() : v,
					v => v.HasValue ? DateTime.SpecifyKind(v.Value, DateTimeKind.Utc) : v);
		}
	}

	public class Sample
	{
		public int Id { get; set; }
		public DateTime? DT { get; set; }
	}
}

Fixed with 2.5.1

authors: NoCodeMonkey borisdj vslee

license: mit


text:
Inclusion of Timestamp column in bulk operations

How can we intentionally include timestamp columns in bulk operations?
We need to one-way synchronize two databases and are dependent on the timestamp/rowversion column for efficiently determining what's changed.  These tables have hundreds of millions of records and we need to only process records in the source database that are newer than the target database (via timestamp compare).  In order to perform this comparison, we have to preserve timestamps in the source database and into them into target database.
SELECT * FROM [SourceTable] WHERE [Timestamp] > SELECT MAX(Timestamp) FROM [TargetTable]

Not sure how to achieve this.

authors: borisdj kyletinsley


text:
Feature Request: Backup Codes

A lot of other 2FA systems give the user a bunch of Backup Codes when activating, to use as an alternative login method in case the authenticator device is lost or unavailable.
I think this would be a great addition to the Two-Factor Authentication plugin, so a user in this situation may not have to wait for an Admin to come online to remove 2FA from their account for them.

Thanks @KarlBishop, this would be a great feature. Because of the upcoming native 2FA feature in Craft i'm a little hesitant to add this. It would involve a lot of work and we think this plugin is on it's way out.

@roelvanhintum oh cool, good to hear 2FA is becoming native 👍

authors: KarlBishop roelvanhintum


text:
spearman returns NaN.

spearman should return Nothing rather than NaN:
spearman $ V.fromList [(1, 3), (5, 3)], or any case where one of the two variables is a constant.

Good catch! Would you mind to provide fix for it?

This would change correlation, pearson, and pearsonMatByRow to return Maybe as well.

Ohhh... It's going to be a big change. Feel free to share your opinion on the matter

I starting to think that we should do such conversion and return Nothing when no result could be computed.  We could do it incrementally and start by convertin correlation & pearson. And decide what to do with pearsonMatByRow later

That sounds fine, but maybe return Nothing for pearsonMatByRow? The only issue is when finding bugs, it would be a tad more annoying to see which comparison is returning Nothing.

I've started addressing this here: https://github.com/DataHaskell/statistics/tree/exceptions-not-error

authors: GregorySchwartz Shimuuar ocramz

repo: bos/statistics


text:
Fix a typo

https://github.com/bosagora/agora/issues/2074
I will use PreImageCycle.opIndex to resolve this issue.
And then I found the typo.

Found one more :)
https://github.com/bosagora/agora/blob/d9ec67c295a50eff214b1bda29ab60d626ca80cb/source/agora/consensus/PreImage.d#L289

Found one more :)
https://github.com/bosagora/agora/blob/d9ec67c295a50eff214b1bda29ab60d626ca80cb/source/agora/consensus/PreImage.d#L289

Good eye! O.O

authors: TrustHenry kchulj

repo: bosagora/agora


text:
Fix #2305 - Use UTXO rather than PublicKey in slot_sigs

This was raised during review, and the fix is rather simple.
While doing so, I identified a bug, where a restart will lead to some AA being empty, and thanks to the new checks in the BitMask, it got caught.

I've extracted the bug fix in another PR. Please review #2317 first so that I can rebase (and simplify) this one.


text:
Updating model schema manually

I'm trying to repurpose some parts of botocore for my own API, and was wondering how the JSON files are generated and structured.
I couldn't find any info about it or a script, so I was wondering if this is something that is surfaced publicly or not.
I see the JSON files seem to be updated in a scripted manner in a CI cycle, and was curious if it is possible to expose the script generating those.

The process for generating the models is a pretty deep rabbit hole that we aren't able to share on a public forum like GitHub. Further, the model schema isn't publicly defined and we can't make any guarantees that the schema wont change. This usage isn't really supported so do be careful.
That said, there's no reason you couldn't leverage botocore to do this. I would definitely recommend locking to a specific version of botocore and upgrading with a fair bit of caution. The best documentation we can provide is to look at the models in the SDK and if you have a specific question about something you see, we can probably answer it.

authors: cmenguy joguSD

repo: boto/botocore


text:
refactoring ETA?

There are several issues here that are answered with "refactoring"
Is There any ETA available on when this "refactoring" will be done and available?
will it be one large update ... or will there be smaller updates spread out over several?

Just code style update.

Just code style update.

can you give us some kind of time frame? more than 1 Month or 1 Year?

Not sure, most of drivers are done, wireless is only released for customers.

Not sure, most of peripheral drivers are done like lhal, wireless is only released for customers.

Could you please clarify what is meant by "wireless is only released for customers"? There will be no ZigBee/BLE/WiFi support publicly available?

Having an open source RISC-V CPU and even closed source drivers for it's periphals sounds like a really ugly idea. But having no driver for wireless peripherals at all would be outrageous. I am also a customer, maybe I only bought a handful of boards, but I am still a customer.
Why do you think the ESP/ESP32 platform was such a huge success? Certainly not because they limited the possibilites of the makers praising them highly.
I also don't get how Pine64 (which should be a "real" customer by your standards) would accepted a CPU with a limited SDK for their Ox64-Board, clearly aimed at the makerspace. And it is even marketed with all the nice wireless bells & whistles...

I agree with @pzeiler, this board chip would be a huge success if it wasn't for the poor SDK support and the lack of wireless functionality (software-wise).
The chip itself is amazing, multi-core, with high-speed usb, wifi, bluetooth, zigbee, h264 encoder, mmu... It's a dream for many of us and I was very excited when I bought it, but now I'm already considering other options because of your attitude towards the OSS community.

You can familiarize yourself with the peripherals (no wireless)first.

@Iscle and @pzeiler The BL808 WiFi driver is already in bl_iot_sdk bl808 branch, and in SiPeed BL808 SDK.
(note, my opinion) Thus, I think what Bouffalo is trying to say, is that Wireless will be added at some point, as it is not fully ready for public release.

You can familiarize yourself with the peripherals (no wireless)first.

We know it's hard to develop an entire SDK for a brand new chip, and we greatly appreciate the work and effort you're putting into it.
We're not requesting a 100% working, bug-free SDK for tomorrow, we're only requesting an estimate, in order for us to be able to adapt our workflow, consider other options and organise or projects based on that.
For example, my project requires WiFi + Bluetooth Classic. + USB to work. I already have the USB part working, for WiFi I can get the closed-source lib from Sipeed SDK (that's not an issue), but there's no estimate, library or even mention about Bluetooth Classic / BLE anywhere.
I hope you understand our point :)
Thanks again for the work and contributing to OSS.

by the time this company gets their crap together ... Espressif or raspberrypi will have a cheaper equivalent ... and bouffalolab will still be waiting on the NDA ...
(note, my opinion)

I'm just plugging in here to stay up to date.

Thank you for your support and anticipation. This part of wireless open source is time and labour intensive, so please be patient.
SDK2.0 will support both mcu and iot, so you can familiarise yourself with the mcu part of the peripheral first and give us feedback on any problems you may have, so that you can use it soon after the wireless support is up.
BTW, you can get wifi from other sdk like sipeed sdk or iot sdk, if you want to use in SDK2.0, please wait. And i am not sure the release time.

Thank you for your reply. Could you also give any information about ZigBee availability in the SDK2.0? A ZNP approach would be fine for my project...

ZNP approach?

ZNP approach?

Like not handling it on the low level, just init the service and let the service handle things like network discovery, security, service advertisement etc.

https://software-dl.ti.com/simplelink/esd/simplelink_cc26x2_sdk/2.30.00.34/exports/docs/zstack/html/zigbee/znp_interface.html

time is ticking... we are still waiting... new chips are being released...

done

authors: ESP32DE Iscle angelovAlex gamelaster pzeiler sakumisu sakumisue sfranzyshen


text:
Install library, ERROR in serve application.

I have an Error when i serve my application:
ERROR in ../../node_modules/ng-socket-io/dist/src/socket-io.service.d.ts(1,10): error TS2305: Module '"/home/christian/repo/ng-xentauro/node_modules/rxjs/Observable"' has no exported member 'Observable'. ../../node_modules/rxjs/Observable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Observable'.

I Fix it adding the following library:
npm install --save rxjs-compat
.

repo: bougarfaoui/ng-socket-io


text:
EWMA vs mean unit of measure inconsistency in meters

Meters can be used for a number of things, but consider this example:
We want to measure the number of events per second, where an event is folsom_metrics:notify(Name, 1).
So we do folsom_metrics:get_metric_value(Name). What we get in response is
[{count,...}, {one, ...}, {five, ...}, {fifteen, ...}, {day, ...}, {mean, ...}, {acceleration, ...}]

where one, five, fifteen and day are measured in events per second, but mean is measured in events per micro second. Furthermore, acceleration is measured in events per second squared.
I believe it would be more consistent if mean were measured in events per second as well.
Suggested fix: divide this value by 1000000. May need to do something similar for meter reader as well.

Folsom has moved, please resubmit your issue at https://github.com/folsom-project Thanks!

authors: joewilliams vlad-alexandru-ionescu

repo: boundary/folsom


text:
Web - Update Bunches add privacy levels

Bunches are needed to updated so that the access levels are applied.

I'll close this issue after this PR is merged.


text:
Add recurring funding option to teams

Recurring payments to teams.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1580901-add-recurring-funding-option-to-teams?utm_campaign=plugin&utm_content=tracker%2F47&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47&utm_medium=issues&utm_source=github).

This is now live for all teams: https://salt.bountysource.com/

authors: rappo stp-ip

repo: bountysource/frontend


text:
Connect to DB with Sequelize

WHEN I add my database name, MySQL username, and MySQL password to an environment variable file
THEN I am able to connect to a database using Sequelize

'Connection has been successfully established' in console


text:
Ensure index entry components are within bounds

It turns out os.stat doesn't make any guarantees about the size of its results. In particular, after I upgraded to the macOS High Sierra beta, my fudge clones have been failing:
(venv) kahekkass ~/Code/bovarysme$ fudge clone https://github.com/bovarysme/whisper.git
Cloning into 'whisper'
Discovering refs and downloading a pack file
Parsing the pack file
Writing objects to disk (92/92)
Setting HEAD to 529f393
Checking out 529f393
Traceback (most recent call last):
  File "/Users/kivikakk/Code/bovarysme/fudge/venv/bin/fudge", line 11, in <module>
    load_entry_point('fudge', 'console_scripts', 'fudge')()
  File "/Users/kivikakk/Code/bovarysme/fudge/fudge/cli.py", line 128, in cli
    cmd_clone(args.repository, args.path)
  File "/Users/kivikakk/Code/bovarysme/fudge/fudge/commands.py", line 69, in cmd_clone
    read_tree(commit.tree)
  File "/Users/kivikakk/Code/bovarysme/fudge/fudge/tree.py", line 117, in read_tree
    write_index(index)
  File "/Users/kivikakk/Code/bovarysme/fudge/fudge/index.py", line 165, in write_index
    builder.set_u4(entry.ino)
  File "/Users/kivikakk/Code/bovarysme/fudge/fudge/parsing/builder.py", line 64, in set_u4
    self.pack('!I', value)
  File "/Users/kivikakk/Code/bovarysme/fudge/fudge/parsing/builder.py", line 33, in pack
    value = struct.pack(fmt, *args)
struct.error: 'I' format requires 0 <= number <= 4294967295
(venv) kahekkass ~/Code/bovarysme$

The st_ino value was 8591137582 — I'm guessing APFS has something to do with it. Core Git doesn't care about this at all — it always just stored the values as uint32_t and so only took the low 32 bits.  This is called out directly in read-cache.c:
/*
 * dev/ino/uid/gid/size are also just tracked to the low 32 bits
 * Again - this is just a (very strong in practice) heuristic that
 * the inode hasn't changed.
 *

So I just mask off anything above 32-bits here. The test fails on current master on my machine, but the inode value isn't going to predictably fail, so the ugly monkeypatch to force result.st_ino > 2**32 is in there 😥

Wow, good catch! I'm also masking off st_uid, st_gid and st_size, just in case someone ever wants to check-in 4 GiB files.
Thanks a lot! :purple_heart:

You're welcome! 💜
Ohh, good thinking, somehow that didn't occur to me! Thanks for cleaning up my style too; I need to get my pep8/pyflakes vim integration going again ..

authors: bovarysme kivikakk

repo: bovarysme/fudge


text:
instructions for installing entab-r on mac os x

I wrote some instructions for getting Rust to play nicely with R Studio on Mac OS X. Took me a little while to figure out, so it's probably worth mentioning somewhere. Feel free to modify the actual text.

Hey, thanks so much for putting this together! I think the documentation is great, but I'm not sure the Makefile changes would work on Linux too? They might also conflict with the Makevars file; does R Studio not work with that? If so, I futzed a little and I think we can replace Makevars with a Makefile that contains:
TARGET_DIR = ../target
LIBDIR = $(TARGET_DIR)/release
STATLIB = libentab.so
PKG_LIBS = -L$(LIBDIR) -lentab
ifeq ($(shell uname -s),Darwin)
	PLATFORM_STATLIB = libentab.dylib
else
	PLATFORM_STATLIB = libentab.so
endif

all: $(STATLIB) clean_working

$(SHLIB): $(STATLIB)

$(STATLIB):
	cargo build --release --manifest-path=../Cargo.toml --target-dir $(TARGET_DIR)
	mv ./$(LIBDIR)/$(PLATFORM_STATLIB) ./$(STATLIB)

clean_working:
	rm -Rf $(OBJECTS) $(TARGET_DIR)

clean:
	rm -Rf $(SHLIB) $(STATLIB) $(OBJECTS) $(TARGET_DIR)

Let me know either way and then we can merge this.

Hi,
Sorry for the confusion. The makefile was a relic from when I was messing around trying to get entab to install in OS X back in March. I think the solution you came up with is good. I only meant to push the update to the read me.

I think you might have to also modify the .Rprofile to use entab-R in RStudio on Windows (and possibly linux as well I don't know). Do you use Windows at all or only Linux? I was going to try to write instructions for Windows as well but I got side-tracked with other things. I don't have a Linux system so I don't know how it works on Linux.

It would be nice if R could just find the path to Cargo on its own. I saw there's been some discussion about this on the extendr github page: https://github.com/extendr/rextendr/issues/100

No problems!
I only have Linux installed right now. :/ I'm not surprised about Windows not finding it in PATH either. I think for Windows support you can create a separate Makevars.win so theoretically that could just link to wherever rustup installs to.

Codecov Report

Merging #35 (d59a70b) into master (b82f1e3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #35   +/-   ##
=======================================
  Coverage   73.17%   73.17%
=======================================
  Files          32       32
  Lines        3489     3489
=======================================
  Hits         2553     2553
  Misses        936      936

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

I'm going to merge this for now, but happy to revisit and add Windows documentation in the future (feel free to make an issue there too if you want).

Sounds good! 👍 I'm very busy right now trying to finish up some summer
project, but if I have a few extra minutes in the lab i'll try to figure
out how to get it to install on windows.
On Wed, Jul 27, 2022 at 11:43 PM Roderick Bovee @.***>
wrote:

I'm going to merge this for now, but happy to revisit and add Windows
documentation in the future (feel free to make an issue there too if you
want).
—
Reply to this email directly, view it on GitHub
https://github.com/bovee/entab/pull/35#issuecomment-1197620310, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADZEBO3PNNH4DQIBS4HSA7DVWH6VXANCNFSM54TXBVTQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

authors: bovee codecov-commenter ethanbass

repo: bovee/entab


text:
for getting time period on invoice items

for getting time period on invoice items as bellow
domain.com (30 January 2019 - 30 January 2020)

Allow date format to be set in settings. Take from settings. Also use lowercase variable names.

Has this pull request been reviewed? @fordnox was your comment a resolution to this pull request if so are you going to reject the pull?

authors: fordnox robin-bd timothygwebb

repo: boxbilling/boxbilling


text:
Remove HTTP automatically on TestRail domain

if the testrail domain accidentally has http:// it is not working
it would be good if that is considered and removed automatically

released in 2.7.0

repo: boxblinkracer/cypress-testrail


text:
Modify errors to be printed to stderr instead of stdout

This should prevent the issue where scripts relying on piping the output of manage.py commands don't break due to non-critical errors.
See also #37

Thanks!

authors: boxed danlamanna

repo: boxed/django-fastdev


text:
how to add onclicklistener in recycle view?

how to add onclicklistener in recycle view?? I want when click "lecture one" it will display webview.
String[] lecture = new String[] {"Introduction", "Lecture One", "Lecture two", "Lecture three", "Lecture four", "Lecture five"};
    private List<String> createItemList() {

        List<String> list = new ArrayList<>();
        for (int i = 0; i < lecture.length; i++) {
            list.add(lecture[i]);
        }
        return list;
    }

Please help to make onclicklistener.

try it add interface

repo: boxme/ParallaxHeaderViewPager


text:
Remove matches on floats

Go through code and remove matches on floats, replace them with if/else.  See link

done

repo: boxtown/statrs


text:
Recursive random photo is not recursive

Describe the bug
Files tree in the PiGallery (with /app/data/images/ as root index folder) :
/app/data/images/galleries/
/app/data/images/galleries/0.jpg
/app/data/images/galleries/dir1/
/app/data/images/galleries/dir1/1.jpg
/app/data/images/galleries/dir2/
/app/data/images/galleries/dir2/2.jpg
Expected

With http://mygallery.local/api/gallery/random/ : get alternatively 0.jpg, 1.jpg or 2.jpg when refreshed
With http://mygallery.local/api/gallery/random/?directory=galleries : get 0.jpg even when refreshed 10 times
With http://mygallery.local/api/gallery/random/?directory=galleries&recursive=true : get alternatively 0.jpg, 1.jpg or 2.jpg when refreshed

Reality

OK
OK
Got only 0.jpg
3.bis If I delete 0.jpg, I get the following error :
{"error":{"code":12,"message":"No photo found","detailsStr":""},"result":null}
I get the same error with 2. after 0.jpg deletion (but it is expected in this case).
So it seems the recursive parameter does not work or I missed something.

Additionally (you may want me to create another bug issue for this), the "&recursive=true" in the URL field is not updated when I switch "recursive" to on/off in the Random Link menu in the GUI. It is updated when I change another field (Date or Resolution) though.
Environment

Latest docker version without nginx proxy
Browser Firefox and Chrome

Thanks for the report. I'll look into it.

The last commit should solve this.

authors: BbillyBob bpatrik


text:
PiGallery2 on Synology NAS

Hi,
I'm new to Synology and docker. I followed this guide from mariushosting and changed the image location to /volume1/homes/richard/Photos.
Describe the bug
After I login, all the photos is still not showing and I get the following error message
Unknown` indexing error for: /
"Error: EACCES: permission denied, scandir '/app/data/images'"**
Environment (please complete the following information):

OS: Synology DSM 7.2
Browser: Brave

Used app version:
App version: v2.0.0

Hi,
I'm new to Synology and docker. I followed this guide from mariushosting and changed the image location to /volume1/homes/richard/Photos.
Describe the bug
After I login, all the photos is still not showing and I get the following error message Unknown` indexing error for: / "Error: EACCES: permission denied, scandir '/app/data/images'"**
Environment (please complete the following information):

OS: Synology DSM 7.2
Browser: Brave

Used app version: App version: v2.0.0
Wrong permission on your folder.
Check the troubleshooting link at the end of the article.

Hi,
I'm new to Synology and docker. I followed this guide from mariushosting and changed the image location to /volume1/homes/richard/Photos.
Describe the bug
After I login, all the photos is still not showing and I get the following error message Unknown` indexing error for: / "Error: EACCES: permission denied, scandir '/app/data/images'"**
Environment (please complete the following information):

OS: Synology DSM 7.2
Browser: Brave

Used app version: App version: v2.0.0
Wrong permission on your folder.
Check the troubleshooting link at the end of the article.

Hi Marius,
I used my admin profile (richardAdmin) for setting up the PiGallery2 docker container. UID and GID values are the same as yours, 1026 and 100. My photos folder is located in my user profile (richard). Do I just click the checkbox on richard photos folder or do I need to edit the docker compose file (maybe changing the UID and GID)?

Thanks!

Hi, I had a problem with the main Photo directory, there is a trash directory in this directory and it was causing the error, I changed the permissions to this directory and everything started working.
pigallery configuration on docker from Marius website ;) on DS220+

authors: leocordis27 mariushosting ozmatox


text:
Potential changes for methane/cosore

Lat/lon for individual collars

Other fields to consider but nothing critical:
-elevation for individual collars
-chamber opaque or not, chamber has mixing fan or not, chamber flow rate, date of chamber installation, chamber volume and equilibrium time
-soil conductivity, salinity, porewater chemistry (C:N, DOC, pH), soil type (ameriflux CVs), disturbance type
-switch free text in vegetation-related fields to CVs (Ameriflux BADM vegtype), consider other veg descriptors from Ameriflux (max height, tissue C:N, %cover by vegtype, clipped or not)

Straightforward to add:

Latitude, longitude, elevation for individual collars

Already in COSORE:

Chamber opaque or not

Possible though strike me as super detailed:

Chamber has mixing fan or not, chamber flow rate, date of chamber installation, chamber volume and equilibrium time
Note we do have chamber ground area and collar insertion depth
Which of the above would we rank most important?

These aren't currently in the ancillary table but easy to add:

Soil conductivity, salinity, porewater chemistry (C:N, DOC, pH), soil type (ameriflux CVs), disturbance type

Possible, would like to learn more:
-Switch free text in vegetation-related fields to CVs (Ameriflux BADM vegtype)
Could be added to ancillary, but too much work to add to ports:

Consider other veg descriptors from Ameriflux (max height, tissue C:N, %cover by vegtype, clipped or not)

Pinging @dschristianson so she sees this thread

re: Ranking- chamber volume, equilibrium time, date of inst, mixing fan or not, chamber flow.
But, also happy to forego altogether and reconsider later if they pop up in a lot of datasets/usercases.
Let's discuss the ancillary table additions when you have thought about adding space/time to it.
Follow up from today on including multiple gases in data:
If we are making data table flux columns gas specific. the following would have to be replicated for each gas IF timestamps alligned:
CSR_CDRY
CSR_CO2_AMB
CSR_COMMENTS
CSR_CRVFIT
CSR_ERROR
CSR_FLUX
CSR_FLUX_SE
CSR_R2
But if timestamps are different for each gas then pretty much all data table fields would have to replicate depending on gas other than the labels?
Follow up from today on soil and veg BADM
Attaching the two template files from Ameriflux website. I would just adapt something like the VEGTYPE field and SOIL_GROUP. And if you want to get fancy, one could include the following from my powell list:
CH_SPP_PERC | Estimated ground area coverage of each VEGTYPE in chamber (0-100%)
CH_SPP_HEIGHT | average plant height within chamber (m)
Lastly, I would add to the discussion on free text vs CV's that if you already have many datasets with free text on species, I would keep that field in. It's hard to use free text across many sites, but it's still very useful to have in case someone wants to go through and reclassify sites (have done this for multiple syntheses; it's not easy but would have been impossible without species list).
BADM-Soil-v2017-Template (2).xlsx
BADM-VegCover-v2018-Template (1).xlsx

Latitude, longitude, elevation for individual collars

What's the case for these? It has to be more than just "would be nice to have". Is there an analysis that would every realistically use these data?

Latitude, longitude, elevation for individual collars

What's the case for these? It has to be more than just "would be nice to have". Is there an analysis that would every realistically use these data?

Lat long of collars relative to a tower footprint, say, would help determine if tower and collar fluxes can be compared. Elevation in wetlands and other systems with microtopography is a great proxy for various flux drivers (e.g., water table depth).
I am flexible though as I imagine that these will be rarely reported. Not sure how often people record their chamber x,y and z. I always did it for my manual chambers.
OR instead of adding them to port is it better to add them to ancillary?

OK. This is a low-impact change, so I'm willing. No, I think ports is definitely the place for that kind of data. Thanks!

AmeriFlux members have requested the chamber location (lat, long, elev) metadata. The relative distances are needed for any kind of spatial analysis.

OK, added optional lon/lat/elevation for collars.

authors: avnimalhotra bpbond dschristianson

repo: bpbond/cosore


text:
Schnorr multi-signature of blocks

Schnorr multi-signature for the block signature. More than half the validators must sign a block which has reached consensus before it will be externalized.
Validators "gossip" their block signatures after the block is externalized, which means that even after consensus is reached, and the block is externalised, more validators can add their signature to the block.
Each validator signs the block with (R, s) where
R = (r + c).G
where
c = Hash(Block)
r = r + c where r is the private (Scalar) key of R from signature of enrollment
s = r + (c * v)
where
c = Hash(Block)
r = r + c where r is the private (Scalar) key of R
v = private (Scalar) of validator Schnorr keyPair
To validate an individual signature:-
S == R + (c * V)
where
S = s.G (Scalar -> point)
V = public key of validator as Point
To validate combined block signature:-
S = R1 + R2 ... + c * (V1 + V2 ...)
where S is s.G from block signature (R, s)

Part of #365

repo: bpfkorea/agora


text:
Pull request

Changed "placeholderImage" into "placeholder"

Thanks @wangjwchn

authors: bpoplauschi wangjwchn

repo: bpoplauschi/ImageCachingBenchmark


text:
Working web UI

GopherCI itself has the ability to show the results of an analysis.
This is the first version, very rough cut.
It's achieved by creating an internal package web, containing static
assets, templates and the handlers for the web views. This is done
to best compartmentalise the web components from the CI checks as
much as possible, as GopherCI is a CI tool, not a web view into the
results. I don't imagine too much more functionality being added
that isn't directly related to viewing analysis results.
Additional changes were required, there was a bug when writing results
to the database, it was using a TIME(3) field but trying to store
seconds in it, so results above 60 failed. The new Duration field
resolves this, and cleans up the marshalling of dates in and out of the
database. AnalysisStatus also implements sql.Scanner, so it can easily
be read from the database.
db.StartAnalysis now returns a db.Analysis with zero values zero for
all members except ID which is set correctly. Analyser now accepts
a pointer to a db.Analysis and it will populate the members as required.
This was done to allow the initial github SetStatus call to set the
HTML URL of the analysis. So when the status API is set the first time
a user can view and access the results.
Included is some changes to the GitHub CallbackHandler, it seems to be
deprecated, but because we had it set initially (I never used it),
GitHub still redirects users to this URL to then be redirected to the
analysis page. A small change was made to continue handling those
redirects and avoiding being an open redirect as well.
The web template itself is a very very rough draft, more work will
be made, but initially I just wanted a basic working version so lay
good foundations to focus on the UI at a later stage. It looks terrible,
but we'll address that later.

Coverage decreased (-4.7%) to 56.895% when pulling 6bb1bf8b7b61e5f755244a9c636e292de38e1db8 on build-summary into 0ea0f10c7b1f1e61ab0bcb1a6e391b06c78a85e5 on master.

authors: bradleyfalzon coveralls

repo: bradleyfalzon/gopherci


text:
Add callable microsaccades as intended by #492

PR #492 added microsaccades to brain-score but unintendedly, were only accessible by directly accessing the activations_model._extractor. This PR extends the microsaccades to be callable from the model.look_at() method (for testing stimuli) and model.start_task() method (for fitting stimuli), as intended by the description of PR #492.
In short, this PR simply extends the call signature of require_variance and number_of_trials a bit further than before.
PR #365 depends on this PR.

[x] add a test to catch errors with attach_stimulus_set_meta shape when called from from_stimulus_set

Looks like it's all green now - should be good to merge

repo: brain-score/vision


text:
Plugin is very slow to start

I will try to see if I can reproduce this on other machines, but on my Ubuntu 20.04 machine, the plugin takes a very long time to start (~20s). Other plugins start as normal.

This is also the same with the atlas manager widget, so not sure what's going on here.

FYI I profiled adding the  atlas manager widget. I'm none the wiser though.

Thanks - what I would naively take from it is: out of the 24 seconds it takes to add the widget to napari, it takes 12 seconds each to

downloading and reading the text file with the latest version from GIN
formatting the atlas names into more readable form
?

A possible improvement would be to cache the latest versions locally, and have a button that checks for updates remotely? So this is not done every time (GIN is not going to change daily)

I'm not sure that's the problem. I think getting the latest versions takes 2ms, but it's taken a total of 12 seconds before it gets to that point.

This returns 1.92e-05, so I don't think this function is to blame!
import timeit

start = timeit.timeit()
from brainglobe_atlasapi.list_atlases import get_all_atlases_lastversions
versions = get_all_atlases_lastversions()
end = timeit.timeit()
print(end - start)

Right, OK, that makes more sense - thanks.
IIRC my suspicion at the time was that building the tablemodel being slow

authors: adamltyson alessandrofelder

repo: brainglobe/brainrender-napari


text:
Cube generation segfaults

See https://forum.image.sc/t/cellfinder-napari-crashes-with-segmentation-fault-on-macos-when-saving-training-data-in-curation/52978

This seems restricted to certain (fairly old) systems. Keeping this issue open to track any further occurrences.

repo: brainglobe/cellfinder-napari


text:
[ENH] pad images

Very heavy handed but should help with readability.
For example

Agree - great solution :)


text:
[DON'T MERGE] v1-legacy

[ ] an issue linked to the PR

Warnings

:warning:

MODULE : node_modules/uglify-js/node_modules/wordwrap
| LICENSE : MIT*
| LICENSE_FILE : node_modules/uglify-js/node_modules/wordwrap/README.markdown
| REPOSITORY: https://github.com/substack/node-wordwrap
| PUBLISHER : James Halliday
| EMAIL : mail@substack.net
| URL : http://substack.net

:warning:

MODULE : node_modules/vargs
| LICENSE : MIT*
| LICENSE_FILE : node_modules/vargs/LICENSE
| REPOSITORY: undefined
| PUBLISHER : Alexis Sellier
| EMAIL : self@cloudhead.net
| URL : undefined

:warning:

MODULE : node_modules/gemini-coverage/node_modules/uglify-js
| LICENSE : BSD*
| LICENSE_FILE : node_modules/gemini-coverage/node_modules/uglify-js/LICENSE
| REPOSITORY: https://github.com/mishoo/UglifyJS2
| PUBLISHER : undefined
| EMAIL : undefined
| URL : undefined

:warning:

MODULE : node_modules/trim
| LICENSE : MIT*
| LICENSE_FILE : node_modules/trim/Readme.md
| REPOSITORY: undefined
| PUBLISHER : TJ Holowaychuk
| EMAIL : tj@vision-media.ca
| URL : undefined

:warning:

MODULE : node_modules/istanbul/node_modules/source-map
| LICENSE : BSD
| LICENSE_FILE : node_modules/istanbul/node_modules/source-map/LICENSE
| REPOSITORY: https://github.com/mozilla/source-map
| PUBLISHER : Nick Fitzgerald
| EMAIL : nfitzgerald@mozilla.com
| URL : undefined

:warning:

MODULE : node_modules/gemini-coverage/node_modules/source-map
| LICENSE : BSD
| LICENSE_FILE : node_modules/gemini-coverage/node_modules/source-map/LICENSE
| REPOSITORY: https://github.com/mozilla/source-map
| PUBLISHER : Nick Fitzgerald
| EMAIL : nfitzgerald@mozilla.com
| URL : undefined

:warning:

MODULE : node_modules/optimist
| LICENSE : MIT*
| LICENSE_FILE : node_modules/optimist/LICENSE
| REPOSITORY: https://github.com/substack/node-optimist
| PUBLISHER : James Halliday
| EMAIL : mail@substack.net
| URL : http://substack.net

:warning:

MODULE : node_modules/map-stream
| LICENSE : Custom: https://github.com/dominictarr/event-stream
| LICENSE_FILE : node_modules/map-stream/LICENCE
| REPOSITORY: https://github.com/dominictarr/map-stream
| PUBLISHER : Dominic Tarr
| EMAIL : dominic.tarr@gmail.com
| URL : http://dominictarr.com

:warning:

MODULE : node_modules/jsonify
| LICENSE : Public Domain
| LICENSE_FILE : node_modules/jsonify/README.markdown
| REPOSITORY: https://github.com/substack/jsonify
| PUBLISHER : Douglas Crockford
| EMAIL : undefined
| URL : http://crockford.com/

:warning:

MODULE : node_modules/json-schema
| LICENSE : AFLv2.1,BSD
| LICENSE_FILE : node_modules/json-schema/README.md
| REPOSITORY: https://github.com/kriszyp/json-schema
| PUBLISHER : Kris Zyp
| EMAIL : undefined
| URL : undefined

:warning:

MODULE : node_modules/indexof
| LICENSE : MIT*
| LICENSE_FILE : node_modules/indexof/Readme.md
| REPOSITORY: undefined
| PUBLISHER : undefined
| EMAIL : undefined
| URL : undefined

:warning:

MODULE : node_modules/html
| LICENSE : BSD*
| LICENSE_FILE : node_modules/html/LICENSE
| REPOSITORY: https://github.com/maxogden/commonjs-html-prettyprinter
| PUBLISHER : Max Ogden
| EMAIL : max@maxogden.com
| URL : http://maxogden.com

:warning:

MODULE : node_modules/glob-to-regexp
| LICENSE : BSD*
| LICENSE_FILE : node_modules/glob-to-regexp/README.md
| REPOSITORY: https://github.com/fitzgen/glob-to-regexp
| PUBLISHER : Nick Fitzgerald
| EMAIL : fitzgen@gmail.com
| URL : undefined

:warning:

MODULE : node_modules/uglifyify/node_modules/extend
| LICENSE : MIT*
| LICENSE_FILE : node_modules/uglifyify/node_modules/extend/LICENSE
| REPOSITORY: https://github.com/justmoon/node-extend
| PUBLISHER : Stefan Thomas
| EMAIL : justmoon@members.fsf.org
| URL : http://www.justmoon.net

:warning:

MODULE : node_modules/istanbul/node_modules/estraverse
| LICENSE : BSD
| LICENSE_FILE : node_modules/istanbul/node_modules/estraverse/LICENSE.BSD
| REPOSITORY: https://github.com/estools/estraverse
| PUBLISHER : undefined
| EMAIL : undefined
| URL : undefined

:warning:

MODULE : node_modules/domutils
| LICENSE : BSD*
| LICENSE_FILE : node_modules/domutils/LICENSE
| REPOSITORY: https://github.com/FB55/domutils
| PUBLISHER : Felix Boehm
| EMAIL : me@feedic.com
| URL : undefined

:warning:

MODULE : node_modules/eslint-plugin-import/node_modules/doctrine
| LICENSE : BSD
| LICENSE_FILE : node_modules/eslint-plugin-import/node_modules/doctrine/LICENSE.BSD
| REPOSITORY: https://github.com/eslint/doctrine
| PUBLISHER : undefined
| EMAIL : undefined
| URL : undefined

:warning:

MODULE : node_modules/css-select
| LICENSE : BSD*
| LICENSE_FILE : node_modules/css-select/LICENSE
| REPOSITORY: https://github.com/fb55/css-select
| PUBLISHER : Felix Boehm
| EMAIL : me@feedic.com
| URL : undefined

:warning:

MODULE : node_modules/parse-color/node_modules/color-convert
| LICENSE : MIT*
| LICENSE_FILE : node_modules/parse-color/node_modules/color-convert/LICENSE
| REPOSITORY: https://github.com/harthur/color-convert
| PUBLISHER : Heather Arthur
| EMAIL : fayearthur@gmail.com
| URL : undefined

:warning:

MODULE : node_modules/async-foreach
| LICENSE : MIT*
| LICENSE_FILE : node_modules/async-foreach/LICENSE-MIT
| REPOSITORY: https://github.com/cowboy/javascript-sync-async-foreach
| PUBLISHER : "Cowboy" Ben Alman
| EMAIL : undefined
| URL : http://benalman.com/

  Generated by :no_entry_sign: dangerJS against a4032f2def361b7f463d46b7731c53d0dfbdbc34

Warnings

:warning:

MODULE : node_modules/uglify-js/node_modules/wordwrap
| LICENSE : MIT*
| LICENSE_FILE : node_modules/uglify-js/node_modules/wordwrap/README.markdown
| REPOSITORY: https://github.com/substack/node-wordwrap
| PUBLISHER : James Halliday
| EMAIL : mail@substack.net
| URL : http://substack.net

:warning:

MODULE : node_modules/vargs
| LICENSE : MIT*
| LICENSE_FILE : node_modules/vargs/LICENSE
| REPOSITORY: undefined
| PUBLISHER : Alexis Sellier
| EMAIL : self@cloudhead.net
| URL : undefined

:warning:

MODULE : node_modules/gemini-coverage/node_modules/uglify-js
| LICENSE : BSD*
| LICENSE_FILE : node_modules/gemini-coverage/node_modules/uglify-js/LICENSE
| REPOSITORY: https://github.com/mishoo/UglifyJS2
| PUBLISHER : undefined
| EMAIL : undefined
| URL : undefined

:warning:

MODULE : node_modules/trim
| LICENSE : MIT*
| LICENSE_FILE : node_modules/trim/Readme.md
| REPOSITORY: undefined
| PUBLISHER : TJ Holowaychuk
| EMAIL : tj@vision-media.ca
| URL : undefined

:warning:

MODULE : node_modules/istanbul/node_modules/source-map
| LICENSE : BSD
| LICENSE_FILE : node_modules/istanbul/node_modules/source-map/LICENSE
| REPOSITORY: https://github.com/mozilla/source-map
| PUBLISHER : Nick Fitzgerald
| EMAIL : nfitzgerald@mozilla.com
| URL : undefined

:warning:

MODULE : node_modules/gemini-coverage/node_modules/source-map
| LICENSE : BSD
| LICENSE_FILE : node_modules/gemini-coverage/node_modules/source-map/LICENSE
| REPOSITORY: https://github.com/mozilla/source-map
| PUBLISHER : Nick Fitzgerald
| EMAIL : nfitzgerald@mozilla.com
| URL : undefined

:warning:

MODULE : node_modules/optimist
| LICENSE : MIT*
| LICENSE_FILE : node_modules/optimist/LICENSE
| REPOSITORY: https://github.com/substack/node-optimist
| PUBLISHER : James Halliday
| EMAIL : mail@substack.net
| URL : http://substack.net

:warning:

MODULE : node_modules/map-stream
| LICENSE : Custom: https://github.com/dominictarr/event-stream
| LICENSE_FILE : node_modules/map-stream/LICENCE
| REPOSITORY: https://github.com/dominictarr/map-stream
| PUBLISHER : Dominic Tarr
| EMAIL : dominic.tarr@gmail.com
| URL : http://dominictarr.com

:warning:

MODULE : node_modules/jsonify
| LICENSE : Public Domain
| LICENSE_FILE : node_modules/jsonify/README.markdown
| REPOSITORY: https://github.com/substack/jsonify
| PUBLISHER : Douglas Crockford
| EMAIL : undefined
| URL : http://crockford.com/

:warning:

MODULE : node_modules/json-schema
| LICENSE : AFLv2.1,BSD
| LICENSE_FILE : node_modules/json-schema/README.md
| REPOSITORY: https://github.com/kriszyp/json-schema
| PUBLISHER : Kris Zyp
| EMAIL : undefined
| URL : undefined

:warning:

MODULE : node_modules/indexof
| LICENSE : MIT*
| LICENSE_FILE : node_modules/indexof/Readme.md
| REPOSITORY: undefined
| PUBLISHER : undefined
| EMAIL : undefined
| URL : undefined

:warning:

MODULE : node_modules/html
| LICENSE : BSD*
| LICENSE_FILE : node_modules/html/LICENSE
| REPOSITORY: https://github.com/maxogden/commonjs-html-prettyprinter
| PUBLISHER : Max Ogden
| EMAIL : max@maxogden.com
| URL : http://maxogden.com

:warning:

MODULE : node_modules/glob-to-regexp
| LICENSE : BSD*
| LICENSE_FILE : node_modules/glob-to-regexp/README.md
| REPOSITORY: https://github.com/fitzgen/glob-to-regexp
| PUBLISHER : Nick Fitzgerald
| EMAIL : fitzgen@gmail.com
| URL : undefined

:warning:

MODULE : node_modules/uglifyify/node_modules/extend
| LICENSE : MIT*
| LICENSE_FILE : node_modules/uglifyify/node_modules/extend/LICENSE
| REPOSITORY: https://github.com/justmoon/node-extend
| PUBLISHER : Stefan Thomas
| EMAIL : justmoon@members.fsf.org
| URL : http://www.justmoon.net

:warning:

MODULE : node_modules/istanbul/node_modules/estraverse
| LICENSE : BSD
| LICENSE_FILE : node_modules/istanbul/node_modules/estraverse/LICENSE.BSD
| REPOSITORY: https://github.com/estools/estraverse
| PUBLISHER : undefined
| EMAIL : undefined
| URL : undefined

:warning:

MODULE : node_modules/domutils
| LICENSE : BSD*
| LICENSE_FILE : node_modules/domutils/LICENSE
| REPOSITORY: https://github.com/FB55/domutils
| PUBLISHER : Felix Boehm
| EMAIL : me@feedic.com
| URL : undefined

:warning:

MODULE : node_modules/eslint-plugin-import/node_modules/doctrine
| LICENSE : BSD
| LICENSE_FILE : node_modules/eslint-plugin-import/node_modules/doctrine/LICENSE.BSD
| REPOSITORY: https://github.com/eslint/doctrine
| PUBLISHER : undefined
| EMAIL : undefined
| URL : undefined

:warning:

MODULE : node_modules/css-select
| LICENSE : BSD*
| LICENSE_FILE : node_modules/css-select/LICENSE
| REPOSITORY: https://github.com/fb55/css-select
| PUBLISHER : Felix Boehm
| EMAIL : me@feedic.com
| URL : undefined

:warning:

MODULE : node_modules/parse-color/node_modules/color-convert
| LICENSE : MIT*
| LICENSE_FILE : node_modules/parse-color/node_modules/color-convert/LICENSE
| REPOSITORY: https://github.com/harthur/color-convert
| PUBLISHER : Heather Arthur
| EMAIL : fayearthur@gmail.com
| URL : undefined

:warning:

MODULE : node_modules/async-foreach
| LICENSE : MIT*
| LICENSE_FILE : node_modules/async-foreach/LICENSE-MIT
| REPOSITORY: https://github.com/cowboy/javascript-sync-async-foreach
| PUBLISHER : "Cowboy" Ben Alman
| EMAIL : undefined
| URL : http://benalman.com/

  Generated by :no_entry_sign: dangerJS against fbfb857e1ae078529bbc3a32671082a9ab825c99

repo: brainhubeu/react-carousel


text:
Ssl error on setup

System Health details
System Information

version
core-2024.8.0

installation_type
Home Assistant OS

dev
false

hassio
true

docker
true

user
root

virtualenv
false

python_version
3.12.4

os_name
Linux

os_version
6.6.46-haos

arch
x86_64

timezone
Europe/Paris

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

HACS Data
ok

GitHub API Calls Remaining
4988

Installed Version
2.0.0

Stage
running

Available Repositories
1399

Downloaded Repositories
64

Home Assistant Cloud

logged_in
false

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Home Assistant Supervisor

host_os
Home Assistant OS 13.1

update_channel
stable

supervisor_version
supervisor-2024.08.0

agent_version
1.6.0

docker_version
26.1.4

disk_total
68.2 GB

disk_used
61.2 GB

healthy
true

supported
true

host_connectivity
true

supervisor_connectivity
true

ntp_synchronized
true

virtualization
kvm

board
ova

supervisor_api
ok

version_api
ok

installed_addons
Advanced SSH & Web Terminal (18.0.0), SQLite Web (4.2.0), Mosquitto broker (6.4.1), File editor (5.8.0), Get HACS (1.3.0)

Dashboards

dashboards
5

resources
32

error
/config/ui-lovelace.yaml not found

views
4

mode
yaml

Recorder

oldest_recorder_run
25 août 2023 à 09:55

current_recorder_run
24 août 2024 à 21:50

estimated_db_size
8911.21 MiB

database_engine
sqlite

database_version
3.45.3

Sonoff

version
3.7.3 (e240aaf)

cloud_online
1 / 1

local_online
1 / 1

Spotify

api_endpoint_reachable
ok

Checklist

[ ] I have read the FAQ to see if there is a known solution to my problem.
[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of currently previous issues..

Describe the issue
Just add powercalc: on my configuration.yaml 😁
Reproduction steps

Just startup with powercalc:

...
Debug logs
Enregistreur: homeassistant.setup
Source: setup.py:416
S'est produit pour la première fois: 21:50:51 (1 occurrences)
Dernier enregistrement: 21:50:51

Error during setup of component powercalc
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1043, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs, sock=sock)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1149, in create_connection
    transport, protocol = await self._create_connection_transport(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1182, in _create_connection_transport
    await waiter
  File "/usr/local/lib/python3.12/asyncio/sslproto.py", line 578, in _on_handshake_complete
    raise handshake_exc
  File "/usr/local/lib/python3.12/asyncio/sslproto.py", line 560, in _do_handshake
    self._sslobj.do_handshake()
  File "/usr/local/lib/python3.12/ssl.py", line 917, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'api.powercalc.nl'. (_ssl.c:1000)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/config/custom_components/powercalc/power_profile/loader/remote.py", line 222, in download_with_retry
    return await callback()
           ^^^^^^^^^^^^^^^^
  File "/config/custom_components/powercalc/power_profile/loader/remote.py", line 78, in _download_remote_library_json
    async with aiohttp.ClientSession() as session, session.get(ENDPOINT_LIBRARY) as resp:
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 1344, in __aenter__
    self._resp = await self._coro
                 ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 648, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 546, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 954, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1313, in _create_direct_connection
    raise last_exc
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1282, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1045, in _wrap_create_connection
    raise ClientConnectorCertificateError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host api.powercalc.nl:443 ssl:True [SSLCertVerificationError: (1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'api.powercalc.nl'. (_ssl.c:1000)")]

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/config/custom_components/powercalc/power_profile/loader/remote.py", line 95, in load_library_json
    return cast(dict[str, Any], await self.download_with_retry(_download_remote_library_json))
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/powercalc/power_profile/loader/remote.py", line 227, in download_with_retry
    raise ProfileDownloadError(f"Failed to download even after {max_retries} retries, falling back to local copy") from e
custom_components.powercalc.power_profile.error.ProfileDownloadError: Failed to download even after 3 retries, falling back to local copy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 416, in _async_setup_component
    result = await task
             ^^^^^^^^^^
  File "/config/custom_components/powercalc/__init__.py", line 239, in async_setup
    await discovery_manager.start_discovery()
  File "/config/custom_components/powercalc/discovery.py", line 77, in start_discovery
    power_profile = await self.get_power_profile(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/powercalc/discovery.py", line 101, in get_power_profile
    self.power_profiles[entity_id] = await get_power_profile(
                                     ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/powercalc/power_profile/factory.py", line 41, in get_power_profile
    library = await ProfileLibrary.factory(hass)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/powercalc/power_profile/library.py", line 48, in factory
    await library.initialize()
  File "/config/custom_components/powercalc/power_profile/library.py", line 34, in initialize
    await self._loader.initialize()
  File "/config/custom_components/powercalc/power_profile/loader/composite.py", line 14, in initialize
    [await loader.initialize() for loader in self.loaders]  # type: ignore[func-returns-value]
     ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/powercalc/power_profile/loader/remote.py", line 41, in initialize
    self.library_contents = await self.load_library_json()
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/powercalc/power_profile/loader/remote.py", line 98, in load_library_json
    return await self.hass.async_add_executor_job(_load_local_library_json)  # type: ignore
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/powercalc/power_profile/loader/remote.py", line 68, in _load_local_library_json
    raise ProfileDownloadError("Local library.json file not found")
custom_components.powercalc.power_profile.error.ProfileDownloadError: Local library.json file not found

### Diagnostics dump or YAML config

_No response_

Hmm that's strange.
I did have a few minutes to investigate, but I don't see why this is happening.
I checked setup of Let's encrypt certificate and everything seems fine as far as I can tell.
Also this error does not appear for me when I try to connect same way with a test python script.
Will have a further look later.

I found the error !
My DNS !
Adguard Home found that your DNS name is dangerous and block the request.

repo: bramstroker/homeassistant-powercalc


text:
Correctly unset energy_entity attribute on config entry for consistent behaviour

See #2476

Pull Request Test Coverage Report for Build 10851934905
Details

7 of 7 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 10851289574:
0.0%

Covered Lines:
4450

Relevant Lines:
4450

💛  - Coveralls

authors: bramstroker coveralls


text:
🛑 Dev Charite gateway-iop-connection is down

In 5ce9e1b, Dev Charite gateway-iop-connection (https://dev-ids.health-x.charite.de/health/4) was down:

HTTP code: 500
Response time: 157 ms

Resolved: Dev Charite gateway-iop-connection is back up in 0226a20 after 11 minutes.

repo: braunma/dataloft-endpoint-monitor


text:
🛑 Charite gateway-iop-connection is down

In c153e01, Charite gateway-iop-connection (https://ids.health-x.charite.de/health/4) was down:

HTTP code: 500
Response time: 160 ms

Resolved: Charite gateway-iop-connection is back up in 32c2892 after 12 minutes.


text:
Reg Tomcat HikariCP Datasource(Oracle connectionProperties) help.

Environment
HikariCP version: 3.2.0
JDK version : 1.8.0_111
Database : Oracle 12g
Driver version : ojdbc7 Type4
dataSourceClassName="oracle.jdbc.pool.OracleDataSource"
To start with, i love hikariCP. I love the idealogy of simple is better.
Currently i have configured the connection pool in tomcat container as below. I am not able to pass in connectionProperties to the OracleDataSource. The other solution that was described tells us to create the OracleDataSource object and set it in the HikariConfig.SetDataSource. Are there any other solution available to pass in as property?
<Resource name="jdbc/db" auth="Container"     factory="com.zaxxer.hikari.HikariJNDIFactory"     type="javax.sql.DataSource"     poolName="reports"     minimumIdle="10"     maximumPoolSize="50"     connectionTimeout="30000"     dataSourceClassName="oracle.jdbc.pool.OracleDataSource"     connectionProperties="defaultRowPrefetch=1000"     dataSource.user="${ds.user}"     dataSource.password="${ds.password}"     dataSource.url="${ds.url}"/>
``
OracleDataSource oracleDs = new OracleDataSource();
Properties connectionProperties = new Properties();
connectionProperties.put("defaultRowPrefetch", "10000");
oracleDs.setConnectionProperties(connectionProperties);
oracleDs.setUser(user);
oracleDs.setPassword(password);
oracleDs.setUser(connectionString);
HikariConfig conf = new HikariConfig("reports.properties");
conf.setDataSource(oracleDs);
HikariDataSource ds = new HikariDataSource(conf);
return ds;
``

Environment
HikariCP version: 3.2.0
JDK version     : 1.8.0_111
Database        : Oracle 12g
Driver version  : ojdbc7 Type4
dataSourceClassName="oracle.jdbc.pool.OracleDataSource"
To start with, i love hikariCP.  I love the idealogy of simple is better.
Currently i have configured the connection pool in tomcat container as below.  I am not able to pass in connectionProperties to the OracleDataSource.  The other solution that was described tells us to create the OracleDataSource object and set it in the HikariConfig.SetDataSource.  Are there any other solution available to pass in as property?

OracleDataSource oracleDs = new OracleDataSource();
Properties connectionProperties = new Properties();
connectionProperties.put("defaultRowPrefetch", "10000");
oracleDs.setConnectionProperties(connectionProperties);
oracleDs.setUser(user);
oracleDs.setPassword(password);
oracleDs.setUser(connectionString);

HikariConfig conf = new HikariConfig("reports.properties");
conf.setDataSource(oracleDs);
HikariDataSource ds = new HikariDataSource(conf);
return ds;

Thanks in advance.

import com.zaxxer.hikari.HikariConfig;
import com.zaxxer.hikari.HikariDataSource;
import oracle.jdbc.pool.OracleDataSource;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.Properties;

public class HikariCPExample {

    public static HikariDataSource getHikariDataSource() throws SQLException {
        // Create OracleDataSource and set connection properties
        OracleDataSource oracleDs = new OracleDataSource();

        // Set connection properties
        Properties connectionProperties = new Properties();
        connectionProperties.put("defaultRowPrefetch", "1000"); // Adjust the value as needed
        oracleDs.setConnectionProperties(connectionProperties);

        // Set other connection parameters
        oracleDs.setUser("your_username");
        oracleDs.setPassword("your_password");
        oracleDs.setURL("jdbc:oracle:thin:@//localhost:1521/ORCL");

        // Create HikariConfig and set the OracleDataSource
        HikariConfig config = new HikariConfig();
        config.setDataSource(oracleDs); // Set the OracleDataSource

        // Configure HikariCP settings
        config.setMinimumIdle(10);
        config.setMaximumPoolSize(50);
        config.setConnectionTimeout(30000);

        // Create HikariDataSource
        HikariDataSource hikariDataSource = new HikariDataSource(config);

        return hikariDataSource;
    }

    public static void main(String[] args) throws SQLException {
        HikariDataSource dataSource = getHikariDataSource();

        // Test the connection
        try (Connection connection = dataSource.getConnection()) {
            System.out.println("Connected to the database!");
        }
    }
}

authors: ljluestc sekarmg

repo: brettwooldridge/HikariCP


text:
Should the discriminatorKey option actually work?

I'm trying the example code, but the returned results aren't instances of either Car or Bus (but of Vehicle). The key is saved to the database, though.

Already fixed and merged

authors: robertklep sieira

repo: briankircho/mongoose-schema-extend


text:
Fix runtime warnings

Those warnings were observed with :
# consul --version
Consul v0.8.4

This one is going to be tricky as we need to aim for backwards compatibility / the ability to run older Consul versions.

Ouch, care to explain a bit what's required ?
sprinkling something alike: "when: consul_version >= '0.8.x'"

I have worked out another "fix" am working on putting it into my branch and creating the PR at the moment.

#86
Here is my proposed solution

OK, your solution will handle both cases, so I'm retracting this one

repo: brianshumate/ansible-consul


text:
Allowing placeholders to follow a different convention

Hi.
I was setting up the configuration file for my team and I stumbled upon a use case that it's not possible to address with the linter.
I want to force the team to use a camel case convention to name mixins, functions, and variables. So, the convention is to write:
@mixin respondTo($minWidth, $maxWidth: "")
{
   // Do stuff
}

I also want the team to use hyphenated BEM to name selectors. BEM allows multiple words to be separated by a hyphen and sometimes you want to create a placeholder with the same name. For example, I might have:
%float-left,
.float-left
{
   float: left;
}

However, if I use the placeholder defined in this snippet as shown below:
.my-class
{
   @extend %float-left;
}

the linter will return an error. This happens because the placeholder is not camel case. According to the rules defined I'd have:
%floatLeft,
.float-left
{
   float: left;
}

which would be weird in my opinion.
So, I'd like to propose to add an option to treat placeholders differently from mixins, functions, and variables.

Hey @AurelioDeRosa, thanks for suggesting ways we can improve scss-lint.
This makes sense to me. A pull request would be most welcome!

Hi @sds, I hadn't the time to submit a PR but I might have found a temporary solution. Specifically, you can avoid the tool to raise the error by setting placeholder_convention: hyphenated_lowercase for NameFormat and placeholder_convention: hyphenated_BEM for SelectorFormat.
What do you think of this approach?

I've just realized that there is no need to set placeholder_convention: hyphenated_BEM for SelectorFormat if it's the default. So, now I wonder if this issue is still valid since setting placeholder_convention: hyphenated_lowercase for NameFormat fixes the problem.

Looking back at this, I don't think I understand this issue/request. However, since you have found a way to work around the problem, I believe that suggests there is nothing necessary on our side.
Feel free to submit a pull request if you feel differently. Thanks!

authors: AurelioDeRosa sds

repo: brigade/scss-lint


text:
Auto delete qpPattern when deactivated.

Closes #15

Woo dog! I'm doing memory tests, and I'm seeing that I have a lot of memory management to do (deconstructers, mainly).

Alright, I'm ready. I created a scoped quickPatterns, added many scenes/layers/patterns/etc, destroyed, repeat quickly, and memory usage remains the same.

Hey Paul, this looks great. Thanks for the contribution!

authors: brimshot pauldotknopf

repo: brimshot/quickPatterns


text:
Setup bostrom api node

Details in file
Guide https://github.com/cybercongress/go-cyber/blob/main/docs/run_validator.md
use v470 of nvidia driver
pruning - nothing

Node set. checked.


text:
Monitoring API Validator + (operator address)

operator address
Logo + moniker
Voting power
Self bonded
Commission
Commission changes (min/max/per day)
Slashing count
Commission earned
Restake enabled
Unique delegators
New delegators (last 30 days)
Voting participation

Rewards earned as a separate endpoint. Distribution rewards table. Historical data + total earned for a period

Comission earned as a separate endpoint. Comission rewards table. Historical data + total earned for a period

repo: bro-n-bro/spacebox-api