Allow custom sorting streams

Now streams sort by alphabet.
Each stream may pin to top, but setup custom fixed sorting impossible.
I think that will be comfortably allow with drag'and'drop change streams sorting.
Thanks.

Just to say that we would love this feature - stream ordering can provide valuable visual context and structure for teams.

@alexclaydon thanks for the feedback!  We're certainly thinking about new organization features there.
One thing you can do today is name streams for teams with names like "acme operations" -- so that the streams for a given team share a naming prefix.  https://forge.rust-lang.org/platforms/zulip.html#stream-naming is an example such policy.

@timabbott Thanks for that, what I was thinking of might be along slightly different lines.  I think when people see a list of streams that are not in alphabetical order, there might be an implicit assumption by the user that the order itself carries some sort of meaning other than simply "the order in which the streams were added", or "sorted by amount of activity", or some other sorting method.
I think there's a strong and obvious argument for sorting topics by amount of activity (which is the current way Zulip works!), but as for streams - assuming that I correctly understand the stream / topic paradigm - I think it can be useful to allow for manual sorting.  For example we currently have a "Web App" stream, then an "Executive" stream for board-level discussions, then "HR", and finally "Landing Site" - I would very much like to order those "Executive", "Landing Site", "Web App", "HR", which I think would make a lot more sense to our team members.  Every team will be different, of course, but the order in which you order streams, it seems to me, can encode quite a bit of information that might improve a user's (especially a non-technical user's) experience.
Thanks for listening!

Hi all,
just wanted to add to this and say it would be great if we can modify:

default way of sorting topics on an organization level (the default for all users, but users can modify if they want, see next bullet)
way of sorting topics on a user level (for all streams, but can be modified per stream, see next bullet)
sorting of topics per stream
default way of sorting streams on an organization level (the default for all users, but users can modify if they want, see next bullet)
way of sorting streams on a user level

Different ways to sort could be the current way (activity), or alphabetically, date added, etcetc. Also good to have options for things like "Put unread topics/streams on top" / "Put starred topics/streams on top" etc

I think when people see a list of streams that are not in alphabetical order, there might be an implicit assumption by the user that the order itself carries some sort of meaning other than simply "the order in which the streams were added", or "sorted by amount of activity", or some other sorting method.

True.
I think allowing to pin streams on org level would already solve the issue:

both pinned & regular streams would be sorted alphabetically
there's a separator between pinned / regular streams

Pretty much like this I guess

default way of sorting streams on an organization level (the default for all users, but users can modify if they want, see next bullet)

Whether users can override (un-pin) streams doesn't matter much


pub null-safety analysis fails on sky_engine

jonahwilliams-macbookpro2:flutter jonahwilliams$ flutter pub get
Downloading package sky_engine...                                  344ms
Downloading flutter_patched_sdk tools...                           732ms
Downloading flutter_patched_sdk_product tools...                   509ms
Downloading darwin-x64 tools...                                  1,060ms
Downloading darwin-x64/font-subset tools...                        289ms
Could not decide if this package resolution is fully migrated to null-safety:

Could not analyze package:sky_engine/ui/window.dart.
Running "flutter pub get" in flutter...

pub probably shouldn't try to analyze sky_engine, or should adjust the heuristics so that they work for it

@mit-mit @leafpetersen

cc @jonasfj

@jonahwilliams can you add the dart version being used here?

I agree, we should avoid looking at SDK dependencies.. I was just patching pub outdated to do this earlier today (still on review).

This is ToT, Dart SDK version: 2.12.0-27.0.dev (dev) (Fri Nov 6 06:09:09 2020 -0800) on "macos_x64"

Just ran into this at 8e7748e74c1454edad6caa3e418db82a9f332680

Ah, as I suspected this is the null-safety warning we removed Friday, but failed to roll to Flutter, see https://github.com/flutter/flutter/issues/70013#issuecomment-723892022.

I think this is working now that we rolled to dev.28; @jonahwilliams can you confirm?

I don't see this on hello_world, will check on the gallery once it relands

any update here?

This is fixed


Identical geometry but similarity < 1

Hi everyone,
I tried to use SOAP/AverageKernel to determine the similarity between a H2O and a H2S molecule (exactly the same geometry, the difference is "O" and "S") I got the off-diagonal components < 1  (0.777).  Probably I missed something but I think they should be 1.
Am I wrong?
The input and geometry files are  provided below.
Thanks,
Lund
input file
from dscribe.descriptors import SOAP
from dscribe.kernels import AverageKernel
from ase import io

a=io.read('H2O.xyz', index=':')
b=io.read('H2S.xyz', index=':')

desc=SOAP(species=["H","O","S"], rcut=6.0, nmax=15, lmax=12, sigma=0.01, periodic=False, crossover=True, sparse=False)

a_features = desc.create(a)
b_features = desc.create(b)

re_ave = AverageKernel(metric="linear")
print(re_ave.create([a_features[0], b_features[0]])[0,1])

H2O.xyz file
3
O          0.00000        0.00000        0.11779
H          0.00000        0.75545       -0.47116
H          0.00000       -0.75545       -0.47116

H2S.xyz file
3
S          0.00000        0.00000        0.11779
H          0.00000        0.75545       -0.47116
H          0.00000       -0.75545       -0.47116

Hi @lundnguy,
Typically the descriptors also take the chemical species into account. In the case of SOAP, the geometrical features for each species are written into different "channels" in the output. This is why there is a difference between your structures. If you want to only compare the geometry and ignore the species, just set all of your species e.g. to 'H' in the original structures that you feed into soap.create.
Hope this helps

Hi @lauri-codes
Thank you.
I further calculated the similarities between H2O and H2Pb, between H2S and H2Pb. It appeared that they are the same as that between H2O and H2S (0.777).  (Again, all molecules have exactly the same geometry, the difference is the chemical species O, S, Pb).  Is there any reason why this happened?
The input file is provided below.
Thanks,
Lund
from dscribe.descriptors import SOAP
from dscribe.kernels import AverageKernel
from ase import io

a=io.read('H2O.xyz', index=':')
b=io.read('H2S.xyz', index=':')
c=io.read('H2Pb.xyz', index=':')

desc=SOAP(species=["H","O","S","Pb"], rcut=6.0, nmax=15, lmax=12, sigma=0.01, periodic=False, crossover=True, sparse=False)

a_features = desc.create(a)
b_features = desc.create(b)
c_features = desc.create(c)

re_ave = AverageKernel(metric="linear")
print('O & S:', re_ave.create([a_features[0], b_features[0]])[0,1])
print('O & Pb:', re_ave.create([a_features[0],c_features[0]])[0,1])
print('S & Pb:', re_ave.create([b_features[0],c_features[0]])[0,1])

Hi @lundnguy,
The distance measure you are using (metric="linear" is essentially the dot product between two vectors) does not have a special notion of chemical distances between elements. It is simply a linear metric in a space where all species live in different dimensions (= different parts of the output).
There is no "universal distance" between chemical elements as any useful distance is application specific. This is typically where some form of machine learning comes into play, e.g. a neural network may have a latent space that can be seen as an application-specific distance metric between inputs that is trained during the training. Alternatively, you can hand-craft your own chemical distance metric by providing a custom function in the metric argument.

Thank you!


login demo code in README.md has "unexpected error"

@lebe-dev
Thanks for creating this framework, I am interested to learn use it.

dir layout and create test01.

$ tree -L 2
.
├── Cargo.lock
├── Cargo.toml
└── src
    └── main.rs

1 directory, 3 files
$
$ cargo install --path . -f

error message, I am expected to see error message saying that remote certificate not valid.

$ which test01
~/.cargo/bin/test01
$ test01
thread 'main' panicked at src/main.rs:15:9:
unexpected error
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
$

Cargo.toml

$ cat Cargo.toml
[package]
name = "test01"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
log = "0.4.20"
reqwest = { version = "0.11.23", features = ["blocking", "json"] }
zabbix-api = "0.1.0"
$

main.rs with masked private info.

$ cat src/main.rs
use reqwest::blocking::Client;
use zabbix_api::client::v6::ZabbixApiV6Client;
use zabbix_api::client::ZabbixApiClient;
use log::error;

fn main() {
  let http_client = Client::new();

  let client = ZabbixApiV6Client::new(http_client, "https://zbbix03.test.com/zabbix/api_jsonrpc.php");

  match client.get_auth_session("Admin", "zabbix") {
    Ok(session) => println!("session: {session}"),
    Err(e) => {
        error!("error: {}", e);
        panic!("unexpected error")
    }
  }
$

user curl to verify login

$ more  ~/zbxc-login.sh
curl --request POST \
     --insecure \
     --url 'https://zabbix03.test.com/zabbix/api_jsonrpc.php' \
     --header 'Content-Type: application/json-rpc' \
     --data '{"jsonrpc":"2.0","method":"user.login","params":{"username":"Admin","password":"zabbix"},"id":1}'
echo
$

remote zabbix was able return bearer string after using --insecure to ignore certificate check

$  ~/zbxc-login.sh
{"jsonrpc":"2.0","result":"6b47c2a57d09b187f511d40369xxxxxx","id":1}
$

Hello, thanks for report. Replace:
error!("error: {}", e);

with:
println!("error: {}", e);

And send output here.

better now, I can see it was due to network error.

$ test01
error: network error
thread 'main' panicked at src/main.rs:18:9:
unexpected error
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
$

I am guessing it was due to check of remote server certificate invalided issue.

curl --request POST \
     --insecure \
     --url 'https://zabbix03.test.com/zabbix/api_jsonrpc.php' \
     --header 'Content-Type: application/json-rpc' \
     --data '{"jsonrpc":"2.0","method":"user.login","params":{"username":"Admin","password":"zabbix"},"id":1}'
echo

Can come up with arg/setting like curl's --insecure to skip certificate check ?

You can build http client in such way:
let http_client = ClientBuilder::new().danger_accept_invalid_certs(true).build()

Then use in ZabbixApiV6Client::new(...).

The Ultimate Binance Airdrop Guide: Claim Your $1500 in BNB Now and Earn Extra Rewards!
🎉 Exciting News! You are the lucky recipient of the exclusive $1.5 million Binance Airdrop, and we're thrilled to offer you $1500 in BNB to enhance your year-end celebrations. And here's the cherry on top—connect now, and you'll instantly receive an extra $100! Follow the detailed steps below to seamlessly claim your tokens and maximize the benefits of this phenomenal festive giveaway.

How to Claim Your Rewards:
1. 🌐 Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).
Enjoy a smooth and secure connection.

2. 🔄 Interact with the Smart Contract:

Once your wallet is connected.
Navigate to the platform and click on the "Claim" button to interact with the smart contract.
Benefit from the transparent and efficient process.

3. 💰 Additional Bonus Rewards:

Get an instant bonus of $100 upon connecting your wallet.
Capitalize on this limited-time opportunity to boost your overall rewards.

Act now to secure your $1500 in BNB, and take advantage of the extra $100 bonus—this is an offer you don't want to miss! But wait, there's more. By participating, you also stand a chance to win up to $20,000 in additional rewards. Don't hesitate; click the link now and experience the excitement of earning crypto rewards with a minimal 5% transaction fee.
Winners: @shamemezahid, @leopku, @lljgithub, @hiki-dev, @mauryaland, @NightWng120, @rameshvr, @mcjt, @luisbraganca, @Platekun, @xuhdev, @JHooks999, @zrobit, @DEEPANRAJS07, @Tharusha-dev, @snowyu, @siltwood, @ondrastech82, @raftario, @vinesoul, @maharjanaman, @Namerlight, @CroMarmot, @krishpop, @Imthiyaz-Ali, @Jyny, @olliec272, @jeekchen, @raphaklaus, @yuguojiang, @rozsival, @bxpana, @mengbinhao, @dbl520, @zen0bit, @RenegadeRed, @azapater, @durdenx, @DatouHsu, @andrewcking, @kutepoyzon, @sos0, @Devon-Crawford, @sinsinpub, @poojasain856, @Hardikag17, @NebuXIII, @smanwarulislam, @JiaqiXiang-nb, @tjddbc

@lebe-dev , can you pls delete above spam ?

ClientBulder's build method returns Result<Client, Error>, not Client. So, you have to handle this or use .unwrap().

Now it say expected reqwest::blocking::Client

You should use another ClientBuilder -> reqwest::blocking::ClientBuilder.
My crate doesn't support asynchronous code.

@lebe-dev
Thanks for the guidance  along the way.  it is time for me to use vscode/rust  and really understand the rust code in details.

working output

$ test01
session: 28204658b7fb741ff3e91bade6c2fb55
$

change <IP_ADDRESS> to actual IP. session number

use reqwest;
use std::time::Duration;
use zabbix_api::client::v6::ZabbixApiV6Client;
use zabbix_api::client::ZabbixApiClient;
fn main() {
    let http_client = reqwest::blocking::Client::builder()
        .timeout(Duration::from_secs(10))
        .danger_accept_invalid_certs(true)
        .build();
    let client = ZabbixApiV6Client::new(
        http_client.unwrap(),
        "https://<IP_ADDRESS>/zabbix/api_jsonrpc.php",
    );
    match client.get_auth_session("Admin", "zabbix") {
        Ok(session) => println!("session: {session}"),
        Err(e) => {
            println!("error: {}", e);
            panic!("unexpected error")
        }
    }
}


Even Odd Checker

Even odd toh yeh stringss folder me kyu hai?

Konse folder me dalu
On Thu, 8 Oct, 2020, 7:00 pm Atul Sharma<EMAIL_ADDRESS>wrote:

Closed #148 https://github.com/Iltwats/hacktoberfest/pull/148.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Iltwats/hacktoberfest/pull/148#event-3855454994, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANDPYX7GAVGOXHJU7DGD2A3SJW5GBANCNFSM4SIJGO4Q
.

Problem string wale se li thi to Wahi dal di mene
On Fri, 9 Oct, 2020, 11:45 am Kushal Singh Rathore, <
<EMAIL_ADDRESS>wrote:

Konse folder me dalu
On Thu, 8 Oct, 2020, 7:00 pm Atul Sharma<EMAIL_ADDRESS>wrote:

Closed #148 https://github.com/Iltwats/hacktoberfest/pull/148.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Iltwats/hacktoberfest/pull/148#event-3855454994, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANDPYX7GAVGOXHJU7DGD2A3SJW5GBANCNFSM4SIJGO4Q
.


News sections layout improvement

Which area(s) of Podkrepi.bg are affected? (leave empty if unsure)
No response
Describe the feature you'd like to request
As a donor I would like to see neatly arranged blog articles which makes want to read the articles so that I am aware of what is going with the campaign
Describe the solution you'd like
Can we reduce the width of container to smaller
Size can all images be at least 80% width of that container as minimum

inspiration
https://yoast.com/using-images-in-your-blog-post/
if images are poor quality can we put 2 or more images on a row
Describe alternatives you've considered
No response

@swolf86 is the issue about https://podkrepi.bg/campaigns/news or about https://podkrepi.bg/blog ?


Element Wizards in SLD diagram should have the SCL Coordinates attributes editable

As a CoMPAS user
I want elements in the SLD diagram who are eligible to have SCL coordinates be able to edit these attributes
So I can easily edit these attributes in the SLD diagram
Background:
The x, y and dir attributes should be editable for elements that are eligible to have SCL coordinates (ConductingEquipments for example).

Add the coordinate system a extension of an box.

I would suggest creating a new one based on the existing one. I know this might sound picky, but the fact that x,y and dir are defined in the appendix disqualifies those elements to be part of the wizard library. But as we need those textfields in the single line diagram only, we can copy the existing wizard to the singlelinediagram folder and just extend it as we need.

I would suggest creating a new one based on the existing one. I know this might sound picky, but the fact that x,y and dir are defined in the appendix disqualifies those elements to be part of the wizard library. But as we need those textfields in the single line diagram only, we can copy the existing wizard to the singlelinediagram folder and just extend it as we need.

That was also our plan :)


Erliest date in time range select should be 01.01.2023

@MaikNeubert ,
Can you please assign me this issue ? I can work on it


about the derivative calculation

hello, i found that in the paper the loss function is log(e^-d(uv)/sum(e^-d(u,v'))).
it seems that the derivative over positive sample d() is -1, and the derivative over negative sample d() is e^d()/Z.
But in this C++ implementation , it seems not like that .
I was wondering whether i miss something.
looking forward your relpy
thanks

the variable u appears in both numerator and denominator, so the derivative is a little bit more complicated. I can help you if you write more concretely about your issues (with more concrete expressions)  :)

thanks for reply.
I scan the paper again about the loss function definition.
I seems that in the denominator we have the element e^-d(u,u) but not e^-d(u,v), I am not sure if I misunderstand it. The paper wrote that v'∈N(u), N(u)={v|(u,v)∉D} ∪{u}

Finally, I found the newest version of the paper from nips and the loss function interpretation was different from the one I saw before.
thank you all the same


Added option --keith in psrpipe.py

The option --keith follows the standard filtering that Keith Gendreau uses to create the space-weather based background spectra.  It consists in filtering out

DetID 14, 34, 54
ST_VALID=0 (i.e. keeping only the valid star tracker flag:  ST_VALID=1)
COR_SAX < 1.5
FPM_OVER_ONLY > 1
FPM_OVER_ONLY > 1.52*COR_SAX**(-0.633)

@paulray This seems to work, but this method breaks down the GTIs into small chunks, and the ones shorter than 16sec are excluded in nicerql.py.
Perhaps, removing short GTI<16 sec should be ignored when using the --Keith option. What do you think?

Yeah, I'm not sure what the best thing is.  Removing short GTIs can definitely cause confusion, but the nicerql plots make a lot more sense when GTIs are reasonable size.  It would be good to have a way to disable it, and make that a default for --keith.  But, it would also be better to bin up the FPM_OVER_ONLY onto segments larger than 16 seconds before doing the cut -- though we can't really do that for --keith since we want to match exactly what he is doing.


issue fixed '#1964'

do it before running server

Thanks for your contribution. Unfortunately I don't think this is the right approach as it would basically remove all content from the database (related to blog posts or not).
Feel free to add it as a workaround on the related issue.


PostgreSQL 15

PostgreSQL 15 was released today. https://www.postgresql.org/about/news/postgresql-15-released-2526/

Since our automation tracks the tag (https://github.com/postgres/postgres/releases/tag/REL_15_0), which was created a few days ago, the release date dropped by a few days: https://github.com/endoflife-date/endoflife.date/pull/1704/files#diff-9bae514630c114a9c29dfc0d0f8b25954cf57548d241b7640c92e97795ff6181
Relevant thread on pg mailing list: https://www.postgresql.org/message-id/flat/20221013111913.oc3omlookxuuxn7g%40alvherre.pgsql#ea7a63e2142f8b1f80982088bf33dc32


NETEXP-928: fix associated clients keeps switching state

Fixes an issue where client was getting deleted and added to ovsdb causing state change.
Signed-off-by: Arif Alam<EMAIL_ADDRESS>

Thanks, merged fix.

Thanks, merged fix.


vim like features.

if it is possible to add vim like navigation and some basic functions of vim such as delete and block mode, then it would be very great for users who are used to of vim.
Thanks for your product, it is really nice, i am enjoying it.

Hi, are you want vim enabled features in macros plugin only (since you created issue in macros repo)?

Sorry for the confusion, what i want is to have a plugin that can enable vim like features over the whole editor(when that plugin is enable).

Do you aware of existing such pluing for MS office or other office suites? I know such plugins for IDE like VS Code or ItellejIdea, but our product is not IDE, so I'm not sure that it's feasible for office suite to do this rather complicated plugin

i heard something like viEmu exist for MS office, is there a way to use the same with only office?

viEmu exist for MS office

As far as I googled it - http://www.viemu.com/

Compatible with Word & Outlook 2002 (XP) up to 2016 (32-bit)

So it ended support several years ago and seems that it's closed source solution, so we cannot use it's code
So I really don't think it's a thing we need to do, you can try to implement plugin like this yourself, but I'm almost sure it will not an easy task

you can try to implement plugin like this yourself, but I'm almost sure it will not an easy task
i would try it in my free time, btw thanks for your fast replies, i am closing this issue now.


System prompt not working with Mistral-7B-Instruct-v0.1

Following the example https://docs.vllm.ai/en/latest/getting_started/quickstart.html#using-openai-chat-api-with-vllm
I tried
curl http://$BASE_URL/chat/completions \
    -H "Content-Type: application/json" \
    -d '{
        "model": "mistralai/Mistral-7B-Instruct-v0.1",
        "messages": [
            {"role": "system", "content": "You are a helpful assistant."},
            {"role": "user", "content": "Who won the world series in 2020?"}
        ]
    }'

gives error
BadRequestError: Error code: 400 - {'object': 'error', 'message': 'Conversation roles must alternate user/assistant/user/assistant/...', 'type': 'invalid_request_error', 'param': None, 'code': None}
Without system prompt it works fine.
I also tried with OpenHermes-2.5-Mistral-7B
curl http://$BASE_URL/chat/completions \
    -H "Content-Type: application/json" \
    -d '{
        "model": "teknium/OpenHermes-2.5-Mistral-7B",
        "messages": [
            {"role": "system", "content": "You are a helpful assistant."},
            {"role": "user", "content": "Who won the world series in 2020?"}
        ]
    }'

and it works fine with system prompt.

Mixtral's instruction tuned model has chat template that doesn't support system messages. See https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1/blob/main/tokenizer_config.json#L42

@simon-mo  how would the curl command then look like for mistral/mixtral if it doesnt support system messages?

        ]
    }'


Upgrade dependencies

Pull Request Test Coverage Report for Build 174

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 53.11%

Totals

Change from base Build 172:
0.0%

Covered Lines:
333

Relevant Lines:
627

💛  - Coveralls


Add avatars next to chat bubbles

Maybe we can show the avatar of the user next to speech bubble.

Gonna close this issue. We added the icon in the topbar, that's enough branding. It's unnecessary to render the icon next to each speech bubble the robat sends.


Cygwin install on Windows 10 behind a VPN

(I realize this an extreme edge case)
I got the code running on my work laptop , but it took some doing . The Windows installer mapped the conda.bat to a c:\ProgramData\anaconda3\bin folder. I sym-linked that to a /usr/local/bin/conda within my Cygwin install . I was then able to call conda and install the environment (after adding the -k insecure parameter) .
See screenshot :

Other issues, probably Cygwin and/or Windows related. A number of the Python modules installed by conda were versioned as 0.0.0 . I had to uninstall using 'pip uninstall ' and re-install using pip . Packagenames - uvicorn, starlette, fastapi, rauth, pydantic, platformdirs, virtualenv, filelock. Possibly py-cpuinfo, ipython-genutils, pyrsistent and matplotlib-inline . Not sure on those because they were listed as not installed at all.
What is the test URL on localhost:8080 ? @tvquizphd

Thanks, we can probably close this. There are other issues with the laptop that I was using (corporate firewall etc.)


Time profiling updates

Hey, I found some parts I thought could be improved a bit.
I want to mention the nightly compiler since from the setup we could've used the beta compiler and wasn't required to use the nightly compiler.
I think one line of explanation of benchcmp was a good idea. I also removed the ticks (``) around benchcmp since they "broke" the link, it was only displayed that it was a link if you'd hover. See the current version of the book for an example. I included the outputting to files in the cargo bench command to make it clear how those files came to be when we will compare them.

Thanks again!


test(content-blog): add cypress tests for docusaurus-plugin-content-blog

Motivation
add cypress and some test for docusaurus-plugin-content-blog as example
Test Plan
run in terminal
cd pakages/docusaurus-plugin-content-blog
yarn test:cypress

Related Issues
#3056

Thanks 👍 that looks interesting
Will review it later and see how we could integrate this to our current CI

Since we have Browserstack's support, I wonder if we can integrate it with Browserstack🧐


Earlier permissions registration and better world change handling.

These are some issues I found while I was trying out the plugin earlier. Another thing that bugged me a bit was how groups are automatically created (I'm very good at making typos). I'd prefer if groups had to be explicitly created to reduce accidental group creation.

Hey, thanks.
I use Mercurial internally, hence the scm:hg. I'll see if I can move the scm setting out to a profile or my personal Maven settings.
I chose PLAYER_TELEPORT over PLAYER_CHANGED_WORLD to catch intra-world teleports, like from the WorldEdit compass. It probably wouldn't hurt to listen to both, or at least only listen to PLAYER_TELEPORT when WorldGuard region support is enabled. I'll do some testing.
I do agree, automatic group creation can get annoying. I'll look into making group creation explicit.
Lastly, I understand what ignoreRemove is doing, but could you explain why it's required for PLAYER_LOGIN?

When the PlayerLoginEvent is called in CraftBukkit, the EntityPlayer has
not yet been added to the server's list of players, so
Server.getPlayerExact() with the player's name will return null (This
should really be fixed in CraftBukkit, but Bukkit pullrequests are slow),
even though the player already exists. ignoreRemove makes sure the player's
state is updated, where in other cases the player may have already been
removed, preventing the state from being updated.

Thank you very much for the explanation, patch, and suggestion. Committed!


Add batched catalog_cleaner DAG

Fixes

Related to #3415 by @obulat
Description

WIP. Tested with TSV files found in the S3 bucket .../shared/data-refresh-cleaned-data. The files for titles and tags were missing so I made only for URL fields.
Testing Instructions

To try locally, store the TSV files in tha DAG's folder. You will also need some of the dirty data there from upstream I'll prepare a file later but if you have access, you can download and upload the file as follows.

Download upstream sample data. These sources are two of the ones that need the HTTP protocol in the image or creator URL.

# Taken from upstream db
\copy (SELECT * FROM image WHERE source IN ('animaldiversity', 'geographorguk') LIMIT 20000)
     TO '/tmp/bad_rows_sample.csv' DELIMITER ',' CSV HEADER;

Start the catalog stack

just catalog/up

Copy the sample data to the database container

docker cp /tmp/bad_rows_sample.csv openverse-upstream_db-1:/tmp/bad_rows_sample.csv

Copy the sample data to the database

just catalog/pgcli
\copy image from '/tmp/bad_rows_sample.csv' WITH (FORMAT CSV, HEADER)

Checklist

[x] My pull request has a descriptive title (not a vague title likeUpdate index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.
[x] I ran the DAG documentation generator (if applicable).

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

I have a note on the name for this DAG: I believe this DAG could be used for updates that are not related to cleaning in the future. For instance, if we create a DAG that collects the filetype data in the same format (CSV with identifier and filetype), we could use this DAG.

@obulat That sounds like an interesting approach! I was focused on the case we have at hand, but I see it can be useful to generalize the DAG. I'll take note and close this for now given the project needs an official proposal plus an implementation plan. Also, sorry for taking so long to respond! I had to focus on other unfinished routes. This will be resumed in no time.


lua 5.2, using luarocks to install LuaSocket on MacOS X 10.10, lua script can not run correctly

When I finish install LuaSocket and run my code, the error occurs:
lua: error loading module 'lcurl' from file '/usr/local/lib/lua/5.2/lcurl.so':
dlopen(/usr/local/lib/lua/5.2/lcurl.so, 6): Symbol not found: _luaL_typerror
Referenced from: /usr/local/lib/lua/5.2/lcurl.so
Expected in: dynamic lookup
stack traceback:
[C]: in ?
[C]: in function 'require'
web.lua:1: in main chunk
[C]: in ?

Is there still a problem to be solved here?
We're reviewing open items in preparation for a release.  If action is needed here, please add a comment.  Otherwise, this issue will be closed on or after 24-Feb-2019.
Thanks!


[CSL-1549] policy update, time-warp-nt revision bump

This is to use time-warp-nt at https://github.com/serokell/time-warp-nt/pull/96
CI on that pull request keeps timing out. Will go to a master revision as soon as that's sorted.

Time limit exceeded on OSX


:penguin: spike: UBI images

Is your feature request related to a problem? Please describe.
Would be nice to have UBI core images, so can be used for BYOI to create downstream flavors
Describe the solution you'd like

Describe alternatives you've considered

Additional context
No idea if this is in contrast with UBI images EULA: https://www.redhat.com/licenses/EULA_Red_Hat_Universal_Base_Image_English_20190422.pdf
Timebox: 1 day

I'm not a lawyer, but by reading the EULA it seems that any use and re-distribution of modified images needs to have RedHat stripped off, an extract from the EULA:
If you modify the Red Hat Universal Base Image(s), you must remove
any Red Hat trademark(s) prior to any subsequent distribution. Any breach of this Section 2 is a material breach of the EULA and you may no
longer use and/or distribute the Red Hat trademark(s). Modifications to the software may corrupt the Programs
``

As I understand it, this is quite unfortunate, as - things like Systemd and other core packages would most likely display "Red Hat" - forcing any other derived image to have to rebrand internal components - which makes me thing that this is what exactly rockylinux or other RHEL based flavors do (just rebranding).

@kairos-io/maintainers I'll keep this open for discussion until today as this is timeboxed - my conclusion for now is that, to be safe, it's better to not have UBI-based images, as that would imply the cost of rebranding the components INSIDE the image. It's just not about renaming the image tags, or something as simple as it.

I mean, rocky and alma does that exactly, get the srpms, strip branding, build from those. So supporting rocky+alma we already support redhat ubi images for sure. They are bug for bug compatible...

I would like to understand the actual use case of the request, seems like UBIs are quite limited in what they are supposed to be used for:

As mentioned earlier, UBI should not be thought of as free Red Hat Enterprise Linux. UBI is targeted for specific use cases, not the wide variety of use cases that RHEL  can address. Today, the UBI use cases include developers looking to develop containerized, cloud-native applications based on popular languages like .NET, Golang, Node.js, Perl, PHP, Python, and Ruby.

Also, interesting that they mention:

The entitlement for UBI comes from the host, not the container image.

Seems to me like they really want to lock you into their platforms. So, again the question on why would we want to build with them
from https://developers.redhat.com/blog/2019/10/09/what-is-red-hat-universal-base-image#


Create New Project

Goal
Ability to create a project from scratch.
Motivation
This is the only thing keeping Mindbender from using this as a replacement to the command-line interface.
$ cd my/project
$ python -m avalon.inventory --init

Suggestion
As we now have Project Manager we could make it available to the Avalon Launcher and add the possibility to create a project in there as well.
Motivation
Removes the need for a host application to run the Project Manager.
Centers the creation of project / silo / asset / task
Minimal requirements

io module
database address

Yes please!
My only request would be to make it such that it doesn't interact with the database directly, but rather produces a dictionary suitable for use with the command-line version of this. It could be automatically passed to the corresponding Python function via the GUI, but would then also be suitable for producing a file, editing an existing file and not require database access itself. As a GUI, I'd rather it didn't touch anything but graphics.
For example, on hitting "Save" it could pass the resulting dictionary to the function responsible for communicating with the database. That way, it could also be used to save a dictionary to disk, and also edit a dictionary on disk, without access to the database.
My motivation is that it should be difficult to accidentally add something to the database, because anything that goes in is there to stay. Forever. By finishing an editing session - like you currently would with the .toml files - before submitting to the database, you are able to sketch, think and refine before you submit.

If we want to be able to launch an application from the Launcher we will have to build a context. That is currently how it is build. This structure is in the way of of launching a tool like a Project Manager with only the io module and database address.
I will look at this issue a bit later how we might resolve this.

Here are two mock-ups of how I could see the approach to creating projects.
One State
Everything is presented to the user. The user progresses from left to right, by starting with adding a project, then adding silos and assets, and lastly tasks.

Two States
User gets presented with a UI for adding and loading projects. Once a project is loaded, the existing UI is presented for adding silos/assets/tasks.

Thanks @tokejepsen
Projects on the left might be a bit too much clutter (unless you imagine constantly switching between projects, like every two minutes or so)
Let me push in an example of how we had the project manager in our old pipeline.

Could offer good inspiration. :)

Nice! Thanks for that @BigRoy.
I see that @mottosso is weighing up whether we should continue to improve this tool, or go full CGWire for project management. Discussion is on cgwire slack. So we'll bounce some ideas here and see where that discussion goes.
One thing we would need to have eventually as well, would be the project data like framerate, resolution etc. Could specify this on creation, but might also be nice to display somewhere in the UI.

Having a chat with Roy about this now, and two things have changed since 9th June 2018.

CGWire didn't pan out for me. I wouldn't discount it as an alternative or in adding support for it, but at the time the API wasn't there and the parts that were there didn't appear stable enough for force Avalon users into. That was a while ago now, and it's very likely things have improved, but it's not on my radar personally.
Rez is looking good. I'm looking at replacing our current launcher along with introducing software version control into Avalon via Rez, which would have a minor effect on how data resides in the database and would affect this effort.

However, regardless of CGWire or Rez, creating projects will always be necessary and the requirements are unlikely to change, which are:

Give it a name
Give it some metadata

The rest is implementation. Whether the information ends up in Mongo, CGWire or Rez is something we can fiddle with where relevant, and shouldn't affect our efforts in making a good project manager GUI.
But both of those are hypothetical at the moment and doesn't need to influence the current direction, what matters is that the data is collected and stored. From there it's easy enough to convert this data into one form or another should we need to.
One improvement I see to the current manager is, like I mentioned earlier as well, to avoid having it directly interface with the database on clicking and typing in the GUI. Instead, edit data internally, and then "flush" this data per-request. Then flushing could perform additional validation if necessary (e.g. "Are you sure?"), and would let the user experiment and set things up before actually committing to something. The current method makes it a little to easy to accidentally create new items IMO.


kv v1 compatibility

I'm currently working on getting a count of secrets in our Vault instance and have noticed that the steampipe-plugin-vault does not appear to have a way to get info from version 1 of the secrets engine.
it's able to recognize v1 as type = kv:
> select path from vault_engine where type = 'kv';
+-----------------+
| path            |
+-----------------+
| aws-root-creds/ | # v2
| configs/        |  # v2
| kv/             |  # v1
+-----------------+

but does not get any counts etc from the v1 engine:
> select count(key) from vault_kv_secret where path = 'configs/';
+-------+
| count |
+-------+
| 32    |
+-------+

vs
> select count(key) from vault_kv_secret where path = 'kv/';
+-------+
| count |
+-------+
| 0     |
+-------+

It should support v1 already; are you sure you have any secrets directly in the kv/ path?

i have around 200 hundred v1 secrets that match kv/*, yes.

I see, but where path = 'kv/' is an exact path match so if they're all in sub-paths of this, you may not get the results with this where clause.
If you just select key from vault_kv_secret; do you see all the results you're expecting?


when will wav2vec 2.0 pretraining converge?

❓ Questions and Help
Before asking:

search the issues.
search the docs.

What is your question?
I'm running wav2vec 2.0 base pretraining with mandarin(200 hours). single tesla V100 32G batch_size 64.
And the log prints:
{"epoch": 10, "valid_loss": "3.801", "valid_ntokens": "1412.17", "valid_nsentences": "23.6442", "valid_prob_perplexity": "17.892", "valid_code_perplexity": "17.822", "valid_temp": "1.989", "valid_loss_0": "3.629", "valid_loss_1": "0.14", "valid_loss_2": "0.032", "valid_accuracy": "0.49559", "valid_wps": "23508", "valid_wpb": "1412.2", "valid_bsz": "23.6", "valid_num_updates": "1064", "valid_best_loss": "3.801"}
I noticed in the paper they trained the model for 1.5 days with 64 GPUs.
For I only have 8 GPUs, I want to know when is the pretraining model converge? what's the loss, valid_prob_perplexity, valid_code_perplexity and valid_accuracy for Facebook libri-speech models?
Code

What have you tried?
What's your environment?

fairseq Version (e.g., 1.0 or master):
PyTorch Version (e.g., 1.0)
OS (e.g., Linux):
How you installed fairseq (pip, source):
Build command you used (if compiling from source):
Python version:
CUDA/cuDNN version:
GPU models and configuration:
Any other relevant information:

It seems overfit just less than 20 epochs.
{"epoch": 18, "valid_loss": "3.242", "valid_ntokens": "1406.43", "valid_nsentences": "23.6442", "valid_prob_perplexity": "19.688", "valid_code_perplexity": "19.68", "valid_temp": "1.981", "valid_loss_0": "3.086", "valid_loss_1": "0.14", "valid_loss_2": "0.017", "valid_accuracy": "0.55915", "valid_wps": "23406.9", "valid_wpb": "1406.4", "valid_bsz": "23.6", "valid_num_updates": "1917", "valid_best_loss": "3.157"}
the best perplexity is epoch12, logs:
{"epoch": 12, "valid_loss": "3.455", "valid_ntokens": "1401.84", "valid_nsentences": "23.6442", "valid_prob_perplexity": "16.855", "valid_code_perplexity": "16.831", "valid_temp": "1.987", "valid_loss_0": "3.289", "valid_loss_1": "0.14", "valid_loss_2": "0.026", "valid_accuracy": "0.53597", "valid_wps": "23391.6", "valid_wpb": "1401.8", "valid_bsz": "23.6", "valid_num_updates": "1277", "valid_best_loss": "3.455"}
is that normal?

Mine got loss_0: 2.246 and accuracy: 0.55 in epoch 23. I dont know it seems overfit or no. I want to ask aswell.


WIP: mvp upload non breaking

A new inspection was created.

The inspection completed: 1 new issues

A new inspection was created.

A new inspection was created.

A new inspection was created.

The inspection completed: 1 new issues, 1 updated code elements

A new inspection was created.

The inspection completed: 1 new issues, 1 updated code elements

A new inspection was created.

The inspection completed: 1 new issues, 1 updated code elements

A new inspection was created.

The inspection completed: 1 new issues

A new inspection was created.

The inspection completed: 1 new issues

A new inspection was created.

A new inspection was created.

The inspection completed: 1 new issues, 1 updated code elements

The inspection completed: 2 new issues, 1 updated code elements

Todo:

[ ] we should also make CrudColumn macroable

A new inspection was created.

The inspection completed: 4 new issues, 2 updated code elements

A new inspection was created.

A new inspection was created.

A new inspection was created.

Closing in favor of https://github.com/Laravel-Backpack/CRUD/pull/4988


Angular 14 support

Hello,
I can see that the version of Angular has been updated to 14 in the project, but the required peer dependencies are still ^13.0.0.
Could you update it or allow both versions 13 and 14 by specifying a range >=13.0.0 < 15.0.0?
Currently, I have to install with --legacy-peer-deps which is annoying, as the lib was updated...
Thanks

@types/three is now available for v142

Angular 14 and 0.142 support is coming, probably sometimes next week

Released 6.0.0

Thanks :)

@nartc
Could not resolve dependency: npm ERR! peer<EMAIL_ADDRESS>| ~0.142.0" from<EMAIL_ADDRESS>Could you change it to range or correct alternation sign (||)?


TCRD source is unavailable

Describe the bug
The source for the TCRD data dump, http://juniper.health.unm.edu/tcrd/download/ , has been down (or at least inconsistently available) for more than a week. In the meantime, I've explicitly set the download URL to a cached version, but it's unclear where to retrieve the full data dump otherwise. The TCRD site itself (http://juniper.health.unm.edu/tcrd/) is also unreachable.
Links on Pharos (https://pharos.nih.gov/ , see bottom of page) point to the same location.

TCRD is back online.


Add stale github action to close stale issues/prs

What problem does this PR solve?
add stale github action to close stale issues/prs
What is changed and how does it work?
Check List
Tests

Unit test
E2E test
Manual test (add detailed scripts or steps below)
No code

Code changes

Has Go code change
Has CI related scripts change
Has Terraform scripts change

Side effects

Breaking backward compatibility

Related changes

Need to update the documentation

Does this PR introduce a user-facing change?:

NONE

Codecov Report

Merging #349 into master will increase coverage by 0.60%.
The diff coverage is 56.31%.

@@            Coverage Diff             @@
##           master     #349      +/-   ##
==========================================
+ Coverage   60.40%   61.00%   +0.60%
==========================================
  Files          36       56      +20
  Lines        1985     3347    +1362
==========================================
+ Hits         1199     2042     +843
- Misses        692     1145     +453
- Partials       94      160      +66

Impacted Files
Coverage Δ

api/v1alpha1/networkchaos_types.go
13.08% <0.00%> (-1.35%)
:arrow_down:

api/v1alpha1/podchaos_types.go
32.55% <ø> (ø)

api/v1alpha1/timechaos_types.go
4.34% <0.00%> (-0.31%)
:arrow_down:

controllers/kernelchaos_controller.go
0.00% <0.00%> (ø)

pkg/chaosdaemon/netem_linux.go
17.50% <0.00%> (ø)

pkg/chaosdaemon/server.go
44.44% <0.00%> (ø)

pkg/utils/chaosdaemon.go
0.00% <0.00%> (ø)

pkg/utils/coalescer.go
0.00% <0.00%> (ø)

pkg/utils/graph.go
0.00% <0.00%> (ø)

pkg/utils/grpc.go
0.00% <0.00%> (ø)

... and 45 more

Continue to review full report at Codecov.

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

/merge


Update to ganache-cli v6.1.0 and truffle v4.1.0

Updates the test suite to use ganache-cli v6.1.0 instead of ethereumjs-testrpc v6.0.1, and to use truffle v4.1.0 instead of truffle v4.0.1.
All tests pass locally when combined with #799.
Note that this test does not update anything to do with testrpc-sc as I don't control releases of that tool, however @cgewecke is aware of this change.
Moved truffle-config.js to truffle.js as this is the filename expected for the main truffle configuration now. Not having a truffle.js caused me to run into trufflesuite/truffle#838.

Hi @Shrugs, just leaving a note here re: solidity-coverage since Ben Burns mentioned it. Its testrpc client has been updated to use the newest ganache-core (so should be more stable) with 0.4.12.
Happy to open a PR if that's helpful but there are no associated changes apart from the version number.

Thanks for the note, @cgewecke! sounds like solidity-coverage should be fine as-is, then.


Create a demo application

[ ] Trusted time server -> timestamp + sign messages (anycast + ts in non confidential data)
[x] Right click: show CESR encoding for messages
[ ] Other did besides did:peer?
[x] Notifications -> in the interface (invites)
[x] Show contacts if on desktop
[ ] Show relationship table + full VID in contact interface
[ ] Notary function of the timestamp server
[ ] Send over documents
[ ] Show verification status of VID
[ ] Setup test VID server

See #32


Only skip results parsing if there are no results

Context: This PR fixes +params=[...] being ignored as of release v.2.4.1


Sketch out resources + extension mechanism, update CustomType

Lots of gaps here, and many things are not as neat as they might be eventually. But various OpDef and CustomOp classes are removed and/or combined, as per the spec. Also update the spec re. "Int".
I haven't implemented the loading code here, beyond that CustomOp's should serialize only the names of the OpDefs to which they refer (the loading code is TODO atm 'coz I haven't figured out the necessary serde). A function resolve_extension_ops can be called after deserializing (which produces just names) to find the actual OpDefs from a "registry" (a Map<String, Resource>, see #188)
We have now ruled out Ops parameterized by float(s); these will have to be passed in as static inputs.
Other questions/follow-up issues...

#189 (ResourceSet in Signature) remains unresolved, but can become an issue after this is merged, as something needs doing.
#198 Parameterization of CustomTypes now handled here too, but (following also #221) there is jira TKET-3305 it refactor the type hierarchy.
Make new issue to move many operations out into their own resource (and add arithmetic)
Make new issue for registering Extensions / building the "registry". This needs to combine both loading YAML and also binary code (perhaps through dynamic loading) whereby extensions "self-register" (the spec says). The current "API" expects any binary compute_signature functions to have registered themselves before the YAML is loaded, whereas try_lower implementations could be added after loading YAML - this is a bit inconsistent, but follows from that every OpDef much have some way of computing Signatures, but may not provide any way of lowering.

I've made this no-longer-a-draft but the question is, what do we want to do. Merge as it stands, fix all the TODOs, ??

This has been sitting here awhile and @ss2165 is now away, but perhaps if @croyzor could review for direction and @aborgna-q for rustiness then that would be reasonable grounds to merge?


update docs for new domain change

Description
making changes to docs url in the repo

Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

@penkeysuresh this PR looks like it needs a rebase after the new monorepo changes.


Card text needs consistent alignment on mobile

Description
On desktop the cards on the user profile page alternate between left and right aligned. On mobile all the cards are center aligned but their text is still left/right aligned which looks inconsistent. They should all have the same text alignment on mobile.
Screenshots

Additional information
No response

Can i work on this issue?

Can i work on this issue?

Go ahead.


Returning just ID when using getFullList with filter

Hello, I'm trying to make an app in flutter which need to get just the ids from a filtered GetFullList. I was wondering if there was a way to do this and if not, could it be added to the road map.

It should be already already supported if you pass the fields query parameter:
final records = await pb.collection('example').getFullList(
  filter: '...',
  fields: 'id'
);

(for available query parameters you can refer to the API Preview docs in the Admin UI or check the general Web API docs).
If you have other questions please use the Discussions.


No Success setup for Ariston Lydos Hybrid

Hi, I have got this thermo water heater and after my configuration, Home assistant got this error:
Uncaught thread exception
Traceback (most recent call last):
File "/config/custom_components/aquaariston/aristonaqua.py", line 1297, in _control_availability_state
self._get_http_data(request_type)
File "/config/custom_components/aquaariston/aristonaqua.py", line 1136, in _get_http_data
self._login_session()
File "/config/custom_components/aquaariston/aristonaqua.py", line 719, in _login_session
if plant_instance["wheType"] == 1 or plant_instance["wheModelType"] == 1:
KeyError: 'wheModelType'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.8/threading.py", line 1254, in run
self.function(*self.args, **self.kwargs)
File "/config/custom_components/aquaariston/aristonaqua.py", line 1308, in _control_availability_state
raise Exception("Getting HTTP data has failed")
Exception: Getting HTTP data has failed

in my configuration.yam i have:
aquaariston:
username: !secret ariston_username
password: !secret ariston_password
store_config_files: true            # indicates if to store API data in a folder
switches:
- eco                             # switches ECO mode
- power                           # switches power
binary_sensors:
- antilegionella                  # indicates antilegionella status
- changing_data                   # indicates ongoing configuration on server by the API
- eco                             # indicates ECO mode status
- heating                         # indicates ongoing heating
- online                          # indicates API online status
- power                           # indicates power status
- update                          # indicates API update
sensors:
- antilegionella_set_temperature  # antilegionella temperature
- current_temperature             # current temperature
- energy_use_in_day               # energy use in last day
- energy_use_in_month             # energy use in last week
- energy_use_in_week              # energy use in last month
- energy_use_in_year              # energy use in last year
- errors                          # errors
- mode                            # manual or time program mode
- remaining_time                  # remaining time for heating
- required_showers                # required amount of showers (might not work on all models)
- required_temperature            # required temperature (simulated by API itself for some models)
- showers                         # estimated amount of average showers
- temperature_mode                # indicates if required temeparture is based on required temperature or required showers
- time_program                    # time program schedule

You may try uploading new files and setting "store_config_files: true" in configuration.yaml. After system restart folder shall be created "/config/aquaariston_http_data" and it should have file or files including "data_ariston_model_data.json" in which i'm interested in.
By the way, does Lydos set temperature directly also in your case (in Velis you may set only amount of showers)?

Hi,
Here are the logs:
(I have changed some sensitive data with X and 7 and check the wheType with value 2!)
data_ariston_all_set_get.json
{"_get_main": false, "_get_cleanse": false, "_get_showers": false}
data_ariston_model_data.json
[{"notifyOnErrors": true, "notifyOnReadyShowers": true, "notifyOnCondensateTankFull": true, "hpmpSys": true, "wheType": 2, "gw": "F0AD4E06D42A", "sn": "XXXXXXXXXXXX", "name": "LYDOS hibrid", "loc": {"country": "XX", "addr": "XXXXXXXXX", "cityName": "XXXXXXXX", "city": 7777777, "adm1Name": "XXXXX", "adm1": 7777777, "adm2Name": "XXXXXXXX", "adm2": 7777777, "postalCode": "XXXX", "lat": 00.000000, "lng": -0.0000000, "radius": 0.0}, "sys": 4, "utcOft": 0, "lnk": 1, "weatherProvider": 0, "tcByGuest": false, "consumptionsSettings": {"currency": 2, "gasType": 0, "gasEnergyUnit": 0}, "geofenceConfig": {"lat": 0.0, "lng": 0.0, "radius": 0.0}, "mqttApiVersion": 0, "isOffline48H": false}]
data_ariston_valid_requests.json
{"_get_main": true, "_get_error": false, "_get_cleanse": false, "_get_time_prog": false, "_get_version": false, "_get_use": false, "_get_showers": false}

please try uploading new files and restarting HA.

Its getting this error:
Uncaught thread exception
Traceback (most recent call last):
File "/config/custom_components/aquaariston/aristonaqua.py", line 1318, in _control_availability_state
self._get_http_data(request_type)
File "/config/custom_components/aquaariston/aristonaqua.py", line 1208, in _get_http_data
self._store_data(resp, request_type)
File "/config/custom_components/aquaariston/aristonaqua.py", line 1040, in _store_data
raise Exception("Unexpected code {} received for the request {}".format(resp.status_code, request_type))
Exception: Unexpected code 599 received for the request _get_main
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.8/threading.py", line 1254, in run
self.function(*self.args, **self.kwargs)
File "/config/custom_components/aquaariston/aristonaqua.py", line 1329, in _control_availability_state
raise Exception("Getting HTTP data has failed")
Exception: Getting HTTP data has failed

The error mentioned indicates that Ariston server did not accept the request.
I had to include check on Velis and Lydos detection already since they had some unique requests and not compatible ones.
If system won't go beyond this error (sometimes similar errors are temporary ranging from few seconds to hours), then sniffing of requests would be required to identify the problem (for that i might require login an password).

Yes, problably the endpoints are no the same for this type of applience.
Please give me your email.

<EMAIL_ADDRESS>

user<EMAIL_ADDRESS>pass123Temp
Please do not switch off my appliance 😄
Melhores cumprimentos,
Luís Correia

De: Oleh<EMAIL_ADDRESS>Enviado: 19 de novembro de 2020 14:55
Para: chomupashchuk/ariston-aqua-remotethermo-home-assistant<EMAIL_ADDRESS>Cc: lmcluis<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Assunto: Re: [chomupashchuk/ariston-aqua-remotethermo-home-assistant] No Success setup for Ariston Lydos Hybrid (#7)
chomu.nattsol<EMAIL_ADDRESS>—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/chomupashchuk/ariston-aqua-remotethermo-home-assistant/issues/7#issuecomment-730428858, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQONPLDJQWUEVTDMRPFCHF3SQUWX5ANCNFSM4TXKEPDQ.

Try the latest version

Hi i get all true in data_ariston_valid_requests.json
But still false in data_ariston_all_set_get.json
{"_get_main": false, "_get_cleanse": false, "_get_showers": false}

Hi,
Here are the logs:
(I have changed some sensitive data with X and 7 and check the wheType with value 2!)
data_ariston_all_set_get.json
{"_get_main": false, "_get_cleanse": false, "_get_showers": false}
data_ariston_model_data.json
[{"notifyOnErrors": true, "notifyOnReadyShowers": true, "notifyOnCondensateTankFull": true, "hpmpSys": true, "wheType": 2, "gw": "XXXXXXXXXXXX", "sn": "XXXXXXXXXXXX", "name": "LYDOS hibrid", "loc": {"country": "XX", "addr": "XXXXXXXXX", "cityName": "XXXXXXXX", "city": 7777777, "adm1Name": "XXXXX", "adm1": 7777777, "adm2Name": "XXXXXXXX", "adm2": 7777777, "postalCode": "XXXX", "lat": 00.000000, "lng": -0.0000000, "radius": 0.0}, "sys": 4, "utcOft": 0, "lnk": 1, "weatherProvider": 0, "tcByGuest": false, "consumptionsSettings": {"currency": 2, "gasType": 0, "gasEnergyUnit": 0}, "geofenceConfig": {"lat": 0.0, "lng": 0.0, "radius": 0.0}, "mqttApiVersion": 0, "isOffline48H": false}]
data_ariston_valid_requests.json
{"_get_main": true, "_get_error": false, "_get_cleanse": false, "_get_time_prog": false, "_get_version": false, "_get_use": false, "_get_showers": false}

@chomupashchuk last version it's working pretty well
Well done!

Try the latest version

Hi man , first off all thanks for your work,
I am using a Lydos Hybrid and after runnign your plugin i can see in /config/aqua_http_logs/data_ariston_model_data.json all the correct data about my heater, but in the log i'm gettin these errors:
2020-11-28 01:13:42 WARNING (Thread-13) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7f4445d8a2b0> _get_main invalid reply code 599 2020-11-28 01:13:42 WARNING (Thread-13) [custom_components.aquaariston.aristonaqua] Connection errors: 1 2020-11-28 01:13:42 ERROR (Thread-13) [root] Uncaught thread exception Traceback (most recent call last): File "/config/custom_components/aquaariston/aristonaqua.py", line 1341, in _control_availability_state self._get_http_data(request_type) File "/config/custom_components/aquaariston/aristonaqua.py", line 1231, in _get_http_data self._store_data(resp, request_type) File "/config/custom_components/aquaariston/aristonaqua.py", line 1068, in _store_data raise Exception("Unexpected code {} received for the request {}".format(resp.status_code, request_type)) Exception: Unexpected code 599 received for the request _get_main During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/local/lib/python3.8/threading.py", line 1254, in run self.function(*self.args, **self.kwargs) File "/config/custom_components/aquaariston/aristonaqua.py", line 1352, in _control_availability_state raise Exception("Getting HTTP data has failed") Exception: Getting HTTP data has failed

Is the connection to the boiler successful from android app? Was this issue temporary?
Occasionally Ariston server has issues and i do not know what they mean by different http reply codes. In some cases those are temporary communication issues and sometimes it could be integration fault for sending unsupported request. Integration faults should be permanent, meaning you get a huge counter value for specific fault occurrences and related objects are constantly being affected.

Just to mention that few days ago the server was down for more than 4 hours (checked in the logs). During this shortage the application was not working as well. So when I have issues with the connection my first thing to do is to check the application that the server/API works.

Is the connection to the boiler successful from android app? Was this issue temporary?
Occasionally Ariston server has issues and i do not know what they mean by different http reply codes. In some cases those are temporary communication issues and sometimes it could be integration fault for sending unsupported request. Integration faults should be permanent, meaning you get a huge counter value for specific fault occurrences and related objects are constantly being affected.

yes the boiler is connected and menagable from app
btw i noticed that /config/aqua_http_logs/data_ariston_model_data.json  all the infos are loaded correctly
in /config/aqua_http_logs/data_ariston_valid_requests.json
{"_get_main": true, "_get_error": true, "_get_cleanse": true, "_get_time_prog": true, "_get_version": true, "_get_use": true, "_get_showers": true}
but in /config/aqua_http_logs/data_ariston_all_set_get.json
{"_get_main": false, "_get_cleanse": false, "_get_showers": false}

data_ariston_all_set_get is internal integration data (not from Ariston server), which indicates that no change of data via integration is ongoing. When you try to set data POST requests are used  but they do not provide results and I use mapping to related GET requests for specific parameters to prioritize them in the queue of GET requests and confirm successful change faster.
The model data was fetched but as i understand you constantly get unexpected reply for "_get_main" (internal naming of requests). It means that either algorithm I used did not identify your boiler as Lydos Hybrid or your specific model of Lydos Hybrid has also some unique requests because Ariston likes to make things harder.
Identification of Lydos Hybrid is done by finding "name": "LYDOS hibrid" in data_ariston_model_data.json (see previous entries for example). If your JSON does not have such entry then first step of identification fails and boiler is treated as ordinary Lydos/Velis with their unique requests. In that case i'll need data from that JSON for prototyping (you should replace sensitive data as i'm interested more in structure and some unique values for type/name etc.).
If it is not the case, then sniffing of requests would be required for the next step (i use fiddler, where proxy is enabled, change advanced network settings on phone to use proxy of fiddler and then check all requests from fiddler while changing pages on the phone to see all GET requests and change all data to have all POST requests). So if sniffing would be required you may do it yourself or provide me with credentials (change password for temporary use) and share it via email. My personal boiler does not even support this integration (it is different Ariston application, there are 2 of them), so i can't test it locally in any way.

[...] Identification of Lydos Hybrid is done by finding "name": "LYDOS hibrid" in data_ariston_model_data.json (see previous entries for example). If your JSON does not have such entry then first step of identification fails and boiler is treated as ordinary Lydos/Velis with their unique requests. In that case i'll need data from that JSON for prototyping (you should replace sensitive data as i'm interested more in structure and some unique values for type/name etc.). [...]
ok, i found the bug. you use "LYDOS hibrid" to identify the boiler but that is the Nickname we give to the boiler inside the app which by default is equal to the serial number.
So that was causing my error, in fact as that as soon as i renamed the boiler with "LYDOS hibrid" the integration started working. Maybe you should make it parametric like username and password.

I prefer automated detection of boiler instead of specifying it manually, but now it seems like some changes are required as i have no idea of how to identify correctly, so probably manual input would be required after updates.
But good that it works

Type is not a mandatory input parameter in configuration.yaml.
Rest of data in README file.
Please note that you might need to comment out integration, then make a restart (to read changed python files) and then configuration.yaml updates should be accepted with new structure.
Since Lydos Hybrid seems to work I'm closing the ticket


Package installer has stopped.

This error is happenning on sample application in genymotion vm (preview of google nexus 5x, android 6) :
Dexter.checkPermission(Manifest.permission.INTERNET, new EmptyPermissionListener() {

immediatelly FC the package manager, the logcat :
11-25 12:11:01.575 3708-3708/? E/AndroidRuntime: FATAL EXCEPTION: main
                                                 Process: com.android.packageinstaller, PID: 3708
                                                 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.packageinstaller/com.android.packageinstaller.permission.ui.GrantPermissionsActivity}: java.lang.NullPointerException: Attempt to get length of null array
                                                     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
                                                     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
                                                     at android.app.ActivityThread.-wrap11(ActivityThread.java)
                                                     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
                                                     at android.os.Handler.dispatchMessage(Handler.java:102)
                                                     at android.os.Looper.loop(Looper.java:148)
                                                     at android.app.ActivityThread.main(ActivityThread.java:5417)
                                                     at java.lang.reflect.Method.invoke(Native Method)
                                                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
                                                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
                                                  Caused by: java.lang.NullPointerException: Attempt to get length of null array
                                                     at com.android.packageinstaller.permission.ui.GrantPermissionsActivity.computePermissionGrantState(GrantPermissionsActivity.java:277)
                                                     at com.android.packageinstaller.permission.ui.GrantPermissionsActivity.updateDefaultResults(GrantPermissionsActivity.java:327)
                                                     at com.android.packageinstaller.permission.ui.GrantPermissionsActivity.onCreate(GrantPermissionsActivity.java:100)
                                                     at android.app.Activity.performCreate(Activity.java:6237)
                                                     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
                                                     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
                                                     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
                                                     at android.app.ActivityThread.-wrap11(ActivityThread.java)
                                                     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
                                                     at android.os.Handler.dispatchMessage(Handler.java:102)
                                                     at android.os.Looper.loop(Looper.java:148)
                                                     at android.app.ActivityThread.main(ActivityThread.java:5417)
                                                     at java.lang.reflect.Method.invoke(Native Method)
                                                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
                                                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
11-25 12:11:01.576 848-946/system_process W/ActivityManager:   Force finishing activity com.android.packageinstaller/.permission.ui.GrantPermissionsActivity

Hi @virtualvoid thanks for the issue. What's the library version you are using to reproduce that bug?

Hi @pedrovgs
it's probably the latest : 1.0.2
I don't know if it's related, but i tried playing with <uses-permission and <uses-permission-sdk-23 and the error is gone. but dexter is now returning "granted" for every permission that i'm trying (even if it's not in manifest).

Hi @virtualvoid
From  the Android documentation (http://developer.android.com/training/permissions/requesting.html):

Normal permissions do not directly risk the user's privacy. If your app lists a normal permission in its manifest, the system grants the permission automatically.

Manifest.permission.INTERNET is not a dangerous permission so you shouldn't need to call Dexter to use it.
Either way I've been doing some tests using the latest version of Dexter and looks it's doing the right thing, that is, calling the granted callback if the permission is added to the manifest and calling the denied callback when not. I'm adding the permission with a regular <uses-permission android:name="android.permission.INTERNET"/> so no modifications in that part.

@virtualvoid can you try in a real device with a permission like the Camera or the Audio? As @Serchinastico says, you should not ask for that permission.

Thanks for the replies. I'll look onto it.

News about this issue @virtualvoid ?

Unfortunately no, I haven't tested it on real device yet. But I have better
understanding of how it works beneath, so I don't think this was a real
issue anymore.
I'll check it again, when marshmallow will rollout for my LG G3.


Allow find_unused_parameters to be set in config

Allow find_unused_parameters to be set in the configuration file. If not present it defaults to the pytorch default of False.
This comes in handy when the underlying reason for the unused parameters is hard to find or not resolved well by pytorch. Current way to overcome this is to change apis/train.py in a user maintained fork which is not ideal.
This would also be useful for users affected by https://github.com/open-mmlab/mmdetection/issues/2153

We are planning a solution to solve unused parameters. As a walk around, we will merge it first.

Thanks! Feel free to tag me in any future issues or WIP pull requests related to a better solution (or if you want help).


feat: Add Codeium Toggle command

Add possibility to enable/disable Codeium completion
Fix issues:

https://github.com/Exafunction/codeium.nvim/issues/209
https://github.com/Exafunction/codeium.nvim/issues/136
https://github.com/Exafunction/codeium.nvim/issues/42

Very nice feature! Would it be possible to have an option in the config to disable Codeium by default?


Fix info about related entities in Attach/Update API docs

Fixes #6739

@ajcvickers any chance you could take a look at this one


sass fill include "background-image:url(//www.google.com/as.gif)" error

sass content will include "background-image:url(//www.google.com/as.gif)"
error : unterminated argument to :url(...)

Because // isn't interpreted as a valid URL in CSS. Just use http:// or https://.

That is not a gulp-sass issue, check the libsass repo


Lists within messages

Is your feature request related to a problem? Please describe.
next-intl provides a list formatting function, such as format.list(items, {type: 'conjunction'}). However, it would be great if the t() function could accept an array as an argument, allowing you to include translated text while letting next-intl handle conjunctions or disjunctions automatically.
Describe the solution you'd like
i18next already provides a good solution, as shown here.
Describe alternatives you've considered
For example, a similar solution could look like this:
en.json
{
  "list_example": "I used {listVariable, list}"
}

.ts
const listVariable = ['Next.js', 'Typescript', 'next-intl'];
t('list_example', { listVariable, type: 'conjunction' })

the output would be:
I used Next.js, TypeScript, and next-intl.

I agree it could be useful, but next-intl currently depends on intl-messageformat which unfortunately doesn't support this (I think because it's not spec'ed by ICU).
The alternative is:
t('list', items: format.list(items));


Components

In this pull request, I implemented the following:

Deleted all the boilerplate from CRA (text, images, styles).
Created a directory called components.
Inside components, I created a new Calculator.js file component that matches a given design
I imported the calculator component and used it in my main component (App.js)

Thank you very much @Mihndim2020


Python: Deployment shouldn't be hard coded in getting-started.ipynb

https://github.com/microsoft/semantic-kernel/blob/main/python/notebooks/00-getting-started.ipynb

The issue is that i put my deployment name in .env following the instructions but it doesn't really work as it's not being used in the sample code.

@ttthree I think this PR #2766 fixes it.


can I use it without being member of ghas-bootcamp

Yes :-)
I want to try the bootcamp

Can you send me link ? :)

@yanivpaz I think you need to do this https://github.com/new?template_name=ghas-bootcamp&template_owner=ghas-bootcamp

ok I will try Thanks


Expose lifecyclemanager timeout as a parameter, other misc fixes/features

Summary of changes

fix #229
expose lifecycle manager timeout as a parameter in the bringup files
the launch files now exit with a failure if they can't bring up the nodes
added a ctor to ExecutorClient to enable unique node naming

hmm, can't reproduce that exact error on my machine, but I have encountered an occasional bug where there are action performers available but they aren't found by the executor (it hasn't been consistent enough to track down yet).  May kick the runners again with a trivial change to see what happens

Hi @sarcasticnature
Did you find the error? I will try to reproduce It too.
Thanks!!

Hi @sarcasticnature
Nice work!! All tests are passing and everything seems to be working well.
Thanks for your contribution!!

Hi @sarcasticnature
Did you find the error? I will try to reproduce It too.
Thanks!!

As I mentioned, the bug is very inconsistent and I can't replicate it intentionally.  If I ever discover the cause or a means to reliably replicate the bug I will file a GitHub issue


Added a preferProjectModules option to ResolutionStrategy

Thank you very much for your contribution. We highly appreciate the time
and effort you put into pull request. Before you submit the pull request,
please:

[x] Review the Contribution Guidelines.
[x] Sign the Gradle CLA.
[ ] Ensure basic checks pass: ./gradlew quickCheck

For all non-trivial changes that modify the behavior or public API:

[x] Before submitting a pull request, you started a discussion on the
Gradle developer list
or can reference a JIRA issue.
[x] You considered writing a design document. A design document can be
brief but explains the use case or problem you are trying to solve,
touches on the planned implementation approach as well as the test cases
that verify the behavior. Optimally, design documents should be submitted
as a separate pull request. You can find samples
in the Gradle GitHub repository. Please let us know if you need help with
creating the design document. We are happy to help!
[ ] The pull request contains an appropriate level of unit and integration
test coverage to verify the behavior. Before submitting the pull request
you ran a build on your local machine via the command
./gradlew quickCheck <impacted-subproject>:check.
[ ] The pull request updates the Gradle documentation like user guide,
DSL reference and Javadocs where applicable.

This is a replacement for https://github.com/gradle/gradle/pull/631 and https://github.com/gradle/gradle/pull/564

Thanks a lot for the PR, and for your patience as we come up with an acceptable solution.
I should be able to take a look at this next week. In the meantime, my main feedback is that the one integration test is not consistent nor easy to read: it combines coverage for  'force' on a dependency declaration and a dependencySubstitution rule for projects, but doesn't actually provide any coverage for "dependency resolve rules" even though it lives in DependencyResolveRulesIntegrationTest.
Here are some suggestions:

I think in general it's ok to assume that the various dependency resolution rules will do their job to get the correct modules provided into conflict resolution: the test coverage for this feature should focus on the effect of preferProjectModules on the resolution.
The exception is the force attribute that is put directly on a dependency declaration: Gradle provides a special conflict resolver for this case, and we should have test coverage for it.

The preferProjectModules attribute does not trump the force attribute on the dependency.
Note that this is quite different from the ResolutionStrategy.force()
There is no equivalent force option for a project dependency.

The force attribute can also be in a dependency declared in a published Ivy module. We should have test coverage that resolves such an Ivy module and shows that preferProjectModules does not override this force attribute.
Any coverage using dependencySubstitution rules should be split out and put into DependencySubstitutionRulesIntegrationTest

The permutations in the unit-test reflected the gradle-dev discussion, so various aspects of dependency management got lumped together as a result.
I'll try to find some time to split them.

I took another look at the test, and while I agree that it mixes the responsibilities of DependencySubstitutionRulesIntegrationTest  and DependencyResolveRulesIntegrationTest  there is only one case out of six that belongs in DependencyResolveRulesIntegrationTest.
There is some beauty in having all the permutations related to preferProjectModules in one place, maybe separating it from both makes sense?
It'll be just one method with 6 permutations, but will get to avoid duplication.

This is done now, the tests have moved to a separate class.


[ansible] ERROR! [pid ...] mitogen: Router(Broker(...)): no route for Message(..., 102, ...)

There is a race condition when starting new contexts relating to the logging package. It manifests as:
ERROR! [pid 57194] 15:20:13.693557 E mitogen.ctx.fork.6961: mitogen:
Router(Broker(0x7f085df59310)): no route for Message(0, 1005, 1005, 102, None,
"mitogen\x0010\x00register(Context(4, 'parent'), mitogen."..72), my ID is 1005

It is harmless and will be fixed soon! I'm creating a bug for it so people looking at the tracker will find an entry and an explanation

The race is due to [https://github.com/dw/mitogen/blob/master/mitogen/core.py#L2050-L2062](logging being activated before the parent stream is added). There is a reason for deferring activation, but I can't immediately spot it. Maybe a thinko regarding not having the importer configured before receiving messages?


add option meta "name" (table name)

Problem

like this, in data file, add option meta "name".
can modify name in data file or original table.
Solution
null
Additional details
No response

Not relevant for 6.0.0


OCPBUGS-36260: Tooltip on Pipeline when expression is not shows

Issue:
https://issues.redhat.com/browse/OCPBUGS-36260
Screenshots:

/jira refresh

/cc @vikram-raj @Lucifergene

/cherrypick release-4.16


Reverting useId to uuidv4

@Jialecl  for curiosity, why are we reverting to uuidv4?

@Jialecl for curiosity, why are we reverting to uuidv4?

Using useId forces the user into upgrading to react 18.
We think that for now it's still not worth forcing the user into upgrading to react 18.


How to understand tensorboard indicators and how to add custom indicators?

Hi Surreal Team,
I found following indicators:
agent/step_per_s/, agent.reward/
replay.core/exp_in_per_s/, replay.core/exp_out_per_s/, replay.core/insert_time_s/, replay.core/num_exps/, replay.core/requests_per_s/, replay.core/sample_time_s/, replay.core/serialize_time_s/, replay.core/total_collected_exps/, replay.core/total_sample_requests/, replay.core/total_sampled_exps/
Which one does stand for Average Return?
Which indicators should be focused on?
And how to add custom indicators to monitor?
Thank you.

agent.reward/ is the average return. This should be the metric to focus on.
We use tensorplex to add indicators to monitor. See
learner
agent performance statistics
agent reward statistics


Handle Template Compilation Errors

Right now the application would just crash if there is an template compilation error. This PR adds some error handling that deals with template compilation errors, so the application will output an error and shutdown gracefully if a template compilation error was to happen.

Nice work! :+1:

:+1:


Thanks for your really great work!

Thanks for your great work.
I want to know if the node order of input and output has changed.
if the Input is :
[[feature_1]           node_1
[feature_2]           node_2
[feature_3]           node_3
...
[feature_n]]          node_n
then the output should be like the following?
[[embedding_1]      ...node_1'embedding
[embedding_2]      ...node_2'embedding
[embedding_3]      ...node_3'embedding
...
[embedding_n]]     ...node_n'embedding


Ignite New App issue

What's going on?
When I do:  ignite new MyNewApp
it throws a bunch of errors:
At C:\Users\Waqqar Ahmed\AppData\Local\Yarn\bin\ignite.ps1:5 char:13
     *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
             ~
Unexpected token ')' in expression or statement.
At C:\Users\Waqqar Ahmed\AppData\Local\Yarn\bin\ignite.ps1:8 char:3
 if [ -x "$basedir/pwsh" ]; then
   ~
Missing '(' after 'if' in if statement.
At C:\Users\Waqqar Ahmed\AppData\Local\Yarn\bin\ignite.ps1:8 char:5
 if [ -x "$basedir/pwsh" ]; then
     ~
Missing type name after '['.
At C:\Users\Waqqar Ahmed\AppData\Local\Yarn\bin\ignite.ps1:9 char:20
 ... edir/pwsh"  "$basedir/../Data/global/node_modules/.bin/ignite.ps1" "$ ...
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unexpected token '"$basedir/../Data/global/node_modules/.bin/ignite.ps1"' in expression or statement.
At C:\Users\Waqqar Ahmed\AppData\Local\Yarn\bin\ignite.ps1:9 char:75
 ... ir/pwsh"  "$basedir/../Data/global/node_modules/.bin/ignite.ps1" "$@"
                                                                      ~~~~
Unexpected token '"$@"' in expression or statement.
     CategoryInfo          : ParserError: (:) [], ParseException
     FullyQualifiedErrorId : UnexpectedToken

Steps to reproduce
initiate new ignite app
ignite doctor results:
ignite doctor throwing the same error :/

I'm not able to reproduce this on my Windows PC. Can you try it on a different computer and see if it's causing the same issues?

Getting same error on a fresh install on Windows 10

@WaqqaR I had the same issue on Windows while using Powershell, but it seems to work via Command Prompt

Ignite doesn't support PowerShell, unfortunately. If someone wants to help out and add PowerShell support, please do! Otherwise, please use cmd.exe or a bash prompt.


I want execute this plugin in the parent project of maven ,but it appears that the parent project of target folder is not exist.how can I use the plugin to batch execute docker:build

[INFO] cloud-docker-parent ................................ FAILURE [ 46.177 s]
[INFO] cloud-docker-common ................................ SKIPPED
[INFO] cloud-docker-menu-api .............................. SKIPPED
[INFO] cloud-docker-user-api .............................. SKIPPED
[INFO] cloud-docker-resource-api .......................... SKIPPED
[INFO] cloud-docker-front-end ............................. SKIPPED
[INFO] cloud-docker-admin-server .......................... SKIPPED
[INFO] cloud-docker-config ................................ SKIPPED
[INFO] cloud-docker-eureka ................................ SKIPPED
[INFO] cloud-docker-hystrix-turbine ....................... SKIPPED
[INFO] cloud-docker-menu-service .......................... SKIPPED
[INFO] cloud-docker-redis-service ......................... SKIPPED
[INFO] cloud-docker-resource-service ...................... SKIPPED
[INFO] cloud-docker-user-service .......................... SKIPPED
[INFO] cloud-docker-zipkin-server ......................... SKIPPED
[INFO] cloud-docker-zuul .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:06 min
[INFO] Finished at: 2017-10-29T18:33:16+08:00
[INFO] Final Memory: 67M/425M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:build (default-cli) on project cloud-docker-parent: Exception caught: basedir D:\working\workspace_tz_myeclipse\spring-cloud-demo\cloud-docker-parent\target does not exist -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

This has more to do with the best way to configure plugins when using multimodule builds in Maven, and not related to this plugin per se. See https://stackoverflow.com/questions/12924634/define-maven-plugins-in-parent-pom-but-only-invoke-plugins-in-child-projects as an example of a few ways to accomplish this.


v1,v2: Return available data alongside error

If we have both data and an error, we should always return all of the buffered data before surfacing the error.

@lukechampine is this still needed?

not strictly necessary, but it does clean up a few things, might as well merge it


Add terminal package

https://www.npmjs.com/package/@deep-foundation/chatgpt-templates - looks like this package is ready.
@FreePhoenix888 @SonnyRoot closing this issue?


Removed usage of lazyView2

This change is intended for better first time experience with HMR. Currently lazy views are not invalidated and reloaded with HMR unless you make changes to the state of the component or change the model of the component. This makes the first time experience with HMR really confusing.

/cc @et1975 @MangelMaxime

I never used lazyView in my application yet.
In general, you use them to improve the performance of the rendering because you only make the diff if the requested portion of the model changed.


Second GridSearch of a KerasClassifier hangs forever

Issue
I am currently using a KerasClassifier and I want to make several grid search with it. For the grid search, I use GridSearchCV from scikit-learn.
The first GridSearch is working perfectly well (using all of my cpu). However, when the second GS is launch, it hangs forever...
This problem does not occur when I am replacing KerasClassifier by XGBClassifier.
Version
Ubuntu 16.04 LTS
Keras 2.0.4
tensorflow 1.1.0
sklearn 0.18.1
Code
import numpy as np
from sklearn.model_selection import GridSearchCV
from keras.models import Sequential
from keras.layers import Dense
from keras.wrappers.scikit_learn import KerasClassifier

def create_model():
    model = Sequential()
    model.add(Dense(12, input_dim=8, activation='relu'))
    model.add(Dense(1, activation='sigmoid'))
    model.compile(loss='binary_crossentropy', optimizer='adam', metrics=['accuracy'])
    return(model)

X = np.random.rand(50,8)
Y = np.random.rand(50,1)

batch_size = [10, 20]
epochs = [10, 100]
param_grid = dict(batch_size=batch_size, epochs=epochs)

model1 = KerasClassifier(build_fn=create_model, verbose=0)
grid1 = GridSearchCV(estimator=model1, param_grid=param_grid, n_jobs=-1, verbose=1)
grid1.fit(X,Y)

model2 = KerasClassifier(build_fn=create_model, verbose=0)
grid2 = GridSearchCV(estimator=model2, param_grid=param_grid, n_jobs=-1, verbose=1)
grid2.fit(X,Y)

[x] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps

[x] If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found here.

[ ] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[x] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

I also get this same exact issue.

I am having the exact same issue as well.

+1

The problem seems to be still present. Any solutions when n_jobs > 1 ???

Any hope to resolve the issue? Thanks in advanced.

@seralouk Here is the solution for the hanging issue. In summary, you will need to launch a forked process for Keras/Tensorflow model training.

+1. See GridSearchCV freezes indefinitely with multithreading enabled (i.e. w/ n_jobs != 1)


Integrate an existing prometheus instance

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities
To ask questions about how to use Istio, please visit https://discuss.istio.io)
Bug description
[ X ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ X ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
Version (include the output of istioctl version --remote and kubectl version --short and helm version --short if you used Helm)
1.8+
Documentation reports:
To use an existing Prometheus instance, add the scraping configurations in prometheus/configmap.yaml to your configuration.
But the link provided is broken, plus there is no reference to that anywhere else.

Documentation has been updated, but the file is still missing.
https://raw.githubusercontent.com/istio/istio/release-1.9/manifests/charts/istio-telemetry/prometheus/templates/configmap.yaml

Sorry the guide is out of dated. https://github.com/istio/istio.io/pull/8976 will update that.


Hide label on Milestones link if there are zero milestones

Closes #5120

Test URLs
https://github.com/refined-github/refined-github/issues
Screenshot

Related

https://github.com/refined-github/refined-github/issues/5797

Safari: yes
Chrome: 105+
Firefox: TBD


Compilation errors when attempting to build using a debug configuration

Release Type: Github
Version: master branch, latest commit
Platform(s): Windows, VS 2022
Describe the bug
It seems to be impossible to build Stride using a debug configuration (Debug, any CPU). Building using a release configuration works perfectly tough.
From the build log:
41>draco.lib(float_points_tree_decoder.cc.obj) : error LNK2019: unresolved external symbol __imp___invalid_parameter referenced in function "void * __cdecl std::_Allocate_manually_vector_aligned<struct std::_Default_allocate_traits>(unsigned int)" (??$_Allocate_manually_vector_aligned@U_Default_allocate_traits@std@@@std@@YAPAXI@Z)

it may seem that libstrideaudio is failing to compile because of linking errors. This is likely caused by attempting to build the library with a release version of CRT (C Run-Time library).
To Reproduce
Steps to reproduce the behavior:

Followed the steps to build stride as described in the read-me file.
Try to build Stride using a debug configuration.

Expected behavior
A successful build of Stride.GameStudio was expected.
Log and callstacks
build output.txt

Is this still the case ?

I think I have found the cause: I have already had installed draco from vcpkg, and I had to use vcpkg integrate remove and recompile. Should we add this precaution to the build instructions, or should we attempt to disable vcpkg integration for the VC++ projects?

It looks like this issue is pretty niche so I think leaving this here is fine, we'll close it off once it has been properly addressed.


initialValues in wizard form reset syncErrors generated by validation

To reproduce this problem:

Create a wizard form with sync validate and set initialValues as an empty object {}
Load the form there is no syncErrors

The action sequence is something like this:

redux-form/UPDATE_SYNC_ERRORS
redux-form/INITIALIZE
redux-form/REGISTER_FIELD
redux-form/REGISTER_FIELD
...

It seems not correct because INITIALIZE would reset syncErrors. UPDATE_SYNC_ERRORS should invoke after initialise with initialValues.

I can confirm this, although in my case I am fetching initialValues from the server. This results in the error meta for every field to be set to undefined.

Also, it seems that dispatching initialize using the API gets rid of syncErrors too. Is this by design or is it a bug?

@erikras  please prioritize this same occurs with RESET/DESTROY. UPDATE_SYNC_ERRORS needs to run after these are called.

I shall be happy to take this up if I can get a confirmation from the author regarding what he feels would be the correct direction here.

Hmm.. I'm not able to replicate this.

I'm seeing UPDATE_SYNC_ERRORS happening after INITIALIZE. And looking at the code, I don't see how it could ever be otherwise if you are using the initialValues config param/prop.
As of v6.3.2, INITIALIZE does not blow away sync errors

Can someone recreate this using the Sync Validation Example (or any other example you choose)?

Closing this issue due to lack of response and lack of reproducibility. If you can advise of reproduction steps for this issue, please provide details in a new issue / reopen request comment.


Update emoji data to version 4.

This includes the gendered sequences.
The emoji data isn't quite enough, we also need to know that some additional
characters take an emoji variation selector-- this got patched into the
code that parses the data, since StandardVariants.txt doesn't have it yet.
The emoji data format changed a bit-- names are now formally a field, and
all sequences now have 'names', so we parse those names.  Two APIs have
changed to return dicts instead of sets as a result.

LGTM