Define principles to guide the Jupyter Book transition from Sphinx to MyST

As part of our goal to experiment with a MyST backend to Jupyter Book, we'll need to make trade-off decisions about design and development priorities. This is an issue to define a few principles that can help us make decisions in an efficient way. The goal of the issue is both to clarify and align one another on our priorities, and provide guidance that helps us make decisions autonomously.
Here's a brief list of principles to start with, please provide any feedback and make direct edits if you'd like to see something different here!
Design for the best MyST experience, without anchoring on Jupyter Book's v1 implementation
When we're deciding on configuration structure and UX design, we should make choices that provide the best UX for users, rather than choices that try to ease the burden on transitioning from Jupyter Book v1 to v2. This should be our primary guiding principle. It's OK if Jupyter Book v2 users have to do things a bit differently, as long as the UX and functionality are better.
Jupyter Book should be as lightweight as possible
We want Jupyter Book to be as lightweight as humanly possible. This might even mean that it is just a light pre-configured MyST distribution. That's OK, there's still considerable value in the brand of Jupyter Book, and we can decide on a long-term transition to MyST if that's the best path forward.
Jupyter Book should deviate as little as possible from "The MyST way of doing things". Avoid JB-specific configuration options and code that abstracts away MyST. We do a lot of this with Sphinx, but that's because Sphinx has drawbacks we need to design around. If we identify things that need to be different in MyST, strongly prefer improving it in MyST rather than implementing anything Jupyter Book specific.
One way trip from Jupyter Book v1 to v2
It's safe to assume that users will use either Jupyter Book v1 (with Sphinx), or Jupyter Book v2 (with MyST), they will not switch back and forth between them. We should prioritize one-directional transitions from v1->v2 unless there's a very low-maintenance way to maintain v1 workflows as well.
It's OK to feature-freeze Jupyter Book v1 now. It's OK to consider Jupyter Book not-actively-maintained after NN months (which we can decide based on MyST uptake and functionality).
How to decide on transition pain vs. maintenance burden
For transitioning from v1 to v2, we should prioritize pain to users over increasing our maintenance burden. Focus on building the best end-user experience in order to "make it worth it", rather than de-risking the energy needed to transition in the first place.
We have roughly 4 ways of helping users transition, in descending order of preference:

Document how to transition to new workflows (e.g. new config, syntax, etc) and expect users to do it themselves.
Provide technology that facilitates transitioning from old to new (e.g. a CLI that auto-generates a new-style TOC from a v1 TOC).
Support old config/behavior temporarily, with a deprecation warning and a link to instructions to update.
Support old config/behavior long-term with v2.

Generally speaking, the things further down on this list should only be chosen if functionality is either critical to the user experience or relatively easy to implement and maintain.
Feedback

Is there anything important missing from the list above?
Does anybody object to the principles described above?

cc in particular @rowanc1 and @agoose77 , I want to make sure that us three at least are on the same page here!

We agreed in Discord to just leave this as-is, and refer to it in our initiative that's focusing on building out a Jupyter Book MVP:

#1106

So we'll consider this one done! Leaving it open just to keep this more visible


Generate project from swagger spec should also include build tasks for building the project

e.g. - when you create an Azure Functions project it also creates a number of useful VS Code files such as launch.json and tasks.json

Given that these are being done from VS Code it seems useful to also do the same for us so users can do things like hit ctrl+shift+b to run the build task for the project.

@abist - @udeeshagautam said you might have something for this. Does this look familiar to you?


release(prod): appState to check supervisor state

Issue

Link: https://github.com/NebraLtd/hm-diag/pull/336
Summary: Updated hm-diag to check appState when invoking supervisor API.

How
/v2/state/status endpoint, appState key instead of status.
Screenshots

References
Skipping recent GA so that it can be more throughly tested:
https://github.com/NebraLtd/helium-miner-software/pull/425
Follow up to:
https://github.com/NebraLtd/helium-miner-software/pull/424
Checklist

[ ] Tests added
[ ] Cleaned up commit history (rebase!)
[ ] Documentation added
[ ] Thought about variable and method names

@KevinWassermann94 I'd like to get this in before manufacturing resumes in a few hours.

@marvinmarnold All good from my side


#163 added new Liquibase column parameters to gdsl

#163
These fields are supported since Liquibase 3.1 / 3.4:

beforeColumn
afterColumn
position
descending

Can you please also add the tests?

I can, but its GDSL only change.
Do we have any test for column parameters, yet?


[marked_v0.3.x] flow 53.1 Classes may not have properties named constructor

flow-typed/npm/marked_v0.3.x.js:9
  9:   constructor: (o?: marked$MarkedOptions) => marked$Renderer
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Classes may not have properties named `constructor`

Using flow-typed (latest commit): 3b064385b759e1e75ff181e7fcc3572875e142ee
/related #7788
There are several constructor signatures that need addressed in this file.

Hey @rosskevin did you find a solution for this?

I manually commented out the constructor.

@FezVrasta here's a pull request for a fix: https://github.com/flowtype/flow-typed/pull/1197/commits


Build fails on Ubuntu 16.04

Similar to this issue from early 2015 https://github.com/rflynn/imgmin/issues/51 on Ubuntu 16.04, following the build instructions precisely (apt installs ImageMagick v6.8.9) building imgmin fails. Also worth noting I had to manually export MAGICK_CONFIG=/usr/lib/x86_64-linux-gnu/ImageMagick-6.8.9/bin-Q16/Magick-config or config/make would fail to find the config and would result in an error like --cflags: command not found since the MAGICK_CONFIG default value falls back to an empty string.
The error details:
root@1edbd36cf720:/root/imgmin-1.1# make
make  all-recursive
make[1]: Entering directory '/root/imgmin-1.1'
Making all in src
make[2]: Entering directory '/root/imgmin-1.1/src'
gcc -W -Wall -Os  `/usr/bin/GraphicsMagickWand-config --cflags --cppflags` -o imgmin imgmin.c dssim.c `/usr/bin/GraphicsMagickWand-config --ldflags --libs` -lm
imgmin.c:28:29: fatal error: wand/MagickWand.h: No such file or directory
compilation terminated.
dssim.c: In function ‘convert_image_row’:
dssim.c:304:55: warning: unused parameter ‘inf’ [-Wunused-parameter]
 static void convert_image_row(const dssim_info *const inf, float *const channels[], const int num_channels, const int y, const int width, void *user_data)
                                                       ^
Makefile:566: recipe for target 'imgmin' failed
make[2]: *** [imgmin] Error 1
make[2]: Leaving directory '/root/imgmin-1.1/src'
Makefile:355: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/imgmin-1.1'
Makefile:296: recipe for target 'all' failed
make: *** [all] Error 2

I'm using Docker, phusion/baseimage:0.9.19 which is ubuntu 16.04. Here's a minimal Dockerfile that will reproduce the issue:
FROM phusion/baseimage:0.9.19

# Use baseimage-docker's init system.
CMD [ /sbin/my_init ]

# upgrade
RUN apt-get update && apt-get dist-upgrade -y

# build tools (uninstall afterwards)
RUN apt-get install -y \
  build-essential \
  dh-autoreconf \
  wget

RUN apt-get install -y libpng-dev
RUN cd && wget https://github.com/pornel/pngquant/archive/2.5.0.tar.gz && \
  tar xf 2.5.0.tar.gz && \
  cd pngquant-2.5.0 && \
  make && \
  make install

RUN apt-get install -y imagemagick libgraphicsmagick1-dev libmagickwand-dev perlmagick libmagick++-6-headers libmagick++-dev
ENV MAGICK_CONFIG=/usr/bin/GraphicsMagickWand-config
RUN cd && wget https://github.com/rflynn/imgmin/archive/v1.1.tar.gz && \
  tar xf v1.1.tar.gz && \
  cd imgmin-1.1 && \
  autoreconf -fi && \
  ./configure && \
  make && \
  make install

You can build the image with docker build -t thumbor . when in a dir with the Dockerfile above.
It will fail but you can still shell in with docker run -t -i thumbor /sbin/my_init -- bash -l. After you shell in you'd probably want to rerun imgmin build step (it fails so it won't be in the image) with cd /root && wget https://github.com/rflynn/imgmin/archive/v1.1.tar.gz && \   tar xf v1.1.tar.gz && \   cd imgmin-1.1 && \   export MAGICK_CONFIG=/usr/bin/GraphicsMagickWand-config && autoreconf -fi && \   ./configure && \   make && \   make install
Would appreciate any help. Thanks.

@okor were you able to get around this?

@UmeshSingla Nope, I took a different approach since my use case was experimental anyways.

I was able to get around it by installing ImageMagick from source  and making sure it works.  Then restarting the imgmin build process from scratch seemed to finish.

@Enalmada is that still working for you? it doesn't seem to be working for me.

@Enalmada on my end it fails because of this one
make[3]: Entering directory '/root/imgmin/src/apache2' if [ "apxs2" != "" ]; then \         apxs2 -I pwd/.. /usr/lib/x86_64-linux-gnu/ImageMagick-6.9.7/bin-q16/MagickWand-config --cppflags --ldflags --libs|xargs|sed "s/-fopenmp\s//" -Wc,-DIMGMIN_LIB -Wc,-W -Wc,-Wall -Wc,-Wno-unused-parameter -c mod_imgmin.c ../imgmin.c ../dssim.c; \ fi apxs:Error: Unknown option: f.

make[3]: Entering directory '/root/imgmin/src/apache2'
if [ "apxs2" != "" ]; then
apxs2 -I pwd/.. /usr/lib/x86_64-linux-gnu/ImageMagick-6.9.7/bin-q16/MagickWand-config --cppflags --ldflags --libs|xargs|sed "s/-fopenmp\s//" -Wc,-DIMGMIN_LIB -Wc,-W -Wc,-Wall -Wc,-Wno-unused-parameter -c mod_imgmin.c ../imgmin.c ../dssim.c;
fi
apxs:Error: Unknown option: f.

@Enalmada even with your suggestion I get
imgmin.c:28:29: fatal error: wand/MagickWand.h: No such file or directory
 #include <wand/MagickWand.h>
                             ^
compilation terminated.
dssim.c: In function ‘convert_image_row’:
dssim.c:304:55: warning: unused parameter ‘inf’ [-Wunused-parameter]
 static void convert_image_row(const dssim_info *const inf, float *const channels[], const int num_channels, const int y, const int width, void *user_data)
                                                       ^
Makefile:554: recipe for target 'imgmin' failed
make[2]: *** [imgmin] Error 1
make[2]: Leaving directory '/usr/src/app/imgmin-1.1/src'
Makefile:344: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/src/app/imgmin-1.1'
Makefile:284: recipe for target 'all' failed
make: *** [all] Error 2

The thing is, the location of MagickWand.h has changed.
root@df81bbb2e540:~/imgmin-1.1# ls -lh /usr/local/include/ImageMagick-7/MagickWand/
total 128K
-rw-r--r-- 1 root staff 3.8K May 29 20:40 MagickWand.h
-rw-r--r-- 1 root staff  968 May 29 20:40 animate.h
-rw-r--r-- 1 root staff  968 May 29 20:40 compare.h
-rw-r--r-- 1 root staff  975 May 29 20:40 composite.h
-rw-r--r-- 1 root staff  967 May 29 20:40 conjure.h
-rw-r--r-- 1 root staff  967 May 29 20:40 convert.h
-rw-r--r-- 1 root staff 1.1K May 29 20:40 deprecate.h
-rw-r--r-- 1 root staff  967 May 29 20:40 display.h
-rw-r--r-- 1 root staff 9.3K May 29 20:40 drawing-wand.h
-rw-r--r-- 1 root staff  971 May 29 20:40 identify.h
-rw-r--r-- 1 root staff  963 May 29 20:40 import.h
-rw-r--r-- 1 root staff 1.2K May 29 20:40 magick-cli.h
-rw-r--r-- 1 root staff  19K May 29 20:40 magick-image.h
-rw-r--r-- 1 root staff 5.4K May 29 20:40 magick-property.h
-rw-r--r-- 1 root staff 4.2K May 29 20:40 method-attribute.h
-rw-r--r-- 1 root staff 1.5K May 29 20:40 mogrify.h
-rw-r--r-- 1 root staff  967 May 29 20:40 montage.h
-rw-r--r-- 1 root staff  923 May 29 20:40 operation.h
-rw-r--r-- 1 root staff 2.1K May 29 20:40 pixel-iterator.h
-rw-r--r-- 1 root staff 4.1K May 29 20:40 pixel-wand.h
-rw-r--r-- 1 root staff  964 May 29 20:40 stream.h
-rw-r--r-- 1 root staff 2.4K May 29 20:40 wand-view.h
-rw-r--r-- 1 root staff 1.5K May 29 20:40 wandcli.h
root@df81bbb2e540:~/imgmin-1.1#

@bagipriyank  Do you have a /usr/include/ImageMagick-6/wand/MagickWand.h?  If not, I have no idea where that comes from but perhaps try "sudo apt-get install libmagickcore-dev libmagickwand-dev".  Once you get it, the C_INCLUDE_PATH part of this "sudo C_INCLUDE_PATH=/usr/include/ImageMagick-6/ PKG_CONFIG_PATH=/opt/ImageMagick/lib/pkgconfig/ make" should work around it.

that worked. thanks @Enalmada

@bagipriyank That is great news.  So it seems libmagickcore-dev is probably what does it specifically since i see the libmagickwand-dev in the imgmin prereq already.  I hope others that want to use imgmin on ubuntu can get it working too now.  I was lucky enough to stumble upon some stackoverflow with a C_INCLUDE_PATH hack about something unrelated and tried it out right before I gave up forever on imgmin.


Action not serializable + deprecation

Hello
Two things:

In C#, Luis.Models.Action is not marked as Serializable, even though IntentRecommendation is. So if we have a Dialog that calls another dialog and has local IntentRecommendation state with an action, we get the following exception: Exception: Type 'Microsoft.Bot.Builder.Luis.Models.Action' in Assembly 'Microsoft.Bot.Builder, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' is not marked as serializable.
I noticed that the LUIS UI states that actions are going to be deprecated. That was surprising. Are actions completely gone? Are they moving out of LUIS and into the Bot framework? Are they just gone forever? Any direction would be helpful as we have been utilizing this feature quite heavily and I know your library code uses the Action results and context as part of the LuisDialog. Any insight in here would be great.

Thanks!
-Szymon

I'll leave @willportnoy to answer the first question.
Regarding the second, yes, actions are being removed from LUIS, first from the UI and eventually from the API as well.  We'll be extending our dialog support in the Bot Framework, and additionally will soon be providing samples that will enable you to perform the same action binding in your own service.
I understand this change can be difficult; our intent is to provide one great solution from Microsoft rather than several incompatible solutions.  We'll have more information soon.

IntentRecommendation is one of the few LUIS classes marked as serializable, because it was needed for FormFlow: https://github.com/Microsoft/BotBuilder/blob/497252e8d9949be20baa2cebaa6ce56de04461cf/CSharp/Library/Microsoft.Bot.Builder/FormFlow/FormDialog.cs#L837


Sticky class not being set

Hi. Thanks for the new version. I installed via bower and get v1.7.7 and it no longer sets the sticky-class when the attribute is set, or the default.

Looks like the issue is on line: 145. Shouldn't the addClass be outside the bodyClass condition?
if ( bodyClass ) {
  $body.addClass(bodyClass);
  $elem.addClass(stickyClass);
}

Works if here...
$elem
  .addClass(stickyClass)
  .css('width',      elem.offsetWidth+'px')
  ...
  if ( anchor === 'bottom' ) {
    $elem.css('margin-bottom', 0);
 }

Thanks for your time!

This should fix this https://github.com/d-oliveros/angular-sticky/pulls

Oh wow, I think I messed that up on yesterday's commit. Thanks for noting it up! I merged your PR @LeleDev.


[Feature request]: Support async pub async fn main for application state

Is your feature request related to a problem? Please describe.
It seems like using pub async fn main() -> ApplicationState is not currently supported, and attempting to use it results in build errors:
error[E0277]: the trait bound `fn(tuono_lib::axum::extract::Path<HashMap<std::string::String, std::string::String>>, tuono_lib::axum::extract::State<{type error}>, opentelemetry_http::Request<tonic::service::AxumBody>) -> impl Future<Output = impl IntoResponse> {index::tuono__internal__api}: Handler<_, _>` is not satisfied
   --> crates/project-crate/.tuono/main.rs:27:77
    |
27  | ...("/__tuono/data/", get(index::tuono__internal__api)).route("/nix/store/*inner...
    |                       --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Path<...>, ..., ...) -> ... {tuono__internal__api}`
    |                       |
    |                       required by a bound introduced by this call
    |
    = note: the full name for the type has been written to '/project/target/release/deps/project-crate-159d987f82356d30.long-type-9780378366290357927.txt'
    = note: consider using `--verbose` to print the full type name to the console
    = note: Consider using `#[axum::debug_handler]` to improve the error message
    = help: the following other types implement trait `Handler<T, S>`:
              `Layered<L, H, T, S>` implements `Handler<T, S>`
              `MethodRouter<S>` implements `Handler<(), S>`
              `axum_extra::handler::IntoHandler<H, T, S>` implements `Handler<T, S>`
              `axum_extra::handler::or::Or<L, R, Lt, Rt, S>` implements `Handler<(M, Lt, Rt), S>`
note: required by a bound in `tuono_lib::axum::routing::get`
   --> /project/.direnv/cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/method_routing.rs:439:1
    |
439 | top_level_handler_fn!(get, GET);
    | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^
    | |                     |
    | |                     required by a bound in this function
    | required by this bound in `get`
    = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)

Describe the solution you'd like
It would be helpful if the user could choose to use async main functions for application state, possibly similar to how Tokio supports it, e.g. with a #[tuono::main] marker. Allowing async main functions would make it easier to set up application state resources such as e.g. async database connection pools and other async resources.
Describe alternatives you've considered
No response
Additional context
No response

Hey @pveierland, I don't see the use case for this right now. As you mentioned, you were able to make it working either way, and I think that all the main cases (like connect to a DB or reading a configuration) are actually sync tasks.
I'm closing this for now. Let's see if more specific cases will raise.
Thanks for it!


chore(master): release 0.4.22

:robot: I have created a release beep boop
0.4.22 (2024-08-26)
🐞 Bug Fixes

ensure no deleted dynamic worker can be used to steal task(s) (5c504d4)

✨ Polish

cleanup worker node back pressure detection implementation (1e0e4b5)
cleanup worker node state conditions check (5d8036c)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.4.22
:sunflower:


Statistics are not up to date

Avoid duplicates

[X] Bug is not mentioned in the FAQ
[X] Bug affects both Android and iOS, for specific issues / questions that apply only to one operating system, please raise them in the respective repositories:

Android repository
iOS repository

[X] Bug is not already reported in another issue

Technical details

Device name: not important
iOS/Android version: not important
App version: any since statistics have been introduced

Describe the bug
The statistics haven't been updated today, the numbers shown are from the day before yesterday.
Steps to reproduce the issue

Open the CWA
Look at the statistic cards

Expected behaviour
Statistics should be updated.
Additional context
Is this related to the problem which the RKI currently has: https://twitter.com/rki_de/status/1443478743801020417?s=21?

Statistics have been updated.
Closing as fixed.


start-indent in attribute-sets body__toplevel and body__secondLevel being ignored in conbody and refbody

I found what appears to be the problem. Consider this excerpt from commons.xsl (line 1095):
    <xsl:when test="$level = 1">
        <fo:block xsl:use-attribute-sets="body__toplevel conbody">
            <xsl:call-template name="commonattributes"/>
            <xsl:apply-templates/>
        </fo:block>
    </xsl:when>

The order of the attribute-sets is backwards (it should be xsl:use-attribute-sets="conbody body__toplevel"). As it is, the default value for start-indent--obtained from attribute-set conbody--overwrites the value specified in attribute-set body__toplevel. This means that attribute-set body__toplevel becomes useless for conbody because it only contains attribute start-indent. A parallel problem also occurs with attribute sets body__secondLevel and conbody (it should be xsl:use-attribute-sets="conbody body__secondLevel").
A similar precedence error also occurs with refbody in reference-elements.xsl.
Fall through code for body is working correctly.

I think that this might be working as designed. Using DITA's inheritance model, it's explicitly the goal that if you set something for conbody, that should overwrite anything set for body.
The odd / likely unexpected side effect is that if you override anything for body, the core settings for conbody still win.
A different question might be - do we really need to have that override for conbody, or the one for refbody? They seem to do nothing apart from adding the possibility of separate attribute sets for these. Seems like that might be better handled in a different way. Oddly, the taskbody code doesn't reuse body attributes at all, or do anything different based on nesting, it only ever uses attribute set "taskbody".


Can not install delve

Please answer the following before submitting your issue:
Note: Please include any substantial examples (debug session output,
stacktraces, etc) as linked gists.

What version of Delve are you using (dlv version)?
None trying to install it.

What version of Go are you using? (go version)?
go1.6.3 linux/amd64

What operating system and processor architecture are you using?
Ubuntu 16.04 xenial x86_64 Linux 4.10.0-38-generic

What did you do?

go get github.com/derekparker/delve/cmd/dlv
and
Clone the repo
make install

What did you expect to see?
Expected to install delve

What did you see instead?

# github.com/derekparker/delve/pkg/dwarf/reader
go/src/github.com/derekparker/delve/pkg/dwarf/reader/variables.go:78: vrdr.dwarf.Ranges undefined (type *dwarf.Data has no field or method Ranges, but does have dwarf.ranges)

gotcha thanks, guess it's time to update


Added PFS/0.9 extraction support

Added an extractor plugin for the PFS/0.9 file system.
It might be quite simple but it appears often on router firmware and is poorly documented.

@devttys0 ?

Does anyone have docs or code for PFS/1.0?


Instrument run only

This code change implements a Stryker option to stop Stryker after instrumenting the code. When running Stryker with this option enabled, it executes the instrument phase only and the JSON-reporter reports the results as a valid mutation testing elements report. The results of this run can be used for #4779, to display mutations which haven't been tested yet (pending mutations).
Resolves #4790

For #4790, this run should be as swift as possible to promptly update the Test Explorer with the latest data on code changes. However, the current process remains too slow to be practical. Following the instrumentation of the code in memory, the project undergoes preprocessing, initializes the checker pool, and sets up the sandbox. None of these steps are necessary to display available mutations in the extension. However, the event is sent and the Stryker process is terminated only after completing them.
I discussed this issue with @danny12321. Some options we discussed are:

We might not need to this instrumentation only process as a Stryker option. Instead, we only need an event to be sent immediately after the files have been instrumented in memory with the report as the payload. Then if we incorporate support in StrykerJS for real-time reporting, we could send an event to the extension and then instruct the extension to terminate the Stryker child process once the event has been received.
If we decide against option 1, we can still utilize this feature and allow the IDE extension to override config settings such as the build command, checkers, plugins, etc., to bypass some time-consuming steps.

@nicojs what are your thoughts on this?


Add case test_csi_block_volume_online_expansion

Test result
Signed-off-by: Chris<EMAIL_ADDRESS>

@chriscchien Can you please link the ticket this is associated with?
@yangchiu Could you please help with the review?

According to the test skeleton:
3. Generate `test_data` in a directory the volume is not mounted on.
4. Copy the `test data` to the volume block device asynchronously.

Do we actually do this in this implementation?

I merged step 3 and 4 by using dd command with suprogress.pipe(), while the pipe is still executing, do volume expansion mentioned in step 5
It is because if I first generate test-data by dd if=/dev/urandom of=/tmp/test-data bs=1M count=2500 which mentioned in step 3 and then immediately copy test-data into volume device by dd if=/tmp/test-data of=/dev/<volume>, the data in /dev/<volume> is depend on the time when I start to copy, not the whole test-data.

I merged step 3 and 4 by using dd command with suprogress.pipe(), while the pipe is still executing, do volume expansion mentioned in step 5

It is because if I first generate test-data by dd if=/dev/urandom of=/tmp/test-data bs=1M count=2500 which mentioned in step 3 and then immediately copy test-data into volume device by dd if=/tmp/test-data of=/dev/<volume>, the data in /dev/<volume> is depend on the time when I start to copy, not the whole test-data.

If the implementation is different from the skeleton, can we modify the skeleton to make them consistent?

I merged step 3 and 4 by using dd command with suprogress.pipe(), while the pipe is still executing, do volume expansion mentioned in step 5

It is because if I first generate test-data by dd if=/dev/urandom of=/tmp/test-data bs=1M count=2500 which mentioned in step 3 and then immediately copy test-data into volume device by dd if=/tmp/test-data of=/dev/<volume>, the data in /dev/<volume> is depend on the time when I start to copy, not the whole test-data.

If the implementation is different from the skeleton, can we modify the skeleton to make them consistent?

Hi @yangchiu,updated.


Some prombles with catkin_make

I want to run this code with ubuntu20.04,it run with following errors:
/usr/bin/ld: CMakeFiles/gicp_align.dir/src/align.cpp.o:(.rodata._ZTVN3pcl6search6SearchINS_8PointXYZEEE[_ZTVN3pcl6search6SearchINS_8PointXYZEEE]+0x20): undefined reference to pcl::search::Searchpcl::PointXYZ::getName() const'
/usr/bin/ld: CMakeFiles/gicp_align.dir/src/align.cpp.o:(.rodata._ZTVN3pcl6search6KdTreeINS_8PointXYZENS_11KdTreeFLANNIS2_N5flann9L2_SimpleIfEEEEEE[_ZTVN3pcl6search6KdTreeINS_8PointXYZENS_11KdTreeFLANNIS2_N5flann9L2_SimpleIfEEEEEE]+0x20): undefined reference to pcl::search::Search<pcl::PointXYZ>::getName() const' /usr/bin/ld: /home/clf/hdl_global_localization/devel/lib/libfast_gicp.so: undefined reference to pcl::search::Searchpcl::PointNormal::getName() const'
/usr/bin/ld: /home/clf/hdl_global_localization/devel/lib/libfast_gicp.so: undefined reference to pcl::search::Search<pcl::PointXYZI>::getName() const' collect2: error: ld returned 1 exit status make[2]: *** [fast_gicp/CMakeFiles/gicp_align.dir/build.make:190：/home/clf/hdl_global_localization/devel/lib/fast_gicp/gicp_align] make[1]: *** [CMakeFiles/Makefile2:612：fast_gicp/CMakeFiles/gicp_align.dir/all] /usr/bin/ld: /home/clf/hdl_global_localization/devel/lib/libfast_gicp.so: undefined reference to pcl::search::Searchpcl::PointXYZ::getName() const'
/usr/bin/ld: /home/clf/hdl_global_localization/devel/lib/libfast_gicp.so: undefined reference to pcl::search::Search<pcl::PointNormal>::getName() const' /usr/bin/ld: /home/clf/hdl_global_localization/devel/lib/libfast_gicp.so: undefined reference to pcl::search::Searchpcl::PointXYZI::getName() const'
collect2: error: ld returned 1 exit status
`
What problem is causing this？From my point of view,my version of pcl is 1.10,but code requires 1.7,is it?
Thanks a lot!

hi, i meet the same problem. Have you fixed it ?

hi, i just fixed this problem. You can have a try.
`find_package(catkin REQUIRED COMPONENTS
roscpp
pcl_ros
)`
comment "pcl_ros".


class_generator: add test for ConfigMap - 1958

[Auto generated]
Number: [#1958]

openshift-python-wrapper[pull_request][4d97-11ef-8539-a9223683d680][PR 1958]: Closing issue for PR: class_generator: add test for ConfigMap.
PR was closed.


New rule: no-nodelist-unsupported-methods

This rule disallows NodeList prototype methods unsupported by various browsers.

Codecov Report

Merging #78 (17b4243) into master (6c93a03) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #78   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            8         9    +1
  Lines          113       123   +10
=========================================
+ Hits           113       123   +10

Impacted Files
Coverage Δ

src/index.js
100.00% <ø> (ø)

src/rules/no-nodelist-unsupported-methods.js
100.00% <100.00%> (ø)


SMTP sending fails next cloud

Hi,
I have your lovely next cloud-container running, but I am not able to send mails with the php-mailer. I tried 2 different hoster (start and gmail). But with both hosters, I wasn't able to receive mails. The nextcloud logs told me, that the mail was sent.
Regards

I have the same problem. php mail not working and my hoster (netcup) neither.
I am not sure how to detect the issue. In the container mail is not installed. So I guess its normal that php mail is not working.
Thx and bye
Darian

It worked for me when I was using my own mailserver. I'll try soon with Gmail/Gandi.

I got this workaround: Get the container IP and open firewall with the source IP from container. Then I reconfigured postfix to listen on the docker0 interface. In Nextcloud you have to use the gateway IP to your dockerhost.
So I am relaying from my Nextcloud container via the postfix on the dockerhost to the target.
Regards


vpa-admission-controller: Add observability and alerting

How to categorize this issue?

/area auto-scaling
/kind enhancement
What would you like to be added:

[x] Configure prometheus to scrape the vpa-admission-controller metrics: https://github.com/gardener/gardener/pull/10033
[ ] Add plutono dashboards based on the metrics
[ ] Add alerts

Why is this needed:
In a recent VPA related outage (ref https://github.com/kubernetes/autoscaler/issues/6884), we noticed that we are missing observability for the vpa-admission-controller component. For example:

we don't have a panel showing the response times of the component
we don't have alerts if the vpa-admission-controller response time > 10s (the webhook's timeout).

/remove-lifecycle stale

Given we contextified the admission-controller, such that response times >10s shouldn't be catastrophic anymore, I'm nor sure if we still need the alerting. @ialidzhikov WDYT?

/close

@voelzmo , shouldn't we let https://github.com/gardener/gardener/pull/10741 close this issue? Sorry that I didn't manage to check it so far.

Given we contextified the admission-controller, such that response times >10s shouldn't be catastrophic anymore, I'm nor sure if we still need the alerting. @ialidzhikov WDYT?

Agree, if we don't have good ideas for alerts let's don't add any for now.

/close
as the subtasks are completed


Horusec Manager

I know it's a simple question, I already did the code analysis, but I didn't understand how to access Horusec-Manager, is it your central server or a web server that is installed on the local machine?
Environment:

Horusec version (use horusec version):  1.8.0
Operating System: Kali

Hello @wesleybsb1 .
If you want to test locally you can use our makefile with the command make install, that way we will run a compose and expose the web service that can be accessed at: http://localhost:8043.
We also have helm charts for each web service needed to access the menager, these can be found within the deployments folder for the following services:

horusec-account
horusec-auth
horusec-analytic
horusec-api
horusec-manager

Here is a link to our docs:
https://docs.horusec.io/v/v1-eng/

I have a similar issue. I was able to run the make install and seems that the containers are running correctly, but when I try to access http://myserverip:8043, it shows an empty page (with Horusec favicon).
If I try to use curl, I can see the following message inside the html: "You need to run javascript to run this app".
Where do I need to run javascript, which container?
I am using amazon linux with 8043 port open.

I have a similar issue. I was able to run the make install and seems that the containers are running correctly, but when I try to access http://myserverip:8043, it shows an empty page (with Horusec favicon).
If I try to use curl, I can see the following message inside the html: "You need to run javascript to run this app".
Where do I need to run javascript, which container?
I am using amazon linux with 8043 port open.

Same here. Blank screen.

Hello @douglasluizm and @tiagosoaresolist
Can you please send me the output content of the docker logs horusec-manager command? and also, send me, if you have, some content in the "console" tab of the browser, when trying to access the service through it.

docker logs horusec-manager.txt

I've tried with different browsers (Chrome, Edge, IE). Currently using Edge 88.0.705.68
Thanks!

 I am sending the logs for it as well:
docker logs horusec-messages.txt

Exactly same behavior here horus-messages container restarting forever logging the same error.

I was not able to identify exactly the error, through the information they sent me, however, I was able to make an improvement in the functions that are causing this error, in order to better identify it. We will release this fix, and we ask that you update to the new version and try it again, please.

I did a new install but got the same behavior and syntax error in the console (tried different browser, and incognito).

It's very strange.
Okay, come on, could you check the result of the api/auth/config request in the browser's network tab?

I am not sure how to check that. When I go to the network tab, I can see the following:

not sure if useful, tbh :)
I tried to load the swagger (http://horusecip:8043/swagger/index.html) but got the same result.

That's right, it's on this tab. However, when you open it, update the page with it open to be able to check all the requests that were made. After that, there is a search field at the top, search for / auth / config, and select one of the options and check the answer on the right side in the "preview" tab.

It seems that there is nothing with the words "auth/config" our "auth" or "config", only the files I indicated in my last reply.

And JS is enabled in chrome. Same behaviour in Firefox.

What form are you using to install Horusec? are using make install? and made any changes to the compose file?

I am using "make install" on a fresh new instance (Amazon Linux 2 AMI), and did not change anything on the compose.

Same here. Just git clone and make install. Tested on a fresh Amazon linux EC2 and on my MacOS.

Okay, so let's check the health of the main services that the manager needs.
What is the result when you try to access the following routes?
Can access directly in the browser, or through CURL
http://YOUR_IP:8003/account/health
http://YOUR_IP:8006/auth/health

@douglasluizm Tudo bem?
Qual é seu sistema operacional?
Qual é a versão do docker e docker-compose?
Se estiver rodando em uma maquina a parte como por exemplo uma VM favor verifique qualquer configuração de firewall e limitações da máquina que foi adicionada

boa tarde @wiliansilvazup , tudo bem e você?
Então, estou usando uma instancia na AWS com SO Amazon Linux 2 AMI e para o docker:
Docker version 19.03.13-ce, build 4484c46
docker-compose version 1.26.0, build d4451659
A instancia tem tráfego para fora liberado, e portas 80, 3000, 8003, 8006, 8043 abertas.

Quando você roda o comando docker ps -a qual é o output ? se conseguir tirar um print e nos mandar :)

como você está utilizando o docker-compose padrão o serviço de horusec-messages e o serviço horusec-webhook não iram subir e nem funcionar mesmo pelo fato de que o broker não está habilitado por padrão. Então não se preocupe com eles.
Já em relação aos outros serviços você consegue acessar o http://SEU_IP:8000/swagger/index.html ? Este é o swagger do serviço horusec-api

Eu não tinha liberado esta porta. Depois que liberei consegui acessar o swagger, mas ele retorna o seguinte erro:
`Failed to load API definition.
Errors
Fetch errorFailed to fetch http://localhost:8000/swagger/doc.json
Fetch errorPossible cross-origin (CORS) issue? The URL origin (http://localhost:8000) does not match the page (http://ipdainstancia:8000). Check the server returns the correct 'Access-Control-Allow-*' headers.`
Se eu tento um curl localhost:8000/swagger/index.html de dentro da instancia, retorna uma pagina sem erro aparente, mas se tento curl localhost:8043 ele retorna a pagina com o mesmo erro do javascript.

@douglasluizm este é o comportamente esperado pelo "manager" ao realizar um Curl nele, por ser desenvolvido em React.JS.

@tiagosoaresolist @douglasluizm
Vocês podem nos enviar seus e-mails por gentileza ?

Ou nos envie seu problema através do e-mail<EMAIL_ADDRESS>que iremos receber também :)

@tiagoangelozup @wesleybsb1
Or send us your problem through the email<EMAIL_ADDRESS>which we will also receive :)

@tiagosoaresolist and @wesleybsb1
Talking to @douglasluizm , we verified that in his case, it was necessary to inform the environment variables of the "manager". Do you have these variables defined?

After building horusc through docker-compose, visit http://ip : 8043, enter the login page, default account login error, through the view of horusc database, found that there is no initial table structure, where is the initial table structure？

Hello @bright-start.
What command did you perform to up the horusec services?

您好@ bright-start。
您执行了什么命令来启动horusec服务？

Hello @bright-start.
What command did you perform to up the horusec services?

Now that I have solved the problem, there is a problem with the horusc service started by docker compose up - d, but there is no problem with the horusc service built by make install

Hello @bright-start.
What command did you perform to up the horusec services?

Now that I have solved the problem, there is a problem with the horusc service started by docker compose up - d, but there is no problem with the horusc service built by make install
Thinks.

Hello @bright-start.
What command did you perform to up the horusec services?

Now that I have solved the problem, there is a problem with the horusc service started by docker compose up - d, but there is no problem with the horusc service built by make install
Thinks.

The make install script executes the database migration. If you run the services by using docker-compode up -d y'll need to run the migration by your own.


Remove 'renderOrderOffset'.

The property renderOrderOffset was superseded by dynamic
render order expressions and layer categories.
Signed-off-by: Roberto Raggi<EMAIL_ADDRESS>

Codecov Report

Merging #1426 into master will decrease coverage by 0.09%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #1426      +/-   ##
==========================================
- Coverage   55.82%   55.72%   -0.10%
==========================================
  Files         269      258      -11
  Lines       24115    23814     -301
  Branches     5388     5330      -58
==========================================
- Hits        13462    13271     -191
+ Misses      10653    10543     -110

Impacted Files
Coverage Δ

@here/harp-datasource-protocol/lib/DecodedTile.ts
26.98% <ø> (ø)

...re/harp-datasource-protocol/lib/TechniqueParams.ts
51.21% <ø> (ø)

@here/harp-datasource-protocol/lib/Techniques.ts
71.96% <ø> (ø)

...e/harp-mapview/lib/geometry/TileGeometryCreator.ts
40.91% <ø> (+0.10%)
:arrow_up:

@here/harp-omv-datasource/lib/OmvDataSource.ts
55.73% <ø> (ø)

...e/harp-omv-datasource/lib/OmvDecodedTileEmitter.ts
36.58% <0.00%> (+0.25%)
:arrow_up:

@here/harp-geometry/lib/ClipPolygon.ts
96.96% <0.00%> (-0.47%)
:arrow_down:

@here/harp-utils/lib/Mixins.ts
76.92% <0.00%> (ø)

@here/harp-test-utils/lib/WebGLStub.ts
100.00% <0.00%> (ø)

@here/harp-utils/lib/SampleBilinear.ts
100.00% <0.00%> (ø)

... and 34 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 5a8df0f...6888ba3. Read the comment docs.


deps: update to binrw 0.12

This updates the MSRV to 1.66, that's maybe too big a leap ?

Where does it change MSRV to 1.66? I see such a change for master, but not for the 0.12.0 release.

Ah I think I checked master and not 0.12, my bad

What has actually changed between 0.11 and 0.12? I don't find the usual CHANGELOG.md.

https://github.com/jam1garner/binrw/releases/tag/v0.12.0

Is there a specific reason why you need binrw 0.12 instead of 0.11?

Just keeping up to date with dependencies and trying to reduces projects' trees to a single instance of each, to avoid compiling almost the same code several times. It also has the benefit that if a type from a dependency is exposed in the public API, it's the same everywhere (because crateA::MyType, v0.3.0 and crateA::MyType, v0.4.0 are incompatible)

Where does it change MSRV to 1.66? I see such a change for master, but not for the 0.12.0 release.

Ah I think I checked master and not 0.12, my bad

Alright. Can you change the MSRV to the right Rust version for binrw 0.12 then?

I forgot I had changed it in the manifest, done


Speech Manager

Currently, styling looks bad, and speechDetach has not been implemented yet.

i pulled master and merged into speechManager branch


Attempting to preview certain links will leave the previewer Regex running and unable to cancel

Hey Leonardo Cardoso! Just wanted to say big thank you to a cool little kit of code making it really easy to get a preview of a URL! ❤
Certain links, however, will cause the previewer to get down to the Regex.pregMatchAll() method and there it will churn pretty much indefinitely, tasking one of the cores to maximum. Because it's already beyond the request part, it's unable to be cancelled at that point. It will continue to task the CPU as you navigate around the app, but at least it stops when the app is backgrounded.
Example URL: https://news.ycombinator.com/item?id=22598009

Would you have any suggestion on how to handle a case like this, or a way/means to cancel the churning after a specific amount of time has passed?
For now, I will try and collect bad URLs and just avoid sending them to the previewer
Here's a sample project to test with:

LinkPreviewHighCPUStuck-CancelAdded.zip

(Edit: Updated with a version that doesn't use a cache, and with cancel button)
I know, it's crude, but it tests one working link preview and the bad link.
Xcode: 11.3.1
iOS targeted: 11.x, 12.x, 13.x
Stack trace and time graph shown above
Let me know if you'd like any more help.

@pocketlim is this still an issue or have you found a way to fix it?

Unfortunately, no, it is still happening as far as I know. I am blacklisting the URLs that I found that aren't working or that cause issues so far.

Thanks for the detailed report. I will add it to investigation needed.

I'm facing this, it's still an issue.

I was able to work around this by:

only parsing the first 30k characters, not the entire response
adjusting the reject to not use .*
only parsing text responses and ignoring binary responses

Regex.swift:74
- string.split(by: limit).forEach {
+ string.split(by: limit).first.map {

Regex.swift:108
- return "<" + tag + "(.*?)>(.*?)</" + tag + ">"
+ return "<" + tag + "([^>]*?)>([^<>]*?)</" + tag + ">"

SwiftLinkPreview.swift, import MobileCoreServices), and add the following at line 344 to skip parsing binary content
            guard
                let httpResponse = urlResponse as? HTTPURLResponse,
                let contentType = httpResponse.value(forHTTPHeaderField: "content-type") as? String,
                let parsedType = Regex.pregMatchFirst(contentType, regex: "([^/\\s;]*/[^/\\s;]*)"),
                let type = UTTypeCreatePreferredIdentifierForTag(kUTTagClassMIMEType, parsedType as CFString, nil)?.takeRetainedValue()
            else {
                onError(.cannotBeOpened("Unknown content type"))
                return
            }
            let strType = type as String
            guard
                UTTypeConformsTo(type, kUTTypeText)
            else {
                onError(.cannotBeOpened("Invalid content type: "))
                return
            }


Replace exponents by multiplication up to **10

Multiplication is faster than a generic ** operation.

In addition, C and fortran compilers do the optimization by themselves, and hence also Cython.
There's also no need to change the documentation.
Performance optimizations are welcome, but they should be targeted and have measurable effect.


Skia gold diffs should not block rolls into the Engine

For example on https://github.com/flutter/engine/pull/34289, the bot asked for approval for diffs on a Dart SDK -> Engine roll, but that should not be happening.

another instance of dart->engine roll being held due to flaky gold tests https://github.com/flutter/engine/pull/34364

bumping priority as we seem to see this happen often

Here is another instance of dart -> engine roll being held up due to a flaky gold test https://github.com/flutter/engine/pull/34388

@Piinks Could you please help take a look?

I am not familiar with the engine implementation, @mdebbar implemented it. Can you take a look?

@keyonghan This request might be unrelated to the specifics of the check itself. Rather, this is a request that the skia gold diffs should not stop an autoroll from landing.

I will take a look.

https://github.com/flutter/cocoon/pull/1953 is being discussed how to move forward.
Un-assigning myself as I will not be able to work on this in the next week.

It looks like these are coming from https://github.com/flutter/engine/pull/34118. @ds84182 Can you suggest how to make these less flaky?

@ds84182

screenshotSize: fileContent.lengthInBytes

This looks wrong. I think this is supposed to be the number of pixels, not the file size.
https://github.com/flutter/engine/blob/main/testing/scenario_app/bin/android_integration_tests.dart#L79

Will look into a solution after the holidays. I suspect the flakiness comes from different data being decoded from the source image due to timing.

Found a super simple fix. Looks like the source image (which is encoded as a video, intentionally, to test video rotations) has multiple frames. Need to rerun ffmpeg with a framerate specified so there's only a single video frame present in the file.

Ping @ds84182. Are you making progress on https://github.com/flutter/engine/pull/34479?
I am not sure if this is a P0 either. I am moving this to P2 since this was originally elevated to P0 as it was the only test for this scheme.

Yes, it should actually be ready for review. Will update the PR


script editor caret blinking causing updates in 2D editor

Operating system or device - Godot version:
Ubuntu Linux 16.04 64b, godot d61b91c
Issue description (what happened, and what was expected):
When "Caret Blink" is activated for the script editor, it'll cause a redraw even if 2D/3D editor are focused.
This is a ridiculously minimal thing, admittedly, but it's kind of strange it'd produce a redraw when the script editor is completely out of sight.
Steps to reproduce:
Enable caret blink, go to some empty/static scene in 2D mode, it'll cause updates as if script editor was focused

CC @Paulb23.

It's strange, seems that this is recently happening again. I was getting continuous redraws in 2D editor and disabling caret blink stopped them. Could a regression have happened?


fix: Fixed iam-user module when encrypted_ses_smtp_password_v4 is null

Closes https://github.com/terraform-aws-modules/terraform-aws-iam/issues/274

Thanks @nikolay !

This PR is included in version 5.3.3 :tada:


Rethink the way sprites are added to the World

The current implementation relies on two systems:

The client system: The user uses the method ShapeSprite::draw to spawn a (ShapeDescriptor, ) bundle.
The shapesprite_maker system: Queries the ShapeDescriptors, generates the corresponding sprites, and despawns the descriptors.

The problem
While this approach removes a lot of boilerplate, the indirect creation of a sprite creates problems to users who call Commands::{with, with_bundle, current_entity}, since those functions point to the ShapeDescriptor entity that gets deleted.
Possible solutions:
Custom command
That's the most interesting solution, because it completely removes the necessity of relying on an external system to spawn entities without boilerplate. If that is possible, the current implementation should be considered an anti-pattern. The thing is, I never made a custom command, so I don't know if it's possible.
EDIT: The way the Command trait and the Commands struct are currently designed makes it impossible to draw a shape without boilerplate.
Direct API
In addition to the ShapeDescriptor based API, it's possible to add an API similar to the old one to directly draw shapes. So each user chooses what to do. This however puts the user in front of a design choice.

Why not remove the ShapeDescriptor component and attach the SpriteBundle to the same entity, rather than despawning it. I think that gives you a usable API and is the behavior I expected when I started using the tool.

Why not remove the ShapeDescriptor component and attach the SpriteBundle to the same entity, rather than despawning it. I think that gives you a usable API and is the behavior I expected when I started using the tool.

I made a PR that changes to this way of doing things: #47 The examples work with this change and so does my small project.

I made a PR that changes to this way of doing things: #47 The examples work with this change and so does my small project.

Thanks for it. #47 merged. Closing.

Thanks for it. #47 merged. Closing.


On rename in IED editor, supervision is not updated

Describe the bug
Supervision instances (lnClass = LGOS or LSVS) have the control block reference of the publishing device included in the Val of the setSrcRef DAI. For example:
<DOI name="GoCBRef">
    <DAI name="setSrcRef">
        <Val>XAT_232_M1MUGO/LLN0.Ind</Val>
    </DAI>
</DOI>

When we rename the device in the IED editor, this is not updated.
To Reproduce
Steps to reproduce the behavior:

Open a file with supervisions.
Rename the IED.
Check to see if the supervision information is updated.
Find that it is not.

Expected behavior
When an IED is renamed, the subscribing supervision instances are updated.
If I rename a device from: XAT_BusA_P2 to BlueSky, then I expect the following change in all LGOS or LSVS LNs (to GoCBRef or SvCBRef)
<DOI name="GoCBRef" desc="Ref. GOOSE CB">
    <DAI name="setSrcRef" valImport="true">
        <Val>XAT_BusA_P2Bay240_DCB/LLN0.Ctl_1</Val>
    </DAI>
</DOI>

to:
<DOI name="GoCBRef" desc="Ref. GOOSE CB">
    <DAI name="setSrcRef" valImport="true">
        <Val>BlueSkyBay240_DCB/LLN0.Ctl_1</Val>
    </DAI>
</DOI>

Additional context
We do the renaming in src/wizards/foundation/actions.ts in updateNamingAttributeWithReferencesAction and call it from src/wizards/ied.ts (about L#212 currently).

For the creation of the text content of a Val element in a supervision instantiation we use a fn called controlBlockReference in src/editors/subscription/foundation.ts L#657

I think it is sufficient to, on an IED change:

Iterate across all IEDs and all supervision instances
For LGOS and LSVS if there is a non-empty Val element, check that it starts with the current IED name
If it does, it is a candidate for replacement. Store these in a Map (control block reference => supervision element)
Filter the candidates with the control block reference generated for all GSEControl/SampledValueControls in the IED to be renamed to check that they match the control block reference keys. If they do, it is a valid supervision reference.
Then recalculate and update the supervision's control block reference.

If that seems good, I'm happy to implement.

@JakobVogelsang does that seem good to you?

As discussed we need input from @JakobVogelsang.
It also somewhat relates to:

#1313
#1315

Maybe for a next story would it make sense to add a UI component that informed the user about all the different places in the SCL document that were renamed as well to ensure accuracy and completeness? @danyill @trusz

I have created a simple edge case that could be used for testing. When you try to rename the IED Pub with the LDevice inst lisher you will conflixt with the IED Publi with the LDevice inst sher. I think the above approach, reconstructing through ExtRefs would be sufficient enough. I would make sure to only rename ONE such object reference per GSEControl in the renamed IED.
changeIedName.scd.zip


How to program the pairing of Raspberry Pi and a wearable device in BLE

We are working on a project to design our IoT gateway based on the Intel Edison or Raspberry Pi (central)
to connect to one of a few wearable devices (peripheral) via BLE.
We are currently planning to use Noble (Node.js BLE) for this project.
We have to admit that we are beginners in BLE coding.
We have found that one of the current wearable devices requires pairing for BLE communication.
We can't find example code to do this kind of operation.
Would you please tell us how to do pairing in Noble?
If we can get code examples, then that would be great.
We would appreciate your help very much.
Thank you very much

Hi @yongnan0809,
Pairing support in noble is somewhat experimental. It only supports "just works" pairing (no pin), and requires the device to respond with ATT_ECODE_AUTHORIZATION or ATT_ECODE_INSUFF_ENC during a characteristic read or write operation. After this error code is received it will kick of the pairing process transparently.

@sandeepmistry
Thanks for kind explanation.


[Enhancement] Selectivity estimate support more functions

What type of PR is this：

[ ] bug
[ ] feature
[x] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #6967
Problem Summary(Required) ：

run starrocks_fe_unittest

[FE PR Coverage check]
:disappointed: fail : 93 / 192 (48.44%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/ExpressionStatisticCalculator.java
82
176
46.59%

:large_blue_circle:
com/starrocks/catalog/FunctionSet.java
6
11
54.55%

:large_blue_circle:
com/starrocks/sql/optimizer/transformer/SubqueryTransformer.java
2
2
100.00%

:large_blue_circle:
com/starrocks/sql/analyzer/DecimalV3FunctionAnalyzer.java
2
2
100.00%

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/scalar/SimplifiedPredicateRule.java
1
1
100.00%

[FE PR Coverage check]
:disappointed: fail : 93 / 198 (46.97%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/ExpressionStatisticCalculator.java
82
182
45.05%

:large_blue_circle:
com/starrocks/catalog/FunctionSet.java
6
11
54.55%

:large_blue_circle:
com/starrocks/sql/optimizer/transformer/SubqueryTransformer.java
2
2
100.00%

:large_blue_circle:
com/starrocks/sql/analyzer/DecimalV3FunctionAnalyzer.java
2
2
100.00%

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/scalar/SimplifiedPredicateRule.java
1
1
100.00%

[FE PR Coverage check]
:disappointed: fail : 96 / 198 (48.48%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/ExpressionStatisticCalculator.java
85
182
46.70%

:large_blue_circle:
com/starrocks/catalog/FunctionSet.java
6
11
54.55%

:large_blue_circle:
com/starrocks/sql/optimizer/transformer/SubqueryTransformer.java
2
2
100.00%

:large_blue_circle:
com/starrocks/sql/analyzer/DecimalV3FunctionAnalyzer.java
2
2
100.00%

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/scalar/SimplifiedPredicateRule.java
1
1
100.00%

[FE PR Coverage check]
:disappointed: fail : 96 / 216 (44.44%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/ExpressionStatisticCalculator.java
85
200
42.50%

:large_blue_circle:
com/starrocks/catalog/FunctionSet.java
6
11
54.55%

:large_blue_circle:
com/starrocks/sql/optimizer/transformer/SubqueryTransformer.java
2
2
100.00%

:large_blue_circle:
com/starrocks/sql/analyzer/DecimalV3FunctionAnalyzer.java
2
2
100.00%

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/scalar/SimplifiedPredicateRule.java
1
1
100.00%

run starrocks_fe_unittest

[FE PR Coverage check]
:disappointed: fail : 93 / 242 (38.43%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/ExpressionStatisticCalculator.java
82
226
36.28%

:large_blue_circle:
com/starrocks/catalog/FunctionSet.java
6
11
54.55%

:large_blue_circle:
com/starrocks/sql/optimizer/transformer/SubqueryTransformer.java
2
2
100.00%

:large_blue_circle:
com/starrocks/sql/analyzer/DecimalV3FunctionAnalyzer.java
2
2
100.00%

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/scalar/SimplifiedPredicateRule.java
1
1
100.00%

run starrocks_fe_unittest

[FE PR Coverage check]
:disappointed: fail : 96 / 235 (40.85%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/ExpressionStatisticCalculator.java
85
219
38.81%

:large_blue_circle:
com/starrocks/catalog/FunctionSet.java
6
11
54.55%

:large_blue_circle:
com/starrocks/sql/optimizer/transformer/SubqueryTransformer.java
2
2
100.00%

:large_blue_circle:
com/starrocks/sql/analyzer/DecimalV3FunctionAnalyzer.java
2
2
100.00%

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/scalar/SimplifiedPredicateRule.java
1
1
100.00%

[FE PR Coverage check]
:heart_eyes: pass : 227 / 240 (94.58%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/catalog/FunctionSet.java
6
11
54.55%

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/ExpressionStatisticCalculator.java
216
224
96.43%

:large_blue_circle:
com/starrocks/sql/optimizer/transformer/SubqueryTransformer.java
2
2
100.00%

:large_blue_circle:
com/starrocks/sql/analyzer/DecimalV3FunctionAnalyzer.java
2
2
100.00%

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/scalar/SimplifiedPredicateRule.java
1
1
100.00%


Support for native Structured Output provided by recent OpenAI models

Recently OpenAI released gpt-4o-2024-08-06 model that natively supports Structured Output (https://openai.com/index/introducing-structured-outputs-in-the-api/). It would be good to consider using this native mechanism in Spring AI for OpenAI. According to OpenAI their Structured Output allowed model to follow even complex JSON schemas with much higher reliability than before.
Expected Behavior
Spring AI could use native Structed Output for OpenAI models that support it.
Current Behavior
Currently Spring AI has great implementation of Structured Output. It's best part is that it is generic, but sometimes it's not 100% reliable. It is possible that using native Structured Output would improve it's reliability when it comes to following desired JSON schema.

@kkolago thanks for the feature request. @tzolov has implemented support for OpenAI Structured Output in https://github.com/spring-projects/spring-ai/issues/1196 right after the OpenAI announcement. You can find more information on how to use it in this blog post: https://spring.io/blog/2024/08/09/spring-ai-embraces-openais-structured-outputs-enhancing-json-response


Tag differ V1

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: exaby73:white_check_mark: Salakar:x: dependabot[bot]You have signed the CLA already but the status is still pending? Let us recheck it.

Above comment is from the test that ran. Ignore


Imagestorage

merging google backend into dev

Building and running this works without issue. I still need to test the functionality in Cloud Run, though.


Help with Integration (PictureFill, bower etc.)

Hey,
First of all, thanks a ton for such an awesome theme. It is my first time doing front-end work and this was perfect for my needs.

You suggested that we should use PictureFill plugin for serving responsive images. For now I just included js file in  and it is working, but can it be used with native elements in theme?

Entry-Image

Entry-Image-Index

I want .entry-image (feature image for post) to show images like .entry-image-index (feature image of post in index page). It scales image to fit which I would like to avoid (both guys have their head cut off).
It would be awesome if I could choose between having fixed height and responsive height, but just having responsive height is also fine.

Can I use bower components with theme? If yes, I would be grateful for some pointers (I want to add a carousel in which content cycles on it own, eg Flexslider).

It was also suggested to use grunt to manually build scripts, css and images; before pushing to github pages. I followed the steps from the grunt site and on 'grunt' in CLI, it completes with no errors.
So thats all I have to do for my images? Any more tips regarding this?

Like I said, I'm just starting out in this field so please forgive my unintended noobness :sweat_smile:

Since your questions are geared more towards modern front-end dev tools and topics I'd suggest you seek out tutorials and blog posts about each. They've all been covered in way more detail and authority than I can provide.

1. I've covered this one a few times now so take a look through the closed issues for more context #156 #142. Basically what's going on is the feature image is in a div .entry-header that has some CSS to fix the height and hide anything that overflows out of the container. That's why you're seeing the heads cut off. Adjust the CSS on that and you can modify how it looks to match what you want.
As far as making it more responsive. Picturefill is just a polyfill to support the<picture> and srcset for browsers that don't. Unless you're doing art directed images <picture> is overkill as it can be more verbose than using img srcset.
If you're looking for a way to automate resizing and inserting the necessary responsive img markup take a look at my Made Mistakes project. I'm using a Jekyll plugin to do it and feed my feature image through some Liquid. It's using the <picture> element which I don't really care for but it gets the job done.
There are also other plugins that do similar things along with some Grunt and Gulp tasks if you prefer to go that route.
2. Yes. Jekyll sites are for the most part just HTML/CSS/JS which is why I enjoy working with them. It makes using whatever modern tools and workflows you want much easier. I know of Bower but have zero experience setting it up or using it in my projects. If you take the time to configure it and organize components and their assets it shouldn't be a big deal to add. You'll probably have to replumb a few things and were assets are currently stored but that's to be expect.
I'd suggest searching for what others have done to see how they set it up and then apply to your project. NPM is an option too for managing components. It's really a matter of preference.
3. The Grunt task I've configured for the theme just optimizes your images. There's a lot more you if you want. I included the basic of the basic but it really comes down to what you hope to achieve and then configure to match that.

Thank you for the prompt reply.
I want to keep the project as free of dependencies as possible while automating menial tasks and for that the jekyll plugin looks good enough. The article that you shared is very helpful and I can't thank you enough for that, I imagine anyone who is just diving into Jekyll would feel the same.

I won't say never but probably not anytime soon as it would be a diversion. I'm putting most of my energy in maintaining just one theme now and not really interested in other static site generators.
A few of my themes have been ported but I can't remember if Hugo was one of them. Could have been Grav but I honestly don't remember. I get so many oddball requests it's hard to keep everything straight :stuck_out_tongue:.


BUG: Section headers in middle pane no longer respect length of code for that section

Operating system: Mac OS-X Sierra
Last upstream commit (run git log --author="Robert Lord" | head -n 1): 17b259a40da6ef3e0561db76371754b6620e1e43
Browser version(s): Version 59.0.3071.115 (Official Build) (64-bit)
Ruby version (run ruby -v):  ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin15]

When I defined code that belonged to a particular content section in the main display column, often the content would be padded with whitespace to accommodate the length of the code snippet in the right-hand pane (in other words, if there were 10 lines of content, and 100 lines of code, there'd be space for 100 lines in the content pane).
See http://docs.backand.com/#iam-policy-json - I would expect the next section, titled "From AwsCloudFormation," to not start until after the final line of the JSON in the right-hand pane. There are other instances in our documentation where this makes the sample code very challenging to read. I don't recall this being an issue before, so it's possible that something may have broken with release 2.0.0, or I could have fat-fingered something.

Hrm, I think only h1s and h2s clear by default. Probably before, with Tocify, adding it to the ToC also added Tocify divs, which cleared it for you, but we're no longer using that so you'll have to clear it manually. If you edit this line to include &>h3, I think it should fix it? https://github.com/lord/slate/blob/bdb693031027c2e5af77cb709cb86836c3e2e74c/source/stylesheets/screen.css.scss#L345 Let me know if this works for you!

Ok, let me give that a shot

Yep, that did the trick! Thanks for the fix


Wired interactiontypes not correct

Please update the SQL with an updated catalog

The Catalog is Third Party and under Development.
Someone can do that if want.

How do you test your Wired then?

pixarhotel.com.br We changing and updating catalog and interaction types.

Ah okey, and can you be so nice to give us the catalog_funitures and catalog_items of the wired?

The catalog isn't done, we writing it. 40% done. Is hard to create a totally correct catalog. With all correct interactions :/

Okey, np we wait.

Closed because is not an issue. Only catalog with wrong interaction_types setted.
How to fix: I'm working in a good catalogue for Yupi.


[BUG]cannot mount a PV into a pods

hello
i have a pv bound to a PVC in longhorn 1.4
every thing perfect
when i try to mound it in m y pods i
it is sutkced in pending :
Unable to attach or mount volumes: unmounted volumes=[volv], unattached volumes=[kube-api-access-h7bqw volv]: timed out waiting for the condition
Source
kubelet pool-18f82-krhyi
Count
2
Sub-object
Last seen
2024-04-15T16:34:23+02:00
AttachVolume.Attach failed for volume "pvc-backup-metis" : timed out waiting for external-attacher of driver.longhorn.io CSI driver to attach volume pvc-backup-metis
Source
attachdetach-controller
and this to every pv from longhorn
thanks so much

for your info
all the replicas of the volume are OK

Hi @sarce666,
Could you provide the way you mounted the volumes with workload and the support bundle for investigating (we might find the root cause in the logs of Longhorn CSI attacher)?


Follow up on Newtonsoft.Json removal from Microsoft.AspNetCore.Mvc

[ ] - ProblemDetails relied on JsonExtensionAttribute to ensure that swagger document generators produced the correct JsonSchema. Since the attribute would no longer be available, we need  to figure out an alternate way to describe this to document generators.

[ ] Implement DefaultTempDataSerializer

[ ] Implement DefaultJsonHelper

Since the attribute would no longer be available, we need  to figure out an alternate way to describe this to document generators.

Why can't inheritance be used for this?

@khellang the tentative plan is to have an attribute that System.Text.Json understands and add support for it in swagger generators. Places like so:

https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/bf455f474784316a2b33ee33eefd277d5729fc3a/src/Swashbuckle.AspNetCore.SwaggerGen/Generator/SchemaRegistry.cs#L204-L208
https://github.com/RSuter/NJsonSchema/blob/7fd6a3fa8e5cb71d54148eb26cc3bd46d2397d12/src/NJsonSchema/Generation/JsonSchemaGenerator.cs#L367-L368


Setting BackgroundColor for IconButton not working

Setting the BackgroundColor or the BorderColor for an IconButton do not work for me.
  public App()
        {
            var tabbedPage = new TabbedPage();

            tabbedPage.Children.Add(new ContentPage {
                Title = "Controls",
                Content = new StackLayout {
                    Children = {
                        new IconButton() {
                            Text = Iconize.Modules.First().Keys.First(),
                            BackgroundColor = Color.Red, // not working?
                            BorderColor = Color.Green, // not working?
                        }
                    }
                }
            });

            MainPage = tabbedPage;
        }
    }

Same issue, only with Android and the icon is aligned to the left instead of being centered.
BackgroundColor, BorderColor and Text aglignment work well with UWP.

+1, no backgroundColor support on android.

Just to add that BorderWidth="0" also does not work. I.e. a border is still shown


python3Packages.tabcmd: init at 2.0.12, python3Packages.pyinstaller-versionfile: init at 2.1.1, python3Packages.tableauserverclient: init at 0.25, python3Packages.types-appdirs: init at <IP_ADDRESS>, python3Packages.types-mock: init at <IP_ADDRESS>

Description of changes
Add tabcmd and its dependencies
Things done

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.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

[ ] Fits CONTRIBUTING.md.

Please split up the commits for every python module, thank you :)

@onny done

@GrahamcOfBorg build python3Packages.tabcmd python3Packages.pyinstaller-versionfile python3Packages.tableauserverclient python3Packages.types-appdirs python3Packages.types-mock


configure branch protection, requiring review, using probot/settings

seems like RFCs are one situation where requiring a review is pretty appropriate

yeah these are kinda awkward. the conversation is really the important artifact. so what actually gets "stored" & approved would almost be what turns into the ADR?

yeah, agreed. i think thats the biggest confusing piece to considering both that we'll have to figure out. i do think that merging the agreed upon md file is the best way to consider it "accepted", but how often that then becomes an ADR will be an interesting thing to sort out


Needed JSON sample data

We will Need JSON files for All Programs, User Programs, All Courses, User Courses.

As discussed we should split students from users and courses available will be based on term.

I take it back to make it easy we should use a flag ... isAdmin as we are doing I think that's much easier. The only sample data we need now is user classes.

I update the users.data.js with some courses... if you guys could check

Where? Did yiu make a branch? What's its name? I'll check tomorrow ? Or are you going to make a pr?

I made a PR, and the name of the branch is users-data-json-and-login-feature


chore: restructuring 06-solomachine lightclient directory layout

Description

Move go sources from 06-solomachine/types to 06-solomachine

ref: #124

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards.
[ ] Wrote unit and integration tests
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added relevant godoc comments.
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Review Codecov Report in the comment section below once CI passes

Codecov Report

Merging #1679 (c6b4500) into damian/124-modify-lightclient-folder-structure (913ccff) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@                                Coverage Diff                                 @@
##           damian/124-modify-lightclient-folder-structure    #1679      +/-   ##
==================================================================================
- Coverage                                           79.97%   79.96%   -0.02%
==================================================================================
  Files                                                 165      166       +1
  Lines                                               11746    11748       +2
==================================================================================
  Hits                                                 9394     9394
- Misses                                               1904     1906       +2
  Partials                                              448      448

Impacted Files
Coverage Δ

modules/core/02-client/legacy/v100/store.go
71.29% <ø> (ø)

...dules/light-clients/06-solomachine/client_state.go
62.13% <ø> (ø)

modules/light-clients/06-solomachine/codec.go
87.50% <ø> (ø)

...es/light-clients/06-solomachine/consensus_state.go
88.00% <ø> (ø)

modules/light-clients/06-solomachine/header.go
89.65% <ø> (ø)

...dules/light-clients/06-solomachine/misbehaviour.go
90.00% <ø> (ø)

...ight-clients/06-solomachine/misbehaviour_handle.go
90.00% <ø> (ø)

modules/light-clients/06-solomachine/module.go
0.00% <0.00%> (ø)

modules/light-clients/06-solomachine/proof.go
79.25% <ø> (ø)

...es/light-clients/06-solomachine/proposal_handle.go
100.00% <ø> (ø)

... and 3 more


Add support for k8s 1.9.9

What this PR does / why we need it: https://github.com/kubernetes/kubernetes/releases/tag/v1.9.9
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
If applicable:

[ ] documentation
[ ] unit tests
[ ] tested backward compatibility (ie. deploy with previous version, upgrade with this branch)

Release note:

//TODO: upload win binary


Review and cleanup GlobalScope constants for 4.0

Godot version:
Master (e2bbf2cba)
Issue description:
The @GlobalScope documentation lists a number of constants which are no longer used, especially among property hints, usage flags and method flags.
The list should be reviewed for 4.0 to drop obsolete stuff, including their duplicate entries in the GDNative API.
See also #16863.

If anyone wants to do this review and propose potential changes, feel free to. I'm not finding time to do it myself and if it's not done soon, it's best to drop the idea for now.

Quite a few things have been updated over the years there. We did another pass over PropertyHint / PropertyUsage stuff with @reduz and @YuriSizov, seems like it's in a good enough state now.


feat: bumping packages

Fixes #

Codecov Report

Merging #276 (cc1058a) into main (02f6041) will decrease coverage by 1.77%.
The diff coverage is 57.14%.

@@            Coverage Diff             @@
##             main     #276      +/-   ##
==========================================
- Coverage   94.33%   92.56%   -1.78%
==========================================
  Files           6        6
  Lines         424      444      +20
  Branches      126      132       +6
==========================================
+ Hits          400      411      +11
- Misses         21       30       +9
  Partials        3        3

Impacted Files
Coverage Δ

src/transformer/schema-transformer.ts
84.67% <57.14%> (-5.71%)
:arrow_down:

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 9063d0c...cc1058a. Read the comment docs.


File summary report enhancement idea

Distinguish between SPT window sleep and daytime rest/nap in the pdf report. At the moment this distinction is not made.

Closing this issue, because identical to #231


AEX log for recents

https://drive.google.com/file/d/1oBx3m6PtSYMt8oMh2W__vC1AqzRt3Ced/view?usp=drivesdk

Here's log of AEX used on Kenzo


Update how-do-site-columns-become-managed-properties-thus-available-f…

Category

[X] Content fix

Docs Build status updates of commit c0d68de:
:clock10: Pending: waiting for processors (24 builds ahead of you)
:warning: Docs Build is busy, currently there are 24 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit c0d68de:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Community/how-do-site-columns-become-managed-properties-thus-available-for-search.md
:bulb:Suggestion
View
Details

Community/how-do-site-columns-become-managed-properties-thus-available-for-search.md

Line 82, Column 1: [Suggestion-duplicate-alt-text] Alt text 'Site column available in library view' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning on 1/29/21.
Line 103, Column 1: [Suggestion-duplicate-alt-text] Alt text 'Site column available in library view' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning on 1/29/21.
Line 117, Column 1: [Suggestion-duplicate-alt-text] Alt text 'Search and offline availability' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning on 1/29/21.
Line 121, Column 1: [Suggestion-duplicate-alt-text] Alt text 'Search and offline availability' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning on 1/29/21.
Line 125, Column 1: [Suggestion-duplicate-alt-text] Alt text 'Search by using your new managed property' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning on 1/29/21.
Line 127, Column 1: [Suggestion-duplicate-alt-text] Alt text 'Search by using your new managed property' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning on 1/29/21.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Bump spring-cloud-sleuth to 3.1.10 to pull in fix for https://github.com/spring-cloud/spring-cloud-sleuth/issues/1958

You're doing great job @jonnysw ! :) Thank you for the PR. Of course you can bump Sleuth by yourself in your project so that you don't have to wait for the release of Spring Cloud Sleuth OTel. Sleuth is a deprecated project so we're not planning any releases for now.


Data science with Python: Locally Estimated Scatterplot

Description 📜
I have explain the detailed information and coding regarding this issue.
Fixes #3749

Type of change 📝

[x] Documentation (Content Creation in the form of codes or tutorials

Domain of Contribution 📊

[x] Datascience with Python

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@prathimacode-hub Ma'am please review my PR.

/assign Documentation

This is PR not an issue to get yourself assigned. @rahilmehta-24


proposal: benchmarks or benchstat: should question timings less than 1ns

From time to time I see someone quote a benchmark output with a timing like "0.03995ns".
Invariably this means the benchmark is doing nothing at all, e.g. because they forgot to use b.N.
Similarly to when benchstat advises to use more iterations to get a stable result, it could advise that such a short timing may be an error.

CC @aclements

Perhaps #38677 ?

CL 230978 is what I was thinking of. I think it would catch anything that would produce 0.03995ns.

This proposal has been added to the active column of the proposals project
and will now be reviewed at the weekly proposal review meetings.
— rsc for the proposal review group

Austin pointed out various problems with my CL so I wrote a vet check instead. This is now probably a duplicate of #38677.

One case I don’t think would be covered is when the compiler optimizes away your entire loop.

This proposal is a duplicate of a previously discussed proposal, as noted above,
and there is no significant new information to justify reopening the discussion.
The issue has therefore been declined as a duplicate.
— rsc for the proposal review group


Delete script-lab-test.md

created redirect

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/excel/script-lab-test.md
:white_check_mark:Succeeded

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


Command prompt command : dotnet run , wont work

Problem encountered on https://dotnet.microsoft.com/learn/aspnet/hello-world-tutorial/run
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
when trying to use the dotnet run command I get a large amount of errors :
MyFirstGame\Library\PackageCache\com.unity.textmeshpro@1.4.1\Scripts\Runtime\TMP_UpdateManager.cs(138,9): error CS1519: Invalid token '{' in class, struct, or interface member declaration
yFirstGame\Library\PackageCache\com.unity.textmeshpro@1.4.1\Scripts\Runtime\TMP_UpdateManager.cs(238,1): error CS1022: Type or namespace definition, or end-of-file expected
AppData\Local\Microsoft\VisualStudio\16.0_cafb57a9\VTC\79a5af6441823743f56e038617ff99e8~IC\I\CSharp\Android\BroadcastReceiver.zip\Activity.cs(13,11): error CS1056: Unexpected character '$'

The linked tutorial doesn't load these files. They appear to have something to do with Unity. Can you link the tutorial you're following?

Closing due to no response.


Keras and Sklearn StackingRegressor : problem with one row input

Hello,
I am trying to build a regressor using sklearn Stacking regressor and Keras, everything works fine when the input contains more than one row.
But if I use one row, the program returns the message "ValueError: all the input arrays must have same number of dimensions, but the array at index 0 has 2 dimension(s) and the array at index 10 has 1 dimension(s)".
After some investigations, for one row input : the shape of the Keras NN output is (), and the shape of the other sklearn estimator output  is (1,).
If I use 2 rows input, the shape of the Keras NN is (2,), and the shape of the other sklearn estimator is (2,).
The keras NN is:
model = Sequential()
model.add(Dense(11, activation='relu'))
model.add(BatchNormalization())
model.add(Dense(1))
model.compile(loss='mean_squared_error', optimizer='adam')
How to solve it ?
Thanks for your help.

@phbillet ,
In order to expedite the trouble-shooting process, could you please provide a complete code and the TensorFlow version you are using.Thanks!

System information
I use wsl with Ubuntu 20.04 LTS and anaconda for Python
I use those package versions :
numpy: 1.21.5
pandas: 1.4.1
sklearn: 1.0.2
keras: 2.7.0
yellowbrick: 1.4
Describe the problem
In the notebook https://github.com/phbillet/EZStacking/blob/main/Stack_Keras_1.ipynb
the cell 24 (array(22.85553, dtype=float32)) shows that the output value is not complaint with the output value of the cell 25 (array([22.855536, 41.029778], dtype=float32)).
For me, the correct value for cell 24 is array([22.85553], dtype=float32)
I tried a similar test just with Keras, it works fine, so I think that the problem comes from  KerasRegressor (from keras.wrappers.scikit_learn).

@gadagashwini ,
I was able to reproduce the issue in tf v2.7, v2.8 and nightly.Please find the gist of it here.

It seem that the KerasRegressor is deprecated and we are no longer maintaining/bug fixing it. Please forward this issue to https://github.com/adriangb/scikeras.


feat(react-dom): memoize middleware internally

It uses Latest Ref Pattern to memoize middlewares array, so that users don't have to use useMemo themselves.

[x] add working test
[ ] update docs
[x] clean up code

@atomiks let me know if this is something you want to implement and I'll clean up the PR in the mean time.
I had to do some changes to run the tests as well.
I'm not really a big fan of this unit test, as the alternative of passing is literally an infinite loop (of update and component renders), so it might be slightly hard to debug if things break.
PS. noUnusedLocals + ts-jest is literally most annoying combination ever in terms of developer experience 😛

Assuming it works it's great 😛  the useMemo thing is def annoying for the consumer so removing that requirement would be good.

@atomiks I see that react-native code has the same problem. I want to extract the latest ref hook to its own module, but not sure how to reuse that between the two workspaces.
Is it fine to duplicate that for now? Or do you have any better ideas?

Duplicating is okay for now. We could make a non-published utils package that Rollup bundles in with React bundle (not external), but it doesn't matter that much for now tbh

Regarding the docs, you should make a separate PR for that change specifically so we can wait until after publish to npm to merge


Clicking the "add labels" button when viewing a lazy (zarr/dask) image should create a zarr-backed labels array.

🚀 Feature
Currently, add_labels will try to create an in-memory labels array of the same shape as the currently viewed image. This will break if the image layer is a bigger-than-memory dask array. A possible solution is to create an out-of-core dataset backed by zarr.

@jni @DragaDoncila is this still relevant, or does https://github.com/jni/zarpaint address the need?

Bumping this, I've run into this and have had users report it when trying napari with whole-slide-images (WSI), yielding "napari really sucks!"

Does it mean that it should open file dialog to select place to save zarr array?

I'm thinking let's start with in-memory zarr. Then we can write to zarr on-disk using a writer plugin. In the future, clicking on the labels button might open a three item menu — "make numpy array" "make in-memory zarr array" and "make on-disk zarr array" — this last one opening a file dialog.
But, in memory zarr is so cost-effective that I think we should do that straight away, and use it automatically when e.g. the array would be >500MB.

But, in memory zarr is so cost-effective that I think we should do that straight away, and use it automatically when e.g. the array would be >500MB.

So in some moment, there should be a file dialog popup?

I'm thinking let's start with in-memory zarr

As I understand the whole problem is a memory error, so I do not see how creating in memory zarr may solve this. Or Zarr support in-memory compression?

As I understand the whole problem is a memory error, so I do not see how creating in memory zarr may solve this. Or Zarr support in-memory compression?

I like to think of Zarr as a configurable pipeline for chunking and compressing arrays. For in-memory zarr, the compressed chunks are just stored in a dict, which may be be accessed/updated on demand.

Yes, zarr supports in-memory compression (indeed that was the original use-case), and zero-chunks are implicit, so creating a zarr array costs nothing, and adding data adds compressed data.

ie @Czaki I don't think there should be a file dialog popup in the first implementation. Only an in-memory zarr. That avoids having to make any UI changes, which is nice.

The #6190 is ready for review


Make final

[ ] Models
[ ] Tests

👍
I've never seen tests being final before. Why do we want to do that?

So that noone can accidentally extend them. Also for consistency: if a class is not meant to be extended, prohibit it.


Fix release build break on 10.13 / Xcode 9

With macOS 10.13 and Xcode 9, I am now getting a build break on latest
master, due to the -Werror change that went in. I'm not sure why this
doesn't repro on macOS 10.14 beta / Xcode 10 beta, but the Cython
generated code on my machine gives warnings (now treated as error). This
change suppresses the specific warning in the compilation of the
generated code.

Strange, I also encountered this last night on my 10.14 machine, although I have no idea how the -Werror change built in CI. And to sanity-check that commit after rebasing I only did a debug build, sigh.


Fixes too long textboxes in export window

Fixes #21404
Basically the export window uses a TabContainer, but when a current tab changes, size of the window is not updated to the new minimum size.
This PR only fixes the export window, but the bug can also occur in other popup's that use TabContainer, e.g. when you resize down project settings too much and change current tab to general.

The easiest way to reproduce this issue is in export window (should work with any language, but I have only checked this in english and polish):

Select any preset
Select options tab and resize down the popup as much as you can (horizontally)
Select resources tab

Closing as per above comment, and as superseded by #25353 (which I'm not convinced is the right solution either, but it attempts to address the root of the problem).


astcenc: Update to 4.5.0

The 4.5.0 release is a minor release with minor image quality improvements,
and multiple build system quality-of-life improvements.

https://github.com/ARM-software/astc-encoder/releases/tag/4.5.0
Draft as we need to review the compile flags for the "invariant" mode, which seems to be what we use (since we don't define ASTCENC_NO_INVARIANCE:
https://github.com/ARM-software/astc-encoder/blob/008d43f1e57944fd6c5cb663ef2c21c4884835dd/Source/cmake_core.cmake#L231-L244
See all the changelog lines talking about invariance. I'm assuming this is something we want to ensure if possible @fire? (IIRC, this means having reproducible encodings on different systems, at the cost of some performance.)

The cmake appears to be for msvc enable strict for older and precise for newer. There’s also a clang cl change.

The cmake appears to be for msvc enable strict for older and precise for newer. There’s also a clang cl change.
For floating point math.

Yeah, and also for regular Clang and GCC:
                $<$<AND:${is_clang},$<VERSION_GREATER_EQUAL:$<CXX_COMPILER_VERSION>,10.0.0>>:-ffp-model=precise>
                $<${is_gnu_fe}:-ffp-contract=off>)

(is_gnu_fe is for GCC and Clang IIUC)

Since I don’t have guidance, we can try reproducing the code.

I slept on this.
This is trying to make the exported ASTC conversions stable across different machines.

I added the same flags as upstream, aside from the ones for ClangCL as we don't officially support it yet, and the tooling we have in methods.py doesn't let me detect it easily.

What's the state of this PR? There have been 3 releases since 4.5.0, currently sitting at 4.7.0.

Removed all the compiler flag stuff for now, here's the old code for future reference:
# Compiler options to ensure invariant build.
# Sync with upstream `Source/cmake_core.cmake` options for ASTCENC_INVARIANCE.
if env.msvc:
    pass
    if env.compiler_version >= (19, 30, 0):
       env_thirdparty.AppendUnique(CCFLAGS=["/fp:precise"])
   else:
       env_thirdparty.AppendUnique(CCFLAGS=["/fp:strict"])
else:
    from methods import using_clang

    if using_clang(env) and env.compiler_version >= (10, 0, 0):
        env_thirdparty.AppendUnique(CCFLAGS=["-ffp-model=precise"])
    env_thirdparty.AppendUnique(CCFLAGS=["-ffp-contract=off"])


symfony 5 compatible

Upgraded the bundle to use current sf5 dependencies, and adressed hopefully all issues.
Unittests are running except four of them, which IMO use hard coded values, my system does not match and travis neither, cause it expects de_CH locale, which i am not having :)
I have no idea how they were ever working :angel:
The way i did it is BC breaking for use with sf < 4.3

Can we merge this in?

@hacfi adapted your review

Any news about?

would be great to have it merged

Any progress on this? This and one more package are currently the reason why I am stack on Symfony 4 so it would be great if we can get this merged and released so I can use a newer Symfony version and higher PHP version.

see https://github.com/lunetics-org/LocaleBundle/pull/218


Unused Variables in errors.go

Location: errors.go
Issue: Presence of variables that aren’t utilized.
Remediation: Remove these variables or provide a rationale for their existence.

no longer needed as we're switching to BlobstreamX


where the ignored wires in 074 are from

if I want to fuzzer a new device such as k7 325t,how could I get the ignored wires in 074?

Hi @the-centry , I have notes from the process that I performed for a7 100t that may be useful; see under "Step 4":
https://github.com/tcal-x/prjxray/blob/doc/NEWPART.md#step-4
Compare your ignored-wire results with existing ignored-wires files to make sure it seems reasonable, or even post it here for me or @litghost or someone else to take a look at.
Thanks for your contribution!

@tcal-x - Any reason this documentation hasn't been added to the upstream prjxray repo? I don't think anyone would likely think to look in your fork to find info like this :-)

Yeah, let me address the remaining "FIXME"s and send a PR.

Yeah, let me address the remaining "FIXME"s and send a PR.

thinks so much!


cancelling an appeal doesn't change the pending approvers status

Description
When an appeal gets created, based on the policy steps, approval records are also created in approvals and approvers tables.
When the appeal gets cancelled by the user, only the status of the appeal is changed and the status of the approval is still kept as pending.
To Reproduce

create an appeal with policy which has manual approvals involved.
cancel the appeal
check the status of the manual approval in approvals table

Expected behavior
Approvals should also marked as canceled in addition to the appeal. The below are the current status types in approvals. we need to have a canceled type to factor in user cancellations.

The approvals API returns approvals based on filters. One would not be able to exclude these un-actionable approvals from approvals API with current set of filters.

Approach -

add appeal_statuses to the List Approvals API primarily - #25
to do effort estimation if canceled as approval type need to be added. Take decision based on this effort.

@rahmatrhd


Fastai2 model deployment

I donot know, why is it not finding the model??
FileNotFoundError: [Errno 2] No such file or directory: '/opt/ml/model/model.pth'
Thanks, for any help

Please provide more detail and steps to reproduce the error.

Also consider the suggestion listed here: https://github.com/aws-samples/amazon-sagemaker-endpoint-deployment-of-fastai-model-with-torchserve/issues/6#issuecomment-846452627

no following up.