Merge rules in batches

To merge in batch mode:
kore-exec definition.kore --merge-rules rule-list --module WASM-WITH-K-TERM --merge-batch-size 2

To merge without batches, just omit the flag:
kore-exec definition.kore --merge-rules rule-list --module WASM-WITH-K-TERM

Reviewer checklist

[ ] Test coverage: stack test --coverage
[ ] Public API documentation: stack haddock

It looks fine to me, but should have @ttuegel 's approval I think.


Tile edges appearing in Editor maps

Hi @zenitraM I think you & @iriberri were helping with this?
Tile edges are showing even with CartoCSS buffer-size increased:
Context

Process

Add polygon layer to your map

Re-add same polygon layer, then apply CartoCSS to get drop-shadow effect:
#ne_50m_land{
polygon-fill: #275384;
image-filters: agg-stack-blur(50,50);
polygon-geometry-transform: translate(2,2);
polygon-opacity: 0.7;
line-color: #FFF;
line-width: 0.5;
line-opacity: 1;
comp-op: dst-over;
}

Also increase buffer area (put in all layers):
#ne_50m_land{
Map {
buffer-size:400;
}
}

Expected result
Smooth gradients instead of offsets at tile edges.
Current result

Examples

http://bit.ly/1GWCAEv
http://bit.ly/1Y75upF

My examples use a ton of repeated polygon layers & comp-ops, but this is also happening for users with heatmaps:
S/B 7288453

[ ] @ztephm follow up with S/B 7288453 when fixed

cc @rochoa

This is not gonna be an easy one to solve. Also: it seems we're affected by this issue: https://github.com/mapbox/carto/issues/270

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.

Hi - is this issue fixable in our latest Mapnik version? Still getting tile edges showing with same STR above:

tile_edge_save (on 2017-06-09 at 20.40.35).zip
This is shadow CartoCSS:
Map {
  buffer-size:400;
}
#ne_50m_land{
  polygon-fill: #275384;
  image-filters: agg-stack-blur(50,50);
  polygon-geometry-transform: translate(2,2);
  polygon-opacity: 0.7;
  line-color: #FFF;
  line-width: 0.5;
  line-opacity: 1;
  comp-op: dst-over;
}

Related to https://github.com/CartoDB/cartodb/issues/12017

I am having the same issue as @AbelVM (#12017) I have been able to find a sweet spot where I can avoid the tile boundary artifacts but it is a juggle.
In general I have noticed it happening more with a negative line-offset than a positive one.
In this image, I have line-offset: -1 with a line-width: 1 and you can see thie tile bnd artifact coming from the south in the purple polygon, to the northern purple polygon and also from the east in the blue polygon:

Map link: https://team.carto.com/u/mamataakella/builder/4662bd63-4d6d-4224-952d-0723e8727fb2/embed?
After some testing, if I make that line-width: 0.5 the artifacts go away:

still happening


Added possibility to map the preferred_username property to additional claims

Those can be configured via ServerConfig, or cli option for the standalone application, respectively.

Context: We use the keycloak_openid_user_property_protocol_mapper to map built in properties defined on the Keycloak user interface to a claim in a token. This PR supports mapping the preferred_username.

Let my try to understand your purpose with this: You want to run the standalone version of the mock, and you need the generated tokens to contain one or more claims whose names you want to freely configure and whose value should be the username of the user as entered in the login screen. Is that it?
If so, I feel this is one special case of a more generic need to configure the generated claims when using the login screen. Also, I think it introduces some inconsistency to the programmatic use case (i.e. why am I able to remap the preferred username, but not the name, email or subject?).
I believe it would be cleaner to extend the login screen. Either with just a free text field where a JSON with additional claims can be added or with some more fancy UI (e.g. with input fields for all "standard" claims and/or some kind of auto-completion editor). What do you think?

Yes, that is exactly, what we want. The idea was to leave the gui as simple as it is and work with the information from the two fields that are already there.
Since there only user and roles are provided in my opinion it makes sense, to only provide this mapping for the user since this is the only input we have.

this is one special case of a more generic need to configure the generated claims when using the login screen.

Agreed! I just realized that (for another project) we'd need the email claim in the tokens from the standalone keycloak-mock.

Agreed! I just realized that (for another project) we'd need the email claim in the tokens from the standalone keycloak-mock.

Hm, that sounds like #121 .


Import not working when running in dotted path

Describe the bug
Whenever Blade is installed in a path with containing the . character (for example using the Autoinstall script), imports stop working.
To Reproduce
Steps to reproduce the behavior:

Install Blade using the Autoinstall script for Linux and OSX
Launch the Blade REPL
Try to import any library.
See error

Expected behavior
Import should work properly whether the application directory contains .s in it's path or not.
Additional context
This is due to how merge_paths in src/pathinfo.c currently works.

Extra suggestion: use / as separation for local modules.
For example:
import ./my_module
import ../module_in/other/folder
import global_module # (example: os)


lot of bugs in the terminal ui

going back in the manga pages just shows the last opened page and the home now just shows the last loaded image as all of the images and it goes into loading the images multiple times and tries to crash
and the only error in the logfile is a connection lost not related to the issue

Since this is a UI related issue could you please provide some screenshots to better understand what's going on, also what terminal does this happen on?

Since this is a UI related issue could you please provide some screenshots to better understand what's going on, also what terminal does this happen on?

I'm having the same issue btw, images are not even loading

going back in the manga pages just shows the last opened page and the home now just shows the last loaded image as all of the images and it goes into loading the images multiple times and tries to crash and the only error in the logfile is a connection lost not related to the issue

same for me here are the screenshots

i tried to recreate the error and log the app output using valgrind and seems like a malloc is messing up the page it keeps going in a loop this is where the faulty code starts
==5718== 21,504 bytes in 64 blocks are still reachable in loss record 1,131 of 1,147
==5718==    at 0x48447A8: malloc (vg_replace_malloc.c:446)
==5718==    by 0x5681E7: <tokio::signal::registry::EventInfo as core::default::Default>::default (in /usr/bin/manga-tui)
==5718==    by 0x56CBB4: tokio::signal::unix::<impl tokio::signal::registry::Init for alloc::vec::Vec<tokio::signal::unix::SignalInfo>>::init (in /usr/bin/manga-tui)
==5718==    by 0x18158B: std::sys::sync::once::futex::Once::call (in /usr/bin/manga-tui)
==5718==    by 0x18192F: tokio::util::once_cell::OnceCell<T>::do_init (in /usr/bin/manga-tui)
==5718==    by 0x57E78C: tokio::runtime::signal::Driver::new (in /usr/bin/manga-tui)
==5718==    by 0x580B7B: tokio::runtime::driver::Driver::new (in /usr/bin/manga-tui)
==5718==    by 0x57117D: tokio::runtime::builder::Builder::build (in /usr/bin/manga-tui)
==5718==    by 0x2EAE8D: manga_tui::main (in /usr/bin/manga-tui)
==5718==    by 0x231C35: std::sys_common::backtrace::__rust_begin_short_backtrace (in /usr/bin/manga-tui)
==5718==    by 0x2D30BB: std::rt::lang_start::{{closure}} (in /usr/bin/manga-tui)
==5718==    by 0x6DF9BF: std::rt::lang_start_internal (in /usr/bin/manga-tui)
==5718==
==5718== 22,496 bytes in 148 blocks are still reachable in loss record 1,132 of 1,147
==5718==    at 0x48447A8: malloc (vg_replace_malloc.c:446)
==5718==    by 0x4AD8B31: CRYPTO_malloc (mem.c:202)
==5718==    by 0x4AD8B95: CRYPTO_zalloc (mem.c:222)
==5718==    by 0x4AB9CE4: EVP_PKEY_new (p_lib.c:1455)
==5718==    by 0x4A798A2: UnknownInlinedFun (keymgmt_lib.c:79)
==5718==    by 0x4A798A2: decoder_construct_pkey (decoder_pkey.c:176)
==5718==    by 0x4A77EA5: decoder_process (decoder_lib.c:774)
==5718==    by 0x4B8E024: der2key_decode.lto_priv.0 (decode_der2key.c:325)
==5718==    by 0x4A780FB: decoder_process (decoder_lib.c:1000)
==5718==    by 0x4B90FAF: spki2typespki_decode.lto_priv.0 (decode_spki2typespki.c:136)
==5718==    by 0x4A780FB: decoder_process (decoder_lib.c:1000)
==5718==    by 0x4A783ED: OSSL_DECODER_from_bio (decoder_lib.c:82)
==5718==    by 0x4A78710: OSSL_DECODER_from_data (decoder_lib.c:157)
==5718==
==5718== 23,744 bytes in 106 blocks are still reachable in loss record 1,133 of 1,147
==5718==    at 0x48447A8: malloc (vg_replace_malloc.c:446)
==5718==    by 0x4AD8B31: CRYPTO_malloc (mem.c:202)
==5718==    by 0x4AD8B95: CRYPTO_zalloc (mem.c:222)
==5718==    by 0x4B1942E: rsa_new_intern.lto_priv.0 (rsa_lib.c:77)
==5718==    by 0x4B1AB1D: rsa_cb (rsa_asn1.c:32)
==5718==    by 0x49C4415: asn1_item_embed_new (tasn_new.c:126)
==5718==    by 0x49C63F8: UnknownInlinedFun (tasn_new.c:52)
==5718==    by 0x49C63F8: asn1_item_embed_d2i (tasn_dec.c:366)
==5718==    by 0x49C669F: UnknownInlinedFun (tasn_dec.c:118)
==5718==    by 0x49C669F: ASN1_item_d2i_ex (tasn_dec.c:144)
==5718==    by 0x4B13C8E: rsa_pub_decode.lto_priv.0 (rsa_ameth.c:85)
==5718==    by 0x4B6D408: x509_pubkey_decode (x_pubkey.c:440)
==5718==    by 0x4B6D5C4: x509_pubkey_ex_d2i_ex (x_pubkey.c:177)
==5718==    by 0x49C5B92: asn1_item_embed_d2i (tasn_dec.c:262)

the part that just keeps on going infinitly and just filling memory is this
==5718== 23,744 bytes in 106 blocks are still reachable in loss record 1,133 of 1,147
==5718==    at 0x48447A8: malloc (vg_replace_malloc.c:446)
==5718==    by 0x4AD8B31: CRYPTO_malloc (mem.c:202)
==5718==    by 0x4AD8B95: CRYPTO_zalloc (mem.c:222)
==5718==    by 0x4B1942E: rsa_new_intern.lto_priv.0 (rsa_lib.c:77)
==5718==    by 0x4B1AB1D: rsa_cb (rsa_asn1.c:32)
==5718==    by 0x49C4415: asn1_item_embed_new (tasn_new.c:126)
==5718==    by 0x49C63F8: UnknownInlinedFun (tasn_new.c:52)
==5718==    by 0x49C63F8: asn1_item_embed_d2i (tasn_dec.c:366)
==5718==    by 0x49C669F: UnknownInlinedFun (tasn_dec.c:118)
==5718==    by 0x49C669F: ASN1_item_d2i_ex (tasn_dec.c:144)
==5718==    by 0x4B13C8E: rsa_pub_decode.lto_priv.0 (rsa_ameth.c:85)
==5718==    by 0x4B6D408: x509_pubkey_decode (x_pubkey.c:440)
==5718==    by 0x4B6D5C4: x509_pubkey_ex_d2i_ex (x_pubkey.c:177)
==5718==    by 0x49C5B92: asn1_item_embed_d2i (tasn_dec.c:262)

I downloaded the latest version of kitty and I have the same bugs / glitches, I'll try to solve this issue but to be honest I don't know what may be causing this

it look like it is a buffer overflow after a bit of digging looks like the intended behavior is this
==3709== 89,920 bytes in 10 blocks are possibly lost in loss record 1,285 of 1,290
==3709==    at 0x48447A8: malloc (vg_replace_malloc.c:446)
==3709==    by 0x4F806F: tokio::sync::mpsc::chan::channel (in /usr/bin/manga-tui)
==3709==    by 0x4D0C77: <core::pin::Pin<P> as core::future::future::Future>::poll (in /usr/bin/manga-tui)
==3709==    by 0x4D8530: <futures_util::future::try_future::try_flatten::TryFlatten<Fut,<Fut as futures_core::future::TryFuture>::Ok> as core::future::future::Future>::poll (in /usr/bin/manga-tui)
==3709==    by 0x493958: <hyper_util::common::lazy::Lazy<F,R> as core::future::future::Future>::poll (in /usr/bin/manga-tui)
==3709==    by 0x4E023C: <futures_util::future::select::Select<A,B> as core::future::future::Future>::poll (in /usr/bin/manga-tui)
==3709==    by 0x48957A: hyper_util::client::legacy::client::Client<C,B>::send_request::{{closure}} (in /usr/bin/manga-tui)
==3709==    by 0x50DD65: <hyper_util::client::legacy::client::ResponseFuture as core::future::future::Future>::poll (in /usr/bin/manga-tui)
==3709==    by 0x47D4F3: <reqwest::async_impl::client::PendingRequest as core::future::future::Future>::poll (in /usr/bin/manga-tui)
==3709==    by 0x47D3B9: <reqwest::async_impl::client::Pending as core::future::future::Future>::poll (in /usr/bin/manga-tui)
==3709==    by 0x2460E9: manga_tui::backend::fetch::MangadexClient::get_cover_for_manga::{{closure}} (in /usr/bin/manga-tui)
==3709==    by 0x24D8FD: manga_tui::view::pages::home::Home::search_popular_mangas_cover::{{closure}} (in /usr/bin/manga-tui)
==3709==
==3709== 106,750 bytes in 148 blocks are still reachable in loss record 1,286 of 1,290
==3709==    at 0x48447A8: malloc (vg_replace_malloc.c:446)
==3709==    by 0x4AD8B31: CRYPTO_malloc (mem.c:202)
==3709==    by 0x49C6186: UnknownInlinedFun (tasn_utl.c:175)
==3709==    by 0x49C6186: asn1_item_embed_d2i (tasn_dec.c:470)
==3709==    by 0x49C7C01: asn1_template_noexp_d2i (tasn_dec.c:682)
==3709==    by 0x49C5F74: asn1_item_embed_d2i (tasn_dec.c:422)
==3709==    by 0x49C669F: UnknownInlinedFun (tasn_dec.c:118)
==3709==    by 0x49C669F: ASN1_item_d2i_ex (tasn_dec.c:144)
==3709==    by 0x4AFC381: PEM_X509_INFO_read_bio_ex (pem_info.c:168)
==3709==    by 0x4B3DE18: UnknownInlinedFun (by_file.c:236)
==3709==    by 0x4B3DE18: X509_load_cert_crl_file_ex (by_file.c:221)
==3709==    by 0x4B3E013: by_file_ctrl_ex (by_file.c:59)
==3709==    by 0x4B5B735: X509_STORE_set_default_paths_ex (x509_d2.c:23)
==3709==    by 0x50968C: openssl::ssl::connector::SslConnector::builder (in /usr/bin/manga-tui)
==3709==    by 0x507A35: native_tls::imp::TlsConnector::new (in /usr/bin/manga-tui)
==3709==
==3709== 378,000 bytes in 1 blocks are still reachable in loss record 1,287 of 1,290
==3709==    at 0x48447A8: malloc (vg_replace_malloc.c:446)
==3709==    by 0x64D859: ratatui::buffer::buffer::Buffer::filled (in /usr/bin/manga-tui)
==3709==    by 0x64D7D5: ratatui::buffer::buffer::Buffer::empty (in /usr/bin/manga-tui)
==3709==    by 0x2430F7: ratatui::terminal::terminal::Terminal<B>::new (in /usr/bin/manga-tui)
==3709==    by 0x282C8F: manga_tui::main::{{closure}} (in /usr/bin/manga-tui)
==3709==    by 0x27A587: tokio::runtime::park::CachedParkThread::block_on (in /usr/bin/manga-tui)
==3709==    by 0x2EB0F5: manga_tui::main (in /usr/bin/manga-tui)
==3709==    by 0x231C35: std::sys_common::backtrace::__rust_begin_short_backtrace (in /usr/bin/manga-tui)
==3709==    by 0x2D30BB: std::rt::lang_start::{{closure}} (in /usr/bin/manga-tui)
==3709==    by 0x6DF9BF: std::rt::lang_start_internal (in /usr/bin/manga-tui)
==3709==    by 0x2EB373: main (in /usr/bin/manga-tui)

but it seems that the code for the crypto malloc is doing a buffer overflow sometimes like this part
==5718== 23,744 bytes in 106 blocks are still reachable in loss record 1,133 of 1,147
==5718==    at 0x48447A8: malloc (vg_replace_malloc.c:446)
==5718==    by 0x4AD8B31: CRYPTO_malloc (mem.c:202)
==5718==    by 0x4AD8B95: CRYPTO_zalloc (mem.c:222)
==5718==    by 0x4B1942E: rsa_new_intern.lto_priv.0 (rsa_lib.c:77)
==5718==    by 0x4B1AB1D: rsa_cb (rsa_asn1.c:32)
==5718==    by 0x49C4415: asn1_item_embed_new (tasn_new.c:126)
==5718==    by 0x49C63F8: UnknownInlinedFun (tasn_new.c:52)
==5718==    by 0x49C63F8: asn1_item_embed_d2i (tasn_dec.c:366)
==5718==    by 0x49C669F: UnknownInlinedFun (tasn_dec.c:118)
==5718==    by 0x49C669F: ASN1_item_d2i_ex (tasn_dec.c:144)
==5718==    by 0x4B13C8E: rsa_pub_decode.lto_priv.0 (rsa_ameth.c:85)
==5718==    by 0x4B6D408: x509_pubkey_decode (x_pubkey.c:440)
==5718==    by 0x4B6D5C4: x509_pubkey_ex_d2i_ex (x_pubkey.c:177)
==5718==    by 0x49C5B92: asn1_item_embed_d2i (tasn_dec.c:262)

Thanks for providing this information after releasing V0.3.0 #14 I'll try see what I can do about this

I've been changing how I handle images in manga-tui and it's looking better, though requires more refactoring and there is like some flickering in the home page
https://github.com/user-attachments/assets/3adf07ba-8620-461c-ab04-d2a2cbf80b1f

if the u leave the app running for a while the flickering gets a lot worse and it seems to cause it to slow down a lot and crash and it uses lot of memory almost 4 gb per time which is definitely not how it should work


Run Time and Reading Order (of Text Recognition)

Hallo everyone,
recently I tried eynollah to achieve better region recognition. I noticed two points:

the run time per page took approx. 25 minutes
after the text recognition on the basis of these regions the reading order of recognized text was not correctly displayed
There have been few regions that eynollah has trouble with. Still, the tool recognized the regions better than tesseract. But the use would hardly be possible unter these condition. Is there some ways to fix this points?

Best,
Aysoltan

Dear Aysoltan,

It seems you are running Eynollah on CPU.  GPU can accelerate the analysis.
About the reading order , if you provide me the document and the output xml then I may help you more.

Regards

Hi Vahid,
if you could give me please your email adress, i will send you the files. The workflow I used for is:
ocrd-olena-binarize -I OCR-D-IMG -O OCR-D-BIN
ocrd-eynollah-segment -I OCR-D-BIN -O OCR-D-SEG -P models default
ocrd-tesserocr-recognize -I OCR-D-SEG -O OCR-D-OCR-TESSEROCR -P model deu
Best,
Aysoltan

Many thanks!

I take that as a yes ;-)
If problems persist, feel free to re-open or file a new issue.


Fix syntax highlighting in README

GitHub doesn't deal well with root level indented code blocks in Markdown. (Treats the ```js as part of the code block)

Thanks!


no method named span_to_snippet found for struct Lrc<SourceMap> in the current scope

error[E0599]: no method named `span_to_snippet` found for struct `Lrc<SourceMap>` in the current scope
    --> /Users/niklas/.cargo/registry/src/github.com-1ecc6299db9ec823/swc_ecma_codegen-0.108.6/src/lib.rs:2231:35
     |
2231 |                     match self.cm.span_to_snippet(parent_node) {
     |                                   ^^^^^^^^^^^^^^^
     |
     = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
     |
8    | use swc_common::SourceMapper;
     |
help: there is an associated function with a similar name
     |
2231 |                     match self.cm.span_to_lines(parent_node) {
     |                                   ~~~~~~~~~~~~~

Using
swc_ecmascript = { version = "0.159.0", features = ["parser", "transforms", "module", "optimization", "react", "typescript", "utils", "visit", "codegen", "utils", "preset_env"] }
swc_common = { version = "0.18.8", features = ["tty-emitter", "sourcemap"] }
swc_atoms = "0.2.11"

and with everything bumped using cargo update

https://github.com/swc-project/swc/commit/eb0acc3859962a9e6cb8f12b82211cb3a6a9daca will fix it.

Now I get a 203 instances of this error:
error[E0107]: this struct takes 2 generic arguments but 1 generic argument was supplied
  --> /Users/niklas/.cargo/registry/src/github.com-1ecc6299db9ec823/swc_ecma_codegen-0.109.0/src/lib.rs:84:5
   |
84 |     #[emitter]
   |     ^^^^^^^^^^
   |     |
   |     expected 2 generic arguments
   |     supplied 1 generic argument
   |
note: struct defined here, with 2 generic parameters: `W`, `S`
  --> /Users/niklas/.cargo/registry/src/github.com-1ecc6299db9ec823/swc_ecma_codegen-0.109.0/src/lib.rs:68:12
   |
68 | pub struct Emitter<'a, W, S: SourceMapper>
   |            ^^^^^^^     -  -
   = note: this error originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info)
help: add missing generic argument
   |
84 |     #[emitter], S
   |               +++

cargo update -p swc_ecma_codegen_macros or cargo update -p swc_ecma_codegen will fix it

Can confirm, thanks 👍


Animation Using C++

I can make animation of moving car animation using C++.I am proficient in C++ and 3 star in codeshef , please assign it to me

I wish to contribute. Kindly assign this to me.


Undocumented property "comment"

There is an undocumented property "comment" in d.rb

I've added this to the readme. Thanks for the report


Is there any idea about tackling the split / merge situation

thank you very much~

Hello, since there is no annotation for the split/merge type in CULane and TuSimple, we do not deal with this case separately. According to our test results, GANet can correctly predict the line near the vehicle for these cases.
As for these cases you show, you can try reducing cluster_thr in test config to shorten the clustering range, or retrain the model by redefining the starting points which are farther away.

Hello, since there is no annotation for the split/merge type in CULane and TuSimple, we do not deal with these cases separately. According to our test results, GANet can correctly predict the line near the vehicle for these cases.
As for the cases above, you can try reducing cluster_thr in test config to shorten the clustering range or retrain the model by redefining the starting points which are farther away.


Responsiveness of card modified a little bit

A site is indeed responsive but there were certain breakpoints that were missed so i tried my best to fix those issues. If this needs any improvement please let me know.

A site is indeed responsive but there were certain breakpoints that were missed so i tried my best to fix those issues. If this needs any improvement please let me know.

Nice work to make the contact page responsive. The Home Page needs a fix too


Add warning about project status in README

It's time to be honest about the reality of my available time for this project, which is pretty much none. :'(
I'd be happy to help coach anybody who wants to drop in and pick up the maintainer role for this plugin!

Hey Paul, we at Imagine Easy use vagrant landrush in our projects - I would love to help or take over here, if you want me to. Whats the best way to discuss this?

Hi @fh, you can shoot me an email via the address on my GitHub profile and we can talk!

I'm super swamped at the moment too. But I hope to find some time before Christmas - if I do I'll go through some tickets and try to work on the most pressing issues.
What I think would be great is to have some acceptance tests, because a lot of the problems are dependent on the host or guest OS' particularities. You have some thoughts? -> https://github.com/phinze/landrush/issues/136


Add a Tokenizer to Azure OpenAI

Today the Azure OpenAI module does not have its own Tokenizer. It actually uses the OpenAI one during its test phase (langchain4j-open-ai dependency in test scope).
This PR is for Azure OpenAI to have its own Tokenizer. Not just for test purposes (this PR removes the dependency to langchain4j-open-ai) but also Azure OpenAI can be used for RAG without the need of the OpenAITokenizer.
For that I had to change all the ModelName classes (AzureOpenAiChatModelName, AzureOpenAiEmbeddingModelName...) to add the model name (eg. gpt-35-turbo-0301), the model type (eg. gpt-3.5-turbo, notice the dot . in 3.5) and version.
The AzureOpenAiTokenizer is a copy/paste from OpenAiTokenizer.
All AzureOpenAiTokenizerTest tests pass.
I need some help with AzureOpenAiTokenizerIT.  It uses the ChatCompletionModel modelName which has dots . in the names
dev.ai4j.openai4j.chat;

public enum ChatCompletionModel {

    GPT_3_5_TURBO("gpt-3.5-turbo"),

So the deploymentName is not valid for Azure OpenAI. I am incline to use AzureOpenAiChatModelName instead of ChatCompletionModel but just want to know if it's the right approach
    void should_count_tokens_in_messages(List<ChatMessage> messages, ChatCompletionModel modelName) {

        // given
        AzureOpenAiChatModel model = AzureOpenAiChatModel.builder()
                .endpoint(System.getenv("AZURE_OPENAI_ENDPOINT"))
                .apiKey(System.getenv("AZURE_OPENAI_KEY"))
                .deploymentName(modelName.toString())
                .maxTokens(1) // we don't need outputs, let's not waste tokens
                .logRequestsAndResponses(true)
                .build();
}

General checklist

[x] There are no breaking changes
[x] I have added unit and integration tests for my change
[x] I have manually run all the unit and integration tests in the module I have added/changed, and they are all green
[ ] I have manually run all the unit and integration tests in the core and main modules, and they are all green

[ ] I have added/updated the documentation
[ ] I have added an example in the examples repo (only for "big" features)

@agoncal thanks a lot!

I am incline to use AzureOpenAiChatModelName instead of ChatCompletionModel but just want to know if it's the right approach

Sounds good.
BTW, OpenAiTokenizer/OpenAiTokenizerIT are probably a bit outdated.
We need to revisit them again and check if is really needed any maybe they can be simplified.
Why OpenAiTokenizer was created in the first place and how it can be helpful:

calculate tokens in streaming mode. For a long time OpenAI did not provide token usage information when streaming, but now it does, so it becomes less important.
estimate request cost before doing the request. Not sure how needed this feature is right now, I don't have any feedback about it.
split text for RAG. As context sizes increase, it becomes less important to split documents and to be very precise about token calculation in this case. 1 word/symbol = N tokens might be a reasonable approximation going forward.

Wow @agoncal I wanted to code this too, but it seemed a ton of work, so happy you did this! It seems complicated to have a correct estimation here, but as commented by @langchain4j it seems less important today.

@langchain4j I changed the model names so it uses the Azure ones. But this is difficult to test due to the combination of models. I only managed to have one test pass with GPT 3.5 Turbo. Don't know if it's enough. But as you said, Tokenizers are becoming less important.
Let me know what you think.

@agoncal depends on what this tokenizer is going to be used for, a lot of existing complexity can be removed.
Or we can keep it as it is for the moment and if I will be updating OpenAiTokenizer/tests, I can update this one as well.

@langchain4j yes, it's a copy/paste from OpenAiTokenizer, so if OpenAiTokenizer is updated, then we will update this one. It's just so Azure OpenAI does not depend on OpenAI and can have its own tokenizer, mostly for RAG purpose.


animationend triggered after widget disposal generates error

If the widget got disposed before the animationend event gets fired, an Error: Object is disposed will be shown.
To fix this, one could verify whether the object was disposed before triggering animationend. Are there any other event types which could be fired on a disposed widget?

I think we should generally drop incoming operations for disposed widgets.


Update Python versions. Refs #62

Coverage remained the same at 99.431% when pulling c3655227770564d6f96b494ea3a6ac881aaa508a on 62_versions into a49d070aaca589a7f082d60ee6a844bb98481a51 on DEV_0.6.0.


Migrate to CSS-in-JS

Any recommendation to migrate to CSS-inJS solutions like chakra-ui I'm currently using in the rest of my codebase?
Does it sound interesting to do this work for the community?

Welcome @arnaudjnn! This sounds really interesting! Here are my quick thoughts on this:

This project currently uses the exact stylesheets as the Ghost Casper theme. That way I can assure it looks the same as the original and new updates can be incorporated by just updating the style sheets. With any CSS-inJS solution this property will be lost. Thus, I would rather open a new project than trying incorporate that here.

I am open to opening a new variant of this project that uses an CSS-inJS solution. I would very much prefer to use TailwindCSS. My prerequisites for such a project would be a) A concept on how to easily swap themes which I think is not trivial especially for CSS-inJS solutions and b) A new theme which doesn't depend on Ghost Gasper, probably even simpler in styling so it is more a base theme for customized solutions.

Welcome @arnaudjnn! This sounds really interesting! Here are my quick thoughts on this:

This project currently uses the exact stylesheets as the Ghost Casper theme. That way I can assure it looks the same as the original and new updates can be incorporated by just updating the style sheets. With any CSS-inJS solution this property will be lost. Thus, I would rather open a new project than trying incorporate that here.

I am open to opening a new variant of this project that uses an CSS-inJS solution. I would very much prefer to use TailwindCSS. My prerequisites for such a project would be a) A concept on how to easily swap themes which I think is not trivial especially for CSS-inJS solutions and b) A new theme which doesn't depend on Ghost Gasper, probably even simpler in styling so it is more a base theme for customized solutions.

Hello @styxlab,
Really enjoy what you've done here and totally agree with the fact you want to keep the same Casper stylesheet to keep the last updates.

Hello @styxlab,
Really enjoy what you've done here and totally agree with the fact you want to keep the same Casper stylesheet to keep the last updates.

This project is a front-end replacement for headless Ghost, so you can quickly publish your blog sites statically (in fact hybrid) to a global CDN giving exceptional performance and security. As original Ghost, this is blog focused, maybe with some page additions like an About or Contact page. That way, the front-end is 100% React and no Handlebars is needed anymore.
If you already run a website and just want to add a blog to it, then keeping your blog separate from your main site is a good thing. Separating concerns is a successful pattern and I would not integrate your site and the blog into one Next.js app. This is not a website starter, but a blog starter.

This project is a front-end replacement for headless Ghost, so you can quickly publish your blog sites statically (in fact hybrid) to a global CDN giving exceptional performance and security. As original Ghost, this is blog focused, maybe with some page additions like an About or Contact page. That way, the front-end is 100% React and no Handlebars is needed anymore.
If you already run a website and just want to add a blog to it, then keeping your blog separate from your main site is a good thing. Separating concerns is a successful pattern and I would not integrate your site and the blog into one Next.js app. This is not a website starter, but a blog starter.

I am closing this for now. If you want to kick-off a new project, you can contact me on twitter.

I am closing this for now. If you want to kick-off a new project, you can contact me on twitter.


fixed BUG:Footer Section #931

The footer is not well coded some text are very small and they are not aligning well. Kindly assign this issue to me under relevant tags (fixed this by maintaining consistency through out the footer)
Related Issue
Fixes: #931
Description
This pull request addresses the inconsistency in the footer section. It fixes alignment issues and ensures text sizing is uniform throughout the footer for better readability and presentation. The improvements maintain a consistent design across the footer.
Type of PR

[x] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos

Checklist:

[x] I have made this change from my own.
[ ] I have taken help from some online resources.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

@amanreddy77 Your pull request has been successfully merged! Don't stop here—continue contributing by addressing more issues and aiming to become a top contributor. Exclusive swag awaits for those who go the extra mile!
Great contribution ! 🎉


how to use behind GWF in CHINA?

**I have already install with npm,but on the page "http://<IP_ADDRESS>:8000/",I cant download apktool\adb,I think it nodejs is not use proxy. How cat I use the proxy? The console return** (node:15575) UnhandledPromiseRejectionWarning: GotError: connect ECONNREFUSED <IP_ADDRESS>:443     at onError (/home/tom/node-v12.20.1-linux-x64/lib/node_modules/dexcalibur/node_modules/got/dist/source/request-as-event-emitter.js:140:29)     at handleRequest (/home/tom/node-v12.20.1-linux-x64/lib/node_modules/dexcalibur/node_modules/got/dist/source/request-as-event-emitter.js:173:17)     at processTicksAndRejections (internal/process/task_queues.js:97:5)     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1144:16) (node:15575) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:15575) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Hi,
thank you for this issue. Unfortunately, it is not possible to configure a proxy during installation with current version :(
I added it to next version v1.0, but it is not yet reeased.
Sorry

Hi,
thank you for this issue. Unfortunately, it is not possible to configure a proxy during installation with current version :(
I added it to next version v1.0, but it is not yet reeased.
Sorry


improve definition of readDepth

Describe the issue with the metadata
It is not clear from the definition exactly what is desired for the readDepth column. Is this the total number of reads? The coverage ("Lander/Waterman equation1 is a method for calculating coverage (C) based on your read length (L), number of reads (N), and haploid genome length (G): C = LN / G")? based on what I have seen in other's annotations, it's probably the former, but I think the latter is really "read depth".

The current definition in the schema is: "Average number of reads obtained" and there is no source.
The NCIT definition also leaves a lot to be desired: https://www.ebi.ac.uk/ols/ontologies/ncit/terms?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FNCIT_C155320

Interested in thoughts from @jaybee84, @ajs3nj!

Based on my previous experience with sequencing cores and folks who have deposited genomic data to the NF Data portal, I think people report the total number of reads for this, e.g. 40M or 20M
The total number of reads (N) is directly proportional to the coverage so it serves the purpose of estimating the coverage from a direct read out of the instrument parameter.
Having said that, I think the current definition in our schema of "Average number of reads obtained" has sometimes caused trouble. For example if an RNAseq experiment has paired-end sequenced samples, does the read depth of 20M mean total number of reads 20M or total number of reads 2X20M = 40M?
Given the above example, I think the NCIT definition is more clear.

Thanks, both. That is helpful.
There's also the practical element to consider: when people are depositing data, they may not yet have actually done anything with the data. In the ideal scenario, they should upload as soon as the data are generated and we don't want to add unnecessary barriers to that.  We don't currently require people to fill this term in so maybe that's alright.
I guess we should pick one of the above options (total # of reads, bedtools coverage, Lander/Waterman eqn) and clearly define which of these we are asking for.
@jaybee84 , when you are reprocessing data with nf-core pipelines, is bedtools coverage run? (looks like maybe yes for nf-core/rnaseq, and samtools stats for coverage info stats in nf-core/sarek?)

If that is the case, maybe we can just say - the coverage output from bedtools coverage or samtools stats, and then assume most people will not provide this information, and then we can add it on our end when we reprocess.

when you are reprocessing data with nf-core pipelines, is bedtools coverage run? (looks like maybe yes for nf-core/rnaseq, and samtools stats for coverage info stats in nf-core/sarek?)

The following have been used for coverage estimation during nf-core processing so far:
RNAseq = bedtools + QualiMap
Sarek = QualiMap

I guess we should pick one of the above options (total # of reads, bedtools coverage, Lander/Waterman eqn) and clearly define which of these we are asking for.

Many of the researchers who are uploading genomic data may not have processed the data to know the exact coverage stats since they are not the ones processing the data or have not yet processed the data. But they will always know the total number of reads since that is an instrument parameter that is provided by the sequencing core.
So for  dataType == raw  having total number of reads is advisable. I would highly recommend keeping this in and maybe even making it mandatory because:

This is readily available because it is stipulated when sequencing order is placed
This is a crude estimate of the coverage and someone who is browsing the files may use this as a deciding factor in whether someone would want to download the file and process it on their end or not. e.g. If some has 10 samples that they sequenced at 40M reads and is looking to add some publicly available data to their dataset, they might not want to download a file that was sequenced at 20M reads.
This will be important metadata for the files that may not be processed in-house by us.

For dataType == processed i.e bams or vcfs  having coverage or Lander/Waterman eqn stats would be appropriate. This would be bit more involved to get, AFAIK mostly the MultiQC reports read this info in and visualize it for the users.

So for dataType == raw having total number of reads is advisable. I would highly recommend keeping this in and maybe even making it mandatory because:

Also would recommend having read length  as a mandatory column for raw data. This is also available readily at the time of placing the sequencing order and important for coverage calculation.

I am reopening this because I think we can improve this further. Thanks all for the comments.
In the current version of the schema we have defined readDepth as the output of  samtools or other tools that calculate the coverage, since that seems to be most precise, and since we can provide this information from our end.

[ ]  Improvement to implement: set this as required for processed 'omic data.

To address @jaybee84's comments, perhaps we should should add two other columns:

[ ] add TotalReads, (from the HTAN data model?), to more precisely describe what we are looking for and require this for raw genomic data only.

[ ] add TargetDepth (from the HTAN data model?) which simply asks for the goal depth, not actual, which is probably a reasonable estimate in most cases

Notably, HTAN does not require any of these, they are optional. https://data.humantumoratlas.org/standard/bulkrnaseq

Closed by https://github.com/nf-osi/nf-metadata-dictionary/pull/166


Remove old instructions valid for ant only from README

Description
Remove left overs from the old ant based setup description
Motivation and Context
We are using Gradle now
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the code style of this project.
[x] I have updated the documentation accordingly.

Even though the instructions are Ant-specific, it looks like we might need a way to execute a test suite without internet connectivity. I'm not sure how to do that so we don't forget to add the instructions.
Should we create a Bugzilla for it?

Created a Bugzilla entry to remind us about creating the missing docs (Bug 63823).


Benchmarking GitHub PRs on request

Are you still planning to implement this feature :) ? Since it is the last "killer feature" I'm missing, I thought I might as well create an issue for it.

Yes, we are. I've already started working on it on the github branch, although I'm still trying to figure out how to reliably detect new comments.

You've probably thought much harder about this already than I have, but I'm curious why you moved away from the original proposal of using a GitHub Action for that.

With actions it may be easier to detect new messages, but they are a new environment to program for, setup requires changes to every repo, and (since benchmarks may take quite a long time) would probably need to run for a while. Also, actions can easily become outdated and updates would have to be applied to every repo that uses them.
Implementing this in the VelCom server means that setup is simpler and doesn't affect the tracked repo (just get an api token from github for the bot account and set it for the repo, no need for github secrets etc.) and updates don't require changes in the tracked repo either. Interacting with the GitHub API to send messages is also not really difficult. However, certain interactions (reliably detecting new comments/commands) become a bit more annoying.


Some questions about the MRR of the experimental results

Hello, May I ask if the experimental results of EPFO queries are only trained on EPFO queries(1p.2p.3p.2i.3i.ip.pi.2u.up)?
And are the results of the experiment on negative queries trained on the full FOL queries or just the queries that contains only negation operations(2in.3in.inp.pin.pni)? Looking forward to your reply!

You are correct.
They EPFO queries are trained only with EPFO queries.
While the set including negative queries are trained with all queries.
This is done to compare fairly with our baselines.


Avoiding no-ops with onStripeReady

Hello everyone!
I have a working credit card implementation in place which uses react-stripe-elements.  Everything works great, but I am seeing no-ops if a user navigates to another page before the Stripe elements are ready.   Best I can tell, this is due to the setState calls in my handler function and the fact that my component is being unmounted.
This got me to wondering:

Has anyone else experienced this problem?
What would be the correct way to avoid this?
Is there a way to short-circuit or unsubscribe upon unmount? (perhaps something reminiscent of useEffect's cleanup function?)

Here is the exception:
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
    in Checkout (created by ConnectFunction)
    in ConnectFunction (at App.js:36)

I believe this is the culprit prop:
onStripeReady={this.handleStripeReady}
This is my function:
handleStripeReady = StripeElement => {
    this.setState((state, props) => {
      return {
        [StripeElement._componentName]: {
          ...state[StripeElement._componentName],
          ref: StripeElement
        }
      };
    });
  };

Any help or guidance would be greatly appreciated!

I went ahead and created a hook to deal with this.  This encapsulates a lot of the logic that I need to interact with the Stripe elements, determine when they are loaded, when the form is ready, etc.  It also has the ability to disallow state updates (reducer dispatches, in this case) should the user navigate away from the page.
import { useEffect, useRef, useReducer } from 'react';

const useStripe = () => {
  const isCancelled = useRef(false);

  const initialState = {
    cardNumber: { ref: undefined, complete: false },
    cardExpiry: { ref: undefined, complete: false },
    cardCvc: { ref: undefined, complete: false }
  };

  const [state, dispatch] = useReducer((state, action) => {
    switch (action.type) {
      case 'STRIPE_READY':
        return { ...state, [action.name]: { ref: action.ref } };
      case 'STRIPE_CHANGE':
        return {
          ...state,
          [action.name]: { ...state[action.name], complete: action.complete }
        };
      case 'CLEAR_DATA':
        return initialState;
      default:
        return state;
    }
  }, initialState);

  const safeDispatch = (...args) => !isCancelled.current && dispatch(...args);

  const stripeReady = StripeElement => {
    safeDispatch({
      type: 'STRIPE_READY',
      name: StripeElement._componentName,
      ref: StripeElement
    });
  };

  const stripeChange = change => {
    safeDispatch({
      type: 'STRIPE_CHANGE',
      name: change.elementType,
      complete: change.complete
    });
  };

  const clearFields = () => {
    const {
      cardNumber: { ref: cardRef = undefined },
      cardExpiry: { ref: expiryRef = undefined },
      cardCvc: { ref: cvcRef = undefined }
    } = state;

    cardRef && cardRef.clear();
    expiryRef && expiryRef.clear();
    cvcRef && cvcRef.clear();
  };

  const isComplete = () => {
    const {
      cardNumber: { complete: cardComplete = false },
      cardExpiry: { complete: expiryComplete = false },
      cardCvc: { complete: cvcComplete = false }
    } = state;
    return cardComplete && expiryComplete && cvcComplete;
  };

  useEffect(() => {
    return () => {
      console.log('tearing down');
      isCancelled.current = true;
    };
  }, []);

  return [
    state,
    safeDispatch,
    stripeReady,
    clearFields,
    stripeChange,
    isComplete
  ];
};

export default useStripe;

If anyone else has a better solution, I am all ears.

Closing this as this project has migrated to React Stripe.js as of early 2020, which also has a somewhat different API. If you believe this is still important, please re-open it there.


Migrate primary branch from master to main

See https://github.com/Senzing/stream-loader/issues/283

Pull requests:

https://github.com/Senzing/openshift-demo/pull/19


New extension: TweenGroup

Description
Allows you to create a group of objects with tween behavior, performing tween on all of them.
How to use the extension
You need to create an object with the TweenGroup behavior. Then, you need to register some objects in it with the Register object action.  Then, you just add the wanted tween on the object with TweenGroup behavior and it will also create the same tween on the registered objects.
Checklist

[X] I've followed all of the best practices.
[X] I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
[X] I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

What tier of review do you aim for your extension?
Community (Unreviewed)
Example file
Tween Group Example.zip
Extension file
TweenGroup.zip

Can you help me understand how this extension works compared to using an object group to perform a tween?

Sure.
1 - with it, you can chain tweens with a custom delay. So, for example, you create a group and want that all elements in it do a specific tween with 1s between each element.
2 - you can do tween to relative positions, like, instead of every element goes to X = 40, make all elements add 40 to their current X position

I will have to dig deeper to understand how this works.

This can already be done by putting the tween action inside a
ForEach(Object) event.

On Fri, Apr 7, 2023 at 2:10 PM George @.***> wrote:

Sure.
1 - with it, you can chain tweens with a custom delay. So, for example,
you create a group and want that all elements in it do a specific tween
with 1s between each element.
2 - you can do tween to relative positions, like, instead of every element
goes to X = 40, make all elements add 40 to their current X position
—
Reply to this email directly, view it on GitHub
https://github.com/GDevelopApp/GDevelop-extensions/issues/774#issuecomment-1500605257,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACDX5Q2EMR5IB7X7QH6VWLDXABYCNANCNFSM6AAAAAAUWALKMA
.
You are receiving this because you commented.Message ID:
@.***>

--
Tristan Rhodes

Sure, the source code and example are right above. As for the ForEach(object), yes, but suppose you want to do this a lot of times, the events sheet would be full of events. Also, encapsulating them into a Behavior makes it an easy to use component.

You can't use custom JS freely (that's what the error says).
You have to use the functions in the list or you will be discarded.
If you can't go over that, you will have to add your authorization in here first:
https://github.com/GDevelopApp/GDevelop-extensions/blob/main/scripts/lib/ExtensionsValidatorExceptions.js#L121

Will fix the code and add my authorization.


Adding AV1 support

Adding hpl playready streams
Adding AV1 streams support via options

Sorry I'm confused, what do you mean by

Had accidentally created PR for the parent repo

Do you want me to merge this PR or not?
Looking at the actual commit I'm also not sure it makes sense to add a "Use AV1" setting, when that is already the default according to your own explanation on the settings page. I feel like it would make more sense to have a "Disable AV1" setting, so that the settings are consistent and easier to understand.


Upgraded to sqlparser from 0.46 to 0.47

Simplified version or PR #1568

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

7 of 8 (87.5%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.004%) to 98.362%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core/src/translate/expr.rs
4
5
80.0%

Totals

Change from base Build<PHONE_NUMBER>4:
0.004%

Covered Lines:
55603

Relevant Lines:
56529

💛  - Coveralls

Perfect! Getting started on 0.47->0.48, I see that they changed breaking things also there.


Codeclimate sass linting

This PR is to enable sass linting on code climate.
PT: https://www.pivotaltracker.com/story/show/136212771

@chalettu can you address the CC issues?

\


Is there an option to load locally stored files (e.g. from indexedb as strings) into a xyz source

Hey there,
is there an option to load locally stored files (e.g. from indexedb as strings) into a xyz source? As of now it's possible to provide a template url but I need an option to provide data directly depending on coordinates given.
Something like:
tileUrlOffline(coordinate: Array<string>) {
        return this.mapSettings[this.activeMap].tiles.find(
          (tile) =>
            tile.id ===
            `OSM_${coordinate[0]}_${coordinate[1]}_${-coordinate[2] - 1}`
        )
      },
`

Would it help to pass-through a tileLoadFunction? Have a look at OpenLayers source:
https://openlayers.org/en/latest/apidoc/module-ol_source_XYZ-XYZ.html

I will close this issue for now, since there was no response. @AlexanderBrese please share your solution if you were able to fix it. I think tileLoadFunction should do the trick.


Added awesome-deployment

Please read the instructions for creating a new list, contributing guidelines and the awesome manifest.
Especially this part:

Wait at least a couple of weeks after creating a list before submitting to give it a chance to mature.

Ping me here in a few weeks and I'll reopen ;)

Also keep in mind that good lists don't just contain a random list of libs, but also other kind of content like tutorials, videos, useful services, etc.


Missing context when bringing app to foreground from tile notification on UWP

Expected Behaviour
According to this post https://github.com/phonegap/phonegap-plugin-push/issues/1033#issuecomment-238237978, the recommended implementation for reacting to clicking on a tile notification on UWP is to add a document listener for "activated". The app should come to foreground, the method should be called, and the push data can be processed.
Actual Behaviour
The app comes to foreground, the method is called, but we cannot make a reference to the existing app resp. "this" has no reference to the existing app when using Ionic 2 / Angular.
Reproduce Scenario (including but not limited to)
Steps to Reproduce

Register phone for push
Send app to background
Send Push via WNS
Click on tile notification

Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Windows Phone 10
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Nokia Lumia 640
Cordova CLI version and cordova platform version
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.0.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.9.3
Xcode version: Not installed
Plugin version
phonegap-plugin-push 1.9.2 "PushPlugin"
Sample Push Data Payload
<?xml version="1.0" encoding="utf-8"?>
                        <toast '.TemplateToast::SoundDuration($sound).' launch="{"type":"job","title":"Title","message":"Body"}">
                            <visual>
                                <binding template="ToastText02">
                                    <text id="1">Title</text>
                                    <text id="2">Body</text>
                                </binding>
                            </visual>'.$sound.'
                        </toast>

Sample Code that illustrates the problem
document.addEventListener('activated', this.onActivated, false);

  onActivated(context)
  {
    var launchArgs = context ? context.args : null;

    if (launchArgs)
    {
      console.debug("Lauch via tile WNS message ", context);

      //let data : { additionalData : { foreground : boolean}, title : string, message : string};
      let data : any = {};
      data.additionalData = {};
      data.additionalData.foreground=true;

      let info = JSON.parse(launchArgs);
      data.title = info.title;
      data.message = info.message;
      data.additionalData.type = info.type;

      this.tempPush = data;

      //this line crashes, makes first reference to "old" app context
      this.handlePush(this.tempPush);

   }

  }

Logs taken while reproducing problem
Lauch via tile WNS message  [object Event]
main.js (47122,13)
   "Lauch via tile WNS message "
   {
      [functions]: ,
      __proto__: { },
      activatedOperation: { },
      args: "{"type":"job","title":"Title","message":"Body"}",
      arguments: "{"type":"job","title":"Title","message":"Body"}",
      AT_TARGET: 2,
      bubbles: false,
      BUBBLING_PHASE: 3,
      cancelable: false,
      cancelBubble: false,
      CAPTURING_PHASE: 1,
      currentlyShownApplicationViewId:<PHONE_NUMBER>,
      currentTarget: null,
      defaultPrevented: false,
      detail: [ ],
      eventPhase: 0,
      isTrusted: false,
      kind: 0,
      prelaunchActivated: false,
      previousExecutionState: 1,
      raw: { },
      returnValue: true,
      splashScreen: { },
      srcElement: null,
      target: null,
      tileId: "xxx",
      timeStamp:<PHONE_NUMBER>114,
      type: "activated",
      user: { }
   }

SCRIPT438: Exception is about to be caught by JavaScript library code at line 47132, column 13 in ms-appx-web://xxx/www/build/main.js
0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'handlePush'
main.js (47132,13)

Workaround for now: Store data in Pouchdb and read from notify the "original" app via Obserable about the new data. However, just a workaround.

Closing, inactivity. Please comment/re-open if you have more details.


Issue with empty test data that causes mismatched diff

--- FAIL: Test_Multiplexer_Reader/da39a3ee5e6b4b0d3255bfef95601890afd80709 (0.00s)
plex_test.go:78: byte mismatch
[]uint8(
-   nil,
+   {},
)

found while executing go test -cpu=55,99 -race -count=1000 -failfast -run ./...

This likely affects multiple methods


Guidance for checkpointing and concurrency in Event Hubs

Add guidance for using processEventBatch vs processEvent
Document the difference between balanced and greedy load balancing, related parameters, and their impact on storage calls.

Create guidance for when to checkpoint Event Hubs for Azure storage because it may take several seconds to checkpoint to storage.

Documentation (update) on the EH credit flow the impact of user application blocking calls on credit placement.
Revisit the documentation related to concurrency (EH, SB) and ensure it has the necessary information that CX is looking for.

@yiliuTo this would be very useful to our customers, we should link the content to our doc as well once this issue is resolved


New version: B3log.SiYuan version 2.12.6

Pull request has been created with komac v2.0.2 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

2024-01-30T07:42:42.6758230Z ##[error] Manifest Error: The multi file manifest has inconsistent field values. [PackageVersion] Value: 2.12.5 File: B3log.SiYuan.locale.zh-CN.yaml

(Automated response - build 677.)


Neovide doesn't use the configured font

I am using the nightly builds for neovim and I have this on my init.lua
vim.cmd("source ~/.config/nvim/lua/extensions/neovide/init.vim")

This file contains the following command
set guifont=FiraCode\ Nerd\ Font\ SemiBold:h18

However the nerd font icons still won't appear

Try removing SemiBold from the line

thank you @PyGamer0 !


Add nextFetchPolicy arg for Extend.use()

This argument has been missed from PPX'ed .use()

Thanks!

Published in 2.1.1. Thanks again!


Adds an :on_hit argument for caches_action which accepts a string/symbol/proc and calls it on a cache hit before render

This PR provides an easy way to provide a callback hook when caches_action returns a cache hit. We needed this to be able to set a Etag response header on cache hit via fresh_when.

:+1:


Fix jsDoc to allow @exception tag on ECMAScript 5 properties...

Documenting an exception on an ES5 property changes the property type to the exception type.  In the below example, aValue shows up in the generated doc as type DeveloperError, instead of type Element.  Removing the exception doc makes the problem go away.
/**
 * Gets or sets a value
 * @memberof MyClass.prototype
 * @type {Element}
 * @exception {DeveloperError} an error!
 */
aValue : {
    get : function() {
        return this._value;
    },
    set : function(value) {
        if (typeof value === 'undefined') {
            throw new DeveloperError('an error!');
        }
        this._value = value;
    }
}

Does anyone know if this is still an issue?

Upgrading to the latest JSDoc should fix this, https://github.com/AnalyticalGraphicsInc/cesium/issues/1859#issuecomment-285692183
For a test case, check http://cesiumjs.org/releases/1.34/Build/Documentation/Model.html?classFilter=Model#boundingSphere

Can this issue be closed? I can reconfirm @bampakoa's comment on #1859 that the problem is no longer present; I generated a test doc page using JSDoc 3.6.11 (the version my NPM resolved to from the version requirements of the package.json in the main branch) and the configuration found in Tools/jsdoc/conf.json.


Use global Cat

Use global default CatLogger to allow overriding loggers. Useful to redirect logs to crashlytics logger for example

Thanks a lot for the pull request. Unfortunately, it has some problems which aren't your fault. If I could change my decision again, then I wouldn't use the Cat library today. Although it's convenient to use, it doesn't work well with Proguard.
If I receive bug reports, then I need to know from where the log statement are coming from. That's why it's necessary to have a concrete logging tag instead of relying on the Cat class. Some users repackage their classes and move all of them into the default package, meaning that no class has a package. That makes the global Cat class completely useless.
However, your pull request showed me all the flaws when it comes to logging in the library. I've addressed those issues in my own pull request #163. I'd appreciate if you could give it a try and reply in the pull request whether this works for you or not.
I'm really sorry to decline your pull request. Thanks for the work!

Ok thanks for the explanation, and no worries, I understand.
A few points to explain my choice instead of adding a method to add a printer:

You provide proguard consumer rules, so I assumed that it's ok to rely on Cat library auto tags (I am not a big fan of this technique though).
Also, for bug reports, I think it's the reporter responsibility to provide deobfuscated stack traces.

I will take a look into your new PR and let you know.
Thanks

The bundled proguard consumer file only contains to minimal required rules. There is no reason to not allow repackaging if someone wants to do that.
Yes, I agree that it's the reporter's responsibility. But I often see myself even bagging for an obfuscated log :)


.

Error: 'choices'
E :  {
"error": {
"message": "You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.",
"type": "insufficient_quota",
"param": null,
"code": "insufficient_quota"
}
}
Hacx:  None

Your API key is no longer valid. To continue using our services, please upgrade to an OpenAI premium account or create a new account with a different email and phone number.


Fixed kubectl issue. (GitLab #22) - [merged]

In GitLab by @arisilon on Oct 29, 2019, 11:21
Merges arisilon/issue-22 -> master

In GitLab by @arisilon on Oct 29, 2019, 11:21
enabled an automatic merge when the pipeline for 37e8e77d3dcbcb8cc140fabff21b0c9d20e6fd32 succeeds

In GitLab by @arisilon on Oct 29, 2019, 11:25
merged

In GitLab by @arisilon on Oct 29, 2019, 11:25
mentioned in commit 00a6e7a67aa91eb4806e33d18b3d970aea8c4e3b


Locust pure python RPC not working in distributed mode (this makes, message seem confusing)

Description of issue / feature request
Locust (0.8.1 and previous) have pure Python socket RPC implementation installed when pyzmq is not installed/detected, however the Python socket RPC implementation is not working in distributed mode
OS/app information
~ # cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.4.6
PRETTY_NAME="Alpine Linux v3.4"
HOME_URL="http://alpinelinux.org"
BUG_REPORT_URL="http://bugs.alpinelinux.org"
~ # python --version
Python 3.6.3
~ # locust --version
/usr/local/lib/python3.6/site-packages/locust/rpc/__init__.py:6: UserWarning: WARNING: Using pure Python socket RPC implementation instead of zmq. If running in distributed mode, this could cause a performance decrease. We recommend you to install the pyzmq python package when running in distributed mode.
  warnings.warn("WARNING: Using pure Python socket RPC implementation instead of zmq. If running in distributed mode, this could cause a performance decrease. We recommend you to install the pyzmq python package when running in distributed mode.")
[2017-11-11 21:44:19,464] bc270b92830e/INFO/stdout: Locust 0.8.1
[2017-11-11 21:44:19,464] bc270b92830e/INFO/stdout:

Expected behavior
Either of the below two option

output a non misleading message - indicating pyzmq need to be installed pip install pyzmq for locust to work in distributed mode

~ # locust --host=http://qq.com
/usr/local/lib/python3.6/site-packages/locust/rpc/__init__.py:6: UserError: Error: Need zmq installed to run in distributed mode, pip install pyzmq
  errors.error("Error: Need pyzmq installed to run in distributed mode, please install pyzmp - pip install pyzmq")

throws the warning, and pure python RPC implementation for distributed mode should work as expected

~ # locust --host=http://qq.com --master
/usr/local/lib/python3.6/site-packages/locust/rpc/__init__.py:6: UserWarning: WARNING: Using pure Python socket RPC implementation instead of zmq. If running in distributed mode, this could cause a performance decrease. We recommend you to install the pyzmq python package when running in distributed mode.
  warnings.warn("WARNING: Using pure Python socket RPC implementation instead of zmq. If running in distributed mode, this could cause a performance decrease. We recommend you to install the pyzmq python package when running in distributed mode.")
[2017-11-11 21:46:46,832] bc270b92830e/INFO/locust.main: Starting web monitor at *:8089
[2017-11-11 21:46:46,832] bc270b92830e/INFO/locust.main: Starting Locust 0.8.1

Actual behavior

throws the pure python socket RPC message, and errors out with (module 'gevent' has no attribute 'queue')

~ # locust --host=http://qq.com --master
/usr/local/lib/python3.6/site-packages/locust/rpc/__init__.py:6: UserWarning: WARNING: Using pure Python socket RPC implementation instead of zmq. If running in distributed mode, this could cause a performance decrease. We recommend you to install the pyzmq python package when running in distributed mode.
  warnings.warn("WARNING: Using pure Python socket RPC implementation instead of zmq. If running in distributed mode, this could cause a performance decrease. We recommend you to install the pyzmq python package when running in distributed mode.")
[2017-11-11 21:50:43,430] bc270b92830e/INFO/locust.main: Starting web monitor at *:8089
[2017-11-11 21:50:43,430] bc270b92830e/ERROR/stderr: Traceback (most recent call last):
[2017-11-11 21:50:43,430] bc270b92830e/ERROR/stderr: File "/usr/local/bin/locust", line 11, in <module>
[2017-11-11 21:50:43,431] bc270b92830e/ERROR/stderr:
[2017-11-11 21:50:43,431] bc270b92830e/ERROR/stderr: sys.exit(main())
[2017-11-11 21:50:43,431] bc270b92830e/ERROR/stderr:
[2017-11-11 21:50:43,431] bc270b92830e/ERROR/stderr: File "/usr/local/lib/python3.6/site-packages/locust/main.py", line 439, in main
[2017-11-11 21:50:43,432] bc270b92830e/ERROR/stderr:
[2017-11-11 21:50:43,432] bc270b92830e/ERROR/stderr: runners.locust_runner = MasterLocustRunner(locust_classes, options)
[2017-11-11 21:50:43,433] bc270b92830e/ERROR/stderr:
[2017-11-11 21:50:43,433] bc270b92830e/ERROR/stderr: File "/usr/local/lib/python3.6/site-packages/locust/runners.py", line 247, in __init__
[2017-11-11 21:50:43,433] bc270b92830e/ERROR/stderr:
[2017-11-11 21:50:43,434] bc270b92830e/ERROR/stderr: self.server = rpc.Server(self.master_bind_host, self.master_bind_port)
[2017-11-11 21:50:43,434] bc270b92830e/ERROR/stderr:
[2017-11-11 21:50:43,434] bc270b92830e/ERROR/stderr: File "/usr/local/lib/python3.6/site-packages/locust/rpc/socketrpc.py", line 74, in __init__
[2017-11-11 21:50:43,435] bc270b92830e/ERROR/stderr:
[2017-11-11 21:50:43,435] bc270b92830e/ERROR/stderr: self.event_queue = gevent.queue.Queue()
[2017-11-11 21:50:43,435] bc270b92830e/ERROR/stderr:
[2017-11-11 21:50:43,435] bc270b92830e/ERROR/stderr: AttributeError
[2017-11-11 21:50:43,435] bc270b92830e/ERROR/stderr: :
[2017-11-11 21:50:43,436] bc270b92830e/ERROR/stderr: module 'gevent' has no attribute 'queue'
[2017-11-11 21:50:43,436] bc270b92830e/ERROR/stderr:

Environment settings (for bug reports)

OS: Alpine Linux 3.4.6
Python version: 3.6.3
Locust version: 0.8.1

Steps to reproduce (for bug reports)
locustfile.py
from locust import HttpLocust, TaskSet

def index(l):
    l.client.get("/")

class UserBehavior(TaskSet):
    tasks = {index: 1}

class WebsiteUser(HttpLocust):
    task_set = UserBehavior

run in python:latest container
| ~ @ 192-168-1-5 [zeyuye]
| => docker run -it --rm python bash
root@a20b29169550:/# cd
root@a20b29169550:~# pip install locustio
root@a20b29169550:~# echo 'from locust import HttpLocust, TaskSet
>
> def index(l):
>     l.client.get("/")
>
> class UserBehavior(TaskSet):
>     tasks = {index: 1}
>
> class WebsiteUser(HttpLocust):
>     task_set = UserBehavior' > locustfile.py
# remove pyzmq
root@a20b29169550:~# pip uninstall pyzmq
Uninstalling pyzmq-16.0.3:
  /usr/local/lib/python3.6/site-packages/pyzmq-16.0.3.dist-info/DESCRIPTION.rst
...
  /usr/local/lib/python3.6/site-packages/zmq/utils/zmq_constants.h
Proceed (y/n)? y
  Successfully uninstalled pyzmq-16.0.3
root@a20b29169550:~# locust --host=http://qq.com --master
/usr/local/lib/python3.6/site-packages/locust/rpc/__init__.py:6: UserWarning: WARNING: Using pure Python socket RPC implementation instead of zmq. If running in distributed mode, this could cause a performance decrease. We recommend you to install the pyzmq python package when running in distributed mode.
  warnings.warn("WARNING: Using pure Python socket RPC implementation instead of zmq. If running in distributed mode, this could cause a performance decrease. We recommend you to install the pyzmq python package when running in distributed mode.")
[2017-11-11 22:15:50,104] a20b29169550/INFO/locust.main: Starting web monitor at *:8089
[2017-11-11 22:15:50,106] a20b29169550/ERROR/stderr: Traceback (most recent call last):
[2017-11-11 22:15:50,108] a20b29169550/ERROR/stderr: File "/usr/local/bin/locust", line 11, in <module>
[2017-11-11 22:15:50,110] a20b29169550/ERROR/stderr:
[2017-11-11 22:15:50,112] a20b29169550/ERROR/stderr: sys.exit(main())
[2017-11-11 22:15:50,113] a20b29169550/ERROR/stderr:
[2017-11-11 22:15:50,114] a20b29169550/ERROR/stderr: File "/usr/local/lib/python3.6/site-packages/locust/main.py", line 439, in main
[2017-11-11 22:15:50,117] a20b29169550/ERROR/stderr:
[2017-11-11 22:15:50,118] a20b29169550/ERROR/stderr: runners.locust_runner = MasterLocustRunner(locust_classes, options)
[2017-11-11 22:15:50,119] a20b29169550/ERROR/stderr:
[2017-11-11 22:15:50,120] a20b29169550/ERROR/stderr: File "/usr/local/lib/python3.6/site-packages/locust/runners.py", line 247, in __init__
[2017-11-11 22:15:50,121] a20b29169550/ERROR/stderr:
[2017-11-11 22:15:50,122] a20b29169550/ERROR/stderr: self.server = rpc.Server(self.master_bind_host, self.master_bind_port)
[2017-11-11 22:15:50,123] a20b29169550/ERROR/stderr:
[2017-11-11 22:15:50,124] a20b29169550/ERROR/stderr: File "/usr/local/lib/python3.6/site-packages/locust/rpc/socketrpc.py", line 74, in __init__
[2017-11-11 22:15:50,127] a20b29169550/ERROR/stderr:
[2017-11-11 22:15:50,128] a20b29169550/ERROR/stderr: self.event_queue = gevent.queue.Queue()
[2017-11-11 22:15:50,130] a20b29169550/ERROR/stderr:
[2017-11-11 22:15:50,134] a20b29169550/ERROR/stderr: AttributeError
[2017-11-11 22:15:50,135] a20b29169550/ERROR/stderr: :
[2017-11-11 22:15:50,137] a20b29169550/ERROR/stderr: module 'gevent' has no attribute 'queue'
[2017-11-11 22:15:50,138] a20b29169550/ERROR/stderr:

found a related article https://stackoverflow.com/questions/10505820/python-and-gevent-attributeerror-module-object-has-no-attribute-queue

output a non misleading message -
indicating pyzmq need to be installed

the warning seems fine to me... what is misleading about it?
... and it already reccomends you install pyzmq.
It's a missing import, as described in #302
https://github.com/locustio/locust/issues/302#issuecomment-343603023

@cgoldberg , it's misleading/confusing under the circumstance when pure python rpc implementation under is not working properly.
i propose two different expected behaviour (we can pick one, my preference is the second one)

don't use pure python rpc implementation, throws error instead of warning, when pyzmq is not installed/detected
implement pure python rpc correctly, under this circumstance we can throw a warning about pyzmp not installed/detected

I believe the module 'gevent' has no attribute 'queue' error can be fixed by adding the below line
import gevent.queue

to this file https://github.com/locustio/locust/blob/0.8/locust/rpc/socketrpc.py#L3

also did notice the latest master branch seem to have already abandoned pure python rpc

closing

@cgoldberg the 0.8 branch still have this issue, most pip install locustio will install the 0.8 version. it's missing a import gevent.queue, i've submitted a pull request https://github.com/locustio/locust/pull/681

0.8 branch still have this issue

yup... it seems the rpc code removal was merged to master after 0.8 was tagged and released.


SOLR-17272: PerReplicaState: Replica "state" and "leader" are still i…

@noblepaul is this merged in upstream?

yes, it is


[web] SignOut from Google Oauth does not clear the last authenticated account

Describe the bug
After sign out from a Google Account and try to login with another Google account it authenticates with the last account and don't allow the user to select another one.
To Reproduce
Steps to reproduce the behavior:

Login using Google OAuth: await supabase.auth.signInWithOAuth(OAuthProvider.google);
Fill your google credentials;
Sign out: supabase.auth.signOut(scope: SignOutScope.local)
Login again: await supabase.auth.signInWithOAuth(OAuthProvider.google);
The google authentication form is skipped and you are automatically logged in with the last account

Expected behavior
The user should have the ability to login with another account.
After you logout from a Google Account and try to login again you should be asked to fill the Google credentials again;
Version (please complete the following information):
├── supabase_flutter 2.8.1
│   ├── supabase 2.6.0
│   │   ├── functions_client 2.4.0
│   │   ├── gotrue 2.11.0
│   │   ├── postgrest 2.4.0
│   │   ├── realtime_client 2.4.0
│   │   ├── storage_client 2.2.0

I think this is a duplicate of #1015 , because you have to sign out from the google package manually as well.

Call .signOut() from google_sign_in didn't resolve the problem (I'm not using supabase_auth_ui, only supabase_flutter)


Error building for iOS in a project that contains iOS Widget Extension

Describe the bug
Hi, I am trying to install patrol following the setup instructions in the regular and native setup pages. I have faithfully followed them, but come across an error that relates to a widget (see references in logs for "Fact of the day")  in my app, which should not relate to the tests at all.
Expected behavior
Trying to run the example test successfully
Device information

Device: iPhone 14 Pro Simulator
OS version: 16.2
Does it also both on physical and virtual devices? Yes

Additional information

Flutter 3.3.10 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 135454af32 (7 weeks ago) • 2022-12-15 07:36:55 -0800
Engine • revision 3316dd8728
Tools • Dart 2.18.6 • DevTools 2.15.0

patrol: ^0.10.8

patrol_cli v0.8.5

Command and Logs (Verbose is too long for github)
patrol test --target integration_test/onboarding/patrol_integration_test.dart
No device specified, using the first one (iPhone 14 Pro)
• Building app for patrol_integration_test.dart and running it on C52D2067-07D6-4C73-ADC2-2C4EEA6A7E71...
Testing failed:
Undefined symbol: _FlutterEndOfEventStream
Undefined symbol: _FlutterMethodNotImplemented
Undefined symbol: OBJC_CLASS$_FlutterBasicMessageChannel
Undefined symbol: OBJC_CLASS$_FlutterError
Undefined symbol: OBJC_CLASS$_FlutterEventChannel
Undefined symbol: OBJC_CLASS$_FlutterMethodChannel
Undefined symbol: OBJC_CLASS$_FlutterStandardMessageCodec
Undefined symbol: OBJC_CLASS$_FlutterStandardMethodCodec
Undefined symbol: OBJC_CLASS$_FlutterStandardReader
Undefined symbol: OBJC_CLASS$_FlutterStandardReaderWriter
Undefined symbol: OBJC_CLASS$_FlutterStandardTypedData
Undefined symbol: OBJC_CLASS$_FlutterStandardWriter
Undefined symbol: OBJC_METACLASS$_FlutterStandardReader
Undefined symbol: OBJC_METACLASS$_FlutterStandardReaderWriter
Undefined symbol: OBJC_METACLASS$_FlutterStandardWriter
Testing cancelled because the build failed.
** TEST FAILED **
The following build commands failed:
Ld /Users/jacobokoenig/Library/Developer/Xcode/DerivedData/Runner-gparlvfhutgplgblsnpxmmdefaic/Build/Products/Debug-iphonesimulator/Fact\ of\ the\ dayExtension.appex/Fact\ of\ the\ dayExtension normal (in target 'Fact of the dayExtension' from project 'Runner')
(1 failure)
✗ Failed to build apk for patrol_integration_test.dart and run  (46.1s)
Exception: xcodebuild exited with code 65
See the logs above to learn what happened. If the logs above aren't useful then it's a bug – please report it.
FAIL  patrol_integration_test.dart on iPhone 14 Pro

Hi! Sorry for the problem. I've never worked with iOS Widget Extensions, don't know what could be causing this.
Can you share your ios/Podfile and screenshots of your Xcode project settings? (I mean this - below)

(It'd be best if you shared a whole repo so I could play with it, but I understand that it's probably not possible)

Indeed, I can't share the repository but I'm happy to help debug following instructions if you'd like.
Project Settings

Podfile

```
# Uncomment this line to define a global platform for your project
platform :ios, '13.0'
source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/passbase/cocoapods-specs.git'
source 'https://github.com/passbase/microblink-cocoapods-specs.git'
source 'https://cdn.cocoapods.org/'
source 'https://github.com/SumSubstance/Specs.git'
# Enable MRTDReader (NFC) module (sumsub)
ENV['IDENSIC_WITH_MRTDREADER'] = 'true'
CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), FILE)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end
File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
flutter_ios_podfile_setup
target 'Runner' do
use_frameworks!
use_modular_headers!
pod 'web3.swift', :git => 'https://github.com/torusresearch/web3.swift.git', :branch => 'fix/header-collision-openssl-grpc'
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '10.3.0'
flutter_install_all_ios_pods File.dirname(File.realpath(FILE))
end
target 'RunnerUITests' do
inherit! :complete
end
def fix_config(config)
if config.build_settings['DEVELOPMENT_TEAM'].nil?
config.build_settings['DEVELOPMENT_TEAM'] = 'MT4PT6L9Z3'
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
  fix_config(config)
  config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
    '$(inherited)',
    ## dart: PermissionGroup.camera
    'PERMISSION_CAMERA=1',

    ## dart: PermissionGroup.photos
    'PERMISSION_PHOTOS=1',

    ## dart: PermissionGroup.notification
    'PERMISSION_NOTIFICATIONS=1',

    ## dart: PermissionGroup.appTrackingTransparency
    'PERMISSION_APP_TRACKING_TRANSPARENCY=1',
  ]
end

end
end
</pre>
</details>

@bartekpacia I see you've added "bug" on the issue. Can you confirm its not on our side, and let me know when you've had a chance to review it?

I haven't investigated it yet - sorry about that.

No worries, let me know. Looking forward!

@jacobokoenig Could you flutter create a very simple repository demonstrating your problem? I'll be much faster for me to fix it once I have such a minimal, reproducible sample :)

Any update on this? I am also getting error "xcodebuild exited with code 65". This could be unrelated, but it seems to happen when upgrading from cli version 9.2 to 9.3...

@Curosevic Please upgrade the CLi to 1.0.0 (patrol update) and if it persists, create a new issue. Also, include --verbose logs in it :)

@jacobokoenig I am hitting the same issue, with very similar logs. Have you found a way to understand where the issue comes from, and could you come up with a fix it or a workaround?

Closing because of inactivity.
Feel free to open a new issue with all the required information provided, including a minimal, reproducible sample.


DataSource: Capacity

There has previously been data available on hospital capacity (through MyHospitals - see https://www.aihw.gov.au/reports-data/myhospitals/content/api) in terms of beds/ICU beds. Could help form part of an overall picture of system capacity, which would prove a useful overlay but would also have some fuzziness associated with it, as metro ICU is often a destination point for regional when system capacity is exceeded or forecast.

NSW Health system ICU capacity + surge capacity is referenced in https://twitter.com/rajah_mich/status/1427796106126057475?s=21

PDF version of ICU system capacity visible at https://www.nsw.gov.au/sites/default/files/2021-09/Intensive_Care_Capacity.pdf but has not been updated since 25Aug2021

AIHW API: https://www.aihw.gov.au/reports-data/myhospitals/content/api


Toastyderek/mod updates api

This PR create an API endpoint called updates which takes a list of mods and their corresponding versions (presumably, from a script that fetches the user's local mod list) and lists any mods that can be updated and information about the release for each mod.
The API call spec is:
GET api/updates/?mods=mod1@mod1version,mod2@mod2version,...,modN@modNversion
Returns {"statuscode":"400"} if the request is malformed.
The successful API response spec is:
{
    "statuscode": "200",
    "updates": {
        "mod1": {
            "releaseid": mod1releaseid,
            "mainfile": "files\/asset\/1\/{{filename}}.zip",
            "filename": "filename.zip",
            "fileid": mod1fileid,
            "downloads": 0,
            "tags": ["tag1", "tag2", "..."],
            "modidstr": "mod1idstr",
            "modversion": "latestModVersionStr",
            "created": "2023-07-06 21:55:56"
        }
    }
}

thanks!


Suggestion: Add option to configure vein rarity

As the title says, being able to configure how rare veins are would be really helpful.

The weight property in the recipe defines how likely to generate such vein (higher number, less rare). You can also adjust the empty chunk weight in the config (higher number, less veins in the world)


Issue for JuliaRegistrator

@JuliaRegistrator register

Error while trying to register: Register Failed
@giopaglia, it looks like you are not a publicly listed member/owner in the parent organization (aclai-lab).
If you are a member/owner, you will need to change your membership to public. See GitHub Help

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/110419
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 63ec9b6a0705a141eee87e922c2d7ec39c1da6ee
git push origin v0.1.0

@JuliaRegistrator register()

Registration pull request updated: JuliaRegistries/General/110419
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 63ec9b6a0705a141eee87e922c2d7ec39c1da6ee
git push origin v0.1.0

@JuliaRegistrator register()

Registration pull request updated: JuliaRegistries/General/110419
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 093995591ad0d6a0f660123d6cdf2cd025ad3838
git push origin v0.1.0


Chore: context-box restarts when it can't ping MongoDB

Current Behaviour
If context-box can't ping MongoDB as part of its health check it restarts.
Expected Behaviour

Do we want to handle this problem this way? Why should restarting the context-box fix the connection to another party?
Steps To Reproduce
I experienced this when I deployed Claudie on a cluster without the required images. The context-box image got pulled before the Mongo one, therefore the pod with the context-box container was up before the pod with Mongo.
However, you can replicate it even when you prevent Mongo from scheduling.

I think keeping the context-box not ready should be enough because the restart most probably doesn't fix the connection issue.


⚠ Bofrost.lu has degraded performance

In 3fe3b6f, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 827 ms

Resolved: Bofrost.lu performance has improved in 640aa83.


h2spec on a docker image for CI job is too old

I found h2spec on a docker image that is used for our CI Autest job is too old (2.0.0). The latest version (2.6.0) has more tests, so we should update it.
I was about to merge a PR that has an issue, but I luckily found the issue when I ran h2spec locally.

Thank you @maskit for pointing this out.
I've updated the Dockerfile for our Rocky Linux 8 image to use the latest v2.6.0 version. I verified, using that image, that the h2spec AuTest should run and work and use that version:
Running Test h2spec:. Passed

Generating Report: --------------
Total of 1 test
  Unknown: 0
  Exception: 0
  Failed: 0
  Warning: 0
  Skipped: 0
  Passed: 1
[root@43b4f06c021f tests]# h2spec --version
Version: 2.6.0 (70ac2294010887f48b18e2d64f5cccd48421fad1)

This can be verified like so:
docker pull ci.trafficserver.apache.org/ats/rockylinux:8
docker run -it --name test_h2spec ci.trafficserver.apache.org/ats/rockylinux:8 /bin/bash

[root@76f43274dc86 ~]# which h2spec
/usr/local/bin/h2spec
[root@76f43274dc86 ~]# h2spec --version
Version: 2.6.0 (70ac2294010887f48b18e2d64f5cccd48421fad1)

All of our CI machines should now be using that updated image.


[Feature] Printing canvas component

Feature request type
New component
Component name
MudPrintContainer
Is your feature request related to a problem?
I would like to ask if a dedicated component for printing could be added. I want my users to be able to print data using pre-made .razor templates but I am having trouble with that, especially with headers and footers.
Describe the solution you'd like
Something like this:
<MudPrintContainer>
    <MudPrintHeader>
        Header stuff goes here
    </MudPrintHeader>
    <MudPrintContent>
        Content to be printed
    </MudPrintContent>
    <MudPrintFooter>
        Footer stuff goes here
    </MudPrintFooter>
    <MudPrintElement>
        Element is an independent tag that does not get headers or footers, useful for first and last page for example
    </MudPrintElement>
</MudPrintContainer>

The content is to be separated into multiple pages as needed but every page will receive a header and footer of its own.
Have you seen this feature anywhere else?
There are many JS libraries though they are often unsuitable, like PrintJS(dead) and also tools like WeasyPrint and PDFReactor(cloud based and paid) and many others. See: This article and click on the playground link
One of the problems I had with WeasyPrint is there does not seem to be a way to print only a specific element of the page and also it understandably does not support printing blazor pages even with pre-rendering.
Describe alternatives you've considered
For now the only solution for me seems to be using a separate .cshtml template together with WeasyPrint and then returning the resulting pdf file to user, either to download or to preview.
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I recommend you take a look here: QuestPDF.
I like it a lot.

I recommend you take a look here: QuestPDF.
I like it a lot.

How did I not find this before? But I still believe having a component would be helpful. Thank you

Hi.
This is out of scope for MudBlazor. We believe it's better to use external packages for this, since this is way too complex and big development. We also have a policy not to use 3rd party libraries or making wrappes around js(like PrintJS), not even saying that most PDF generators are usually not MIT compatible therefore making our own solution would be too challenging.


MAINT: spatial: reimplement distance_wrap in Cython

Just a straight translation for now, but if someone wants to do memoryviews in spatial.distance, they get a head start.

@@            master   #5763   diff @@
======================================
  Files          235     235
  Stmts        43281   43281
  Branches      8163    8163
  Methods          0       0
======================================
  Hit          33609   33609
  Partial       2598    2598
  Missed        7074    7074

Review entire Coverage Diff as of fc70343

Powered by Codecov. Updated on successful CI builds.

Looks good to me, especially the net change of -773 LOC. We should probably add a benchmark to https://github.com/scipy/scipy/blob/master/benchmarks/benchmarks/spatial.py to make sure we avoid any performance regressions here.

Yeah, I haven't benchmarked anything yet.

@perimosocordiae Is it still true that the corresponding asv benchmarks are missing? I think cdist is covered now, but maybe not pdist yet. So, we need to add the latter to accompany the work here? That should be low-hanging fruit if true (I can probably do it).

Looks like they were added by gh-6702. I think the cdist benchmarks we have now are probably good enough to see the impact of this PR, but I certainly wouldn't argue about adding similar benchmarks for pdist.
For this PR, we just need to rebase and run the existing asv benches.


Snapshot: Catch up Evmos with snapshot

there is a variable in snapshot.sh.j2 called snapshot_profile which I could not figure out how it works. my best guess was that it would be the ssh key. i think it would be good to store this in the defaults/main.yml. let me know