3.0.0

Hi all,
I've just done a big refactor which I think simplifies the usage while making things more explicit and configurable. It also includes other fixes, like supporting the Google Maps API key.
Thought you might want to take a look.
Cheers
Edit: not sure why I made it 3.0.0, must have misread the current version.

:+1:

@SalahAdDin I did. I'll probably pull those static() calls into this PR. This PR is a pretty big refactor and so not really compatible with other PRs.

Oh, then, please pr.

@cavb t Where could we have a new release?

@springloaddeploybot Hey!

@SalahAdDin
In case you don't know, you can use<EMAIL_ADDRESS>in your requirements.txt. That's how I'm doing it currently 😁

I can say it! Yes! You pull request is Pure GOLD!
But, something is missing, display the map in the django template, in the same way that Wagtail Admin.

And, man, second needed Feature! A StreamField block. I don't know where begins, if you want i can help you!

And add api files is needed also.

@danreeves
I make a template tag for load google-maps API using the same wagtail-hooks code.
But, i don't know how render in the main templates, i tried creating a template tag like django-embed-videos, but is hard.

@danreeves Did you see this repo. Is very interesting, but his kind of work is cross about this repository, it doesn't use address for work, use localization.
We can mix this  repository and make a more strong package, isn't it?

@danreeves Man, see this, is very good.

@SalahAdDin Thanks! I'll check it out

Hey @danreeves, @SalahAdDin – I wasn't watching this repo (not sure who is) so only noticing the PR backlog now, sorry about that.
As you can see this package hasn't moved in a while – @danreeves I see we've merged one of your PRs in the past, would you be willing to be given write access to this project? We'd still require PR reviews, but it would be easier to release those changes.
I'll also try to find someone to review all of this.

Yeah I'd be up for that; we use this project pretty frequently at work.
I'd be interested in any feedback, even if you don't want to merge!
Thanks

Superseded by #16.

Ah.. The source repository for #16 was deleted so we can't use that. Reopening this PR then.

Not overwriting Wagtail base templates and properly using the hooks so django-overextends isn't needed, not to mention the new panel. This is some great work. Thank you for your contribution 💯
I'll have a look early next week to properly define which versions of Python/Django/Wagtail we want to support, maybe add some test 😱 and release a new version.
Can I ask why jump to 3.0 rather than 0.3?

Thanks for merging! The version was a typo, but maybe it should be a major bump anyway.

It probably would if we had already reached 1.x but since we're still on 0.x, I don't think this is required.
In addition, I'm just picking up on this package and would like to use it a bit myself to see if there's improvements/changes to be made before we reach "stable".


Update rules library nuspec with required metadata

The information added is to comply with Microsoft's NuGet requirements.

J

We're removing the rules-only package. So closing this PR.


[WIP] Use GeometryOpsCore for real

This PR switches GeometryOps to actually import the released version of GeometryOpsCore.
It turns out that this works on 1.10, but fails on nightly because it imports anonymous functions as well, and gensym doesn't know that so generates identical symbols for different anonymous functions in GeometryOps and GeometryOpsCore.  I fix that by creating a static import list of things that GeometryOpsCore defines, are unexported, but must be defined in GeometryOps.
Additionally, the PR will deprecate the GeodesicSegments and LinearSegments methods for Geodesic and Linear manifolds.  This is in preparation for the next breaking release where we'll introduce perimeter calculations, arclength interpolation, and basic spherical geometry utilities.

What is the status on this? I thought about getting started with adding some basic spherical geometry operations like distance and centroid, but maybe I should wait for these imports to be resolved?

I'm hoping to get this resolved next week feiw, pretty sure it's just a bad kwarg I have to track down


Themes and color customization

Allow user to customize look of the app

Board and Card Customization in form of color is done, app wide may come much later but probably nothing more than a dark theme


winpr-utils man pages missing

The winpr-utils executables currently don't have man pages. It was highly appreciated by disto-maintainers if upstream could provide those man pages.
W: winpr-utils: binary-without-manpage usr/bin/winpr-hash
W: winpr-utils: binary-without-manpage usr/bin/winpr-makecert

Already on master.


Release version 0.5

Update main with the content for release 0.5

Manual testing of several notebooks performed
Unit tests run manually with and without dask
All pipelines passing


Allow simple arithmetic for interval dates

Feature description
There are different ways to specify interval dates: absolute or relative ones. The latest includes: times with the date part omitted, durations, and the date and time replacing components. However, it's not possible to relatively change the start or end date without modifying another part of the interval.
The ISO 8601 standard assumes some arithmetic (addition, subtraction, etc.) between dates. (Actually, modifying dates by durations is a part of that). For example, the expression P1DT30S - 20241213T102030 results in 20241212T102000.
Use case
This comes after #27 and the use case described there, but not limited to it.
Here are some potential usage examples.

Download an excerpt between 23:00 and 01:00 every day:
$ ytpb download -i "P1D - 23:00+00/PT2H" ...

Download two 1h excerpts before some date: one hour and four hours before:
$ ytpb download -i "PT1H - 20241213T102030+00/PT1H" ...
$ ytpb download -i "PT4H - 20241213T102030+00/PT1H" ...

Download an excerpt centered around some moment that happened at 12pm today:
# (Before)
$ ytpb download -i 11:55+00/12:05+00 ...

# (After)
$ ytpb download -i "PT5M - 12:00+00/12:00+00 + PT5M" ...

yeah this looks good and easy to use too if it isnt too much effort to implement of course, especially 1. by adding "P1D" to make it work for scripts.

@coasterfr This should work now. Check out the new release v2024.12.23.

Download an excerpt between 23:00 and 01:00 every day:
$ ytpb download -i "P1D - 23:00+00/PT2H" ...

Note that that was mistaken and wouldn't work. The interval value should be rewritten as 23:00+00 - P1D/PT2H since only durations can be subtracted from dates or times. Please refer to the documentation for acceptable formats and more examples.

hi maxim, thanks for your efforts. i tried rewriting the command like you formatted it but seems like it doesn't recognize it ...
ytpb-2024.12.23.exe download -i 22:00+02 - P1D/PT5H A49bKX8gb-8
im also trying it as written in the documentation:
ytpb-2024.12.23.exe download -i '22:00 - P1D/03:00' A49bKX8gb-8
a different way of saying download 5 hours worth of footage, but doesnt work. am i doing something wrong...?

As stated in the manual, the option value with whitespace needs to be quoted.
Just tried your two last examples, and it works fine for me on Linux:
$ ytpb download -i '22:00 - P1D/03:00' A49bKX8gb-8
Run playback for https://www.youtube.com/watch?v=A49bKX8gb-8
(<<) Collecting info about the video...

Could you please try to run the command with double quotes around the interval option, like so: -i "22:00+02 - P1D/03:00"?

ytpb-2024.12.23.exe download -i "22:00 - P1D/03:00" A49bKX8gb-8
works fine on windows with ", not with '. thanks once again!

Great! I've changed the documentation to reflect this nuance. Thanks a lot for suggesting the feature and testing it out. A small, but quite useful addition.


There is a frontend build error with the latest

The build error detail：

I am not able to reproduce this, can you try running docker-compose build --no-cache bpmn_frontend and then sharing the output of that command?


Fixing clang download

Add a gpg verification signature of the clang binary since it's downloaded via http.

This pull request is now managed with CodeReviewHub. Refresh.


sidebar.end display versions by config

Hi,
That would be great if we could display the versions in the sidebar based on a config parameter. Not very tricky, if you accept, I can PR ?

Are you wanting to hide them in the side bar? because that's kinda the point of the plugin.

The thing is I have multiple context and I would like to only display the versions using the widget, because I don't want any user to see the versions. The best behaviour for me would probably be to display versions based on user profile. I don't know if I make myself clear. But anyway, I understand if you don't want to implement that.

You'e right, I will make my own widget. never mind. And I would like to thank you for all the great and useful plugins you made. Great Job!


Support PING/PONG

Hello! There are exist PONG and PONG OpCodes in https://github.com/uNetworking/uWebSockets/blob/master/src/WebSocket.h
And these codes are declared in the protocol, but there is no way to send ping message via uWebSockets.js
Can you support ping method?

Hmm, yes it seems impossible for JS users.
Maybe a ping method, or send that takes any op code (that's how the native project does it)


JIT performance even when in release mode

Since Javascript is used to build a Flutter app, how can the Dart AOT compiler work properly? Won't this application have a similar performance to debug mode because most the Flutter app application is dynamically created by the Javascript side at runtime?
PS: I could not find much about the architecture of Kraken, and read some of the code. It would be great if the architecture/ design can be explained/ documented.

There are not much English architecture/design documents at now, most of them are written in Chinese.  Sorry for that, we will translate it and publish on openkraken.com

Simply explanation: the kraken way to build a Flutter app is to use Dart FFI to communicate between JavaScript and Dart.
But The Flutter app built by Kraken is a bit different from regular Flutter ways. Instead of generating a bunch of Flutter Widgets, it use the underlying dependency of Widget, the RenderObject class. Just like the RenderObject in Webkit, we use it to achieve W3C-compatible rendering features. This not only give kraken team a lot of space (not limited to the rendering ability provided by Flutter Widget), but it is also fully compatible with other Flutter applications implemented using Widget.
If you run a kraken app in debug mode, Dart runs in JIT and JavaScript runs in JIT. There will be 3x slower than running in released mode when Dart were AOT optimized.

Oh I see, thanks for the response @andycall . I think https://youtu.be/dkyY9WCGMi0 is quite interesting and somewhat relevant for this.
benefits

Write using any javascript UI library, but it might have similar rendering performance the same as Flutter, since the Render Object's are efficiently re-used? (this would be your implementation though).

disadvantages

A UI layer needs to be reimplemented. You won't be able to use Material
Performance is lower in non UI cases:

Heavy computation (image processing) might be slower in JS than in Dart.
Communication overhead (thought MethodChannels might be just as inefficient). It's interesting. I thought FFI is for communication with C, instead of JS.

Plugin Packages are not readily available for Kraken, the flutter plugins need to be ported for use in Javascript.

@ben-xD  Thanks for your advices.
There are some mechanism can port Flutter Material and plugins into kraken.

Simply define an custom HTML elements with Flutter Material widgets.  http://openkraken.com/en-US/guide/advanced/widget-custom-element
An javascript wrapper is needs when porting a flutter plugin to kraken, and it's easy to implement. https://openkraken.com/en-US/plugins/plugin/introduction
There not much heavy computation scenario in normal web-like pages, except you wants to build some tools contains image clipping or video processing. But we will support WebAssembly in the futures if users really need to.

It's a common question about communication overhead between dart and js when people are new to kraken. We use C++ to implement almost the JavaScript API in kraken, and we let javascript running in flutter.ui thread to avoid multi-thread latency. Although dart ffi is fast than MethodChannel, it only takes 0.01~0.03 ms per api call. But it's not great when building an UI framework on top of it. Thousand of api call are coming from js to dart when users init their pages. We implements a binary buffer like mechanism to reduce to api count and it will only takes about 10-20ms when loading the whole pages(We had a benchmark CI about these, you can found details in https://github.com/openkraken/kraken/runs/3621198827?check_suite_focus=true, follow the key with flush_ui_command_cost).
By the way, we found the JavaScript engine is the core overhead problems in normal web-like pages in Android, it's takes 300-400 ms and much longer than any other records. That's the main reason we choose to support quickjs engine, which is very fast and support bytecode format.
I copied some logs from kraken benchmark CI if you wants to see the details.
I/KRAKEN_NATIVE_LOG( 8427): Total time cost(without paint and layout): 696.18ms
I/KRAKEN_NATIVE_LOG( 8427):
I/KRAKEN_NATIVE_LOG( 8427): widget_creation_cost: 39.05ms
I/KRAKEN_NATIVE_LOG( 8427):   + controller_properties_init_cost 0.12ms
I/KRAKEN_NATIVE_LOG( 8427):   + view_controller_properties_init_cost 0.01ms
I/KRAKEN_NATIVE_LOG( 8427):   + element_manager_init_cost 1.97ms
I/KRAKEN_NATIVE_LOG( 8427):   + element_manager_property_init 0.00ms
I/KRAKEN_NATIVE_LOG( 8427):   + root_element_property_init_cost 0.44ms
I/KRAKEN_NATIVE_LOG( 8427):   + root_element_init_cost 0.62ms
I/KRAKEN_NATIVE_LOG( 8427):   + create_viewport 0.02ms
I/KRAKEN_NATIVE_LOG( 8427):   + bridge_init_cost 36.64ms
I/KRAKEN_NATIVE_LOG( 8427):     + bridge_register_dart_method_cost 16.04ms
I/KRAKEN_NATIVE_LOG( 8427):     + js_context_init_cost 6.55ms
I/KRAKEN_NATIVE_LOG( 8427):     + native_method_init_cost 3.14ms
I/KRAKEN_NATIVE_LOG( 8427):     + polyfill_init_cost 10.78ms
I/KRAKEN_NATIVE_LOG( 8427): First Bundle Load: 657.12ms
I/KRAKEN_NATIVE_LOG( 8427):   + js_bundle_load_cost 208.11ms
I/KRAKEN_NATIVE_LOG( 8427):   + js_bundle_eval_cost 365.97ms
I/KRAKEN_NATIVE_LOG( 8427):   + js_parse_time_cost 43.26ms
I/KRAKEN_NATIVE_LOG( 8427):   + flush_ui_command_cost 12.31ms avg: 0.62ms count: 20
I/KRAKEN_NATIVE_LOG( 8427):   + create_element_cost 2.06ms avg: 0.01ms count: 195
I/KRAKEN_NATIVE_LOG( 8427):   + js_host_class_get_property_cost 73.18ms avg: 0.01ms count: 5662
I/KRAKEN_NATIVE_LOG( 8427):   + js_host_class_set_property_cost 52.11ms avg: 0.02ms count: 2736
I/KRAKEN_NATIVE_LOG( 8427):   + js_host_class_init_cost 0.00ms avg: 0.00ms count: 0
I/KRAKEN_NATIVE_LOG( 8427):   + js_native_function_call_cost 52.06ms avg: 0.03ms count: 1843
I/KRAKEN_NATIVE_LOG( 8427):   + create_text_node_cost 0.30ms avg: 0.01ms count: 47
I/KRAKEN_NATIVE_LOG( 8427):   + create_comment_cost 0.19ms avg: 0.00ms count: 116
I/KRAKEN_NATIVE_LOG( 8427):   + dispose_event_target_cost 0.00ms avg: 0.00ms count: 0
I/KRAKEN_NATIVE_LOG( 8427):   + add_event_cost 0.73ms avg: 0.00ms count: 344
I/KRAKEN_NATIVE_LOG( 8427):   + insert_adjacent_node_cost 47.53ms avg: 0.13ms count: 356
I/KRAKEN_NATIVE_LOG( 8427):   + remove_node_cost 0.01ms avg: 0.00ms count: 5
I/KRAKEN_NATIVE_LOG( 8427):   + set_style_cost 12.36ms avg: 0.01ms count: 2054
I/KRAKEN_NATIVE_LOG( 8427):   + dom_force_layout_cost 78.16ms avg: 15.63ms count: 5
I/KRAKEN_NATIVE_LOG( 8427):   + dom_flush_ui_command_cost 102.93ms avg: 0.86ms count: 119
I/KRAKEN_NATIVE_LOG( 8427):   + set_properties_cost 7.56ms avg: 0.01ms count: 860
I/KRAKEN_NATIVE_LOG( 8427):   + remove_properties_cost 0.00ms avg: 0.00ms count: 0
I/KRAKEN_NATIVE_LOG( 8427): Rendering: 79.05ms
I/KRAKEN_NATIVE_LOG( 8427):   + flex_layout_cost 31.21ms avg: 0.14ms count: 218
I/KRAKEN_NATIVE_LOG( 8427):   + flow_layout_cost 10.35ms avg: 0.09ms count: 111
I/KRAKEN_NATIVE_LOG( 8427):   + intrinsic_layout_cost 1.11ms avg: 0.01ms count: 110
I/KRAKEN_NATIVE_LOG( 8427):   + silver_layout_cost 0.00ms avg: 0.00ms count: 0
I/KRAKEN_NATIVE_LOG( 8427):   + paint_cost 36.38ms avg: 0.02ms count: 2209


Use Shift+Ctrl+ instead of cmd-shift- in documentation when applicable

On non-OS X systems, please use Shift+Ctrl+ etc. in documentation instead of cmd-shift-.
For example welcome.md refers to cmd-shift-p but on Linux on a non-Apple based machine all the menu items show shortcuts called Shift+Ctrl+P. To properly match documentation with offered menu items and shortcuts, please use the correct shortcut format in documentation included in a build for Linux on non-Apple based machines.

Closing this in favor of atom/docs#16, please subscribe there for updates.


Warning: Error in fread: is.logical(header) && length(header) == 1L is not TRUE

I am using An R package for analysis of copy number variations (CNV) from RNA-seq data.
https://github.com/honzee/RNAseqCNV
While running the shiny app after uploading the config file and metadata file I am getting the following error for my vcf file.
Reading in vcf file..
Warning: Error in fread: is.logical(header) && length(header) == 1L is not TRUE
Kindly help to resolve this issue.

Thank you for contacting me and letting me know about your issue. There was
an error in the vcf file reading function, which should be corrected in the
newly updated version on GitHub.
I am glad you are trying to use RNAseqCNV for your analysis and if you have
any other issues, concerns or questions about the optimization please do not
hesitate to contact me.
Both positive or negative feedback would be extremely welcomed.
With regards,
Jan Barinka
---------- Původní e-mail ----------
Od: JAYRJPT<EMAIL_ADDRESS>Komu: honzee/RNAseqCNV<EMAIL_ADDRESS>Datum: 15. 5. 2020 12:12:49
Předmět: [honzee/RNAseqCNV] Warning: Error in fread: is.logical(header) &&
length(header) == 1L is not TRUE (#1)
"
I am using An R package for analysis of copy number variations (CNV) from
RNA-seq data.
https://github.com/honzee/RNAseqCNV(https://github.com/honzee/RNAseqCNV)
While running the shiny app after uploading the config file and metadata
file I am getting the following error for my vcf file.
Reading in vcf file..
Warning: Error in fread: is.logical(header) && length(header) == 1L is not
TRUE
Kindly help to resolve this issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
(https://github.com/honzee/RNAseqCNV/issues/1), or unsubscribe
(https://github.com/notifications/unsubscribe-auth/ANPG3NQBVYXM4XC3QYQZB6LRRUIRPANCNFSM4NBOHDAA)
.
"

Thanks for the reply.
I am new here. I couldn't understand the solution.
Should I fix the vcf file using " VCF file reading degugging " given in the https://github.com/honzee/RNAseqCNV ?
Please Explain.
Thanks and Regards.

Yes, I think the easiest solution is to re-install the updated version of the RNAseqCNV package, with the instructions from the README file:
install devtools
install.packages("devtools")
install RNAseqCNV package
devtools::install_github(repo = "honzee/RNAseqCNV")
Hope this solves the issue for you,
Jan

Thanks for the reply.
I will do that.

I tried to install RNAseqCNV using
devtools::install_github(repo = "honzee/RNAseqCNV") command.
after installation I am unable to load the library.
It is showing the following error.
Error: package or namespace load failed for ‘RNAseqCNV’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
namespace ‘rlang’ 0.4.5 is already loaded, but >= 0.4.6 is required
Kindly help in the following issue.
Thanks.

The error message seems to indicate that older version of rlang package is already loaded. To solve this issue, I would probably suggest restarting the current R session and updating the rlang package to version >= 0.4.6 by:
install.packages("rlang")
Jan

Thanks for bearing with me.
I am able to load and run the package but after reading the vcf file it has shown the the error.
Reading in vcf file..
|--------------------------------------------------|
|==================================================|
Warning in file(file, "rt") :
cannot open file '/media/deepak/EXTRA/output_dir/manual_an_table.tsv': No such file or directory
Warning: Error in file: cannot open the connection
[No stack trace available]

I am sharing the entire log error from both shinny and wrapper function.
Hope you get the better Idea of the issue.
Loading required package: shiny
Listening on http://<IP_ADDRESS>:5031
Warning in colnames(count_norm)[2:length(count_norm)] <- paste0("control_",  :
number of items to replace is not a multiple of replacement length
[1] "Normalization for sample: Sample_3 completed"
[1] "Preparing file with snv information for: Sample_3"
Reading in vcf file..
|--------------------------------------------------|
Warning in file(file, "rt") :
cannot open file '/media/deepak/EXTRA/output_dir/manual_an_table.tsv': No such file or directory
Warning: Error in file: cannot open the connection
[No stack trace available]

RNAseqCNV_wrapper(config = "/media/deepak/EXTRA/config_file", metadata = "/media/deepak/EXTRA/snv_metadata.csv", snv_format = "vcf")
[1] "Analysis initiated"
[1] "Normalization for sample: Sample_3 completed"
[1] "Preparing file with snv information for: Sample_3"
Reading in vcf file..
|--------------------------------------------------|
|==================================================|
Incorrect vcf file format. No depth information in INFO column
Warning message:
In colnames(count_norm)[2:length(count_norm)] <- paste0("control_",  :
number of items to replace is not a multiple of replacement length

I am glad we moved forward, I will gladly assist you further in solving your issues.
The error, which occurred while running the shiny application, could be due to restricted permissions. The file '/media/deepak/EXTRA/output_dir/manual_an_table.tsv' should be created in the analysis and in case shiny did not have write permission for the output directory, this could be the resulting error.
The error in the wrapper function is most probably due to the incorrect format of the provided vcf file. The vcf file should be generated through GATK analysis in order to be compatible with RNAseqCNV. An example of such vcf format is provided in the README file. To ensure this is the case, could you check if the INFO column has the DP=XX information?
Hope this moves us forward,
Jan

Also, I noticed, that you are using the single-sample analysis. This mode uses in-build control data from acute lymphoblastic leukemia samples and thus might not be optimal for other cancer types with different expression profiles. Depending on the cancer type and number of samples being analyzed, batch mode might be more suitable for your analysis.
Jan

Thanks for the explanation.
I have generated the vcf file using GATK pipeline. I am using output vcf file generated from HAPLOTYPECALLER for this package.
I have checked the DP=XX information. It is present for most of the variant but not for all.
So, I filtered those variants which has DP information and then run the package.
After running I got the following error.
> RNAseqCNV_wrapper(config = "/media/deepak/EXTRA/config_file", metadata = "/media/deepak/EXTRA/snv_metadata.csv", snv_format = "vcf")
[1] "Analysis initiated"
[1] "Normalization for sample: Sample_3 completed"
[1] "Preparing file with snv information for: Sample_3"
Reading in vcf file..
Extracting depth..
Extracting reference allele and alternative allele depths..
Needed information from vcf extracted
Finished reading vcf
Error: Column snvOrd must be length 0 (the number of rows) or one, not 2
In addition: Warning messages:
1: In colnames(count_norm)[2:length(count_norm)] <- paste0("control_",  :
number of items to replace is not a multiple of replacement length
2: Factor chr contains implicit NA, consider using forcats::fct_explicit_na

Yes to begin with I am using single sample analysis to learn the package.
Once I learned, I will run my all the samples(B-ALL cases) in batch mode.
Thanks.

It seems to me, that this could be caused by NA values in the chromosome column of the vcf file. To test this hypothesis - please try to run:
vcf_data <- data.table::fread("vcf/data/file.vcf", skip = "#CHROM", header = TRUE)
table(vcf_data$#CHROM)
Please, send me the result after you run these lines on the vcf file that failed. Depending on the result, I can add further checks into the code of RNAseqCNV or we can try to filter your data.
I really hope we can get this running for you and improve the code in the process, so it is easier to use for wider range of users.
Best,
Jan

Dear Jan
I tried to execute the command but I didn't got any result. Is the command incomplete?

vcf_data <- data.table::fread("/home/deepak/NEW_SAMPLE/SAMPLE_3/star/vcf_files/output2_SV3n3.vcf", skip = "#CHROM", header = TRUE)
table(vcf_data$#CHROM)

Thanks

I am sorry, I did not copy the command correctly - this should work:
table(vcf_data$#CHROM)

table(vcf_data$"#CHROM")

I am sorry, this should work:
table(vcf_data$"#CHROM")

Thanks
It worked.
here is the output.
chr1     chr1_GL383518v1_alt     chr1_GL383519v1_alt
91543                       1                       8
chr1_KI270706v1_random  chr1_KI270707v1_random  chr1_KI270709v1_random
169                      16                      11
chr1_KI270711v1_random  chr1_KI270712v1_random  chr1_KI270713v1_random
45                       8                      91
chr1_KI270759v1_alt     chr1_KI270763v1_alt     chr1_KI270765v1_alt
4                      11                       1
chr1_KI270766v1_alt                   chr10    chr10_GL383546v1_alt
3                   55484                       3
chr11 chr11_KI270721v1_random    chr11_KI270829v1_alt
45539                       4                      49
chr11_KI270830v1_alt    chr11_KI270831v1_alt    chr11_KI270832v1_alt
6                      31                      33
chr11_KI270902v1_alt    chr11_KI270927v1_alt                   chr12
8                      12                   50514
chr12_GL383549v1_alt    chr12_GL383550v2_alt    chr12_GL383551v1_alt
1                       3                       1
chr12_GL383553v2_alt    chr12_GL877876v1_alt    chr12_KI270837v1_alt
2                      98                       1
chr12_KI270904v1_alt                   chr13                   chr14
112                   27242                   35829
chr14_GL000009v2_random chr14_GL000194v1_random chr14_GL000225v1_random
31                     101                     145
chr14_KI270722v1_random chr14_KI270723v1_random chr14_KI270724v1_random
3                       9                       1
chr14_KI270725v1_random chr14_KI270726v1_random    chr14_KI270846v1_alt
6                      26                     101
chr14_KI270847v1_alt                   chr15    chr15_GL383555v2_alt
1                   34796                      22
chr15_KI270848v1_alt    chr15_KI270849v1_alt    chr15_KI270850v1_alt
37                       9                     136
chr15_KI270851v1_alt    chr15_KI270905v1_alt                   chr16
23                     145                   42599
chr16_GL383557v1_alt chr16_KI270728v1_random    chr16_KI270853v1_alt
5                      85                     255
chr16_KI270854v1_alt                   chr17 chr17_GL000205v2_random
7                   45328                     303
chr17_GL000258v2_alt    chr17_GL383563v3_alt    chr17_GL383565v1_alt
442                       5                       2
chr17_GL383566v1_alt chr17_KI270729v1_random    chr17_KI270857v1_alt
1                       5                      51
chr17_KI270859v1_alt    chr17_KI270860v1_alt    chr17_KI270861v1_alt
26                      16                      16
chr17_KI270862v1_alt    chr17_KI270908v1_alt    chr17_KI270909v1_alt
9                      67                      12
chr18    chr18_GL383568v1_alt    chr18_GL383570v1_alt
22740                       9                       1
chr19    chr19_GL383573v1_alt    chr19_GL383574v1_alt
41983                      79                       6
chr19_GL383575v2_alt    chr19_GL383576v1_alt    chr19_GL949746v1_alt
4                       2                       8
chr19_GL949747v2_alt    chr19_GL949752v1_alt    chr19_GL949753v2_alt
12                      27                      14
chr19_KI270866v1_alt    chr19_KI270867v1_alt    chr19_KI270868v1_alt
36                      21                      10
chr19_KI270938v1_alt                    chr2     chr2_GL383521v1_alt
11                   87368                       6
chr2_GL383522v1_alt  chr2_KI270716v1_random     chr2_KI270769v1_alt
15                       1                       3
chr2_KI270772v1_alt     chr2_KI270773v1_alt     chr2_KI270774v1_alt
11                       1                      61
chr2_KI270776v1_alt     chr2_KI270894v1_alt                   chr20
10                       6                   23603
chr20_GL383577v2_alt    chr20_KI270869v1_alt    chr20_KI270871v1_alt
2                       3                       1
chr21    chr21_GL383581v2_alt                   chr22
13783                      18                   24663
chr22_GL383582v2_alt    chr22_GL383583v2_alt    chr22_KB663609v1_alt
7                       8                      14
chr22_KI270731v1_random chr22_KI270732v1_random chr22_KI270733v1_random
2                       1                     140
chr22_KI270735v1_random chr22_KI270737v1_random chr22_KI270738v1_random
1                       6                       5
chr22_KI270875v1_alt    chr22_KI270877v1_alt    chr22_KI270878v1_alt
13                      18                      15
chr22_KI270879v1_alt    chr22_KI270928v1_alt                    chr3
26                       8                   67453
chr3_GL000221v1_random     chr3_KI270777v1_alt     chr3_KI270778v1_alt
99                      10                       9
chr3_KI270780v1_alt     chr3_KI270781v1_alt     chr3_KI270782v1_alt
7                      15                      15
chr3_KI270783v1_alt     chr3_KI270784v1_alt     chr3_KI270895v1_alt
1                       7                       1
chr3_KI270924v1_alt     chr3_KI270934v1_alt     chr3_KI270936v1_alt
3                       2                       3
chr3_KI270937v1_alt                    chr4  chr4_GL000008v2_random
1                   51171                      26
chr4_KI270788v1_alt     chr4_KI270789v1_alt     chr4_KI270896v1_alt
1                       8                       1
chr5  chr5_GL000208v1_random     chr5_GL339449v2_alt
57583                       5                     436
chr5_GL383530v1_alt     chr5_GL383531v1_alt     chr5_KI270791v1_alt
7                      14                       9
chr5_KI270792v1_alt     chr5_KI270795v1_alt     chr5_KI270796v1_alt
12                      33                       4
chr5_KI270897v1_alt     chr5_KI270898v1_alt                    chr6
179                       2                   58367
chr6_GL000250v2_alt     chr6_GL000251v2_alt     chr6_GL000252v2_alt
2                     494                     255
chr6_GL000253v2_alt     chr6_GL000254v2_alt     chr6_GL000255v2_alt
331                     613                     422
chr6_GL000256v2_alt     chr6_GL383533v1_alt     chr6_KI270758v1_alt
477                       5                      14
chr6_KI270798v1_alt     chr6_KI270801v1_alt                    chr7
5                       3                   62785
chr7_KI270803v1_alt     chr7_KI270804v1_alt     chr7_KI270805v1_alt
32                       1                       1
chr7_KI270806v1_alt     chr7_KI270807v1_alt     chr7_KI270809v1_alt
11                       1                      12
chr7_KI270899v1_alt                    chr8     chr8_KI270810v1_alt
1                   41938                      32
chr8_KI270813v1_alt     chr8_KI270816v1_alt     chr8_KI270817v1_alt
22                       7                       1
chr8_KI270819v1_alt     chr8_KI270821v1_alt     chr8_KI270900v1_alt
2                       6                       2
chr8_KI270901v1_alt     chr8_KI270926v1_alt                    chr9
1                       1                   49348
chr9_GL383540v1_alt     chr9_GL383541v1_alt  chr9_KI270719v1_random
18                       2                       7
chr9_KI270720v1_random                    chrM        chrUn_GL000195v1
2                      44                     310
chrUn_GL000213v1        chrUn_GL000214v1        chrUn_GL000216v2
2                       8                      29
chrUn_GL000218v1        chrUn_GL000219v1        chrUn_GL000220v1
8                     369                      74
chrUn_GL000224v1        chrUn_KI270310v1        chrUn_KI270311v1
20                       1                       1
chrUn_KI270337v1        chrUn_KI270366v1        chrUn_KI270435v1
3                       1                       6
chrUn_KI270438v1        chrUn_KI270442v1        chrUn_KI270466v1
119                     387                       5
chrUn_KI270467v1        chrUn_KI270508v1        chrUn_KI270519v1
27                       1                       6
chrUn_KI270538v1        chrUn_KI270741v1        chrUn_KI270742v1
1                       3                     125
chrUn_KI270743v1        chrUn_KI270744v1        chrUn_KI270745v1
21                      62                      13
chrUn_KI270746v1        chrUn_KI270749v1        chrUn_KI270750v1
14                       9                       4
chrUn_KI270751v1        chrUn_KI270753v1        chrUn_KI270757v1
10                       2                       5
chrX     chrX_KI270881v1_alt     chrX_KI270913v1_alt
25523                      13                      13
chrY
431

Ok, I think I know where the issue lies. The accepted format for RNAseqCNV has chromosomes signed as: 1, 2, 3, ... X and not chr1, chr2, chr3 ... chrX.
The fastest solution would probably be to change all the chrXX to XX (e.g. with sed command in Linux) in your vcf files.
However, I will update RNAseqCNV to work with chrXX during the upcoming week.
Thank you for helping me to make the tool better,
Jan

Thanks for Identifying the issue.
I will try to update my vcf file according to the package.
If I found any issue I will let You know.
I will wait for the updated package.
Thanks for your support.
Regards,
Jay

Dear Jan
After updating my vcf file, I am able to get the output result.
However I got some warning meassge-
Warning messages:
1: In colnames(count_norm)[2:length(count_norm)] <- paste0("control_",  :
number of items to replace is not a multiple of replacement length
2: Removed 2 rows containing missing values (geom_label).
Please let me know whether to be worried about this warning message or not.
Thanks for your cooperation.
Regards
Jay

I am glad we got through the errors. Since the primary issue has been hopefully solved, for the sake of better error/warning documentation of this repository, I will now close this thread and address further questions in separate threads.
Here is link for the thread addressing the warnings:
https://github.com/honzee/RNAseqCNV/issues/2
Best,
Jan


[Bug] delete from table where key=xxx hangs

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
master
What's Wrong?
-9999782574499444.2 is legal but doris handles it as illegal.
when an illegal decimal happens on delete, fe retries it until timeout.
What You Expected?
Handle -9999782574499444.2  successfully.
Fail immediately for illegal data.
How to Reproduce?
CREATE TABLE table1
(
col1 BOOLEAN NOT NULL, col2 DECIMAL(17, 1) NOT NULL, col3 INT NOT NULL,
)
DUPLICATE KEY(col1,col2,col3)
DISTRIBUTED BY HASH(col1,col2,col3) BUCKETS 4
PROPERTIES (
"disable_auto_compaction"="false",
"replication_num" = "3"
);
delete from table1 where col1 = "false" and col2 = "-9999782574499444.2" and col3 = "-25"
Anything Else?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

pick


Save As does not save

Try save as, it allows to enter a new file name, but did not create the file. Tested on Android 9,10,11.

I could not reproduce this on Samsung Note 10+ with rooted Android 11 on v1.3.155.


PRM-3813 Handling Redirect to Https When Loading The Widget.

When widgets load through redirect (to https), the resize event is ignored because the iframe src is in http and the contents is in https.
Updated the hasOrigin method to strip away any protocol.
If the url matches the iframe origin without the protocol, then hasOrigin will still return true.
In this case the resize event will not be ignored and the widget will show even during a redirect.

This PR is based on this one in web: https://github.com/CrowdTwist/web/pull/2628
Because of the above PR, when widgets redirect to HTTPS, the widget doesn't resize and still appears hidden.  This is because the hasOrigin method below compares the url of the iframe to the widget origin.  This is the full url including the protocol.  Since the protocols are different hasOrigin returns false and therefore doesn't resize the widget.
To fix this, I've updated the function to strip out any protocol and only compare to see if the widget origin exist in the iframe origin.

[x] @bertrandvidal
[ ] @cokuyan
[x] @c-wright
[ ] @dkarten
[ ] @amod-j
[ ] @jtaoct
[ ] @matthewsheahan

the path for the sdk would be resources/widgets/javascripts/widgets-sdk.0.2.9.js in web

@cokuyan responded.


feat: adjust special rewards

score = activeScore + operationPoolScore

close https://github.com/RSS3-Network/Global-Indexer/issues/177


Export ProcKami as a TileLink Tile

Tile: same clock domain
2
degenerate
only core
3/5/7
Scratchpad memory devices
Bus Error devices
devices are slaves for tilelink
core is a master for tilelink
Handoff between diplomacy and kami: Tile level
Configuration field (lots of different formats for writing fields, including object model, DUH) - comes from scala generator's front end, gets told to the tile. Then provide the outward parameter to get the inward parameters. Talk to Jack and Albert about generating Kami - perhaps FIRRTL could have native support for black box generation this way.
Use DUH for hardened generated Kami, or for configuring Kami (at least in the future).
Next steps:

Figure out all the parameters exposed by a tile (diplomatic and otherwise).
Figure out the magical incantations to generate the different formats (object model, DUH, etc) for configuration fields.

Next steps for debug module:

Strip out the debug module from ProcKami and implementation
Implement an interrupt handler for debug interrupt.
Implement triggers and watch points.

This public class BaseTile tries to be an abstract base class for all tile-level wrapper modules. It's a bit of a mess because the definition of "what interfaces all tiles have" has been quite a moving target over time. It will be interesting to see whether Kami tiles can fit into this interface profile or whether we will have to change it in some ways.
https://github.com/chipsalliance/rocket-chip/blob/master/src/main/scala/tile/BaseTile.scala#L145
This private class CabooseTile is a concrete subclass of BaseTile that instantiates a CabooseCore and wires it up to the various tile interfaces. Unfortunately it is more complicated than I remembered due to the optional presence of the vector unit and some tile-internal scratchpad memories for the vector unit to use, as well as various other prototypical functionality extensions.
https://github.com/sifive/federation/blob/master/src/main/scala/tile/CabooseTile.scala#L144
Despite the various added widgets, CabooseTile is still the simplest extant example of a BaseTile implementation other than this synthetic tile used for generating random coherence traffic:
https://github.com/chipsalliance/rocket-chip/blob/master/src/main/scala/groundtest/TraceGen.scala#L581
Within the CabooseTile, the diplomatic graph is mostly actually terminated at source and sink nodes inside the CabooseCore itself. Here are some of the terminal node instantiations in CabooseCore; these are the points at which outward parameters are supplied and inward parameters can be read:
https://github.com/sifive/federation/blob/master/src/main/scala/core/caboose/Core.scala#L1169
https://github.com/sifive/federation/blob/master/src/main/scala/core/caboose/Core.scala#L1200
I think in the Kami version, the core will be a blackbox and the tile layer will instantiate these terminal diplomatic nodes itself.


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 2851 ms

Resolved: Bofrost.lu performance has improved in 22ba8bd after 6 minutes.


Return empty array instead of 404

For consistency, return an empty array from /scores instead of a 404 when there are no results.

Pull Request Test Coverage Report for Build 229

1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.003%) to 98.246%

Totals

Change from base Build 227:
-0.003%

Covered Lines:
404

Relevant Lines:
411

💛  - Coveralls


Add GraphQL example

Hi,
I am new to GatsbyJS and this plugin. I am struggling to get the plugin working. The problem seems to be in my GraphQL query. Currently, I have something like this:
image {    childImageWatermark {       corner(gravity: SouthEast, blend: Over) {          src       }    } }
But this is unfortunately always failing with Error: Input file contains unsupported image format. Is it possible to add a section in the README with an example of how to use this plugin?
Thanks in advance

In the end I found out, that this was a problem with my watermark image. After changing it from a png to a jpg it worked. It would still be good to have an example. Also, any idea how I can combine this with gatsby-image fluid?

I stumbled upon this comment whilst trying to use this package
yes. I agree with @Drakon234 . It would be good to have more information on how to use this plugin
im still trying to figure out how to change my current image setup to add this watermark feature

Did any of you figured out how to use this plugin with gatsby-image ?


Homebrew error on "brew doctor"

This morning after updating my brew and running cleanup, then prune.  Brew doctor gives me this error:
⚡  brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: Some frameworks can be picked up by CMake's build system and likely
cause the build to fail. To compile CMake, you may wish to move these
out of the way:
/Library/Frameworks/libcurl.framework
Can anyone tell me why the error or warning is there now?
R,
Mark
Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
Please always follow these steps:

[ ] Confirmed this is a problem with running a brew command and not brew installing or the post-install behaviour of one or more formulae? If it's a formulae-specific problem please file this issue at the relevant tap e.g. for Homebrew/homebrew-core https://github.com/Homebrew/homebrew-core/issues/new
[ ] Ran brew update and retried your prior step?
[ ] Ran brew doctor, fixed all issues and retried your prior step?
[ ] Ran brew config and brew doctor and included their output with your issue?

To help us debug your issue please explain:

What you were trying to do (and why)
What happened (include command output)
What you expected to happen
Step-by-step reproduction instructions (by running brew commands)

Features
Please replace this section with:

a detailed description of your proposed feature
the motivation for the feature
how the feature would be relevant to at least 90% of Homebrew users
what alternatives to the feature you have considered

We will close this issue or ask you to create a pull-request if it's something we're not actively planning to work on.

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.


code dooya dc90

Can please someone give me codes for dooya dc90 remote controler?

Why don't you use the learn function to get them? Or you lost the remote? I highly doubt you'll get specific IR codes for some random hardware from here..


How to disable GATK call home feature in bcbio

Hi!
I've installed bcbio and gatk and now I'm trying to run example 'exome with validation against reference materials' pipeline. On our cluster computing nodes don't have internet connection,
so GATK fails to call home and exits. To avoid this, I usually use -et NO_ET -K file.key parameters for GATK. How to pass this parameters to GATK in bcbio? I've tried via jvm_opts for gatk in bcbio_system.yaml, but without success.
Thanks, Sergey

Sergey;
Thanks for trying out bcbio. There is a keyfile argument under gatk in the resources section where you can specify this and we'll pass it to GATK:
http://bcbio-nextgen.readthedocs.org/en/latest/contents/configuration.html?highlight=keyfile#resources
Let us know if you run into any problems at all. Thanks again.


Warning about unused variable in VSCode

A wrong warning about unused variable, but that variable used later in code:

+1
I've seen this as well with Insiders build + latest everything. But it's not consistent and sometimes I just have to restart the powershell session

I tried running Script Analyzer on its own against the original repro and I'm seeing the warning. Here's the repro:
In the file repro.ps1:
$a = 0
$b = @(1, 2)
$b | ForEach-Object {
    $a += 1
}
Write-Host $a

in a terminal:
Install-Module -Name PSScriptAnalyzer

Invoke-ScriptAnalyzer -Path path/to/repro.ps1 -Settings PSGallery -Recurse

The output:
RuleName                            Severity     ScriptName Line  Message
--------                            --------     ---------- ----  -------
PSUseDeclaredVarsMoreThanAssignment Warning      repro2.ps1 4     The variable 'a' is assigned but never used.

I think this warning is appropriate. In your example, $a in the original assignment and the $a inside the foreach block are in two different scopes. Try this:
$a = 1

& {
    $a = 2
}

$a

I don't believe there is an accurate way for PSScriptAnalyzer to guess that your intention is to use the $a variable in the parent scope, and it has to assume that you have assigned an unused variable.

There are various issues with false positives of this rule that would probably need to be re-written from the ground up using a different technique to overcome itse limitations. I plan to collate all those issues in a meta-issue at some point.

Here is my example. $RemoveCount is reported as unused. $RemoveError is not
main loopk in code. Calls functions Remove-member() and Write-Log()
$BaseDir = "C:\Temp\attest"
get-childitem $BaseDir*AttestListing.csv | foreach {
$CSVfile=$
write-log "Processing data file: $($CSVfile.name)" -verbose
$RemoveCount = 0
$RemoveError = $false
import-csv $CSVfile |foreach{
    $line = $_
    if ($line."Remove Member?" -match "[yYxX]") {
        echo "Removing $($line."Member Name") from $($line."Group Name")"
        #write-log "Removing $("$_.Member Name") from $("$_.Group Name")" -verbose
        If (Remove-Member($line)) {
            $RemoveCount = $RemoveCount + 1
        } else {
            $RemoveError = $true
        }

    }
}
if ($RemoveError -eq $true){
    Write-log "Error processing changes for: $($CSVFile.fullname)" -verbose
    # If error removing, file is not renamed and must be processed manually
 } else {

    if ($RemoveCount -eq 0) {
        Write-log "No changes processed for $($CSVFile.fullname)" -verbose
    }Else {
        Write-log "$RemoveCount members removed from $($CSVFile.fullname)" -verbose
    }

    Try {
        Rename-item $CSVfile.fullname "$($CSVFile.basename)_processed.csv"
    }
    Catch {}
}

}

+1
The directive to suppress messages also does not work:
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseDeclaredVarsMoreThanAssignments","")]

$smtpserver_a = "smtp.example.com"
$smtpserver_b = "smtp.example.com"  < error
$smtpserver_c = "smtp.example.com"  < error
$smtpserver_d = "smtp.example.com"  < error

Anyone know how to suppress this in the visual code settings?

@guyWicks Your example case already got fixed in PR #836 and will be in the upcoming release of 1.17 that is hopefully going to be released in the next days.
The Suppressionattribute needs to be on a function or Param() block in order to work.
VsVode has a setting to define a relative path to a PSSA settings file where you can define and customize the rules to be used inside VSCode. I would not recommend turning off this rule though because it is still useful despite some false positives. Most warnings produced by different code analysis warning needs human judgement, please keep that in mind. It is always a trade off between being able to determine 100% that something is wrong and warning on the possibility that something could be wrong.

Thanks for this.
For future reference, this now works as I expected:
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseDeclaredVarsMoreThanAssignments","")]
param()

$smtpserver_a = "smtp.example.com"  # no error
$smtpserver_b = "smtp.example.com"  # no error
$smtpserver_c = "smtp.example.com"  # no error
$smtpserver_d = "smtp.example.com"  #no error

Agree with your recommendation to use this suppression with caution - in my particular use-case I have a common file that stores global configuration variables so these are not used in this file, but in other files.  You may legitimately criticise this design model :)

This is definitely still an issue in the latest VSCode v1.51.1

I ran into this warning with ForEach-Object's Script Blocks:
$nums = 1..10 | ForEach-Object -Begin { $i = 1; $nums = @{}; } -End { $nums; } -Process {
    $nums["p$i"] = $_
    $i++
}

Shows warning: $i and $nums unused.


docs post-release update pypi howto

🚀 Pull Request
Description
This PR adds post-release instructions on how to update scitools-iris on PyPI.

Consult Iris pull request check list

Unless @jamesp has any objections I plan to merge this shortly.


PR: Catch errors when trying to display dataframe values as strings

Fixes #7195.

Hello @ccordoba12! Thanks for submitting the PR.

There are no PEP8 issues in the file spyder/widgets/variableexplorer/dataframeeditor.py !


Tm language additions

Minor updates to the R Extended.tmLanguage file
Namely:

Rprofile.site  file type
NA Constants
foreach keywords
data.table keywords

Thx for your PR. I think that NA_* constants are good. However, I am not quite sure about the other three commits.
[.site]:   .siteis not a r-specified file extension, it may not be a good idea to always apply R syntax to .site files.
[foreach and data.table]:   the supported functions are actually generated by script.R, and I have restricted length of the name of functions to be more than 3 to avoid mis-highlighting. I am happy to include foreach in the syntax, but I do want to keep the minimum function name restriction.

[.site]:  I haven't found many other programs using .site except for Adobe GoLive, but then again, not too many R users use it either.  So not including shouldn't affect too many people.
[foreach]:  That would be great to include it, especially for the special characters (%dopar% etc)
Regarding the three-character minimum, were you finding a lot of mis-highlighting?  The minimum unfortunately crops out  c() and cat()  which I would guess appear quite often.

NA Constants and foreach operators added.

I think it could be closed now given the new functionality of customizing syntax highlight and auto completions. https://github.com/randy3k/R-Box#autocompletions-and-status-bar-hints

agreed


WAHBitarray is expanding to bitarray state on any operation

I have tested some count queries on views and I have found that WAHBitarray is expanding from Indexes to Bitarray in AndNot method when removing deleted rows from result. But expansion takes little bit longer than index query and then CountOnes method consumes 15x that time.
Do you have any special reason to decompress WAHBitarray before any operation? Or is something wrong in my db?

Index pointer storage is more space efficient than bit storage, but the bit array is needed for the operations hence the expansion.
Compress is used to save memory of the bits, however it may be more performant to keep uncompressed (there could be a config point here).

I think may be faster to process it compressed when I have lot of documents in the database and only few of them are returned (equal query). I will try it.


[Future Plans] Add Start Date and Expiration Date

Hello your project is awasome i installed it yesterday. I hoped it had user expiration date but it hasn't so i suggest to make an automation to block users after expiration date inside peer section

Hello your project is awasome i installed it yesterday. I hoped it had user expiration date but it hasn't so i suggest to make an automation to block users after expiration date inside peer section

It Will be perfect!


API URL Smart EQ changed

see: https://openwb.de/forum/viewtopic.php?t=6222&start=40

https://github.com/snaptec/openWB/pull/2617

Closed in https://github.com/evcc-io/evcc/commit/3c2a5d793d1fd8e5e8c6b055413d25fd1214650f


Intermittent failure of plugin forcing a stop of NodeRed

Hello!
I am using your plugin in Version 1.2.9. on a NodeRed instance running in docker.
Sometimes the container restarts with the following output.
It seems, that the Panasonic server sometimes returns with an unexcepted Response.
There is no Proxy in my network between NodeRed and the target servers.
Thanks for creating this plugin!
Sönke
3 Apr 19:12:03 - [info] Starting flows
3 Apr 19:12:03 - [info] Server now running at http://<IP_ADDRESS>:1880/

---------------------------------------------------------------------
file using your chosen key the next time you deploy a change.
your settings file. Node-RED will then re-encrypt your credentials
You should set your own key using the 'credentialSecret' option in

your credentials.
"file will not be recoverable, you will have to delete it and re-enter
"
"If the system-generated key is lost for any reason, your credentials
"

Your flow credentials file is encrypted using a system-generated key.
---------------------------------------------------------------------

3 Apr 19:12:03 - [warn]
3 Apr 19:12:03 - [info] Flows file     : /data/flows.json
3 Apr 19:12:03 - [warn] Projects disabled : editorTheme.projects.enabled=false
3 Apr 19:12:03 - [info] User directory : /data
3 Apr 19:12:03 - [info] Context store  : 'default' [module=memory]
3 Apr 19:12:03 - [info] Settings file  : /data/settings.js
3 Apr 19:12:04 - [info] [mqtt-broker:Schau] Connected to broker: mqtt://mqtt.int.schau.org:1883
npm ERR!     /data/.npm/_logs/2022-04-03T17_49_05_734Z-debug.log
npm ERR!  This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR!
npm ERR! Exit status 1
npm ERR<EMAIL_ADDRESS>start: `node $NODE_OPTIONS node_modules/node-red/red.js $FLOWS "--userDir" "/data"`
npm ERR! errno 1
npm ERR! code ELIFECYCLE
    at processTicksAndRejections (internal/process/task_queues.js:82:21)
    at endReadableNT (internal/streams/readable.js:1334:12)
    at IncomingMessage.emit (events.js:412:35)
    at IncomingMessage.<anonymous> (/data/node_modules/panasonic-comfort-cloud-api/dist/ComfortCloud.js:268:47)
'

nginx

504 Gateway Time-out

<title>504 Gateway Time-out</title>
3 Apr 19:49:05 - [error] TypeError: Cannot create property 'httpCode' on string '
3 Apr 19:49:05 - [red] Uncaught Exception:
><EMAIL_ADDRESS>start /usr/src/node-red

This has just fixed it for us:
https://github.com/bisand/node-red-contrib-panasonic-comfort-cloud/issues/9

A new updated version is published (1.3.0). This update includes improved error handling and automatic resolving of X-APP-VERSION. Ref: #9. Thanks to @yodosan for PR and pointing me in the right direction.
Please update your installations and report back on the results.
Thanks!

That's brilliant. Thanks, @bisand .
I've set up a test on a spare RPi I had and will run it there for a while before risking the production environment!
Outside temperatures in Redhill, Surrey if anyone's interested!  http://remote-a.three-central.co.uk:20000/ui/

Hi André!
I just downloaded the 1.3.2 version.
And in general it's working again (i was effected from #9 too)
Thanks for your effort!


deactivates the pupil signup for selected chapters

Some chapters want to deactivate the signup button
Still to do is a feedback for the user when they try to select the chapter in the signup form, that the waiting list for this chapter is full.

Ok, I corrected these issues.
Do you like the idea to use the info from the Contentful chapter area on a page? Or would you solve it in another way without matching the corresponding chapter to a page?


Unable to see coverage report in XCode 11.6 with new build system.

Unable to see coverage report in XCode 11.6 with new build system. Please see below error
11:00:18 + mkdir -p ../../build/reports/coverage_Report
11:00:18 + echo 'XcodeCoverage report generating..'
11:00:18 XcodeCoverage report generating..
11:00:18 + XcodeCoverage/getcov -o ../../build/reports/coverage_Report
11:00:18 output_dir = ../../build/reports/coverage_Report
11:00:18 /opt/jenkins/workspace/iOS_PullRequest_Unit/build/reports/coverage_Report /opt/jenkins/workspace/iOS_PullRequest_Unit/src/elektra
11:00:18 /opt/jenkins/workspace/iOS_PullRequest_Unit/src/elektra
11:00:18 Capturing coverage data from /Users/jenkins/Library/Developer/Xcode/DerivedData/elektra-dqgphexvdqtbmicihhexfohtaasc/Build/Intermediates.noindex/elektra.build/Debug_Fluke-iphonesimulator/elektra.build/Objects-normal/undefined_arch
11:00:18 Found LLVM gcov version 11.0.3, which emulates gcov version 4.2.0
11:00:18 geninfo: ERROR: cannot read /Users/jenkins/Library/Developer/Xcode/DerivedData/elektra-dqgphexvdqtbmicihhexfohtaasc/Build/Intermediates.noindex/elektra.build/Debug_Fluke-iphonesimulator/elektra.build/Objects-normal/undefined_arch!
11:00:18 lcov: ERROR: cannot read file Coverage.info!
11:00:18 Reading tracefile Coverage.info

Closing as older dup of https://github.com/jonreid/XcodeCoverage/issues/63


How to Lazy load a UI component?

Description
Is it possible to lazy load a UI component? For example, in my code I have:
<UModal v-model="isOpen" ..... />

I tried to add <LazyUModal.../> but that did not work.

You need to add v-if to the component. Check your networks tab when having LazyUModal with v-if and you will see that the component will only be loaded once the if is true. See: Nuxt Components

Thank you. Just adding that vif does indeed solve the problem for me.


added example for preprocessing for llm pre-training

Description of changes:
Added notebooks showing an example data preprocessing pipeline for llm pre-training
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

approved


[Question] How to setup Rollup config?

What's the proper way to configure my Rollup configuration to compile hyperapp's JSX into regular JavaScript?

@lukejacksonn would know!
I still think rollup should only be used for libraries, but it is very simple to use. So for small projects (that don't need code splitting/dynamic imports/rust/WASM) then rollup will be fine 🎉

Perhaps try this with with jsx( {factory: 'h'} )?

https://github.com/lukejacksonn/hyperapp-pwa/blob/master/rollup.config.js
or for a simpler config:
https://github.com/lukejacksonn/hyperapp-starter/blob/master/rollup.config.js

Hi @bdsomer! Thanks for trying out Hyperapp. The following instructions worked out for me:
In a new directory, create an index.html file:
<!doctype html>
<html>

<body>
<script src="bundle.js"></script>
</body>

</html>

And an index.js file:
import { h, app } from "hyperapp"

const state = {
  count: 0
}

const actions = {
  down: () => state => ({ count: state.count - 1 }),
  up: () => state => ({ count: state.count + 1 })
}

const view = (state, actions) => (
  <main>
    <h1>{state.count}</h1>
    <button onclick={actions.down}>-</button>
    <button onclick={actions.up}>+</button>
  </main>
)

app(state, actions, view, document.body)

Install dependencies:

npm i hyperapp

Install dev dependencies:

npm i -D \
  rollup \
  rollup-plugin-babel \
  rollup-plugin-node-resolve \
  rollup-plugin-uglify \
  babel-core \
  babel-preset-es2015-rollup \
  babel-plugin-transform-react-jsx

Create a rollup.config.js file:
import babel from "rollup-plugin-babel"
import resolve from "rollup-plugin-node-resolve"
import uglify from "rollup-plugin-uglify"

export default {
  plugins: [
    babel({
      babelrc: false,
      presets: ["es2015-rollup"],
      plugins: [["transform-react-jsx", { pragma: "h" }]]
    }),
    resolve({
      jsnext: true
    }),
    uglify()
  ]
}

Bundle the application:

$(npm bin)/rollup -cf iife -i index.js -o bundle.js

Open index.html on your browser.
open index.html

Closing as resolved, but anyone feel free to add your own incantations or recipes to the mix. 👋

@JorgeBucaran This is perfect, thanks!


Speakeasy data race?

Didn't look too closely, here's the data dump:
WARNING: DATA RACE
Write by goroutine 6:
  syscall.Wait4()
      /home/david/dev/go/src/syscall/syscall_linux.go:226 +0xa1
  github.com/bgentry/speakeasy.echoOn()
      /home/david/dev/gopath/src/github.com/bgentry/speakeasy/speakeasy_unix.go:80 +0x18f
  github.com/bgentry/speakeasy.catchSignal()
      /home/david/dev/gopath/src/github.com/bgentry/speakeasy/speakeasy_unix.go:90 +0xb6

Previous write by main goroutine:
  syscall.Wait4()
      /home/david/dev/go/src/syscall/syscall_linux.go:226 +0xa1
  github.com/bgentry/speakeasy.getPassword()
      /home/david/dev/gopath/src/github.com/bgentry/speakeasy/speakeasy_unix.go:54 +0x70a
  github.com/bgentry/speakeasy.FAsk()
      /home/david/dev/gopath/src/github.com/bgentry/speakeasy/speakeasy.go:23 +0x1ab
  github.com/bgentry/speakeasy.Ask()
      /home/david/dev/gopath/src/github.com/bgentry/speakeasy/speakeasy.go:14 +0x85
  main.walletunlockcmd()
      /home/david/dev/gopath/src/github.com/NebulousLabs/Sia/siac/walletcmd.go:234 +0x4c
  runtime.call16()
      /home/david/dev/go/src/runtime/asm_amd64.s:401 +0x44
  reflect.Value.Call()
      /home/david/dev/go/src/reflect/value.go:296 +0xd8
  main.func·001()
      /home/david/dev/gopath/src/github.com/NebulousLabs/Sia/siac/main.go:147 +0x2bf
  github.com/spf13/cobra.(*Command).execute()
      /home/david/dev/gopath/src/github.com/spf13/cobra/command.go:476 +0x56c
  github.com/spf13/cobra.(*Command).Execute()
      /home/david/dev/gopath/src/github.com/spf13/cobra/command.go:550 +0x54c
  main.main()
      /home/david/dev/gopath/src/github.com/NebulousLabs/Sia/siac/main.go:204 +0x1578

Goroutine 6 (running) created at:
  github.com/bgentry/speakeasy.getPassword()
      /home/david/dev/gopath/src/github.com/bgentry/speakeasy/speakeasy_unix.go:41 +0x5cc
  github.com/bgentry/speakeasy.FAsk()
      /home/david/dev/gopath/src/github.com/bgentry/speakeasy/speakeasy.go:23 +0x1ab
  github.com/bgentry/speakeasy.Ask()
      /home/david/dev/gopath/src/github.com/bgentry/speakeasy/speakeasy.go:14 +0x85
  main.walletunlockcmd()
      /home/david/dev/gopath/src/github.com/NebulousLabs/Sia/siac/walletcmd.go:234 +0x4c
  runtime.call16()
      /home/david/dev/go/src/runtime/asm_amd64.s:401 +0x44
  reflect.Value.Call()
      /home/david/dev/go/src/reflect/value.go:296 +0xd8
  main.func·001()
      /home/david/dev/gopath/src/github.com/NebulousLabs/Sia/siac/main.go:147 +0x2bf
  github.com/spf13/cobra.(*Command).execute()
      /home/david/dev/gopath/src/github.com/spf13/cobra/command.go:476 +0x56c
  github.com/spf13/cobra.(*Command).Execute()
      /home/david/dev/gopath/src/github.com/spf13/cobra/command.go:550 +0x54c
  main.main()
      /home/david/dev/gopath/src/github.com/NebulousLabs/Sia/siac/main.go:204 +0x1578
==================

it happened when I ctrl-C'd from a speakeasy password collection

Addressed here: https://github.com/bgentry/speakeasy/pull/9. Will close when PR is merged.


Add more features for raster

8 neighbours
average conductances

Codecov Report

Merging #34 into master will increase coverage by 0.17%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #34      +/-   ##
==========================================
+ Coverage   96.37%   96.55%   +0.17%
==========================================
  Files           5        5
  Lines         276      290      +14
==========================================
+ Hits          266      280      +14
  Misses         10       10

Impacted Files
Coverage Δ

src/raster.jl
98.71% <100%> (+0.28%)
:arrow_up:

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 e09daf3...27580c1. Read the comment docs.


TypeError when trying to show calltip

Snaked successfully shows calltip only when an open bracket is put after the object name and the cursor is positioned after it. Otherwise, the following error occurs:
Traceback (most recent call last):
  File "/home/pevzi/src/snaked/snaked/plugins/python/plugin.py", line 158, in show_calltips
    sig, docstring = self.env.get_docstring(self.project_path, source, offset, self.editor.uri)
TypeError: 'NoneType' object is not iterable

Ok, I see now. It was quite useful to get a docstring just pressing ctrl+enter «above» the function name but the new variant is much more practical.


Answar

@2211433 Good to have issues coming up can please update your description/comment of this issue so that people can help.


Option to fold the terminal status bar into the existing status bar

It'd be great if there was an option to have terminal-plus add its status bar to the existing status bar atom-panel between the .status-bar-left and .status-bar-right elements rather than creating another status-bar panel

I wil consider this as an option. Should be rather easily to implement.

+1 Would be great!

:+1: Totally agree. :smile:

+1

+1

+1


Flutter master builds flutter-1.19-candidate.2 and later not working on Git Bash for Windows. Shows: Waiting for another flutter command to release the startup lock...

Steps to Reproduce

Run Git bash terminal of Windows.
Do a flutter upgrade. (versions with issue: (flutter-1.19-candidate.2, flutter-1.19-candidate.3 and flutter-1.19-candidate.4)
Run flutter doctor. (or any flutter command including commands like flutter channel stable, etc.)
You'd get 'Waiting for another flutter command to release startup lock...'

The issue

I am aware of the statement 'Waiting for another flutter command to release startup lock...' which dart leaves when a process is going on. I have tried all the fixes for that including deleting the lockfile in 'flutter/bin/cache' and killing all dart processes and the IDEs using it. This seems to be a different issue. This problem only comes on Git Bash for Windows but everything works on other terminals. I have currently downgraded to the flutter-1.19-candidate.1 master build by doing a git checkout to flutter-1.19-candidate.1.
TL:DR version

Current master builds flutter-1.19-candidate.2 , 3 and 4 aren't working on Git bash for Windows.
On executing any flutter commands on Git bash I'd get 'Waiting for another flutter command to release startup lock...'
Tried the fixes for the 'Waiting for another flutter command to release startup lock...' issue as mentioned in the above section.
The builds work on other terminals like cmd and ps.

flutter doctor -v for flutter-1.19-candidate.1

Hi @szepetry
Can you please upgrade to latest master and try again?
flutter channel master
flutter upgrade
flutter doctor -v
Looks like you've a 4 weeks old flutter channel
Thank you

Hi @szepetry
Can you please upgrade to latest master and try again?
flutter channel master
flutter upgrade
flutter doctor -v
Looks like you've a 4 weeks old flutter channel
Thank you

@TahaTesser , Thank you for your response.
This is the flutter doctor -v with the current updated master build. Executed in cmd since my Git bash isn't working.

I had to use the old master build because the issue didn't occur on that. I can't use stable build because there is a maps issue on that right now which hasn't been fixed in stable.
This is what comes up in my Git bash when I try to run flutter commands in it.

This didn't happen in the master build flutter-1.19-candidate.1.

\cc @gspencergoog

Didn't think it ever worked in git bash.

I have been using flutter in Git bash for over an year and it has always worked flawlessly for me.

Alright, thanks for clearing it out. I am curious about how it could stop working. If you have an idea about how that happened, let me know. Thankss 😁

Alright, thanks for clearing it out. I am curious about how it could stop working. If you have an idea about how that happened, let me know. Thankss

There was a recent refactor to our folder-locking logic that didn't take into account git bash: https://github.com/flutter/flutter/pull/57590. I believe the author is looking into this further.

So, the quick workaround for this is:
alias flutter=flutter.bat

That will still do proper locking on Windows, and avoid this problem.
The root of the problem is that git-bash doesn't have flock (or shlock), so it falls back to using an atomically created directory, but it's Windows, so the native file locking gets in the way sometimes of removing the lock directory.
I'm looking into adding a clause in the flutter bash script to instead exec the batch script when we're on Windows, so you won't need to alias it.

As far as I can tell, #59789 fixes this.  Closing.


Packaging

remove the __init__.py from tests so that it is not packaged up when we distribute via pypi
test on python 3.6, 3.7
add a manifest so that pypi installation carries the license with it

The only failing test is python 2.7. Thoughts on removing support for python 2.7? cc @rowanc1, @jcapriot?


Add map version to Manage installed maps dialog

Is your feature request related to a problem? Please describe.
When managing installed maps via the Managed installed maps dialog the version of the map is not shown. Therefore its impossible to know which ones to delete if multiple versions of the same map are installed.
Describe the solution you'd like
Show the map version number so I can choose the correct version.
Describe alternatives you've considered
The maps can be deleted by showing the map folder (from the hamburger in the top left of the client) and manually deleting the relevant folder.

The client is not setup to handle multiple installed versions of a map.
The client assumes only one version of a map is installed at a time and even will sometimes remove old versions and auto update them.

But it doesnt seem to be doing this for maps for me even though I have checkbox in settings enabled. Maybe something to do with versioning of maps?

Did you manually download and add any maps?

In answer to Sheikah45, no not that I am aware - I just used the client to download maps.
As an example here is a screenshot showing 2 versions of the The Crucible, which are indistinguishable. Would be good if the client could read the map version and put it in a column.


Not working on Server 2016 for Office 2021

This is not working for Office 2021 on Server 2016.
Step 3 says....
Run the Office Volume License Pack executable file. Running the executable file will install the Office Volume License Pack on the KMS host computer and then opens the Volume Activation Tools wizard.
The Volume Activation Tools wizard never opens or runs.  How do you enter the KMS key?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: dffd0c18-e6ff-d0df-771d-8082d6473fbe
Version Independent ID: 3b0adc2b-464e-bf01-9a4f-6098301d57c4
Content: Configure a KMS host computer to activate volume licensed versions of Office - Deploy Office
Content Source: DeployOffice/vlactivation/configure-a-kms-host-computer-for-office.md
Product: office-perpetual-itpro
GitHub Login: @DHB-MSFT
Microsoft Alias: danbrown

@dark73horse   Not sure what's causing your specific problem. I was able to run the Office LTSC 2021 Volume License Pack on a Windows Server 2016 Standard virtual machine. The Volume Activation Tools wizard started and got me to the screen where I could enter a KMS host key.
Probably best for you to contact Microsoft Support to get assistance with this problem.


Suggestion: Remove throwaway reference to "girl!" in Foundation Zurb Template

I am a brand-new Foundation user giving it a go for the first time. I came here because I wanted to note the double-take I did upon initially spotting this section on the default Foundation Zurb Template that's generated when you spin up a new project (and that repo said this repo is the right place to file issues).

I understand that this is just meant to be a "light" and "fun" heading, but... none of the other headings have this "light" and "fun" "narrator" tone, they are simply declarative. I don't really see much use for this throwaway reference and can only see it doing inadvertent harm. I'd be happy to file a PR to fix it or to go deeper into why I feel that way depending on the response this issue receives. Thanks.

Absolutely, file a PR to fix. Hadn't seen/noticed this, it predates me, but lets definitely fix it.

You mentioned injecting fun, we can replace with something else fun without removing all personality. Thanks!

Folks? People? Y'all? What do you prefer @rafibomb


Fix what happens when inf_EB succeeds with a decrease in SNR and then inf fails for mosaics

The code was recently updated to clear all calibrations in the event that inf_EB succeeds with a minor decrease in SNR but then the inf solint fails so that we don't end up accepting the inf_EB solutions that actually made the data worse. Those updates, though need a little tweaking to work a bit better with mosaics. The updates in this PR are to:

Check on a field-by-field basis whether the SNR decreased for that field for inf_EB, rather than for the mosaic as a whole.
In the event that either the SNR decreased for that field from inf_EB and then inf failed for that field, or the SNR decreased for the mosaic as a whole and then inf failed for the mosaic as a whole, fail both the inf_EB and the inf solints for that field. This is consistent with the overall mosaic success criteria of SNR must increase for both the mosaic as a whole and for any given field for that field to be considered successful.

After testing, I've made a few adjustments because I realized that for mosaics, we can continue to present a mosaic sub-field that succeeded at inf_EB as a possible field to be calibrated by all subsequent phase-only solints. We do this because sometimes for later solints we clean deeper, and it becomes possible to calibrate these fields better. So now it will only fail an originally successful inf_EB solint once we reach the final phase-only solint (either because that solint fails entirely, or because that solint == "inf").

This is nominally ready to go... but I also noticed in testing that the weblog properly shows "Fail" for inf_EB when this is invoked, but the stated reason is "None". This looks like it would be true for both mosaics and single fields. I'm thinking we should change the message there, but want to brainstorm ideas with you, @jjtobin. Repeating the process of figuring out whether it was SNR or NF SNR (or both) that led to the failure seems a little painful, so maybe we keep it simple, like "No successful solints later", or something like that? Or "SNR or NF SNR decrease with no successful solints later"? But the latter is a mouthful...

For single fields I see the reason showing up as S/N Decrease and S/N Decrease; NF S/N Decrease. Unless this changed with your changes. I can transfer a dataset to more easily test this.
Maybe 'S/N Decrease or NF S/N decrease and no further succesful solints' - still a mouthful but descriptive.

Oh interesting. I'll have to look at why that happens for single fields but not for mosaics. If I can get it to work the same way for mosaic sub-fields... do you want me to leave it as simply "S/N Decrease" and "S/N Decrease; NF S/N Decrease"? Or should I add the "with no successful solints later" on for both single-fields and mosaics?

I think the additional text would be useful for both mosaics and single field if you can add that to this PR.
Test data for this mode:
/lustre/cv/projects/SRDP/selfcal-prototyping/datasets/OMC2-FIR4-X-C/


Integration tests for the event service

#1846

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

:exclamation: No coverage uploaded for pull request base (develop@17c464a). Click here to learn what that means.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #1858   +/-   ##
==========================================
  Coverage           ?   71.34%
==========================================
  Files              ?      253
  Lines              ?     8651
  Branches           ?        0
==========================================
  Hits               ?     6172
  Misses             ?     2479
  Partials           ?        0

Flag
Coverage Δ

epictrack-api
71.34% <100.00%> (?)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Question about server interaction with authenticator

Hi 👋
In other examples i have seen previously (without python-fido2), the server returns the view containing the webauthn javascript that communicates with the authenticator on the device. (the server does a redirect to a page that it hosts)
Having had a look through the server example here, am i right in thinking that the ctap code is run locally (not hosted from the server)? If the CTAP code is hosted locally, how does the server talk to the client to say that the assertions need to take place
I'm working on a project where I'd like to use fido2 to provide usernameless/passwordless auth, but i don't want to use a webbrowser; all the ctap code would live locally on the device
Many thanks

CTAP is the protocol used to communicate between the FIDO/WebAuthn client (typically a browser) and the Autenticator, and this is always executed locally on the end user client. WebAuthn specifies how this is invoked from a JavaScript API, which can be called by a website. How the server transmits the need to perform a WebAuthn operation, or the parameters for such an operation, are not specified by the protocol and can be done in several ways, which is completely up to the RP to decide.
If you're working on a native application, then you implement the FIDO client (which python-fido2 can certainly help you with) rather than the browser. Again, how you communicate with a backend server is up to you.


Make help output readable.

This commit increases the usability by grouping flags based on their
first dot-separated group. Long flag descriptions are broken into lines
printed with indentation.
Also, there should be no panic and logging on bad input parameters
that prevent Prometheus from even attempting to start.

I do think there should be logging for wrong flags. If Prometheus is started automatically with something like Chef, users might look at the glog logs first if something goes wrong (like a typo in a flag name). For a glog using binary, they might not even collect stderr.
I agree that the stack trace is not useful if nothing has happened yet. See also comments.

Getting rid of the stack is what I find important.
However, by default the flag package prints the usage to stderr and exits with 2 on parsing error. So logging for typos in flag names wasn't there before, either and I doubt that we want to print the whole usage to the log file now, right?
Though we could log a generic error in our custom usage() function now.

We want a message in the log that tells the reader why the binary has exited irregularly. Usage is not required.
 But Prometheus uses glog (and has logged glog.Fatalf so far when flags were wrong).

Sorry, now I got it: Yes, flag errors caught be the flags package weren't logged.
So that was inconsistent...
I guess the best course of action is to glog.Error anything fatal during startup (including flag parsing errors), so no stack, but a glog message. And since glog.Error goes to stderr by default, it should also look good there.

Done.

Cool. Thanks.

Sounds good. Would you mind adding that to #629?
Otherwise I'll do it tomorrow.


Update contributing.md

saw that the tip needs ::: at the end too.
Also, tried inserting the champagne emoji. It will be interesting seeing how emojis render in Docusaurus.

saw that the tip needs ::: at the end too.
Also, tried inserting the champagne emoji. It will be interesting seeing how emojis render in Docusaurus.

To preview your changes you can of course use the "Preview" tab in GitHub while editing... But in case anything is not showing up correctly on GitHub but should be OK on docusaurus, you can use the preview feature by Netlify - After you create the Pull Requst - You should be able to click on the last "Details" link in the "Check" section to see a preview created automatically with your changes by Netlify.


Clear Periodic Timer after everyone unsubscribed

Fixes #474

It looks like there's a test failure with Gos\Bundle\WebSocketBundle\Tests\Server\App\Dispatcher\TopicDispatcherTest::testADispatchToAnUnregisteredPeriodicTopicTimerIsCompleted and it needing an update for this PR.
There is already a call to clear the timer here, after the Gos\Bundle\WebSocketBundle\Topic\TopicInterface::onUnSubscribe() method is called.  Is the added call to clear the topic before that method is called really needed?  That to me looks like it could have B/C impact as it changes the state of the event loop and the topic when the onUnSubscribe() method is called.

@mbabker I just learned that the real issue is that \count($topic) gives the wrong value, due to an ordering issue. When onUnsubscribe is called directly, then \count($topic) == 0, but when it is called indirectly through onClose, then \count($topic) == 1.
Old behavior:

onUnsubscribe: cleanTopic, onUnsubscribe
onClose: onUnsubscribe, onClose, cleanTopic

New behavior:

onUnsubscribe: cleanTopic, onUnsubscribe
onClose: cleanTopic, onUnsubscribe, onClose


RUMM-2625 Update default values for RUM events

What does this PR do?
Updates some default attributes of RUM events in order to standardize and unify behaviour across all sdk platforms.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #1139 (ed65701) into develop (9753f83) will decrease coverage by 0.06%.
The diff coverage is 83.11%.

@@             Coverage Diff             @@
##           develop    #1139      +/-   ##
===========================================
- Coverage    83.17%   83.11%   -0.06%
===========================================
  Files          274      274
  Lines         9462     9562     +100
  Branches      1540     1571      +31
===========================================
+ Hits          7870     7947      +77
- Misses        1152     1161       +9
- Partials       440      454      +14

Impacted Files
Coverage Δ

...android/rum/internal/ndk/DatadogNdkCrashHandler.kt
86.39% <63.64%> (-1.18%)
:arrow_down:

...roid/rum/internal/domain/scope/RumResourceScope.kt
95.12% <73.91%> (-2.81%)
:arrow_down:

.../android/rum/internal/domain/scope/RumViewScope.kt
94.77% <78.95%> (-1.93%)
:arrow_down:

...ndroid/rum/internal/domain/scope/RumActionScope.kt
96.53% <82.35%> (-1.98%)
:arrow_down:

...g/android/rum/internal/domain/scope/RumEventExt.kt
94.65% <100.00%> (+1.46%)
:arrow_up:

...ndroid/core/internal/persistence/file/EventMeta.kt
70.00% <0.00%> (-10.00%)
:arrow_down:

...ndroid/telemetry/internal/TelemetryEventHandler.kt
71.43% <0.00%> (-0.89%)
:arrow_down:

.../android/rum/internal/monitor/DatadogRumMonitor.kt
93.33% <0.00%> (+0.56%)
:arrow_up:

...ain/java/com/datadog/opentracing/PendingTrace.java
58.62% <0.00%> (+0.86%)
:arrow_up:

... and 1 more


Need a option to have TCP timeouts

Is your feature request related to a problem? Please describe.
I am looking for a fast and simple TCP/HTTP timeout function.
I've tried a couple of things to do this properly, but it seems epoll is giving me troubles when I try to close.
Also, TCP eats a ton of resources on GNET, how should I approach this properly ?
Describe the solution you'd like
A simple way (and non-blocking, super fast like GNET itself is) to put a timeout for a TCP connection.
Describe alternatives you've considered
Trying to track down all TCP connections like I did with UDP, but TCP is by itself already very strained with resource usage ?
Additional context
Basically, TCP timeout is a basic thing that should be there by default ?
If there is a example of a already existing, and fast concurrency way of applying a timeout, please do let me know !

Here is the message I receive, or it seems it's trying to close the connection (using a timeout function), but is not able to, cause epoll says it's already gone and away...
2021-01-03T17:14:39.765+0100    WARN    netpoll/epoll.go:125    Error occurs in user-defined function, the fd=66 in event-loop(1) is already closed, skipping it
github.com/panjf2000/gnet/internal/netpoll.(*Poller).Polling
        /root/go/src/github.com/panjf2000/gnet/internal/netpoll/epoll.go:125
github.com/panjf2000/gnet.(*eventloop).loopRun
        /root/go/src/github.com/panjf2000/gnet/eventloop_unix.go:85
github.com/panjf2000/gnet.(*server).startEventLoops.func1.1
        /root/go/src/github.com/panjf2000/gnet/server_unix.go:78

Here is the message I receive, or it seems it's trying to close the connection (using a timeout function), but is not able to, cause epoll says it's already gone and away...
2021-01-03T17:14:39.765+0100    WARN    netpoll/epoll.go:125    Error occurs in user-defined function, the fd=66 in event-loop(1) is already closed, skipping it
github.com/panjf2000/gnet/internal/netpoll.(*Poller).Polling
        /root/go/src/github.com/panjf2000/gnet/internal/netpoll/epoll.go:125
github.com/panjf2000/gnet.(*eventloop).loopRun
        /root/go/src/github.com/panjf2000/gnet/eventloop_unix.go:85
github.com/panjf2000/gnet.(*server).startEventLoops.func1.1
        /root/go/src/github.com/panjf2000/gnet/server_unix.go:78


Help - Canvas Path not show in Android #2132

Description
Hello,
I'm using canvas to be able to draw a signature, but on Android it can't work. Canvas can't draw strokes on Android, but when I use const image = refCanvas.current?.makeImageSnapshot(); and const base64 = image?.encodeToBase64(); I still get the image I drew.
Here is my code:  <Canvas ref={refCanvas} onTouch={touchHandler} style={styles.vCanvas}> {paths.map((path, index) => { const findStroke = PStroke?.find(elm => elm.index === index); return ( <Path key={index?.toString()} path={path} style="stroke" strokeCap="round" color={findStroke?.valueColor || selectStroke.color} strokeWidth={findStroke?.valueWidth || selectStroke.width.value} /> ); })} </Canvas>
It's very basic but it can't be displayed, on IOS it works normally.
IOS:
https://github.com/Shopify/react-native-skia/assets/71163774/0c34c732-7af1-48b7-a828-f7061be5afbf
Android:
https://github.com/Shopify/react-native-skia/assets/71163774/e0484501-770a-4437-b013-a2e1bc544d46
Version
0.71.7
Steps to reproduce

Install library
Used code exemple
Check it on Android

Snack, code example, screenshot, or link to a repository
AndRoid: https://github.com/Shopify/react-native-skia/assets/71163774/e141b2a7-4fae-44f5-b388-10d36e77e9e0
IOS: https://github.com/Shopify/react-native-skia/assets/71163774/bb92b902-7d75-45e3-9ecb-5e1c3130d1d9

@VuDinhVN this bug should have been fixed (see #1811). If this is not the came, please share a small reproducible example and we will fix it as soon as possible.


[Enhancement] Balance and repair use the same slot for tablet scheduler

What type of PR is this：

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

There is no need to distinguish repair slot and balance slot, because:

For the scheduler: balance task is low priority, so it will not compete with repair task if there are both balance and repair tasks.
For the path resource: balance and repair will both generate a copy request to BE, there is no difference for the resource consume.

And more, this PR removes the unused BE_LOAD_SCORE schedule strategy.
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[ ] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

[FE PR Coverage Check]
:disappointed: fail : 8 / 11 (72.73%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/common/proc/SchedulerWorkingSlotsProcDir.java
0
1
00.00%
[48]

:large_blue_circle:
com/starrocks/clone/DiskAndTabletLoadReBalancer.java
0
1
00.00%
[319]

:large_blue_circle:
com/starrocks/clone/TabletScheduler.java
6
7
85.71%
[367]

:large_blue_circle:
com/starrocks/clone/TabletSchedCtx.java
2
2
100.00%
[]

run starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test

@mergify backport branch-2.5 branch-2.4


Find-all-references fails with esModuleInterop

TypeScript Version:  master
Code
// @esModuleInterop: true

// @Filename: /abc.d.ts
////declare module "a" {
////    export const [|x|]: number;
////}

// @Filename: /b.ts
////import a from "a";
////a.[|x|];

verify.rangesReferenceEachOther();

@weswigham Any idea why the two x aren't the same symbol?

getTypeWithSyntheticDefaultImportType uses getSpreadType where it can - I imagine this is because getSpreadType in getNonReadonlySymbol for a const explicitly creates new symbols for each member without setting .target. Maybe a simple fix?


CASMPET-6420 1.5 : fix test to not fail when LDAP server not configured

Summary and Scope
This test now checks to see whether an LDAP server has been configured and does not FAIL when no LDAP server is configured.
Is this change backwards incompatible, backwards compatible, or a backwards compatible bugfix?
Issues and Related PRs
List and characterize relationship to Jira/Github issues and other pull requests. Be sure to list dependencies.

Resolves CASMPET-6420/CAST-32467
Also includes CASMCMS-8473, and fix check_interface_mac_matches_bond
Change will also be needed in release/1.3 and release/1.4
Future work required by NA
Documentation changes required in [NA
Merge with/before/after TBD

Testing
Tested on:

groot (airgpapped)
wasp (not airgapped)

Test description:
Original test vs fixed version

groot - air gapped where LDAP is not configured

ncn-m001:~ # GOSS_BASE=/opt/cray/tests/install/ncn goss -g /opt/cray/tests/install/ncn/tests/goss-k8s-resolve-external-dns.yaml validate
F

Failures/Skipped:

Title: Resolve external DNS
Meta:
    desc: Validates external DNS name resolves. If the test fails, the configured LDAP server was not pingable. Refer to 'operations/network/dns/Troubleshoot_Common_DNS_Issues.md' in the CSM documentation to troubleshoot external DNS issues.
    sev: 0
Command: resolve_external_dns: exit-status:
Expected
    <int>: 1
to equal
    <int>: 0

Total Duration: 1.566s
Count: 1, Failed: 1, Skipped: 0

ncn-m001:/opt/cray/tests/install/ncn/tests # GOSS_BASE=/opt/cray/tests/install/ncn goss -g /opt/cray/tests/install/ncn/tests/goss-k8s-resolve-external-dns-fix.yaml validate
.

Total Duration: 1.544s
Count: 1, Failed: 0, Skipped: 0

wasp - non airgapped where LDAP is configured

 ncn-m001:~ # GOSS_BASE=/opt/cray/tests/install/ncn goss -g /opt/cray/tests/install/ncn/tests/goss-k8s-resolve-external-dns.yaml validate
.

Total Duration: 3.149s
Count: 1, Failed: 0, Skipped: 0

ncn-m001:~ # GOSS_BASE=/opt/cray/tests/install/ncn goss -g /opt/cray/tests/install/ncn/tests/goss-k8s-resolve-external-dns-fix.yaml validate
.

Total Duration: 3.194s
Count: 1, Failed: 0, Skipped: 0

Were the install/upgrade-based validation checks/tests run (goss tests/install-validation doc)?
Were continuous integration tests run? If not, why?
Was upgrade tested? If not, why?
Was downgrade tested? If not, why?
Were new tests (or test issues/Jiras) created for this change?

Risks and Mitigations
Are there known issues with these changes? Any other special considerations?
Pull Request Checklist

[ ] Version number(s) incremented, if applicable
[x] Copyrights updated
[x] License file intact
[x] Target branch correct
[ ] CHANGELOG.md updated
[x] Testing is appropriate and complete, if applicable
[ ] HPC Product Announcement prepared, if applicable

Merged in with a newer release.


Bug: Handle a value not being passed for Y in euclidian distance.

For euclidian distance calculation: Added handling of not passing a value for Y and initialising it to X.

Sorry, I missed this PR when it was made.
I've merged master and added a small test for this. Will merge when the CI passes.

Thanks! Sorry for the delay.


Ability to recall / save settings

💜 Seriously love this tool!
I would love to be able to easily recall the settings of past code exports. Maybe the initial implementation can be as simple as saving the last known settings in localStorage?
Thanks for considering this feature!

Thanks so much for your kind words @bradgarropy! Glad you find it useful 😄
I'm definitely going to add this in -- it's just a matter of time. Hopefully in the next couple weeks I'll have it up and running 👍

I'm a seasoned react developer, but I'm new to Vue. If you point me to the right file(s) I can create a branch and try submitting a PR!

Sure! That'd be awesome. If you'd like to take a crack at it, here's all the settings for the preview window:
https://github.com/stevebauman/showcode/blob/4d570f022c7ef098c73a9eb9a075ef80b9d14959/components/Preview.vue#L408-L436
I've also added local installation instructions to get you up and running:
https://github.com/stevebauman/showcode#local-installation

+1 for a simple localStorage implementation!

Implemented! All settings and all tabs are now stored by default in local storage (try making changes, closing the browser window, and then re-visiting showcode.app).
You can now save a tab as a template so you can create new project/screenshots based on the exact same template! 🎉

Woah that was fast, thank you so much @stevebauman!