Store in local disk

Thanks for the new recording system. Not all the users are using online storage services. How to store files in local disk?

Hi @jibon57 , you can use EncodedFileOutput or DirectFileOutput as seen in the protobuf: https://github.com/livekit/protocol/blob/main/livekit_egress.proto

Unfortunately local files are not compatible with the design of egress. The idea for egress is to be a stateless "worker" instance. they should not keep any state and can be scaled down at any time.
Keeping files locally on disk would violate that design goal.

@davidzhao thanks. But user may want to use NFS or other network storage disk attached with server too

yeah you are right those use cases probably exist somewhere.
Though it gets really complicated to configure / understand. Is this a use case that you actually have? or just thinking that someone might have this need?

Yes, I'm using NFS for myself. In https://github.com/mynaparrot/plugNmeet-recorder user can point NFS mount point & after process data copied to that disk. In docker I think you can easily mount any local path & copy the final data.

First of all user will require to mount any network disk with the server. Later re-mount in docker. Even if user have powerful server with bigger disk capacity may want to store recordings into that particular server too. So having this feature will be helpful.

makes sense.. it definitely can be used that way. I'll keep the ticket open. You are welcome to take a stab on it if you'd like. (or anyone else who might need it).

@jibon57 if you run the docker container with a mounted directory, you can write to local storage.
Our integration tests do this by running docker run --rm -v ~/livekit/egress/test:/out egress-test and using /out/output/filename.mp4 as the Filepath with requests

@jibon57 does this resolve your needs? @frostbyte73 do you think we should update docs to reflect this use case?

@davidzhao thanks. Yes, this will work. Having documentation will be helpful. Also if we can copy the final output to seperate directory will be good too.


License issue

This is a really cool project, I like having the C++ interface do all the work of exporting the DBus interface.
Unfortunately the "loose" license description doesn't allow me to use in my projects, as "CopyLeft" means that all the code for the application would essentially have to be fully opensource, even libraries used by the app.
https://en.wikipedia.org/wiki/Copyleft
Most of the other dbus c++ libraries are GPL or lGPLv3, or have to do the whole xmlgen thing (which I hate having the definition autogenerated or in both the C++ class and the xml file).
Would you consider additionally licensing your library under BSD/Apache/MIT?

Added an MIT licsense to the current development branch (new_serialization).


How can i set the minutes' time interval for the date picker?

Hello,
the current default is 1 minute,
I want an 5 minutes interval.
Thanks!
Shani

Hello,
the current default is 1 minute,
I want an 5 minutes interval.
Thanks!
Shani

If i recall correctly there is a new input property you can use to achieve this (timeInterval).
If you're not using the latest version in package.json then you probably need to wait for a new published version (which I am also anticapating :) ).

@shani7783 please refer API Doc of Datepicker, you have to use timeInterval to set minutes for time interval


BUG: IndexError when giving a zero distance matrix to multiscale_graphcorr

Describe your issue.
Error
On calling scipy.stats.multiscale_graphcorr with either its x or y parameter (as distance matrices, hence with compute_distance=None) contains only zero values, a IndexError is raised.
Investigation
Investigating the stack trace led me to the file scipy/stats/_stats_py.py lines 6471 to 6479*, where I see:
    # calculate MGC map and optimal scale
    stat_mgc_map = _local_correlations(distx, disty, global_corr='mgc')

    n, m = stat_mgc_map.shape
    if m == 1 or n == 1:
        # the global scale at is the statistic calculated at maximial nearest
        # neighbors. There is not enough local scale to search over, so
        # default to global scale
        stat = stat_mgc_map[m - 1][n - 1]

*these lines number are taken from the version of the file on the repo as of now (ec98497)
It appears to me as a mismatch between the definition, n, m = stat_mgc_map.shape, and its use as stat_mgc_map[m - 1][n - 1], as it looks like that the arrays output by _local_correlations are not necessarily square.
However I cannot say I 100% understood how MGC works, hence I wonder if this is actually intended.
Context
For information, I got this error through via hyppo package, see this issue.
Reproducing Code Example
import numpy as np

from scipy.stats import multiscale_graphcorr
from sklearn.metrics import pairwise_distances

n = 6

x = np.arange(n).reshape(-1, 1)
distx = pairwise_distances(x, x)
disty = np.zeros((n, n))
mgc = multiscale_graphcorr(disty, distx, compute_distance=None, reps=0)

Error message
.../.env/lib/python3.10/site-packages/scipy/stats/_stats_py.py:6477: RuntimeWarning: The number of replications is low (under 1000), and p-value calculations may be unreliable. Use the p-value result, with caution!
  warnings.warn(msg, RuntimeWarning)
Traceback (most recent call last):
  File ".../problem-scipy.py", line 15, in <module>
    main()
  File ".../problem-scipy.py", line 12, in main
    mgc = multiscale_graphcorr(disty, distx, compute_distance=None, reps=0)
  File ".../.env/lib/python3.10/site-packages/scipy/stats/_stats_py.py", line 6490, in multiscale_graphcorr
    stat, stat_dict = _mgc_stat(x, y)
  File ".../.env/lib/python3.10/site-packages/scipy/stats/_stats_py.py", line 6545, in _mgc_stat
    stat = stat_mgc_map[m - 1][n - 1]
IndexError: index 5 is out of bounds for axis 0 with size 1

SciPy/NumPy/Python version and system information
1.11.3 1.23.5 sys.version_info(major=3, minor=10, micro=13, releaselevel='final', serial=0)
Build Dependencies:
  blas:
    detection method: pkgconfig
    found: true
    include directory: /usr/local/include
    lib directory: /usr/local/lib
    name: openblas
    openblas configuration: USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS=
      NO_LAPACK= NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP= HASWELL MAX_THREADS=2
    pc file directory: /usr/local/lib/pkgconfig
    version: 0.3.21.dev
  lapack:
    detection method: pkgconfig
    found: true
    include directory: /usr/local/include
    lib directory: /usr/local/lib
    name: openblas
    openblas configuration: USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS=
      NO_LAPACK= NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP= HASWELL MAX_THREADS=2
    pc file directory: /usr/local/lib/pkgconfig
    version: 0.3.21.dev
  pybind11:
    detection method: config-tool
    include directory: unknown
    name: pybind11
    version: 2.11.0
Compilers:
  c:
    commands: cc
    linker: ld.bfd
    name: gcc
    version: 10.2.1
  c++:
    commands: c++
    linker: ld.bfd
    name: gcc
    version: 10.2.1
  cython:
    commands: cython
    linker: cython
    name: cython
    version: 0.29.36
  fortran:
    commands: gfortran
    linker: ld.bfd
    name: gcc
    version: 10.2.1
  pythran:
    include directory: ../../tmp/pip-build-env-6ckgqyn6/overlay/lib/python3.10/site-packages/pythran
    version: 0.14.0
Machine Information:
  build:
    cpu: x86_64
    endian: little
    family: x86_64
    system: linux
  cross-compiled: false
  host:
    cpu: x86_64
    endian: little
    family: x86_64
    system: linux
Python Information:
  path: /opt/python/cp310-cp310/bin/python
  version: '3.10'

@lucascolley I'm the author of both bits of code. Could I be assigned this issue?

Hi @sampan501 , go ahead! We don't assign people to issues, feel free to take on anything which nobody else is working on 👍

@Rayerdyne Looking into the linked issue, I believe the issue relies more on the MGCX code in hyppo rather than the MGC code in scipy. The _local_correlations function will not output a square matrix each time when there are redundant rows or columns. That is a property of the algorithm.
As for the reproducing code example, I'm realizing now that the code should throw an error when the inputs have 0 variance (it doesn't make much sense to run an independence test in this setting)

@sampan501 I see, thanks!

As for the reproducing code example, I'm realizing now that the code should throw an error when the inputs have 0 variance (it doesn't make much sense to run an independence test in this setting)

Would either of you like to submit a PR for this?

I can do this


ZSH_THEME_GIT_PROMPT_CACHE

Hi,

Define the variable ZSH_THEME_GIT_PROMPT_CACHE in order to enable caching.

What would be the correct way to define it?

Looking through the code, it looks like the variable should be a non-empty string for a working prompt cache.
https://github.com/olivierverdier/zsh-git-prompt/blob/0a6c8b610e799040b612db8888945f502a2ddd9d/zshrc.sh#L33

Just run export ZSH_THEME_GIT_PROMPT_CACHE=yes


Ingesting Error on Binance FET_USDT

The command I typed in is
catalyst ingest-exchange -x binance -f minute -i fet_usdt
The error message is
 Trying to ingest exchange bundle binance...     [==================                  ]  Ingesting minute price data on binance:   50% Traceback (most recent call last):   File "/home/trade/anaconda2/envs/catalyst/bin/catalyst", line 11, in <module>     sys.exit(main())   File "/home/trade/anaconda2/envs/catalyst/lib/python2.7/site-packages/click/core.py", line 722, in __call__     return self.main(*args, **kwargs)   File "/home/trade/anaconda2/envs/catalyst/lib/python2.7/site-packages/click/core.py", line 697, in main     rv = self.invoke(ctx)   File "/home/trade/anaconda2/envs/catalyst/lib/python2.7/site-packages/click/core.py", line 1066, in invoke     return _process_result(sub_ctx.command.invoke(sub_ctx))   File "/home/trade/anaconda2/envs/catalyst/lib/python2.7/site-packages/click/core.py", line 895, in invoke     return ctx.invoke(self.callback, **ctx.params)   File "/home/trade/anaconda2/envs/catalyst/lib/python2.7/site-packages/click/core.py", line 535, in invoke     return callback(*args, **kwargs)   File "/home/trade/anaconda2/envs/catalyst/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func     return f(get_current_context(), *args, **kwargs)   File "/home/trade/anaconda2/envs/catalyst/lib/python2.7/site-packages/catalyst/__main__.py", line 857, in ingest_exchange     csv=csv   File "/home/trade/anaconda2/envs/catalyst/lib/python2.7/site-packages/catalyst/exchange/exchange_bundle.py", line 824, in ingest     show_report=show_report   File "/home/trade/anaconda2/envs/catalyst/lib/python2.7/site-packages/catalyst/exchange/exchange_bundle.py", line 643, in ingest_assets     cleanup=True   File "/home/trade/anaconda2/envs/catalyst/lib/python2.7/site-packages/catalyst/exchange/exchange_bundle.py", line 365, in ingest_ctable     period=period   File "/home/trade/anaconda2/envs/catalyst/lib/python2.7/site-packages/catalyst/exchange/utils/bundle_utils.py", line 47, in get_bcolz_chunk     bytes = download_without_progress(url)   File "/home/trade/anaconda2/envs/catalyst/lib/python2.7/site-packages/catalyst/data/bundles/core.py", line 190, in download_without_progress     resp.raise_for_status()   File "/home/trade/anaconda2/envs/catalyst/lib/python2.7/site-packages/requests/models.py", line 940, in raise_for_status     raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://s3.amazonaws.com/enigmaco/catalyst-bundles/exchange-binance/binance-minute-fet_usdt-2019-02.tar.gz
Anyone has the same issue?

Same issue.

I have same issue.

Same issue, again.

Thanks for reporting and sorry for the late response.
The issue in the S3 bucket was fixed.
There might be a stale config file in your local system, which you can remove by running catalyst clean-exchange -x binance.
This command will delete all downloaded Binance data, so alternatively, you can manually remove only the problematic file by deleting ~/.catalyst/data/exchanges/binance/symbols.json (or wait up to 24h, when it will be re-downloaded automatically).

@lenak25 my catalyst has been failing on the  _https://s3.amazonaws.com/enigmaco/catalyst-bundles/exchange-binance/binance-minute-atom_bnb-2019-04.tar.gz_ file today

Hello, now _ https://s3.amazonaws.com/enigmaco/catalyst-bundles/exchange-binance/binance-minute-atom_bnb-2019-04.tar.gz_ is failing with the same error


Dockerize the app

Describe the feature
I want to dockerize the mern app so that in future when someone fork the repo in different nodejs environment then he can easily use the app
Add ScreenShots
no screenshot required
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

assign  me


[WIP] New formula to estimate VMM memory overhead

The original formula was "600 Mb + 0.25% RAM"

UPDATE: the original formula was 2.5% RAM! and that looks wrong! Need to retest with 0.0224 % as described in https://gitlab.com/qemu-project/qemu/-/issues/1003
The empirical constant 600 Mb doesn't cover all the cases and is too big for certain VMs.
New formula dynamically adjusts VMM overhead taking into account No. vCPUs and the size of
MMIO regions mapped for PCI devices. Some devices may have very large aperture size.
E.g. NVIDIA A40 has 64 Gb aperture. If the VM has many GPUs assigned the overhead may
be significant.

The analysis showed that QEMU uses 0.6 - 0.85% of MMIO region size for internal
management. We allocate 1% to be on a save side

QEMU itself consumes ~20 Mb (constant) for code and shared libraries
and ~300 Mb is still unknown. Each vCPU requires ~3 Mb. So the formula is

(No. vCPU * 3Mb) + 1% total-MMIO + 0.25% RAM + 20 Mb QEMU + 300 MB unknown

For VMs with 2 CPU and 1GB RAM we now have ~354 Mb overhead instead of 626 Mb

In general, thanks for an interesting PR. =P

On ARM, QEMU will also allocate a bunch of virtio-mmio areas for virtual devices (defined in the device tree). Shall these areas also be considered in your new formula, right?

Is there a good and standard way to find such areas in the DTS files? As far as I remember, there is no unified way to define them there...

Is there a good and standard way to find such areas in the DTS files? As far as I remember, there is no unified way to define them there...

Ok... At least we can count the amount of memory mentioned in all the "reg" properties.
But besides that, we can have "ranges", "dma-ranges", "memory-region" and even vendor specific props...
It's another interesting task, I would create a ticket for that, but would not try to solve in the scope of the current PR. What do you think, @rene?

Is there a good and standard way to find such areas in the DTS files? As far as I remember, there is no unified way to define them there...

Ok... At least we can count the amount of memory mentioned in all the "reg" properties. But besides that, we can have "ranges", "dma-ranges", "memory-region" and even vendor specific props...
It's another interesting task, I would create a ticket for that, but would not try to solve in the scope of the current PR. What do you think, @rene?

As long as this PR doesn't affect ARM devices, it's ok. Regarding the memory areas, it's not all memory areas that will impact on QEMU's VMM size, right? virtio-mmio makes sense to me, but shall we care about all other areas? In any case, it must be handled in a different PR, definitely....

virtio-mmio makes sense to me, but shall we care about all other areas?

I believe VMM should have page tables (2nd stage) for all these regions. So, yep, it will affect the memory usage of the VMM. Am I missing something here?

@mikem-zed , nice improvements. My only concern is that you have only considered the mmio area used for PCI devices, which is fine for x86, but not for ARM.  Shall these areas also be considered in your new formula, right?

@rene @michel-zededa how do we address the arm concern in the short term? Should we need the current calculations in the case of ARM? Or can we have some code which is common and add a bit more extra for ARM?

@mikem-zed , nice improvements. My only concern is that you have only considered the mmio area used for PCI devices, which is fine for x86, but not for ARM.  Shall these areas also be considered in your new formula, right?

@rene @michel-zededa how do we address the arm concern in the short term? Should we need the current calculations in the case of ARM? Or can we have some code which is common and add a bit more extra for ARM?

@eriknordmark @rene collected memory usage statistics from one ARM board for me and I can analyze it. I have created a separate ticket for that. It will be covered in separate PR. I think we can have common code with some adjustments for ARM. e.g. QEMU libraries/code size.

I've also started the ztests run with Jenkins.

The ztests in https://jenkins01.devt.zededa.net:8080/job/Eve-PR-SmokeTest-Ring0/40433/ are failing and looking at the device in the UI I see:
Exceeded time for vault to be ready 300 by 10 seconds, rebooting at EVE version 0.0.0-pr3383-1ec9375e-xen-amd64 at 2023-08-14T21:18:53.000909496Z
Not clear how we can get this type of failure from these changes; I'll try a manual run with more logs.

Not clear how we can get this type of failure from these changes; I'll try a manual run with more logs.

In my experience, I have observed that most of the recent PRs have failed during ztests. I attempted to identify the specific error, but found it difficult to navigate through the extensive output.

In my experience, I have observed that most of the recent PRs have failed during ztests. I attempted to identify the specific error, but found it difficult to navigate through the extensive output.

FWIW I ran this PR manually with ztests on a device in the lab overnight without any issues.
So I'll merge this to master and kick off the new eden workflow on master (currently a few of those steps have issues as seen in https://github.com/lf-edge/eve/actions/runs/5860242717)


Questions

Hey,
I am Rajat Mishra, I was looking for alternatives to Lavalink because I don't like JVM eating a lot of memory, I still prefer space complexity over time complexity because it's cheaper to run applications that use high memory rather than running applications that require a lot of CPU power. So I wanted a few clarifications from you.

How many players a single volcano instance can handle and at what resources?
Is there any way to avoid YouTube rate limits, something like providing an IPV6 /48 block.
Is there any official documentation or implementation guide since this package lacks that
If this package supports IPV6, can that block be used to make requests to other APIs that can give rate limits?

I need something that can handle ~3K active connections and at a reasonable resource usage.
Thank You

I haven't been able to hit the upper limit of what Volcano can handle yet even though I run Volcano on a pretty low tier VM. My bot is only in ~6.8k guilds and I've personally seen upwards of 30 connections with minimal impact.
Volcano does not implement ipv6 requesting as that may come down to the lib it uses to get yt track info. I can pester the dev if that is something people have interest in, even though ipv6 addresses and blocks get banned more often than a single ipv4 in my experience.
LavaLink's docs are what people should be referring to as Volcano tries to mimic its API very closely.
Same as 2. I can add it if ipv6 is something people want.

If you shard instances properly, I'm sure this can handle 30k connections. Of course it won't be able to run that on a single instance unless you have a crazy core count and your machine is juiced like crazy. I would love for some more extreme numbers if people are able to provide!

I have a dedicated server of 128GB and 32 cores CPU. I currently have around ~1k-2.1k players, and yes Ipv6 block is really necessary for a bot of this scale IPV4 will not survive.

If all of that is on a single instance, I can see how a single ipv4 would not survive. I'll see what I can do regarding ipv6.
I'm confident in the ability of Volcano based on the numbers I have now, but the number 30k makes me a bit skeptical if almost 1k players would be spawned on each thread. Volcano itself could probably handle that no problem, but Volcano also pipes audio through ffmpeg to allow for audio transforming and that might be the killer. I'll look into alternatives for this and release an update including ipv6 support for what you requested if possible and also less usage of ffmpeg unless the track isn't opus encoded or you need op filters

If all of that is on a single instance, I can see how a single ipv4 would not survive. I'll see what I can do regarding ipv6.
I'm confident in the ability of Volcano based on the numbers I have now, but the number 30k makes me a bit skeptical if almost 1k players would be spawned on each thread. Volcano itself could probably handle that no problem, but Volcano also pipes audio through ffmpeg to allow for volume transforming and that might be the killer. I'll look into alternatives for this and release an update including ipv6 support for what you requested if possible and also less usage of ffmpeg unless the track isn't opus encoded or you need op filters

I run 5 instances of lavalink and also my volume and filters are premium locked but I give trials for 1.5 hour so it shouldn't be a big problem.

Volume transforming is still done regardless of what operations are being called, so ffmpeg will spawn for each player which is why I brought it up. Good to know that filters won't be a huge concern though. I am not smart enough to implement js native transforming to such a degree

So when a track is played there are some volume operations regardless of any modifications to volume?

This is being closed as further details have been discussed in DMs and Volcano will mature into something that will cover concerns brought up in the future.


[CNF-8049] add capability annotation

Add machine-api capability annotation to manifests to make component optional

/approve
/lgtm


Unable to use Xcode 14.3.1 in CI on macOS 13.5

When attempting to use Xcode 14.3.1 on macOS 13.5, it has an error when attempting to install.
Xcode should be re-installed due to error Unable to parse CFBundleVersion from cipd describe output

https://logs.chromium.org/logs/flutter/led/vashworth_google.com/b58d16b03a72e5b7701bc03725505d5c0c9c2631af131ab7920d06c8dc2fa749/+/u/install_xcode/stdout
It will be difficult to migrate to macOS 13 in CI if we can't figure out how to resolve this. It may be as simple as re-uploading a new version of Xcode 14.3.1, which also presents it's own challenges. If we re-upload, we may want to downgrade to Xcode 14.3 in CI first or upload the new version of Xcode 14.3.1 to a new directory and then allow the directory to be customizable via the .ci.yaml.

Fixed by https://flutter-review.googlesource.com/c/recipes/+/51340


any docs explaining the properties/fields in .igv(.bgv) file?

hi forks, recently i am looking into the process of optimization in Graal, but reading the graphs in idealgraphvisualizer is almost impossbile since I am not very sure about the meaning of the properties/values in the file. Can any body help ?

such as the term: "node-cost graph size", does it mean:  larger the value, most performance overhead?

Hi @thatsBlinc
thank you for your interest in the Idealgraphvisualizer.
We do have some documentation on that tool, e.g. at https://docs.oracle.com/en/graalvm/enterprise/20/docs/tools/igv/
I don't think that goes into that level of detail you are asking for, though.
The basis of this work is from a Master's thesis, where you might find more information (note that this is 10+ years old, so represents an older version of the IGV): https://ssw.jku.at/Research/Papers/Wuerthinger07Master/Wuerthinger07Master.pdf
I think your best option to get more detailed information is to join GraalVM's slack channel (https://www.graalvm.org/slack-invitation/) and ask some concrete questions there.
Thanks,
Christian

Hi @thatsBlinc
thank you for your interest in the Idealgraphvisualizer.
We do have some documentation on that tool, e.g. at https://docs.oracle.com/en/graalvm/enterprise/20/docs/tools/igv/
I don't think that goes into that level of detail you are asking for, though.
The basis of this work is from a Master's thesis, where you might find more information (note that this is 10+ years old, so represents an older version of the IGV): https://ssw.jku.at/Research/Papers/Wuerthinger07Master/Wuerthinger07Master.pdf
I think your best option to get more detailed information is to join GraalVM's slack channel (https://www.graalvm.org/slack-invitation/) and ask some concrete questions there.
Thanks,
Christian


Initial version of the quickstart guide document.

Initial version of the quickstart guide document.

How about adding a Community section at the end with links to:

TrenchBoot presentations web page
TrenchBoot docs web page
TrenchBoot Matrix channel

I was trying to limit the scope of the document to be as simple as possible. Thus my disclaimer at the beginning about it not covering everything.

How about adding a Community section at the end with links to:

I was trying to limit the scope of the document to be as simple as possible. Thus my disclaimer at the beginning about it not covering everything.

Since many topics will be missing, by definition, there should be at least one sentence about where to go for more information, e.g
For topics not addressed by this document, please contact TrenchBoot developers via https://trenchboot.org/community.


No value/invalid value serialized for unset exports with range

Tested versions
Reproduces in 4.3.stable.mono and 4.4.dev3.mono.
System information
Godot v4.4.dev3.mono - Ubuntu 22.04.5 LTS 22.04 on Wayland - X11 display driver, Multi-window, 1 monitor - Vulkan (Mobile) - integrated AMD Unknown (RADV GFX1103_R1) - AMD Ryzen 9 7940HS w/ Radeon 780M Graphics (16 threads)
Issue description
If the editor shows a value for an exported field, I expect to get that same value when reading it from code. However, this isn't the behavior we get for @export_range-type where the lower-bound doesn't match the default null value for that type. For example, if you create an int export with a range [1,12], it'll show 1 in the editor, but 0 if you read it from code. This is very misleading behavior as a user. This is verified (and in the MRP) for GDScript, C#, and C# custom resources.
For GDScript and C#, if the value is unchanged from the default, the scene file doesn't persist any value at all for the export:
[node name="GDNode" type="Node" parent="."]
script = ExtResource("1_sb3ek")

[node name="C#Node" type="Node" parent="."]
script = ExtResource("2_najg7")
MonthResource = SubResource("Resource_yqifb")

For custom resources (C# in my case), it does persist a value, but it's a value that's out of range:
[sub_resource type="Resource" id="Resource_yqifb"]
script = ExtResource("3_hftao")
Month = 0

FWIW, I do see and understand why it works the way it does now (ranges are just hints), but I want to reiterate that it's very confusing to see one value in the editor and another value in the code. That shouldn't be a possible situation.

Workaround:
# Change this
@export_range(1, 12) var month: int

# To this
@export_range(1, 12) var month: int = 1

// Change this
[Export(PropertyHint.Range, "1,12")] public int Month;

// To this
[Export(PropertyHint.Range, "1,12")] public int Month = 1;

Steps to reproduce
Create any @export_range field where the lower bound of the field is not the default value for that type, i.e. 0 in most cases.

Minimal reproduction project (MRP)
This is a C# project targeting Godot 4.4.dev3. I can attach a GD project if needed.
ExportRangeBug.zip

Thank you for reporting, consolidating in:

https://github.com/godotengine/godot/issues/75555

See there for more details, if you think something was missed about this and it's not the same issue, please comment here and it can be reopened

Figured this would be a dupe. Thanks for checking.


Adding database-encryption test

Adding database-encryption test to terraform-google-kubernetes-engine.

I signed it!

@marko7460 can you add a no-op test/ci/database-encryption.yml file in a pull request against https://github.com/terraform-google-modules/terraform-google-kubernetes-engine so that we can apply these changes now and provide a simple rebase path for other open pull requests which may be disrupted?

@aaron-lane i have removed tests from https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/pull/165. I will close this PR


[1.16] The machines do not work in the presence of the chunk loader but not the player

Industrial Foregoing: 1.16.5-<IP_ADDRESS>-7
Titanium: 1.16.5-<IP_ADDRESS>-10
Forge: 1.16.5 36.1.32
ChickenChunks: 1.16.5-<IP_ADDRESS>-universal
I play on a server with my friends, and every time we all leave the server the machines stop working, we put a chunk loader to prevent them from stopping but it didn't help.

Which machines?

I have seen him with the plant gaether, the sower and the animal feeder, but I think he does it with everyone

Is it possible that things in world don't change? it might not be a machine problem but a chunkloader problem

In fact I tried with another mod and they started working again even when I left the server, it's probably a problem with the chickenchunks


Can Custom Geometry support GroundPrimitive?

I use Geometry to pass in custom vertex data to get the GeometryInstance. Can I support GroundPrimitive and how?
This is an example of generating Primitive, which is normal： This is an example of generating Primitive, which is normal
This is an example of generating GroundPrimitive, it will report an error：This is an example of generating GroundPrimitive, it will report an error

CesiumJS is a big project, so we use GitHub for feature requests and bug tracking exclusively. In the future, please take any questions to the Cesium Forum where there are members of the community and developers from the team who can help. Thanks!


print xlsx as a printer

:hammer: enchantment : print xlsx as a printer

from jeff

Issue is duplicated.
https://github.com/j2doll/QXlsx/issues/9


Add support to supply a complete host_configuration.json file

Today the generation/configuration of a host_configuration file, is done via the st.config by setting ST_HOST_.
It would be convenient to simply pass a file, like, ST_HOST_FILE=path, or something, instead of specifying each field.

Implemented in #157


Fix system test launch for bundled installer

unpacking now works properly with bundled installer (added a switch for it)
added the bundle folder as a chrome argument to protractor (but it keeps prepending dashes, so that's why there is the replace part - but only if the string actually starts with '--')

Codecov Report

Merging #759 into master will decrease coverage by 0.14%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #759      +/-   ##
==========================================
- Coverage   98.67%   98.53%   -0.15%
==========================================
  Files          31       31
  Lines        2640     2797     +157
  Branches      230      409     +179
==========================================
+ Hits         2605     2756     +151
+ Misses         35       31       -4
- Partials        0       10      +10

Impacted Files
Coverage Δ

browser/model/jbosseap.js
96.9% <0%> (-2.01%)
:arrow_down:

browser/model/helpers/downloader.js
96.94% <0%> (-1.52%)
:arrow_down:

browser/pages/confirm/controller.js
91.16% <0%> (-1.33%)
:arrow_down:

browser/services/componentLoader.js
98.78% <0%> (-1.22%)
:arrow_down:

browser/model/jdk-install.js
98.84% <0%> (-0.56%)
:arrow_down:

browser/services/platform.js
100% <0%> (ø)
:arrow_up:

browser/model/installable-item.js
100% <0%> (ø)
:arrow_up:

browser/services/request.js
100% <0%> (ø)
:arrow_up:

browser/main.js
100% <0%> (ø)
:arrow_up:

browser/model/helpers/util.js
100% <0%> (ø)
:arrow_up:

... and 17 more

Continue to review full report at Codecov.

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

test this

test this


Missing GPS permission when opening the app for the first time

:red_circle:  Issue
Because we show client/subscriber position on the map, we should ask for permission.
🏞 Environment
Tested using app v.
iOS Customer app v0.0.1(5)
:phone: P131 iPhone 11 PRO iOS 15
🦶 Steps to reproduce

install the app
open the app for the first time :wink:

:white_check_mark: Expected result:
Users are asked for permission to use their GPS location in order to present it on the map.
:bulb:
tested after resetting permissions(to be sure that there were no "leftovers" after the previous build)
"you can reset all location and privacy permissions : Settings -> General -> Reset -> Reset Location & Privacy. Note that this will reset all location and privacy permissions for all the apps on that device"
┆Issue is synchronized with this Jira Uncategorised by Unito

Users are asked about permissions when entering map view.


[CSL-2328] generate block without configurations

You can give your ProtocolMagic and ProtocolConstants as regular plain
old vanilla first class values!
The block benchmarks now don't need all of that tedious configuration
stuff.

Lie with #2685 I cannot approve this, possibly because it has already been merged to networking/develop.


dashboard: incoming mail processing improvements

Use From:  to detect the actual mailing list.
Use Reply-To:  to determine the actual author of the message.
Relax the email duplicate detection mechanism -- if syzbot was not one of the direct recipients, still handle the command.
Use canonical email to filter out emails from syzbot itself. Don't ignore such emails completely (otherwise we cannot remember the email we sent).

Closes https://github.com/google/syzkaller/issues/2614

@dvyukov PTAL

@dvyukov I added a couple more commits. PTAL.


Add Insulation Value for Structures (also floors don't have Ground Heat)

retrieve rValue from objects. (i.e. walls, floors, doors).
This seems to be happening for floors, but it's being presented as Ground Heat, not Insulation.

I'll add this for walls and doors, thanks for the suggestion!
Doesn't the rValue for floors add to the ground heat of the biome tile underneath? In that case "Ground Heat" seems like an acceptable word for floors.

Found the server.cpp line for what I was talking about. https://github.com/jasonrohrer/OneLife/blob/master/server/server.cpp#L1989
rValue is separate from heatValue. The heat code puts them in separate matrices and uses them to calculate heat using a finite element heat transfer model where rValue is the resistance to heat spreading. So a wall will block heat from spreading, but doesn't produce heat; same with floors.
Standing on a floor does increase the player's heat, but it does so by trapping the player's heat of 1 (https://github.com/jasonrohrer/OneLife/blob/master/server/server.cpp#L2113) like clothes do.

Oh interesting, I didn't realize the floor worked by trapping players heat. I'll change the name to insulation then. Thanks.

@betalpha8 do you think it makes sense to represent the ground/wall insulation as a percentage? Not certain how the rValue is used for those.

A percentage would make sense;
Their rValue is intended to range from 0-1.
Similar to clothing rValue % insulation, objects with rValues help stop heat from spreading to/from its tile. (clothes have a weighting system but floors/walls don't, their rValue is their %insulation)
Idk if this helps, but I'm working on a forum thread about heat anyway, and:
Imgur
(noting some walls have floors behind them)


Update formatting in ABOUT.md for Nextercism

Issue https://github.com/exercism/meta/issues/85 needs some checks in this track

This issue can be closed now, pull request has been merged. :)

Closed by #414


Nice spinner/loading indicator

Describe the requested icon
First of all want to say a huge THANK YOU for releasing this library, this is by far the most nice looking and perfectly designed icon set. Please keep maintaining it, it will for sure become more and more popular!
As per icon request, would be nice to have some nice loading indicator that can be animated with infinite rotation in CSS.
Screenshots
Something like this:

Thanks for the kind words! We do have a few loaders, check out spinner and spinner-gap -- but we'd be happy to add some more variety there if you don't see what you need.

Added circle-notch in 1.4!


MINOR: Add dual write offset metric

Add dual write offset metric for ZK migration
Tested in jconsole

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Failed tests from the build look unrelated


Can't open dbeaver

Hey,
Just installed dbeaver, it said that my Java wasn't up to date so I updated it and after that, when I try to open dbeaver, I get the error:
An error has occurred.
See the log file
/Users/yannick/.eclipse/org.jkiss.dbeaver.product_4.0.4_944233459_macosx_cocoa_x86_64/configuration/1491828471027.log.
In that file I see a very long code and then I see something like this:
!ENTRY org.eclipse.ui.intro 2 0 2017-04-10 14:47:52.190
!MESSAGE Could not resolve module: org.eclipse.ui.intro [92]
Unresolved requirement: Import-Package: org.eclipse.e4.core.di.annotations
-> Export-Package: org.eclipse.e4.core.di.annotations; bundle-version="1.5.0.v20151127-1241"; bundle-symbolic-name="org.eclipse.e4.core.di.annotations"; version="0.0.0"
org.eclipse.e4.core.di.annotations [35]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.8))"
!ENTRY org.eclipse.osgi 4 0 2017-04-10 14:47:52.194
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
I'm all new to this, can somebody help me?
I use a Macbook pro with the latest iOS.

You need to install JDK 1.8 (http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
Simple Java update doesn't work on MacOS.


the app  very slow for 1~5 second when init

the app  very slow for 1~5 second when execute  the functoin "AdMob.initAndroid" or  "AdMob.initIOS".
is the bug of admob?
ps:
https://www.google.com/?gws_rd=ssl#newwindow=1&q=++Admob+slow+++FPS

Hi, this may be related to google admob... hard to tell (sounds logic that including an ad network can lower down your app if you have an old smartphone or a really slow internet connection, but it shouldn't do that on a fast smartphone with good internet access).
Is this happening on android and iOS to you? (calling AdMob.initIOS does nothing on android, so I assume you're testing on iOS and Android with the same result).
If this is the case, maybe your game is consuming too many resources, and calling admob is just the drop of water that saturates your smartphones :/
On any case, admob works on background creating threads, so I don't think there's much to do from inside the extension. I'll be closing this issue now (if you find some evidence that the extension is responsible of the lag instead of admob itself, or have some clue on how to fix this, please let us know and we'll reopen the case).
Thanks!
Federico


Any plan for supporting MMEditing?[Feature]

Thanks for your excellent job. I'd like to know if you have any plan to support MMEditing.

We will not add editing-related compression algorithms in a short time, but MMRazor can quickly adapt to MMEditing. If you are interested in reproducing editing-related algorithms based on MMRazor, welcome to make a PR, and we will develop it with you


Not handling X-Forwarded-Host header during custom authentication redirection

Describe the bug
If you set up Front Door (or L7 Reverse proxy) in front of Static Web App and add Azure AD or OpenID Connect authentication after adding a custom domain to Front Door, the redirection will not be done on the custom domain.
It looks to me like a common problem of not handling X-Forwarded-Host correctly.

This can be handled by setting forwardProxy in httpSettings for Easy Auth in the App Service, but cannot be avoided in Static Web Apps because the setting is not provided.
https://docs.microsoft.com/en-us/azure/templates/microsoft.web/sites/config-authsettingsv2?tabs=json#httpsettings-object
To Reproduce
Steps to reproduce the behavior:

Create Static Web App
Create a Front Door and add Static Web App as a backend
Add custom domain to Front Door
Setup SWA custom authentication for custom domain
Access to https://customdomain/.auth/login/***

Expected behavior
The custom domain being accessed (the custom domain set in Front Door) is maintained even when redirected to the IdP.

Hi Team,
Since many applications use authentication and custom domains, it is practically impossible to place Front Door at the front of SWA if this issue is not resolved.

This should be available in the next month.

As an update, the solution for this issue has been released. Please see the documentation at https://docs.microsoft.com/azure/static-web-apps/configuration#forwarding-gateway for instructions on configuring your Static Web App with allowed forwarded hosts.

Thanks for the quick fix. I have confirmed that setting the hostname to the newly added forwardingGateway solves this problem.

@shibayan shibayan I am also facing the same problem. We have an application gateway in front of static web app. The custom domain is assigned to the private IP of Application Gateway. After adding AAD auth in static web app, the custom domain redirects to the static web app URL. How can I avoid that? Do you have some insights? Do we need to add this code in staticwebapp.config.json? "forwardingGateway": {
"allowedForwardedHosts": [
"example.org",
"www.example.org",
"staging.example.org"
]
}


Autocomplete Endpoint

https://api.urbandictionary.com/v0/autocomplete-extra?term=jae
{
  "results": [
    {
      "preview": "a beautiful girl , always speaks her mind , is always funny cracking jokes, doesn't care what people",
      "term": "Jae"
    },
    {
      "preview": "Usually Jacks have feelings for a certain person but they are too shy to tell them. The people they ",
      "term": "Jack"
    },
    {
      "preview": "James is a irresistible bad boy who is funny, He has a great personality and he’s a total cutie. He ",
      "term": "James"
    },
    {
      "preview": "Jason is a very kind hearted person. He can be shy at many times and you think he's a total creep un",
      "term": "Jason"
    },
    {
      "preview": "Jake is a very fun and outgoing guy. He has a smile that will brighten anyone's day and eye's that a",
      "term": "Jake"
    },
    {
      "preview": "It is a slang word for the word \"Cancer\"",
      "term": "Jake Paul"
    },
    {
      "preview": "A girl who might not have the biggest self esteem, but she has a big heart. She often puts others be",
      "term": "Jasmine"
    },
    {
      "preview": "Jade is a girl who is someone you are blessed to have in your life. She has been through hell but al",
      "term": "Jade"
    },
    {
      "preview": "Kind, sweet, funny, and sometimes immature. He knows what to say and how to make a girl feel good. H",
      "term": "jacob"
    },
    {
      "preview": "A skinny girl, usually dark haired. Jamie is funny, bubbly, random and loves to sing. Most are artis",
      "term": "Jamie"
    },
    {
      "preview": "what a ledge",
      "term": "Jesus"
    },
    {
      "preview": "a shooting pain in your vagina",
      "term": "Christian Deem"
    },
    {
      "preview": "Someone who is addicted and has an obsession with Abel Tesfaye / The Weeknd.",
      "term": "abelholic"
    },
    {
      "preview": "The Couple name of Jaejoong and Yunho of the korean boyband DBSK. The word is a combination of the '",
      "term": "Jaeho"
    },
    {
      "preview": "A Jae-Ann is a smart loving person you will ever meet. She is very friendly, but once you get to kno",
      "term": "Jae-Ann"
    },
    {
      "preview": "Alyssa Jae is beautiful. She smiles but her eyes tell a different story. She has been through alot i",
      "term": "Alyssa Jae"
    },
    {
      "preview": "Eunin is an asian boy.  This person has their own interesting point of views. It also means one who is k",
      "term": "Baaybeeh Jae"
    }
  ]
}

Closed by #61 and released as part of https://github.com/jaebradley/urban-dictionary-client/releases/tag/v3.1.0


[Feature] Document cell matching

Is your feature request related to a problem? Please describe.
@matham added functionality to compare two sets of cells in https://github.com/brainglobe/brainglobe-utils/pull/74 but this is not documented.
Describe the solution you'd like
A simple script showing how to use the top-level cell matching functionality.
Describe alternatives you've considered
-\
Additional context
-\

For reference, this is the scripts I used:
Loading (I just did sorting just for general niceness):
import pickle
from brainglobe_utils.IO.cells import get_cells_xml
from brainglobe_utils.cells.cells import Cell, from_numpy_pos
import numpy as np
import matplotlib.pyplot as plt

cells1 = get_cells_xml("cells_main.xml")
cells1 = np.array([(c.x, c.y, c.z) for c in cells1 if c.type != Cell.ARTIFACT])
cells1 = np.sort(cells1, axis=0, kind="heapsort")

cells2 = get_cells_xml("cells_cuda.xml")
cells2 = np.array([(c.x, c.y, c.z) for c in cells2 if c.type != Cell.ARTIFACT])
cells2 = np.sort(cells2, axis=0, kind="heapsort")

Optimization
--will add later---

Analysis:
with open(r"cells_cmp.pkl", "rb") as fh:
    cells1_missing, matches, cells2_missing = pickle.load(fh)

print(len(cells1_missing), len(matches), len(cells2_missing))
matches = np.array(matches)
cells1_missing = np.array(cells1_missing)

a = cells1[matches[:, 0], :]
b = cells2[matches[:, 1], :]
dist = np.sqrt(np.sum(np.square(a - b), axis=1))
plt.hist(dist, bins=1000)
plt.xlabel("Distance")
plt.ylabel("Count")
plt.title("Distribution of distances between matching cell pairs")
plt.show()

for i, name in enumerate(["X", "Y", "Z"]):
    plt.hist(cells1[cells1_missing, i], bins=1000)
    plt.xlabel(f"{name}-axis")
    plt.ylabel("Count")
    plt.title("Distribution of cells with no match")
    plt.show()


Created Contact.html and updated all the link

📝 Description
I have created a contact.html which contains a styled HTML form. I have also updated the anchor tags corresponding to Contact in NavBar as well as on the Footer, They now redirect to the newly created contact.html.
🔧 Fixes #(30)

📷 Relevant Screenshots associated with the above mentioned changes.

[x] I have performed a self-review of my own code.
[x] I'm a contributor in Hacktoberfest'21.

Thankyou @ManishS6

It was a pleasure helping you.


OS error when clean large list of cloud objects

when using our new feature pw.clean(cs=cobjs) I observe a kernel error when cobjs contains too much cloud objects. I assume that we should preallocated the list of cloud objects by a numpy array and it will solve the problem.
Example error:
Traceback (most recent call last):
  File "/home/omerbelh/pywren-annotation-pipeline/scripts/run_pipeline.py", line 28, in <module>
    pipeline.clean()
  File "/home/omerbelh/pywren-annotation-pipeline/annotation_pipeline/pipeline.py", line 193, in clean
    self.pywren_executor.clean(cs=cobjects_to_clean)
  File "/home/omerbelh/.pyenv/versions/3.6.7/lib/python3.6/site-packages/pywren_ibm_cloud/executor.py", line 446, in clean
    delete_cloudobject(list(cs), storage_config)
  File "/home/omerbelh/.pyenv/versions/3.6.7/lib/python3.6/site-packages/pywren_ibm_cloud/storage/utils.py", line 101, in delete_cloudobject
    os.popen(cmdstr)
  File "/home/omerbelh/.pyenv/versions/3.6.7/lib/python3.6/os.py", line 980, in popen
    bufsize=buffering)
  File "/home/omerbelh/.pyenv/versions/3.6.7/lib/python3.6/subprocess.py", line 709, in __init__
    restore_signals, start_new_session)
  File "/home/omerbelh/.pyenv/versions/3.6.7/lib/python3.6/subprocess.py", line 1344, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 7] Argument list too long: '/bin/sh'

@JosepSampe Thanks :) tested and it works


'My Images' doesn't handle 3rd party repositories

Expected behaviour
I have in my local Docker an image <server>/<project>/<image>:<tag>
I expect to view My Images and be able to identify and create instances of these images. These have not been downloaded from the default docker.io service
Actual behaviour
First issue is that different image names are not identified. In this screenshot, I have an API and WEB images, but they appear identical.

Second issue, is that pressing 'Create' results in an error, because Kitematic has incorrectly assumed the repo name is the project name, and ignored the last part of the URL.

Steps to reproduce the behavior

Upload an image to a 3rd party service, such as Google Container Registry
run the command docker pull on that repo
Open Kitematic and go to 'My Images'

Thanks for the bug and step to reproduce - I'll try to replicate and fix as needed.

@samkelleher Does this happen on public docker images hosted on third party container registries? Or is this just for private docker images? Or both?


Setting permissions on the apps folder

I have a single kudu Windows account that is member of the Administrators group. The user can change IIS configuration files and has full permissions on the apps folder.
Kudu fails to create new application with this setup, because the App Pool account for the new site cannot create subfolders in the apps folder. I must give the IIS_IUSRS Modify permission set to this folder to successfuly create new applications using Kudu. This makes all other App Pools able to modify files for all other sites.
What's the correct permission set for the apps folder where Kudu creates application folders to have a more secure environment where each application is isolated by App Pool permissions on it's sites folder.
Does Kudu manage these permissions somehow?

There are no permissions to set, as everything is writable (one exception, you can't write files directly in d:\home, only subfolders).

Hi
Kudu will continue to run in Azure App Service. However, this repo will no longer be maintained.
If the problem persists and is related to running on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


Centralise logic for validate string regex

Fixes #275

Codecov Report

Merging #316 (8ef7e89) into master (9aedbfe) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #316      +/-   ##
============================================
- Coverage     71.35%   71.34%   -0.02%
+ Complexity      689      688       -1
============================================
  Files           125      125
  Lines          2287     2286       -1
  Branches        255      255
============================================
- Hits           1632     1631       -1
  Misses          545      545
  Partials        110      110

Impacted Files
Coverage Δ

...in/java/seedu/foodrem/commons/util/StringUtil.java
94.44% <ø> (ø)

...m/model/item/itemvalidators/ItemNameValidator.java
90.00% <100.00%> (ø)

...odel/item/itemvalidators/ItemRemarksValidator.java
75.00% <100.00%> (ø)

...m/model/item/itemvalidators/ItemUnitValidator.java
87.50% <100.00%> (ø)

src/main/java/seedu/foodrem/model/tag/TagName.java
90.00% <100.00%> (-0.91%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add More Drupal Vulnerability Scanner

I'm excited on your FazScan program/tool. I suggest you to add more options on Drupal Vulnerability Scanner. Such like Drupal avatar-afd and etc.

Nice idea !. ASAP i'll do it.

I've done one addition and i will close this issue. If you have any idea with a detail vulnerability information, just open new issue and use the new issue template. Thank you ! :)


fixes a bug where collections of enums would not be mapped properly

fixes #772

it supports it for language that support it, that is dotnet and typescript AFAIK


fix(deps): update terraform-module

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/cbr/ibm (source)
module
minor
1.28.1 -> 1.29.0

terraform-ibm-modules/cos/ibm (source)
module
minor
8.14.4 -> 8.15.1

terraform-ibm-modules/kms-all-inclusive/ibm (source)
module
patch
4.16.9 -> 4.16.10

terraform-ibm-modules/observability-agents/ibm (source)
module
patch
2.3.0 -> 2.3.3

Release Notes

terraform-ibm-modules/terraform-ibm-cbr (terraform-ibm-modules/cbr/ibm)
v1.29.0
Compare Source
Features

added cloud logs support to the fscloud submodule profile (#568)

terraform-ibm-modules/terraform-ibm-cos (terraform-ibm-modules/cos/ibm)
v8.15.1
Compare Source
Bug Fixes

deps: update terraform terraform-ibm-modules/cbr/ibm to v1.29.0 (#780) (0496ffb)

v8.15.0
Compare Source
Features

exposed the ability to set the provider_visibility in the DAs Learn more (#779) (cf8787b), closes /registry.terraform.io/providers/IBM-Cloud/IBM/latest/docs#visibility-1

v8.14.5
Compare Source
Bug Fixes

deps: update terraform-module (#775) (d25d069)

terraform-ibm-modules/terraform-ibm-kms-all-inclusive (terraform-ibm-modules/kms-all-inclusive/ibm)
v4.16.10
Compare Source
Bug Fixes

deps: update terraform terraform-ibm-modules/cbr/ibm to v1.29.0 (#588) (0319e5f)

terraform-ibm-modules/terraform-ibm-observability-agents (terraform-ibm-modules/observability-agents/ibm)
v2.3.3
Compare Source
Bug Fixes

add wait_til support to cloud logs agent submodule (#431) (bbfa716)

v2.3.2
Compare Source
Bug Fixes

deps: update logs agent to 1.4.0 (#430) (496e9e3)

v2.3.1
Compare Source
Bug Fixes

deps: update logs agent to 1.3.3 (#426) (af5d553)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

:tada: This PR is included in version 3.35.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


⚠ Ixtanet SAT has degraded performance

In f1d72bd, Ixtanet SAT ($MEDIA_SAT) experienced degraded performance:

HTTP code: 200
Response time: 20978 ms

Resolved: Ixtanet SAT performance has improved in 7f8ef54.


CORS support for backend API

I used the framework to create a small app for Celebs face detection, but faced problems using the API due to CORS issue.
I forked the code to create Flask CORS to support that. But do you think that it will be good addition to enable CORS?
My change -
https://github.com/havingfun/face-recognition/blame/bb27a158014163b00d760c305fa49d0728050144/api/app.py

@havingfun sure! Send me a PR!


BigQuery pricing unit for onDemandCost is tebibyte instead of terabyte

Many queries used in this repo are calculating the on-demand costs and billed bytes/MBs/GBs like in this example:
       SUM(COALESCE(totalBilledBytes, 0)) AS totalBilledBytes,
        ROUND(SUM(COALESCE(totalBilledBytes,
              0)) / 1000000, 2) AS totalMegabytesBilled,
        ROUND(SUM(COALESCE(totalBilledBytes,
              0)) /<PHONE_NUMBER>, 2) AS totalGigabytesBilled,
        ROUND(SUM(COALESCE(totalBilledBytes,
              0)) /<PHONE_NUMBER>000, 2) AS totalTerabytesBilled,
        ROUND(SAFE_DIVIDE(SUM(COALESCE(totalBilledBytes, 0)),
<PHONE_NUMBER>000) * 5, 2) AS onDemandCost,

But the pricing unit used by Google to calculate the costs is tebibyte , not terabyte

Kibibyte (KiB)     1024¹ = 1,024
Mebibyte (MiB) 1024² = 1,048,576
Gibibyte (GiB)    1024³ = 1,073,741,824
Tebibyte (TiB)    1024⁴ = 1,099,511,627,776

I have used this query with the exported billing records table to check this:
select
  service.description as service_description,
  sku.description as sku_description,
  usage.unit as usage_unit,
  usage.pricing_unit as usage_pricing_unit,
  count(*) as count,
  sum(cost) as cost_eur,
  sum(cost / currency_conversion_rate) as cost_usd,
  sum(usage.amount) as usage_amount,
  sum(usage.amount_in_pricing_units) as amount_in_pricing_units,
  sum(cost / currency_conversion_rate) / sum(usage.amount_in_pricing_units) as cost_per_pricing_unit_usd,
  sum(usage.amount) / sum(usage.amount_in_pricing_units) as amount_to_pricing_unit_conversion_rate,
  pow(1024, 4)  as tebibyte_in_bytes
from `<MY_BILLING_EXPORT_TABLE`
where 1=1
  and _partitiontime >= timestamp_sub(current_timestamp, interval 7 day)
  and service.description = "BigQuery"
group by service.description, sku.description, usage_unit, usage_pricing_unit
order by service.description, sku.description

BTW: Awesome that you have collected these SQL statements here, this will really help me! :-)

Awesome collection indeed!
Also adding to @dleser I think there is one 0 too few in top_billed_queries_deduplicated making the cost 10 times higher then in reality?

@ericel79 , you are right.
ROUND(SAFE_DIVIDE(total_bytes_billed,
<PHONE_NUMBER>00) * 5, 2) AS cost,

(see https://github.com/doitintl/bigquery-optimization-queries/blob/main/information_schema/top_billed_queries_deduplicated.sql#L26 )
should be:
ROUND(total_bytes_billed / POW(1024, 4) * 5, 2) AS cost,

BTW: Please remind that the cost factor 5 USD/TB used here is only valid for on-demand pricing in some, but not all regions. E.g.:

europe-west3: 6.5 USD/TB
europe-west1: 6 USD/TB
but multi-region Europe (eu): 5 USD/TB

And.. whats your oppinion on filtering on AND NOT cache_hit as well if you want to calculate cost - because hitting the cache doesn't cost anything. @dleser


WIP: Initial pass of Prometheus configuration for Vertx.

https://issues.jboss.org/browse/RHOARDOC-1442
@cescoffier @inoxx03 @tradej
Please review the Java code in the pull request. @inoxx03 deserves the credit and I any blame.
To be consistent please provide an example similar to what is provided in the upstream Spring Boot example.

This PR has been superseded by the #1226, which incorporates the changes contained herein and will be merged in lieu of this one. I am closing this PR, because it contains no changes to merge.


Add default block display mode on content area

It would be great if default width of the block could be added for content area. The setting could be configured through attribute on content are property like:
[DefaultDisplayMode("one-third")
public virtual ContentArea ContentArea {get;set;}

If "one-third" does not exist, fallback to full width.

Glimpse of upcoming feature:
[ContentType(...)]
[DefaultDisplayOption(ContentAreaTags.HalfWidth)]
[DefaultDisplayOptionForTag("ca-tag", ContentAreaTags.OneThirdWidth)]
[DefaultDisplayOptionForTag("ca-tag2", ContentAreaTags.ThreeQuartersWidth)]
public class SomeBlock : BlockData
{
}

DefaultDisplayOptionForTag regulates which DisplayOption will be chosen by default if Content Area was rendered with tag Html.ContentArea(m => m.ContentArea, new { tag = "..." })

New feature will control default display option from block's perspective at the moment though.

another upcoming feature:
public class StandardPage : PageData
{
    [DefaultDisplayOption(ContentAreaTags.OneThirdWidth)]
    public virtual ContentArea MainContentArea { get; set; }
}

@valdisiljuconoks Is it possible to set the default DisplayOption for Block from inside the Block model, like you can do with the Additional Styles? It would be handy when migrating from another renderer with DisplayOption already set into Block.

hi,
you mean not like this with attributes:
[ContentType(...)]
[DefaultDisplayOption(ContentAreaTags.HalfWidth)]
public class Block { ... }

but from the block content type code itself?

not at the moment, but it might be pretty easy to add..

Yes, from the block content type code itself. This might also be possible to achieve by using "Modify Block Start Element" technique, but I'm having difficulties to get it work. I'm converting old webforms site to MVC razor and trying to replace rendering engine used in web forms to this one. Such a mess. 🙈

hahhaaa.. that's phrase I haven't seen for a while good luck! :)
what do you think - who would win if you are dropping block with display option (DO1) set via attribute, having also override in method (DO2) into the content area with default display option set to DO3?

Tough one. The most inner/specific setting (DO2) should be the winner?

moved to new issue #35


为 paddle.atleast_2d 中文文档添加图例和说明

close due to the following PR is merged:

https://github.com/PaddlePaddle/docs/pull/6991


[Cloud Megamenu]: Non-alphabetical titles being selected in the cloud megamenu when using special character languages

Detailed description

Describe in detail the issue you're having.

When using special character  language translations (ie. Korean, chinese, japanese, etc.) the megamenu has selected states for multiple menu items.
This is due to the regex used in https://github.com/carbon-design-system/carbon-for-ibm-dotcom/blob/master/packages[…]nents/src/components/masthead/cloud/cloud-masthead-composite.ts which removes all special characters. This messes with the tabbing functionality

Is this a feature request (new component, new icon), a bug, or a general
issue?

bug

Is this issue related to a specific component?

This issue is specific to the Cloud Megamenu component.
Additional Notes:

Will Slack in the Squad channel to get more info.  Is this needed in the July 7 release.  Can HC dev's work on this?


Feature/nginx ssl

Change the nginx-marathon and nginx-mesos-leader containers to no longer use --net=host

:+1:

Hey @ChrisAubuchon you have some issues with this and the feature/granular-security
<<<<<<< HEAD
		listen {% raw %}{{ env "NGINX_PUBLIC_IP" }}{% endraw %}:{{ marathon_proxy_port }} {% if do_marathon_ssl|bool %}ssl{% endif %};
=======
		listen {{ marathon_proxy_port }} ssl;
>>>>>>> feature/nginx-ssl

I am guessing the result should be something like:
listen {{ marathon_proxy_port }}{% if do_marathon_ssl|bool %} ssl{% endif %};

or does it require the public ip?

Yeah. I have an updated feature/granular-security locally that I can push. I was thinking that we merge this one into master and then I fix the merge conflicts in feature/granular-security.
Your guess is a good one. That is what it will need to be.

Going to rebase


BTRFS partition size for /mnt/hdd/bitcoin incorrect? (1.6rc3)

Attempted to try out BTRFS while performing a migration to a new hard drive using Raspiblitz 1.6rc3. Drive ran out of space transferring the blockchain from my windows device over SCP. Maybe hdd/bitcoin is supposed to be mounted to /dev/sda2?

Perhaps it was user error. Switched to ext4 and all is well. Apologies if I've submitted this issue incorrectly, I have not done this before.

Issue has already been reported in #1055


Chartist.Axis undefined in v0.7.0

Chartist v0.7.0 is broken:
Cannot read property 'units' of undefined: Chartist.Axis.units.x (line 2282)

Crap :-) somehow I didnt commit my task file and the test site is including all files manually... Ill push a new release right now

That was fast, thx ;)

Ok master is updated with v0.7.1 and so is NPM and bower. The CDN will be up to date soon. Thanks for pointing out!


Copy workspace inclusion

https://github.com/smartsheet-platform/smartsheet-csharp-sdk/issues/114

@pratik136 @lifebeyondfife @rzaracota @mykelbengineer I think we can mark this as won't fix.
It would be a public API change see link.
https://smartsheet.redoc.ly/tag/workspaces#operation/copy-workspace


Code scanning: only repo admins can now delete alerts

What feature or product is affected?
Code scanning. Docs on "Dismissing or deleting alerts."
What is the new or expected behavior?
The behaviour has just been changed so that only repository admins can delete code scanning alerts. Other users who have write permission to the repo, and can therefore see the alerts summary list, won't see the Delete button:

How is the old or inaccurate behavior currently documented?
The documentation doesn't currently state that you have to be a repository admin to delete alerts. Non-admin users with write permission to the repo might wonder why they are not seeing the Delete button shown in the screenshot in step 4 of "Dismissing or deleting alerts."
This just requires a couple of additions to explain this prerequisite.
In the introductory paragraph of this section, change:

Alternatively, you can delete alerts.

to:

Alternatively, if you have admin permission for the repository, you can delete alerts.

In step 4 of the section, change:

If you want to delete alerts for this code scanning tool

to:

If you have admin permission for the repository, and you want to delete alerts for this code scanning tool

Now fixed.
https://github.com/github/docs/pull/760 closes this issue.


Custom RequestValidationError but Swagger not update the schema

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
@app.exception_handler(RequestValidationError)
async def validation_exception_handler(request, exc):
    errors = exc.errors()
    custom_error = []
    for error in errors:
        custom_error.append(error['msg'])
    return JSONResponse(status_code=422, content=jsonable_encoder({'detail': custom_error}))

Description
After I custom the RequestValidationError above, the swagger's schema is still the original one.
Operating System
Windows
Operating System Details
No response
FastAPI Version
0.79.0
Python Version
3.9.13
Additional Context
No response

Not sure if adding it this way changes OpenAPI doc.

@iudeen  is correct, adding a handler does not automagically add that to the generated openapi.json. You would have to add those to the endpoints themselves in order for them to show up in the spec, otherwise it will use the default definition:
validation_error_definition = {
    "title": "ValidationError",
    "type": "object",
    "properties": {
        "loc": {
            "title": "Location",
            "type": "array",
            "items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
        },
        "msg": {"title": "Message", "type": "string"},
        "type": {"title": "Error Type", "type": "string"},
    },
    "required": ["loc", "msg", "type"],
}

validation_error_response_definition = {
    "title": "HTTPValidationError",
    "type": "object",
    "properties": {
        "detail": {
            "title": "Detail",
            "type": "array",
            "items": {"$ref": REF_PREFIX + "ValidationError"},
        }
    },
}

@JarroVGIT Thanks, but how could I add them to endpoints?

It’s described here in the docs . You can add a 422 response in the responses parameter of the decorator and that will override the default.

@JarroVGIT Thanks again! I'll close this issue~


Run django migrate after deploying to heroku

So that we don't have to run the command manually every time

Coverage remained the same at 96.643% when pulling b6466ce3367d51ca90e5208a228dbee5d5bf1ea3 on heroku-migrate into 613fb379b4942b2282c9e02ef838b35d199bd824 on master.


Add new widget types for directories and output files

For file outputs, I created a text <input> below the hierarchy widget for the user to type in the new item name.

There is minimal validation done when submitting the modal.

The main control widget now shows a path string rather than an object id.

Finally, the submit button actually POST's to the analysis endpoint.  I think it is submitting correctly, but I haven't been able to get the celery working running correctly locally yet.

Minor nit, it looks like in your Select button, you put the text inside the <i> tag rather than as a sibling of it ;)

Fixed.  Also, I change the button text to Save.

@jbeezley To test, I git cloned your branch (directory-io), went to the front-end page at http://localhost:8080/histomicstk#ColorDeconvolution, and tried to set Output Image of Stain 1. But i could not see your new widget. See snapshot below:

Do i have to do anything else to get to see the new widget?

Did you rerun npm install?

@jbeezley i could see the new widget after running npm install. If i hit submit, is it supposed to run the job, or that is not implemented yet?

It should POST the analysis to the server.  When I tried, I got an internal server error, which I assumed was because my worker isn't setup correctly, but there could be something else going wrong.  I'll look into it more a bit later.

I tried running it using the submit button but it dint seem to do anything --- no new job was initiated at http://localhost:8080/#jobs/ and saw nothing on the girder or girder_worker command-line.

I just fixed a bug that may have caused silent validation errors and added an error dialog to the form submission in case something goes wrong. You will need tonpm install again (as always with client code updates).

@jbeezley It now runs the CLI successfully.
LGTM! Can be merged.


How to create executable?

I have:
WARNING: No main bin file defined! Resulting phar will NOT be executable
How can I prevent this?
Thanks

Which command did you run?

@cirolaferrara you need to add a bin section in your composer.json look here how it is done


more robust import of TaskDataStore

The import of TaskDataStore through metaflow.datastore is only available after Netflix/metaflow@adf0cb437c31cccaccbffda39de116dbc955df62 (tagged 2.4.9). Given the example uses version 2.4.1, it's more robust to move the import from metaflow.datastore to metaflow.datastore.task_datastore, which is still viable for the newest version.

Hi @PanyiDong - we have updated to metaflow 2.7.15, and refactored a lot of this code in preparation for our OpenFL 1.5 release, so I'm going to close this PR. Let me know if you're still running into issues!


Add page for Visual Studio Code

Hello, and thanks for creating the guide. I noticed Visual Studio Code was on your to-do list, so I thought I give you a hand.

@skycommand Nice!

Hello! Is anyone alive?

Hey! Thanks for submitting this PR and checking in again. This slipped off my radar — mea culpa. 😳
Let's go ahead and merge this and see what people come back with. Sometimes people will flag stuff by opening issues, but I don't immediately see any issues with this. (I'm a VScode user myself!)
Thanks again, appreciate you opening this.


src/graphql -> query and mutations not generating

Describe the bug
A clear and concise description of what the bug is.
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
If applicable, add screenshots to help explain your problem.
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
Add any other context about the problem here.
Sample code
Include additional sample code or a sample repository to help us reproduce the issue. (Be sure to remove any sensitive data)
You can turn on the debug mode to provide more info for us by setting window.LOG_LEVEL = 'DEBUG'; in your app.

Could you share the <project-root>/.graphqlconfig.yml so we could reproduce this issue. Please make sure you obfuscate sensitive information like API Keys


Never hide the URL bar in vertical view.

In mobile web browsers, the automatic hiding of the URL bar when scrolling down is a user interface feature from an era when mid-range smartphones had 4:3 aspect ratio screens with 240p resolution, like the Galaxy Fit S5670, where hiding the URL bar would save a significant portion of the screen space.
In 2023, we are at a point where large 18:9 screens are commonly found in smartphones for a long time already. In horizontal view, hiding the URL bar still makes sense, but in vertical view, the hiding of the URL bar is only an annoyance at this point.

I still like it on my 9:18, maybe put it under an option

I still like it on my 9:18, maybe put it under an option

Same, it should be a toggle if anything.

Settings > Toolbar > Toolbar always on screen


Updated model listener API to be more integration friendly

Issue
ModelListener does not allow passing data between methods of the same listener or between multiple listeners.
Change

added attributes to allow passing data between listener methods or multiple listeners
changed generic model listener to model-specific listener

General checklist

[ ] There are no breaking changes
[X] I have added unit and integration tests for my change
[X] I have manually run all the unit and integration tests in the module I have added/changed, and they are all green
[X] I have manually run all the unit and integration tests in the core and main modules, and they are all green
[ ] I have added/updated the documentation
[ ] I have added an example in the examples repo (only for "big" features)

@geoand could you please review?

@geoand that was fast 😅 Thank you!

YW :)


Resolves #120: Cleaned code to use generic function for reporting error messages

This PR resolves #120
Cleanup the error reporting code with generic format and function.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Implement the titan lexer and parser

There are few thing pending, but I think we should create new issues to fix them.

Lexer:

accept multi-line comments/strings
hexadecimal numbers
full float-point numbers
string escapes

Parser:

operator precedence
add locations to ast
add void type??

Automatic tests

with busted?
should we use the inspect library or a custom serializer?

It is a good start, we have to check with Sérgio how to do left-associativity with parser-gen, I didn't see anything like chainl or fold captures in the docs.

@mascarenhas maybe parser-gen does not have chainl or fold captures because it is based on the re module from LPeg, which also does not provide fold captures.

At the worst we can fake it with repetition, throwing all the expressions with the same precedence level plus their operators in a table, and do a left fold on that table.

For now I believe we will have to go for this kind of workaround. I'm posting here a silly example that shows how we can implement it in the Titan parser. :)
package.path = package.path .. ";../?.lua"
local pg = require "parser-gen"

local function eval (exp)
  if exp.rule == "exp" then
    if exp[2] then
      return eval(exp[1]) + eval(exp[3])
    else
      return eval(exp[1])
    end
  elseif exp.rule == "term" then
    if exp[2] then
      return eval(exp[1]) * eval(exp[3])
    else
      return eval(exp[1])
    end
  elseif exp.rule == "factor" then
    if exp[2] then
      return - eval(exp[2])
    else
      return eval(exp[1])
    end
  elseif exp.rule == "power" then
    if exp[2] then
      return eval(exp[1]) ^ eval(exp[3])
    else
      return eval(exp[1])
    end
  elseif exp.rule == "primary" then
    return eval(exp[1])
  else
    return tonumber(exp[1])
  end
end

local function previous_rule (rule)
  if rule == "term" then
    return "exp"
  else
    return "term"
  end
end

local function fold (...)
  local t = { ... }
  local rule = previous_rule(t[1].rule)
  local folded = { rule = rule, t[1] }
  for i=2,#t,2 do
    folded = { rule = rule, folded, t[i], t[i+1] }
  end
  return folded
end

local grammar = pg.compile([==[
  exp <- (term ('+' term)*) -> fold !.
  term <- (factor ('*' factor)*) -> fold
  factor <- '-' factor / power
  power <- primary ('^' factor)?
  primary <- NUM
  NUM <- [0-9]+
]==], { fold = fold })

local ast, err = pg.parse("-1+2^3+2*5", grammar)
if ast then
  print(eval(ast))
else
  print("error")
end

The solution I am coding right now is to dump all the basic expressions
and operators on a flat list and use a smart precedence-aware algorithm
to build a tree after the fact. I is similar to the one used in the
subexpr function in Lua's lparser.c, but with a different logic for the
unary prefix operators.
One thing that I am finding a bit tricky is that it is very easy to mix
< with <<, local x with localx, and so on. In this particular
case of parsing this luckly doesn't bite us because none of the prefix
operators is the suffix of another operator but I find this very
fragile... I am thinking about moving all the quoted strings in the
parser section of the grammar to the lexer section and use lookaheads
to make sure we never match a prefix of a longer token. The kind of
thing that the symb and kw functions did in TypedLua's lexer.


Allow tye yamls to be merged.

Start of multirepo support (https://github.com/dotnet/tye/issues/239).
This adds the ability to have a service reference to a tye.yaml file inside of a tye.yaml. Currently, the config would look like:
name: VotingSample
services:
- name: vote
  project: vote.csproj
- name: worker
  include: ../worker/tye.yaml

Working on a few tests as well. Drafting to figure out if people like the structure before writing a ton of tests.

Structure is what I expected to see 👍
it would be cool if we could test this at the data layer - start writing assertions about ApplicationBuilder.


I export the model to onnx, only to find no inputs node exsits, is there any suggestions?

Sorry I'm not familiar with onnx.


Windows OS support

On VerneMQ download page there is said that the broker doesn't support Windows yet due to LevelDB code.
On LevelDB page Windows is listed as supported platform.
Could you please suggest what is involved in implementing Windows support and how big would the effort be?

Thank you @larshesel for the feedback,
I would like to ask a couple more related questions:

Can we run VerneMQ on Windows with persistence disabled (i.e. in-memory persistence used)?
How much effort would it take to implement rocks-db support for VerneMQ 1.x as opt-it?
How much effort would it take to implement rocks-db or some other storage support for VerneMQ 2.0? Also is VerneMQ 2.0 release scheduled?

Thanks in advance!

Hi @larshesel, by any chance had anything come of this during the past year, or is Windows hosting still not an option?

Windows is still not supported directly, though I've heard that it should be possible via docker.

@larshesel thanks, that's what we ended up deciding.

@larshesel since there hasn't been any activity here since 2019...may I ask if there are any news on this?
Is there a chance that VerneMQ 2.0 will support Windows at all? Thanks for your help!

@whatever778 Thanks for asking, yes, there is a chance that Verne 2.0 will support Windows :)
Works on RocksDB and Leveled is happening, https://github.com/vernemq/vernemq/pull/1885, although there remains stuff to do.
Leveled is pure Erlang, RocksDB does not have the compile issues eleveled has (which is the single reason there's no Windows support, as mentioned in thread).
Note that for production deployments, there will always be the recommendation to deploy on Linux.

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

@ioolkos cool, thanks for your answer. Is there also an estimated timeline or is it all still sort of up in the air?

@whatever778 enabling RocksDB etc is concrete & prioritised but I will not announce a time line for it just now.
If you'd want to discuss any specific context, just leave a message on Verne site.

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.


feat: revamp the testimonials sliding animation design 🪄✨

Description

I would like to improve the Testimonials Sliding animation by improving the design.
Currently one slide is sliding at a time, but there's so much of wasted space on desktop and laptop screens.
My idea is to implement 3d looking slide, the slide will be more attractive than the present one.
I'm sharing current and desired state screenshot for your consideration below.

Screenshot

CURRENT
DESIRED

Hey there @SurajPratap10 👋🏻
Please make sure to assign this issue to me to make the work done, Thank You!


FRCE: singularity/snakemake version issues

Problem
FRCE is loading singularity and snakemake default values without setting a version. This is causing failures in snakemake calls which have been updated on Biowulf and Biowulf8
Solution
Install the equivalent versions of singularity and snakemake on FRCE to ensure compatibility with the pipeline on any platform. Long term solution is to containerize pipeline, but for now, this is temp solution.
Steps:

Update snakemake to version snakemake/7.19.1
Update singularity to version  singularity/3.10.5
update frce_run_exome_pipeline.sh with corrected versions
run init and dryrun on frce using commands:

# init
sh frce_run_exome_pipeline.sh init /path/to/output/dir
# dryrun
sh frce_run_exome_pipeline.sh dryrun /path/to/output/dir

no longer required!


ThreeFold Connect app - undefined is not an object (evaluating 'e.find') error message

I was getting this error message from the ThreeFold Connect mobile app on ios 14.4 app version 2.3.1 multiple times today while was trying to make a transaction to deploy a new VDC on vdc.devnet.grid.tf

the message displayed after scanning the QR and confirm.
worth mention that trying the deployment on testnet at that time failed too with an error message shown in the screenshot below

Entire flow was reworked there and the code that calls that error should no longer even exist. Still not 100% sure it is fixed since we never found a cause, but I'll close it for now.


Does not work prepare SELECT IN (list - prepare value)

curs.execute("SELECT 1 WHERE 1 IN (?)", [1,2,3,4])
pyodbc.ProgrammingError: ('The SQL contains 1 parameter markers, but 4 parameters were supplied', 'HY000')

You can't pass a Python list as a SQL parameter.  The parameters have to correspond to single values - strings, integers, floats, datetime.date, etc.  See the list of available object types on the wiki page https://github.com/mkleehammer/pyodbc/wiki/Data-Types , look for the "Python Datatype" column in the first table there.

There are three issues:

pyodbc doesn't have array bindings yet
I don't think ODBC / SQL Server will actually process an array in an IN statement which is why I didn't bother with the array bindings.
pyodbc is unpacking the list since that is how the DBAPI requires parameters.

I'll retest IN clauses with array parameters, but I'm pretty sure SQL Server wouldn't take it.  If it does, I'd like to have it myself so I'll add it immediately.  If not I'll update this.
I end up constructing the IN clause like so:
params = [...]
qmarks = ','.join('?' * len(params))
sql = "select ... in {}".format(qmarks)

I'm not a fan, but I was pretty sure it was required.  I'll check again because I'd really like to not have to do that also.
The last point is that the DBAPI requires execute only have 2 parameters, (sql, params), where params is a sequence of parameters.  When pyodbc sees a single parameter that is a sequence, for compatibility with the API it will unpack it.  For those cases wrap it in another sequence:
execute("...", ( [1,2,3,4] ))
If you are working in a section of code that has a variable number of parameters and you are generating SQL, etc. and you don't want to special case this kind of code, simply always use an extra sequence.  This works fine:
execute("select * from u where id=?", (1))

Obviously when writing by hand, which is most of the time, I prefer not to use the outer sequence.

OK, it appears that it is not possible to solve this: Arrays and Lists in SQL Server
I'm not sure he is the expert, but I haven't seen anything contradicting it and it matches my testing.
I wish it wasn't the case or that SQL Server had a better operator like some other databases.  In the meantime, you'll need to format the SQL yourself.
Remember, do not put the values into the where clause, just question marks.  You don't need SQL injection vulnerabilities.

Howdy. My two cents.
Microsoft SQL supports TABLE variables, which can carry an arbitrary amount of records.
Example:
-- Dummy table to join as example
CREATE TABLE MyTable(n INTEGER);
INSERT INTO MyTable VALUES (1),(2),(3);

-- Example of how to embed a dynamic list of values into a query
SELECT *
From MyTable r, (VALUES (2), (3)) AS v([n])
WHERE r.n = v.n;

-- Further extending the previous example with a TABLE variable
declare @myList TABLE(n INTEGER);
INSERT INTO @myList VALUES (1), (2);
SELECT *
From MyTable r, @myList v
WHERE r.n = v.n;

But I think ODBC does not expose an API to be able to bind arrays to table variables.


Compatibility with Vite and Vue 3

The Vue 3 compatibility only works with webpack.
I'd really love to use this in my project, however I can't find a way to implement it.

Closing this as it will be fixed with proper vue 3 migration.


Removing and EdgeMarker

Hello,
Looking at the demo, it shows how this can be added to the map, but is how does a user remove it if they don't wish to see it. I've tried calling map.removeLayer(myEdgeMarker) but this doesn't work.

Hi,
I just added a function to remove the EdgeMarker from the map.
Just download the new Version and call myEdgeMarker.destroy()

Thanks.


Sqlite update with "from" does not recognize the validity of rowid column

System information:

Operating system (distribution) and version Windows 10
DBeaver version 7.3.2
Additional extensions -none

Connection specification:

sqlite local file
sqlite-jdbc-3.34.0.jar   SQLite JDBC driver by Taro L. Saito (extension of Zentus driver)
Do you use tunnels or proxies (SSH, SOCKS, etc)? no

Describe the problem you're observing: on some update queries, dbeaver reports an error that there is no 'rowid' column when there definitely is (it's a hidden column created in all sqlite tables unless the table is explicitly created not to have one)
Steps to reproduce, if exist:
My table is called p_usage_2 and I need to do an update that involves a self-join. The self-join select itself works just fine and returns results which means the rowid is recognized just fine as being part of that table (which it is), eg this works:
select p1.rowid p1r, p2.rowid p2r, p1.title p1t, p1.isbn p1i, p2.isbn p2i, p1.callnumber p1c, p2.callnumber p2c
from p_usage_2 p1 join p_usage_2 p2 on (p1.title = p2.title)
where p1.title is not NULL and p1.callnumber is not NULL and p2.callnumber is NULL and p1.rowid > p2.rowid;

and also very simple updates involving rowid also work fine, eg:
update p_usage_2 set callnumber = NULL where rowid = 11662;  -- this updates the record, no error

However, when I try to use this select as the basis for an update, I get the error below:
update p_usage_2 set callnumber = s.p1c from
(select p1.rowid p1r, p2.rowid p2r, p1.title p1t, p1.isbn p1i, p2.isbn p2i, p1.callnumber p1c, p2.callnumber p2c from p_usage_2 p1 join p_usage_2 p2 on (p1.title = p2.title)
where p1.title is not NULL and p1.callnumber is not NULL and p2.callnumber is NULL and p1.rowid > p2.rowid) as s
where s.p1i = isbn and s.p2r = rowid and callnumber is NULL;

I get the error message:  SQL Error [1]: [SQLITE_ERROR] SQL error or missing database (no such column: rowid)
Include any warning/errors/backtraces from the logs
Here's everything from the log file relating to this event:
!ENTRY org.jkiss.dbeaver.model 4 0 2021-01-29 19:39:39.834
!MESSAGE SQL Error [1]: [SQLITE_ERROR] SQL error or missing database (no such column: rowid)
!SUBENTRY 1 org.jkiss.dbeaver.model 4 0 2021-01-29 19:39:39.834
!MESSAGE SQL Error [1]: [SQLITE_ERROR] SQL error or missing database (no such column: rowid)
!SUBENTRY 2 org.jkiss.dbeaver.model 4 0 2021-01-29 19:39:39.834
!MESSAGE [SQLITE_ERROR] SQL error or missing database (no such column: rowid)
!STACK 0
org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such column: rowid)
	at org.sqlite.core.DB.newSQLException(DB.java:1012)
	at org.sqlite.core.DB.newSQLException(DB.java:1024)
	at org.sqlite.core.DB.throwex(DB.java:989)
	at org.sqlite.core.NativeDB.prepare_utf8(Native Method)
	at org.sqlite.core.NativeDB.prepare(NativeDB.java:134)
	at org.sqlite.core.DB.prepare(DB.java:257)
	at org.sqlite.jdbc3.JDBC3Statement.execute(JDBC3Statement.java:45)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.execute(JDBCStatementImpl.java:327)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:130)
	at org.jkiss.dbeaver.ui.editors.sql.execute.SQLQueryJob.executeStatement(SQLQueryJob.java:509)
	at org.jkiss.dbeaver.ui.editors.sql.execute.SQLQueryJob.lambda$0(SQLQueryJob.java:440)
	at org.jkiss.dbeaver.model.exec.DBExecUtils.tryExecuteRecover(DBExecUtils.java:168)
	at org.jkiss.dbeaver.ui.editors.sql.execute.SQLQueryJob.executeSingleQuery(SQLQueryJob.java:427)
	at org.jkiss.dbeaver.ui.editors.sql.execute.SQLQueryJob.extractData(SQLQueryJob.java:812)
	at org.jkiss.dbeaver.ui.editors.sql.SQLEditor$QueryResultsContainer.readData(SQLEditor.java:3181)
	at org.jkiss.dbeaver.ui.controls.resultset.ResultSetJobDataRead.lambda$0(ResultSetJobDataRead.java:121)
	at org.jkiss.dbeaver.model.exec.DBExecUtils.tryExecuteRecover(DBExecUtils.java:168)
	at org.jkiss.dbeaver.ui.controls.resultset.ResultSetJobDataRead.run(ResultSetJobDataRead.java:119)
	at org.jkiss.dbeaver.ui.controls.resultset.ResultSetViewer$ResultSetDataPumpJob.run(ResultSetViewer.java:4514)
	at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:105)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Thank you for the report.
(P.S. table p_usage_2 is created to reproduce)

Hello @mbelvadi2
Have you try use alias for rowid when using subqueries?
https://stackoverflow.com/questions/8682398/sqlite-says-no-such-column-rowid-when-using-sub-queries
This quote is very similar to the answer you need:

I'm guessing the reason you have to alias it in the outer query is that in that context, ROWID is ambiguous -- it could refer to a column in m1, or a column in the subquery results. But in the subquery, there's no such ambiguity. If that's the reason, then the error message is misleading, as you thought.

So, this error not from DBeaver side. It is from SQLite side. And I convert this ticket into discussion.


More files being ignored than should be

Hi,
I'm running a gradle build environment and it has a buildSrc directory.  In this directory, I need to ignore the .gradle and build directories and all their contents.  The pertinent entries in the .gitignore are:
/.idea
/build
/**/*.iml
/.gradle
/buildSrc/.gradle
/buildSrc/build
However, this is resulting in the build.gradle and all contents of the src directory being ignored as well, which puts me in a position where I have to manage my file changes with Git outside of IntelliJ.

@johnhall What version of plugin do you use ? Can you still reproduce this issue ?

Yes, it's consistently reproducible.  I'm using version 1.2 on IntelliJ 15.0.4.

Can you provide me some fake-project with the files tree and gitignore file that is simmilar to your environment and will reproduce the issue ?

Sure, but I'm beginning to wonder if it might be IntelliJ itself that is causing the issue.  Check out this graphic:

I had a typo, so renamed playGround.html to playground.html.  Notice how it's displayed incorrectly as playGround.html in the Version Control panel, but is displayed correctly as playground.html in the editor tab and the editor tab does not see the file as new (the text isn't green).  Since the file name is out of sync, playground.html is intermittently dropped from the change set list in the Version Control panel (I think); I have to refresh the panel to get it to show up again.  Also, playgroundFormCtrl.js is recognized as not added to Git in the project panel and editor tab, but is recognized as added in the Version Control panel.
Is it possible that IntelliJ could be causing issues for your plugin like this?

At this point I think that this issue was actually caused by IntelliJ itself.  Sorry to bother you with this.

@johnhall I appreciate that you had the time and willingness to improve the quality of my plugin, thanks ! :+1:


A flood of errors in RLP and Adapter

[X] I am having trouble getting setup, understanding documentation, or using
Loggregator in some way - please highlight any resources you are using.

After upgrading to Loggregator 101 (101.7&8 to be precise) and the syslog release 5.1 things seem to be working OK.  Logs are draining.  But, we're slightly concerned by a significant flood of errors in the RLP and Adapter that we don't understand.
Every 10 minutes we get a number of errors like the following.  The number of errors increases with the number of syslog drain services bound to apps in the environment.  We started a conversation in Slack that ended with this post.  https://cloudfoundry.slack.com/archives/C02HCCXV5/p1521050087000867  Thought I was create this github issue since it is difficult to track this type of thing in Slack.
RLP:
Unable to connect to doppler ({dopper ip rotating between all of them}:8082): rpc error: code = Canceled desc = context canceled (~2,434,776 events an hour)
Error while reading from stream ({dopper ip rotating between all of them}:8082): rpc error: code = Canceled desc = context canceled (~4,121,338 events an hour)
Subscribe error: context canceled (~987,692 events an hour)

Adapter:
failed to open stream for binding {every app guid with a syslog drain ~1200 of them}: rpc error: code = Canceled desc = context canceled (~525,713 events an hour)
Subscriber read/write loop has unexpectedly closed: rpc error: code = Internal desc = transport is closing] (~424,855 events an hour)

@youngm those log lines shouldn't be concerning. It's just normal behavior of gRPC for how we are using it. We are scheduling some work to remove these log lines (and convert them to counter metrics).
See also https://www.pivotaltracker.com/story/show/156054106

@ahevenor That's good to hear.  So are these normal messages related to tearing down a connection or something?  When this is turned into a metric what would this metric signify?
Today we have a deployment with ~1000 drains.  And we're seeing several hundred thousand of these an hour on Adapter and Several million of these an hour on RLP.

Looks similar to https://github.com/cloudfoundry/loggregator/issues/23
Was the log reduction already applied not enough? We still have to test the newest loggregator yet.
In our case the default log rotation of the VM was not able to keep up with the logs and filled up the disk.

@tyyko Yeah, similar issue.  We don't have as many dopplers as you so it isn't filling up our disks.  It doesn't appear that the fix for #23  is in the release we're using.  We're using 101.9.  The fix appears to be in the 102.x releases.
Although looking at the fix, of the errors we are seeing it appears it would only eliminate the Unable to connect to doppler error.  We are seeing several more errors that are also apparently just noise.  Perhaps the more errors we're seeing are caused more by heavy use of the Syslog release?

@youngm that's possible. I'll double check with the syslog-release team as well to see if that might be the case.

@youngm Those logs are during standard operation? Not during a deploy or anything that would cause all connections to doppler to roll? Also, how many dopplers do you have? How many RLPs?
I think that failed to open stream log is part of a new feature in cf-syslog-drain-release v6.1 called max_bindings. You're getting that log in v5.1?

@johannasmith Yes, those logs were during standard operation of syslog-drain 5.1 and loggregator 101.8.  We had 4 each of rlps, adapters, and dopplers.  We recently upgraded to syslog-drain 6.1 and added more rlps, adapters, and dopplers given the new connection limits added and that, along with upgrading to syslog-drain 6.1, has made the logs much better.  Though there are still a few logs in adapter that appear to be noise: https://github.com/cloudfoundry/cf-syslog-drain-release/issues/16
I know that some work has gone into rlp also to trim some of these messages down.  I Look forward to a new loggregator release that includes the reduced rlp logging.


run scalafmt on mill's sources

I ran mill mill.scalalib.scalafmt.ScalafmtModule/reformatAll __.sources(pretty long command, btw) on mill's sources with standard scalafmt config. I know that it's pretty tedious to review this PR, but it's one-time only, and I think it worth to have a unified formatting for project to simplify contribution for newcomers and being more confident about how code should look like.
I started with scalafmt's defaults, but I'd happily adjust configuration if there are any suggestions.

closing due to inactivity

Yep, hope to revisit it later