text:
[refactor] Move builtins in a separate module file and improve make_test()

This PR moves all the builtins in the module reframe.core.builtins. This is to allow their use with the make_test() utility function that defines tests dynamically. Builtins that were manipulating the directly the namespace of the class were refactored so that they don't need to do it. There is one exception, which is also the only builtin that didn't move to the new module: the bind() builtin. This builtin needs to bind a free function to the test class and therefore needs to manipulate the test class namespace. Unit tests are also added to test make_test() with builtins. Finally, this PR moves all the documentation of the builtins in the source code avoiding duplication we had previously. The overall documentation for builtins is also slightly refactored.
This PR is a prerequisite for #2458.
Fixes #2427.

Hello @vkarak, Thank you for submitting the Pull Request!

In the file reframe/core/fixtures.py:

Line 437:80: E501 line too long (92 > 79 characters)
Line 438:80: E501 line too long (93 > 79 characters)
Line 439:80: E501 line too long (96 > 79 characters)
Line 440:80: E501 line too long (89 > 79 characters)
Line 448:80: E501 line too long (95 > 79 characters)
Line 449:80: E501 line too long (89 > 79 characters)
Line 534:80: E501 line too long (82 > 79 characters)
Line 574:80: E501 line too long (81 > 79 characters)

In the file reframe/core/parameters.py:

Line 34:80: E501 line too long (95 > 79 characters)
Line 70:80: E501 line too long (89 > 79 characters)
Line 74:80: E501 line too long (84 > 79 characters)

In the file reframe/core/variables.py:

Line 59:80: E501 line too long (81 > 79 characters)
Line 81:80: E501 line too long (89 > 79 characters)
Line 170:80: E501 line too long (80 > 79 characters)

Do see the ReFrame Coding Style Guide

Codecov Report

Merging #2470 (d3fdc59) into master (f8d292c) will increase coverage by 0.01%.
The diff coverage is 100.00%.

:exclamation: Current head d3fdc59 differs from pull request most recent head 303405a. Consider uploading reports for the commit 303405a to get more accurate results

@@            Coverage Diff             @@
##           master    #2470      +/-   ##
==========================================
+ Coverage   85.71%   85.72%   +0.01%
==========================================
  Files          56       57       +1
  Lines       10529    10539      +10
==========================================
+ Hits         9025     9035      +10
  Misses       1504     1504

Impacted Files
Coverage Δ

reframe/core/deferrable.py
98.21% <ø> (ø)

reframe/core/fixtures.py
100.00% <ø> (ø)

reframe/core/hooks.py
90.21% <ø> (ø)

reframe/core/parameters.py
95.68% <ø> (ø)

reframe/core/variables.py
96.30% <ø> (ø)

reframe/core/builtins.py
100.00% <100.00%> (ø)

reframe/core/meta.py
99.05% <100.00%> (-0.11%)
:arrow_down:

Continue to review full report at Codecov.

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

@jenkins-cscs retry daint

authors: codecov-commenter pep8speaks vkarak

repo: eth-cscs/reframe


text:
Getters and setters for classes

Already has runtime component, need support in compiler

Fixed in v0.5.3 (https://github.com/ethanblake4/dart_eval/commit/c5795f1e284a46e44d2f9c30b73eebc3b2787fc3)

source: gharchive/issue

license_type: permissive

license_source: github-api


text:
Test the current demo with the motors

The current demo finds nuts and sends the data to the OpenCR. The next step is to send the coordinates to the inverse kinematics function and move the motors to the calculated angles.

The current code succeeds at getting good angles from the inverse kinematics function and moving the motors.


text:
Teething problems - not scrobbling

Thanks for doing this. Much needed imho.
I've followed each step. I don't get anything visible at last.fm. No 'now playing', no history. Nothing.
I am on MacOS Mojave. I have iina 1.2.0 and netcat and perl work in terminal.
I have tried installing MPV via brew as well.
I have doubled checked my details. How do I begin to help check for errors or anything?

Leave iina open and paused playing a track, and do perl scrobble.pl - what's the output?

I got:
Can't locate JSON.pm in @INC (you may need to install the JSON module) (@INC contains: /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at scrobble.pl line 3.
BEGIN failed--compilation aborted at scrobble.pl line 3.

So I did a sudo cpan JSON
Now I get:
Died at scrobble.pl line 39.

What do you get for echo '{ "command": ["get_property", "metadata"] }' | nc -U /tmp/mpv-socket with the track playing?

{"data":{"ENCODER":"X Lossless Decoder 20181019","TITLE":"No Fronts","ARTIST":"Dog Eat Dog","ALBUM":"All Boro Kings","GENRE":"Punk","track":"3","TRACKTOTAL":"10","TOTALTRACKS":"10","disc":"1","DISCTOTAL":"1","TOTALDISCS":"1","DATE":"1994","iTunes_CDDB_1":"7C084B0A+159442+10+150+14302+28332+49037+65105+82745+95092+105937+132135+144255","REPLAYGAIN_TRACK_GAIN":"-7.08 dB","REPLAYGAIN_TRACK_PEAK":"0.98129272"},"request_id":0,"error":"success"}

(This information is correct!)

I got:
Can't locate JSON.pm in @INC (you may need to install the JSON module) (@INC contains: /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at scrobble.pl line 3.
BEGIN failed--compilation aborted at scrobble.pl line 3.

So I did a sudo cpan JSON

I'll get rid of json decode and just parse with regex, I had assumed it came with macOS!

{"data":{"ENCODER":"X Lossless Decoder 20181019","TITLE":"No Fronts","ARTIST":"Dog Eat Dog","ALBUM":"All Boro Kings","GENRE":"Punk","track":"3","TRACKTOTAL":"10","TOTALTRACKS":"10","disc":"1","DISCTOTAL":"1","TOTALDISCS":"1","DATE":"1994","iTunes_CDDB_1":"7C084B0A+159442+10+150+14302+28332+49037+65105+82745+95092+105937+132135+144255","REPLAYGAIN_TRACK_GAIN":"-7.08 dB","REPLAYGAIN_TRACK_PEAK":"0.98129272"},"request_id":0,"error":"success"}

(This information is correct!)

ahhh its because the script is accessing Title|title but not TITLE, i'll push a change now

Died at scrobble.pl line 63. :)

Died at scrobble.pl line 63. :)

Believe it or not, I actually repro'd this with valid credentials when the password had a %  in it - take it away and it works lol, if thats the case for yours, I'll try and fix it.

Ignore this last one. Error lies with user.

authors: ethanndickson iparr

repo: ethanndickson/iina-lastfm

license: MIT


text:
[bug, priority med] EIP-Bot ratelimited on large PR

See: https://github.com/ethereum/EIPs/pull/5055#issuecomment-1113363268
That PR changes over 400 files. When the EIP bot tried to review it, its rate limit exceeded.
I'm putting it on medium priority as it might have DoS potential, but the PR will have to be manually merged anyway (good luck getting 399 authors to approve it!)

Hi, I believe that the risk is imminent. Please see notes below..
Question/action: is it necessary to define max_files_number allowed (in EIP 1) ??
Notes from GitHub rate limits:
The GitHub API rate limit ensures that the API is fast and available for everyone.
If you hit a rate limit, it's expected that you back off from making requests and try again later when you're permitted to do so. Failure to do so may result in the banning of your app.
You can always check your rate limit status at any time. Checking your rate limit incurs no cost against your rate limit.
Server-to-server rate limits for GitHub Enterprise Cloud
GitHub Apps that are installed on an organization or a repository within an enterprise on GitHub.com are subject to a limit of 15,000 requests per hour.

The chances that someone will abuse this is negligible, however.

I'll change it to high priority, as it does pose a risk. The EIP-Bot is not necessary for the functioning of the EIP repo, however (as there are repo admins).

Totally agree. Any potential risk must be addressed as high priority.

Which rate limit is being hit?  Just CPU time spent by the bot?  If the rate limit is doing its job successfully, I don't think we need to do anything additional.

It's the GitHub API rate limit - a lot scarier. The bot could get temporarily blacklisted from accessing PR files/

And the App could be halted or banned. Not sure if this would be temporary or permanent.

I'm not terribly worried about it then.  I suspect GitHub will associate repeated over-running bots with the account that triggered them, rather than the bot itself (though, perhaps a bit of both depending on context).  I also suspect we'll get warnings long before any sort of permanent action is taken.
We should still address it, no point in wasting resources if we know it is going to fail.  I just don't think it is critical priority.

Uh, let me rephrase this:
A malicious actor could submit a PR with 500 files, and submit trivial commits over and over. This would effectively halt the EIP process, because the only way PRs could be merged is manually with admin rights.

I believe GitHub automatically cancels an existing CI run if a new run for the same PR starts, so (if true) the attacker would need to commit just before the run finishes each time to lock things up.  Also, I think GitHub parallelizes up to a point, so we could still get other PRs through.
Most importantly though, someone could do this attack today to any repository with CI.  I believe GitHub has things in place to protect against it, and I think rate limiting is part of that.

so do we agree that the risk if any is mitigated / controlled by GitHub Rate Limiting ?
is there a better way to say it ?

I still think there is a small chance that this would temporarily get the bot banned (especially if GitHub uses Cloudflare). However, I doubt anyone will do it. Incidentally, if you're reading this and you're thinking "hey, I'd like to try to shut down the EIP repo for fun," please don't.
Moving to medium priority.

I will write a PR where max_num_files_allowed_to_change = 100, if you guys decide to increase it to 1000 it will be easy to do, but I believe that the possibility to limit it must be in place.

It should be no more than 400. It was already getting rate-limited at that point.
Personally, I would have it output a fail that changes to a pass when there are multiple editor approvals (similar to modifying EIP-1). This would still allow the auto merging of large PRs (such as mine).

Ok, so it would fail if (max_num_files_allowed_to_change > 400 && editors < 2)
Let me know if this is the consensus..

100 files is fine.  Really probably 20 is fine.  Re: number of editors, I wish we had a good mechanism for variable number of editor approvals.  Sometimes, getting 2 editors to review is hard.  Sometimes we have many active editors and 2 is too few.  For now though, 2 is better than nothing.

Ok, so:
fail if (max_num_files_allowed_to_change > 100 && editors < 2)

it is straight forward to get files_number for the PR, but concerning the editors:
a. bot just ask for at least one editor to review: ie.:
This PR requires review from one of [@lightclient, @axic, @SamWilsn] (this is from EIP/PR: 5034)
b.  Could be used Reviewers number (supposed to be just editors ? question) to get editors_number (but  reading the EIP/PRs I can see that or no reviewer or just 1 (editor) reviewing.
Is it possible to  just verify the total_file_numbers and fail if > 100

done (for approval)
https://github.com/ethereum/EIP-Bot/pull/83/commits/15a451b06767283f011eb6d026dbbd15f945fe2f
https://github.com/ethereum/EIP-Bot/pull/83/commits/15a451b06767283f011eb6d026dbbd15f945fe2f

authors: JEAlfonsoP MicahZoltu Pandapip1

repo: ethereum/EIP-Bot


text:
Rename repository name to "Consensus Layer Specification"

This issue proposes a name change for the repository to "Consensus Layer Specification". The same is proposed for the "execution-specs" repository for maintaining consistency (link: https://github.com/ethereum/execution-specs/issues/440).

thanks for raising this issue and i'd have to lean towards keeping things as they are.
we just had a "great renaming" and  it introduced a lot of churn throughout the ethereum software ecosystem (that is still being resolved) so it's likely not a great time to go changing the name of this repo further

Additionally, "Consensus Layer Specification" is too long and adds nothing to https://github.com/ethereum/consensus-specs

authors: mratsim ralexstokes uink45

repo: ethereum/consensus-specs


text:
Add specs for vanity art

Update specifications to match client implementation behaviour regarding optional vanity art being displayed when certain conditions are met.

This seems related to https://github.com/ethereum/consensus-specs/pull/2875

It's all optional and "may". This PR documents existing client behaviour. The panda is in most of them, the owl in some, blobfish hasn't hit yet.

Nimbus: https://github.com/status-im/nimbus-eth2/tree/unstable/beacon_chain/consensus_object_pools/vanity_logs
Lodestar: https://github.com/ChainSafe/lodestar/tree/unstable/packages/beacon-node/src/chain/blocks/utils
Lighthouse: https://github.com/sigp/lighthouse/blob/21dec6f603edd53ad8d2372941c77ab8098d3b5a/beacon_node/beacon_chain/src/block_verification.rs#L90-L112
Prysm: https://github.com/prysmaticlabs/prysm/blob/a7c9c76b18fb71cb680c81b69414e11c97db7ca2/beacon-chain/blockchain/merge_ascii_art.go
Teku: https://github.com/ajsutton/teku/blob/e77cd2a36ee1c341dd367620c0025c2bce0be4de/ethereum/statetransition/src/main/resources/tech/pegasys/teku/statetransition/forkchoice/panda.txt

source: gharchive/pull-request

authors: etan-status ppopth


text:
Implement EVM trace in Pytest

(closes #235 )
What was wrong?
The current spec does not have a tool to generate EVM traces.
Related to Issue #235
How was it fixed?
Created a plugin-like tool to generate evm traces inside pytest commands with minimal changes to the fork code.
The traces can be generated by using the --evm-trace flag in pytest
Cute Animal Picture

Codecov Report

Merging #467 (bc4355b) into master (5ea89ca) will increase coverage by 4.30%.
The diff coverage is 97.39%.

@@            Coverage Diff             @@
##           master     #467      +/-   ##
==========================================
+ Coverage   79.45%   83.75%   +4.30%
==========================================
  Files         187      217      +30
  Lines        9864    11820    +1956
==========================================
+ Hits         7837     9900    +2063
+ Misses       2027     1920     -107

Flag
Coverage Δ

unittests
83.75% <97.39%> (+4.30%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/ethereum/byzantium/utils/json.py
52.94% <ø> (ø)

src/ethereum/dao_fork/vm/__init__.py
0.00% <0.00%> (ø)

src/ethereum/dao_fork/vm/instructions/system.py
0.00% <0.00%> (ø)

src/ethereum/dao_fork/vm/interpreter.py
0.00% <0.00%> (ø)

...um/byzantium/vm/precompiled_contracts/ecrecover.py
93.33% <93.33%> (ø)

src/ethereum/byzantium/spec.py
93.96% <93.96%> (ø)

src/ethereum/byzantium/utils/message.py
94.73% <94.73%> (ø)

src/ethereum/byzantium/vm/interpreter.py
95.23% <95.23%> (ø)

src/ethereum/byzantium/trie.py
97.72% <97.72%> (ø)

src/ethereum/byzantium/vm/gas.py
98.78% <98.78%> (ø)

... and 53 more

Continue to review full report at Codecov.

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

@SamWilsn I have updated the files as per your suggestions in most places. This is now ready for review. Please take a look. Specific comments can be found in the individual topics above.

@SamWilsn Thanks for the very detailed review and feedback. Have updated

authors: codecov-commenter gurukamath

repo: ethereum/execution-specs


text:
Enable automated release system to create pre-releases

Currently it's impossible to create pre-releases using the automated release process.
Since there currently are a lot of changes in the pyeth* ecosystem it would be useful to have this ability.
Tasks:

[ ] Update bumpversion config to allow prerelease markers
[ ] Propagate changes to upstream libraries using the same system

[ ] pyethereum
[ ] pydevp2p
[ ] pyrlp

@ulope Is #233 what you had in mind?

authors: gsalgado ulope

repo: ethereum/pyethapp

license: mit

license_source: bigquery


text:
Error: Cannot find module 'csjs-inject' from ' ... /remix/src/ui'

I want to run remix on my localhost but I get this error! any suggestion ? My browser show nothing and I see this error in my browser console:
index.html:10 Uncaught TypeError: Cannot read property 'ui' of undefined
    at loadDebugger (index.html:10)
    at onload (index.html:6)

Did you run npm install?

Yep! I did and npm install return the
Error: Cannot find module 'csjs-inject' from ' ... /remix/src/ui'
And did some other stuff.

I think I had the same problem. Csjs is not listen in package.json. Try to install it separately
npm install csjs-inject and I think it should work then.

authors: farzad-salimijazi ninabreznik

repo: ethereum/remix


text:
[WIP] Test script to run a discv5 bootnode

New scripts to run discv5 and create node identities

It configures logging based on a config file. From another config file, it loads

- private key
- ENRs to put in the DB at launch
- node ids to put in the routing table at launch
- hostname and port for the UDP socket it should use

@pipermerriam this is just a script to manually test discv5, similar to the stuff we already have in scripts/, and I'll move it there in a bit. Depending on how this evolves I'll look into using that Component API, but at this point I'm not even sure we'll merge this

Do you feel strong about tests? I'd also like to ensure the scripts at least run, but since these are really just to help manual testing by developers and at this point I don't even know how useful they're going to be (specially the one to create identities) I'd prefer not to spend time writing tests for them. Maybe we could rely on CI's mypy checks for these?

Do you feel strong about tests?

Only in so far as they actually make sense.  If you are going to be iterating on this script and you think tests are going to be un-necessary overhead in the short term that's fine by me.  I just want to make sure this code doesn't slowly rot.

Only in so far as they actually make sense. If you are going to be iterating on this script and you think tests are going to be un-necessary overhead in the short term that's fine by me. I just want to make sure this code doesn't slowly rot.

I think the overhead of writing/maintaining tests is unjustified for stuff under the scripts/ dir as those are not what could be considered production code, but even more so for these ones as I was just cherry-picking them from an old PR from Jannik and planned to do more iterations on them, but today I realized the current discv5 implementation of geth is not yet based on the last spec draft (like ours), so there's nothing useful I can do with those scripts at this point other than running multiple instances of itself and have them talk to one another. In light of that I'll move this back to draft state

there's nothing useful I can do with those scripts at this point

Not necessarily.  We could go ahead and actually start running this to get the v5 discovery network off the ground.  Probably worth talking with Felix about this.  We could still use this new discovery network in conjunction with the legacy one.

I'm fine with whatever direction you want to take btw, take my previous comment as just my general thoughts.

authors: gsalgado pipermerriam

repo: ethereum/trinity


text:
Implement packet encoding and decoding services

One service that takes incoming datagrams and tries to decode them as packets and another one that does the opposite.
Cute Animal Picture

The failing test seems to be unrelated.

There are failing tests in CI, but they are unrelated to this PR. I've tried rerunning them a couple of times, but that didn't help :(


text:
Canceling uploads seems lead to not being able to upload again

⚠ Support requests in an issue-format will be closed immediately. For support, go to Swarm's Discord.
Context

Bee version: Version: 1.17.5-50fcec7b
Swarm-cli: Swarm CLI 2.6.0
Ubuntu; Bee running as Swarm Desktop
Summary

Using swarm-cli to upload a large file (10GB+). Quite quickly after starting upload decided to cancel with CTRL-C. Tried to upload same file name shortly after (but slightly larger, as content was added) and the upload fails with error 500. See screenshot.

Expected behavior

I would expect the uploads to work without error.
Actual behavior

Steps to reproduce

Try to upload a file using swarm-cli, cancel with CTRL-C and try to upload another one (maybe has to be same filename?).
Possible solution

I cannot reproduce this on bee 1.17.6 with CLI 2.6.0

authors: acha-bill crtahlin

repo: ethersphere/bee


text:
Uncaught TypeError: Cannot read property '0' of undefined

Issue Type
Uncaught TypeError: Cannot read property '0' of undefined
    at http://localhost:8080/app.js:29773:34
    at Array.map (native)
    at Object.decodeEvent (http://localhost:8080/app.js:29772:6)
    at http://localhost:8080/app.js:33803:38
    at Array.map (native)
    at Object.decodeLogs (http://localhost:8080/app.js:33774:19)
    at Object.callback (http://localhost:8080/app.js:33896:35)
    at http://localhost:8080/app.js:6974:25
    at http://localhost:8080/app.js:37588:9
    at chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/scripts/inpage.js:168:7

Description
On a private-network on port 8545 using testrpc and MetaMask when I send coins to another account I get this error

Steps to reproduce
On Windows
Prompt1
truffle.cmd init webpack
Prompt2
testrpc
Prompt1
truffle.cmd compile
truffle.cmd migrate
npm run dev
Go to localhost:8080
Versions

Node/NPM: Node 8.0 npm 5.0.3
Browser: Chrome

What version of Truffle are you using, can you post anything about how you are using this method?
It's most likely caused by Truffle, but initialed by your inputs. I doubt its this module however. I'll ping tim. @tcoulter any thoughts?

I am getting the same error, with the truffle-init-webpack project.
Here's the steps I have taken on a clean environment:
npm install -g truffle@beta
npm install -g ethereumjs-testrpc@beta
truffle init webpack
... compile and start testrpc ...
npm run dev
open in chrome inkl Metamask
connect meta-mask to localhost
import one account from testrpc to metamask
transfer a MetaCoin to another account.
Same happens on Firefox without MetaMask in the middle.
I also think it is not really related to ethjs-abi, because as far as I can tell the function where it fails  (decodeEvent(...)) has not changed since version 0.0.1. Haven't had the chance to dig deeper yet, any pointers would be helpful though.
Thanks,
Thomas

What version of Truffle are you using, can you post anything about how you are using this method?

I'm using the exact same method as @tomw1808 with Truffle beta.

I am also getting the same error, with truffle init webpack project.

I am also getting the same issue with the steps above. This has to do with whether or not I define an event parameter as indexed (removing it fixes the issue).

Will take a look at this, thanks, I'll talk with Tim, he didn't seemed too bothered by this before.
Sent from my iPhone

On Jul 13, 2017, at 3:40 PM, Ericxgao notifications@github.com wrote:
I am also getting the same issue with the steps above. This has to do with whether or not I define an event parameter as indexed (removing it fixes the issue).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I haven't been able to reproduce the issue with the steps provided.
@tomw1808 You gave these steps:
npm install -g truffle@beta
npm install -g ethereumjs-testrpc@beta
truffle init webpack
... compile and start testrpc ...
npm run dev

You didn't list migrating (i.e., deploying) your contracts. Did you perform that step before continuing?
Can you tell me what operating system you guys are using? So far it looks like Windows.

@tcoulter
Yes, Windows 8.1 64-bit

I've successfully reproduced, but only on Windows. Diagnosing.

I've found the culprit, though I don't understand it.
TL;DR: npm is installing the wrong version of ethjs-abi.
Background:
If you look here, truffle-init-webpack is asking for a version of truffle-contract that's v1.1.6 or above, in which case npm should choose the latest version, which is v1.1.11. Version v1.1.11 fixes the issue above by pinning the expected version of ethjs-abi; however, on Windows, npm choose v1.1.6 of truffle-contract instead of v1.1.11, which installs the incorrect version of ethjs-abi. I don't know why the behavior of npm on Windows and Mac is different, but of course this is software, so c'est la vie.
Solution
I'll bump a version of truffle-init-webpack momentarily that fixes this issue.
Obligatory aside: Note that we're moving away from truffle-init-webpack in favor of Truffle Boxes, which offer a better experience and more options (and a larger set of boxes once we can get new ones rolled out). You should check them out if you haven't already!

This has been fixed. You should now be able to perform the following on Windows with no issue:
truffle init webpack
truffle compile
truffle migrate
npm run dev

You'll be able to use the example application as expected.
Cheers! @SilentCicero, you can close this issue.

Hey @tcoulter sorry the late reply and thanks for fixing it.
OT question: Moving away from truffle-init-webpack and into the truffle boxes is understandable. They are great. But will there be a box that starts with vanilla JS and just implements a basic build environment for javascript? Webpack was pretty convenient to have just that without the hassle of scaffolding for a quick vanilla js Dapp-project for prototyping. Any recommendations on that side?

repo: ethjs/ethjs-abi


text:
CircleCI: fix go-tests / TestOPCMLiveChain/sepolia/sepolia-v1.8.0-rc.3

Error log:
        proxy.go:82:                INFO [12-23|06:51:58.333] server started                           module=retryproxy port=43673
        proxy.go:172:               WARN [12-23|06:51:58.422] unexpected status code                   module=retryproxy status=415
        proxy.go:121:               WARN [12-23|06:51:58.422] failed to proxy request                  module=retryproxy err="unexpected status code: 415"
        proxy.go:172:               WARN [12-23|06:51:59.862] unexpected status code                   module=retryproxy status=415
        proxy.go:121:               WARN [12-23|06:51:59.863] failed to proxy request                  module=retryproxy err="unexpected status code: 415"
        proxy.go:172:               WARN [12-23|06:52:02.400] unexpected status code                   module=retryproxy status=415
        proxy.go:121:               WARN [12-23|06:52:02.400] failed to proxy request                  module=retryproxy err="unexpected status code: 415"
        proxy.go:172:               WARN [12-23|06:52:06.944] unexpected status code                   module=retryproxy status=415
        proxy.go:121:               WARN [12-23|06:52:06.944] failed to proxy request                  module=retryproxy err="unexpected status code: 415"
        proxy.go:172:               WARN [12-23|06:52:12.064] unexpected status code                   module=retryproxy status=415
        proxy.go:121:               WARN [12-23|06:52:12.064] failed to proxy request                  module=retryproxy err="unexpected status code: 415"
        proxy.go:135:               ERROR[12-23|06:52:12.064] permanently failed to proxy request      module=retryproxy err="operation failed permanently after 5 attempts: unexpected status code: 415"
        anvil.go:113:               DEBUG[12-23|06:52:12.064] [ANVIL] thread 'main' panicked at /home/runner/work/foundry/foundry/crates/anvil/src/config.rs:1147:57:
        anvil.go:113:               DEBUG[12-23|06:52:12.064] [ANVIL] Failed to get fork block number: Transport(HttpError(HttpError { status: 502, body: "failed to proxy request\n" }))
        anvil.go:113:               DEBUG[12-23|06:52:12.064] "[ANVIL] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace"
        opcm_test.go:63:
                Error Trace:    /root/dl/circleci/optimism/op-deployer/pkg/deployer/bootstrap/opcm_test.go:63
/root/dl/circleci/optimism/op-deployer/pkg/deployer/bootstrap/opcm_test.go:33
                Error:          Received unexpected error:
                                context deadline exceeded
                Test:           TestOPCMLiveChain/sepolia-v1.8.0-rc.3

Status code 415 means "Unsupported Media Type" and "http://88.99.30.186:8545" looks cannot handle request without a specified content-type.
CircleCI tests passed with the fix in the latest run.

Can we reuse context to set the SEPOLIA_RPC_URL env?

Can we reuse context to set the SEPOLIA_RPC_URL env?

I'm not certain why Shell is being embedded instead of utilizing a context, but it might be related to the <<parameters.environment_overrides>> section below, and any changes could affect other jobs using this part. So I would prefer to maintain the current approach until necessary.

I see. The concern is that our RPC could be exposed to malicious actors, which is why I inquired about it earlier.

Can we reuse context to set the SEPOLIA_RPC_URL env?

I'm not certain why Shell is being embedded instead of utilizing a context, but it might be related to the <<parameters.environment_overrides>> section below, and any changes could affect other jobs using this part. So I would prefer to maintain the current approach until necessary.

I see. The concern is that our RPC could be exposed to malicious actors, which is why I inquired about it earlier.

Yes, that is a concern, especially if we need to replace the mainnet RPC.

authors: dajuguan syntrust

repo: ethstorage/optimism


text:
Responsive banner

Closes https://github.com/ethyca/fides/issues/3444
Code Changes

[x] Add breakpoints for banner width and borders at different sizes
[x] Slightly edit the banner DOM to have a "container" element so that it's easy to center the banner when it isn't full width

Steps to Confirm

Spin up the privacy center and visit localhost:3000/fides-js-demo.html and resize your browser

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation:

[ ] documentation complete, PR opened in fidesdocs
[ ] documentation issue created in fidesdocs

[ ] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[ ] Update CHANGELOG.md
[ ] For API changes, the Postman collection has been updated

Description Of Changes
https://github.com/ethyca/fides/assets/24641006/f25e157a-f819-478f-b192-af28fc818c55

Oh, nice! The designs for this actually show that, when not full-width, there should be some spacing between the bottom of the page and the banner. Mockups vary between 51px and 66px which is confusing but we could pick 48px and use that?

Oh, nice! The designs for this actually show that, when not full-width, there should be some spacing between the bottom of the page and the banner. Mockups vary between 51px and 66px which is confusing but we could pick 48px and use that?

whoops good catch, didn't notice that!

Added 48px spacing between bottom and the banner:
https://github.com/ethyca/fides/assets/24641006/394de60d-d7fe-4232-b86a-bd453e942c2a

authors: NevilleS allisonking

repo: ethyca/fides


text:
Update Developer Docs for Silicon Mac Users

Closes #3602
Code Changes

[x] Update docs for pre-requirements for pymssql
[x] Update docs Dockerfile to build with pymssql

Steps to Confirm

[ ] nox -s docs_serve
[ ] Navigate to http://localhost:8000/fides/development/overview/ and view the updates

Pre-Merge Checklist

[x] All CI Pipelines Succeeded
Documentation:

[x] documentation complete, PR opened in fidesdocs
[ ] documentation issue created in fidesdocs

[x] Issue Requirements are Met
[x] Relevant Follow-Up Issues Created
[x] Update CHANGELOG.md
[x] For API changes, the Postman collection has been updated

Description Of Changes
The updated steps have been validated internally by a couple of other users now so am feeling good about these 👍🏽

@SteveDMurphy back to you, steve!

Thanks for the help and improvements @ThomasLaPiana !

authors: SteveDMurphy ThomasLaPiana


text:
16-line LiDAR

Hi, thank you very much for your excellent work in open-source. If using a 16-line LiDAR, how should the parameters be set to achieve better results?

Hi @0315Clyyy ,
Thank you for reaching out! The main thing to update is the sensor model here, that should already get you up and running!
One thing to consider is that with too sparse data, e.g. few beams and at long range, reconstruction and thus also motion detection can be impacted. For reasonable ranges also a 16 beam LiDAR should suffice.
Hope this helps, let us know how it goes!

你好@0315Clyyy，
感谢您的联系！这里主要要更新的是传感器模型，它应该已经让您开始运行了！
需要考虑的一件事是，如果数据太稀疏，例如光束太少且距离太远，重建和运动检测可能会受到影响。对于合理的范围，16 光束 LiDAR 也足够了。
希望这会有所帮助，让我们知道进展如何！

Thank you very much for your reply, I will try it. Thanks again for your open source work, I will recommend it to my friends.

repo: ethz-asl/dynablox


text:
Explicitly include OMPL directories.

Changes the way OMPL is included. Catkin simple was having issues finding OMPL in ROS melodic. Maybe it's because OMPL is in that cascaded folder now /opt/ros/melodic/include/ompl-1.4/ompl/.

mav_planning_benchmark also seems to suffer from this issue, see https://github.com/john-tornblom/mav_voxblox_planning/commit/720cf5c4907facb0c2756d19dff1bf5a1b2243e1

authors: john-tornblom rikba


text:
Drawer has backgroundColor which does not exists in MD3Colors

Describe the bug / expected behavior

Drawer has backgroudColor which does not exists in MD3Colors
theme.colors.surfaceContainerLow
This also causing the tests failing

What are the steps to reproduce?

(https://github.com/etn-ccis/blui-react-native-component-library/blob/15764dc890a47e4ffc9b806f93a55a8f40597a16/components/src/md3/Drawer/Drawer.tsx#L16)
yarn test

Screenshots / Screen recording

Code snippet / Link to minimum reproduction example

CODE HERE

Your environment information

Suggested fix

Anything else to add?

SurfaceContainerLow is defined below
Light Theme
Dark Theme

authors: ektaghag-eaton surajeaton

repo: etn-ccis/blui-react-native-themes


text:
Support writing to Rikai format from pandas directly

For smaller datasets Spark isn't required, it would be nice to create a pandas->rikai writer and serializes the Rikai type metadata properly (i.e., can be read in Spark SQL etc). This allows users to have a complete workflow that does not require Spark at all for local exploration on smaller sized datasets.
Reader is here: https://github.com/eto-ai/rikai/tree/main/python/rikai/parquet

To explore:

the pandas rikai writer can prepare the metadata in the same format as the reader
use pyarrow to write the custom metadata: https://mungingdata.com/pyarrow/arbitrary-metadata-parquet-table/

repo: eto-ai/rikai


text:
Searching Romanized Japanese will not return charts with matching Japanese symbols

See title.
To Reproduce
Steps to reproduce the behavior:

Go to song 'search'
Type Romanized Japanese (eg. nanahira)
Charts with matching non-Romanized symbols will not be shown

Expected behavior
Searching with Romanized Japanese should show charts with either Romanized or non-Romanized Japanese titles/artists.
Desktop (please complete the following information):

OS: Windows 10
Version 0.65.1
64bit

fuck

Remotely related: #238

I would like a bit of a specification to be made here.
Is this issue about searching for individual characters to match symbols, or searching for the Romanization of symbols which may be potentially transliterated for the titles?
The game allows files to list TranslitTitles, Subtitles, and Authors in the .sm files and so on. This is completely optional. If you press F9 displaying these on the song wheel toggles. If you press F9 and the title turns into something English or which you can type (ie Romanized Japanese) then that is then searchable. Which leads into another thing we could add which is the ability or the native feature for the search to parse TranslitTitles by default instead of requiring you to press F9 to switch.
Or this issue is about translating individual syllables or so on to the symbols. This is a more complex issue. I just need a clarification.

This issue is just for being able to search for a song that is Japanese. I checked the F9 function and it doesn't seem to transliterate every Japanese character either so some charts are still unsearchable. Some charts have ななひら as the artist that turns into nanahira when F9 is pressed, but there are also charts that don't change.
Preferably, without having to press F9 to change titles into Romanized versions, I should be able to search 'artist=nanahira' and charts with either 'ななひら’ or 'nanahira' in the artist field should appear in the search.

There's a possibility for some multi-way and reversible romanization searching for files that don't already have the metadata. Katakana and Hiragana should be easy to implement under the idea; they are mostly constant. However, Kanji still exists, and it won't be easy to put that in on its own per symbol basis because there are multiple ways they can be said in different groups. To put in each and every Kanji romanization will be rather difficult, and will likely take a bunch of additional space.
Going backward might be even harder. The same romanizations can come with multiple options. For example, simply saying "ku" can appear in Japanese in multiple ways, including く, ク, 区, 苦, and 句. From there, it's difficult because we cannot be sure which variation is correct, so perhaps try all of them.
I cannot and will not say these will be the right ways out, but they are just suggestions.

One way the game tries to cope with this kind of thing in a really scuffed way is the manual translations in /Data/Translations.xml

authors: PCBoyGames Phlana poco0317

repo: etternagame/etterna


text:
User-defined types and recursive types

-type annotation support and recursive types.

Modified every method accessing the coinductively-defined ty_rec such that corecursion works properly
Moved ast:ty() <-> ty_rec sanity check to the appropriate place
Added recursive ast node ty_mu() to ast.erl
Hacky way of ensuring uniqueness for recursive variables with erlang:unique_integer()
[x] Blocked by #101

@albsch What's the status here? If we want to do a case study with real world code, we need to support user-defined types.

Ready for merge @skogsbaer

@albsch Passt, jetzt sind aber dummerweise Konflikte da. Sind aber nicht schwer zu fixen.

authors: albsch skogsbaer

repo: etylizer/etylizer


text:
spring-data-rest can't start

It seems the spring-data-rest project is broken somehow.
When running
$ mvn spring-boot:run
I get this:
[WARNING]
java.lang.ClassNotFoundException: com.baeldung.SpringDataRestApplication
at java.net.URLClassLoader.findClass (URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass (ClassLoader.java:424)
at java.lang.ClassLoader.loadClass (ClassLoader.java:357)
at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run (AbstractRunMojo.java:538)
at java.lang.Thread.run (Thread.java:748)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.939 s
[INFO] Finished at: 2019-11-24T23:44:37+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.1.9.RELEASE:run (default-cli) on project spring-data-rest: An exception occurred while running. com.baeldung.SpringDataRestApplication

@dkapil could you look into it?

@maibin this occurred due to internal improvements related to restructuring. This should fix it https://github.com/eugenp/tutorials/pull/8314

authors: dkapil eborgbjerg maibin

repo: eugenp/tutorials


text:
[BAEL-7110] Overriding Spring Beans in Integration Test

Override Spring Bean in Integration Tests:

Profile
Primary
ConditionOnProperty
spring.main.allow-bean-definition-overriding
MockBean

retest this please


text:
BAEL-7435 | Update article "Generating Unique Positive Long using UUID in Java"

https://jira.baeldung.com/browse/BAEL-7435

@hangga can you check if the files from the previous version of the article like UUIDPositiveLongGenerator have been removed please? They aren't showing up as deleted in the "files changed" view for some reason

@hangga can you check if the files from the previous version of the article like UUIDPositiveLongGenerator have been removed please? They aren't showing up as deleted in the "files changed" view for some reason

It hasn't been deleted yet. Do we need to delete it, because it is no longer relevant in the new article?

Hi @theangrydev it's still open..

Thanks @hangga

authors: hangga theangrydev


text:
Feature Request: Scotty-like route creation

In Haskell, there is the Scotty framework which has a very interesting approach to routing
Blog article here: https://www.spock.li/2015/04/19/type-safe_routing.html
The idea is that the router is both able to, from the specification that the user creates, parse what route matches the given path, but also to create a path when given parameters.
I do not know how much this implementation relies on features that Elm does not have, but if possible I think it would be a very interesting area to expore, because in all Elm applications I've seen, all URLs are created both forwards and backwards manually currently.

That appears to rely crucially on the Typeable class in var :: (Typeable a, PathPiece a) => Path '[a]. I don't fully know what that is used for, but if it is possible in Elm, I think it should be pursued in a community experiment before being incorporated here.

authors: Qqwy evancz

repo: evancz/url-parser


text:
Write to file

Before I forget -- for Jenkins to pick up tap properly we need to write to file.

ok cool. Does the filename need to be configurable?

Preferably! -o file.tap

authors: evanlucas jbergstroem

repo: evanlucas/core-validate-commit


text:
Fix for ViewPagerAdapter, getItemPosition calls equals instead of ==.

Hi, I've changed finding item position in ViewPagerAdater to work with objects having their equals overridden.

What issue were you running into? I believe I did this because you could have 2 equal items in the pager and it could select the wrong one.

Ahh, you're right, that would be issue. I got no update to ViewPager when updated item ObservableArrayList with set(index, item). At first i thought i got bad position, but its not the issue (i was confused by wrong debugger session), i must investigate further :-/. Sorry for not tested before pr.

By my mistake, that set(index, item) to ObservableArrayList was added as second item into ViewPager. But now, everything is ok and it seems, that change to current displayed item in ViewPager doesn't reload it. It looks like feature according to ViewPager source code. My wrong.

set(index, item) should refresh that page in the viewpager. If it's not you can open an issue about it.

Hm, I'll try create small sample app to test it outside my context.

Why you think ViewPager should refresh? I don't see nothing to change current item in ViewPager.dataSetChanged().
void dataSetChanged() {
        // This method only gets called if our observer is attached, so mAdapter is non-null.

        final int adapterCount = mAdapter.getCount();
        mExpectedAdapterCount = adapterCount;
        boolean needPopulate = mItems.size() < mOffscreenPageLimit * 2 + 1 &&
                mItems.size() < adapterCount;
        int newCurrItem = mCurItem;

        boolean isUpdating = false;
        for (int i = 0; i < mItems.size(); i++) {
            final ItemInfo ii = mItems.get(i);
            final int newPos = mAdapter.getItemPosition(ii.object);

            if (newPos == PagerAdapter.POSITION_UNCHANGED) {
                continue;
            }

            if (newPos == PagerAdapter.POSITION_NONE) {
                mItems.remove(i);
                i--;

                if (!isUpdating) {
                    mAdapter.startUpdate(this);
                    isUpdating = true;
                }

                mAdapter.destroyItem(this, ii.position, ii.object);
                needPopulate = true;

                if (mCurItem == ii.position) {
                    // Keep the current item in the valid range
                    newCurrItem = Math.max(0, Math.min(mCurItem, adapterCount - 1));
                    needPopulate = true;
                }
                continue;
            }

            if (ii.position != newPos) {
                if (ii.position == mCurItem) {
                    // Our current item changed position. Follow it.
                    newCurrItem = newPos;
                }

                ii.position = newPos;
                needPopulate = true;
            }
        }

        if (isUpdating) {
            mAdapter.finishUpdate(this);
        }

        Collections.sort(mItems, COMPARATOR);

        if (needPopulate) {
            // Reset our known page widths; populate will recompute them.
            final int childCount = getChildCount();
            for (int i = 0; i < childCount; i++) {
                final View child = getChildAt(i);
                final LayoutParams lp = (LayoutParams) child.getLayoutParams();
                if (!lp.isDecor) {
                    lp.widthFactor = 0.f;
                }
            }

            setCurrentItemInternal(newCurrItem, false, true);
            requestLayout();
        }
    }

Well if you change the item == will fail and it will return POSITION_NONE. This should cause that page to be destroyed and recreated.

But regardless of what viewpager does if this doesn't work it is a bug. I'll figure out a way to make it work.

Thanks, that is the point. I was changing inner state of the object instead of the whole object. So lame :(.
Thank you for your time (and library as well). Keep going.

Ooh, yeah if you change the inner state you should use observable fields or @Bindable getteers.

Ahh, yeah :). Thanks man.

authors: dozd evant

repo: evant/binding-collection-adapter


text:
Absturz bei autom. Suche im Netzwerk und manchmal bei "Server ändern".

direkt beim ersten Start bei der autom. Suche nach EVCC Server ist die app abgestürzt. Beim erneuten Start und manueller Eingabe funktioniert sie. Vereinzelt (aber nicht immer reproduzierbarere ) Absturz bei "Server ändern".
(iPhone 13 Pro mit iOS 17.5.1., EVCCv0.127.2 via docker auf Synology-NAS.
Generell läuft die APP bisher recht gut.

@ben-germany kannst du verifizieren ob das bei dir noch ein Thema ist? Ich konnte es bislang nicht reproduzieren.

Ich habe das Problem schon länger nicht mehr. Derzeit läuft die App stabil.

Danke für die Rückmeldung. Dann mach ich hier erst einmal zu.

authors: ben-germany naltatis

repo: evcc-io/app


text:
Idee: smartCostLimit per Loadpoint definieren

smartCostLimit kann man nur "global" einstellen.
Idee ist, dass für jeden Loadpoint einstellen zu können. Im Sommer mit viel Sonne ist mir der Gedanke nicht gekommen.
Mein aktueller use case:
Mein Auto hängt bei dem aktuellen Wetter den ganzen Tag an der Wallbox und soll übers Wochenende nur "saubere Energie" nuckeln, damit ich am Montag wieder genug im Akku habe.
Mein eBike hängt im Modus PV in der Garage immer am Ladegerät. Nur wenn Überschuss vorhanden ist, soll geladen werden (nach dem Motto: "nice to have")
Leider wird das eBike dann aber auch geladen.

😊 die Idee ist mir auch gestern Abend gekommen, als ich mich mit PV-Überschuss laden im Winter beschäftigt habe. Einen Namen dafür habe ich mir aber nicht überlegt 😉 Ich würde gerne einen hohen Anteil von PV Energie nutzen. Die Einstellung über enable und disable habe ich gelesen und werde ich auch versuchen. Aber durch die Inspiration der dynamischen Tarife und die mögliche Steuerung im PV Modus unter einer definierten Preisgrenze schnell zu laden, kam die Idee auf, dies auch für einen PV-Grid-Mix über die Kosten des Ladevorgangs zu ermöglichen. Idee ist, dass man eine Kostenobergrenze zu definieren für den Solar-Grid-Mix, die bereits heute über die Kosten je kWh des Ladepunkts ausgewiesen werden. Also vergleichbar zu den dynamischen Tarifen wenn man unterhalb einer reinen Netzbezuggrenze laden möchte im PV Modus, jedoch mit der Möglichkeit dynamisch zu steuern bzw. zu regeln.

@naltatis das würde auch Deinen "Heizstab nur wenn Strom günstiger als Pellets" Case adressieren?

"Heizstab nur wenn Strom günstiger als Pellets" Case

das würde mich auch betreffen ;)

Ja, ich glaube auch, dass es sinnvoll ist, das heutige smartCostLimit an den Ladepunkt zu verschieben. Damit ist es auch implizit pro Ladepunkt ein-/auschaltbar.
Einziger Nachteil zur heutigen Lösung: Hat man viele Ladepunkte und möchte die gleich steuern muss man ggf. öfters klicken. Ist aus meiner Sicht aber eher ein Grenzfall und ließe sich durch ne separate Aktion (bspw Button für alle übernehmen) auch einfach nachrüsten, wenn der Bedarf groß ist.

Ich mach mir mal Gedanken dazu, wie wir die Ladepunkt-Settings gut aufbauen können. Punkte wie enable/disableThreshold und später ggf. Battery-Boost werden da ja über kurz oder lang auch rein wandern müssen.

Die Idee finde ich sehr gut!!!
Könnte ich gut gebrauchen (Heizstab Besitzer)

Hallo, das wäre für mich auch sinnvoll.
Außerdem: separater Ziel SoC für jedes Fahrzeug (und Heizstab) bei smartem Netzladen.
z.B. billiger Netzstrom bis 70% SoC und wenn die Sonne Scheint bis 90% oder 100%. Dann hat man immer noch platz für PV-Überschuss im Akku. Oder gibt es das etwa schon?
Schöne Grüße
Ludwig

Oder gibt es das etwa schon?

Nein. Ich verstehe die Idee, aber das wäre dann das 4. Limit das zu berücksichten wäre. Wie sollen wir das dem Anwender klar machen?

Ich könnte es mir so ähnlich vorstellen wie bei den SoC in den Batterieeinstellungen. Das ist sehr übersichtlich.
Man bräuchte dann diese beiden Ziel-SoCs und den für die Sofortladung bei Ankunft.
Wenn kein variabler Tarif eingestellt ist, würde ich den Zugehörigen SoC auch ausblenden. Sonst ist sorgt es nur für Verwirrung.
Man könnte auch den PV SoC nicht starr mit PV-Überschuss verknüpfen sondern mit einem Strompreis kleiner-gleich der Einspeisevergütung.

Ich wäre da bei @andig. Lass uns das erstmal simple halten. "Platz für PV Strom lassen" klingt ja auch so, als ob das eigentlich ne Aufgabe für den Planungsalgorithmus ist. Für den Anwendungsfall sollten wir eher auf "wiederholende Ladepläne" #5492 und "PV-Forecast" #9454 als auf mehr manuelle Kontrolle setzen.

Wäre es ein Ansatz, wenn man Docker hat, zwei EVCC zweimal zu instanziieren und damit jeweils separate Yaml Files zu haben?
Ich habe gerade auch versucht, mein Auto mit Tibber Strom zu laden und gleichzeitig mein E-Bike mit PV Strom. (nur mit eine Instanz)
Das scheint nicht zu funktionieren. Die PV Regelung war durch die Laodpoint Definition des Autos wohl nicht mehr möglich. Sprich es scheint nicht möglich zu sein, pro Loadpoint eigene Threshold zu definieren.
Eigentlich komisch, weil ich rein von der Yaml Definition des Loadpoints gedacht hätte, dass das der Fall ist.

Wäre es ein Ansatz, wenn man Docker hat, zwei EVCC zweimal zu instanziieren und damit jeweils separate Yaml Files zu haben?

Klar, das spricht technisch nichts gegen. Ist halt doof, weil dann zwei Energiemanager parallel um "Überschuss" kämpfen. Die Instnazen wissen ja nichts voneinander.

Ich habe gerade auch versucht, mein Auto mit Tibber Strom zu laden und gleichzeitig mein E-Bike mit PV Strom. (nur mit eine Instanz)

PV Enable/Disable sind pro Loadpoint. Das Smart Cost Limit (Tibber Preisgrenze) ist aktuell aber global und sind wichtiger als PV-Überschuss. Heißt, die Thresholds spielen keine Rolle, wenn du in einer "günstig Phase" bist. Genau das soll ja mit diesem Issue geändert werden.

Danke für die Rückmeldung.
Dann werde ich mich über das kommende Update freuen :-)

repo: evcc-io/evcc


text:
Improve target charging behaviour

/cc @schenlap

/rebase

/rebase


text:
Improve eebus configure and charger handling

Until now using configure and EEBUS wallboxes will always return a test failure as the Status() call will return a failure due to the wallbox not yet being connected.
This change now checks on initialization until a connection is established or a timeout occurs. This makes both evcc configure and evcc charger now work properly with EEBUS EVSE devices.
Also the wording has been improved, as the user should only start the pairing process in the web ui and not wait, as it won't be able to finish until the configure process continues in evcc itself.

Ist das bei OCPP genauso (nützlich)?

@premultiply ich vermute ja

Eventuell macht das auch für evcc charger Sinn, das funktioniert bei EEBUS heute auch nicht

Habe das Interface entfernt und den Test bei der Initialisierung analog zu den existierenden Geräten hinzugefügt. Damit funktioniert sowohl evcc configure als auch evcc charger. Bei OCPP ist das soweit ich sehe schon vorhanden.

authors: DerAndereAndi premultiply


text:
🛑 /getNoWatermarkUrl - Get non watermarked video url is down

In 372f5bd, /getNoWatermarkUrl - Get non watermarked video url (https://tiktok.evelode.com/getNoWatermarkUrl?video_url=https://www.tiktok.com/@therock/video/7106855913906081070%3Fis_copy_url%3D1%26is_from_webapp%3Dv1&cache_timeout=0&license_key=$API_KEY) was down:

HTTP code: 0
Response time: 0 ms

Resolved: /getNoWatermarkUrl - Get non watermarked video url is back up in 1394622 after 35 minutes.

repo: evelode/tiktok-status


text:
Question: How to store data for undo?

In the examples, undo always just removes the last symbol from the string.
When I also have a Remove action, I would need to store, which letter has been removed in order to undo that action.
I didn't find anything about that in the documentation.
It has to be possible already. Else this crate wouldn't be very useful.

In the example you can see the removed character being stored in the command.
This line: self.0 = s.pop().ok_or("s is empty")?; stores the removed character in self.0.

What if someone has an action enum with two variants: The Add from the example, and one that deletes n characters starting at a given offset? Should the action store the removed characters when apply is called so it can put them back if undo is later invoked?

@TedDriggs Yes that is what I would do

authors: TedDriggs evenorog porky11

repo: evenorog/undo


text:
Question: Tooltip DateTime Formatting?

I could be wrong, but it seems like the tooltip.dateFormat() expects one of the HOUR_DAY, DAY_MONTH, etc formats. Is there a reason why we can't just pass an acceptable d3 formatting string instead? i.e.
tooltip.dateFormat('%m/%d @ %H:%M %p')
When I try to do the MINUTE_HOUR format, I get something like "Oct 18, 08 PM" — that's hardly a very friendly date format to use.
My ultimate question: Is there any way currently to use a truly custom date format in the tooltips? Something more granular?
Thanks!

Hi @rpheath , thanks for the question!
Yeah, at this moment we don't support a fully custom date format in the tooltip.
I guess the solution would be to add a custom format like we do in the line chart with the xAxisCustomFormat variable: https://github.com/Golodhros/britecharts/blob/master/src/charts/line.js#L292

@Golodhros awesome, thanks. I really do need the ability to support custom dates, so I made a PR to hopefully get that functionality in!
https://github.com/eventbrite/britecharts/pull/403
I wasn't able to request a review from anyone, but hopefully someone can take a look at it soon!

authors: Golodhros rpheath

repo: eventbrite/britecharts


text:
chore: Update to babel 7 + Typescript

#3 Replaced Flow w/ Typescript and as a result removed Babel because TypeScript both transpiles and type checks. However this makes us miss out on a lot of the plugins that are a part of the Babel community. Babel 7 adds support for Typescript.
Use babel 7 to build assets instead of tsc. The tsc command is still used for static type checking. Note that the babel typescript plugin will transpile code regardless of its typecheck correctyness.
tsc is also still used to generate the declaration files, since it looks as though the babel-typescript-plugin does not support creating those at this time. However there's a "create declaration only" flag that is convenient for this.
I've excluded the .spec files from the babel build, so now they won't appear in lib. I didn't move the ignore declaration into the .babelrc because I can imagine a situation where we might want to use a cool feature in our test suite that babel can transpile for is (even though node 8 gets us there at the moment). However there's never a need to have the transpiled versions in our lib.
Lastly, we can now support async await etc with the additions of lib -- es2015 and dom which I think will be especially useful in our tests because most of our exports will likely be functions that return promises.
PS: i'm not tied to the tests, i just want to prove that they work! I'm happy to remove them, as we definitely should in the future, thought it might be nice while we're building the foundation though.
Fixes #4

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: ebtravis ryanwholey

repo: eventbrite/eventbrite-sdk-javascript


text:
Support multiple slack org msg forwarder

user -> user@$org
slack cfg map -> list[map] can add more than one slack $org
subscribe to channel -> channel@$org
add  a default org for old webhook token without org or just reset old token username to new format
irc should join channel@$org

这样改动应该是最少的

不用搞那么复杂吧，给 ark 用不同配置重新部署一个就好了？

authors: dispensable everpcpc

repo: everpcpc/channels


text:
with koa static page serving

Hi,
Is koa-cors supposed to work with koa-static? https://www.npmjs.com/package/koa-static

and koa-convert for the koa v2.x

have you found any specific issue?


text:
Why import prometheus_client and don't use it?)

Hey man, it will be really interesting to see metic aggregation for this project
Just find from prometheus_client import Summary :)

Ya thanks for your concern, I will remove the line from prometheus_client import Summary I think I wrote it with mistake.
Thanks

authors: alekseyen everydaycodings


text:
Code Clean up

Indentation consistency
Removal of Lint issues.
Es6 literal usage.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@539dab5). Click here to learn what that means.
The diff coverage is 94.73%.

@@            Coverage Diff            @@
##             master     #257   +/-   ##
=========================================
  Coverage          ?   82.11%
=========================================
  Files             ?        5
  Lines             ?      151
  Branches          ?        0
=========================================
  Hits              ?      124
  Misses            ?       27
  Partials          ?        0

Impacted Files
Coverage Δ

src/defaults.js
75% <ø> (ø)

src/helpers.js
100% <ø> (ø)

src/index.js
87.17% <100%> (ø)

src/diff.js
100% <100%> (ø)

src/core.js
73.33% <92.85%> (ø)

Continue to review full report at Codecov.

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

updated the code to include the commit from https://github.com/mfeniseycopes/redux-logger/tree/refactor as well. #223

@evgenyrodionov : The issue seems to be with codecov.io not having a comparison.
Apart from that could you comment on the code pls?

repo: evgenyrodionov/redux-logger


text:
Fix code alignment issue in sql viewer

Fixes a minor code presentation issue
https://user-images.githubusercontent.com/14029371/200108483-8c2a4d8a-9979-4f43-94c1-230ee77566ce.mov

LGTM.
Can you add a changeset to your PR? This ensures that our versions are correctly bumped across the packages we release on npm.
Steps below:

cd to the root of the monorepo
pnpm changeset
Follow the steps in the CLI to add some change notes:

Bump the packages that have changed
Most things are patch changes, not major or minor patch bumps
Unless you're making changes that will break someone's project, or change it in a really unexpected way, just do a patch release

Commit the release notes to your branch so they'll be included as part of the PR
the file will be called three random words like delighted-fish-brick.md

Hey @afzalsayed96 I'm not getting a slightly odd rendering of the SQL query: It seems like the indent has vanished.
I've tested this on Chrome, Safari and Firefox.

Can you replicate?

@archiewood This seems to have been introduced in #366 by this change. Fortunately it's a one liner fix. Sending a PR.

repo: evidence-dev/evidence


text:
Additional terms for DisProt - Winter 2024

Federica Quaglia has requested additional terms for DisProt which can be found here:
https://docs.google.com/spreadsheets/d/1pyhpkaPkKB3aXcZezVX2_pwmSyz2fUMBUzrWnOtSbO4/edit?usp=sharing

Michelle and Suvvi provided comments on the request on March 29.
Notes are in google doc.

Federica provided feedback on April 2 via email:
Thanks for reviewing our new terms requests. Please, find my comments below.
intrinsic disorder prediction evidence: I think the parent term could be "computational evidence", if it's fine with you.
combinatorial intrinsic disorder prediction and author inference evidence and combinatorial intrinsic disorder prediction and curator inference evidence: Based on the provided comment, please let me know if these revised terms work for you: "Intrinsic disorder prediction with author inference evidence" and "Intrinsic disorder prediction with curator inference evidence". To answer your question: in this context, I am specifically referring to computational predictions.
Could these two terms, if approved, be child terms of the newly drafted "intrinsic disorder prediction evidence"?
Please let me know your thoughts on this and of course if needed we can schedule a call.
Thanks again, I wish you both a lovely day.
Federica

Response back from Suvvi and Michelle via email on May 1:
Hi Federica,
Sorry for the huge delay in getting back to you.
Suvvi and I were looking at this and we like the terms that you suggested in your reply to our comments. There are two ways we could construct these terms – with the prediction part as the primary axis or with the inference part as the primary axis. They will have an asserted parent that is the primary axis and an inferred parent to include the secondary axis. These would be captured in logical axioms.
Here are possible options:
Inference as the primary axis:
author inference based on intrinsic disorder prediction
curator inference based on intrinsic disorder prediction
Prediction as the primary axis:
intrinsic disorder prediction employed in author inference
intrinsic disorder prediction employed in curator inference

Federica chose option 1.
Suvvi and Michelle finalized terms May 17 and sent to Federica for review:
ECOnew: intrinsic disorder prediction evidence
Def: A type of computational evidence where one or more computational tools are used to predict regions of intrinsic disorder in a protein sequence.
Parent: ECO:0007672 'computational evidence'
ECOnew: author inference based on intrinsic disorder prediction
Def: A type of author inference evidence in which information from intrinsic disorder prediction tools has been employed.
Parent:  ECO:0006185 'author inference'
ECOnew: curator inference based on intrinsic disorder prediction
Def: A type of curator inference evidence in which information from intrinsic disorder prediction tools has been employed.
Parent: ECO:0000205 'curator inference'

The new eco terms and associated assertion terms have been created and released today.

ECO_id
ECO_label

ECO:0008030
intrinsic disorder prediction evidence

ECO:0008031
author inference based on intrinsic disorder prediction

ECO:0008032
curator inference based on intrinsic disorder prediction

ECO:0008033
intrinsic disorder prediction evidence used in manual assertion

ECO:0008034
intrinsic disorder prediction evidence used in automatic assertion

ECO:0008035
author inference based on intrinsic disorder prediction used in manual assertion

ECO:0008036
author inference based on intrinsic disorder prediction used in automatic assertion

ECO:0008037
curator inference based on intrinsic disorder prediction used in manual assertion

ECO:0008038
curator inference based on intrinsic disorder prediction used in automatic assertion

Thanks to Federica for her help on getting these terms into ECO.

repo: evidenceontology/evidenceontology


text:
Add is valid sql descriptor

Implementing a SQL validator for LLM responses as a new descriptor.
Resolves #1321

Hi @Rayryu
You have some CI failed jobs, please check it

DimaAmega

I've pushed a typo fix.

Hi! To fix mypy you need to add ignore block to setup.cfg in repo root. You can check out mypy section for examples

Hi! To fix mypy you need to add ignore block to setup.cfg in repo root. You can check out mypy section for examples

Thanks for chiming in. I've added a sqlvalidator block in setup.cfg.

Hi @Rayryu,
It looks like we're almost there!
Could you please add the new descriptor to the list of descriptors under the TextEvals section on the documentation page? The file that needs to be updated is located here: all-metrics.md#text-evals.
Once that’s done, we’ll be all set to proceed with the merge!

Hi @Sifr-un ,
do you need some help with adding IsValidSQL to the list of descriptors under the TextEvals section  all-metrics.md#text-evals?

@emeli-dral, how can I help to speed this up? Merge the changes from this branch and prepare new PR?

authors: DimaAmega Rayryu emeli-dral mike0sv vectorvp

repo: evidentlyai/evidently


text:
The server needs to initialize the root user.

Hi,
I am the root user and I have already created another user with separate login credentials.
But when I use the etcd-keeper to login with the new user created, it gives the error "The server needs to initialize the root user."
I mean, if I were to give access to another user for viewing only specific set of keys in my production etcd cluster, why he needs to initialize it with root user? That is giving him the root username and password.And nobody wants that.
How can I get rid of this warning?

Here's a screenshot of the warning i am getting when i try to use newly created user's credentials to login.

After etcd is started each time, any machine browser is required to open the page for root user login, and the root information will be recorded in the server. In this way, the root information authentication is not required when the browser of other machines is opened again.

I don't get it. Why any machine browser needs to login with the root user credentials first? So there is no point in creating another user with different credentials and importantly it is not possible to share the root credentials with other users. So, if I am the admin, I have the root access. And I have developers who needs only limited access. That's why I even created a new user. So as per your explanation, I need to share the root user credentials with each and every developer so they can initialize first and then log with their user credentials? @evildecay @gothrek22 @jim3ma @AndresCidoncha

Hi, can I have an update on this, please?

@iamdempa What I mean is that you only need to log in as root once on one of the machines after starting or restarting etcdkeeper. Others do not need to log in as root on other machines.

I use read-only user login, but it can write?

authors: evildecay iamdempa yue-zz-le

repo: evildecay/etcdkeeper


text:
I/System.out(17267): Failed to initialize Zoom SDK

all the setup are done successfully but when click on start or join meeting it shows I/System.out(17267): Failed to initialize Zoom SDK
thanks

ensure that your Zoom API KEY, Zoom API Secret that you generated From zoom Marketplace is correct.

API key is correct
On Fri, Feb 3, 2023, 4:03 AM Mohamed Ramadan @.***>
wrote:

ensure that your Zoom API KEY, Zoom API Secret that you generated From
zoom Marketplace is correct.
—
Reply to this email directly, view it on GitHub
https://github.com/evilrat/flutter_zoom_sdk/issues/112#issuecomment-1414463912,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARTWHZGF3VTGMU737FNZOL3WVQY3DANCNFSM6AAAAAATXVLMZM
.
You are receiving this because you authored the thread.Message ID:
@.***>

@codermonk1  hey , did you solve it ?

@codermonk1  hey , did you solve it ?

No

@codermonk1  hey , did you solve it ?

No but used other sdk
can you please provide me with the name of it ?

use zego_uikit_prebuilt_call
if any problem integration i can send code
On Sun, Mar 31, 2024 at 3:35 AM FarZ @.***> wrote:

@codermonk1 https://github.com/codermonk1 hey , did you solve it ?
—
Reply to this email directly, view it on GitHub
https://github.com/ark-brighthustle/flutter_zoom_sdk/issues/112#issuecomment-2028479428,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARTWHZDYXQWDVCVGGDNM7J3Y24SIVAVCNFSM6AAAAAATXVLMZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRYGQ3TSNBSHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@codermonk1  alright then thanks

You're welcome!
On Sat, May 25, 2024 at 4:28 AM FarZ @.***> wrote:

@codermonk1 https://github.com/codermonk1 alright then thanks
—
Reply to this email directly, view it on GitHub
https://github.com/ark-brighthustle/flutter_zoom_sdk/issues/112#issuecomment-2130487277,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARTWHZELO53VTSV36TGKRHDZD7A2NAVCNFSM6AAAAAATXVLMZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZQGQ4DOMRXG4
.
You are receiving this because you were mentioned.Message ID:
@.***>


text:
Python Implementation

MistQL needs a python implementation.

Ongoing development to be done in #52. Since this is all greenfield code, we don't have to worry about merge conflicts or anything, so keeping it separate from the main branch shouldn't be too bad.

Closing in on having this done!

repo: evinism/mistql


text:
:arrow_down: fix: Downgrade abitype

Description
Concise description of proposed changes
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

Current dependencies on/for this PR:

main

PR #335   👈

This comment was auto-generated by Graphite.

repo: evmts/evmts-monorepo


text:
example csv file for running score.py

Hi,
Could you provide some examples for this column value?
<feature> : Scalar label of the feature for optimization

Following up on this, I wonder if the authors can also provide some example files for running scoring? I am trying to reproduce the results reported in the paper but not sure how I should pre-process the S669 dataset. Thank you!

Hi @TangYiChing an example for this value is the experimental ddG of each mutation to compare with the models predictions.
@tonytu16 I've added the fireprot_homologue_free.csv as an example

Hi @TangYiChing an example for this value is the experimental ddG of each mutation to compare with the models predictions.
@tonytu16 I've added the fireprot_homologue_free.csv as an example

Thank you, Talla, for clarification.

authors: TangYiChing tonytu16 twidatalla

repo: evo-design/protein-dpo


text:
Greeting everyone

Sorry I have been busy working and haven't maintained this repo for a long time. I am not using NW.js anymore and have no resource to solve issues on every platform.
This project was made for study purpose and I didn't expect to have so many stars. I was feeling good when I did NSIS integration and NSIS updater and was inspired by electron-builder very much.
But I don't know how to deal with concurrent writing to stdout, as a result, the output is somewhat ugly when you build concurrently. Also, the lack of source map integration makes error stack helpless to developers.
If someone wants to maintain this repo, please feel free to contact me. Special thanks to @codekiln's code signing PR and @ackzell's videos.
Btw NW.js hasn't reached v1.0 yet :(

NW.js uses semver. Meaning that a major bump in version number would equate to a breaking change. I think this should have occurred when going from 0.12.3 to 0.13.0 (major architectural change, and many API's being renamed and tweaked). Or when going from 0.14.7 (LTS, last version with XP support), to 0.15.0. The one thing that has stayed consistent about version numbers in software development is that they are arbitrary.
I'm hoping someone can step up and maintain this repo.

Hello, I'm interested in creating a project, who knows NW.js Installer v2? Does anyone have a better name?
I am inspired by the installer in the Electron installer, someone would like to help me? @TheJaredWilcurt

authors: TheJaredWilcurt evshiron patrickalima98

repo: evshiron/nwjs-builder-phoenix


text:
Fix LeaderboardSync

Determine why it does not complete on Prod.

Fixed by removing entirely


text:
SubCenter-ArcFace-r100-gpu docker cannot find face

Describe the bug
SubCenter-ArcFace-r100-gpu docker cannot find face
To Reproduce
Steps to reproduce the behavior:

docker pull exadel/compreface-core:0.6.1-arcface-r100-gpu
docker run -dp 3000:3000 --gpus all --name compreface-core-gpu exadel/compreface-core:0.6.1-arcface-r100-gpu
docker cp compreface-core-gpu:/app/ml embedding-calculator/benchmark.sh
docker exec -it  compreface-core-gpu /bin/bash
cd /app/ml
chmod 777 benchmark.sh
./benchmark.sh

--- Run benchmark with ./sample_images/008_B.jpg (135756 bytes) ---
Error: No embedding in response
Concurrency Level:      1
Time per request:       40.837 [ms] (mean)
Time per request:       40.837 [ms] (mean, across all concurrent requests)
--- Run benchmark with ./sample_images/001_A.jpg (2467788 bytes) ---
Error: No embedding in response
Concurrency Level:      1
Time per request:       867.224 [ms] (mean)
Time per request:       867.224 [ms] (mean, across all concurrent requests)
Screenshots
008_B.jpg

001_A.jpg

Server (please complete the following information):

OS: CentOS Linux release 8.5.2111
Docker version 20.10.12, build e91ed57
GPU NVIDIA GeForce RTX 3070
nvidia-smi
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 495.29.05    Driver Version: 495.29.05    CUDA Version: 11.5     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:03:00.0 Off |                  N/A |
|  0%   39C    P8    14W / 220W |   3048MiB /  7982MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      5016      C   /usr/bin/python3.7                537MiB |
|    0   N/A  N/A     65213      C   uwsgi                            2509MiB |
+-----------------------------------------------------------------------------+

docker logs -f compreface-core-gpu
{"severity": "WARNING", "message": "400 Bad Request: No face is found in the given image", "request": {"method": "POST", "path": "/scan_faces", "filename": "image.jpg", "api_key": "", "remote_addr": "127.0.0.1"}, "logger": "root", "module": "error_handling", "traceback": "Traceback (most recent call last):\n  File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1950, in full_dispatch_request\n    rv = self.dispatch_request()\n  File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1936, in dispatch_request\n    return self.view_functionsrule.endpoint\n  File "./src/services/flask_/needs_attached_file.py", line 32, in wrapper\n    return f(*args, **kwargs)\n  File "./src/_endpoints.py", line 85, in scan_faces_post\n    faces = _limit(faces, request.values.get(ARG.LIMIT))\n  File "./src/_endpoints.py", line 121, in _limit\n    raise NoFaceFoundError\nsrc.exceptions.NoFaceFoundError: 400 Bad Request: No face is found in the given image\n", "build_version": "dev"}

No ML model is ideal, here is a benchmark for face detection:
https://paperswithcode.com/sota/face-detection-on-wider-face-hard
SubCenter-ArcFace-r100-gpu image uses RetinaFace - one of the best face detectors. It still does not find faces sometimes.
We can't fix it from our side until a new even more accurate model will be invented.

Please note that the pictures and scripts I tested are all sample pictures and scripts provided by the repository. So this docker cannot pass the official test, and the CPU version can normally detect faces and perform calculations.I tested the 0.6.1 GPU version and the 0.6.0 GPU version, and both had the same problem, but the CPU version did not

This seems related to Issue, can you see if your core log stuck at MXNet?

authors: aididhaiqal bltcn pospielov

repo: exadel-inc/CompreFace


text:
Value Server

Introduces:

Value Server class for interfacing with Redis (with caching and limited object version guarantees)
Transparent Python Object Proxy class for abstracting interfacing with objects in the value server
Demo synthetic data app for benchmarking

Usage:
Colmena will automatically scan task inputs/outputs and pass objects via the value server based on a user defined threshold size.
client_queues, server_queues = make_queue_pairs(
    args.redis_host,
    args.redis_port,
    topics=['generate'],
    serialization_method='pickle',
    value_server_threshold=100000    # pass objects larger than 100KB via the value server
)

By default, the Redis server used for the queues will also be used for the Value Server. Alternatively, a value_server_hostname and value_server_port can be passed to make_queue_pairs().
Remote workers connect to the Value Server via environment variables. The environment variables can be set via the worker_init in Parsl's Provider class.
from colmena import value_server
...
LocalProvider(
   ...
    worker_init='export {}={}\nexport {}={}\n'.format(
        value_server.VALUE_SERVER_HOST_ENV_VAR, args.redis_host,
        value_server.VALUE_SERVER_PORT_ENV_VAR, args.redis_port)
)
...

I decided to go-ahead and merge this as I'm making an overhaul of other aspects of the code.
Let's open issues to capture some of these thoughts.

Sounds good. I will go ahead and open the relevant issues and get started on them once I'm done with classes.

authors: WardLT gpauloski

repo: exalearn/colmena


text:
Use classnames package instead of template strings

Is that a good idea to start using classnames package (only 650 bytes minified) or something similar?
I saw some places where classes render in html as false or undefined (no big downsides but it tickles my OCD), like that:

and this type of code looks a little bit messy:
        className={`ToolIcon_type_button ${
          !props.hidden ? "ToolIcon" : ""
        } ${sizeCn}${props.selected ? " ToolIcon--selected" : ""} ${
          props.className
        } ${
          props.visible && !props.hidden
            ? "ToolIcon_type_button--show"
            : "ToolIcon_type_button--hide"
        }`}

If that's a good idea I could make PR and refactor all template string classes to classnames()

Class name should not have false or undefined.. :) I think it's a good idea.. what do you think @dwelle?

Yeah, why not. There's even a smaller alternative btw: https://bundlephobia.com/result?p=clsx@1.1.1

@O4epegb go for it!

authors: O4epegb dwelle lipis

repo: excalidraw/excalidraw


text:
Docker language

Hi,
Is there a way to set a env variable in docker to launch app in other language ?
Thanks

Any updates ?


text:
fix: allow copying text outside the component

Take 2, competing implem.
We'll perf-optimize this after we decide whether this is the right way to go or not.

looks good, tested with host app here


text:
Calling/app/v2di/events keeps responding 202

SCRIPT：
curl "http://192.168.16.53:5200/api/v2/events" \     --request POST \     --header "Authorization: Bearer MNw4SAJ9zYOocplSeMU7LwmHA4LRzizOH3GLkTDo" \     --header "Content-Type: application/json" \     --data-binary "[{'type':'log','message':'Hello World!'}]"
Response 202
exceptionless/job log：

exceptionless/app log：

`
version: "3.7"
services:
app:
depends_on:
- elasticsearch
#- redis
image: exceptionless/app:latest
#image: exceptionless/app:6.1.0
environment:
EX_AppMode: Production
EX_ConnectionStrings__Cache: provider=redis
EX_ConnectionStrings__Elasticsearch: server=http://elasticsearch:9200
EX_ConnectionStrings__MessageBus: provider=redis
EX_ConnectionStrings__Redis: server=192.168.16.3:6379,password=123,defaultDatabase=1,ssl=false,abortConnect=false
EX_ConnectionStrings__Storage: provider=folder;path=/app/storage
#ASPNETCORE_HTTPS_PORT: 5201
ASPNETCORE_URLS: http://+
#ASPNETCORE_URLS: http://+;https://+
#ASPNETCORE_Kestrel__Certificates__Default__Password: password
#ASPNETCORE_Kestrel__Certificates__Default__Path: /https/aspnetapp.pfx
EX_RunJobsInProcess: "false"
ports:
- 5200:80
- 5201:8080
volumes:
- ex_appdata:/app/storage
- ex_ssldata:/https
#restart: always
security_opt:
- seccomp:unconfined
jobs:
depends_on:
- app
image: exceptionless/job:latest
#image: exceptionless/job:6.1.0
environment:
EX_AppMode: Production
EX_BaseURL: http://localhost:5200
EX_ConnectionStrings__Cache: provider=redis
EX_ConnectionStrings__Elasticsearch: server=http://elasticsearch:9200
#EX_ConnectionStrings__Email: smtps://user:password@smtp.host.com:587
EX_ConnectionStrings__MessageBus: provider=redis
EX_ConnectionStrings__Redis: server=192.168.16.3:6379,password=123,defaultDatabase=1,ssl=false,abortConnect=false
#EX_ConnectionStrings__Redis: server=redis,abortConnect=false
EX_ConnectionStrings__Storage: provider=folder;path=/app/storage
volumes:
- ex_appdata:/app/storage
#restart: always
security_opt:
- seccomp:unconfined
elasticsearch:
image: exceptionless/elasticsearch:8.15.2
environment:
discovery.type: single-node
xpack.security.enabled: "false"
ES_JAVA_OPTS: -Xms1g -Xmx1g
ports:
- 9200:9200
- 9300:9300
volumes:
- ex_esdata:/usr/share/elasticsearch/data
#restart: always
kibana:
depends_on:
- elasticsearch
image: docker.elastic.co/kibana/kibana:8.15.2
ports:
- 5601:5601
#restart: always
volumes:
ex_esdata:
driver: local
ex_appdata:
driver: local
ex_ssldata:
driver: local
`

Is it related to this
[03:06:59 WRN] Job run Close Inactive Sessions cancelled: Unable to acquire job lock
[03:07:59 WRN] Job run Close Inactive Sessions cancelled: Unable to acquire job lock

If I change it to the following, it will be normal
EX_RunJobsInProcess: "true"
It is speculated that it is a problem with the job service. How should we handle this warning?

The inactive sessions job should only be run by one process (singleton) which is why you could be getting this. If the job died, the lock just may need to time out as well.

Also, when you are running across multiple processes you need to ensure storage is configured to point to the same path so files can be resolved for processing. 202 means the event was received but hasn't been processed, it's queue based. The event posts job needs to run to process the event.

@niemyjski
My dockercompose only runs one job service, and the prod: lock path in Redis has a key value. After deleting the key value, an error message "Unable to acquire job lock" is also reported. Excuse me, is it a bug in the job service or is there a problem with my configuration? I replaced my Redis but it still doesn't work

Hello,
You were missing the queue configuration, so it was using in memory queues and not working across processes. I added redis and used the local container, I also turned on debug logging EX_Serilog__MinimumLevel__Default: Debug
version: "3.7"

services:
  app:
    depends_on:
      - elasticsearch
      - redis
    image: exceptionless/app:latest
    #image: exceptionless/app:6.1.0
    environment:
      EX_AppMode: Production
      EX_ConnectionStrings__Cache: provider=redis
      EX_ConnectionStrings__Elasticsearch: server=http://elasticsearch:9200
      EX_ConnectionStrings__MessageBus: provider=redis
      EX_ConnectionStrings__Queue: provider=redis
      EX_ConnectionStrings__Redis: server=redis:6379,defaultDatabase=1,ssl=false,abortConnect=false
      EX_ConnectionStrings__Storage: provider=folder;path=/app/storage
      #ASPNETCORE_HTTPS_PORT: 5201
      ASPNETCORE_URLS: http://+
      #ASPNETCORE_URLS: http://+;https://+
      #ASPNETCORE_Kestrel__Certificates__Default__Password: password
      #ASPNETCORE_Kestrel__Certificates__Default__Path: /https/aspnetapp.pfx
      EX_RunJobsInProcess: "false"
    ports:
      - 5200:80
      - 5201:8080
    volumes:
      - ex_appdata:/app/storage
      - ex_ssldata:/https
    #restart: always
    security_opt:
      - seccomp:unconfined

  jobs:
    depends_on:
      - app
    image: exceptionless/job:latest
    #image: exceptionless/job:6.1.0
    environment:
      EX_AppMode: Production
      EX_BaseURL: http://localhost:5200
      EX_ConnectionStrings__Cache: provider=redis
      EX_ConnectionStrings__Elasticsearch: server=http://elasticsearch:9200
      #EX_ConnectionStrings__Email: smtps://user:password@smtp.host.com:587
      EX_ConnectionStrings__MessageBus: provider=redis
      EX_ConnectionStrings__Redis: server=redis:6379,defaultDatabase=1,ssl=false,abortConnect=false
      #EX_ConnectionStrings__Redis: server=redis,abortConnect=false
      EX_ConnectionStrings__Queue: provider=redis
      EX_ConnectionStrings__Storage: provider=folder;path=/app/storage
      #EX_Serilog__MinimumLevel__Default: Debug
    volumes:
      - ex_appdata:/app/storage
    #restart: always
    security_opt:
      - seccomp:unconfined

  elasticsearch:
    image: exceptionless/elasticsearch:8.15.2
    environment:
      discovery.type: single-node
      xpack.security.enabled: "false"
      ES_JAVA_OPTS: -Xms1g -Xmx1g
    ports:
      - 9200:9200
      - 9300:9300
    volumes:
      - ex_esdata:/usr/share/elasticsearch/data
    #restart: always

  redis:
    image: redis:7.2-alpine
    ports:
      - 6379:6379

  kibana:
    depends_on:
      - elasticsearch
    image: docker.elastic.co/kibana/kibana:8.15.2
    ports:
      - 5601:5601
    #restart: always

volumes:
  ex_esdata:
    driver: local
  ex_appdata:
    driver: local
  ex_ssldata:
    driver: local

I'll try to look at that lock message under the debugger but I wouldn't worry about it.

Hello,
You were missing the queue configuration, so it was using in memory queues and not working across processes. I added redis and used the local container, I also turned on debug logging EX_Serilog__MinimumLevel__Default: Debug
version: "3.7"

services:
  app:
    depends_on:
      - elasticsearch
      - redis
    image: exceptionless/app:latest
    #image: exceptionless/app:6.1.0
    environment:
      EX_AppMode: Production
      EX_ConnectionStrings__Cache: provider=redis
      EX_ConnectionStrings__Elasticsearch: server=http://elasticsearch:9200
      EX_ConnectionStrings__MessageBus: provider=redis
      EX_ConnectionStrings__Queue: provider=redis
      EX_ConnectionStrings__Redis: server=redis:6379,defaultDatabase=1,ssl=false,abortConnect=false
      EX_ConnectionStrings__Storage: provider=folder;path=/app/storage
      #ASPNETCORE_HTTPS_PORT: 5201
      ASPNETCORE_URLS: http://+
      #ASPNETCORE_URLS: http://+;https://+
      #ASPNETCORE_Kestrel__Certificates__Default__Password: password
      #ASPNETCORE_Kestrel__Certificates__Default__Path: /https/aspnetapp.pfx
      EX_RunJobsInProcess: "false"
    ports:
      - 5200:80
      - 5201:8080
    volumes:
      - ex_appdata:/app/storage
      - ex_ssldata:/https
    #restart: always
    security_opt:
      - seccomp:unconfined

  jobs:
    depends_on:
      - app
    image: exceptionless/job:latest
    #image: exceptionless/job:6.1.0
    environment:
      EX_AppMode: Production
      EX_BaseURL: http://localhost:5200
      EX_ConnectionStrings__Cache: provider=redis
      EX_ConnectionStrings__Elasticsearch: server=http://elasticsearch:9200
      #EX_ConnectionStrings__Email: smtps://user:password@smtp.host.com:587
      EX_ConnectionStrings__MessageBus: provider=redis
      EX_ConnectionStrings__Redis: server=redis:6379,defaultDatabase=1,ssl=false,abortConnect=false
      #EX_ConnectionStrings__Redis: server=redis,abortConnect=false
      EX_ConnectionStrings__Queue: provider=redis
      EX_ConnectionStrings__Storage: provider=folder;path=/app/storage
      #EX_Serilog__MinimumLevel__Default: Debug
    volumes:
      - ex_appdata:/app/storage
    #restart: always
    security_opt:
      - seccomp:unconfined

  elasticsearch:
    image: exceptionless/elasticsearch:8.15.2
    environment:
      discovery.type: single-node
      xpack.security.enabled: "false"
      ES_JAVA_OPTS: -Xms1g -Xmx1g
    ports:
      - 9200:9200
      - 9300:9300
    volumes:
      - ex_esdata:/usr/share/elasticsearch/data
    #restart: always

  redis:
    image: redis:7.2-alpine
    ports:
      - 6379:6379

  kibana:
    depends_on:
      - elasticsearch
    image: docker.elastic.co/kibana/kibana:8.15.2
    ports:
      - 5601:5601
    #restart: always

volumes:
  ex_esdata:
    driver: local
  ex_appdata:
    driver: local
  ex_ssldata:
    driver: local

Thank you so much. It's highly likely that I accidentally deleted EX_ConnectionStrings__Queue

repo: exceptionless/Exceptionless


text:
Show the dedup total

We had reverted the previous commits to show the dedup total. Now that we are running on new indexes we can show this now :)

https://github.com/exceptionless/Exceptionless/commit/93b0f39e7bba29b5104ec2129f5047963045fb70
https://github.com/exceptionless/Exceptionless.UI/commit/5e447cf541af5ec09d77f9691d3e697c9808afd6

This has been fixed :)


text:
Make it possible to serve built pages while the site is reloading

Currently, when a re-build is happening, it is not possible to serve any of the already-built HTML pages from the last build. This is a pain because it can be useful to continue browsing your docs preview while a build is happening.

If not run asynchronously it would be nice if it at least queued up requests, so that if you click a link on the built site it eventually loaded it. Right now if you click a link while the build is happening nothing happens, and you have to wait for the build to happen and click the link again.

Done in fda9582a10a80f2a68f11453449d82ec4e86bb13.
A

authors: AA-Turner asmeurer choldgraf

repo: executablebooks/sphinx-autobuild


text:
Please test with Docutils 0.19b1

Hi,
We've just released Docutils 0.19b1, and intend to release 0.19 final on 05/07/2022 (a week on Tuesday). Please would you test with the pre-release, and raise any issues to me either on this issue or on the Docutils tracker?

The release notes are at: https://docutils.sourceforge.io/RELEASE-NOTES.html#release-0-19b1-2022-06-21
The detailed change history is at: https://docutils.sourceforge.io/HISTORY.html#release-0-19b1-2022-06-21
You can install 0.19b1 with python -m pip install --pre "docutils==0.19b1" or install Docutils' master with python -m pip install "git+https://repo.or.cz/docutils.git#subdirectory=docutils".

Thanks,
Adam

closing this since this is now released

authors: AA-Turner choldgraf

repo: executablebooks/sphinx-book-theme