DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_bfcb895e-d228-458d-b97d-e2254e3e8f29/pull/1 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target_bfcb895e-d228-458d-b97d-e2254e3e8f29.git

Docs Build status updates of commit d74e605:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Archive_master_2019-09-25-10-53-33 has been deleted or has been force pushed: fatal: Couldn't find remote ref Archive_master_2019-09-25-10-53-33

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Costs of using external services via APIs in soilwise

Some of the external services that we intend to use in the project (e.g. translation and language models) are not for free. Creation of an API key with a payment plan (credit card) is sometimes needed. How will this be arranged ?
The OpenAI LLMs are now accessed using a subscription owned by WEnR. Usage at the moment is still limited, but when it intensifies costs will start to add up (and services will stop working when budget limits are reached).

Maybe we should move this issue to the governance repository?
We may have to distinguish between:

costs involved to research what type of value such a service can provide to a repository like SWR
costs involved when running such a component in a production scenario (post project)

As translation service I suggest to use the free-to-use for academia translate service provided by EU. But maybe we want to compare it to another (paid) service?
@BerkvensNick what do you think?

hi @pvgenuchten @robknapen  I'm the maintainer of LiteLLM. I believe we can help with your budget limit problem. (please let me know if that's not the case. I apologize in advance if i'm wrong here)
LiteLLM allows you to:

Proxy 100+ LLMs in the OpenAI Format
Use Virtual Keys to set hard budget limits, soft budget limits, track usage per key

How to use LiteLLM to create virtual keys with budgets
Step 1. Create a Config for LiteLLM proxy
LiteLLM Requires a config with all your models defined - we can call this file litellm_config.yaml
Detailed docs on how to setup litellm config - here
model_list:
  - model_name: gpt-4
    litellm_params:
      model: openai/gpt-3.5-turbo
      api_key: os.environ/OPENAI_API_KEY # reads key from os.environ('OPENAI_API_KEY')

Step 2. Start litellm proxy
docker run \
    -v $(pwd)/litellm_config.yaml:/app/config.yaml \
    -p 4000:4000 \
    ghcr.io/berriai/litellm:main-latest \
    --config /app/config.yaml --detailed_debug

On success, the proxy will start running on http://localhost:4000/
Step 3. Create Virtual key with max_budget and soft_budget.
soft_budget Sends a slack alert on crossing soft_budget
curl 'http://<IP_ADDRESS>:4000/key/generate' \
--header 'Authorization: Bearer sk-1234' \
--header 'Content-Type: application/json' \
--data-raw '{
   "soft_budget": 5,
  "max_budget": 10,
}'

Response from this endpoint
# {"key":"sk-jNm1Zar7XfNdZXp49Z1kSQ"}

Step 4. Test Virtual Key - Make /chat/completions request to litellm proxy

This key can will start failing requests once it crosses it's budget limit

curl -i http://localhost:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-jNm1Zar7XfNdZXp49Z1kSQ" \
  -d '{
    "model": "gpt-4",
    "messages": [
      {"role": "user", "content": "Hello, Claude gm!"}
    ]
}'

Hi @ishaan-jaff , thanks for your feedback!
I did find LiteLLM  indeed. It looks great and it has good options for working with budgets. Which is what we would need so I have it already in consideration :)
Most of the issue though is about who is going to provide the credit card and pay for the use of the (LLM/embedding model) services (during development and after), and get some clarity / awareness about this in the project.


Added favicon to base template

Added a favicon of the lamp in the 'Shlifim' logo.
new file:   home/static/home/favicon.ico
modified:   home/templates/home/base.html

LGTM

LGTM


Disable operator when enable alert

Problem:
System chart have bug that enable alertmanager will also deploy operator if not set false to enable operator
Solution:
Set enable operator to false, system charts bug will be fixed later
Issue:
https://github.com/rancher/rancher/issues/20975

LGTM


JOSHUA-299 Move regression tests to proper unit tests

Hi folks, this is one stage closer to us addressing https://issues.apache.org/jira/browse/JOSHUA-299
Of note here, I manually constructed the decoder output from essentially concatenating various output from a StructuredTranslation. What should be noted here is that we actually seem to loose some accuracy.... note the old file provided decoder output of 0 ||| help ||| tm_glue_0=1.000 ||| 0.000 whereas now we provide 0 ||| help ||| tm_glue_0=1.0 ||| 0.0
Any comments?

Looks good to me.  Some nice cleanup there as well.  I can't comment on the change to the output format except to say that i don't really understand what was there previously. #

ack ;)

+1 thanks @lewismc


Add an Index to applications ON submit_time and id.

Description
PR #8813 adds a query that sorts the application list by submit time (desc) and id (desc).
That query will perform poorly without an Index over the same columns and order.
This change adds an Index to Applications ON submit_time (desc) and id (desc).
NOTE TO REVIEWERS:  If we are concerned about the applications table being locked while the index is built when the evolution is applied, it is possible to do a CONCURRENT index creation, which allows CONCURRENT read/write to the application table.  (The cost is that creating the index takes about 2x as long)  See: https://www.postgresql.org/docs/9.4/sql-createindex.html
Release notes
While the index is being created, the 'applications' table will be marked as READ_ONLY by postgres.  Attempts to write to the table will block while waiting to get a writer lock. (and most likely eventually time-out).
The time that it takes to build this index is directly proportional to the size of your applications table.   The likelihood that this would be a problem for a deployment with < 100,000 applications is low.
Checklist
General
Read the full guidelines for PRs here

[x] Added the correct label: < feature | enhancement | bug | under-development | dependencies | infrastructure | ignore-for-release | database >
[x] Assigned to a specific person, civiform/developers, or a more specific round-robin list
[x] Added an additional reviewer from outside your organization as FYI (if the primary reviewer is in the same organization as you)
[x] Removed the release notes section if the title is sufficient for the release notes description, or put more details in that section.
[x] Created unit and/or browser tests which fail without the change (if possible)
[x] Performed manual testing (Chrome and Firefox if it includes front-end changes)
[x] Extended the README / documentation, if necessary. For user-facing features, consider updating the user docs. For "under-the-hood" changes or things more relevant to developers, consider updating the dev wiki.

Database evolutions
Read the guidelines here

[x] Assigned two reviewers
[x] Guarded against already existing resources using IF NOT EXISTS and IF EXISTS
[x] Downs created to undo changes in Ups
[x] Data migrations aren't being done (please use a Durable Job if doing a data migration)

Instructions for manual testing
Verified that the index exists after the evolution is applied during job startup by using pgadmin
Issue(s) this completes
Regards #8743

Play applies evolutions synchronously and won’t move on to starting the application until they are all complete. I'm not concerned about downtime, it's not going to take all that long to index. Seattle has less then 50k records in the applications table and no one will have more than that.


No such file or directory ERROR

Hello!
I was applying the readme.md for Oh-my-Zsh install and at the last step (reloading zsh) i encountered this:
$ source ~/.zshrc
/home/me/.oh-my-zsh/custom/plugins/kubectx/kubectx.plugin.zsh:source:10: no such file or directory: /home/me/.oh-my-zsh/custom/plugins/kubectx/kubectx/completion/kubectx.zsh
/home/me/.oh-my-zsh/custom/plugins/kubectx/kubectx.plugin.zsh:source:11: no such file or directory: /home/me/.oh-my-zsh/custom/plugins/kubectx/kubectx/completion/kubens.zsh

To fix this, please:

in the readme.md update the line
git clone https://github.com/unixorn/kubectx-zshplugin.git kubectx by git clone --recursive https://github.com/unixorn/kubectx-zshplugin.git kubectx

This to avoid executing this additional commands to get the missing files (if another people encounter this error, please do the following):
cd ~/.oh-my-zsh/custom/plugins/kubectx/
git submodule init
git submodule update

indeed git clone command alone doesn't download submodule automatically
In add, if you allow me to comment the remote choice:
i think it's simpler if the submodules remote uri is an https uri, git@ using ssh connexion can be complex for peoples whom never used it before (they have to install openssh, generate private/public ssh key etc), https one work without additional configurations needs in most environments
anyway, thank for the script :)

Thanks for the report and detailed fix. I must have done a submodule init on my laptop.
I really need to figure out a good way to test for that kind of error.


Fix ProxyListener in JS and Swift

In ProxyDAO always decorate the listener in listen_ rather than listen() as we had before.
The previous behaviour would break if you had several ProxyDAOs in a chain and changed the delegate of one half way in the chain, listeners against the top proxydao would not get notified.
We need to install a proxy listener for every proxydao in the chain, not just the top one.
Fixes #1381

@mcarcaso No idea if the swift code even compiles.
@kgrgreer in case you're curious.


MB-61650: Limiting the time cache remains in memory without a query hit

Looks ok to me, @Thejas-bhat this look ok to you too?

I understand the logic behind the changes, however my concern/doubt is what kind of workload patterns would we see the cache entry being cleared - and leading in fresh read the next query. So, before merging maybe running some throughput perf tests under varying workload pattern and figuring out if there is a drop in perf makes more sense to me.

hey
so MB-61650 is fixed with https://github.com/blevesearch/go-faiss/pull/22
Based on my long running throughput experiments i did not observe the case where the index might stay in cache forever, sorry for the confusion there.

I calculated the amount of time a cached entry stays in memory vs the qps and these are the results.

Seconds
QPS

2
1.5

3
3.7

4
9.3

5
23.4

6
58.5

7
146.4

8
366.2

9
915,5

10
2288.8

So we need 58 qps for a cached entry to be in memory for 6 seconds. With this, I do not this it is necessary to even limit the average value because the cache staying for more than 8-9 seconds is unlikely.
cc:  @Thejas-bhat @abhinavdangeti

Agreed @Likith101 - would you capture this table in the description of the original ticket as well.


Uncaught TypeError: Cannot read property 'version' of undefined

[Enter steps to reproduce:]

...
...

Atom: 1.34.0 x64
Electron: 2.0.16
OS: Parrot GNU/Linux
Thrown From: Atom Core
Stack Trace
Uncaught TypeError: Cannot read property 'version' of undefined
At /usr/share/atom/resources/app/static/<embedded>:14

TypeError: Cannot read property 'version' of undefined
    at /usr/share/atom/resources/app/static/<embedded>:14:2932564
    at /usr/share/atom/resources/app/static/<embedded>:11:914600
    at r (/usr/share/atom/resources/app/static/<embedded>:11:911606)
    at o (/usr/share/atom/resources/app/static/<embedded>:14:1037724)
    at t.bufferStream (/usr/share/atom/resources/app/static/<embedded>:14:1037878)
    at Socket.e.on (/usr/share/atom/resources/app/static/<embedded>:14:1036480)
    at emitOne (events.js:121:20)
    at Socket.emit (events.js:211:7)
    at Pipe._handle.close [as _onclose] (net.js:554:12)

Commands

Non-Core Packages
atom-runner 2.7.1
platformio-ide-terminal 2.10.0

at /usr/share/atom/resources/app/static/:11:914600

Thanks for reaching out!
We require the template to be filled out on all new issues and pull requests. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Thanks for understanding and meeting us half way 😀


Where is the build directory?

Where is the build directory? I am not locating to add in cmake

hey, just do this for linux and mac

touch install.sh

then copy this into install.sh

#!/bin/sh -e

mkdir -p build && cd build
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
make

then to give permission to the bash file

chmod +x install.sh

make sure to install SFML for linux and mac
for mac

brew install sfml

then

./install.sh


<EMAIL_ADDRESS>install failing

scoop install python
Installing 'python' (3.8.2) [64bit]
install-pep-514.reg (555 B) [=================================================================================] 100%
Checking hash of install-pep-514.reg ... ok.

uninstall-pep-514.reg (86 B) [>                                                                               ]   0%
The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was 1000.
URL https://raw.githubusercontent.com/ScoopInstaller/Main/master/scripts/python/uninstall-pep-514.reg is not valid

Wrong bucket. :P


Use backbone network implemented in MMPretrain, raise KeyError(f'Cannot find {norm_layer} in registry under

https://github.com/Jano-rm-rf/Test/blob/main/TestChannels.py
I wanted to use the SaprseResNet implemented in mmpretrain, but I got an error

你好解决了吗，我也遇到了一样的错误


feat: update to Substrait 0.43, add min. precision timestamp support

Update to Substrait v0.43.0, which is the next version, and add minimal support for precision timestamp support, which is the main change since the previously used v0.42.1. The minimal support is achieved by adding the new type cases to the type switches, where they either produce "not implemented" errors or do the simple functionality of setting nullability of the type, as well as suppressing warnings of using depcreated protobuf accessors in the places where these were not suppressed yet.

I have a couple of subsequent changes that bring this repo up to date with the current version of the main repo and will push them in a bit.

I just realized that the minimal changes are not enough and that the full type implementation is required. I have no intention in doing that. I have started here, tough, so if someone wants to pick it up, feel free...

I have a couple of subsequent changes that bring this repo up to date with the current version of the main repo and will push them in a bit.

The remaining changes related to renaming the join types, which is trivial, and introducing another type, which I also have no intention implementing at the moment, so I'll abandon those changes.

Thanks, @EpsilonPrime, for approving! Note, though, that there is quite some work left, which I had underestimated when I started. The problem is that the precision timestamps appear in some function signatures, which are loaded as part of the function tests, which means that these types actually need to be implemented.

One way around that, which may be a good idea anyways, could be to (optionally?) allow loading the function library partially, i.e., to ignore unsupported functions.


selenium-manager: 4.22.0 -> 4.23.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/selenium-manager/versions.
meta.description for selenium-manager is: Browser automation framework and ecosystem
meta.homepage for selenium-manager is: https://github.com/SeleniumHQ/selenium
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.23.0 with grep in /nix/store/6q23d0amfhq5nn3y1lhrc93wfld3p8ab-selenium-manager-4.23.0
found 4.23.0 in filename of file in /nix/store/6q23d0amfhq5nn3y1lhrc93wfld3p8ab-selenium-manager-4.23.0

Rebuild report (if merged into master) (click to expand)

3260 total rebuild path(s)

3260 package rebuild(s)

First fifty rebuilds by attrpath

anime-downloader
anki
ansible-doctor
authentik
azure-cli-extensions.rdbms-connect
backgroundremover
barman
beancount
bepasty
breezy
browsr
buildbot
buildbot-full
buildbot-ui
buildbotPackages.buildbot
buildbotPackages.buildbot-full
buildbotPackages.buildbot-ui
cabal2nix
calcurse
cantor
ceph
ceph-client
ceph-csi
ceph-dev
cfripper
chatgpt-retrieval-plugin
coconut
conan
crackmapexec
datatrove
deface
deja-dup
dep2nix
devpi-client
dnstwist
duplicity
duply
dvc
dvc-with-remotes
easyocr
echidna
eduvpn-client
etebase-server
executor
eyewitness
fava
flatpak-builder
frigate
gam

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/6q23d0amfhq5nn3y1lhrc93wfld3p8ab-selenium-manager-4.23.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A selenium-manager https://github.com/r-ryantm/nixpkgs/archive/179c2efae711d88249b15799af18be2f8055b5cf.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/179c2efae711d88249b15799af18be2f8055b5cf#selenium-manager

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/6q23d0amfhq5nn3y1lhrc93wfld3p8ab-selenium-manager-4.23.0
ls -la /nix/store/6q23d0amfhq5nn3y1lhrc93wfld3p8ab-selenium-manager-4.23.0/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings

Superseded by #332066.


Bundle memory addresses in a single U256

Addresses in the kernel are currently represented as 3 elements: context, segment, and virtual (an offset).
These values are small (32 bits at most for virtual), few values for context and segment.
This incurs quite some overhead on both CPU and Memory when manipulating addresses. For instance, copying memory addresses requires 3 DUP, deleting one 3 POP, etc..
It would be beneficial to have instead memory addresses represented as $2^{64} \cdot ctx + 2^{32}\cdot seg + off$.
By scaling the hardcoded values in the Segment enum, and increasing the context by $2^{64}$ instead of 1 when entering a new one, this turns a memory creation from 3 POP to 3 POP + 2 ADD.
Given that many operations take place in the kernel, with $ctx == 0$, 1 ADD can be removed, same reasoning goes for $seg == CODE == 0$. Hence the overhead on address creation should be low enough for actual gains to occur, especially for memory heavy transitions involving memcpy / memset / rlp_ / ...

So actually, given that PUSH isn't constrained yet, and will be through BytePackingStark most likely, it seems like this approach wouldn't be satisfactory in the end, as scaled addresses would be at least 5 bytes long, and at least 9 bytes long when not in the kernel.

So this could actually be beneficial, because now that duplexing is merged, it would allow to scrap out an entire memory channel from the CPU trace, removing 13 columns (currently 104).


cmd/go: all.bash fails on standalone host

With tip, all.bash still fails because test cases in cmd/go/internal/modefetch/codehost tries to fetch external resources unconditionally.

Closing as dup of #26007.


libcudart version problem

I compile kaolin with cudatoolkit10.0 and pytorch1.3+cu10.0 and it works：
but when  i  try to import kaolin in python, it pint like this：
Python 3.7.0 (default, Jun 28 2018, 13:15:42)
[GCC 7.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.

import kaolin
Traceback (most recent call last):
File "", line 1, in
File "/home/gaoqiyu/anaconda3/lib/python3.7/site-packages/kaolin-0.2.0-py3.7-linux-x86_64.egg/kaolin/init.py", line 17, in
File "/home/gaoqiyu/anaconda3/lib/python3.7/site-packages/kaolin-0.2.0-py3.7-linux-x86_64.egg/kaolin/conversions/init.py", line 1, in
File "/home/gaoqiyu/anaconda3/lib/python3.7/site-packages/kaolin-0.2.0-py3.7-linux-x86_64.egg/kaolin/conversions/meshconversions.py", line 22, in
File "/home/gaoqiyu/anaconda3/lib/python3.7/site-packages/kaolin-0.2.0-py3.7-linux-x86_64.egg/kaolin/metrics/init.py", line 2, in
File "/home/gaoqiyu/anaconda3/lib/python3.7/site-packages/kaolin-0.2.0-py3.7-linux-x86_64.egg/kaolin/metrics/point.py", line 17, in
File "/home/gaoqiyu/anaconda3/lib/python3.7/site-packages/kaolin-0.2.0-py3.7-linux-x86_64.egg/kaolin/cuda/sided_distance.py", line 7, in
File "/home/gaoqiyu/anaconda3/lib/python3.7/site-packages/kaolin-0.2.0-py3.7-linux-x86_64.egg/kaolin/cuda/sided_distance.py", line 6, in bootstrap
File "/home/gaoqiyu/anaconda3/lib/python3.7/imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: libcudart.so.10.1: cannot open shared object file: No such file or directory

I dont have cuda10.1 on my device
what should I do？

Hi, thank you for using Kaolin! The library went through a major rewrite with the version 0.9.0, and only the core library components we can thoroughly test and maintain are now part of this repository. Please refer to our latest documentation:
https://kaolin.readthedocs.io/en/latest/
Closing the bug as it is no longer relevant to this repo.


Fix memory leak

graceful-fs is relied on by many major projects. Test frameworks, such as jest, both reset the module cache between tests to facilitate mocking, and rely on graceful-fs.
Because of this, graceful-fs is re-wrapping fs multiple times, causing ever-growing memory leaks. In a project with a a few thousand tests, this balloons to GB.
Three memory leaks were fixed in this PRz

fs.close was getting re-wrapped every time graceful-fs was loaded.
fs.closeSync was getting re-wrapped every time graceful-fs was loaded.
The same clone of fs generated by ./fs.js was getting re-wrapped every time graceful-fs was loaded.

These memory leaks show up when:

More than one version of graceful-fs is required.
The module cache is cleared, which happens in Jest and other test frameworks.
The impact of this leak is multiplied as thousands of modules rely on this package.

Note:
--enable-gc was added to the test runner so that we can monitor memory usage in one of the tests.
Fixes #102
Some related tickets:

https://github.com/facebook/jest/issues/7274
https://github.com/facebook/jest/issues/6738
https://github.com/facebook/jest/issues/6814
https://github.com/facebook/jest/issues/6399
https://github.com/mapbox/underreact/issues/15
https://github.com/stylelint/stylelint/issues/2168
https://github.com/niftylettuce/email-templates/issues/318

this is cool, but i have a noobish question.  how do you test or "measure" the memory-leak-fix?
do you have a script to simulate typical usage and compare the expected memory usage vs actual?
any tools for doing that?  interested to know how you'd solve this type of problem in general (tooling for fixing memory leaks).

Hi @tmax - great question!
If you look in test/avoid-memory-leak.js, you'll see we're using importFresh from the always amazing @sindresorhus to load the module.
Normally, node caches modules once they are required, but this library deletes the cache before loading so that we can reload it. This simulates what happens in frameworks like Jest that clear the module cache between tests.
First, we look at the memory usage with process.memoryUsage().heapUsed / Math.F(1024, 2); The math is to convert it to Mb for easy reading.
Then we require "fresh" the module 4000 times, simulating our 4800 unit tests.
We then call global.gc(); - this is an internal node command garbage collect. We normally don't need this, node will garbage collect as it has time, but in this
case we want to measure the memory impact right away.
Before this fix, garbage collecting had no effect because every copy of the module was still referenced by fs.
Finally, we look at the memory usage with process.memoryUsage().heapUsed / Math.pow(1024, 2) again, and compare to what we had before. A little growth is natural, so I made sure it's less than 2mb. Without the fix, the number can be in the hundreds of MB.

Thanks!  Landed on<EMAIL_ADDRESS>

great work!

ping @dylang ?

This works fine on version 4.1.15 for fixing the memory leak, but when I upgrade to version 4.2.3 the memory leak comes back. Was a regression introduced with the changes in 4.2.x?

Using graceful-fs 4.2.4 on Node 12.19.1 seems to be working fine without any noticeable memory leak.


Minor Typo in Authentications Tip

Minor Typo in Authentications Tip #3450

Sorry. I guess I don't know what I am doing.


Update config

fixed misspelling of pavucontrol underf waybar/config on-click event

No mistake here -  pwvucontrol is a pipewire version of pavucontrol which is a different program with a similar name.
My readme file acknowledges it too. Feel free to modify it on your personal config.


Mismatch in Error Code and Message for starknet_traceTransaction

The error response for starknet_traceTransaction does not match the specification when provided with an invalid transaction_hash.
Steps to reproduce:

Send a request to the starknet_traceTransaction method with the following payload:

    "jsonrpc": "2.0",
    "method": "starknet_traceTransaction",
    "params": {
        "transaction_hash": "0x11d9ca99dcd495081773767ff424822cf32c389c7fe38f2d965c1ff0c48064442"
    },
    "id": 1
}

Expected Result:
According to spec should be:
    "jsonrpc": "2.0",
    "error": {
        "code": 25,
        "message": "Invalid transaction hash"
    },
    "id": 1
}

Actual Result:
    "jsonrpc": "2.0",
    "error": {
        "code": -32602,
        "message": "Invalid Params",
        "data": "can't fit in felt: 0x11d9ca99dcd495081773767ff424822cf32c389c7fe38f2d965c1ff0c48064442"
    },
    "id": 1
}

This is a non-issue.
Spec defines field elements as strings starting with "0x" and at max 62 hexadecimal digits following.
Since "0x11d9ca99dcd495081773767ff424822cf32c389c7fe38f2d965c1ff0c48064442" has more than 62 digits, it is not a valid field element. Since it violates the spec, we return an "Invalid Param" error.
If the transaction hash was a valid felt, but we couldnt find a transaction matching that hash, we would return the error you are expecting. So try with "0x0" as the transaction hash and you should be able to replicate that.
https://github.com/NethermindEth/juno/blob/main/rpc/handlers.go#L1114

Ok, make sense, but still for valid transactions (like 0x0) we return:
{
    "jsonrpc": "2.0",
    "error": {
        "code": 29,
        "message": "Transaction hash not found"
    },
    "id": 1
}

while according to spec should be:
    "error": {
        "code": 25,
        "message": "Invalid transaction hash"
    },
    "id": 1
}

Ah, got it. I confused "Invalid transaction hash" with "Transaction hash not found"


Rename funcs in sanity tests

Schutzbot seems to unhappy though.

Schutzbot seems to unhappy though.

Yes, the failure is https://github.com/osbuild/osbuild-composer/issues/664

There seems to be another failure here which comes from composer-cli compose image. I think this is the relevant log from Jenkins:
May 28 12:47:19 fedora31-107 osbuild-worker[3513]: Waiting for a new job...
May 28 12:47:30 fedora31-107 osbuild-composer[3520]: 2020/05/28 12:47:30 http: panic serving @: write unix /run/weldr/api.socket->@: write: broken pipe
May 28 12:47:30 fedora31-107 osbuild-composer[3520]: goroutine 706 [running]:
May 28 12:47:30 fedora31-107 osbuild-composer[3520]: net/http.(*conn).serve.func1(0xc0000f80a0)
May 28 12:47:30 fedora31-107 osbuild-composer[3520]:         /usr/lib/golang/src/net/http/server.go:1767 +0x13b
May 28 12:47:30 fedora31-107 osbuild-composer[3520]: panic(0x55a5903b6220, 0xc0000f4d70)
May 28 12:47:30 fedora31-107 osbuild-composer[3520]:         /usr/lib/golang/src/runtime/panic.go:679 +0x1b6
May 28 12:47:30 fedora31-107 osbuild-composer[3520]: github.com/osbuild/osbuild-composer/internal/common.PanicOnError(...)
May 28 12:47:30 fedora31-107 osbuild-composer[3520]:         /builddir/build/BUILD/osbuild-composer-2e58642484928f21464bbac166a70ff28bab717f/_build/src/github.com/osbuild/osbuild-composer/internal/common/helpers.go:23
May 28 12:47:30 fedora31-107 osbuild-composer[3520]: github.com/osbuild/osbuild-composer/internal/weldr.(*API).composeImageHandler(0xc0000d2500, 0x55a590428900, 0xc0000ee540, 0xc000104400, 0xc00037a280, 0x2, 0x4)
May 28 12:47:30 fedora31-107 osbuild-composer[3520]:         /builddir/build/BUILD/osbuild-composer-2e58642484928f21464bbac166a70ff28bab717f/_build/src/github.com/osbuild/osbuild-composer/internal/weldr/api.go:2031 +0xfe4
May 28 12:47:30 fedora31-107 osbuild-composer[3520]: github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0xc000068a20, 0x55a590428900, 0xc0000ee540, 0xc000104400)
May 28 12:47:30 fedora31-107 osbuild-composer[3520]:         /usr/share/gocode/src/github.com/julienschmidt/httprouter/router.go:387 +0xa3f
May 28 12:47:30 fedora31-107 osbuild-composer[3520]: github.com/osbuild/osbuild-composer/internal/weldr.(*API).ServeHTTP(0xc0000d2500, 0x55a590428900, 0xc0000ee540, 0xc000104400)
May 28 12:47:30 fedora31-107 osbuild-composer[3520]:         /builddir/build/BUILD/osbuild-composer-2e58642484928f21464bbac166a70ff28bab717f/_build/src/github.com/osbuild/osbuild-composer/internal/weldr/api.go:150 +0x144
May 28 12:47:30 fedora31-107 osbuild-composer[3520]: net/http.serverHandler.ServeHTTP(0xc0000ee380, 0x55a590428900, 0xc0000ee540, 0xc000104400)
May 28 12:47:30 fedora31-107 osbuild-composer[3520]:         /usr/lib/golang/src/net/http/server.go:2802 +0xa6
May 28 12:47:30 fedora31-107 osbuild-composer[3520]: net/http.(*conn).serve(0xc0000f80a0, 0x55a590429640, 0xc00033e080)
May 28 12:47:30 fedora31-107 osbuild-composer[3520]:         /usr/lib/golang/src/net/http/server.go:1890 +0x877
May 28 12:47:30 fedora31-107 osbuild-composer[3520]: created by net/http.(*Server).Serve
May 28 12:47:30 fedora31-107 osbuild-composer[3520]:         /usr/lib/golang/src/net/http/server.go:2928 +0x386

Would love to merge this, but I guess we need a fix for #664 to land first.

Would love to merge this, but I guess we need a fix for #664 to land first.

@teg the latest comment points to a different issue IMO. Can you take a look.

This is merged as part of #730.


Update nn_impl.py

fix package name

@372046933 Could you please fix build errors? Thanks!

@gbaned I didn't change any other code beyond this file. Can the CI process be retested?

@372046933 Can you please address Ubuntu Sanity errors? Thanks!

@gbaned I have run ./tensorflow/tools/ci_build/ci_sanity.sh. And step 1 configure.py looks for CUDA. Step 1 failed to pass. Why CUDA is a must?


Dataloader: Incorrect dataspec file created for multiple environments

When a Dataloader is created with files to be loaded from multiple environments, the config created in get_data_cacher function only stores a dataspec for the last environment. This is problematic because

Multidatasets class uses the number of "data" entries to calculate the total number of datasets / dataloaders.
load_sample randomly samples a dataset based on the total number of datasets, which always remains 1, resulting in samples only from one environment.

Is this a problem, or is this expected?

Thanks for starting this issue!
Could you please add an example of when this happens? Perhaps download two small environments and ask to load data from both? What you are describing is not the intended behavior and I do not see it reflected on my side.
In some more detail: the ta_data_spec.txt file that is automatically created by the TartanAir Dataloader (under the hood the Data Cacher indeed) stores specifications for all images (and other enumerated data files) from all the requested trajectories. You will see each trajectory being split into smaller chunks, for shuffling purposes. This might not be in line with what you need/expect and we can discuss this further. But generally all of the data you request should be loaded.
Regarding your specific points:

We compile the subset of TartanAir that you request into a single "dataset", which is why you see 1 in the Multidatasets. This does not mean a single environment, but rather a single data spec file (which in our case enumerates data from multiple environments).
Samples should be drawn from multiple environments, if those have been requested. Could you please verify that you are only getting samples from a single environment? And if you do, please share the code snippets so we could debug on our side :).

Apologies for the late response, I got a bit occupied with other commitments! You are right and the data loading is correct, but internally the total number of datasets remains 1, which is an implementation detail.


ft2-clone: 1.88 -> 1.89

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/8bitbubsy/ft2-clone/releases.
meta.description for ft2-clone is: Highly accurate clone of the classic Fasttracker II software for MS-DOS
meta.homepage for ft2-clone is: https://16-bits.org/ft2.php
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.89 with grep in /nix/store/nbcfspxn6gcwsggisknxngfz6dr3lnq5-ft2-clone-1.89
found 1.89 in filename of file in /nix/store/nbcfspxn6gcwsggisknxngfz6dr3lnq5-ft2-clone-1.89

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

ft2-clone

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/nbcfspxn6gcwsggisknxngfz6dr3lnq5-ft2-clone-1.89 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ft2-clone https://github.com/r-ryantm/nixpkgs/archive/a8d9bda30131edfc3629f6a26450adcb94f44f68.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/a8d9bda30131edfc3629f6a26450adcb94f44f68#ft2-clone

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/nbcfspxn6gcwsggisknxngfz6dr3lnq5-ft2-clone-1.89
ls -la /nix/store/nbcfspxn6gcwsggisknxngfz6dr3lnq5-ft2-clone-1.89/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

ft2-clone

Maintainer pings
cc @fgaz for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 363229

aarch64-darwin

:white_check_mark: 1 package built:

ft2-clone


WinAppDriver cannot read element if AUT is running in remote machine without RDP

I have a bamboo build in which

bamboo agent creates an instance of aws ami.
logs into the instance with required/set credentials.
starts AUT (application under test)  and WinAppdriver.
executes the nunit-console with the test libraries. (all of these steps 3 and 4) are done using powershell scripts in bamboo build plan.

Now, that the tests are running under an environment which does not have a screen. WinAppDriver fails to read most of the UI elements.
I had similar situation when I would run the tests in RDP environment and minimize the window. But registry setting "RemoteDesktop_SuppressWhenMinimized" fixed that problem.
But in this current situation, there is no rdp session open, and there is no host machine that can have the registry setting. It is just the bamboo agent that is launching and logs in the remote machine (aws instance)
How can I use WinAppDriver in this scenario?

Hi @rahul4phone,
This may help --> https://stackoverflow.com/a/54637038
Original source --> https://docs.microsoft.com/en-us/azure/devops/pipelines/test/ui-testing-considerations?view=azure-devops&tabs=mstest#visible-ui-testing-using-self-hosted-windows-agents
It says:

Agents that are configured to run as service can run Selenium tests only with headless browsers. If you are not using a headless browser, or if you are running UI tests for desktop apps, Windows agents must be configured to run as an interactive process with auto-logon enabled.


Create Designs for State Power Plants Page & Individual Power Plant Page

We want to have a page we can link to from each state details page that shows a map of power plants with some filters, plus a list of the power plants in a table with some data about the type of power plant, the power output, emissions, and whatever else.
Derek said we have the emissions broken down by type (e.g. CO2, NOX, Methane) so we need to make a formula to create emissions.

@derekeder - do you want to weigh in on what you want to see here?

Also @derekeder if for my designs you could output the current data we have for one power plant that would be very helpful.

Here's a JSON export of the biggest Illinois coal plant:
[
  {
    "Plant sequence number": 166,
    "eGRID Plant file sequence number": 3606,
    "Data Year": 2019,
    "state": "IL",
    "plant_name": "Baldwin Energy Complex",
    "DOE/EIA ORIS plant or facility code": 889,
    "Plant transmission or distribution system owner name": "Ameren Illinois Company",
    "Plant transmission or distribution system owner ID": 56697,
    "utility_name": "Dynegy Midwest Generation Inc",
    "Utility ID": 5517,
    "Plant-level sector": "IPP Non-CHP",
    "Balancing Authority Name": "Midcontinent Independent Transmission System Operator, Inc..",
    "Balancing Authority Code": "MISO",
    "NERC region acronym": "SERC",
    "eGRID subregion acronym": "SRMW",
    "eGRID subregion name": "SERC Midwest",
    "Plant associated ISO/RTO Territory": "MISO",
    "Plant FIPS state code": 17,
    "Plant FIPS county code": 157,
    "county": "Randolph",
    "Latitude": 38.205,
    "Longitude": -89.8544,
    "Number of units": 3,
    "Number of generators": 3,
    "Plant primary fuel": "RC",
    "fossil_fuel_category": "COAL",
    "Flag indicating if the plant burned or generated any amount of coal": "Yes",
    "Plant capacity factor": 0.3792,
    "capacity_mw": 1894.1,
    "Nonbaseload Factor": 0.7013,
    "Biogas/ biomass plant adjustment flag": "",
    "Combined heat and power (CHP) plant adjustment flag": "",
    "CHP plant useful thermal output (MMBtu)": "",
    "CHP plant power to heat ratio": "",
    "CHP plant electric allocation factor": "",
    "Plant pumped storage flag": "",
    "Plant annual heat input from combustion (MMBtu)": 64178406,
    "Plant ozone season heat input from combustion (MMBtu)": 26849671,
    "Plant total annual heat input (MMBtu)": 64178406,
    "Plant total ozone season heat input (MMBtu)": 26849671,
    "Plant annual net generation (MWh)": 6291993,
    "Plant ozone season net generation (MWh)": 2589577,
    "Plant annual NOx emissions (tons)": 2810.336,
    "Plant ozone season NOx emissions (tons)": 1159.899,
    "Plant annual SO2 emissions (tons)": 2276.793,
    "Plant annual CO2 emissions (tons)": 6731034.75,
    "Plant annual CH4 emissions (lbs)": 1591417.454,
    "Plant annual N2O emissions (lbs)": 231488.399,
    "Plant annual CO2 equivalent emissions (tons)": 6785419.24,
    "Plant annual Hg emissions (lbs)": "",
    "Plant annual NOx total output emission rate (lb/MWh)": 0.893,
    "Plant ozone season NOx total output emission rate (lb/MWh)": 0.896,
    "Plant annual SO2 total output emission rate (lb/MWh)": 0.724,
    "Plant annual CO2 total output emission rate (lb/MWh)": 2139.556,
    "Plant annual CH4 total output emission rate (lb/MWh)": 0.253,
    "Plant annual N2O total output emission rate (lb/MWh)": 0.037,
    "Plant annual CO2 equivalent total output emission rate (lb/MWh)": 2156.843,
    "Plant annual Hg total output emission rate (lb/MWh)": "",
    "Plant annual NOx input emission rate (lb/MMBtu)": 0.088,
    "Plant ozone season NOx input emission rate (lb/MMBtu)": 0.086,
    "Plant annual SO2 input emission rate (lb/MMBtu)": 0.071,
    "Plant annual CO2 input emission rate (lb/MMBtu)": 209.76,
    "Plant annual CH4 input emission rate (lb/MMBtu)": 0.025,
    "Plant annual N2O input emission rate (lb/MMBtu)": 0.004,
    "Plant annual CO2 equivalent input emission rate (lb/MMBtu)": 211.455,
    "Plant annual Hg input emission rate (lb/MMBtu)": "",
    "Plant annual NOx combustion output emission rate (lb/MWh)": 0.893,
    "Plant ozone season NOx combustion output emission rate (lb/MWh)": 0.896,
    "Plant annual SO2 combustion output emission rate (lb/MWh)": 0.724,
    "Plant annual CO2 combustion output emission rate (lb/MWh)": 2139.556,
    "Plant annual CH4 combustion output emission rate (lb/MWh)": 0.253,
    "Plant annual N2O combustion output emission rate (lb/MWh)": 0.037,
    "Plant annual CO2 equivalent combustion output emission rate (lb/MWh)": 2156.843,
    "Plant annual Hg combustion output emission rate (lb/MWh)": "",
    "Plant unadjusted annual NOx emissions (tons)": 2810.34,
    "Plant unadjusted ozone season NOx emissions (tons)": 1159.9,
    "Plant unadjusted annual SO2 emissions (tons)": 2276.79,
    "Plant unadjusted annual CO2 emissions (tons)": 6731034.75,
    "Plant unadjusted annual CH4 emissions (lbs)": 1591417.45,
    "Plant unadjusted annual N2O emissions (lbs)": 231488.4,
    "Plant unadjusted annual Hg emissions (lbs)": "",
    "Plant unadjusted annual heat input from combustion (MMBtu)": 64178406,
    "Plant unadjusted ozone season heat input from combustion (MMBtu)": 26849671,
    "Plant unadjusted total annual heat input (MMBtu)": 64178406,
    "Plant unadjusted total ozone season heat input (MMBtu)": 26849671,
    "Plant unadjusted annual NOx emissions source": "EPA/CAMD",
    "Plant unadjusted ozone season NOx emissions source": "EPA/CAMD",
    "Plant unadjusted annual SO2 emissions source": "EPA/CAMD",
    "Plant unadjusted annual CO2 emissions source": "EPA/CAMD",
    "Plant unadjusted annual CH4 emissions source": "EIA",
    "Plant unadjusted annual N2O emissions source": "EIA",
    "Plant unadjusted annual Hg emissions source": "--",
    "Plant unadjusted annual heat input source": "EPA/CAMD",
    "Plant unadjusted ozone season heat input source": "EPA/CAMD",
    "Plant annual NOx biomass emissions (tons)": "",
    "Plant ozone season NOx biomass emissions (tons)": "",
    "Plant annual SO2 biomass emissions (tons)": "",
    "Plant annual CO2 biomass emissions (tons)": "",
    "Plant annual CH4 biomass emissions (lbs)": "",
    "Plant annual N2O biomass emissions (lbs)": "",
    "Plant combustion heat input CHP adjustment value (MMBtu)": "",
    "Plant combustion annual ozone season heat input CHP adjustment value (MMBtu)": "",
    "Plant annual NOx emissions CHP adjustment value (tons)": "",
    "Plant ozone season NOx emissions CHP adjustment value (tons)": "",
    "Plant annual SO2 emissions CHP adjustment value (tons)": "",
    "Plant annual CO2 emissions CHP adjustment value (tons)": "",
    "Plant annual CH4 emissions CHP adjustment value (lbs)": "",
    "Plant annual N2O emissions CHP adjustment value (lbs)": "",
    "Plant nominal heat rate (Btu/kWh)": 10200.012,
    "Plant annual coal net generation (MWh)": 6282239.4,
    "Plant annual oil net generation (MWh)": 9753.63,
    "Plant annual gas net generation (MWh)": 0,
    "Plant annual nuclear net generation (MWh)": 0,
    "Plant annual hydro net generation (MWh)": 0,
    "Plant annual biomass net generation (MWh)": 0,
    "Plant annual wind net generation (MWh)": 0,
    "Plant annual solar net generation (MWh)": 0,
    "Plant annual geothermal net generation (MWh)": 0,
    "Plant annual other fossil net generation (MWh)": 0,
    "Plant annual other unknown/ purchased fuel net generation (MWh)": 0,
    "Plant annual total nonrenewables net generation (MWh)": 6291993.03,
    "Plant annual total renewables net generation (MWh)": 0,
    "Plant annual total nonhydro renewables net generation (MWh)": 0,
    "Plant annual total combustion net generation (MWh)": 6291993.03,
    "Plant annual total noncombustion net generation (MWh)": 0,
    "Plant coal generation percent (resource mix)": 1,
    "Plant oil generation percent (resource mix)": 0,
    "Plant gas generation percent (resource mix)": 0,
    "Plant nuclear generation percent (resource mix)": 0,
    "Plant hydro generation percent (resource mix)": 0,
    "Plant biomass generation percent (resource mix)": 0,
    "Plant wind generation percent (resource mix)": 0,
    "Plant solar generation percent (resource mix)": 0,
    "Plant geothermal generation percent (resource mix)": 0,
    "Plant other fossil generation percent (resource mix)": 0,
    "Plant other unknown / purchased fuel generation percent (resource mix)": 0,
    "Plant total nonrenewables generation percent (resource mix)": 1,
    "Plant total renewables generation percent (resource mix)": 0,
    "Plant total nonhydro renewables generation percent (resource mix)": 0,
    "Plant total combustion generation percent (resource mix)": 1,
    "Plant total noncombustion generation percent (resource mix)": 0,
    "CAMD Flag": "Yes",
    "CAMD Units": "1,2,3",
    "2020 Plant total Heat Input (mmBtu) from CAMD": 42583477.5,
    "2020 Plant total CO2 mass (tons) from CAMD": 4466151.6,
    "2020 Plant total NOx mass (tons) from CAMD": 1784.8,
    "2020 Plant total SO2 mass (tons) from CAMD": 1474.9,
    "2020 Plant total Mercury mass (tons) from CAMD": 0,
    "Google Maps": "https://www.google.com/maps/@?api=1&map_action=map&center=38.205%2C-89.8544&zoom=17&basemap=satellite",
    "total population (ACS2018)": 555,
    "Total Population for whom Poverty Status is Determined": 553,
    "Total Households": 234,
    "Total Population Age 25 up": 401,
    "Houses Built Pre 1960": 103,
    "Buffer distance": "3 miles",
    "State Abbreviation": "IL",
    "State Name": "Illinois",
    "EPA region number": 5,
    "State percentile for EJ Index for Particulate Matter (PM 2.5)": 46,
    "Regional percentile for EJ Index for Particulate Matter (PM 2.5)": 54,
    "National percentile for EJ Index for Particulate Matter (PM 2.5)": 41,
    "State percentile for EJ Index for Ozone": 46,
    "Regional percentile for EJ Index for Ozone": 55,
    "National percentile for EJ Index for Ozone": 41,
    "State percentile for EJ Index for NATA Diesel PM": 52,
    "Regional percentile for EJ Index for NATA Diesel PM": 57,
    "National percentile for EJ Index for NATA Diesel PM": 43,
    "State percentile for EJ Index for NATA Air Toxics Cancer Risk": 46,
    "Regional percentile for EJ Index for NATA Air Toxics Cancer Risk": 52,
    "National percentile for EJ Index for NATA Air Toxics Cancer Risk": 42,
    "State percentile for EJ Index for NATA Respiratory Hazard Index": 47,
    "Regional percentile for EJ Index for NATA Respiratory Hazard Index": 53,
    "National percentile for EJ Index for NATA Respiratory Hazard Index": 43,
    "State percentile for EJ Index for Traffic Proximity and Volume": 55,
    "Regional percentile for EJ Index for Traffic Proximity and Volume": 61,
    "National percentile for EJ Index for Traffic Proximity and Volume": 49,
    "State percentile for EJ Index for Lead Paint Indicator": 35,
    "Regional percentile for EJ Index for Lead Paint Indicator": 45,
    "National percentile for EJ Index for Lead Paint Indicator": 25,
    "State percentile for EJ Index for Superfund Proximity": 54,
    "Regional percentile for EJ Index for Superfund Proximity": 66,
    "National percentile for EJ Index for Superfund Proximity": 49,
    "State percentile for EJ Index for RMP Proximity": 33,
    "Regional percentile for EJ Index for RMP Proximity": 34,
    "National percentile for EJ Index for RMP Proximity": 23,
    "State percentile for EJ Index for Hazardous Waste Proximity": 55,
    "Regional percentile for EJ Index for Hazardous Waste Proximity": 63,
    "National percentile for EJ Index for Hazardous Waste Proximity": 48,
    "State percentile for EJ Index for Wastewater Discharge Indicator": 30,
    "Regional percentile for EJ Index for Wastewater Discharge Indicator": 20,
    "National percentile for EJ Index for Wastewater Discharge Indicator": 11,
    "Raw data for Particulate Matter (PM 2.5 in ug/m3)": 9.19,
    "State percentile for Particulate Matter (PM 2.5 in ug/m3)": 46,
    "Regional percentile for Particulate Matter (PM 2.5 in ug/m3)": 73,
    "National percentile for Particulate Matter (PM 2.5 in ug/m3)": 70,
    "State average for Particulate Matter (PM 2.5 in ug/m3)": 9.13,
    "Regional average for Particulate Matter (PM 2.5 in ug/m3)": 8.4,
    "National average for Particulate Matter (PM 2.5 in ug/m3)": 8.55,
    "Raw data for Ozone (ppb)": 47.7,
    "State percentile for Ozone (ppb)": 89,
    "Regional percentile for Ozone (ppb)": 97,
    "National percentile for Ozone (ppb)": 84,
    "State average for Ozone (ppb)": 46.5,
    "Regional average for Ozone (ppb)": 43.8,
    "National average for Ozone (ppb)": 42.9,
    "Raw data for NATA Diesel PM (ug/m3)": 0.248,
    "State percentile for NATA Diesel PM (ug/m3)": 12,
    "Regional percentile for NATA Diesel PM (ug/m3)": "<50th",
    "National percentile for NATA Diesel PM (ug/m3)": "<50th",
    "State average for NATA Diesel PM (ug/m3)": 0.67,
    "Regional average for NATA Diesel PM (ug/m3)": 0.446,
    "National average for NATA Diesel PM (ug/m3)": 0.478,
    "Raw data for NATA Air Toxics Cancer Risk (risk per MM)": 28,
    "State percentile for NATA Air Toxics Cancer Risk (risk per MM)": 36,
    "Regional percentile for NATA Air Toxics Cancer Risk (risk per MM)": "70-80th",
    "National percentile for NATA Air Toxics Cancer Risk (risk per MM)": "<50th",
    "State average for NATA Air Toxics Cancer Risk (risk per MM)": 33,
    "Regional average for NATA Air Toxics Cancer Risk (risk per MM)": 26,
    "National average for NATA Air Toxics Cancer Risk (risk per MM)": 32,
    "Raw data for NATA Respiratory Hazard Index": 0.35,
    "State percentile for NATA Respiratory Hazard Index": 33,
    "Regional percentile for NATA Respiratory Hazard Index": "60-70th",
    "National percentile for NATA Respiratory Hazard Index": "<50th",
    "State average for NATA Respiratory Hazard Index": 0.42,
    "Regional average for NATA Respiratory Hazard Index": 0.34,
    "National average for NATA Respiratory Hazard Index": 0.44,
    "Raw data for Traffic Proximity and Volume (daily traffic count/distance to road)": 7,
    "State percentile for Traffic Proximity and Volume (daily traffic count/distance to road)": 5,
    "Regional percentile for Traffic Proximity and Volume (daily traffic count/distance to road)": 11,
    "National percentile for Traffic Proximity and Volume (daily traffic count/distance to road)": 10,
    "State average for Traffic Proximity and Volume (daily traffic count/distance to road)": 630,
    "Regional average for Traffic Proximity and Volume (daily traffic count/distance to road)": 530,
    "National average for Traffic Proximity and Volume (daily traffic count/distance to road)": 750,
    "Raw data for Lead Paint Indicator (% pre-1960s housing)": 0.31,
    "State percentile for Lead Paint Indicator (% pre-1960s housing)": 43,
    "Regional percentile for Lead Paint Indicator (% pre-1960s housing)": 49,
    "National percentile for Lead Paint Indicator (% pre-1960s housing)": 63,
    "State average for Lead Paint Indicator (% pre-1960s housing)": 0.41,
    "Regional average for Lead Paint Indicator (% pre-1960s housing)": 0.38,
    "National average for Lead Paint Indicator (% pre-1960s housing)": 0.28,
    "Raw data for Superfund Proximity (site count/km distance)": 0.019,
    "State percentile for Superfund Proximity (site count/km distance)": 7,
    "Regional percentile for Superfund Proximity (site count/km distance)": 9,
    "National percentile for Superfund Proximity (site count/km distance)": 16,
    "State average for Superfund Proximity (site count/km distance)": 0.096,
    "Regional average for Superfund Proximity (site count/km distance)": 0.13,
    "National average for Superfund Proximity (site count/km distance)": 0.13,
    "Raw data for RMP Proximity (facility count/km distance)": 0.61,
    "State percentile for RMP Proximity (facility count/km distance)": 47,
    "Regional percentile for RMP Proximity (facility count/km distance)": 60,
    "National percentile for RMP Proximity (facility count/km distance)": 64,
    "State average for RMP Proximity (facility count/km distance)": 1.2,
    "Regional average for RMP Proximity (facility count/km distance)": 0.83,
    "National average for RMP Proximity (facility count/km distance)": 0.74,
    "Raw data for Hazardous Waste Proximity (facility count/km distance)": 0.1,
    "State percentile for Hazardous Waste Proximity (facility count/km distance)": 7,
    "Regional percentile for Hazardous Waste Proximity (facility count/km distance)": 13,
    "National percentile for Hazardous Waste Proximity (facility count/km distance)": 14,
    "State average for Hazardous Waste Proximity (facility count/km distance)": 4.1,
    "Regional average for Hazardous Waste Proximity (facility count/km distance)": 2.4,
    "National average for Hazardous Waste Proximity (facility count/km distance)": 5,
    "Raw data for Wastewater Discharge Indicators (toxicity-weighted concentration/m distance)": 0.016,
    "State percentile for Wastewater Discharge Indicators (toxicity-weighted concentration/m distance)": 53,
    "Regional percentile for Wastewater Discharge Indicators (toxicity-weighted concentration/m distance)": 74,
    "National percentile for Wastewater Discharge Indicators (toxicity-weighted concentration/m distance)": 82,
    "State average for Wastewater Discharge Indicators (toxicity-weighted concentration/m distance)": 6.3,
    "Regional average for Wastewater Discharge Indicators (toxicity-weighted concentration/m distance)": 2.4,
    "National average for Wastewater Discharge Indicators (toxicity-weighted concentration/m distance)": 9.4,
    "Raw data for Demographic Index": 0.16,
    "State percentile for Demographic Index": 26,
    "Regional percentile for Demographic Index": 35,
    "National percentile for Demographic Index": 21,
    "State average for Demographic Index": 0.34,
    "Regional average for Demographic Index": 0.28,
    "National average for Demographic Index": 0.36,
    "Raw data for People of Color Population": 0.03,
    "State percentile for People of Color Population": 7,
    "Regional percentile for People of Color Population": 12,
    "National percentile for People of Color Population": 6,
    "State average for People of Color Population": 0.38,
    "Regional average for People of Color Population": 0.25,
    "National average for People of Color Population": 0.39,
    "Raw data for Low Income Population": 0.29,
    "State percentile for Low Income Population": 57,
    "Regional percentile for Low Income Population": 55,
    "National percentile for Low Income Population": 51,
    "State average for Low Income Population": 0.29,
    "Regional average for Low Income Population": 0.3,
    "National average for Low Income Population": 0.33,
    "Raw data for Linguistically Isolated Population": 0,
    "State percentile for Linguistically Isolated Population": 44,
    "Regional percentile for Linguistically Isolated Population": 59,
    "National percentile for Linguistically Isolated Population": 45,
    "State average for Linguistically Isolated Population": 0.05,
    "Regional average for Linguistically Isolated Population": 0.02,
    "National average for Linguistically Isolated Population": 0.04,
    "Raw data for Population with Less Than High School Education": 0.09,
    "State percentile for Population with Less Than High School Education": 55,
    "Regional percentile for Population with Less Than High School Education": 58,
    "National percentile for Population with Less Than High School Education": 49,
    "State average for Population with Less Than High School Education": 0.11,
    "Regional average for Population with Less Than High School Education": 0.1,
    "National average for Population with Less Than High School Education": 0.13,
    "Raw data for Population under Age 5": 0.03,
    "State percentile for Population under Age 5": 25,
    "Regional percentile for Population under Age 5": 25,
    "National percentile for Population under Age 5": 25,
    "State average for Population under Age 5": 0.06,
    "Regional average for Population under Age 5": 0.06,
    "National average for Population under Age 5": 0.06,
    "Raw data for Population over Age 64": 0.16,
    "State percentile for Population over Age 64": 62,
    "Regional percentile for Population over Age 64": 57,
    "National percentile for Population over Age 64": 61,
    "State average for Population over Age 64": 0.15,
    "Regional average for Population over Age 64": 0.16,
    "National average for Population over Age 64": 0.15,
    "PM 2.5 Emssions (tons)": 44.465,
    "PM 2.5 Emission Rate (lb/MWh)": 0.014,
    "Mapped Fuel Type": "Coal",
    "Additional Number Data First":<PHONE_NUMBER>75,
    "Additional Number Data Second": "",
    "Additional Number Data Third": "",
    "Additional Text Data First": "",
    "Additional Text Data Second": "",
    "Additional Text Data Third": ""
  }
]

@derekeder and @SuragNuthulapaty - I've got some initial concept mocks I'd love your thoughts on. In particular:

What data do you want to see one each page from the above data source or the EIA Illinois page
What do you think of how I render the data?

State Page
Individual Power Plant

I know we also talked about planned shutdown dates, but how would we source that data for the whole country?

@vkoves these are great! Some thoughts on each:
State page:

would this be a revamp of the power plans section we already have, or a different listing page on the site?
showing the power grid makeup is a great idea. it would require importing new data, but it is data that is as you noted readily available from the EIA
this page would be a good opportunity for an interactive map
I wonder if there are opportunities to show bar graphs for how much pollution each plant contributes to the statewide emissions

Individual power plant:

really like it overall
it would be really good to provide a real picture of each plant. these things are typically huge, so we could show an embedded google satellite view for each onelike this: https://goo.gl/maps/pF8mujJiuS4gNn3NA
for close dates, I've only seen that info posted on Wikipedia:https://en.wikipedia.org/wiki/List_of_power_stations_in_Illinois#Coal. not sure if there is a structured data set that would give us this info, but there are about 300 coal plants so its possible we could source it manually
also, googling around, I found this Wiki: https://www.gem.wiki/Baldwin_Energy_Station. Looks like a manually edited wikipedia for pollution, but it seems pretty disorganized. Still, they have some good info on this power plant and probably others

We made this page! There's more stuff we can do but I don't think it'll need more designs


Fix incompatibility with the attr encrypted gem

Hi! I found this issue, and I try to fix it in this way:
private method encrypt have a one line and is used once in the setter-method password=(). I suggest to remove method encrypt and used ::BCrypt::Password.create(password, cost: cost) straight in to password=().

I don't think this is a good solution.  One of the reasons that the encrypt method is there is so that you can swap BCrypt out for a different strategy if you want.

@magikid Hi Chris, you absolutely right, I didn't noticed it. What do you think, how can fix it issue?

Hello! and thank you for doing this first attempt to fix this method name collision. 💚
Maybe I'm missing something but the method encrypt is not part of the public api of the module.
As the documentation says:

You can supply your own password strategy by implementing a module that
responds to the proper interface methods. Once this module is configured as
your password strategy, Clearance will mix it into your Clearance User
class. Thus, your module can access any methods or attributes on User.

Password strategies need to respond to authenticated?(password) and
password=(new_password). For an example of how to implement these methods,
see {Clearance::PasswordStrategies::BCrypt}.
https://github.com/theharq/clearance/blob/master/lib/clearance/password_strategies.rb

So in our custom module as long we respond to authenticated?(password) and password=(new_password) and set this module in the configuration block.
Clearance.configure do |config|
  config.password_strategy = Clearance::PasswordStrategies::Custom
end

We could swap the default PasswordStrategies::BCrypt
This change may not be necessary for the other modules because all clearance-provided password strategies other than BCrypt have been deprecated.
Maybe we could update the fake_model_with_password_strategy.rb to include the encrypt method so we make sure all the tests pass.. but I don't think the maintainers will want this.
Maybe there is another option to add a failing test for this edge case.
Thank you again, for taking the time to propose a solution 👍

That's a good point @theharq.  I guess I should have read the comments a little better.
Because it's private api, I think a simple fix would be to just change the encrypt method name to something like bcrypt_encrypt (and changing it in the few spots that call encrypt).  Do you think that would be a decent solution?

@magikid yeah that will be a good solution having a strategy_encrypt or encrypt_password method will do the trick, but still is up to the project maintainers and their plans for clearance 2.0

@theharq @mackuba hi guys, I have been renamed encrypt methods in whole strategies

Clearance? Hmm...

;)

Thanks for tackling this.
I noticed this PR has no assignees but is in need of review. Maybe @derekprior can assign someone?

@magikid @tadp  - What is your recommended solution for this as of right now?

@ACPK I like the renaming that @theharq suggested and that @we138 implemented in the latest commit.
_ is commonly used in other languages to imply a private method and it is unlikely to be exposed by other gems
One thing I do see that this PR needs is a test to prevent this sort of thing from happening again by someone accidentally renaming the funny looking method back.
Thanks @we138 for doing this! WDYT about:

[ ] adding this drop-in test to your PR that tests the method naming. It can be placed in rspec spec/password_strategies/bcrypt_spec.rb:72. I tried it out on your branch and it works:

  describe "#_encrypt" do
    it "reserves #encrypt to prevent name conflicts with other gems" do
      model_instance = fake_model_with_bcrypt_strategy

      expect(model_instance.respond_to?(:encrypt, true)).to eq(false)
    end

    it "responds to #_encrypt" do
      model_instance = fake_model_with_bcrypt_strategy

      expect(model_instance.respond_to?(:_encrypt, true)).to eq(true)
    end

    it "ensures that #_encrypt is a private method as its name implies" do
      model_instance = fake_model_with_bcrypt_strategy

      expect(model_instance.respond_to?(:_encrypt)).to eq(false)
    end
  end

[ ] Multiline commit message that explains the issue squashed into a single commit. This would make this really easy to revert or track down later.

I think with those two things this would be good for @derekprior to review.

@acpk I believe the solution is to rename the encrypt method like this PR does.

@tadp yo Tad, your task is done!

@we138 I think this is great. This PR is following the contributing guidelines well. However, I did not check off as completed "multiline commit message" in my previous comment because the commit message is still one line.
Maybe on the second line of the commit message it can say the WHY and HOW of the change?  It fixes incompatibility how?  It may be easy for us to see how it does now, but if someone does a git blame on the project months from now there is not much context on what is going on.
Here is the thoughtbot styleguide on this. A short explaination should be fine.

Just wanted to note that I'm not ignoring this, but that I have had zero time for open source work of late. I will get to this, but it likely will not be until later this month. Thanks for understanding.

This is a rather unfortunate side effect of password strategies being implemented as mixins to the User class rather than their own classes.
Renaming encrypt solves this particular problem, but really we shouldn't be mixing in the methods at all. They are not useful to the user's User class. I opened a new PR where inline those methods: https://github.com/thoughtbot/clearance/pull/693

I went with the approach in #693 instead, but this is now fixed. Thanks so much to everyone involved in chasing this down.
I will try to release soon but I have spotty/unreliable wifi for the time being.

Yeah sounds great.  Thanks @derekprior!! 💯
And @we138 for the first pass, @theharq for bringing it up and the eyes of @magikid, @mackuba @ACPK.

1.14.2 is out with this fix. Thanks.


Some time the CPU usage is very high

Im using the 0.8.2. The problem did not happen in 0.7.2. Could you check it?

Thanks, @gloryluu .
I know this issue. Im sorry, Im trying.
0.8.1, 0.8.2 has this issue.

I fixed by version 0.8.6.


Doesn't work at all with Volto 17

This does not seem to work at all with recent versions of Volto. I've been trying most recently with Volto 17.6.1 and Plone 6.0.8, but also earlier versions of Volto 17, with no success.
I used it early when I was trying Volto, but I don't recall what the versions were.

@kenmanheimer Thank you for your report. Did you try it as described here: https://github.com/eea/volto-banner#try-volto-banner-with-docker
Indeed, we are still on Volto 16.x, but most of the EEA Volto Add-ons should work without issues, or with minor changes on Volto 17+.
A PR would be appreciated :wink:

The problem was my mistake, I wasn't getting the backend addon to install properly. I now have it fully operational with Volto 17.6.1. Sorry about the false alarm!


exit the postback response immediately

We never want to append anything in this response. This change ensures
that the response body is sent to the client. We've had reports that
some servers would respond with a double JSON body.

http://mobilecenter.com.pk/index.php/product/oppo-n3/


recorded operations in the log may be deleted

Is it true that the log file in LevelDB records only the latest operations, and the recorded operations in the log may be deleted? I need to read the log file for backup purposes. Can I record all operations in the log file?

You are correct. When the log gets to a certain size (default is 4MB) it is incorporated into the db and replaced with a new log file. https://github.com/google/leveldb/blob/main/doc/impl.md#log-files. I can't think of a way to record all operations unless it's done at the app level - i.e. create a wrapper and write your own log.

Thank you very much for answering my questions. I want to know how to parse the ldb file.There is an error in using the command：leveldbutil dump ，Corruption: corrupted compressed block contents.How can I solve this problem？
風逐梦
@.***

------------------ 原始邮件 ------------------
发件人:                                                                                "google/leveldb"                                                                                @.>;
发送时间: 2023年3月7日(星期二) 晚上8:16
@.>;
<EMAIL_ADDRESS>主题: Re: [google/leveldb] recorded operations in the log may be deleted (Issue #1098)
You are correct. When the log gets to a certain size (default is 4MB) it is incorporated into the db and replaced with a new log file. https://github.com/google/leveldb/blob/main/doc/impl.md#log-files. I can't think of a way to record all operations unless it's done at the app level - i.e. create a wrapper and write your own log.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Wasm todo

This is a list of thing we need to implement for Wasm MVP

[ ] Br yielding values #1111
[ ] I32Popcnt
[ ] F32Min/Max #659
[ ] Trunc JIT
[ ] Nearest JIT
[ ] Int64
[ ] Unreachable operator
[ ] MemorySize operator
[ ] GrowMemory operator

Good list for tracking. Can we add debugging there as well?

This is more to track what is missing to be spec compliant.
Debugging is, in my opinion, an extra feature that we need to look into

Yeah I agree.

f32min/max is done.

trunc and nearest done.

@Cellule PR #1514 adds current_memory and we also got a working version of unreachable_operator Should be able to open a PR shortly.

Updated the list with everything I know we still needs to do for MVP
@LouisLaf for visibility

@Cellule, fyi @MikeHolman
a small update,

redid globals. i should be able to open a PR as soon as we make sure it doesnt have any obvious goofs :-)
finishing up with

i32.trunc_u/f32 (0x9f)
i32.trunc_u/f64 (0xa0)
i32.trunc_s/f64 (0xa0) //needs to throw an overflow exception
i32.trunc_s/f64 (0xa0) //needs to throw an overflow exception

@Cellule hey do you know if anyone is implementing f32.reinterpret/i32? if not, i think it's perfect for my afternoon pastime :-)

@Cellule  oops, i take that back :-)  im sry. it looks the only thing that was missing is Reinterpret_ITF -> Reinterpret_Prim in IRBuilderAsmJs :-)

I'm working on adding new JS API. In particular so far have implemented (or partially implemented)
WebAssembly.compile, WebAssembly.Module, WebAssembly.Instance, WebAssembly.RuntimeError, WebAssembly.CompileError

Closed in favor https://github.com/Microsoft/ChakraCore/projects/1 for tracking


Please use Semantic Versioning (SemVer)

Hi. First off, we use rufus-scheduler at work and it improves our work. Thank you for making it! 👍🏻
We also use @dependabot to get automatic version bumps of our dependencies in our Gemfile.
Dependabot recently created a PR to bump us from 3.4.2 to 3.5.2.

Bump rufus-scheduler from 3.4.2 to 3.5.2

This broke dozens of our tests when CI ran.
The reasons for broken tests were:

NameError: uninitialized constant Rufus::Scheduler::CronLine
NoMethodError: undefined method days' for #Fugit::Cron:0x000055ab53132ed8`

It looks like this commit made API compatibility breaking changes:
https://github.com/jmettraux/rufus-scheduler/commit/5fad18cde687560bd85012efff226a65f5849f61

When breaking API compatibility like this, it really helps downstream users (like us) if you do one or some of these things:

Replace the underlying dependency, but keep the surface level API (ie, keep Rufus::Scheduler::CronLine in place and call out to Fugit::Cron)
Provide a minor version (3.x) release with a deprecation warning with a migration path (ie, change Rufus::Scheduler::CronLine to Fugit::Cron)
Release a major version (4.0) with the breaking changes.

That way we're give some signal that there might be / definitely are breaking changes.

Thanks again for making rufus-scheduler. 👍🏻

Sorry about that.
I didn't think anybody out there was using Rufus::Scheduler::CronLine, I did not consider it a surface level API at all, although, granted, it appeared in a pinch in the README. What I considered the surface level API did not change.
Oh well, when things break you learn about who is using your software and how, and you get schooled and shamed.
Best regards.

No sweat. Things happen. ¯_(ツ)_/¯
Thanks for understanding.


checkout using SSH?

It seems that the default method for checkout is HTTPS
can we have an option to "switch" to using SSH instead?

Do you mean the checkout step in the workflow file?
...
steps:
- name: Checkout
  uses: actions/checkout@v1

For the specific configuration of this part, you can check the official repository for details.
If you care about the sync_deploy_history.js, you should specify the deployment repository and method in your hexo configuration file, which is the _config.yml file. Its implementation is modified according to the official git deployer plug-in hexo-deployer-git.


LogPanel: add blank lines to log panel to force size for initial layout

Coverage increased (+0.3%) to 91.388% when pulling 658bb92adb1aefcd4196d17efff90f6e599a1e75 on rolling-log-panel into 4367ba7c339c850ee3ef03ef107daefca2fd9cd3 on develop.


Add relation and expose metrics from tensorboard-controller

Context
The tensorboard-controller deployment already provides metrics endpoint, however charm is not using this and do not provide metrics-endpoint and grafana-dashboard endpoints.
We need to add relation using prometheus_scrape and grafana_dashboard interfaces.
Note: Only maintained alert rule or Grafana dashboard should be selected, others should be avoided.
What needs to get done

Expose port for metrics as ServicePort
Implement metrics-endpoint endpoint
Implement grafana-dashboard endpoint
[Optional] Find and add alert rules for metrics from upstream
[Optional] Find and add Grafana dashboards for metrics from upstream

Definition of Done

tensorboard-controller has metrics-endpoint and grafana-dashboard endpoints
Integration with cos is tested

Fixed by #130


SNR data export

Hi, Biafra~
Lately, I've been working on a two-photon .tiff file through computeManualSortSignals on MatLab 2020b, win10. Normally, all things pretty good so far. Thank you for the update version2.5.1, it's amazing.
Could you please concretely enlighten a handy approach or code to help me to export the SNR value of every identified cell while or finishing the computeManualSortSignals part. I could only read it from the interface like below on-by-one.

If there is no misunderstanding on SNR here in CIAtah v2.5.1, that is Signals Noise Ratio, an important parameter I would use someday. So, hope you would help me with that.
And, one more thing, have you ever considered uploading a teaching video on the Internet about the rest of the operation after computeManualSortSignals?
Best Wishes to you!
Benson
from SheepMountain, NJ

hey Benson, great to hear things are working out for you. To grab the SNR you can load in the already processed data then compute SNR as below:
% Load data
[inputImages,inputSignals,infoStruct,algorithmStr] = ciapkg.io.loadSignalExtraction('path_to_file.mat');

% Compute SNR
inputSnr = computeSignalSnr(inputSignals,'detectMethod','raw','numStdsForThresh',2);

re: after computeManualSortSignals, are there specific steps or analyses you are referring to? We'll have a book chapter out soon that covers some later steps, e.g. comparing neural activity to behavior/stimuli.

Hi, Biafra
Thanks for the reply so quickly.

The grabbing is smoothly with your code demonstrated above, which is significant for my job-to-do.

Frankly speaking, I am a novice on CalciumImagingAnalysis and NeuralScience. There are so many analysis jobs I should- and would- do. Such as time-frequency analysis within a single neuron or a given population, classified neuron spatial correlation analysis. Each of them seems worthy yet intricacy to handling. I have to learn some other knowledge and Matlab skills to accomplish the later steps.

So, it is terrific to acknowledge that the new book chapter comes out soon which covers some later steps.

We will follow your great algorithm persistently and looking forward to other more powerful processing approaches.

Benson
From SheepMountain, NJ


Pull fails for dind:24.0.5-dind with a Unexpected EOF

Hi there!
We have been working using the docker:24.0.5-dind since a week ago and we noted that starting from today our Kubernetes nodes (EKS 1.24 version) are not able to pull this image anymore:

We use  nerdctl pull docker:24.0.5-dind to test it manually from different nodes, and apparently it is only failing with different dind versions. What could be the issue here?


cdn-in-a-box fixes

What does this PR do?
fixes several issues with cdn-in-a-box setup
Fixes #(issue_number)
Which TC components are affected by this PR?

[ ] Documentation
[ ] Grove
[ ] Traffic Analytics
[ ] Traffic Monitor
[ ] Traffic Ops
[ ] Traffic Ops ORT
[ ] Traffic Portal
[ ] Traffic Router
[ ] Traffic Stats
[ ] Traffic Vault
[ ] Other cdn-in-a-box

What is the best way to verify this PR?
cd infrastructure/cdn-in-a-box
docker-compose up

Check all that apply

[ ] This PR includes tests
[ ] This PR includes documentation updates
[ ] This PR includes an update to CHANGELOG.md
[ ] This PR includes all required license headers
[ ] This PR includes a database migration (ensure that migration sequence is correct)
[ ] This PR fixes a serious security flaw. Read more: www.apache.org/security

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2611/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2614/
Test PASSed.


etcdserver: move unti out of server.go

etcdserver file is messy enough. Let's make it be less messy.
/cc @gyuho @heyitsanthony

LGTM

There's already a cluster_util.go in the etcdserver directory; should util.go be named sever_util.go, then?

@heyitsanthony cluster_util.go is named as cluster_util.go since I wanted to group cluster related thing and move all cluster related stuff into pkg /etcdserver/cluster some day. But that cleanup has not happened until today. I guess change the name from util.go to server_util.go is not necessary since this is inside pkg etcdserver. But if you have a strong opinion, I would do the rename.

No strong opinion, just wondering about the inconsistency. LGTM


ControlD mode on OPNSense - Unbound and DNSMasq should not always start when shutting down/restarting ctrld

I'm using ControlD on OPNSense and have been really happy with it - thanks for making such an awesome DNS daemon!
One thing I noticed is that when you restart or stop the ctrld service while using ControlD mode (flag --cd=resolver_id), Unbound and DNSMasq will be started:
https://github.com/Control-D-Inc/ctrld/blob/main/internal/router/os_freebsd.go#L113-L116
Always starting these services feels like a bug to me - it would be better to check if they're running when ctrld starts, set a boolean for each of them, and then only restart them if they were already running when ctrld was started. Alternatively you could check the OPNSense/PFSense config files to see if the services are enabled or disabled, and then only start them if they are enabled. Personally I never want Unbound or DNSMasq to be running and I have them disabled in OPNSense, but when I restart the ctrld daemon (e.g. to pull down a new config version), ctrld starts them anyway.

Fair point. @cuonglm ^

Alternatively you could check the OPNSense/PFSense config files to see if the services are enabled or disabled, and then only start them if they are enabled.

@jaydeethree Are you refering to /etc/rc.conf file, for checking unbound/dnsmasq enabled/disabled?

Alternatively you could check the OPNSense/PFSense config files to see if the services are enabled or disabled, and then only start them if they are enabled.

@jaydeethree Are you refering to /etc/rc.conf file, for checking unbound/dnsmasq enabled/disabled?

Nevermind, I think it should be /conf/config.xml.

Nevermind, I think it should be /conf/config.xml.

Yes, that's what I meant - sorry for not being more clear! For example, this is the relevant part of my Unbound config in that file:
    <unboundplus version="1.0.9">
      <general>
        <enabled>0</enabled>

I didn't realize this was happening, but now things are making so much sense.  Seconded on changing this functionality!

This is fixed after https://github.com/Control-D-Inc/ctrld/releases/tag/v1.3.6


Add support for sequencing multiple LBs to LBManager

Nevermind, looks like it adds support similar to the old infrastructure.


Update README.md

Installation instructions should indicate newest version

Coverage decreased (-64.02%) to 33.531% when pulling b0bfc45dabda2081ae13b85548fe2b36e09e49bd on cooperreid-optimizely-patch-1 into ce6676ceaf9287ba9840ee6785e1883f61be1bd5 on master.

Coverage decreased (-64.02%) to 33.531% when pulling b0bfc45dabda2081ae13b85548fe2b36e09e49bd on cooperreid-optimizely-patch-1 into ce6676ceaf9287ba9840ee6785e1883f61be1bd5 on master.


Transition only working on first show in NavigationController

It's obviously working inside a NavigationController, but it's only working once. If I pop and call show/push again on the first ViewController, there is no animation. Any ideas?
Thanks

same issue :'(

Did you set isHeroEnabled on the navigation controller?

Yes. Found a workaround though: in order to make it work I have to do this:
navController?.isHeroEnabled = false
navController?.isHeroEnabled = true

Just setting it to true doesn't work, but setting it to false and to true on the next line makes it work, so possibly a bug?


Add dimensionality reduction to device functions

Also reduce the tensor size visitor to only visit up to 4 instead of 6.

I ran all the MSFT models with this PR, a few are failed. For example:
opset7/fp16_shufflenet
opset7/tf_mobilenet_v2_1.0_224
opset9/tf_mobilenet_v2_1.4_224
opset10/mlperf_mobilenet

@pfultz2 did the latest change fix the problems in the above models?

did the latest change fix the problems in the above models?

I haven't tested all the models yet. One of the models seems to fail with memory access fault for group convolution, which seems unrelated.

@pfultz2 did the latest change fix the problems in the above models?

I reran these models, the tensor dim size issue is fixed, but the memory issue is still here. Is that possible the dim reduce caused mismatch between data and shape for the MIOpen call?

Is that possible the dim reduce caused mismatch between data and shape for the MIOpen call?

I dont use this for any miopen operators, so I am not sure where the failure is. Which models fail now?

Is that possible the dim reduce caused mismatch between data and shape for the MIOpen call?

I dont use this for any miopen operators, so I am not sure where the failure is. Which models fail now?

These three models still fail:
opset7/tf_mobilenet_v2_1.0_224
opset9/tf_mobilenet_v2_1.4_224
opset10/mlperf_mobilenet
It is likely they are due to the same issue.

So I think I fixed the issues. Those models seems verify now in our driver. @scxiao do you want to run the models again on this PR?

So I think I fixed the issues. Those models seems verify now in our driver. @scxiao do you want to run the models again on this PR?

OK, I will test and let you know.

So I think I fixed the issues. Those models seems verify now in our driver. @scxiao do you want to run the models again on this PR?

OK, I will test and let you know.

I re-ran all the models, no problem observed this time.


[soft] Soft assertions on collections not working on collections

Summary
Regression in soft assertions on collections in AssertJ 3.20.0 under OSGi.
Example
@Test
void test() {
    SoftAssertions s = new SoftAssertions();
    List<?> o = new ArrayList<>();
    s.assertThat(o).hasSize(0);
}

With AssertJ 3.19.0, the above code compiles and runs fine under JUnit 5 in OSGi..
With AssertJ 3.20.0 and above the above code still compiles but fails at runtime with the following error:
java.lang.NoSuchMethodError: org.assertj.core.api.SoftAssertions.assertThat(Ljava/util/List;)Lorg/assertj/core/api/ProxyableListAssert;
If I extract the body of that and run it in a main() method from a standalone (non-OSGi) Java class, it seems to work.
cc: @bjhargrave

We need to go with a multi module project for assertj core so that we can have one module running in an osgi context.
At the moment it's hard to capture these errors.


Implement strerror, errno. Fixes #728

Fixes #728

This change is

Reviewed 2 of 5 files at r2, 3 of 3 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


2018-08-30 6:00 PM EST Lineup!

So!  We're scheduling the next PowerHour fairly quickly - We're planning for August 30th, 6:00 PM EST (UTC-5) given the timezone spread.
Why so soon?

Apparently folks want to do this - really fun seeing all these proposals!!
This might come in handy for folks interested in submitting to the PowerShell + DevOps Global Summit CFP - either as practice, gauging interest in a topic, or a way to show us your presentation/prep chops

Title
By
Order
IssueNumber

Cloning SQL Server Databases using PowerShell
@sanderstad
01
#20

Getters and Setters for Classes with Custom Attributes
@rdbartram
02
#21

Using PwSH to gather information from silos
@TClark000
03
#22

PowerShell and RegExp to convert code
@ClaudioESSilva
04
#23

ChatOps with Microsoft Teams and PoshBot
@devblackops
05
#10

Getting Started with Visual Studio Code
@wsmelton
06
#13

Deploying SQL code using Powershell
@nvarscar
07
#18

PSKoans
@vexx32
08
#19

I'll be working with @michaeltlombardi on a process for an agenda, and an easy way for you to include materials or links to materials for your demos.
Please take a moment and to...

Let us know whether you can or can't make it! (thumbs up or thumbs down on this, or just reply)
Review the repo readme.  This includes various FAQ and details such as...

you should show up a few minutes early to make sure you can connect to our YouTube stream!
send us a google account to invite (DM @pscookiemonster in Slack or Twitter, @ Michael or myself in #powerhour, e-mail us at warren.frame at gmail.com or michael dot lombardi at outlook dot com and make sure we reply, whatever works for you!)
you have 10 minutes max, and shorter demos are even better!
there are no live questions, but folks might ping you after in your github issue, or #powerhour in slack

Thanks, and can't wait to see these!

I may have my Local School LSC meeting that night, but I will keep you posted ahead of time if I can not present. For now count on me presenting.

Oh!  Sorry @ctmcisco, to clarify, we're changing to only 8 sessions, all who will present.  You and Jared were 9 and 10 - so you'll be up in our third session, whenever we schedule that!

Never mind, my bad,  I misread thinking we were re-scheduled for the 30th, but that date is for the upcoming Power Hour. Thanks. I also think this is a better approach.

Question for folks!
If any of you are up for it (schedule works, you already have content, etc.), there's a spot open for tomorrow (Tuesday's) session @ 6:00 PM EST - We should be fine with 7 speakers, but just in case anyone is ready to go : )
If so, ping me in Slack or twitter (@pscookiemonster) with a google account address we can send an invite to.
Thanks!

Did you get that last minute presenter? :)

Hi @RamblingCookieMonster @michaeltlombardi ,
Unfortunately, I can't join this one at this hour.
Can I jump to the next one?
Sorry. :disappointed:

No problem, thanks for the heads up @ClaudioESSilva !

@jaredcatkinson @ctmcisco - so much for ambiguity : P  either of you interested in filling in for Claudio before I poke other folks?

It's not the best time for me but I'll manage.
It's going to bed 12:00 AM in the morning for me when the sessions start ;)
https://www.worldtimebuddy.com/est-to-cest-converter?qm=1&lid=5,12,2747891&h=5&date=2018-8-22&sln=18-19

Oh man.. I mess up with the timezones.... :man_facepalming:
I don't know how I saw it. Thanks for the link @sanderstad
@RamblingCookieMonster I can do it! it will start at 11p.m here I'm ok with that schedule.
Sorry for the confusion!
Please confirm that I'm still in for this one :sweat_smile:

@RamblingCookieMonster, can we move @sanderstad and @ClaudioESSilva to the front of the line for presentations in this iteration? That way they can give their talks and drop off if needed, catch the other demos the day after?

I don't see why not.  Presumably 5 through 8 could all move up

Variety of talks on 21st Aug was excellent.  It would be interesting to measure humidity and temp within a beehive (Raspberry Pi & PwSh, need to be hive-proof though).  I look forward to hearing more on the 30th even if late in the evening for a BST timezone.

thanks @RamblingCookieMonster for moving me up. I don't have to stay up so late :D

Thank for moving me up too 👍

Thanks @RamblingCookieMonster.

Thanks All

Oh sweet, I got plenty of time to make sure my setup works 😄
Alright, sounds great!

Oh sorry vexx32, my bad, I was actually asking @cookiemonster if the agenda was full and ready to go as I wanted to know if we needed anyone to fill in, sorry for the confusion.

You're fine; I'm just happy I get to watch a few extra people before I have to stumble over my own words. 😁

Thanks all, this was fun!


Rename the TESTING_BUILD macro to be _azure_TESTING_BUILD to highlight this is internal only and reduce chances of collision.

Bringing back https://github.com/Azure/azure-sdk-for-cpp/pull/5390 as part of https://github.com/Azure/azure-sdk-for-cpp/pull/5416#issue-2172734372

I agree with the recommendation, for you to have the next PR soon that globalizes add_compile_definitions(_azure_TESTING_BUILD).
I think, we should also rename _azure_TESTING_BUILD_AMQP to _azure_TESTING_BUILD (#5403). I would not mind if it was done in this PR.
Also I think that #5414 should be merged the next moment after this PR is merged. For that, I am approving that one as well. You can merge it into main, or you can change the target branch on #5414 PR to merge into your RenameCompileDefinition branch before merging this PR.
You could do the same with #5403 - resurrect the PR, and merge into RenameCompileDefinition instead of main before merging this PR.

And I don't fully understand why we need to have two separate pull requests which each does exactly the same effect.
I can understand doing this in two PRs if we had a situation where we were actively hampered in getting our job done, but I don't understand why we're making a change which intentionally does the wrong thing under the understanding that some time in the future we'll change it to do the right thing.


Custom API Feature not working in Pure Market Making

Describe the bug
The feature that allows you to get the price from an external API is not working in PMM.
Steps To Reproduce

Create a PMM strategy
Change the config of price source for custom api
Select the url of an API that retrieves the price of the asset that you are trading. (In my case I created a simple API with FastAPI)
Run the strategy

Release version
Dev-1.12.0
Logs
2022-12-26 16:30:46,130 - 2958 - hummingbot.client.hummingbot_application - ERROR - Unknown error during initialization. Traceback (most recent call last):   File "/Users/dardonacci/Documents/work/hummingbot/hummingbot/strategy/pure_market_making/start.py", line 93, in start     ext_market = create_paper_trade_market(exchange, [raw_trading_pair]) TypeError: create_paper_trade_market() missing 1 required positional argument: 'trading_pairs' 2022-12-26 16:30:46,131 - 2958 - hummingbot.client.hummingbot_application - INFO - Creating the clock with tick size: 1.0 2022-12-26 16:30:46,133 - 2958 - hummingbot.client.hummingbot_application - INFO - start command initiated. 2022-12-26 16:30:46,173 - 2958 - hummingbot.core.network_iterator - INFO - Network status has changed to NetworkStatus.CONNECTED. Starting networking... 2022-12-26 16:30:47,918 - 2958 - hummingbot.core.data_type.order_book_tracker - INFO - Initialized order book for BTC-USDT. 1/1 completed. 2022-12-26 16:30:47,953 - 2958 - hummingbot.connector.exchange.binance.binance_api_order_book_data_source.BinanceAPIOrderBookDataSource - INFO - Subscribed to public order book and trade channels... 2022-12-26 16:30:51,370 - 2958 - hummingbot.core.rate_oracle.rate_oracle - INFO - Network status has changed to NetworkStatus.CONNECTED. Starting networking... 2022-12-26 16:32:23,313 - 2958 - hummingbot.client.hummingbot_application - INFO - stop command initiated. 2022-12-26 16:32:23,315 - 2958 - hummingbot.core.utils.async_utils - ERROR - Unhandled error in background task: list.remove(x): x not in list Traceback (most recent call last):   File "/Users/dardonacci/Documents/work/hummingbot/hummingbot/core/utils/async_utils.py", line 9, in safe_wrapper     return await c   File "/Users/dardonacci/Documents/work/hummingbot/hummingbot/client/command/stop_command.py", line 39, in stop_loop     self.clock.remove_iterator(self.strategy)   File "hummingbot/core/clock.pyx", line 83, in hummingbot.core.clock.Clock.remove_iterator     self._child_iterators.remove(iterator) ValueError: list.remove(x): x not in list 2022-12-26 16:33:16,112 - 2958 - hummingbot.client.hummingbot_application - INFO - stop command initiated. 2022-12-26 16:33:16,113 - 2958 - hummingbot.core.utils.async_utils - ERROR - Unhandled error in background task: list.remove(x): x not in list Traceback (most recent call last):   File "/Users/dardonacci/Documents/work/hummingbot/hummingbot/core/utils/async_utils.py", line 9, in safe_wrapper     return await c   File "/Users/dardonacci/Documents/work/hummingbot/hummingbot/client/command/stop_command.py", line 39, in stop_loop     self.clock.remove_iterator(self.strategy)   File "hummingbot/core/clock.pyx", line 83, in hummingbot.core.clock.Clock.remove_iterator     self._child_iterators.remove(iterator) ValueError: list.remove(x): x not in list

Is this opened as a bounty or is this something that @cardosofede is working on? Is there a bounty for it?

@MementoRC I already fix this, but there is no bounty associated to that

@cardosofede It would be good if it did not show-up in the Open Bounties category

@rapcmia THis somehow is still on the Bounty board, just FYI

Fix has been deployed to development branch and will be available on the next release version 1.12.0.


lnd: 0.15.0-beta -> 0.15.1-beta

Description of changes

new version - https://github.com/lightningnetwork/lnd/blob/master/docs/release-notes/release-notes-0.15.1.md

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

// cc @erikarvstedt @jonasnick

Result of nixpkgs-review pr 189108 run on x86_64-linux 1

1 package built:

lnd


Rudderstack moengage integration

What do these changes do?

Describe the changes you are proposing in this PR.

Type of documentation

[ ] New documentation
[ ] Documentation update
[ ] Hotfix

@shreyas-pi-engg this doc is live now: https://www.rudderstack.com/docs/sources/event-streams/cloud-apps/moengage/ cc @ItsSudip


Date field. In Russian, the dates in October are shifted by 1 day

Short description
Date field. In Russian language, the dates in October are shifted by 1 day.
06.10.23 is Saturday, but it should be Friday. The example in the attachment

What is current behavior
06.10.23 is Saturday
What is desired behavior
06.10.23 is should be Friday
Steps to reproduce or sample
Go to https://w2ui.com/web/demos/#/fields/2 Select Russian language and click by field date

This behavior is observed if the 1st day of the month falls on Sunday and weekStarts = 'M'


GRPCRoute Header Matching

As a user of NGF with applications that require GRPC traffic
I want NGF to support a GRPCRoute with header matching support
So that I can direct traffic to my applications based on an http header.
Acceptance

Users can create a GRPCRoute that can direct traffic based on the incoming request's header as defined here.
Enable GRPCRouteHeaderMatching conformance test and verify that it passes.

"The keys are case insensitive and must not start with the prefix grpc-, which is reserved for gRPC itself." https://grpc.io/docs/guides/metadata/


Bugfix issue248

Testing is still required to verify that the targeted improvements are working properly

Simon: The PDF creation works like a charm - you can release the PR or test id by your self before releasing