Add support for multiple containers on status report page.

This PR addresses issue #58
In our use case we run the docker:dind image alongside the elastic agent's container in the same pod in order to enable docker in docker capabilities.
However with this setup the 'Status Page' is failing to retrieve logs from the pod as described in #58
With this proposed change we get status report and logs not only for the first container in the pod, but for all of them.

I have opened another PR as initially the CLA check didn't pass. Because I have duplicate PRs now, I'm closing this one.


Add Haskell style Enum typeclass Enumeration

Supports Stream operations over Java enums and more fine grained meaningful control of Lists of data
Enumeration.enums(Days.values())
                     .stream(Monday)
                     .join(" ")
//"Monday Tuesday Wednesday Thursday Friday Saturday Sunday"

Enumeration.enums(ListX.of(A,B,C,D,E,F,G,H,I,J))
                     .streamThenTo(A,C,G)
                     .join(" ");

"A C E G"

Released in 2.1.0


Using with_inputs or not

Hi,
I'm not sure I understand the use of with_inputs.
Let's say I have this benchmark:
#[divan::bench(
    types = [Ascii, Unicode],
    consts = LENS,
)]
fn to_ascii_uppercase<G: GenString, const N: usize>(bencher: Bencher) {
    let mut gen = G::default();
    bencher
        .counter(CharsCount::new(N))
        .with_inputs(|| gen.gen_string(N))
        .input_counter(BytesCount::of_str)
        .bench_local_refs(|s| s.to_ascii_uppercase());
}

I get that the time to create the strings wouldn't affect the benchmark.
But what about if I create the string inside bench_local, like this?
#[divan::bench(
    types = [Ascii, Unicode],
    consts = LENS,
)]
fn to_ascii_uppercase<G: GenString, const N: usize>(bencher: Bencher) {
    let mut gen = G::default();
    let s = gen.gen_string(N)
    bencher
        .bench_local(|| s.to_ascii_uppercase());
}

The time to create the string is also not included in the benchmark right?
Therefore is the use of with_inputs mostly to have additional helpers such as input_counter?

You are correct that the first and second example do not include string generation time in benchmark timings. However, that's where the similarities end.
Differences:

The first example generates a new string for every benchmark iteration. Whereas the second example reuses the same string instance. The first example improves over the second because it generalizes over various cases instead of a single case that may exhibit anywhere between best-case or worst-case performance repeatedly for every iteration. Also, the second case will easily enable the CPU's cache and branching systems to optimize for repeatedly working over the same data, which probably does not actually reflect real world work.
The first example has Divan black_box every string, preventing the compiler's optimizer from making assumptions about the data. In the second example, Divan does not black_box the closure passed to bench/bench_local and thus the optimizer may allow the code to appear more optimal than it would in practice in real world scenarios.


Webtoon Hatti download issue

Source information
Webtoon Hatti 1.4.38
Source language
Turkish
Steps to reproduce
I can read the chapter normally, but when I get to the end of the chapter it shows the error "The image couldn't be loaded". This does not prevent me from reading, but when I try to download the chapters, the download cannot be completed and gives an error.
Expected behavior
Episodes should be downloaded without error.
Actual behavior
It gives an error at the end of the download and the download does not complete.
Mihon/Tachiyomi version
Mihon 0.16.5
Android version
Android 14
Other details

Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

 Its most likely the same problem all over again.


remaining annotations

Hi,
can you please provide the annotations for the remaining SC* files?
you only provide for the first 20 subjects. can you provide the remaining 58 SC* subjects?

This has been updated now.


Remove tabline on startup

environment

vim: 9.1
vim-airline: Most recent
OS: linux
Have you reproduced with a minimal vimrc: Yes
What is your airline configuration:

let g:airline#extensions#tabline#enabled = 1

actual behavior
Tabline is there when starting vim.
expected behavior
Have a command that disables tabline when starting vim.
$ vim -c "let g:airline#extensions#tabline#enabled = 0" does not work.

AirlineToggle did the trick.

:h 'showtabline'


Add Magic to binary file check

This PR is an attempt to make the binary exclusion a little safer, and avoid trying to upload potentially large binary files.  it maintains the binary file extension check, but augments it with an additional Magic-based check for MIME type.  MIME types that start with "application/", "image/", "audio/", and "video/" are treated as binary, with the exception of "application/xhtml+xml" and "application/xml" files which are treated as non-binary.
The downside of this patch is that it adds an OS-level requirement - magic - which may not be installed by all users.

I like this in theory but would prefer to avoid the OS-level dependency if possible, just opened a PR against this with a slightly less comprehensive approach that wouldn't require magic and interested to get your thoughts:  https://github.com/octo-source/arcode/pull/2
Also considering adding a config arg along the lines of max_crawled_file_size as a backstop (and because plain old text files can get pretty big too)


Dev search v201 [For reviewing purpose only, do not merge]

Updated 24-06
Filters are now enable also in advanced search.
Added markup & styles to map search/advaned map search pop up content (click on the dot on the map to try)
http://gofullstack.me:3100/search?q=%23loklak%2B%2Fmap
Updated 23-06
Location will works for all place. It is now evaluated with long/latitude, not place name. Try this out:
http://gofullstack.me:3100/advancedsearch?q=%23vietnam %2Flocation%3D102,18,109,23
** Merge info 22-06**
New view: advanced search, can be also accessed from normal search result with More Options filter.
Before testing, let's go through some exception related to Any of these words and from these accounts. We are now supporting OR in search term (temporarily), not yet in from these accounts, so when fields are used, here are the cases:

If there is only one word in Any of these words, it will just be append to other terms.
If there is > 2 words, then wordA OR wordB will be the term and overrule all others
If there is words in from these accounts, only one will be access, and append to other search term.

It's hard to check for result, as the more complicated the options are, the less result available. You might want to try 2-3 options at a time.
Here are some quick links to start with. You can click new search to see what the terms were.

http://gofullstack.me:3100/advancedsearch?q=%23loklak near:Helsinki
http://gofullstack.me:3100/advancedsearch?q=Rain %23london
http://gofullstack.me:3100/advancedsearch?q=%23loklak since:2014-09-01 since:2015-06-04

Bugs are inevitable. There are many combination those can easily break the current setup. However, when trying to break it please consider realistic combination which is worth adding a not so edge case. I'm happy to add patches as days go by.
Some related details about the view. #90
Cheers!
Phuc

New patches are coming. Not yet merge until essential patches are here!

This is delayed until master is clean


Allow multiple changes in a single governance proposal

In order to be ready for Q2 2022 development we need to agree upon the scope for the engineering team to deliver in this time period.
Update 0028-GOVE-governance.md? with details of how to allow multiple changes to be in a single proposal to enable the expected work related to the prioritisation meeting held on the Notion Board
How do we know when we are done:

[ ] The spec has been updated to indicate what are the requirements for allowing multiple changes in a single proposal
[ ] The specification contains acceptance criteria with IDs that reflect the scope of the work required for Q2 2022
[ ] The engineering team has reviewed the specifications and understand the scope
[ ] The spec is merged into the specs repo before engineering start development/test work

split this to :

multiple net params changes (cosmic)

wider changes (net params + markets + other etc...) (AFTER cosmic)

Closed by https://github.com/vegaprotocol/specs/pull/1782 .


bug: Error on calling the lua functions

Unsure if I'm doing something wrong but everytime I try calling require('browse').input_search() I get an error:
E5108: Error executing lua vim/shared.lua:0: Expected table, got string stack traceback:         [C]: in function 'assert'         vim/shared.lua: in function 'tbl_isempty'         ...ew/Cellar/neovim/0.8.1/share/nvim/runtime/lua/vim/ui.lua:90: in function 'input'         .../site/pack/packer/start/browse.nvim/lua/browse/utils.lua:58: in function 'search'         .../site/pack/packer/start/browse.nvim/lua/browse/utils.lua:71: in function 'input_search'         [string ":lua"]:1: in main chunk
This was working for me earlier, unsure what's going on.

@ShaySS, can you try with a minimal config?
I am not able to reproduce the issue.


Mem percent watermark

watermark of memory usage percent

deploy 2 pods which use 3.5G and 2G memory

node use 78.7% memory

set watermark of memory usage percent to 50%

pod with 3.5G memory has been evicted, pod with 2G memory is still running

@mfanjie  We can take this pr as standard, this pr includes all 3 features.

Mem usage test:
https://github.com/gocrane/crane/pull/554#issuecomment-1247721045

Mem percent test:
https://github.com/gocrane/crane/pull/557#issuecomment-1247924500

/LGTM


Rows processed is abnormally high when using static_incremental_days

Steps to reproduce:

Run dbt run --full-refresh and record how many MB were processed for the base_ga4__events model
Set static_incremental_days: 3 in your dbt_project.yml
Run dbt run -m base_ga4__events and record how many MB were processed

I'm seeing the same amount of MB processed in steps 1 and 3. When I look at the compiled SQL ,though, it looks correct:
and parse_date('%Y%m%d', event_date) in (date_sub(current_date, interval 1 day),date_sub(current_date, interval 2 day),date_sub(current_date, interval 3 day))
Not sure what's going on, but when I use dynamic partitions (by removing the static_incremental_days var) then I see far fewer MB processed which is expected. Even if I delete 3 days of data and run dbt run, I get 15MB processed rather than 350MB processed.

Figured this out. We need to parse the table suffix, not event_date_dt. Doing the latter doesn't save any processing (even though the output is the same in the resulting table)
parse_date('%Y%m%d', _TABLE_SUFFIX)


add cargo fmt to ci

@dconnolly i noticed that we have a .rustfmt.toml. I set the ci to nightly initially because of this but rustfmt isn't available on nightly rn. I switched it to stable for now and hopefully that gives the same output but I'm guessing it doesn't. I can either dig into the best way to use nightly rustfmt, see if there's a way to get it to pick the latest nightly that has rustfmt or something. Alternatively I could just pin it to the last nightly with rustfmt, or even just leave it on stable, lmk which you prefer.

@dconnolly i noticed that we have a .rustfmt.toml. I set the ci to nightly initially because of this but rustfmt isn't available on nightly rn. I switched it to stable for now and hopefully that gives the same output but I'm guessing it doesn't. I can either dig into the best way to use nightly rustfmt, see if there's a way to get it to pick the latest nightly that has rustfmt or something. Alternatively I could just pin it to the last nightly with rustfmt, or even just leave it on stable, lmk which you prefer.

Personally I am always using the stable toolchain locally for tests, builds, and my emacs-fmt integration (even though it breaks sometimes 🙃 ) so I'd lean towards using the stable fmt too.


Node sizes representing only the frequency at the time of a snapshot

Describe the bug
Node sizes represent the frequency either at the moment when the node was extracted from mongo or before graph was trimemd.
Node sizes should be updated right after these events to reflect the accurate size.

This bug also fixed an issue with file settings update where updating the settings caused errors.


Portainer icon is cut at the top

Environment
Docker
Version
0.3.1
Describe the problem
Icons is not responsive when modify/add a services. For example Portainer icon is cut at the top.
Additional info

Please tick the boxes

[X] You've read the docs
[X] You've checked for duplicate issues
[X] You've tried to debug yourself

Thanks for the issue ! Solved in https://github.com/ajnart/homarr/commit/13aeeefb225684d6ca7ab827618d098909812f9c !


Faild To Lanch camt find the required mod:origins

it wont start i tryed like  50times # #

Based on the title, sounds like you need to install a newer version of Origins for one of your dependencies.
However, this is not the place for installation help, please join the Fabric or Origins Discord for that.


Can't embed in SVG

<Svg height="756" width="375" >
                            <Rect
                                x="0"
                                y="0"
                                width="100%"
                                height="100%"
                                fill="white"
                            />
                        <Image x="0" width="375" height="605" href={ShareImage}/>
                        <Text
                                x="27"
                                y="661"
                                textAnchor="middle"
                                fontWeight="bold"
                                fontSize="16"
                                fill="blue"
                            >Welcome</Text>
                        <QRCode size={100}/>
                    </Svg>

Can not work.

Is there any error messages or the qr code just doesn't show?

No error message, just nothing show.
I think that will be awesome If there component can embed into SVG

It's working. What is your version of react-native-svg?


Depth & color alignment inaccuracy

Describe the bug
The depth and color alignment is inaccurate, and the problem becomes more pronounced the further a subject is from the sensor.
I'd like to know:

Is the factory calibration process intended to solve only for close ranges? If so, can you provide information about the process and what we should expect in terms of usable aligned ranges from the factory calibration?
Is there anything that can be done to fix this issue for existing devices, aside from building our own calibrations using OpenCV or similar?

To Reproduce
Point the Azure Kinect at an object with recognizable features in both depth and color. Note that the features are not properly aligned when viewing the resulting reconstructed 3D object. Note that the alignment issue is worse the further the object is placed from the sensor.
Expected behavior
The depth and color alignment should maintain accuracy within the operating range of the device. Currently the calibration appears to be solving for very close range, at the expense of medium and long range accuracy.
Screenshots
To visualize the issue, I used a cube with colored tape on each edge. This object has features in both depth and color that should align perfectly in the reconstruction. These examples were taken with the cube sitting about ~6-7ft from the sensor.
Imgur gallery: https://imgur.com/a/BeiNN0n
Overview of the fiducial as seen in the Azure Kinect Viewer:

Viewing the object from the top in the Azure Kinect Viewer, a shift is observed in the color-depth alignment, particularly noticeable along the front facing vertical edge of the box, where it can be seen that the border between red and green tape, which should be perfectly centered along the edge of the point cloud, gets projected too far to the right.

A more extreme angle showing the same phenomenon.

Desktop (please complete the following information):

OS with Version: Windows 10 v1909
SDK Version:  1.3.0
Firmware version:

RGB: 1.6.102
Depth: 1.6.75

Additional context
There are a few other closed issues that show similar alignment issues, but they have been written off as occlusion problems. This is clearly not an occlusion problem, and in fact the Kinect for Windows V2 does NOT exhibit the same effects, and maintains very accurate color & depth alignment at the same distances used in this test.

We are seeing the same thing. Here's a screenshot (captured in Depthkit) showing the offset between the texture and the mesh.

You can see that the grid board is being significantly projected onto the whiteboard in the background.

Thank you very much for the feedback.
You are correct. If you are using k4a_transformation_depth_image_to_color_camera(), then occlusion is handled by this function, therefore, the small depth and color misalignment with this API is not causing by occlusion. However, if you are using the k4a_transformation_color_image_to_depth_camera function, then you will see issues because of occlusion. Here is the doc  describes the difference of the functions.
Now, put aside occlusion, just want to share some thoughts around the small misalignment from the depth to color transformation. In short, it is expected that you might not be able to get the perfect alignment, although you should also expect the misalignment should not be very large. Here are some details:
First of all, if you are interest on the transformation algorithm, we have the reference code in the GitHub you can dig and learn, if we summarize the steps:

Unproject the depth image to 3d point cloud in depth camera space (here, the depth value and depth camera intrinsics are consumed)
Transform above 3d point cloud from depth camera space to color camera space (here, the depth to color extrinsics is consumed)
Project the 3d point cloud from color camera space to the color image with interpolation (here, the color camera intrinsics is consumed, and also because of the resolution difference, bilinear interpolation in a triangle area is used)

Now, as we can see there are few things can contributed to the end to end alignment error, which includes both camera calibration and the depth error. Even the calibration is perfect, you still can get some small misalignment because of the depth value could contain systematic or random error, e.g. "typical systematic error < 11 mm + 0.1% of distance without multi-path interference". That being said, other than depth error, the calibration can contribute to the error too. @tesych @rajeev-msft might know the calibration accuracy spec.
The team has certain test to do end to end measurement of the depth to color transformation reprojection error described as the following steps:

The test scene setup includes certain marker board with coded marker target (unique id) cover most of the depth and color field of view overlapping area.
The test captures n depth frames and 1 color image
The test computes a mean depth image (average our the random error) and a mean ir image from the n depth frames.
The test detects the marker centers 2d pixel coordinates (float) in both the mean ir image (let us define a set m_ir) and the color image (m_color)
The test unprojects each marker center from m_ir to depth camera 3d space then transforms to color camera 3d space, then projects to color image (let us define a set m_ir_reprojected)
Once find a match for the marker based on unique id between m_ir_reprojected and m_color, the test computes the Euclidean distance between them in the unit of pixels, defined as the transformation reprojection error.
Based on statistic of many devices, a few color pixels of transformation reprojection error could be expected (assume the color image resolution is K4A_COLOR_RESOLUTION_3072P).

It is hard to tell how much the misalignment from a color point cloud perspective, it will be helpful if you have quantitative reprojection error similar as what above test we described.

Hi @rabbitdaxi Thank you for your response.

It is hard to tell how much the misalignment from a color point cloud perspective, it will be helpful if you have quantitative reprojection error similar as what above test described.

The color-depth misalignment shown in the point cloud is about 3/4 of an inch of error at about 6 ft away from the sensor. I am estimating this based on the width of the colored tape (1/2") used to mark the cube, and the fact that it is a bit more than one tape's width shifted to the right from where the center of the edge is in the point cloud. For a more accurate error number, I would need to write a more elaborate test application using the IR image to test it as you have described, but I don't have the time to do that at the moment, and it is obvious to me that there is a problem.

It is expected that the misalignment should not be very large though.

For our purposes, this amount of  misalignment is very large. Error of this magnitude means that people in front of the sensor at a distance great enough to capture the full figure may have facial features such as their nose or eyes mapped onto their cheeks, which leads to very strange and not very life-like reproductions.

@tesych @rajeev-msft might know the calibration accuracy spec.

I am very curious to hear what the re-projection error tolerances are for this process.

The team has some test in manufacturing to measure the depth to color transformation re-projection error described as the following steps

We employ a similar approach for computing alignment error, using temporal median filtering when calibrating the Azure Kinect to an external color camera, and we are able to get error numbers in the fractions of millimeters range.
When pairing two lenses, it is possible to "solve" the camera system for close range, having very low error at the solved distance. Naturally, the error at a given distance will increase the further it is from the ideally solved range. It appears to me that the factory calibration method is solving for high accuracy at very short ranges rather than a lower average error throughout the usable range of the sensor. Can you confirm that this is true or not?
In our experience, getting a good calibration depends highly on where in space the markers used for calibration are placed in relation to the cameras. This is why I am curious about the factory calibration process, specifically how far the markers are from the sensor during the calibration process:

Are the sensors calibrated with markers placed at a single distance from the sensor, or are multiple distances used?
What are the distances used during the factory calibration process?
How large is the volume of space used for calibration? (computed as the volume of a bounding box containing all 3D points used in the calibration process)

This is why our calibration process involves computing the bounding box, so we can determine an error per cubic meter metric, which is more useful than the error by itself, since it penalizes solving the system for only a small area.
Can you also please respond to the specific questions in my original post:

Is the factory calibration process intended to solve only for close ranges? If so, can you provide information about the process and what we should expect in terms of usable aligned ranges from the factory calibration?
Is there anything that can be done to fix this issue for existing devices, aside from building our own calibrations using OpenCV or similar?

Thank you!

Thank you @tim-depthkit for the question. As @rabbitdaxi mentioned, there are many thinks can contribute to the misalignment that you experienced. Our team is currently investigating the issue further and will be happy to share our finding soon.

@tim-depthkit I've gone through all these troubles and you can see the conversation in #803. My conclusion is the depth is not accurate. The accuracy of the depth highly depends on the material. This is not solvable by us unless there's an update on how depth is calculated.

The depth/color alignment issue in this Github thread is making me wary of buying a bunch of Kinect Azures for a multi-cam setup since I haven't been able to get alignment either using borrowed sensors.  Are there people who have actually been able to get an color/depth aligned multi-cam cloud using Kinect Azure at this point? I can't get a clear answer anywhere.

@jasjuang I do not think that #803 stems from the same issue. I have not done a deep dive into the multi-camera examples shipped with the SDK, but our own internal multi-sensor tests do not exhibit the level of mis-aligned pointclouds you posted in that issue.
We've been able to get very closely aligned pointclouds with multiple sensors, despite this color/depth alignment issue. Of course fixing this would improve the accuracy of any multi-sensor alignment that uses the color camera and the built-in calibrations, but as I mentioned in my original post, the alignment error is around 1.5" at 6ft, which is actually difficult to notice given the noise profile of the depth data at that distance.
I think it is important to clarify that while this issue does lead to slight multi-sensor point cloud mis-alignment, the effect would not be as great as what is outlined in #805
@tesych Any updates on analysis of this issue?

@tim-depthkit Can you show us an example of your multi Azure Kinect alignment result? Are you doing anything special for the calibration? Or were you able to obtain good results just by using standard checkboard/charuco corners + zhang's method?

I am also facing similar issue on my side while trying out with different kinects. Totally agree with what @tim-depthkit has mentioned. Furthermore, I noticed that the severity of the rgb-depth frame registration error differs on every kinect sensor. This highly seems to be the problem of the default factory calibration parameters. Still waiting for a solution for this too.

@qm13 Noticed this issue is now closed. What is the outcome? Is there a fix for misaligned sensors?

I'm also very interested to hear what the outcome is. Will this bug be fixed in future release?

No. It does not handle it by the  k4a_transformation_depth_image_to_color_camera(). Sadly.

I am facing the issue as well. Kindly let me know if there is a way to fix this-to align color and depth images.

We have the same issues as shown in https://github.com/microsoft/Azure-Kinect-Sensor-SDK/issues/1058#issuecomment-582641359 with factory calibrated Azure Kinect out-of-the-box. Please let us know if there are any workarounds for this?

I find this thread after openning a new bug report #1443 .  I think they are the same issue. Wondering what's the update?
Given the difficulty of changing calibration data after a device is out of factory, I think the azure kinect team can consider open sourcing the calibration process.

poor device

Hello everyone,
I am facing the similar issue regarding depth and color shift. Does anyone already found any solution/workaround for this issue?
I am also curious, since this topic is open from so long, is this issue solely related to Hardware or there is also a way to tackle it on software side?


asciidoctorj error:Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

Hello everyOne!
Thanks for reading my tips.I have some questions .
My computer has 8 gigabytes of memory  and quad-core,jdk1.8,asciidoctor v2.0.14 asciidoctorj v2.4.2
Use Assidoctorj to convert ADOC to PDF to report OutOfMemoryError:

use:
asciidoctorj -a pdf-theme=D:\resources\themes\custom_zh-theme.yml -a pdf-fontsdir=D:\resources\fonts -b pdf XXX.adoc
Where is the problem of memory overflow caused and how to solve it?
I would appreciate your reply!Thanks!

Is there any additional information you can provide? The stacktrace seems incomplete and does not show any Asciidoctorj reference I can recognize.
Ideally, if you can share a reproducable set of files, would be great.

Is there any additional information you can provide? The stacktrace seems incomplete and does not show any Asciidoctorj reference I can recognize.
Ideally, if you can share a reproducable set of files, would be great.

The files you refer to include styles(theme and fonts) and XXX.adoc?

[ ] asciidoctorj -a pdf-theme=D:\resources\themes\custom_zh-theme.yml -a pdf-fontsdir=D:\resources\fonts -b pdf XXX.adoc

How can I send the files to you? Can I have your email address or the other way around?

Is there any additional information you can provide? The stacktrace seems incomplete and does not show any Asciidoctorj reference I can recognize.
Ideally, if you can share a reproducable set of files, would be great.

The files you refer to include styles(theme and fonts) and XXX.adoc?
asciidoctorj -a pdf-theme=D:\resources\themes\custom_zh-theme.yml -a pdf-fontsdir=D:\resources\fonts -b pdf XXX.adoc
How can I send the files to you? Can I have your email address or the other way around?

The best thing to do would be to create a repository here on GitHub and put the files into it. You can always remove the repository later once the problem has been sorted out.

Good news, I was able to get an OutOfMemory (while different mesage) using the CN example we have in the maven-examples repo.
Monitoring while playing with the theme it seems it's the treatment of fonts that causes the memory spikes. The maven example works because Maven by default allows for more memory. Here I can only recommend to increase the memory limit to your needs using JAVA_OPTS like:
$ JAVA_OPTS="-Xmx1024m" asciidoctorj -b pdf -a pdf-theme ...

Good news, I was able to get an OutOfMemory (while different mesage) using the CN example we have in the maven-examples repo.
Monitoring while playing with the theme it seems it's the treatment of fonts that causes the memory spikes. The maven example works because Maven by default allows for more memory. Here I can only recommend to increase the memory limit to your needs using JAVA_OPTS like:
$ JAVA_OPTS="-Xmx1024m" asciidoctorj -b pdf -a pdf-theme ...

NOTE: The fonts from the CN example we have are 100MB in file size, so I can only guess that we or prawn are loading them into memory.

I tried the method you gave me，using JAVA_OPTS :

so i tried another method:

Please take a look at it again,thanks!

The only thing that worked in my Win10 was setting the variable in the shell before the command with  $env:JAVA_OPTS="-Xmx1024m".
If it doesn't work, you can try and get the actual arguments bing passed by disabling "echo off" in "asciidoctorj.bat".

The only thing that worked in my Win10 was setting the variable in the shell before the command with  $env:JAVA_OPTS="-Xmx1024m".
If it doesn't work, you can try and get the actual arguments bing passed by disabling "echo off" in "asciidoctorj.bat".

For the memory overflow problem, I did the following experiment:

Three computers with 8GB of RAM and the same document and style, only one can publish successfully with ASCIIDoctorj, but it will run out of memory if the ADOCC document contains a slightly larger image memory (e.g. 490KB).
Therefore, I changed to a 16G computer, which is the same as the case of Method 1. It is still a memory overflow error.So I decided it had nothing to do with the computer's physical memory configuration.
I have a hypothesis that the environment of ASCIIDoctorj depends on, is my configuration complete?My current environment is JDK 1.8, Aciidoctorj V2.4.3, Ruby V2.7.2.

So I decided it had nothing to do with the computer's physical memory configuration.

Totally right. AsciidoctorJ, or any Java program, can only use as much memory as you give the Java Virtual Machine (JVM).
The amount of memory available to the JVM is controlled via the option -Xmx as @abelsromero has pointed out.
So please try increasing this to a larger value like $env:JAVA_OPTS="-Xmx4096m" if 1024m does not suffice.


Script is running but the mp4 file is not created

Hi,
I have successfully added the script, but the mp4 file is not created.
 I am not sure if that's the reason and if its then how to fix it?

Hey, closing this issue as I got what the issue was and was able to fix it.
For those who get the same issue, verify that the value of environment variables which you set are assigned in your script file located at /usr/local/bigbluebutton/core/scripts/post_publish/
In my case those were missing that's why had this problem.
Thanks


[bug] Recent update to @patternfly/pfe-tools breaks rh-secondary-nav

Describe the bug
A recent update to devDependency<EMAIL_ADDRESS>breaks secondary-nav.
Downgrading this to<EMAIL_ADDRESS>and nav works correctly.
When broken it appears as if @query decorator no longer works as expected.  I'm looking further into this to see if I can figure out an explicit change that causes the issue.
@query is used to get the rh-secondary-nav-overlay element in the shadowRoot and attach a click event listener after firstUpdated, the element is set to private property this._overlay.  However this._overlay returns undefined in the firstUpdated() lifecycle callback which is odd. The following error is thrown:
rh-secondary-nav.ts:139 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'addEventListener')
    at RhSecondaryNav.firstUpdated (rh-secondary-nav.ts:139:19)
    at RhSecondaryNav._$AE (reactive-element.js:6:5070)
    at RhSecondaryNav.performUpdate (reactive-element.js:6:4872)
    at RhSecondaryNav.scheduleUpdate (reactive-element.js:6:4454)
    at RhSecondaryNav._$Ej (reactive-element.js:6:4362)

Which Component?
rh-secondary-nav
Steps to reproduce
To see browser errors and lost functionality:

Check out the main branch.
Delete node_modules and package-lock.json
Run nvm use
Run nvm install
Run npm start
Open the Secondary Nav demo and browser console.  Should see the error.

To downgrade pfe-tools to 29:

Delete node_modules and package-lock.json
Open package.json and in devDependencies change @patternfly/pfe-tools to 1.0.0-next.29
Run nvm use
Run nvm install
Run npm start
Open the Secondary Nav demo and browser console.  Should see no error, and dropdowns and overlay work again.

Expected behaviour
The secondary nav component should not throw this error.
Screenshots
No response
Element HTML
No response
Operating System (OS)
macOS
Browser
Chrome, Safari, Safari iOS, Microsoft Edge, Firefox
More browser information
No response
Additional Info
No response

Seeing this too with color context

Confirmed rolling back to<EMAIL_ADDRESS>fixes the issue


Add support for certificate authentication with thumbprint

As suggested in https://github.com/Azure/azure-sdk-for-go/issues/5412

Logging in via Login-AzureRmAccount with the certificate thumbprint relies on the Windows certificate store, and we've been focusing on cross-plat solutions.  Closing as we won't be adding this to the track 1 SDK.  If you feel strongly about it, please open an issue in the azure-sdk-for-go repo for consideration in track 2 (our next-gen SDK).


Array of generic class issue

arrays = [] of Array
arrays << [1, 2, 3]
arrays[0][0].abs # => undefined method 'abs' for String

arrays = [] of Array(Int32)
arrays << [1, 2, 3]
arrays[0][0].abs # => works

This example is super weird:
array = [] of Matrix
array << Matrix.identity(5)
0 + array[0][0] # => 1 (works)

array = [] of Matrix
array << Matrix.identity(5)
Matrix.new(2, 2) { |i, r, c| {r, c} } # note the {Int32, Int32}
0 + array[0][0] # => no overload matches 'Int32#+' with types (Int32 | {Int32, Int32})

The problem is that [] of Array is an array of any array, including arrays of strings, bool, etc, so it will never work.
Why do you need an array of a generic class without knowing its type?

I don't need it. I'm reporting this issue because it strikes me as anomalous behavior. In my opinion if [] of Array would never work it should throw an error right there, not later when I'm retrieving an element and calling a method on it.
Especially in the second example where the type of an unrelated matrix seems to affect the array of matrices.


match result can't parse

in Example 1：
console.log(linkify.match('Site github.com!')); // [ {
                                                //   schema: "",
                                                //   index: 5,
                                                //   lastIndex: 15,
                                                //   raw: "github.com",
                                                //   text: "github.com",
                                                //   url: "http://github.com",
                                                // } ]

but i run this Example 1 reulst is :
[ Match {
    schema: '',
    index: 5,
    lastIndex: 15,
    raw: 'github.com',
    text: 'github.com',
    url: 'http://github.com' } ]

this result is can't parse to json or javasciprt object.

What is the scope of this issue? Result is class instance, content seems correct.

I hope this result is ：
 [ {
    schema: '',
    index: 5,
    lastIndex: 15,
    raw: 'github.com',
    text: 'github.com',
    url: 'http://github.com' } ]

Do not want  “Match”

Sorry, that's not planned. You can convert it to plain object yourself if needed.


Add ExpressionFunctionBodyNode to transformer

Codecov Report

Merging #24004 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #24004   +/-   ##
=======================================
  Coverage   14.59%   14.59%
=======================================
  Files          51       51
  Lines        1411     1411
  Branches      219      219
=======================================
  Hits          206      206
  Misses       1189     1189
  Partials       16       16

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 0d023be...bace513. Read the comment docs.


#r nuget doesn't understand wildcard package versions in C# kernel

Input:
#r "nuget:System.CommandLine.Experimental,0.3.0-*"
Output:
Installing package System.CommandLine.Experimental, version 0.3.0-.done!
Failed to add reference to package System.CommandLine.Experimental

index
value

0
error: '0.3.0-' is not a valid version string.


Bugs

More bags in you'r code! https://github.com/aamartinkevich/my_github/blob/test/test200000.py

ok


Accessing missing properties should give an early sequelize error

This may be a fundamental design flaw in Sequelize and impossible to fix, but I think it is important to document it somewhere.
Basically the problem is when trying to refer to a table column that does not exist in the model. Sequelize does not seem to care to validate its existence before doing a query. This results in the database giving an exception. The problem with this approach is that I loose the ability to know where in my code this invalid query is being performed. I guess the underlying issue here is that since .sync is not really syncing the models with SQL, the developers of Sequelize decided to delegate the validation to the SQL server instead. I do not think this is the correct approach, it seems to be wiser to make the validation before making the query, independently if that column exists in SQL or not.

wrong repo


WIP: Frobenius Elements

This PR proves the existence of Frobenius elements in algebraic number theory.


[Enhancement] Check meta before executing load task (backport #39878)

Why I'm doing:
LoadTask may wait for a long time before being executed. If the table is dropped during this period, the execution will report an error: Fail to get tablet. The error message needs to be optimized.
What I'm doing:
Check meta before executing LoadTask.
What type of PR is this:

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

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

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

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

[x] This is a backport pr

backport #39878


runner: Support Git repos with submodules

This is effectively a no-op for repos that don't have them, but
makes things a lot easier for projects using them when they are
present
Signed-off-by: Andy Doan<EMAIL_ADDRESS>

@gwendolynbrook - I think this is what you and Mike were wanting, right?

@doanac How will test_git_submodules be used?

@doanac  yup -- this looks good to me!

Deployed to production.


Batch API: Does not allow read jobs for public datasets without API key

The Batch API Docs say:
For access to all private tables, and for write access to public tables, an API Key is required to authenticate your queries with the Batch API. The following error message appears if you are using private tables and are not authenticated:
And yet, a POST request to https://athompson.carto.com/api/v2/sql/job with
{ "query" : "select * from railroad_accidents limit 10" }
without API key gets a response
{
"error": "permission denied"
}
cc @rohshar @danicarrion for Python SDK work

Well, I think we haven't documented it well enough. When you create a new job you are creating a new resource and always you'll need the API key, in spite of the query is a select.
By the way, I have a question: Does it make sense to create a read job? I mean, there is no way to fetch results from a job that has a select using the Batch API. To fetch them we need to wrap that query into a create table new_table as ... and then (once the job is done) requesting the new table using SQL API.
I'm going to create a new issue to improve our documentation.
Thanks.

Should we close this one?

Shouldn't we?


Hardware requirements to train/test

Could you please mention the hardware setup (number of GPUs and type of GPUs) you used to train/test the models and the time taken to train the models (per epoch)?
Thanks in advance!

I used 4 Titan RTX (24GB) gpus, and trained in a two-step fashion. To pretrain on Kinetics, it take around 4-5days. As to finetune on Charades, it only takes a couple of hours.

Thanks for your reply!


^[!!RANKING-1!!]^ TOP FREE-Tiktok-Followers-Generator-July-New-Updated-TikTok-Followers-Unlimited-Generator-2023!

1 sec ago,
Free Tiktok Follower (** 99000 free tiktok followers) - Tik Tok Followers Free - TikTok Followers Generator (2023) You'll reach Euresys in much less time. Free Tiktok Likes app fast fans followers TIK-TOK can help you to get the very first fans for the TIK-TOK videos, you will get to the key page and attract more followers.
🔴✅𝐂𝐋𝐈𝐂𝐊 𝐇𝐄𝐑𝐄✅🅶🅴🆃🅵🆁🅴🅴
🔴✅𝐂𝐋𝐈𝐂𝐊 𝐇𝐄𝐑𝐄✅🅶🅴🆃🅵🆁🅴🅴
Free Tiktok Followers Generator 2023 No Human Verification. Tiktok Free Followers Generator Unlimited Free Tiktok Followers.Free Tiktok Likes 2023. TikTok Followers Generator! Grow your TikTok account with FREE and REAL followers NOW!Free TikTok Followers, Fans and Likes. Get up to 20k TikTok Followers for Free daily, all you need is your Euresysname. Join us and be famous Get Real Followers for more than 3 TikTok accounts.
 Boost Followers Days Euresyss V-bucks Generated How to Boost Your Account Followers How To Get Free Tiktok Fans in 2023TikTok is an application that has transformed the internet, especially for music lovers. The app is getting attention across social media, in partiEuresysar on Instagram. Just like other applications, if you are using TikTok, then it’s guaranteed that you’re getting lots of eyes and followers to your Tiktok account. In the end, something has to prove that it is worth its salt to the masses before it gets praised in the modern, technologically-advanced world. So, how would you feel if we told you that you could get free TikTok followers and fans for your account?
We’re here with our exclusive TikTok tool that lets you gain up to 20k followers and 10k likes each and every day to your Tiktok account without having to pay a single cent? We don’t even want you to subscribe to a monthly fee! The best part is that the tiktok followers you get are genuine and safe. There’s no fakery, hacking, or shady tactics involved. That’s why you can trust the results that you get.

7 minutes ago. Free Tiktok Follower ( 99000 free tiktok followers) - Tik Tok Followers Free - Free Tiktok Likes app fast fans followers TIK-TOK can help you to get the very first fans for the TIK-TOK videos Free Tiktok Follower Tik Tok Followers Free - Free Tiktok Likes app fast fans followers TIK-TOK can help you to get the very first fans for the TIK-TOK videos.

You'll reach fame in much less time. You'll reach fame in much less time. Don't spend your time and start being typically the most popular TIK-TOK!Using TikFollower & like & Comments app get 1M+ follower, like and comment at the same time in your videos and become popular in Tik-Tok. After ofile Is Likely To Take Time In Coming Up And In Getting TikTok Views. This Is Not Something That Most People Who Work Really Hard On Their Content Might Like; It May Demotivate Them And Urge Them To Stop Working On Their Profile. For This Reason. It Is Very Important To Make Use Of External Sources To Get TikTok Views At The Start. Once The TikTok Views Start Coming Because Of The Uptake Of The External Sourced Views. The Profile Will Soon Get Organic Views Hits. And Likes. Which Will Put The User On Top.

➤🔴 CLICK HERE TO GET GENERATOR NOW
Free Tiktok Follower (** 99000 free tiktok followers) Tik Tok Followers Free - Free Tiktok Likes app fast fans followers TIK-TOK can help you to get the very first fans for the TIK-TOK videos, you will get to the key page and attract more followers. Free TikTok likes app no survey no human verification (1000 5000 10000 free TikTok followers) Keywords Free Tiktok Followers and Likes No Survey Generator 2023 1 sec ago - Free tiktok likes app ( 15000 free tiktok followers) - Tik Tok Followers Free - Free Tiktok Likes app fast fans followers TIK-TOK can help you to get the very first fans for the TIK-TOK videos, you will get to the key page and attract more followers.


Require @Test for @Flaky

@Flaky doesn't work on overridden test method when the overriding
method is not annotated with @Test. This addresses the problem by
requiring the annotation.
@Flaky also doesn't work when put on method being overridden. This is
not addressed in this commit.

@Flaky doesn't work on overridden test method when the overriding
method is not annotated with @Test. This addresses the problem by
requiring the annotation.

How does that address a problem if the change is in FlakyTestRetryAnalyzer.java which is not called, exactly because @Test annotation is not present on the method.

Nice you found that!

I found that :P

Nice you found that!

I found that :P

alas!

was blindsided .. https://github.com/prestosql/presto/pull/5746#issuecomment-719582115


Sidebar on mobile should not be open by default

On mobile, when you load PantherView, the sidebar with checkboxes should be closed by default (there is supposedly code for this in map.js).  However, when I inspect PantherView with Chrome developer tools in mobile view and refresh the page, the sidebar comes open.  I have not tested this on an actual phone but it should produce the same result.

Yep, can confirm this on iPhone. I'll look into fixing this


cIRI: Killed after running for a while

Preconditions
Scaleway instance ARM64-2GB:
aarch64
Ubuntu 18.04
2GB memory
50GB storage
I basically followed this guide.
I ran cIRI for a while in tmux. The end of my log looked like this:
2019-02-12 20:23:48:           main:   INFO: Transactions: to process 687695, to broadcast 0, to request 9995, to reply 1424, count 734603
2019-02-12 20:24:00:           main:   INFO: Transactions: to process 688403, to broadcast 0, to request 9989, to reply 1968, count 734673
2019-02-12 20:24:11:           main:   INFO: Transactions: to process 689034, to broadcast 0, to request 9976, to reply 2529, count 734741
2019-02-12 20:24:23:           main:   INFO: Transactions: to process 689474, to broadcast 0, to request 9966, to reply 2193, count 734791
2019-02-12 20:24:34:           main:   INFO: Transactions: to process 690076, to broadcast 0, to request 9960, to reply 2563, count 734848
2019-02-12 20:24:46:           main:   INFO: Transactions: to process 690576, to broadcast 0, to request 9979, to reply 2595, count 734926
2019-02-12 20:24:58:           main:   INFO: Transactions: to process 691024, to broadcast 0, to request 9974, to reply 2083, count 734993
Killed

The memory never exceeded the 400 MB mark. I also checked the file-system with df -h. Storage should be fine:
/dev/vda1        46G  2.3G   41G   6% /

I started cIRI again, but this time I persist the log into a file.
If this happens again, I will start cIRI on log level DEBUG again. Currently it is on INFO.
Everyone who is interested, can have access to the node.

This looks like the OS killing it, not cIRI crashing. Please provide syslog/dmesg/journalctl output

@th0br0 I will when this happens again. cIRI is probably also using the non-standard UDP package size, right? I currently get a lot of broadcast failed warnings. So, I change to TCP instead.

Did not appear anymore. It runs for more than 1 1/2 weeks now. I close this ticket for now.


Spam Domain Submission

Duplicate Domains

[X] Yes, I checked that the domain is not currently in the list
[X] I read the wiki explaining each different categories and examples before submitting

(Required) Spam Comment Direct Link
https://www.youtube.com/watch?v=KYa6SDtJvJI&lc=Ugx-fTMXGh-Q7-NsGB54AaABAg
https://www.youtube.com/watch?v=KYa6SDtJvJI&lc=UgyZTn-Q0teEopV0d9Z4AaABAg
https://www.youtube.com/watch?v=KYa6SDtJvJI&lc=UgzUB5BN9BcAdiPNIeN4AaABAg
https://www.youtube.com/watch?v=yVlRpuiQJvY&lc=UgxvLQVGXFKMUHcVkBd4AaABAg
https://www.youtube.com/watch?v=UvFElDQnUcA&lc=UgzCea5_R3rgij_L7H54AaABAg
https://www.youtube.com/watch?v=UvFElDQnUcA&lc=Ugx3eveLAP1cPDN6-Kt4AaABAg
(Optional) Screenshot of comments using the domain

(Required) List of the spam domains
netpayjob.com
cashend.me
dollarbrite.com
xbritclone.net
247hacks.net
orxhacks.com

These domains are in the scammers name and not in the comment huh? Smart scammers coz youtube usually deletes links in comments if creators have that option on.

I was a bit slow on this one but just added it


Test test_threshold_based_eviction is flaky (unexpectedly on-demand downloading remote layer remote)

test_threshold_based_eviction#test_threshold_based_eviction:
Error message:
AssertionError: assert not ['2023-05-04T14:42:57.586772Z  WARN eviction_task{tenant_id=a4f5620478d84e0feff340fb651f8bfb timeline_id=f0d71e20c1b6f...AC0000400C00FFFFFFFF-000000067F000032AC000040140000000008__0000000001696070-0000000003DC76E9 for task kind Eviction\n']

Pageserver warning itself (I broke the long line into several smaller ones to make it more readable):
2023-05-04T14:42:57.586772Z
WARN eviction_task{tenant_id=a4f5620478d84e0feff340fb651f8bfb timeline_id=f0d71e20c1b6fcbc94a3d391259a7fc1}:
eviction_iteration{policy_kind="LayerAccessThreshold"}:
unexpectedly on-demand downloading remote layer remote f0d71e20c1b6fcbc94a3d391259a7fc1/000000067F000032AC0000400C00FFFFFFFF-000000067F000032AC000040140000000008__0000000001696070-0000000003DC76E9 for task kind Eviction

See https://neon-github-public-dev.s3.amazonaws.com/reports/pr-4092/debug/4883913165/index.html#suites/3fc871d9ee8127d8501d607e03205abb/2cff07ef9a017a6

We also have a small number of unexpected on-demand downloads in Prod.
Curiously, with some regularity (ca 1 day apart)

Strong correlation with increase in logical size time spent

Zooming into one of them, just to demonstrate the correlation

From @bayandin's gist:
/github/home/.cache/pypoetry/virtualenvs/neon-_pxWMzVK-py3.9/lib/python3.9/site-packages/allure_commons/_allure.py:221: in __call__
    return self._fixture_function(*args, **kwargs)
test_runner/fixtures/neon_fixtures.py:1122: in neon_env_builder
    yield builder
test_runner/fixtures/neon_fixtures.py:850: in __exit__
    self.env.pageserver.assert_no_errors()
test_runner/fixtures/neon_fixtures.py:1691: in assert_no_errors
    assert not errors
E   AssertionError: assert not ['2023-05-16T13:41:03.876833Z  WARN eviction_task{tenant_id=92484835d2e280c5a66c3264c35b1d0f timeline_id=e9239d7e2cdba...AC0000400C0200000000-000000067F000032AC000040140000000022__00000000036FE179-0000000003DCB789 for task kind Eviction\n']

test_threshold_based_eviction[release-pg14]

We decided to put this on hold until https://github.com/orgs/neondatabase/projects/38 (async get_value_reconstruct_data) is merged and see whether that fixes the issue.
Here's a dump of my internal notes on this issue:

Hypothesis the logical size computation does IOs, and it does them inside the tokio executor threads ⇒ we only do 8 IOs at a time, and, block the executor threads while doing int ⇒ other tasks get delayed ⇒ …???… ⇒ imitate accesses come too late ⇒ evictions

without validating hypothesis, started attempt to convert logical size computation to async ⇒ needs to convert IOs to async

That's project https://github.com/orgs/neondatabase/projects/38

So, do the above in reverse order
should try to validate hypothesis first, though, but how? Can we increase the number of tokio threads?
Also, isn’t there a semaphore for logical size computation that prevents it from happening concurrently? So, are we actually only blocking 1 tokio thread?

Can we get the wall clock time that tokio executor threads (not tokio fs threads) are spending in read / write system calls (to filesystem, not sockets) and compare it against total wall clock time passed in a given interval?

Ah hm actually only the synthetic size calculation imitation rate-limits, but, the last_record_lsn size calculation doesn’t. So, 1000 timelines doing it at a same time will contend for the $ncpus executor threads.

should try to validate hypothesis first, though, but how? Can we increase the number of tokio threads?

Also, isn’t there a semaphore for logical size computation that prevents it from happening concurrently? So, are we actually only blocking 1 tokio thread?

Can we get the wall clock time that tokio executor threads (not tokio fs threads) are spending in read / write system calls (to filesystem, not sockets) and compare it against total wall clock time passed in a given interval?

Ah hm actually only the synthetic size calculation imitation rate-limits, but, the last_record_lsn size calculation doesn’t. So, 1000 timelines doing it at a same time will contend for the $ncpus executor threads.

Idea for the ??? in above Hyptohesis:

timeline imitate accesses never get evicted, that’s for sure, because we get now before we imitate the acceses
but, there’s also the tenant imitate accesses. we only do them once per tenant, so, tenants with multiple timelines can interleave here
what can happen???

I've reproduced the aforementioned warning on a commit from 2023-05-04 with 5 test instances running in parallel, on iterations 1, 4, 3:
2024-11-18 11:24:36.515 INFO [neon_fixtures.py:1724] not allowed error: 2024-11-18T08:24:20.330056Z  WARN eviction_task{tenant_id=988eef5ad4157d71954309b1b347c673 timeline_id=33d0e008c5b3f8efcf500bca0020c7c9}:eviction_iteration{policy_kind="LayerAccessThreshold"}:imitate_layer_accesses:imitate_timeline_cached_layer_accesses:calculate_logical_size: unexpectedly on-demand downloading remote layer remote 33d0e008c5b3f8efcf500bca0020c7c9/000000067F000032D60000400D00FFFFFFFF-000000067F000032D6000040150000000005__000000000169B450-0000000003DDE7D1 for task kind Eviction

And found that the last commit this reproduced on is 7c076ede~1. On commit 7c076ede, 100 iterations passed successfully for me. So I think this issue should be closed as resolved by https://github.com/neondatabase/neon/pull/4859, otherwise the issue formulation maybe should be changed.

Thanks @alexanderlaw !


All Linux flutter/plugins jobs waiting forever on Dockfile compilation

See https://cirrus-ci.com/build/5851594769039360 for an example.
There are two problems here:

We shouldn't be waiting forever for Dockerfile generation to run
That PR doesn't change the Dockerfile, and we just went through a bunch of problems due to expiration of the Dockerfile cache, meaning it was rebuilt last week and so there's no reason this PR should even be doing a Dockerfile compilation step.

I'm assuming this is https://github.com/flutter/flutter/issues/84667
Is there a better way to escalate failures that prevent all work in an entire repository? I thought a P0 infra bug was that process, but 7+-hour triage latency isn't really workable for an issue like that.

@godofredoc for the question above

FYI you can use<EMAIL_ADDRESS>(I mentioned it to @kf6gpe a while back) for an urgent support with Cirrus issues.
In this particular case the issue was in the expired credentials. This caused Cirrus to unable to check of Docker image exists and it just went into retry loop.
The long triaging time was due to two factors:

The error message was not particularly useful. Just that JWT signature is incorrect.

Tasks are running on your infrastructure and we had to ping pong with @godofredoc via emails to get to the bottom of the issues.

This was quite a weird edge case with the credentials so I doubt we'll get such surprise any times soon. Or at least we'll know right away that there is an expired credential.

FR

@stuartmorgan infra bugs that require gardener attention need to go to the ticket queue project. The process is described here:  https://github.com/flutter/flutter/wiki/Infra-Ticket-Queue. You can also use http://go/flutter-infra to find the current gardener and ping him directly.

Thanks, I'd somehow missed that page. I'll remember that for the future!
The issue is resolved by the recent PR, do this is indeed a duplicate.


Enable on_before_batch_transfer for DPStrategy and IPUAccelerator

Proposed refactor

Motivation

Currently, batch transfer hooks are disabled for IPUs and DP strategy for very valid reasons.  But call to on_before_batch_transfer shouldn't be limited to whether any strategy/accelerator supports explicit transfer to batches to the device. Users should still be able to use this for batch transforms, etc...
I already created the PR: #14023
But then thought, let's discuss the design here. If the current one looks good, please gives a 👍 else here are all the proposals.
Current behavior:
fetcher(batch_to_device=strategy.batch_to_device)

def strategy.batch_to_device():
    apply_batch_transfer()

def apply_batch_transfer()
    on_before_batch_transfer()
    transfer_batch_to_device()
    on_after_batch_transfer()

Pitch
possible suggestion 1:
def strategy.batch_to_device():
    on_before_batch_transfer()  <- now this needs to be done in all the strategies where strategy.batch_to_device hook is overridden
    apply_batch_transfer()

def apply_batch_transfer()
    transfer_batch_to_device()
    on_after_batch_transfer()

but IMO, this hook call should happen inside loops, not in strategies, since this is common for all of them and has no limitations.
possible solution 2 using DataFetcher (currently implemented in PR):
fetch(pre_batch_to_device=lm.on_before_batch_transfer, batch_to_device=strategy.batch_to_device)

Additional context

If you enjoy Lightning, check out our other projects! ⚡

Metrics: Machine learning metrics for distributed, scalable PyTorch applications.

Lite: enables pure PyTorch users to scale their existing code on any kind of device while retaining full control over their own loops and optimization logic.

Flash: The fastest way to get a Lightning baseline! A collection of tasks for fast prototyping, baselining, fine-tuning, and solving problems with deep learning.

Bolts: Pretrained SOTA Deep Learning models, callbacks, and more for research and production with PyTorch Lightning and PyTorch.

Lightning Transformers: Flexible interface for high-performance research using SOTA Transformers leveraging PyTorch Lightning, Transformers, and Hydra.

cc @justusschock @awaelchli @rohitgr7 @tchaton @borda @carmocca @ninginthecloud

completed here: #14023


vulkan: Fix missing sampler

For samplers that are defined in the shader, they must also be "bound" in the pipeline.
This issue didn't surface possibly because they were compiled out due to unuse, but the use of spec constants in separable gaussian blur to guard sampler use implies that unused sampler cannot be compiled out; thus triggering validation error (and crash on MoltenVk).
We attach the sampler to a dummy texture and always make sure the right properties for the sampler are provided even when the sampler is unused in the shader.
Fixes #6815

Sorry about the breakage!

No worries, not really your mistake; just an artifact of differing backend behaviors.


Rename neofetch to neofetch.bash

Add proper file extension for compatability.
Description
Only fill in the fields below if relevant.
Features
Issues
TODO

but extension isnt that much important, shebang is

Some systems won't recognise the filetype unless it has a file extension.

Some systems won't recognise the filetype unless it has a file extension.

Perhaps fix the system?


WebGPU: timestamp queries are not supported anymore

Hoping they will re-add support at some time...

I guess it's this (from the spec):
Because timestamp query provides high-resolution GPU timestamp, we need to decide what constraints, if any, are on its availability.


Warning LC0016 for Page Fields with CaptionClass = '1,2,3';

I receive the warning
for common dimension fields on pages:

                field(ShortcutDimCode3; ShortcutDimCode[3])
                {
                    ApplicationArea = All;
                    CaptionClass = '1,2,3';
                    Editable = false;
                    ToolTip = 'Specifies the code for Shortcut Dimension 3.';
                    Visible = false;

                    trigger OnLookup(var Text: Text): Boolean
                    begin
                        Rec.LookupShortcutDimCode(3, ShortcutDimCode[3]);
                    end;

                    trigger OnValidate()
                    begin
                        Rec.ValidateShortcutDimCode(3, ShortcutDimCode[3]);
                    end;
                }

In my opinion there shouldn't be a warning generated.
Versions:

AL Language: 12.0.800702

@pri-kise, There's already an check in place that the warning shouldn't be raised when the CaptionClass is there.
https://github.com/StefanMaron/BusinessCentral.LinterCop/blob/b37ba0986a87c936ec4c909bab6cf5b93dba91b3/Design/Rule0016CheckForMissingCaptions.cs#L129
I can't seems to reproduce this issue, could je provide me an small code sample?

The issue seems to be gone now.
I'll close this isse for now.


Block light appears darker than surrounding skylight

Looks pretty odd, probably a bug

World lighting was recently reworked to allow you to see light in sunlight.
It may not be the final form, but this general idea is at least intentional.

Well, block light should not darken the surroundings in any case. It's just, that it's not too easy and I didn't figure it out yet...

1.7.10 version is out of date, the rework is written from scratch, so I close this bug.


Wanna know how scalable it is , is there any estimation about how may users it can handle on average on a 4gb ram generic vm?

Dear contributors , thank you for your work.
I am just curious about how scaliable this system is.
Since on each user interaction needed an updation from the backend via websocket , is it feasible for like 30000 parallel users , on a low resources systems.
In an generic react or other frontend frameworks , the state-management is done in browser and the api calls etc are added as a load for the backend.
Will the  reflex way of handling all the state changes logic on each interacts add any extra load to the server.
Just asking out of curiocity.

https://github.com/reflex-dev/reflex/issues/3745


Use absolute path for ledger entrypoint

This allows for setting a different WORKDIR than root (/).

Thanks @501st-alpha1 !


Explicitly #include  to avoid relying on isdigit being available through unrelated headers

@swift-ci please test

C has been dealing with this issue for 50 years, you'd think there would be some sort of tool for it by now.


crystal: add fish completions

fish completion was introduced in version 1.6.0
so this guard is required, this package is also supporting 1.2.2
https://github.com/crystal-lang/crystal/commit/98a15ee1ab90c2590d43529ea527c6ffc0ce318d
https://github.com/crystal-lang/crystal/blob/0e80a60f0826f6e5031edbd55ee3c3edd9891c18/Makefile#L183-L184
# pkgs.crystal (crystal_1_14)
> tree ./result/share/*sh*
./result/share/bash-completion
└── completions
    └── crystal
./result/share/fish
└── vendor_completions.d
    └── crystal.fish
./result/share/zsh
└── site-functions
    └── _crystal

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

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

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

x86_64-linux

:fast_forward: 1 package marked as broken and skipped:

tijolo

:white_check_mark: 39 packages built:

ameba
amqpcat
blahaj
collision
crystal
crystal.bin
crystal.lib
crystal2nix
crystal_1_11
crystal_1_11.bin
crystal_1_11.lib
crystal_1_12
crystal_1_12.bin
crystal_1_12.lib
crystal_1_2
crystal_1_2.bin
crystal_1_2.lib
crystal_1_7
crystal_1_7.bin
crystal_1_7.lib
crystal_1_8
crystal_1_8.bin
crystal_1_8.lib
crystal_1_9
crystal_1_9.bin
crystal_1_9.lib
crystalline
gi-crystal
icr
invidious
kakoune-cr
lucky-cli
mint
oq
rtfm
scry
shards
thicket
tmuxPlugins.fingers

@ofborg build crystal


Implement str strip(), and fix lstrip() and rstrip() implementations

I implemented the str method strip()
I also found problems with the lstrip() and rstrip() implementations when dealing with whitespace, None, and stripping the entire string. I included test cases for those as well as fixed implementation code to pass these tests.
Refs #36

@soandrew Hmm, it looks like #484 has been merged.
I do think the tests on this PR are more comprehensive – if you could port/rebase those onto the latest master, we might discover some bugs (like the handling of None I've just mentioned on that PR), that could be useful to discover and fix.

I merged my tests with the latest tests in master and found that there were still issues with handling of whitespace and None in the existing implementation. I've included my fix of these algorithms in the updated PR.

Thanks @soandrew!


chore: remove unused platform ids

Not used anymore after #317

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#318  👈
#317
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @davidlj95 and the rest of your teammates on  Graphite


what

I don't understand a singe thing
how do you download it
how does it work
what are the features
how to do the training
I'm completely clueless

https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/docs/README.en.md

https://www.youtube.com/watch?v=-JcvdDErkAU


Botom sheet

Wow

Do you have any issue with this library?

i have some point,  width size in landscape mode.
Can u help me ?


Clarify CNVkit usage with regards to sample gender

cc @LMannarino
In some of our recent analyses there has been some confusion on the output of CNVkit with regards to the use of sex chromosomes, as outlined in https://github.com/etal/cnvkit/issues/316. As far as I could dig in the bcbio code, -y / --male-reference for male samples is only used in diagrams, but not anywhere else (feel free to correct me if I got it wrong, though).
According to the aforementioned issue, it should not be used if it had not been used elsewhere (call and background included).
The reason is that we're getting consistently reports of loss on chrX in some of our analyses, and we don't know if it's an artifact or a real alteration.

Poking also @etal for further comments here.

Did my comment in the linked ticket clarify the problem or reveal a bug? (I edited my comment there after a hasty initial response, but the automatic e-mail response you saw would have been fairly unhelpful.)
If -y wasn't used to construct the reference, it shouldn't be used anywhere else, including diagram. The development version of the documentation provides more detail than the current stable version on both sample/reference sex and diagram:

https://cnvkit.readthedocs.io/en/latest/sex.html
https://cnvkit.readthedocs.io/en/latest/plots.html#diagram

In general, for a male sample normalized to a reference with the default ploidies, chrX will have a log2 value around -1, which you can confirm in the .cnr/.cns files, a scatter plot, and the output of the sex and gainloss commands. In the output of call, you'll also see in the cn column that the chrX integer copy number is 1. The development version of diagram should figure out that the sample is male and display chrX as copy-number-neutral (white), unless you add the -y flag, in which case it will take the -1 log2 value literally and display chrX in blue -- I don't remember whether that's also the behavior in the stable release; in earlier versions it wouldn't figure out that male samples normally have haploid chrX, so chrX would always be blue.

Did my comment in the linked ticket clarify the problem or reveal a bug?

It may have uncovered a bug. I see that -y isn't used anywhere but diagram, so I assume the plots done by diagram in bcbio are inaccurate for the sex chromosomes in the case of male samples.

Probably an oversight -- I did a code review in another bcbio issue related to this and I might have missed the diagram section at the time. I'll look for it in the current code.

Luca -- thanks so much for the report and Eric, thank you for the quick fix. Glad this was only an artifact and not an underlying issue and appreciate having the reports improved.


Are the outputs of all buggy programs in Defects4j deterministic?

Just in case someone else has the same question. The test outcomes are deterministic for all defects in Defects4J.


[feat] Order everything by QCArchive ID?

MoleculeStore has a number of get_x_by_y methods, some of which order the output by QCArchive ID, some of which don't. For example, get_[q/m]m_conformers_by_molecule_id does order by QCArchive ID, but get_qcarchive_ids_by_molecule_id and get_[q/m]m_energies_by_molecule_id do not. In the benchmarks I run, I do see that the list of QCArchive IDs I get out of get_qcarchive_ids_by_molecule_id isn't necessarily in order, so it becomes much more difficult to cross-reference QCArchive IDs to geometries and so on when debugging or looking more closely at results.
Also, I'm not certain queries are guaranteed to be in a particular order -- which could be problematic for metrics such as ddEs that (as currently implemented) rely on the returned QM energies, MM energies, and QCA IDs to be in the same order. (That being said, in practice and having checked my own results they currently are, so I could be wrong here and this could be over-caution!)

get_qcarchive_ids_by_molecule_id is now meant to sort by QCArchive ID (#11 / 0.0.0). There's a minimal unit test that shuffles the molecules before making a MoleculeStore and later checks that the getter returns them sorted.

Also, I'm not certain queries are guaranteed to be in a particular order

Is "order" here just by qcarchive_id or are there other sortings that would be useful?


Inability to Distinguish Canceled Lessons from Room Changes in Timetable

When a lesson experiences a "Changement de salle" (room change), the timetable returns two lessons:

Old Lesson (with the old room):

Marked with canceled=True.
status is "Cours annulé".
This lesson represents the original scheduling before the room change.

New Lesson (with the new room):

Marked with canceled=False.
status is "Changement de salle".
There is no explicit flag indicating that this lesson is the updated one due to a room change.

This setup makes it challenging to differentiate between a normal canceled lesson and the old lesson from a room change event, as both have canceled=True and status as "Cours annulé".
Examples:

Old Lesson (from a room change):{
  'canceled': True,
  'classroom': 'H01',
  'status': 'Cours annulé',
  # ... other fields
}

New Lesson (with the new room):{
  'canceled': False,
  'classroom': 'C05',
  'status': 'Changement de salle',
  # ... other fields
}

Normal Canceled Lesson:{
  'canceled': True,
  'classroom': 'H02',
  'status': 'Cours annulé',
  # ... other fields
}

As shown, there's no way to differentiate between a normal canceled lesson and the old lesson from a room change based solely on the canceled field and status.
Findings:
Upon inspecting the Pronote API response, there's an additional field "G" that helps differentiate between these cases:

Normal Canceled Lesson:{
  "G": 0,
  "Statut": "Cours annulé",
  "estAnnule": true,
  # ... other fields
}

Old Lesson in a Room Change:{
  "G": 3,
  "Statut": "Cours annulé",
  "estAnnule": true,
  # ... other fields
}

New Lesson with the New Room:{
  "G": 2,
  "Statut": "Changement de salle",
  "estAnnule": false,
  # ... other fields
}

Snippet from Pronote API Response:

Old Lesson (from a room change):
{
  "N": "31#uCU_JwkQIc2BwdzqLyVLP4f7LDR7xWRGQMLgViWv53Y",
  "G": 3,
  "P": 2757,
  "Statut": "Cours annulé",
  "estAnnule": true,
  "place": 110,
  "duree": 2,
  "DateDuCours": {
    "_T": 7,
    "V": "27/09/2024 15:00:00"
  },
  "CouleurFond": "#C0C0C0",
  "ListeContenus": {
    "_T": 24,
    "V": [
      {
        "L": "ACCOMPAGNEMT. PERSO.",
        "N": "83#b9i8QITZ-qYY9YJN8L4y-XAwoMEe-JmEGt4ChfdrKNU",
        "G": 16
      },
      {
        "G": 3,
        "L": "GRAVELOT G."
      },
      {
        "L": "H01",
        "N": "139#ixgNW1OOOHhOj2Uv5ypWeEqPaB-RPCaYnl14wbKrs0k",
        "G": 17
      }
    ]
  },
  "AvecTafPublie": false
}

Normal Canceled Lesson:
{
  "N": "31#zZ-nFKSDsfG0hnrp8oz4q5w05a9UhCGaB158ytvpWS8",
  "G": 0,
  "P": 1428,
  "Statut": "Cours annulé",
  "estAnnule": true,
  "place": 108,
  "duree": 2,
  "DateDuCours": {
    "_T": 7,
    "V": "27/09/2024 14:00:00"
  },
  "CouleurFond": "#5B215F",
  "ListeContenus": {
    "_T": 24,
    "V": [
      {
        "L": "ANGLAIS LV1",
        "N": "83#x8CbirRhIvXDj2QAxmHBdi_BmsGxiS-6Ntut2rGaCQA",
        "G": 16
      },
      {
        "G": 3,
        "L": "CHENU J."
      },
      {
        "L": "[T01-RISC_1]",
        "N": "64#nevVVmPlC62e9jE1kA8Ycvd6RyEjsoFRL-73NvuBE8g",
        "G": 2
      },
      {
        "L": "H02",
        "N": "139#Zg-8fspDK22Jl6LuvyxShWlNTBkAI72TN6zOuzh0ZLk",
        "G": 17
      }
    ]
  },
  "AvecTafPublie": false
}

In these snippets, you can see:

The old lesson from a room change has "G": 3, "Statut": "Cours annulé", and "estAnnule": true.
The normal canceled lesson has "G": 0, "Statut": "Cours annulé", and "estAnnule": true.

Suggested Solution:
Modify the library to handle room changes appropriately by introducing a room_changed parameter and filtering out the old lessons from room changes.

Add a room_changed Property:

Introduce a new property room_changed in the Lesson class.
This property should be True for lessons that are the result of a room change (i.e., the new lesson with the new room and status == "Changement de salle").
For all other lessons, room_changed should be False.

Filter Out the Old Lesson:

Modify the library to exclude the old lesson (the one with canceled=True, status="Cours annulé", and "G": 3) from the timetable results.
Only include the new lesson (with the new room) in the timetable data.

Implementation Details:

Parsing Logic Adjustments:

When parsing lessons from the API response, check the "G" and status fields:

If G == 3 and estAnnule == True:

Recognize this lesson as the old lesson from a room change.
Do not include this lesson in the timetable.

If status == "Changement de salle":

Set room_changed = True for this lesson.
Include this lesson in the timetable.

For all other lessons, proceed as usual.

Resulting Behavior:

The timetable will only display:

Normal lessons.
Normal canceled lessons.
New lessons from room changes, marked with room_changed=True.

Old lessons from room changes will be excluded, reducing confusion and redundancy.

Benefits:

Clarity: By excluding the old lessons and adding a room_changed flag, the timetable becomes clearer and more accurate.
Simplicity: Developers won't need to implement additional logic to filter out old lessons or detect room changes.
Consistency: Aligns the library's output with user expectations by only showing relevant and actionable lessons.

#313


ci(github): evaluate cache viability

Description
Currently we use the GitHub Action Cache to store/restore the yarn installed dependencies for the 40-something jobs that need it.
I caught the cache restore process taking hours instead of the usual 60 seconds because the bandwidth of it was 0.1 MB per second (you read that right...).
So it's worth asking the question at this point if it does more good than bad if it's this slow occasionally... I don't have a definitive answer because I'd need to know how often does this actually happen. It might still be worth sticking with it assuming that they'll improve on the stability of the performance and not make it worse over time (though in general software gets worse over time a lot of times)

Acceptance Criteria

Make a decision on whether to stop using the cache or not.
Explain the decision. What are you basing it on? Why do you think it will be better this or that way?
Based on the decision the rest of the task is either a no-op or to implement the removal of the cache from the CI.

Note to self: The bandwidth throttling hasn't stopped, it has gotten worse, so at this point the build caching through this mechanism does not seem feasible.
The scope of this issue now is to just disable the caching in ci.yml altogether so that we don't have jobs getting stuck for 6 hour timeouts because of the  cache restore.

The caching was fixed as part of the Yarn v3 migration via https://github.com/hyperledger/cacti/issues/1142


How to reply with multiple A records?

I'm trying to build a custom service discovery server which replies to DNS queries with all registered (and health-checked) servers but looking through the documentation I can't find a way to make it reply with more than one IP address per A query.
How can I achieve this?

After adapting this code into using a map[string][]string for the records variable and adding a loop to parseQuery(), it worked as I wanted it to.


Add option to change test timeouts (in the GUI and via inso)

This PR adds the ability to override the timeouts per unit test, and allows inso to override the default test timeout (for all those tests that do not have a timeout override). By default, all timeouts are 5s.

When run via the CLI, we see the same results:

But via the CI, we can override the default timeout. Increasing to 10s, everything passes:

Disabling the timeout, everything also passes:

Changing the timeout to 2s via the CI fails every test that doesn't manually override the timeout:

Closes https://github.com/Kong/insomnia/discussions/3648, Closes INS-806

Closing this since it is no longer being worked on. We can always rebase this later if it turns out to be something we want to do.


bug fix, issue #1247

add trim for RepositoryForm.vue
bug fix https://github.com/ansible-semaphore/semaphore/issues/1247

Fixed in other PR


Unable to send emails containing link_to from the console or jobs

Checklist

[x] Upgrade Jets: Are you using the latest version of Jets? This allows Jets to fix issues fast. There's a jets upgrade command that makes this a simple task. There's also an Upgrading Guide: http://rubyonjets.com/docs/upgrading/
[x] Reproducibility: Are you reporting a bug others will be able to reproduce and not asking a question. If you're unsure or want to ask a question, do so on https://community.rubyonjets.com
[x] Code sample: Have you put together a code sample to reproduce the issue and make it available?  Code samples help speed up fixes dramatically. If it's an easily reproducible issue, then code samples are not needed. If you're unsure, please include a code sample.

My Environment

Software
Version

Operating System
macOS Catalina 10.15.7

Jets
2.3.18

Ruby
2.5.8

Expected Behaviour

Attempting to send an email containing a link_to element inside the htlm.erb file successfully sends via console or job.
Current Behavior
ActionView::Template::Error (undefined method 'host' for nil:NilClass) is raised.
Error is originating from lib/jets/overrides/rails/common_methods.rb:5:in 'add_stage_name'.
https://github.com/boltops-tools/jets/blob/master/lib/jets/overrides/rails/common_methods.rb#L5

Step-by-step reproduction instructions

Run the following commands

jets new mail_test --database=postgresql --mode job
jets generate mailer TestMailer test_mail

Uncomment the following line in development.rb

config.action_mailer.raise_delivery_errors = false

Ensure the generated mail can be delivered

jets c
TestMailer::test_mail.deliver_now

Output
irb(main):001:0> TestMailer::test_mail.deliver_now
D, [2021-01-18T16:11:33.073542 #76937] DEBUG -- : TestMailer#test_mail: processed outbound mail in 160.8ms
I, [2021-01-18T16:11:33.081777 #76937]  INFO -- : Delivered mail<EMAIL_ADDRESS>(8.1ms)
D, [2021-01-18T16:11:33.081837 #76937] DEBUG -- : Date: Mon, 18 Jan 2021 16:11:33 +0900
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>Subject: Test mail
Mime-Version: 1.0
Content-Type: multipart/alternative;
 boundary="--==_mimepart_600534a511c02_12c893fe43f838e6c833a2";
 charset=UTF-8
Content-Transfer-Encoding: 7bit

----==_mimepart_600534a511c02_12c893fe43f838e6c833a2
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

Test#test_mail

Hi, find me in app/views/test_mailer/test_mail.text.erb

----==_mimepart_600534a511c02_12c893fe43f838e6c833a2
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE html>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

Test#test_mail

  Hi, find me in app/views/test_mailer/test_mail.html.erb

----==_mimepart_600534a511c02_12c893fe43f838e6c833a2--

=> #<Mail::Message:70249607803460, Multipart: true, Headers: <Date: Mon, 18 Jan 2021 16:11:33 +0900>, <From<EMAIL_ADDRESS><To<EMAIL_ADDRESS><Message-ID<EMAIL_ADDRESS><Subject: Test mail>, <Mime-Version: 1.0>, <Content-Type: multipart/alternative; boundary="--==_mimepart_600534a511c02_12c893fe43f838e6c833a2"; charset=UTF-8>, <Content-Transfer-Encoding: 7bit>>

Inside test_mail.html.erb add a link_to element

<%= link_to(
  "I am a link",
  "https://www.google.com/",
  style: "text-decoration: none;", target: :blank
) %>

Enter the jets console and attempt to send again

jets c
TestMailer::test_mail.deliver_now

Error Log
irb(main):001:0> TestMailer::test_mail.deliver_now
D, [2021-01-18T16:17:46.055432 #77300] DEBUG -- : TestMailer#test_mail: processed outbound mail in 71.6ms
Traceback (most recent call last):
       16: from /.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/actionview-6.1.1/lib/action_view/renderer/template_renderer.rb:71:in `block in render_with_layout'
       15: from /.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/actionview-6.1.1/lib/action_view/renderer/template_renderer.rb:56:in `block in render_template'
       14: from /.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/activesupport-6.1.1/lib/active_support/notifications.rb:203:in `instrument'
       13: from /.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/activesupport-6.1.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
       12: from /.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/activesupport-6.1.1/lib/active_support/notifications.rb:203:in `block in instrument'
       11: from /.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/actionview-6.1.1/lib/action_view/renderer/template_renderer.rb:61:in `block (2 levels) in render_template'
       10: from /.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/actionview-6.1.1/lib/action_view/template.rb:152:in `render'
        9: from /.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/actionview-6.1.1/lib/action_view/template.rb:345:in `instrument_render_template'
        8: from /.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/activesupport-6.1.1/lib/active_support/notifications.rb:205:in `instrument'
        7: from /.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/actionview-6.1.1/lib/action_view/template.rb:154:in `block in render'
        6: from /.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/actionview-6.1.1/lib/action_view/base.rb:247:in `_run'
        5: from /.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/actionview-6.1.1/lib/action_view/base.rb:247:in `public_send'
        4: from /.../Projects/test/app/views/test_mailer/test_mail.html.erb:7:in `___sers_tyler__rojects_test_app_views_test_mailer_test_mail_html_erb___2030083256069031912_70185381396740'
        3: from /.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/actionview-6.1.1/lib/action_view/helpers/url_helper.rb:202:in `link_to'
        2: from /.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/jets-3.0.2/lib/jets/overrides/rails/url_helper.rb:21:in `url_for'
        1: from /.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/jets-3.0.2/lib/jets/overrides/rails/common_methods.rb:5:in `add_stage_name'
ActionView::Template::Error (undefined method `host' for nil:NilClass)

Note:
The same error occurs if the mailer is invoked from a job once deployed to AWS Lambda.

Code Sample
See the reproduction instructions. Only one comment is uncommented and a single block of code added to a generated html.erb
The relevant code that is erroring:
https://github.com/boltops-tools/jets/blob/master/lib/jets/overrides/rails/common_methods.rb#L5
Solution Suggestion
I am not so familiar with Jets, but am assuming this is happening due to the fact that the mail is being sent not via a request from a controller, but via the console or a job.
Commenting out the following line enables me to send emails from the console/job.
Jets::Controller::Stage.add(request.host, url)

@tongueroo
For the time being, I am needing to fork the repository and introduce the following changes.
jets/overrides/rails/common_methods.rb

def add_stage_name(url)
  request ? Jets::Controller::Stage.add(request.host, url) : url
end

I have no idea if this is the "correct" way to go about fixing the issue, but it is working as intended for me.

@tongueroo
For the time being, I am needing to fork the repository and introduce the following changes.
jets/overrides/rails/common_methods.rb

def add_stage_name(url)
  request ? Jets::Controller::Stage.add(request.host, url) : url
end

I have no idea if this is the "correct" way to go about fixing the issue, but it is working as intended for me.

This is no longer an issue I have reset password links in my app i throughly tested @tongueroo , this can be closed

This is possible in Jets 5
https://blog.boltops.com/2023/12/05/jets-5-improvements-galore/
It was tested as part of testing Kingsman
https://docs.rubyonjets.com/docs/auth/kingsman/
URL helpers are available


healthchecks: 2.10 -> 3.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for healthchecks is: A cron monitoring tool written in Python & Django
meta.homepage for healthchecks is: https://github.com/healthchecks/healthchecks
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 3.2 with grep in /nix/store/hpjdq031r9j95h39km39bv096gzypy4j-healthchecks-3.2
found 3.2 in filename of file in /nix/store/hpjdq031r9j95h39km39bv096gzypy4j-healthchecks-3.2

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
healthchecks

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/c64d2f549be574befba8d34396a8c11cdd8aef1a#healthchecks

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

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

1 package built:

healthchecks

Maintainer pings
cc @phaer for testing.

Automatic PR is broken due to upstream changes, see manual one in https://github.com/NixOS/nixpkgs/pull/282912


Title disappears

Hi! Why title disappears, immediately after the appears of?
Look my video

Please provide more details about your implementation. Ideally with steps to reproduce this issue.

@objc private func touchToSelectAddressLabel() {
hideKeyboardGesture()
  // setup the location picker

    locationPicker.mapType = .standard // default: .Hybrid
    locationPicker.searchBarPlaceholder = "Поиск по адресу" // default: "Search or enter an address"
    locationPicker.searchHistoryLabel = "История поиска" // default: "Search History"
    locationPicker.selectButtonTitle = "Выбрать"

    locationPicker.completion = { location in
        self.addressVpsika = location!.address
        self.coordinatesVpiska = location?.coordinate

        self.addressLabel.text = location!.address
    }

    // add cancel button to dismiss it
    locationPicker.navigationItem.leftBarButtonItem =
        UIBarButtonItem(title: "Отмена", style: .plain, target: self, action: #selector(closeLocationPicker))

    locationPicker.navigationItem.rightBarButtonItem =
        UIBarButtonItem(title: "Спутник", style: .plain, target: self, action: #selector(changeMapStyle))

    // set the wrapper
    let nc = UINavigationController(rootViewController: locationPicker)

    // show it modally
    self.present(nc, animated: true, completion: nil)
}

yes, title disappear first time when we change pin location on map using hold tapped. and also when scroll map.

Did anyone solved this already ?

No news here?

I created a PR to fix this issue: https://github.com/almassapargali/LocationPicker/pull/76


Short solution needed: "Configure XSS protection" (nginx)

Please help us write most modern and shortest code solution for this issue:
Configure XSS protection (technology: nginx)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

Configure XSS protection


Fix regression in HttpPostStandardRequestDecoder to always decode + to whitespace

Motivations
HttpPostStandardRequestDecoder was changed in 4.1.50 to provide its own
ByteBuf UrlDecoder. Prior to this change, it was using the decodeComponent
method from QueryStringDecoder which decoded + characters to
whitespaces. This behavior needs to be preserved to maintain backward
compatibility.
Modifications
Changed HttpPostStandardRequestDecoder to detect + bytes and decode them
toe whitespaces. Added a test.
Results
Addresses issue #10284

@netty-bot test this please

@fabienrenaud thanks a lot


Improve contractions involving scalar-like tensors

This adds some specialized code paths for contractions involving scalar-like tensors, i.e. one of the tensors is size 1. This particularly improves block sparse contractions where many of the blocks are of size 1.

Codecov Report

Merging #57 (34bd5e5) into master (a05eca8) will increase coverage by 0.06%.
The diff coverage is 23.72%.

@@            Coverage Diff             @@
##           master      #57      +/-   ##
==========================================
+ Coverage   32.43%   32.50%   +0.06%
==========================================
  Files          23       23
  Lines        2633     2360     -273
==========================================
- Hits          854      767      -87
+ Misses       1779     1593     -186

Impacted Files
Coverage Δ

src/NDTensors.jl
42.85% <ø> (+9.52%)
:arrow_up:

src/blocksparse/combiner.jl
0.00% <0.00%> (ø)

src/combiner.jl
0.00% <0.00%> (ø)

src/diag.jl
11.17% <0.00%> (-0.39%)
:arrow_down:

src/dims.jl
23.80% <0.00%> (-7.77%)
:arrow_down:

src/empty.jl
0.00% <0.00%> (ø)

src/dense.jl
35.83% <14.94%> (-3.43%)
:arrow_down:

src/blocksparse/blocksparsetensor.jl
47.38% <100.00%> (+1.02%)
:arrow_up:

src/blocksparse/linearalgebra.jl
47.22% <100.00%> (+3.58%)
:arrow_up:

src/contraction_logic.jl
48.10% <100.00%> (-3.07%)
:arrow_down:

... and 22 more

Continue to review full report at Codecov.

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


No usage dialog shown when including --stat flag

$ git state --stat
# status (master)

    nothing to commit, working directory is clean

# log

    89c5dd8 docs(README): add readme

# branches

    * master 89c5dd8 docs(README): add readme

Given that --stat isn't a known flag, the usage message should be shown. This is not true of all long options but only --stat is known to cause the error. No short options show this yet.
$ git state --quit
usage: git state [-h] [-v] [-s | -S] [--show-log | --no-show-log]
                 [--show-changes | --no-show-changes]
                 [--show-branches | --no-show-branches]
                 [--show-stashes | --no-show-stashes]
                 [--no-show [EXTENSION [EXTENSION ...]] | --no-show-all]
                 [-c [{always,never,auto}] | -C] [-f FORMAT | -p] [-e | -E]
                 [--clear | --no-clear] [-o SECTION [SECTION ...]]
                 [-O OPTION [OPTION ...]] [--no-page]
git state: error: unrecognized arguments: --quit

This is argparse doing its thing.


Add check workflow with license header check job

I also added the header to some files that did not have one.

Closing in favour of #48.


Update metrics-core, metrics-json to 4.2.21

About this PR
📦 Updates

io.dropwizard.metrics:metrics-core
io.dropwizard.metrics:metrics-json

from 4.2.19 to 4.2.21
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.dropwizard.metrics" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.dropwizard.metrics" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #29.