[gmp] Build error

Package: gmp:x64-linux -> 6.2.1#21
Host Environment

Host: x64-linux
Compiler: GNU 9.4.0
vcpkg-tool version: 2023-09-15-ac02a9f660977426b8ec6392919fbb1d51b10998
vcpkg-scripts version: b40de4489 2023-10-11 (9 hours ago)

To Reproduce
vcpkg install --x-feature=cuda
Failure logs
-- Using cached gmp-6.2.1.tar.xz.
-- Cleaning sources at /home/bhw/3D_reconstruct/openMVS/vcpkg/buildtrees/gmp/src/v6.2.1-0c723d4b6f.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/bhw/3D_reconstruct/openMVS/vcpkg/downloads/gmp-6.2.1.tar.xz
-- Applying patch asmflags.patch
-- Applying patch cross-tools.patch
-- Applying patch subdirs.patch
-- Applying patch msvc_symbol.patch
-- Applying patch arm64-coff.patch
-- Applying patch gmp-arm64-asm-fix-5f32dbc41afc.patch
-- Using source at /home/bhw/3D_reconstruct/openMVS/vcpkg/buildtrees/gmp/src/v6.2.1-0c723d4b6f.clean
-- Getting CMake variables for x64-linux
-- Getting CMake variables for x64-linux-dbg
-- Getting CMake variables for x64-linux-rel
-- Generating configure for x64-linux
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: /usr/bin/autoreconf -vfi
    Working Directory: /home/bhw/3D_reconstruct/openMVS/vcpkg/buildtrees/gmp/src/v6.2.1-0c723d4b6f.clean/
    Error code: 1
    See logs for more information:
      /home/bhw/3D_reconstruct/openMVS/vcpkg/buildtrees/gmp/autoconf-x64-linux-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:635 (vcpkg_execute_required_process)
  ports/gmp/portfile.cmake:85 (vcpkg_configure_make)
  scripts/ports.cmake:168 (include)

/home/bhw/3D_reconstruct/openMVS/vcpkg/buildtrees/gmp/autoconf-x64-linux-err.log
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
configure.ac:3791: warning: AC_LIBTOOL_PROG_COMPILER_PIC is m4_require'd but not m4_defun'd
acinclude.m4:2363: GMP_ASM_X86_GOT_UNDERSCORE is expanded from...
configure.ac:3791: the top level
configure.ac:3794: warning: AC_ENABLE_SHARED is m4_require'd but not m4_defun'd
acinclude.m4:2717: GMP_ASM_X86_MCOUNT is expanded from...
configure.ac:3794: the top level
configure.ac:3794: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd
acinclude.m4:2717: GMP_ASM_X86_MCOUNT is expanded from...
configure.ac:3794: the top level
autoreconf: configure.ac: tracing
configure.ac:3791: warning: AC_LIBTOOL_PROG_COMPILER_PIC is m4_require'd but not m4_defun'd
acinclude.m4:2363: GMP_ASM_X86_GOT_UNDERSCORE is expanded from...
configure.ac:3791: the top level
configure.ac:3794: warning: AC_ENABLE_SHARED is m4_require'd but not m4_defun'd
acinclude.m4:2717: GMP_ASM_X86_MCOUNT is expanded from...
configure.ac:3794: the top level
configure.ac:3794: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd
acinclude.m4:2717: GMP_ASM_X86_MCOUNT is expanded from...
configure.ac:3794: the top level
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:3791: warning: AC_LIBTOOL_PROG_COMPILER_PIC is m4_require'd but not m4_defun'd
acinclude.m4:2363: GMP_ASM_X86_GOT_UNDERSCORE is expanded from...
configure.ac:3791: the top level
configure.ac:3794: warning: AC_ENABLE_SHARED is m4_require'd but not m4_defun'd
acinclude.m4:2717: GMP_ASM_X86_MCOUNT is expanded from...
configure.ac:3794: the top level
configure.ac:3794: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd
acinclude.m4:2717: GMP_ASM_X86_MCOUNT is expanded from...
configure.ac:3794: the top level
configure.ac:2664: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:2752: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.ac:2875: error: possibly undefined macro: AC_CHECK_LIBM
configure:11256: error: possibly undefined macro: AC_PROG_NM
configure:15233: error: possibly undefined macro: AC_LIBTOOL_PROG_COMPILER_PIC
configure:15328: error: possibly undefined macro: AC_ENABLE_SHARED
autoreconf: /usr/bin/autoconf failed with exit status: 1

**Additional context**
vcpkg.json
{
  "name": "openmvs",
  "version": "2.1.0",
  "description": "OpenMVS: open Multi-View Stereo reconstruction library",
  "homepage": "https://cdcseacave.github.io/openMVS",
  "dependencies": [
    "boost-iostreams",
    "boost-program-options",
    "boost-serialization",
    "boost-system",
    "boost-throw-exception",
    {
      "name": "cgal",
      "default-features": false
    },
    "eigen3",
    "glew",
    "glfw3",
    "libpng",
    "opencv",
    "opengl",
    "tiff",
    "vcglib",
    "zlib"
  ],
  "features": {
    "python": {
      "description": "Python bindings for OpenMVS",
      "dependencies": [
        "boost-python"
      ]
    },
    "cuda": {
      "description": "CUDA support for OpenMVS",
      "dependencies": [
        "cuda"
      ]
    },
    "openmp": {
      "description": "OpenMP support for OpenMVS"
    }
  }
}

Please run sudo apt-get install autoconf automake libtool and reinstall gmp again.

Duplicate of https://github.com/microsoft/vcpkg/issues/33014.

Thank you so much！！


Mass assignment to attr_protected does not raise an error

According to http://mongoid.org/docs/documents/access.html "Attempt to set attributes a person, raising an error."
I am inferring that when mass assignment happens on a protected attributes happens, an error should be raised. Maybe I'm reading this wrong or the documentation is out dated. What I am seeing is that the protected attribute assignment silently fails.
This is what I see:
class Foo
  include Mongoid::Document

  field :open
  field :secret

  attr_protected :secret
end

Foo.new(open: 'blerg', secret: 'foo')
 => #<Foo _id: 4f343e844820685fc8000007, _type: nil, secret: nil, open: "blerg">

By the documentation attr_accessible is supposed to silently fail, and attr_protected should raise an error. I would prefer attr_protected mass assignment to raise and error.
Edit: I forgot to mention I am using Mongoid 2.4.3

This is a documentation error, moving over to mongoid-site.

https://github.com/mongoid/mongoid-site/issues/115


Autopilot/Config pricing should be reviewed

It is unclear on how the average pricing is computed in the autopilot. If it uses siacentral, then it should be decided if it will stay that way vs using siascan which is evolving. If it is fully self-hosted, the algorithm should probably be documented, and optionally enable deferring to siascan.
What is clear is the current pricing does not reflect siascan.
But the source of the data should also be documented, and possibly a tooltip added for the end user.

closing this out in favour of https://github.com/SiaFoundation/renterd/issues/710  - it's not exactly a duplicate but too similar to have two issues for


add imgur plugin

Sorry, I'm not accepting additional plugins for lity. It is perfectly possible to provide that as a separate package. Thanks anyway for the PR.


Fixed initialization and test naming for bernoulli_logit_glm_lpmf

This should fix #995. Since that is a randomly occurring variable then I guess if this passes we don't really know if it was fixed. But it definitely fixes something in the right place!
Checklist

[x] Math issue #995

[x] Copyright holder: Columbia University
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

[ ] the basic tests are passing

unit tests pass (to run, use: ./runTests.py test/unit)
header checks pass, (make test-headers)
docs build, (make doxygen)
code passes the built in C++ standards checks (make cpplint)

[x] the code is written in idiomatic C++ and changes are documented in the doxygen

[ ] the new changes are tested

Lol. I just tried to approve it, but it didn't let me since it was closed. And it lost my comment.
I was going to mention... this is weird. So yw3 was never initialized, which was a problem. But then this was passing because either Eigen's default initialization (which can be controlled with an C preprocessor define) was doing something reasonable (likely) or it was just using whatever memory was around (unlikely).
Is it possible we're seeing different initialization behavior when enabling threads? It might not be a problem now, but could it be something that gets us later?

Is it possible we're seeing different initialization behavior when enabling threads?

I'm assuming that the way it was being allocated on my laptop, it was getting memory filled with junk, but on the Mac it was getting memory that was zeros.
I thought that some OS memory allocation zeroes memory the first time it gets accessed. So this would affect mallocs n' stuff (instead of requiring a calloc)? I dunno for sure. Good point at threading. That could change how malloc works.


Use Public API

[BREAKING] Override public API to filter cached name key
Rewrite the plugin to avoid private APIs:

Remove custom testenv conf key: ignore_env_name_mismatch and ignore_envname_mismatch
Use existing conf key runner to opt-in to ignore_env_name_mismatch behavior
Return a subclass of Info that filters out the "name" key from ToxEnv.__name__ section

When this plugin is active, the ToxEnv cached info will NOT contain a "name" key at all, so there will be no name key to conflict, thus nothing needs to be overridden in the private _content dictionary.

All tests are rewritten and vastly simplified, as there are fewer branch points in the new implementation.
fix https://github.com/masenf/tox-ignore-env-name-mismatch/issues/3

Just a heads up to my early adopters @broken-wheel and @ssbarnea that this is a breaking change in how the plugin gets activated.
Thankfully I'm able to make this change early in the plugin development and hopefully will not need additional breaking changes down the road.


create import protection for torchvision

in utils, it imports torchvision even if the recipe doesnt need it. We should protect this import, in case the user hasnt installed it and doesnt need it.

What's your implementation plan @felipemello1 ?

This is the error:
  File "/data/users/felipemello/torchtune/torchtune/data/__init__.py", line 7, in <module>
    from torchtune.data._chat_formats import (
  File "/data/users/felipemello/torchtune/torchtune/data/_chat_formats.py", line 10, in <module>
    from torchtune.data._messages import Message, Role
  File "/data/users/felipemello/torchtune/torchtune/data/_messages.py", line 9, in <module>
    from torchtune.modules.transforms import Transform
  File "/data/users/felipemello/torchtune/torchtune/modules/transforms/__init__.py", line 17, in <module>
    from torchtune.modules.transforms.vision_utils.resize_with_pad import (  # noqa
  File "/data/users/felipemello/torchtune/torchtune/modules/transforms/vision_utils/resize_with_pad.py", line 14, in <module>
    import torchvision
ModuleNotFoundError: No module named 'torchvision'

It happens because in transforms.init we expose vision transforms.
A simple solution is to not import chat transforms from the same place as vision transforms. This can be done by renaming /vision_utils to /vision_transforms
And putting the transforms.py (chat related) under /text_transforms
cc: @RdoubleA @pbontrager

I agree this needs to be better thought out how we structure our imports here. However another stopgap we could do is the following:
try:
	import torchvision
except ImportError:
	log.warning("Attempted to import torchvision. Feel free to ignore if you are not trying to do multimodal training. Otherwise, please install ``torchvision`` package via conda or pip")

This would immediately allow users to use our package without the pre-requisite of another heavy PyTorch library.
I acknowledge it's hackiness, but in my mind this is a bad starting experience and it's not immediately clear ATM why someone would need torchvision when we don't (yet) support MM training.
Thoughts @felipemello1 @pbontrager ?

wouldnt you have to add it in all files that import torchvision? If you want a quick solution, I think that moving these functions from transforms/init --> transforms/vision_transforms/init will be best.

wouldnt you have to add it in all files that import torchvision? If you want a quick solution, I think that moving these functions from transforms/init --> transforms/vision_transforms/init will be best.

Fair enough - I still consider that a stopgap, but I see your point that it's less intrusive than a try/except.


default orientation makes the molecule small

I am using ngl dev just pulled one or two days ago.

what about the current version?

same thing
commit aa8d8e5c7f9f41a35cd710c464a61b16c3de71c5
Author: arose<EMAIL_ADDRESS>Date:   Thu Aug 18 20:03:53 2016 -0700

    limit travis to current major node version

have you updated the build?

tricky question. no, I haved not because you always did that. :D

Please build it. I recently made some changes on how to do that, see https://github.com/arose/ngl/blob/master/DEVELOPMENT.md

The necessary dependencies can be installed with npm install

is there any way to install all the packages in a single command? I keep getting missing some.

for example, getting

Cannot find module 'rollup-plugin-istanbul'

did you do npm install?

I tried
npm run-script build

saw missing rollup,
so keep going
npm install rollup -g

and so on. :D

inside the ngl repository directory do npm install then npm run-script build

thanks. I clearly that I misunderstood the doc.
btw, I updated ngl.js but still getting small molecule.

build/ngl.js (npm run-script build) or dist/ngl.js (npm run-script build-min)?

The min version from
npm run-script build-min

still an issue?

I am not sure if I got the cache issue, but still see the small molecule.

I confirm that the issue is not solved yet.

I think this is just how it currently works. The zoom is such that however you rotate the structure it won't get clip at the edges (there are some edge cases where this still happens).
Initial view

Rotated, alomost touching the edges

A new feature could be a zoom that is optimized for the current orientation.


Make SVG map files smaller while fixing precision issues

This comes at the cost of making my Python script even more unreadable, but it produces more correct results. The size reduction seems to be around ~40%.

thank you!


Fix(CheckBoxFields) add check for any empty checkbox fields when saving a record

Now includes tests. I've removed the older Travis env's as they are fail for the already included tests.

@stephenmcm Can you please update the README.md to say "PHP 5.6+" under supports?
Since updating .travis.yml to not test PHP 5.5 or below means that we won't technically support it.
Once that's done, I'll merge it in.

All done, now.

Dropping PHP 5.3 is fine because Travis doesnt' support it anymore AFAIK!
Please just make a minor change to the comment above and I'll merge it in!
Thanks for your work and adding the test :D


Register page in Web Development

I would like to contribute to the register page in Web Development. I will follow the proper contributing guidelines, can you please assign it to me?

Sure, make sure it's responsive.


don't run a dispute tracker when connected to a remote DB

The remote DB already records these so no need to do it locally as well.
Signed-off-by: Krasi Georgiev<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build 971155113

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

Totals

Change from base Build 961035327:
0.0%

Covered Lines:
95

Relevant Lines:
1797

💛  - Coveralls

added the changes in https://github.com/tellor-io/telliot/pull/466


file browser regex box slow on large directories

Backup -> file browser -> regex box
If I type (at my normal quick typing speed),
/usr/bin/a

then there's a 21-second pause between /usr/bin/ and a, while the app (presumably) reads filenames.  That pause has 100% CPU usage (in one core/thread); unknown disk usage (I could dig into this some more if you want).  After the first time I did that, it's much faster -- only a 2-second pause between bin/ and a.  But it's still a noticeable pause.
Ubuntu 14.04, Intel(R) Core(TM) i5-2415M CPU @ 2.30GHz, 8 Gb RAM.

I tried using valgrind --callgrind after compiling with CONFIG += debug.  According to that, 82% of the CPU time is spent in QCollator::QCollator(Qlocal const&) (including sub-functions), and 66% of the time is spent in ucol_open_52 (including sub-functions), which belongs to libicui18n.so.52.1.  It's interesting to see that QCollator::QCollator(Qlocal const&) was called 125752 times.  ucol_next_52 was called 27665660 times.  (not a typo: 27 million times!)
The highest time spent in a single function was 15.5% spent in ucol_updateInternalState_52.

How many files do you have in /usr/bin/ ?  Does valgrind give you a callgraph?

$ ls /usr/bin/ | wc -l
3316

Looks like profiling Qt applications might need a different tool than the normal command-line valgrind; I'm looking into Qt creator valgrind stuff.

Using Qt creator doesn't seem to give any more information.  It seems that QCollatorPrivate::init() owns the functions which get called a lot of times.  According to the docs, "The QCollator class compares strings according to a localized collation algorithm.".  Neither QCollator nor QLocale appear directly in the tarsnap-gui source code.

Well, there is one very simple option... try running killall -ABRT tarsnap-gui while it's stuck.  See what the backtrace says. ;-)

Hmm, I just tried on my FreeBSD system and I can't reproduce any slowness.  Maybe this was a bug in Qt which has since been fixed?

hmm, I just tried on a fresh debian8 with no problems, even when running as the non-X11-owning user.  (i.e. xhost local:@ ; su another_user ; tarsnap-gui)
I'm grabbing a fresh 14.04 iso to test inside virtualbox, but right now I'm leaning towards believing that my system has some weird locale thing going on.  I did a bunch of hackish stuff when I moved to Japan, and I was intending to wipe&reinstall the system when I left, so I didn't pay much attention to what hacks I was doing.

on an almost-fresh Ubuntu 14.04 with 1524 files in /usr/bin/, adding a, or changing from a to c to x all result in approximately 1 second delays.  It's enough to be noticeable, but not the huge wait that I saw on my personal desktop.

In your original case the locale mixup likely contributed to the long hangs.
That case aside, certainly there is a small processing spike and it's due to the Qt code that is listing the entire directory contents and parsing the metadata (icons, attributes) for populating the QTreeView. On multi core systems this should be unnoticeable, on single core it can be. I'll profile this and see if there is anything I can do for an improvement.

I used an Ubuntu 14.04 LTS VM machine with a single core assigned to profile the File Browser performance as you did. The results conclude that 99.99% percent of the execution time is spent between the system libraries (LibICU - the I18N and locale library, libHarfbuzz - font processing, libc) and Qt SDK. Tarsnap GUI code only appears once and very low in the profiling result with the code in CustomFileSystemModel::data which, as stated previously, unless I have a really good reason to look at it again it's not worth even to attempt it. Its instruction count 498,010 in comparison with 2,125,188,751 for the top libICU cpu hog method is a whooping 4000x factor.
In conclusion, there isn't much I can do in Tarsnap GUI for improving this. Closing this issue until I have a reason to open it again.


Autoscale images (img_overlay) in slider widget

Thanks for the great work! I am currently updating my website from academic 4.0 to wowchemy 5.0, and I've encountered an issue with the slider widget.
Previously (see https://dominiquemakowski.github.io/#slider), the overlay image was rescaled by the width, whereas with the new version, the same image is not rescaled: it starts from its corner and the image extends far beyond the widget.
Is there any option to tweak the scaling / size of images? Thanks

The name of this issue is wrong the item parameter is overlay_img. Unfortunately the history of https://github.com/wowchemy/wowchemy-hugo-modules/commits/main/wowchemy/layouts/partials/widgets/slider.html has been deleted. So tracing back what has changed is not possible.

So, because it bothered me a lot I hacked just some CSS in there, this should be better served with proper resizing in hugo but for now it works.
I added in line 25 in slides.html this:
background-position:center; background-repeat: no-repeat; background-size: contain;

to get some sort of resizing. Not really a good solution but until the actual problem is fixed it suffices.

I agree with @seichter that this is a bug. The hack @seichter presents https://github.com/wowchemy/wowchemy-hugo-modules/issues/2158#issuecomment-803296060 is really helpful and clever, thanks.
I offer that it can be implemented in a simple way in the markdown file for the homepage widget (e.g. ./content/home/slider.md):
height: '300px; background-position:center; background-repeat: no-repeat; background-size: cover'

This is because the current slider template (as of this writing) inserts the height in the style attribute of the carousel item:
<div class="wg-hero dark carousel-item active" style=" height: 300px;

So by replacing
height: 300px

with
height: '300px; background-position:center;'

you can insert additional CSS into the div tag.

Hi @fliptanedo , thanks for looking into this issue. It has bothered me for a long time! I tried replacing the
height: 300px

in ./content/home/slider.md with
height: '300px; background-position:center; background-repeat: no-repeat; background-size: cover'

but it seems the slider picture is still not auto-scaled. Is there another change that I should have made somewhere else?

@jingtaisong ... you need to copy the slider.html template to the new folder as I mentioned here.  There you can add your CSS changes. This will overlay the existing template. The actual slider.md can stay unchanged or can be used as usual.

With version 5.3.0 slider.html needs to be fixed like this:

    {{ $style_bg := "" }}
    {{with $page.Params.height}}
      {{ $style_bg = printf "%s height: %s;" $style_bg . }}
    {{end}}
    {{ if $item.overlay_color }}
      {{ $style_bg = printf "%s background-color: %s;" $style_bg ($item.overlay_color | default "transparent") }}
    {{ end }}
    {{ if $item.overlay_img }}
      {{ $bg_img := resources.Get (printf "media/%s" $item.overlay_img) }}
      {{ if $bg_img }}
        {{ $style_bg = printf "%sbackground-image: url('%s'); background-position: center; background-repeat: no-repeat; background-size: cover;" $style_bg $bg_img.Permalink }}
      {{ else }}
        {{ errorf "Couldn't find `%s` in the `assets/media/` folder - please add it." $item.overlay_img }}
      {{ end }}
      {{ if $item.overlay_filter }}
        {{ $style_bg = printf "%sfilter: brightness(%s);" $style_bg (string $item.overlay_filter) }}
      {{ end }}
   {{ end }}

@seichter thanks ofr the workaround! Is there an easy PR that could be made to directly fix this bug? I cannot find any slider.html in this repo. Tagging also @gcushen since the issue has been closed but the bug is unresolved and a fix seems to be possible.

This issue together with the overlay filter being applied to text and buttons breaks two essential features of the slider widget.
The snippet by @seichter fixes the autoscaling issue and I posted an adapted version that fixes both issues here: https://github.com/wowchemy/wowchemy-hugo-themes/issues/2357#issuecomment-933017687


Navbar

Describe the bug
There is black dot in navbar which look very inappropiate. there should line to distinguish
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Assign  this issue to me under GSSOC'23

Include Hamburger Menu feature
So that Mobile Resposive also
In this case, the hamburger menu would be used to open a menu of features that are only relevant to mobile users. For example, the menu could include options for changing the font size, enabling dark mode, or accessing the website's help center.


Japanese localization issues with https://docs.microsoft.com/ja-jp/azure/azure-sql/?view=azuresql

The @AzureSupport team on Twitter received a request from a customer regarding the Japanese localisation associated to the link on  https://docs.microsoft.com/ja-jp/azure/azure-sql/?view=azuresql. It seems that part of the content is translated whereas the main body of the content is in English. One person through Twitter suggested that the content appeared to be in Japanese last week and that there may have been a recent change that reverted the content to English. Below are some of the details that were shared by the customer:
Link: https://docs.microsoft.com/ja-jp/azure/azure-sql/?view=azuresql
Twitter Thread: https://twitter.com/TaikiYoshidaJP/status/1521404772540051457
Twitter handles:  @ussvgr and @ TaikiYoshidaJP
Appreciate if you may be able to review this and assist to restore the Japanese local version of the content.
Regards,
FC (@azuresupport on Twitter)

ドキュメントの詳細
⚠ このセクションを編集しないでください。 docs.microsoft.com で必須です ➟ GitHub の問題のリンク。

ID: 6e5598fc-2eda-8012-152c-57ad8c1d10b4
Version Independent ID: 6e5598fc-2eda-8012-152c-57ad8c1d10b4
Content: What is Azure SQL? - Azure SQL
Content Source: azure-sql/azure-sql-iaas-vs-paas-what-is-overview.md
Service: sql-database
Sub-service: service-overview
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

same isssue #92300

@fracol
I have assigned the issue to the content author for further review.

Today, I found that the document is displayed in Japanese again.

Hi @fracol  and @ussvgr , thanks so much for reaching out and letting us know! Since the issue is resolved, I'll proceed with closing out this Git Issue.
Thanks again and hope you both have a wonderful rest of your day!
Masha from the SQL Docs team
#please-close


added LC tissue and organ valid valuess

added "gonadal fat, inguinal fat, kidney, liver, plasma, gastrocnemius muscle" as valid values for organ and tissue in order to submit LC mice biospecimen and individual templates

@avanlinden, could you review this PR for me, please? Thanks!


CODE RUB: Remove Unnecessary Usings

Closes #108

@Gummimundur build is not going - it's touching on the API integration test it seems

There's nothing here.


Dragging an unfocused view focuses it

@joaomoreno this is not new, this has been this way for as long as I can recall

@sbatten I also have bugs that have been there since a long time, but they are still bugs.
Here's the Windows explorer:

And Slack:

And VS Code:


Fixed a typo in router.md

There's a small change proposed by me: the comma after "mini-application" was in the quotes.
I've fixed that.

This is correct in, at least, American English. The comma always goes inside the quotes. Here is a good reference: https://github.com/expressjs/expressjs.com/pull/1080

Oh, I didn't know that. Thanks!


Cannot uninstall Keybase

After looking at issue #4226 I tried to run keybase uninstall but getting an error:
$ keybase uninstall
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x4d9503b]

goroutine 1 [running]:
github.com/keybase/client/go/install.fallbackKillProcess(0x5d88ea0, 0xc420322380, 0x6b72070, 0xc420151540, 0x5328f93, 0xc, 0xc42001a240, 0x30, 0x0, 0x0, ...)
	/Users/build/go/src/github.com/keybase/client/go/install/install_darwin.go:1219 +0x127b
github.com/keybase/client/go/install.UninstallKBFSServices(0x5d88ea0, 0xc420322380, 0x6b72070, 0xc420151540, 0xc420041a70, 0xc420041a60)
	/Users/build/go/src/github.com/keybase/client/go/install/install_darwin.go:344 +0x151
github.com/keybase/client/go/install.UninstallKBFS(0x5d88ea0, 0xc420322380, 0xc420014660, 0x8, 0x1, 0x6b72070, 0xc420151540, 0x40358b4, 0xc420000180)
	/Users/build/go/src/github.com/keybase/client/go/install/install_darwin.go:794 +0x67
github.com/keybase/client/go/install.Uninstall(0x5d88ea0, 0xc420322380, 0x5ea6de0, 0x8, 0x8, 0x6b72070, 0xc420151540, 0x0, 0x0, 0x0, ...)
	/Users/build/go/src/github.com/keybase/client/go/install/install_darwin.go:689 +0x216e
github.com/keybase/client/go/client.(*CmdUninstall).Run(0xc42038be00, 0xc420332070, 0x5ea5360)
	/Users/build/go/src/github.com/keybase/client/go/client/cmd_install_osx.go:232 +0x113
main.mainInner(0xc420322380, 0x0, 0x0)
	/Users/build/go/src/github.com/keybase/client/go/keybase/main.go:165 +0x71b
main.main()
	/Users/build/go/src/github.com/keybase/client/go/keybase/main.go:70 +0xa6

@zakiaziz what version of the software is this?

$ keybase --v
keybase version 1.0.45-20180305194145+3a1c65a05


Build of Kotlin examples fails with Nix on Linux

build gradle is failing for me on NixOS, both in my home-manager shell and in a nix develop shell.
The error is:
> Task :secp-examples-kotlin:compileKotlin FAILED
e: No class roots are found in the JDK path: /nix/store/j4miw9k22ivwmga8hibwh3cph601z2nc-openjdk-22.0.2-ga

I can work around it by installing a Gradle wrapper and using the Gradle wrapper to launch Gradle or by commenting out the Kotlin module in settings.gradle.
It seems to be related to these commented out lines in flake.nix:
(mkIf stdenv.isLinux [
       {
              name = "JAVA_HOME";
              eval = "$DEVSHELL_DIR/lib/openjdk";
       }
   ])

I think "jdk home" or "JAVA_HOME" is not being set correctly in the Kotlin plugin when a Nix-installed Gradle is being used and the correct JDK path should be (in the case of the error message above):
/nix/store/j4miw9k22ivwmga8hibwh3cph601z2nc-openjdk-22.0.2-ga/lib/openjdk

It's also worth noting that the Kotlin plugin version 2.0.20 says it is not compatible with Gradle 8.10 (it says 8.6 for best results, but 8.7-8.8 should also work) I haven't found Gradle 8.10 to cause problems in any other case on either macOS or Linux.

You can build the Kotlin examples on NixOS with the master branch (as of today) but only by using ./gradlew. To build using a Gradle provided by Nixpkgs, you'll have to wait until Gradle 8.11 is available there. See: https://github.com/NixOS/nixpkgs/issues/355951

Update. This problem may also occur when using nixpkgs on Linux, but does not occur on macOS.
I have opened an issue on the Nixpkgs repo: https://github.com/NixOS/nixpkgs/issues/360954
The workaround of replacing the jdk23 package with the the temurin-bin-23 package seems to be the best short-term solution. I will make a PR to do that, but we will leave this issue open until we get a fix that lets us use a jdk23 (or later) that is build from source.


Remove !!GLOBAL_DLQ

Type of change

Enhancement / new feature

Description
Removes unused configuration.
Checklist

[ ] Update/write design documentation in ./documentation/design
[ ] Write tests and make sure they pass
[ ] Update documentation
[ ] Check RBAC rights for Kubernetes / OpenShift roles
[ ] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[ ] Reference relevant issue(s) and close them after merging
[ ] Update CHANGELOG.md

@enmasse-ci run tests profile=isolated

:heavy_exclamation_mark: Build Failed :heavy_exclamation_mark:

@enmasse-ci run tests profile=isolated

:heavy_exclamation_mark: Build Failed :heavy_exclamation_mark:

@enmasse-ci run tests profile=isolated

:x: Test Summary :x:
TEST_PROFILE: isolated
TEST_CASE:
TOTAL: 177
PASS: 170
FAIL: 3
SKIP: 4
BUILD_NUMBER: 1314
BUILD_ENV: oc cluster up
:heavy_exclamation_mark: Test Failures :heavy_exclamation_mark:

testAddressSpaceRules in io.enmasse.systemtest.isolated.monitoring.MonitoringTest
testAddressQueries in io.enmasse.systemtest.isolated.monitoring.MonitoringTest
testMonitoringCommonQueries in io.enmasse.systemtest.isolated.monitoring.MonitoringTest

@enmasse-ci run tests profile=isolated

:heavy_exclamation_mark: Build Failed :heavy_exclamation_mark:

@enmasse-ci run tests profile=acceptance

:heavy_exclamation_mark: Build Failed :heavy_exclamation_mark:

@enmasse-ci run tests profile=acceptance

:heavy_exclamation_mark: Build Failed :heavy_exclamation_mark:


How to point the database connection port?

My mysql server port is 8889 instead of 3306. How can I change it?

just add 'port'  when create connection:
db = ConnectionSync(
host,
database,
user,
password,
port=8899
)
for more arguments:
https://github.com/veelion/ezmysql/blob/1481de867142323a27747ac2989994d45a33821a/ezmysql/connection_sync.py#L11-L18


Copy-pasting result computed by the calculator gives "Invalid input" (#2)

Copy-pasting result computed by the calculator (5.562684646268003457725581793331e-309) gives "Invalid input":

See also: https://github.com/microsoft/calculator/issues/1301.

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.

Hello, can I take both issue #1301 and this issue?
I am also having some trouble building and running the program with visual studio. Namely, I got the following 2 build errors:
1)
4>C:\Users\User\Desktop\calculator\src\GraphControl\Generated Files\XamlTypeInfo.g.cpp(9,10): fatal error C1083: Cannot open precompiled header file: 'ARM\Debug\pch.pch.codeanalysis': No such file or directory
4>Done building project "GraphControl.vcxproj" -- FAILED.
2)
8>C:\Users\User\Desktop\calculator\src\Calculator\Generated Files\XamlTypeInfo.g.cpp(9,10): fatal error C1083: Cannot open precompiled header file: 'ARM\Debug\Calculator.pch.codeanalysis': No such file or directory
Would appreciate it if someone from the community can help!


Improve urls docs

Summary

clarified wording and examples
created a new how-to section for handling multilingual content
moved content as appropriate

Coverage remained the same at 82.688% when pulling 3567cadfd894462fa23c74eef21caa03d9fd3516 on evildmp:improve-urls-docs into b40e7ae6be1714380bf8eb5b4dc2828da2a40811 on divio:release/3.4.x.

Coverage remained the same at 82.688% when pulling 4afa4d77e18d6f59999f75ccea23c042c6862f74 on evildmp:improve-urls-docs into b40e7ae6be1714380bf8eb5b4dc2828da2a40811 on divio:release/3.4.x.

@czpython please take another look

Changes Unknown when pulling b8834fb18bf2cfe6559c772923dc08beee62ae3f on evildmp:improve-urls-docs into ** on divio:release/3.4.x**.

Coverage remained the same at 82.688% when pulling b8834fb18bf2cfe6559c772923dc08beee62ae3f on evildmp:improve-urls-docs into d90102f61014e822fc863dbf0eb9e82bf6e02898 on divio:release/3.4.x.


Weird expectations on the context extension methods

Hey, found this package and tried it out (really nice btw), the concept was really clear from the start, but I think the Flutter integration could be improved to resemble other state management frameworks out there.
The first really striking difference is that to really watch creator changes in the flutter widget tree you need a special widget (I get it, but it's not really flutter-like). I mean, with provider it has extension methods on build context to makeup inherited widgets and make it all look simpler, I think that could be done with ContextRef as well.
Maybe adding an Inherited widget on the fly to the widget tree as descendant of CreatorGraph would be possible, and then to watch (and rebuild - that's the main expectation here) when using context.ref.watch(...).

Hey Jonny, thanks for the suggestion. Though I actually feel that a builder-like widget (Watcher in creator, Consumer in provider/riverpod, BlocBuilder in bloc ) can help people control widget rebuild much better than a context.watch style.
For example, in this example:
class NewsList extends StatelessWidget {
  const NewsList({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Watcher(
      ((context, ref, _) {
        final data = ref.watch(news.asyncData).data ?? [];
        return ListView.builder(
          itemCount: data.length + 1,
          itemBuilder: ((context, index) {
            if (index == data.length) {
              // Using another Watcher here is an optional optimization, to
              // avoid rebuild the whole list when loading indicator changes.
              return Watcher(((context, ref, _) {
                return TextButton(
                  onPressed: ref.watch(loading) ? null : () => fetchMore(ref),
                  child: Text(ref.watch(loading) ? 'Loading' : 'Load more'),
                );
              }));
            } else {
              return Center(child: Text(data[index]));
            }
          }),
        );
      }),
    );
  }
}

If using a context.watch style, people will likely rebuild the whole list while they can only rebuild the loading indicator, or they need to pull the loading indicator out to a separate widget.
Another issue is since we don't use that much of InheritedWidet, it is tricky to achieve what you described. Riverpod did this by asking user to replace StatelessWidget/StatefulWidget with StatelessConsumer/StatefulConsumer. Personally, I'm not a fan of it.
Happy to hear more about your thoughts.

Additionally, I agree that context.ref.watch could lead to confusion. One possible idea is to take an opposite approach and try to remove watch method from contex.ref. So people can do ref.watch inside creators, and context.ref.read.

Though I actually feel that a builder-like widget (Watcher in creator, Consumer in provider/riverpod, BlocBuilder in bloc ) can help people control widget rebuild much better than a context.watch style.

Yeah, that makes sense. To me, the problem was that the API seems like it will watch and rebuild (by comparison with other watch methods from other frameworks). I didn't see any explicit distinction on creator's watch method on the documentation and I think it would be good to call out that difference.
IMO, practical solutions would be:

Either rename watch to something else or make it create an inherited model for each creator (I'm working a PoC for this - still hacky)
Add more docs and code snippets on how to rebuild using creators (clear docs on Watcher)

I wouldn't delete watch because there may be times when a component wants to share the data from that creator with multiple descendants, and then it can become repetitive to have a Watcher everywhere.

when a component wants to share the data from that creator with multiple descendants

Do you mind sharing your use case a little bit more here? Does the parent widget own the creator and descendants need to access?
I have a few use cases where parent/descendants need to share some UI-related states (gestures etc), I just use the vanilla InheritedWidget (which is basically context.dependOnInheritedWidgetOfExactType), or maybe context.findAncestorStateOfType to locate the creators inside parent state.

just use the vanilla InheritedWidget

Yeah, that's probably better than what I'm doing right now.

Do you mind sharing your use case a little bit more here?

Basically I have a widget tree that access an order state and in that tree it has a wizard (stepper) that goes on updating the state. So there are some components that are huge right now, and they could be improved and organized better to avoid directly sharing and depending so much on each other.
I'll finish implementing something similar for the watch extension method and if that works I can send a PR and also try to redesign my use case to make better use of inherited widgets. Thanks!

Well, ended up creating a few Inherited widgets for values from creators that were used almost everywhere. It made it easy to use the library after doing this.
Thanks a lot.


deep: eliminate ctxt prjn and just build-in 1-to-1

this definitely works best and asserting it directly makes code simpler and more obvious, and also eliminates the special learning rule for context inputs which is now moot.

this is not possible because lateral connections within the context layer itself are critical.
Also, this is one place where Act level "display only" vars are used in learning -- I just updated ActPrv = AvgM instead of ActP and that significantly improved deep_fsa learning -- AvgM contains much more information about integrated state from last trial..


Button: Add XS and Outline styles

Button: Add XS and Outline styles 🖌

This update enhances the Button component styles by adding a new xs size,
as well as outline styles.
The outline style uses currentColor for it's coloring, which allows the user to
easily adjust it using inline styles or CSS style rules.

This update also provides HOC/Wrapper components with updated displayName,
following the convention of withWrapperComponentName(ComposedComponent).

Coverage remained the same at 100.0% when pulling 04691a5cd9c626f29c81fc4bd37bd7f7087bf680 on button-xs-outline into 3ee2bed1911727b6b7652be45b5a92ff170e99bc on master.


[ModelConverters] java.lang.Object is an arbitrary type and should be mapped to an arbitrary type

The actual behavior:

Swagger model converter maps java.lang.Object to type: object

public class Foo {
        private Object bar;

    public static void main(String[] args) throws Exception {
        ResolvedSchema schema = ModelConverters.getInstance()
                .resolveAsResolvedSchema(
                        new AnnotatedType(Foo.class));

        String value = Json.mapper().writerWithDefaultPrettyPrinter().writeValueAsString(schema.schema);

        System.out.println(value);
    }
 }

prints:
{
  "type" : "object"
}

If you map java.lang.Object to type: object in the OpenAPI spec, that means that schema only accepts an object with no properties. Using JSON representation, this would be the only acceptable value: "bar": {}.
But in the end "bar": 3 or "bar": "value-01" or "bar": true should also be acceptable, because they are possible values for that property in Java.
java.lang.Object means that it can be of any type (java.lang.String, java.lang.Integer, java.lang.Boolean, etc). java.lang.Object is an arbitrary type. And the way to represent that in OpenAPI spec is with an arbitrary type:
https://swagger.io/docs/specification/data-models/data-types/#any

A schema without a type matches any data type – numbers, strings, objects, and so on. {} is shorthand syntax for an arbitrary-type schema

The expected behavior:

It should have no type (shorthand) or to have the any type:

components:
  schemas:
    Foo:
      type: object
      properties:
        bar: {}

or
components:
  schemas:
    Foo:
      type: object
      properties:
        bar:
          anyOf:
          - type: string
          - type: number
          - type: integer
          - type: boolean
          - type: array
            items: {}
          - type: object

I'm having trouble even finding a hardcoded workaround using annotations to get "{}" for a particular type.  Is there one?

I'm having trouble even finding a hardcoded workaround using annotations to get "{}" for a particular type. Is there one?

I found one workaround: manually create an AnyType type in an external Swagger/OpenAPI document, and reference it using ref, e.g.@Schema(ref="api-docs-anyvalue.yml#/components/schemas/AnyValue").
components:
  schemas:
    AnyValue: {}


fix(core): fix Dispatch typings

closes #127

Pull Request Test Coverage Report for Build 401

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

Totals

Change from base Build 397:
0.0%

Covered Lines:
681

Relevant Lines:
683

💛  - Coveralls


Feature request: Add quick choice for timeouts(1h, 1d etc)

Hello,
Since ttl for session is defined in minutes it is not convenient to calculate values every time. Is it possible to add predefined time buttons that will populate 1h, 3h, 1d timeouts?
Additionally it would be nice to have an ability to quickly specify maximum possible ttl.
Thank you.

I can add a select box next to the input that lets you select between minutes, hours and days. Will that work?

yup :)

This will be live in v1.1.1. It may take a couple of days for the app to be available on F-Droid.


Support Rails 5 (specifically Active Record v5.0)

Unable to get Gemfile.lock to compile because of version restrictions

Hi! Thanks, I will look into it shortly. I need to update travis.yml to include rails 5 before I can merge this in.

I've updated the gem to 2.2.1. The Travis build including Rails 5 works now.


Color code the Spring dependencies in the detail and dependency frequency views

It would be nice to provide a red-orange-yellow-green color coding correlated with: completely out-of-date, nearing end of support, in-support, and most recent Spring versions detected.
E.g.,
For versions of Spring Boot detected
Green is 3.2.x
Yellow is 3.0.x to 3.1.x
Orange is 2.7.x
Red is < 2.7.x
We'd similarly color code for all other Spring projects in eco-system we wish to report on.

We'd want to manage project-version mappings externally so we could adjust independently of build-packaging.


[Bug]

Describe the Bug
Javascript error
To Reproduce
I just installed BD while discord was running and this error came up. Now even after repairing this error comes up.
Expected Behavior
discord is supposed to open
Screenshots

I have the exact same problem. Very strange

i know this is pretty late, but reinstall discord its outdated

Your Discord used here is out of date and unsupported, please reinstall Discord.


Memory_graph in memory-template can't replace LLM to bedrock

I tried to replace the LLM provider to Bedrock_converse and use the model-id of Haiku in the memory-template:
https://github.com/langchain-ai/memory-template but fails.
It relates to how trustcall is implemented with openAI function calling that don't work with the way it is implemented the function calling https://github.com/hinthornw/trustcall
i only changed this two parts in the repo from the template:
1.
def init_model(fully_specified_name: str) -> BaseChatModel:
"""Initialize the configured chat model."""
if "/" in fully_specified_name:
provider, model = fully_specified_name.split("/", maxsplit=1)
else:
provider = "bedrock_converse"
model = fully_specified_name
return init_chat_model(model, model_provider=provider)

the model in the configuration file in the memory graph folder.
model: Annotated[str, {"template_metadata": {"kind": "llm"}}] = field(
default="anthropic/claude-3-haiku-20240307",
errors from langsmith tracing:
File "/usr/local/lib/python3.12/site-packages/trustcall/_base.py", line 250, in create_extractor
_Extract(
File "/usr/local/lib/python3.12/site-packages/trustcall/_base.py", line 469, in init
self.bound_llm = llm.bind_tools(
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/langchain_aws/chat_models/bedrock_converse.py", line 549, in bind_tools
return self.bind(tools=_format_tools(tools), **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/langchain_aws/chat_models/bedrock_converse.py", line 925, in _format_tools
spec = convert_to_openai_function(tool)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/langchain_core/utils/function_calling.py", line 409, in convert_to_openai_function
raise ValueError(msg)

already fixed in other issue #267


Update frontity.md

The children props in <Slot /> is not required. Let me know if you need anything else for the PR, as I don't know what processes you have for the docs.

I don't know what processes you have for the docs.
The PR review is enough 😊

Thanks for this PR @orballo  👍


Width to GameWidth isn't documented as breaking

Fixed in https://github.com/EngoEngine/engo/pull/268.


Sample javascript code missing an element

Within the "event" body, the "eventTime" must be provided. I was able to fire the event and see it in my azure portal after adding in a correctly formatted DateTime.
Cheers,
Jesse

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

ID: 1eb1e0b0-bee3-eeb8-fd9c-04e3892fe0d4
Version Independent ID: cb6a421e-8ed0-8415-e73e-a1af9ecfe54b
Content: Azure Event Grid libraries for JavaScript
Content Source: docs-ref-services/latest/eventgrid.md
Service: event-grid
Product: ****
Technology: ****
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

Thanks for reporting @Dack3n
Would you be interested in creating a PR to fix this? The file to update would be https://github.com/MicrosoftDocs/azure-docs-sdk-node/blob/master/docs-ref-services/latest/eventgrid.md

On the other hand, we will be updating this page to favor the newer @azure/eventgrid package and removing the code sample for azure-eventgrid package which is being done as part of https://github.com/MicrosoftDocs/azure-docs-sdk-node/issues/678 in https://github.com/MicrosoftDocs/azure-docs-sdk-node/pull/1059
So, will close this issue


Build with ubuntu-20.04 rather than ubuntu-latest

The currently released 3.0.0 Linux binaries fail on Ubuntu 20.04 with version 'GLIBC_2.35' not found.
There seems to be no particular reason to require Ubuntu 22.04 or later, and this could be fixed by changing the relevant runs-on parameter in workflow.yml from ubuntu-latest to ubuntu-20.04.

The release binaries use https://github.com/bitcoin-core/HWI/blob/master/contrib/build.Dockerfile and is separate from the github actions workflows. It uses debian bookworm, which is also fairly recent.
IIRC this was done because something stopped working with the previous target of oldoldstable, and every version in between, although I no longer remember what.

With the default installation, hwi won't work on 20.04. As a result, all who are using Wasabi with hardware wallets must have Ubuntu 22.04+ or update GLIBC. Is it possible to have a release that is working on ubuntu-20.04?


can integration test be performed for manual deploying of services ?

Hi @cloudxxx8 , @cherrycl , @weichou1229 ,
the screenshot attached is of the document provided for TAF, which says that ,
**```
Run Integration testing:

Only support deploying edgex services through docker-compose file.
```**

what are we supposed to do if we are deploying the services manually ? other than writing scripts for , restart-services.sh , shutdown.sh , startup.sh , stop-services.sh.

@dipshirajput I open an issue for the future improvement
https://github.com/edgexfoundry/edgex-taf/issues/589
You can't run integration test in the non-docker environment without resolving it.

@dipshirajput
The problem has been solved in #589, so close this issue.


Robotframework freezing on windows10

Hi,
my robotframework is always freezing, but i dont know the reason causing that issue.
It always happens when i try to open keywords or when i am going to right click(with mouse) on that keywords.
additional information (versions used):
python 2.7.14
wxPython 2.8
ride <IP_ADDRESS>
KR

Closing due to lack of information.

This is a problem with RIDE on Windows 10 that I have noticed on several computers. I don't know what causes it or how to fix it.


Include safe implementation of 'TarFile.extract'

The TarFile.extract function has the same issue as extractall: https://docs.python.org/3/library/tarfile.html#tarfile.TarFile.extract
It'd be helpful to include a safe implementation of this function as well.

Thanks for the issue @mschwager, this has been addressed in #3 and should be available from pypi in v0.0.2

Thanks for the issue @mschwager, this has been addressed in #3 and should be available from pypi in v0.0.2


Can't select text if readOnly is set to true

I use ngx-monaco-editor version 8.1.1
in my app when i set readOnly property to true, i can't select text (the text doesn't highlighted).
I try to set readOnly on playground and it works.
maybe someone have the same problem or maybe I can fix it with some options set?

problem on my side


V8 - Package Compability Test - Redaktor vs. CKEditor plugins

We are on  a hard road of testing.
The issue regarding Redactor vs. CKEditor plugins came up when I had finished installing our C5DK Blog Package and tried to create a blog. When clicking on "New Blog" we get a permission error (Unable to get permission key for access_file_manager). To understand this I think I have to explain how the blog editor page is constructed. Of course it has a embedded instance of Redactor on that Single Page, but I do not think that is the problem. I think the main thing is that when the blog editor page is loaded our 2 special plugins for Redactor are registered by registerAssets(), but with the CKEditor plugin manager. And here it fails.
Here is the code where I think it will fail:
	// Init C5DK Image Manager Redactor plugin
	$al->register('javascript', 'editor/plugin/c5dkimagemanager', 'js/redactor/c5dkimagemanager.min.js', array(), 'c5dk_blog');
	$al->registerGroup('editor/plugin/c5dkimagemanager', array(
		array('javascript', 'editor/plugin/c5dkimagemanager')
	));
	$plugin = new Plugin();
	$plugin->setKey('c5dkimagemanager');
	$plugin->setName('C5DK Blog Image Manager');
	$plugin->requireAsset('editor/plugin/c5dkimagemanager');
	Core::make('editor')->getPluginManager()->register($plugin);

	// Init Redactor Video plugin
	$al->register('javascript', 'editor/plugin/video', 'js/redactor/video.min.js', array(), 'c5dk_blog');
	$al->registerGroup('editor/plugin/video', array(
		array('javascript', 'editor/plugin/video')
	));
	$plugin = new Plugin();
	$plugin->setKey('video');
	$plugin->setName('C5DK Blog Video');
	$plugin->requireAsset('editor/plugin/video');
	Core::make('editor')->getPluginManager()->register($plugin);

I have a hard time to figure out how we could make this compatible to both 7.X and 8.0.
Any suggestions are highly appreciated.

I think you have a couple options..... First though, the get permission key for access_file_manager I think is probably it's own issue. That might be worthy of it's own attention elsewhere so it doesn't get buried here.
As far as the editor goes.... The javascript between ckeditor and redactor simply aren't compatible. Attempting to build an abstraction layer between the two didn't seem like something that was feasible so that somewhat limits your options there.
However, there may be a small saving grace.... CKEditor actually has its own "asset management" built into the editor.
So... let's say that your current js/redactor/video.min.js has the following contents:
if (typeof RedactorPlugins === 'undefined') var RedactorPlugins = {};
RedactorPlugins.myVideoPlugin= function() {
    return {
        init: function()
        {
            alert('A VIDEO!!!!!!');
        }
    };
};

By default, having this has absolutely no effect on CKEditor... however, what we're able to do now, is add to this a script detect if we're using CKEditor, and if we are, load the CKEditor files likes so:
if (typeof RedactorPlugins === 'undefined') var RedactorPlugins = {};
RedactorPlugins.myVideoPlugin= function() {
    return {
        init: function()
        {
            alert('A VIDEO!!!!!!');
        }
    };
};

if (typeof CKEDITOR !== 'undefined') {
    CKEDITOR.plugins.addExternal('myVideoPlugin', '/packages/my_video_plugin/js/ckeditor/video/');
}

Now, if CKEditor loads, it will load /packages/my_video_plugin/js/ckeditor/video/plugin.js which you should be able to get a feel for how the ckeditor packages work from the examples in the core. Obviously you probably want to find a javascript variable to do your package paths with, but hopefully this gives you a place to start.

We have tested this further and found some strange behaviour.
If you look at the line:
$al->register('javascript', 'editor/plugin/c5dkimagemanager', 'js/redactor/c5dkimagemanager.min.js', array(), 'c5dk_blog');
We force the register to look in our package "c5dk_blog". But it seem to look for it in the core instead.
I can't see why it does this - and honestly, I'm not clever enough to figure it out.
What we try to do is to have a double asset system that can distinguish between Redactor and CKEditor. But if the register asset are looking at the wrong place it is hard to make it work.
But we have discussed it and we think this has to be a bug.

FYI: the access file manager bug that you reported is valid; this was a permissions issue with the new file folder system. It is now fixed in develop and will be released in the next snapshot.


use styleUrls instead of direct HTML style link

The referenced issue closed and works :)

Coverage decreased (-57.9%) to 42.105% when pulling ea6bc8990f00af8f9731984fad02783db481135c on Blackman21:master into 88d7451379cdff0f450c61230039bf921051df3e on Stabzs:master.

It may work locally in an isolated context, but as seen from the test failure this doesn't work as expected.


documentation pages should have titles

I got frustrated having multiple tabs open for reference with just the title "Mithril" showing

Nice! Thanks!


Fix jupyter_server version req

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

See this for why we need it:
https://github.com/jupyter-server/jupyter-resource-usage/issues/169

Hmm. CircleCI seems operational atm
Wonder if it has to do with a secret that I would need access to?

Thanks @vikramaditya91.
Indeed the CircleCI failure looks odd. We can try a re-render just to be sure.

@conda-forge-admin, please rerender

Tried kicking CI to see if the issues were resolved.

you may have revoked the CircleCI OAuth app.

@jtpio If you have access to the CircleCI, could you please try this

I think this is managed by the conda-forge infrastructure. Not sure what to do because I don't have access to CircleCI.

@conda-forge-admin, please rerender

@conda-forge/core
Could you please help us figure out what is wrong with the CircleCI check

Looks like the CI passed in https://github.com/conda-forge/jupyter-resource-usage-feedstock/pull/9 when updating to 0.7.1.
I incorporated the jupyter_server change there, thanks again @vikramaditya91!


list lag issue with auto scroll. The code that tells the other refs to jump to a new position in turn fires their own onScroll event about position jumps and this could be causing the lga?

calculate the current active scroll column via the X position of the scrollview

fixed: https://github.com/NigelBreslaw/guardian-ghost/pull/849


Added the ability to disable bounce of scroll view

All contentProps are passed into ScrollView. <ScrollableTabView contentProps={{bounce: false}}> should work.

while no effect


[RFE] openshift-monitoring namespace is not collected via containerCPU/Memory indexing.

Is your feature request related to a problem? Please describe.
The conatinerCPU/Memory indexed metrics that show for individual nodes do not index openshift-monitoring namespace.
Describe the solution you'd like
Add "monitoring" to any query that filters out specific openshift namespaces.
Describe alternatives you've considered
Remove explicitly declared openshift-* namespaces and simply index all openshift-* namespaces so we can monitor newly-introduced ns's without adding each new one specifically.
Additional context
None. Fin.

Is your feature request related to a problem? Please describe. The conatinerCPU/Memory indexed metrics that show for individual nodes do not index openshift-monitoring namespace.
Describe the solution you'd like Add "monitoring" to any query that filters out specific openshift namespaces.
Describe alternatives you've considered Remove explicitly declared openshift-* namespaces and simply index all openshift-* namespaces so we can monitor newly-introduced ns's without adding each new one specifically.
Additional context None. Fin.

makes sense to scrape openshift-* namespaces, we'd have to filter out some not interesing pods from daemonsets though


Fixed bundled tundra package (version 469c9bf)

Awesome, thanks! I thought I'd done it, but looks like my Tundra was still pulling files from my local installation.


Setup luarocks deployment workflow

So ... this workflow at time of opening this PR is copied from something I've used successfully on other projects (e.g. cassowary.lua. That doesn't mean it will be a right fit for this project. It's worth discussing. Here are the questions:

Do we want to unify the publishing workflow for all @lunarmodules repos or handle them individually? In other words should some of them be pushed by hand my whoever the maintainer is or should we agree on a workflow that can be codified in CI and automatically publish all of them?
My suggestion in to unify them all using a dedicated lunarmodules user on Luarocks and an API key accessible to all deploy jobs in this org used to publish all projects. This would basically delegate the publishing permissions from whoever holds the relevant Luarocks account(s) to whoever has the correct merge/tag permissions on the relevant GH project.

For either this repo or all repos (depending on №1) should the publish action be triggered by posting a new Git tag or a new rockspec file?
All my programmer instincts suggest having a deploy on tag push would be the right way, but my actual experience setting this up for other projects is that the rockspec creation process and the way luarocks.org handles them does not work very well that way. Since several values need to be changed in the rockspec at time of publishing and those changes should also be checked via CI, setting up the file first and making sure everything is good, and also allowing force pushes to fix any bloopers that aren't evidenced until you see them on Luarocks is the most pragmatic approach. Thereafter a Git tag seals the deal so that the rockspec can download the tagged sources where the source and rockspec are known to match.

I'll finish this up with some actual code that does what we want once we've settled on answers.

(Heading out for ~7 weeks travel, expect intermittent FOSS participation from me for a while. I'll be back.)

Just a quick status upadte, this will be mostly replaced with the streamlined variant I cooked up in moon-sand. As soon as the LuaRocks module ownership gets switched to the lunarmodules user I'll move on that. Also we have to decide if I should put it in this repo or in a common one (.github being a likely candidate).


ui:select does not have a default value

Hi!
I'm posting after this question:
http://salesforce.stackexchange.com/questions/73733/how-retrive-the-value-from-uiinputselect/
if I write
component.find('o').get('v.value');
before selecting an option I get undefined while in the rendered element I see the first option.
please add a default value to be consistent with the rendered element.

Are you retrieving the value in an init handler? Since the element won't be available in the DOM at that time, you might have to use a different attribute like this:
<aura:attribute name="selectedContact" type="String" default="{!v.contacts[0].Id}"/>
You can then retrieve the value in your init handler.
var selected = component.get("v.selectedContact");
Please let me know if that works for you and I can update the answer on stackexchange.

no it is not in init handler. it is in a press handler of a confirm button..

We filed a bug for this. It looks like we need to pull the options out of aura:iteration before retrieving the initial value. Thanks for catching this!


decide how to handle functions (sections) inside a program.

decide if every function should be private and not appear in the function registry.
This would leave only the main entrance of the program as a public function.
Or should every function except the main one be prefixed with the program name it appears in.
This would have the effect, that the cobol programs can only call functions inside the program.
But the functions could be more easily called from the outside.
This may be interesting for automated testing?

After thinking about it a bit more, i think the current solution doesn't work.
Example (A, B and C are Programs, A -> B means A is calling B):
A -> B -> C -> B
This doesn't work, because all of the functions of B are in the global scope.
The following solution should be better:
The current constructor function should be added to the global scope.
The heap should be allocated there, and the variables should point to this.
(this way the use of them doesn't change compared to now).
The prefix can be removed.
This may also impact how perform and call are implemented.
Perform could be used for local only, and call for global. -> needs more investigation if this is a good idea.

#30 doesn't fix the constructor problem

fixed in #32


Deprecate inc quantized model

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


[stable/traefik] allow cert in pre-created k8s Secret

What this PR does / why we need it:
Allow a user to specify a pre-existing Kubernetes Secret resource and
use the certificate and private key in it.
Our use case for this is using certificates managed by cert-manager.
Also avoids passing through a private key in Helm values.
Tested with Traefik 1.6.5 (chart default) and also 1.7.0-rc3

/assign @dtomcej

Is there a reason to use this over specifying the secret in the ingress object (which involves no code changes?)

indeed, this is not necessary 🤦♂ thanks


Divide by zero exception on Nd4j.readNumpy() arrays

From #253 comment.
I do reads from bumpy output as Nd4j.readNumpy(IOUtils.toInputStream(...), " ") and see very similar exception occasionally. Stacktrace is different because of refactoring in the project I guess but it leads to the very same place after all:
Caused by: java.lang.ArithmeticException: / by zero
    at org.nd4j.linalg.api.ndarray.BaseNDArray.tensorssAlongDimension(BaseNDArray.java:725)
    at org.nd4j.linalg.api.ops.impl.accum.StandardDeviation.exec(StandardDeviation.java:91)
    at org.nd4j.linalg.api.ops.executioner.DefaultOpExecutioner.exec(DefaultOpExecutioner.java:245)
    at org.nd4j.linalg.api.ndarray.BaseNDArray.std(BaseNDArray.java:3357)

I was not able to reproduce it consistently. Same numpy output downloaded to dev machine was processed just fine.
P.S. Exception happens later in the code when I'm trying to use that value I got from readNumpy it's called features in the snippet below:
List<Double> distances = pairs.stream()
    .map(pair -> pair._1.features.sub(pair._2.features).norm2Number().doubleValue())
    .collect(toList());
INDArray ndDistances = Nd4j.create(Doubles.toArray(distances));
double mean = ndDistances.mean(1).getDouble(0);
double std = ndDistances.std(1).getDouble(0);

I was able to properly replicate this case and fixed the problem that led to broken input for nd4j. Closing this ticket.


Bump k8s to v1.17.7

Bump to k8s v1.17.7

First cut RC for QA
Then formal release

Reference: https://github.com/kubernetes/sig-release/issues/1118

Validation of v1.17.7+k3s1 is completed with no issues found


Trap when piping two Procs

See

This issue: https://github.com/perl6/whateverable/issues/136
These fixes:

https://github.com/perl6/whateverable/commit/96ccddccd804b33e0b9c5ed6580c1c23a91a5737
https://github.com/perl6/whateverable/commit/39cde1e3e90bd019a38f51c62221927900b5e01b
https://github.com/perl6/whateverable/commit/c63ed89d4ea0fb1e7d6d62683d237432e215d29a

This discussion: https://irclog.perlgeek.de/perl6-dev/2017-05-13#i_14576982
And current docs which have the same issue in the provided example: https://docs.perl6.org/type/Proc

To me it sounds like a bug, but until somebody is able to find enough justification for a ticket, I think we will have to document it as a trap (in addition to fixing the Proc page, of course).

Possibly this is no longer needed. See https://github.com/rakudo/rakudo/commit/abfd7d9518fdf9e4a5b3e57ddaa95d0fe4140809

Guess what!
<jnthn> AlexDaniel: Seems like we can

\o/


Client streamer javascript

Hi Tiago,
this is a very smart solution, thank you so much for your effort. Actually I try to stream a camera by python script,
but is very very slow, in your C# app it works on realtime. Is it possible to find a way to embedded the streamer into
javascript html file, so it will be easier to use it?
Many thanks
#################################################
import cv2
import base64
import json
import requests
import imutils
class BytesEncoder(json.JSONEncoder):
def default(self, obj):
if isinstance(obj, bytes):
return obj.decode('utf-8')
return json.JSONEncoder.default(self, obj)
url = "http://localhost:8000/send_frame_from_string/stream002"
cam = cv2.VideoCapture(0)
while (True):
ret, frame = cam.read()
frame = imutils.resize(frame, width=320)                     # get frame from webcam
res, frame = cv2.imencode('.jpg', frame)    # from image to binary buffer
base64str = base64.b64encode(frame)              # convert to base64 format
payload = json.dumps({"img_base64str": base64str}, cls=BytesEncoder)
response = requests.post(url,data = payload)

Hi @Frenz86,
Thanks for your comment.
I've just tested the code you post and it worked pretty normal (see the attached video).
https://user-images.githubusercontent.com/5435108/193822854-30b5a030-4548-4861-a91d-69a6977600ca.mp4
Do you need something faster than that or it is slower in your environment?

Hi Tiago,
that's make me crazy!!! I tryed on new virtualenv, on linux WSL2, but still got 3-4 FPS.
Please have a look into my repo. Something wrong?
https://github.com/Frenz86/FastAPI_StreamWeb
These's a possibility you got the NASA's hardware?
I have also a quite powerfull laptop, what can cause the problem?
Many thanks
Frenz

Hi @Frenz86,
Right now I'm testing it directly on Windows (instead of WSL2), inside a virtual environment. I don't know it the performance inside WSL2 can be affected.
Apart from that, my laptop is a very common one (i7-7850H, 16Gb RAM, Win10) so I don't think I'm taking any advantage of it.
The video I posted above was testing the same code you shared (which is in the file streamer_openc.py of your repository), but I also noted that you have another file where you're trying to use streamlit. Actually I've created this library exactly for this purpose. I was trying to send some frames to streamlit and I found no alternative.
I didn't test your streamlit file so far, but the OpenCV one looks fine here.
Later I'll try to have a better look on it, but unfortunately I have no other clue of what is happening for you :(
If you figure something out, please let me know.

Hi Tiago,
so weird, I also tested on a second laptop (W11 -i7 16GB also the second one), but nothign chnage.
Maybe could be the version of python (I'm using python 3.8). My idea is to use streamlit inside pyodide (stlite) and load the html thanks to jinja template, in order to have the streamer web all in one, with the API server, and make it runner inside a container on google Cloudrun, but latency is killing me :/
Many thanks
Let me know if you find the possible issue.
Frenz

Hi Tiago,
finally find the solution on stackoverflow, it seems (randomly) put localhost instread <IP_ADDRESS>, it takes 2s every call... Now it works very smooth, I will let you know when I finish this project.
Many thanks
Frenz

Hi @Frenz86,
Fantastic finding. I also didn't know that!
And, yes, please let me know when your project finishes.
BR,
Tiago


[Panic] broken pipe leads to panic

ruff analyze graph --preview| bat -l json --color=always

Hit quit, be presented with a broken pipe:
error: Ruff crashed. If you could open an issue at:

    https://github.com/astral-sh/ruff/issues/new?title=%5BPanic%5D

...quoting the executed command, along with the relevant file contents and `pyproject.toml` settings, we'd be very appreciative!

thread 'main' panicked at library/std/src/io/stdio.rs:1118:9:
failed printing to stdout: Broken pipe (os error 32)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Classic rust command line tool behavior :)

Lol. A duplicate of #13442.


Stages data processing levels

There needs to be various stages or data processing levels for the flow. See https://github.com/uw-echospace/data-processing-levels/blob/main/discussion_2022-07-12.md for reference.

Discussion of subpackages that will be used for each of the product levels can be found in PR https://github.com/OSOceanAcoustics/echopype/pull/817

All flows are disjoint, can be written as standalone flows, and then merged into the prefect workflow. Closing this for now.


Update the virtual bottom location if the cursor moves below that point

Summary of the Pull Request
If an application writes to the screen while not in VT mode, and the user has scrolled forward in the screen buffer, the virtual bottom location is not updated to take that new content into account. As a result, the viewport can later jump back to the previous virtual bottom, making the content disappear off screen. This PR attempts to fix that issue by updating the virtual bottom location whenever the cursor moves below that point.
PR Checklist

[x] Closes #5302
[x] CLA signed.
[x] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've haven't discussed this with core contributors already. I'm ready to accept this work might be rejected in favor of a different grand plan.

Detailed Description of the Pull Request / Additional comments
This simply adds a condition in the SCREEN_INFORMATION::SetCursorPosition to check if the new Y coordinate is below the current virtual bottom, and if so, updates the virtual bottom to that new value.
I considered trying to make it only update when something is actually written to the screen, but this seemed like a cleaner solution, and is less likely to miss out on a needed update.
Validation Steps Performed
I've manually tested the case described in issue #5302, and confirmed that it now works as expected. I've also added a unit test that checks the virtual bottom is updated correctly under similar conditions.

I'm not absolutely certain that this is the right solution, but if you're looking for a quick fix for #5302, this is at least one option.

I think I'm okay with this fix, but I kinda want a test to cover this scenario if that's okay.

Yeah I figured you'd probably want a unit test for this - I just wasn't exactly sure how I would do it. But I think I've now got something that is a reasonable approximation of the original bug report (6b8fac1725b37515da6e5752cfcdbf7a9ed84a39).


v0.12.1 has the wrong /dev/ path for enumerate_dev_nodes_blocking

Thanks for the work on this crate!
A user of my project discovered a bug in v0.12.1 where the dev node paths have changed since v0.12.0. It remains an iterator with a single entry as expected, but the single entry has an unexpected path.
https://github.com/jtroo/kanata/issues/455

The symlink which Kanata creates for the virtual output device points at /sys/devices/virtual/input/input8/event1 which is a folder with a bunch of metadata rather than the expected /dev/input/event1.
The Created device /path/to/device message shows the same incorrect path.

I traced this back to 50a33695. The commit message is not really correct because in addition to removing the loop and returning Ok(None) at the end it also changes the behavior by removing the path manipulation. I would open a PR but I think this repository is abandoned.

As far as I know the crate is still active. I'm still a reviewer and have merge perms, but I don't have permissions to publish. If you submit a PR I'll take a look.

not quite abandoned, i'll merge and release any important PRs

Good to know

a bisect using kanata points to d0231e3c626316b18de59eec5d1ff8a344d94c9e as the commit responsible. reverting this commit on top of 0.12.1 allows kanata to retain the previous behavior.
I've made PR #147 with the revert. Ideally though would be a 0.12.2 release that cherrypicks the revert on top of 0.12.1. I have a branch with that here: f17826fed3b3c69cbc0b262f02f0581351d47008

Released 0.12.2!

Thanks @coolreader18 ! This works in my testing.


Too Dark :S

This is EASILY the best skin on the entire plugin, but i was wondering it we could get the more darker pieces upped about 15% brightness, not much, and as a seperate version! this is a lovely theme, its just a bit hard on the eyes with the super dark contrast between the black and the red. If i could give any suggestion, it would be a slightly lighter version with blue instead of red, and I would totally do it if i knew how, but alas here i am asking for your assistance

What pack exactly are you talking about? This repo contains all of the available packs not just one of them.

rip, i had 0 idea how github works. red&dark vanilla's chat is honestly terrible to read, and its the opposite for the "dark theme", which just blinds me with its chat. If i had annny idea how to change this stuff i would, but im not a coder

From: Melky<EMAIL_ADDRESS>Sent: Monday, October 12, 2020 12:02 PM
To: melkypie/resource-packs<EMAIL_ADDRESS>Cc: Celestiul<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [melkypie/resource-packs] Too Dark :S (#56)
What pack exactly are you talking about? This repo contains all of the available packs not just one of them.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/melkypie/resource-packs/issues/56#issuecomment-707293726, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AREHDIHBM4VGIWOO32P3BODSKNHFDANCNFSM4RY44DAA.

There is no need to be a coder as the packs are just image files (.png) that need to be changed. There is 0 coding involved in creating/changing a resource pack. Unfortunately I am pretty sure the original creator has abandoned the pack so your only hope is to edit it yourself or wait for someone else to come along

if you send, i can reedit myself if i can get a rundown of how to change
certain things, it would be nice
On Fri., Oct. 16, 2020, 3:51 p.m. Melky<EMAIL_ADDRESS>wrote:

There is no need to be a coder as the packs are just image files (.png)
that need to be changed. There is 0 coding involved in creating/changing a
resource pack. Unfortunately I am pretty sure the original creator has
abandoned the pack so your only hope is to edit it yourself or wait for
someone else to come along
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/melkypie/resource-packs/issues/56#issuecomment-710686472,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AREHDIA5W62EU2RKQZEDBNDSLDE65ANCNFSM4RY44DAA
.

The download for the pack is at https://github.com/melkypie/resource-packs/archive/pack-redblackvanilla.zip. Extract it and then look for the texture that you want to update. After you are done updating, to use the pack you should follow https://github.com/melkypie/resource-packs#old-method


Perandus Signet not calculating the Intelligence bonus right

Example in this build:
https://pastebin.com/JKcQ1J3D
Ingame there is ~1500 Intelligence, while in Path of Building there is only 1156.
Equipping and unequipping the rings (which should affect the intelligence) does not change the stat, therefore the stat seems to not be calculated.

Fixed in the next update.


fix(delete-pr-preview command): only hash branch name inside delete preview command

…review command

:tada: This PR is included in version 4.0.3 :tada:
The release is available on:

v4.0.3
GitHub release

Your semantic-release bot :package::rocket:


Release v3.0.1

Hi,
can you please release v3.0.1 or any other version higher than v3.0.0 with the latest master commits included, especially c9eaceb2896dbb515dae7ec352b377a226a52721?
We'd like to use the latest release of jwt-go using https://github.com/golang/dep version constraints.
Best,
-- Vojtech

The same here, 3.0.0 is missing parser.SkipClaimsValidation.

@dgrijalva all we ask for is
git tag v3.0.1
git push --tags

Would you mind doing that, please?

Sorry. I didn't see this.  I just cut v3.1.0.  Per semver, SkipClaimsValidation is a new feature, so it gets a minor version bump.

Thank you so much!


Fix overflow scroll on code blocks

Fixes https://github.com/kubernetes/kubernetes.github.io/issues/633
Making these position: relative avoids having to adjust the headings, which are adjusted for the fixed nav up top.

This change is

no tech review required

@spoonben plz sign the cla

I signed it!


I personally want to thank all of you for your services

Much appreactiated.
-Catfish-

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

ID: 92764c94-7850-82b9-d54d-9b55fc7c271b
Version Independent ID: c0fef252-5e8d-93c3-1c63-029fb511d81a
Content
Content Source
Service: unspecified

How to install VS on a drive other than C? Is there a way to install all of the features on drive D?

@TerryGLee can you point @raysefo to to a topic about this, if it exists? Thanks!

@raysefo Thanks for your feedback! We don't have a topic that describes how to do this, as we're still working on adding that functionality.

@raysefo , I am a Program Manager at Visual Studio team. I am currently working on the topic of your question. Could you please reach me directly at selmai at microsoft dot com?

Yes  I can. What can I help you with?
Sent from Mail for Windows 10
From: Selma Ikiz
Sent: Wednesday, March 7, 2018 5:26 PM
To: MicrosoftDocs/visualstudio-docs
Cc: William Johnson; Mention
Subject: Re: [MicrosoftDocs/visualstudio-docs] I personally want to thank allof you for your services (#477)
@raysefo , I am a Program Manager at Visual Studio team. I am currently working on the topic of your question. Could you please reach me directly at selmai at microsoft dot com?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


[Server] API design for i18n support

[ ] i18n API for article content, article feed, tag, and tag feed
[ ] update article content translation API

Documentation: https://www.notion.so/matterslab/i18n-edfbade687c74c759e33072a788dddfd

Close it since stepping into development stage.


[Feature Request] Filter Error Providers

The ability to disable highlighting for errors reported by specific extensions would be great.
For instance, I'm working in Markdown and have use a couple of extensions in concert with .md (Code Spell Checker and Coffee Break).
Occasionally, I'll use a string for Coffee Break's sake that will trip a spelling error (Info Severity) in Code Spell Checker - which ErrorLens lights up like it's on fire. :)
If I could tell ErrorLens to ignore warnings from Code Spell Checker, that would be slick.  You could even go further and get granular enough to say "ignore Info-severity from XXXX extension".

Would love this too! I love the option to have my code checked by code spell checker, but having Error lens freak out about a variable / word that is "unknown" is a bit to much. Is there an option to ignore certain extentions?


Calendar and DatePicker audits and chromatic stories

Fixes #2751. Fixes #1682.

Updates keyboard paging behavior as discussed in #3032 (cc. @majornista)
Adds SSR tests and fixes failures.
Adds support for FocusableRef interface on all components.
Adds support for passing through DOM props like data attributes
Adds support for controlled isOpen props and shouldFlip to DatePicker
Adds chromatic stories for all components and fixes some styling issues found
API audit
Adds missing docs

Separate issue: this is definitely an edge case, perhaps only of interest to peculiar folk who want to figure out on what day of the week Christmas in 127 BCE would fall, but I encounter the error “Too many re-renders. React limits the number of renders to prevent an infinite loop,” when navigating moving between some eras using the Calendar. It happens in the Gregorian calendar, but it’s easier to test with the Japanese calendar and it seems to happen with all calendar systems.

Open https://reactspectrum.blob.core.windows.net/reactspectrum/f056588fa1eb4fd124d5ec4aa0899ccee891[…]ex.html?path=/story/date-and-time-calendar--default and select the Japanese calendar from the second Picker.
Hold down Shift+PageUp (fn + Shift + ArrowUp on a Mac laptop keyboard) to decrement by year until you reach April 2 Meiji.
Press Shift+PageUp (fn + Shift + ArrowUp on a Mac laptop keyboard)  to decrement to the first year of this first era of the modern Japanese calendar and React throws an error.

@majornista interesting find. The problem in that case is that the Japanese calendar implementation currently doesn't support dates before the Meiji era, which begins September 8, 1868 Gregorian. Therefore, April of that Gregorian year doesn't exist according to the implementation. Japanese eras get fuzzy before then, a lot of data is required to support them, and I didn't think it was terribly important for our current use cases to support.
For now, I've fixed the issue by constraining the date within supported eras. If you go back to September 1 Meiji, you'll see the month appears to start on day 8 and navigating to previous dates does nothing.
I didn't see the issue with the Gregorian calendar. How did you reproduce?

@majornista interesting find. The problem in that case is that the Japanese calendar implementation currently doesn't support dates before the Meiji era, which begins September 8, 1868 Gregorian. Therefore, April of that Gregorian year doesn't exist according to the implementation. Japanese eras get fuzzy before then, a lot of data is required to support them, and I didn't think it was terribly important for our current use cases to support.
For now, I've fixed the issue by constraining the date within supported eras. If you go back to September 1 Meiji, you'll see the month appears to start on day 8 and navigating to previous dates does nothing.
I didn't see the issue with the Gregorian calendar. How did you reproduce?

Open https://codesandbox.io/s/fervent-mirzakhani-qkyzpi?file=/src/App.js
Move keyboard focus to the selected date for the defaultValue in the calendar, January 1, 1 AD.
Press ArrowUp to try navigating to the previous week or PageUp for the previous month.
The error will be thrown.


feat: [FRONT-88] Updated Radio component's color, component and action

PR description:

Implemented:

RadioGroupField, Radio component, color update and minor changes
Checklist:

[x] I ran this code locally
[x] I wrote the necessary tests
[x] My code follows the style guidelines
[x] I followed the instructions to create a pull request

Should know about:

@timurhamitov I have checked and fixed margins can you check it again please?


Vertical splitter for combined layout / table view

Really not sure if we should even want this, but I did some Googling and just wanted to save the link dump:

https://github.com/BryanHunt/ember-split-view
http://codepen.io/pprice/pen/splkc
https://github.com/blackgate/bg-splitter
https://github.com/angular-ui/ui-layout
https://github.com/vorburger/jquery.splitter
http://jsfiddle.net/xBjnY/9/
http://cssdeck.com/labs/resize-yhe-layout
http://plnkr.co/edit/SLR2sKCHQcba9YXZIetn?p=preview

So it's possible, but most of the smooth-working ones use jQuery or jQuery UI and none are Bootstrap or React aware.

Well, I don't think we'll be implementing this anytime soon, so closing.


how to set "http proxy" command option

I have an issue / a question (pick one) about Vlc.DotNet.
Generic information

Vlc.DotNet version : 3
Vlc.DotNet project used : WPF
libvlc version : (2.1.0) (x86/x64) from "http://download.videolan.org/vlc/"
.net version : 4.6.1
Project language : (C#)
Project build architecture : (x86/x64)
Operating system : (Windows 10) (x86/x64)

Summary
this application is  excellent！most situation it can solved very well
in my case,i use the proxy network,and my code is:
string options = new string[] { "--http-proxy= http://xxx.xxx:8080" };
_vlcControl.SourceProvider.CreatePlayer(this._vlcLibDirectory, options );
or
_vlcControl.SourceProvider.MediaPlayer.Play(new Uri("xxxxx"), options );
and both settings are not work,the online video can not play,did I write the options  on the wrong positon ?

[ ] I confirm that my issue doesn't happen in VLC itself.

it works when the http address is IP，but not support domain name，it may be the problem of vlc itself or the server of domain name do some limit，thank you very much,best regards


Is this project still active?

Hi
I think this is a really good idea, are you planning on continuing to develop? Need any help?
I would like to look at adding websocket support and generally exposing more functionality. Is the list of features in the README.md accurate or just taken directly from ether-rs?
Thanks
Andy

hi thanks for reaching out. The project is stalled rn, I still want to continue developing, it is just that a lot of stuff came at the same time and had to pause it.
So your contribution would be very valuable. The list of features is taken from ethers-rs. At the moment the only thing that works is example in the readme.
Re websocket, I looked quickly into it but noticed I lack pyo3 skills :-) (see https://github.com/awestlake87/pyo3-asyncio/issues/17), but for sure it would be a great addition.

Hey.
Ok, cool. I had a few questions:

Are you using maturin at the moment? I see in in the requirements-dev.txt. I seem to be able to build with maturin develop too.
what's generate_stubs.py for?
Have you any thoughts on whether code generation can be used and/or how abigen might be used to support contract objects?

Thanks
Andy

Hey Andrew,

Yes maturin develop is the right way and is what the release script in .github uses, added some dev setup instructions to the readme
Goal is to keep the docs in sync with the code. The docs are generated by sphinx but sphinx can't see  inside rust source code so this script generates stubs inside py_src which sphinx can pick up. I think there are better alternatives now like pdoc so can't probably get rid of the script.
I had some thoughts but forgot about it so would have to rethink from scratch :-). But my impression was that it should be possible

Please let me know if there is something I can do to help you get coding.


SLURM - cluster job fails and Snakemake doesn't notice it.

Snakemake version
7.18.1
Describe the bug
Hi!
I have a Snakemake workfow. When I run all the rules locally, it works fine and produces the expected output files. But when I run in cluster mode here is what happens:

DAG is created.
Snakemake reports it submitted a job with the external job ID foo.
I check the external job status with sacct -j foo and see that it has failed.
Snakemake keeps running not noticing the child job has failed.
No output or error files that SLURM normally produces are produced.

Logs
Submitted job 1 with external jobid 'Submitted batch job 44175525'.

check the job
$ sacct -j 44175525
       JobID    JobName  Partition    Account  AllocCPUS      State ExitCode
------------ ---------- ---------- ---------- ---------- ---------- --------
44175525     Mutect2_c+        cpu u_turajli+          8     FAILED      1:0
44175525.ba+      batch            u_turajli+          8     FAILED      1:0
44175525.ex+     extern            u_turajli+          8  COMPLETED      0:0

I manually stop snakemake job with keyboard interrupt. The only log file I have:
2022-11-16T154018.832807.snakemake.log
Additional context
The first rule that is submitted requests 8 threads, which normally should take a long time pending in the queue because our cluster is currently working with reduced capacity. But the external job that Snakemake submits fails immediately. It is impossible for it to go through that fast. So, the problem is probably about the submission script by snakemake, which I can't find.
I tried running with --cluster, --drmaa and also --profile: drmaa is not supported, other 2 has the same described outcome.
Thank you!

See the discussion on the Snakemake Discord channel community under the entry "Cluster execution fails but it works on local mode".


make install fails

Sir
make install fails
pilvisystems@PILVI-WIN-001:~/go/src/github.com/Noah-Huppert/jira-to-github$ make install
go install
github.com/Noah-Huppert/jira-to-github/config
config/load.go:10:15: undefined: Config
config/load.go:13:15: undefined: Config
config/load.go:28:14: undefined: Config
make: *** [Makefile:15: install] Error 1
pilvisystems@PILVI-WIN-001:~/go/src/github.com/Noah-Huppert/jira-to-github$
any idea ?, Please help

I think this is due to config package/module is not there. I am trying to fix it.


Add document for RPC API.

What would you like to be added:
Add document for RPC API.See https://mosn.io/layotto/#/en/api_reference/rpc/reference
You can refer to how to contribute documents(chinese)
About the explanation for RPC API,actually we can refer to Dapr's document. We make this API same with Dapr's so that we can build a runtime API spec together in the future.
Why is this needed:
We should tell users how to use this API with detailed explanation instead of just asking them to read the code.

This task will be assigned to @keleqnma

assign to me pls


[HUDI-7014] Optimize the code of BoundedPartitionAwareCompactionStrategy

Change Logs
Follow up https://issues.apache.org/jira/browse/HUDI-6975, pr is https://github.com/apache/hudi/pull/9911
Impact
none
Risk level (write none, low medium or high below)
If medium or high, explain what verification was done to mitigate the risks.
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@hudi-bot run azure

cc @danny0405. Follow up https://github.com/apache/hudi/pull/9911

There are test failures: https://dev.azure.com/apache-hudi-ci-org/apache-hudi-ci/_build/results?buildId=20668&view=logs&j=600e7de6-e133-5e69-e615-50ee129b3c08&t=bbbd7bcc-ae73-56b8-887a-cd2d6deaafc7&l=9908

There are test failures: https://dev.azure.com/apache-hudi-ci-org/apache-hudi-ci/_build/results?buildId=20668&view=logs&j=600e7de6-e133-5e69-e615-50ee129b3c08&t=bbbd7bcc-ae73-56b8-887a-cd2d6deaafc7&l=9908

Looks this change will effect the UnBounded strategy, I fix it.

Actually, UnBoundedPartitionAwareCompactionStrategy is an inverse of the partitions chosen in BoundedPartitionAwareCompactionStrategy. If the partitions are selected, the generated operations must belong to those partitions and no need to orderAndFilter again.

If there is no much gains for the code refactoring, maybe we can just keep it as is.

If there is no much gains for the code refactoring, maybe we can just keep it as is.

ok. It just reduces the orderAndFilter scanning. I close it.


Verify existing model data using latest EDMC data

The EDMC has been changing its data tables, not always for the better.
This issue can be closed when the model's data has been compared with the latest data from EDMC.
ETA-8/31.

Updated source : https://edmc.ieej.or.jp/edmc_db/youran2018_e.html


Fix v1 compatibility in viability test API

The v2 viability test POST and PUT endpoints didn't implicitly upgrade an
accesssion to the v2 quantity-tracking model, which caused them to fail with a
validation error if you tried to create a viability test on a weight-based
accession that was most recently written with the v1 API.

Current dependencies on/for this PR:

main

PR #609   👈

PR #610

This comment was auto-generated by Graphite.


Bad UI rendering of creating connection dialog

System information:

Operating system (distribution) and version: Windows 10 2004 (Chinese)
DBeaver version: 7.1.2
Additional extensions: No

Connection specification:

Database name and version: Not related
Driver name: Not related
Do you use tunnels or proxies (SSH, SOCKS, etc)? Not related

Describe the problem you're observing:
The dialog of creating connections renders badly on Windows 10. Some of the following issues could be observed randomly:

Missing some input field, e.g. Server Host as below

Extremely large dialog with extremely long input field
Extremely small input field. Probably only 1 pixel in width.

I tried to switch between different JDKs as below, but no luck.

adoptopenjdk-openj9
oraclejdk14
openjdk14

Steps to reproduce, if exist:

Click creating new connection
Choose a DB type

Include any warning/errors/backtraces from the logs

The issue happens under all default settings.

I cannot reproduce it. Please to reset UI settings (File>Reset UI settings)

@kseniiaguzeeva Not working. The issue happens on my fresh installation. And the font rendering is kind of buggy.

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=565025
不关DBeaver的事，是Windows内测版的问题，SWT没和系统配合好，等下一个内测版。

Thank you. Some users (#9180) have similar problem in 7.1.2. The problem should be in it.

Perhaps we need to revert to Eclipse 2020-03. New version has too many glitches, dark theme looks weird, etc.

本周不会有Windows内测版发布，也不确定下一版本可以解决该问题，所以请回退至Windows上一个版本。查看https://support.microsoft.com/zh-cn/help/12415/windows-10-recovery-options， 点击 回退到以前版本的 Windows 下的 打开“恢复设置” 按钮进入设置界面以回退至上一个版本。
This issue is not related to the version of Eclipse Platform(since Eclipse 2020-03 also has this issue), but related to the version of Windows 10.
You can solve this issue by going back to your previous version of
Windows. See
https://support.microsoft.com/en-gb/help/12415/windows-10-recovery-options to know how to recover your Windows to previous version.

Looks like it's related to my Windows Insider version. Thanks @humphreygao

MS released an insider release (20175) including fixes on font rendering. I'm testing if it fixes this issue.

I'm happy to hear it!

Confirmed that 20175 fixed this issue.