lanelet2_core build fails

Hello,
I am trying to build the newest lanelet2 from git. I installed ROS Melodic from ros-melodic-ros-base in my Ubuntu 18.04 and then followed your installation instructions (including the extra dependencies). I also downloaded the catkin package into the workspace. When I try to build the workspace it fails with the following error:
Profile:                     default
Extending:          [cached] /opt/ros/melodic
Workspace:                   /home/sheraz/catkin_ws
Build Space:        [exists] /home/sheraz/catkin_ws/build
Devel Space:        [exists] /home/sheraz/catkin_ws/devel
Install Space:      [unused] /home/sheraz/catkin_ws/install
Log Space:          [exists] /home/sheraz/catkin_ws/logs
Source Space:       [exists] /home/sheraz/catkin_ws/src
DESTDIR:            [unused] None
Devel Space Layout:          linked
Install Space Layout:        None
Additional CMake Args:       -DCMAKE_BUILD_TYPE=RelWithDebInfo
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
Whitelisted Packages:        None
Blacklisted Packages:        None
Workspace configuration appears valid.
[build] Found '11' packages in 0.0 seconds.
[build] Package table is up to date.
Starting  >>> lanelet2_core

Errors     << lanelet2_core:make /home/sheraz/catkin_ws/logs/lanelet2_core/build.make.006.log
In file included from /usr/include/boost/geometry/algorithms/detail/relate/de9im.hpp:24:0,
from /usr/include/boost/geometry/algorithms/detail/relate/interface.hpp:28,
from /usr/include/boost/geometry/algorithms/detail/disjoint/interface.hpp:30,
from /usr/include/boost/geometry/algorithms/disjoint.hpp:24,
from /home/sheraz/catkin_ws/src/lanelet2/lanelet2_core/src/LineStringGeometry.cpp:9:
/usr/include/boost/geometry/algorithms/detail/relate/result.hpp: In constructor ‘boost::geometry::detail::relate::matrix<Height, Width>::matrix()’:
/usr/include/boost/geometry/algorithms/detail/relate/result.hpp:69:11: error: ‘::memset’ has not been declared
::memset(m_array, 'F', static_size);
^~~~~~
/usr/include/boost/geometry/algorithms/detail/relate/result.hpp:69:11: note: suggested alternative: ‘wmemset’
::memset(m_array, 'F', static_size);
^~~~~~
wmemset
/usr/include/boost/geometry/algorithms/detail/relate/result.hpp: In constructor ‘boost::geometry::detail::relate::mask<Height, Width>::mask(const char*)’:
/usr/include/boost/geometry/algorithms/detail/relate/result.hpp:234:15: error: ‘::memset’ has not been declared
::memset(it, '', last - it);
^~~~~~
/usr/include/boost/geometry/algorithms/detail/relate/result.hpp:234:15: note: suggested alternative: ‘wmemset’
::memset(it, '', last - it);
^~~~~~
wmemset
/usr/include/boost/geometry/algorithms/detail/relate/result.hpp: In constructor ‘boost::geometry::detail::relate::mask<Height, Width>::mask(const char*, std::size_t)’:
/usr/include/boost/geometry/algorithms/detail/relate/result.hpp:247:15: error: ‘::memcpy’ has not been declared
::memcpy(m_array, s, count);
^~~~~~
/usr/include/boost/geometry/algorithms/detail/relate/result.hpp:247:15: note: suggested alternative: ‘wmemcpy’
::memcpy(m_array, s, count);
^~~~~~
wmemcpy
/usr/include/boost/geometry/algorithms/detail/relate/result.hpp:251:15: error: ‘::memset’ has not been declared
::memset(m_array + count, '', static_size - count);
^~~~~~
/usr/include/boost/geometry/algorithms/detail/relate/result.hpp:251:15: note: suggested alternative: ‘wmemset’
::memset(m_array + count, '', static_size - count);
^~~~~~
wmemset
make[2]: *** [CMakeFiles/lanelet2_core.dir/src/LineStringGeometry.cpp.o] Error 1
make[1]: *** [CMakeFiles/lanelet2_core.dir/all] Error 2
make: *** [all] Error 2
cd /home/sheraz/catkin_ws/build/lanelet2_core; catkin build --get-env lanelet2_core | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -
...............................................................................
Failed     << lanelet2_core:make                    [ Exited with code 2 ]
Failed    <<< lanelet2_core                         [ 4.7 seconds ]
Abandoned <<< lanelet2                              [ Unrelated job failed ]
Abandoned <<< lanelet2_io                           [ Unrelated job failed ]
Abandoned <<< lanelet2_maps                         [ Unrelated job failed ]
Abandoned <<< lanelet2_projection                   [ Unrelated job failed ]
Abandoned <<< lanelet2_traffic_rules                [ Unrelated job failed ]
Abandoned <<< lanelet2_matching                     [ Unrelated job failed ]
Abandoned <<< lanelet2_routing                      [ Unrelated job failed ]
Abandoned <<< lanelet2_python                       [ Unrelated job failed ]
Abandoned <<< lanelet2_examples                     [ Unrelated job failed ]
Abandoned <<< lanelet2_validation                   [ Unrelated job failed ]
[build] Summary: 0 of 11 packages succeeded.
[build]   Ignored:   None.
[build]   Warnings:  None.
[build]   Abandoned: 10 packages were abandoned.
[build]   Failed:    1 packages failed.
[build] Runtime: 4.8 seconds total.

The build seems to fail because of boost, which version of boost and which linux are you using?

I am using Ubuntu 18.04 and I updated the latest boost version boost_1_82_0, but still getting same eroor?

This issue is solved after restarting the system problem was boosted version. Thanks


tensor print optimization

  shape[1,77,768]
   Can print data with close locations be displayed?
   //python
     tensor([[[-3.8917e+00, -2.5113e+00,  4.7167e+00,  ...,  1.1270e+00,
              -2.2396e+00, -1.2505e+00],
             [ 2.9914e-02,  5.6423e-01,  2.8374e-02,  ..., -2.5628e-01,
              -5.3054e-01, -2.9966e-03],
             [-2.1349e-01, -5.5431e-01, -7.1037e-01,  ...,  2.1956e-01,
               8.7091e-02, -8.4753e-01],
             ...,
             [ 4.2301e-02, -4.4001e-01, -4.4282e-01,  ...,  6.5201e-01,
              -3.0249e-01, -2.0086e-01],
             [ 3.4720e-02, -4.3296e-01, -4.3660e-01,  ...,  6.7538e-01,
              -3.1798e-01, -1.9269e-01],
             [ 3.1171e-02, -3.6360e-01, -3.2888e-01,  ...,  6.4809e-01,
              -2.7908e-01, -2.2351e-01]],

            [[-3.8917e+00, -2.5113e+00,  4.7167e+00,  ...,  1.1270e+00,
              -2.2396e+00, -1.2505e+00],
             [-4.3533e-02, -3.2126e-01, -1.1155e-01,  ...,  4.3668e-01,
              -2.1201e-01, -4.5503e-02],
             [-5.8780e-01, -5.1043e-01, -3.3263e-02,  ...,  1.0280e+00,
               3.0414e-01, -9.6674e-01],
             ...,
             [-1.3889e-01, -2.8969e-01, -4.5040e-01,  ...,  7.5641e-01,
              -4.6745e-01, -1.8153e-01],
             [-1.4301e-01, -2.8429e-01, -4.4609e-01,  ...,  7.8050e-01,
              -4.7931e-01, -1.7398e-01],
             [-1.4289e-01, -1.9903e-01, -3.3218e-01,  ...,  7.6626e-01,
              -4.3880e-01, -2.0482e-01]],

            [[-3.8917e+00, -2.5113e+00,  4.7167e+00,  ...,  1.1270e+00,
              -2.2396e+00, -1.2505e+00],
             [-6.3191e-01, -6.3897e-02, -1.8121e-01,  ..., -1.0667e+00,
              -1.0416e+00, -1.6426e-01],
             [-6.1471e-01,  5.4341e-01, -4.6983e-01,  ...,  5.7399e-01,
              -1.1093e-02, -8.4604e-01],
             ...,
             [-3.4268e-01, -3.0228e-01, -4.2182e-01,  ...,  5.6220e-01,
              -6.0012e-01, -2.5774e-01],
             [-3.3000e-01, -3.0496e-01, -4.1568e-01,  ...,  5.8275e-01,
              -6.0254e-01, -2.5020e-01],
             [-3.7815e-01, -2.2963e-01, -3.0679e-01,  ...,  5.2398e-01,
              -5.9870e-01, -2.7526e-01]]], device='cuda:0', grad_fn=<AddBackward0>)

    //c#
    [[[-3.8917, -2.5113, 4.7167, ... 1.127, -2.2396, -1.2505]  [-1.1935, 0.45616, 0.23719, ... -0.43066, -0.34218, -0.22676]  [-0.48245, 0.54961, -0.76683, ... 0.57444, 0.22785, -1.0039]  ...  [-0.31547, -0.29602, -0.2571, ... 0.88035, -0.4051, -0.53152]  [-0.31658, -0.29161, -0.24926, ... 0.89166, -0.40809, -0.52601]  [-0.32793, -0.2703, -0.18109, ... 0.85977, -0.37548, -0.53399]]]

You may want to experiment with specifying the newline string that's to be used.

      I want to print data with the same location.Easy to verify data results.

      tensor([[[-3.8917e+00, -2.5113e+00,  4.7167e+00,  ...,  1.1270e+00,
                    -2.2396e+00, -1.2505e+00],///////no.1
                   [ 2.9914e-02,  5.6423e-01,  2.8374e-02,  ..., -2.5628e-01,
                    -5.3054e-01, -2.9966e-03],///////no.2
                   [-2.1349e-01, -5.5431e-01, -7.1037e-01,  ...,  2.1956e-01,
                     8.7091e-02, -8.4753e-01],///////no.3
                   ...,
                   [ 4.2301e-02, -4.4001e-01, -4.4282e-01,  ...,  6.5201e-01,
                    -3.0249e-01, -2.0086e-01],///////no.4
                   [ 3.4720e-02, -4.3296e-01, -4.3660e-01,  ...,  6.7538e-01,
                    -3.1798e-01, -1.9269e-01],///////no.5
                   [ 3.1171e-02, -3.6360e-01, -3.2888e-01,  ...,  6.4809e-01,
                    -2.7908e-01, -2.2351e-01]]///////no.6

I see. Well, the 'format' argument should give you control over that, it allows you to define a format for floating-points values, which I believe should provide this functionality. It's just the standard .NET FP formats.
You will also, depending on your OS, have to control the new line string.

It's not about defining the format, but the location of the printed data is the same.

Seems like there's no problem.


Documentation link broken

In the README.md of this repository, the documentation link points to:
https://developers.mattermost.com/integrate/apps/
Which is a 404 on my end.
This link can also be found in the plugin's manifest, and hence on https://mattermost.com/marketplace/app-framework/
as well as on https://github.com/mattermost/mattermost-mobile/issues/3883.

Thanks, @wetneb! This repository is now deprecated, but I failed to make that clear. I've linked a PR to address both this, and link to the now legacy documentation you raised.
@cwarnermm, can you help retire https://mattermost.com/marketplace/app-framework/?

Thanks, @wetneb and @lieut-data, for raising this. I'll retire the Marketplace listing. Thanks, @lieut-data, for the README update!

Nevermind, I found the answer to my question in https://forum.mattermost.com/t/transition-from-apps-framework-to-plugin-framework-in-mattermost-v10/19330


Switch to clap v4

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Switching to the latest clap major version.
Which issue(s) this PR fixes:

None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

Ugh, this wont work: https://github.com/clap-rs/clap/blob/9c217941c29ed0e88a3f3642fee59e4417045b92/Cargo.toml#L26


Add-CMSoftwareUpdatePoint -UseProxy $true -UseProxyForAutoDeploymentRule $true -> results in: "WSUS Control Manager failed to configure proxy settings on WSUS Server"

When using the -UseProxy and -UseProxyForAutoDeploymentRule with value $true, the following logs indicate an error:
SMS_WSUS_CONTROL_MANAGER: WSUS Control Manager failed to configure proxy settings on WSUS Server
WSUSCtrl.log: Microsoft.UpdateServices.Administration.WsusInvalidDataException: The address of the proxy server cannot be empty.~~   at Microsoft.UpdateServices.Internal.BaseApi.UpdateServerConfiguration.Validate()~~   at Microsoft.UpdateServices.Internal.BaseApi.UpdateServerConfiguration.Save(Boolean detectConfigChange)~~   at Microsoft.SystemsManagementServer.WSUS.WSUSServer.SetProxySettings(Boolean UseProxy, String ProxyName, Int32 ProxyServerPort, Boolean AnonymousProxyAccess, String ProxyUserName, String ProxyUserDomain, String ProxyUserPassword, Boolean AllowProxyCredentialsOverNonSsl)
If the wizard is used, proxy information is already filled from Site system properties and the issue is not present.
Did I miss something or is the cmdlet actually broken?
kind regards,
Tobias

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

ID: 21e97903-6768-38e3-b271-629a2ca083e8
Version Independent ID: aad4ea04-f1f9-c3f1-a8b2-de4412c031d3
Content: Add-CMSoftwareUpdatePoint (ConfigurationManager)
Content Source: sccm-ps/ConfigurationManager/Add-CMSoftwareUpdatePoint.md

Thanks @woerndlit for taking the time to share this with the Configuration Manager documentation team. I’m sorry that you’re having problems, and I want to make sure it gets to the right people that can help. There are a couple of options available to provide the best level of support for this:

Post on Configuration Manager forums. These are moderated by our community MVPs who are very experienced, knowledgeable, and helpful.
Use Microsoft Support to search for the issue, or open a case with professional support.
Contact your Microsoft Premier team, such as a Premier Field Engineer or Technical Account Manager.

I'm closing this issue as there's nothing actionable for docs at this time.


NodaTime Instant can't be used in a select projection

On current master, it looks like there is a problem when using an Instant in a select. If you specify an instant in your type like this (where CreatedOn is the Instant):
s.Query<Client>().Select(c => new { c.Id, c.Name, c.CreatedOn })

It builds the query like this:
select jsonb_build_object('Id', d.id, 'Name', d.data ->> 'Name',
'CreatedOn', CAST(d.data ->> 'CreatedOn' as timestamp)) as json from public.mt_doc_client as d

The problem with casting to timestamp is that this omits the Z at the end, breaking NodaTime's Instant parser.
NodaTime.Text.UnparsableValueException: The value string does not match a quoted string in the pattern. Value being parsed: '2019-05-09T02:45
:25.299385^'. (^ indicates error position.)

Possibly the correct thing to do would be to leave it as a string, which is how it behaves when you leave out the select. Another option would be to tweak the parser itself when configuring NodaTime's serializer. I took a peek at the code, but I'm not sure of the best way to handle this such that it won't break things when not using NodaTime.
Hopefully someone more familiar with the codebase might know exactly how to address this. :) If tweaking the serializer config makes most sense, I can likely figure this out and do a PR.
Thanks for all your awesome hard work on Marten! It's a pleasure to use.

@tetious I'll doublecheck that. But imho after my fixes it should work fine in version 3.6.0 that will be finally publish in next few days.

Closed by: https://github.com/JasperFx/marten/pull/1290
Added InstantJsonConverter to properly deserialize Instants when db won't return data in TZ format.
The need come up with #1276.
This is workaround for NodaTime issues nodatime/nodatime#154 and nodatime/nodatime#1237.
Revisit this when NodaTime 3.0.0 will be officialy released - then this class might be not needed anymore.


Debian & Ubuntu Iohyve

Suggest a bit more info to be added to iohyve debian/ubuntu installation instructions:
After:
iohyve install debguest debian-8.2.0-amd64-i386-netinst.iso
I had to do the following as the command appears to be stuck.

Open a separate terminal, type:
iohyve console debguest
nothing will show, but just press "enter" to get past the grub menu boot. It will select default.
Then iohyve install command completes & you can see in console window to proceed with installation.

Not sure if anyone else is experiencing this issue, but adding something like this to the install instructions could help some people trying to install debian/ubuntu and potentially others stuck on grub prompt.

Some more playing around, I would suggest opening the console in another command prompt first, then entering the install command in the original prompt. This enables you to see the full grub prompt in console rather than having a blank console because you logged in too late.

We've noticed this behavior as well.
When the loader is set to grub-bhyve iohyve will spit out:
GRUB Process does not run in background....
If your terminal appears to be hanging, check iohyve console $name in second terminal to complete GRUB process...

This was added recently.
Thanks for the input!


How to use NetGear receive mode with WebGear_RTC

Hi, is it possible to use WebGear_RTC with NetGear(receive mode=True)? For example, I'd like to use NetGear to transfer frames from a Raspberry Pi camera, then view the stream on a remote computer and do object detection using the remote computer's CPUs.  This example may be similar to what I'm looking for, but I'm not sure how I'd pair these two and if pairing them is even possible. Thank you.

@ahmedosman2001 It's not been tested but it will work. The only problem is High CPU usage that might occur. But you can give it a try as follows:
Client End + WebGear_RTC Server
Open a terminal on Client System (where you want to (display and setup WebGear_RTC server) the input frames received from the Server) and execute the following python code:
:warning: make sure you use different port for NetGear and WebGear_RTC.
✏ Note down the IP-address of this system(required at Server's end) by executing the command: hostname -I and also replace it in the following code.
ary libs
import uvicorn, asyncio, cv2
from av import VideoFrame
from aiortc import VideoStreamTrack
from vidgear.gears import NetGear
from vidgear.gears.asyncio import WebGear_RTC
from vidgear.gears.asyncio.helper import reducer

# initialize WebGear_RTC app without any source
web = WebGear_RTC(logging=True)

# create your own Bare-Minimum Custom Media Server
class Custom_RTCServer(VideoStreamTrack):
    """
    Custom Media Server using OpenCV, an inherit-class
    to aiortc's VideoStreamTrack.
    """

    def __init__(
        self,
        address=None,
        port="5454",
        protocol="tcp",
        pattern=1,
        logging=True,
        options={},
    ):

        # don't forget this line!
        super().__init__()

        # initialize global params
        # Define NetGear Client at given IP address and define parameters
        self.client = NetGear(
            address=address,
            port=protocol,
            pattern=pattern,
            receive_mode=True,
            logging=logging,
            **options
        )

    async def recv(self):
        """
        A coroutine function that yields `av.frame.Frame`.
        """
        # don't forget this function!!!

        # get next timestamp
        pts, time_base = await self.next_timestamp()

        # receive frames from network
        frame = self.client.recv()

        # if NoneType
        if frame is None:
            return None

        # reducer frames size if you want more performance otherwise comment this line
        frame = await reducer(frame, percentage=30)  # reduce frame by 30%

        # contruct `av.frame.Frame` from `numpy.nd.array`
        av_frame = VideoFrame.from_ndarray(frame, format="bgr24")
        av_frame.pts = pts
        av_frame.time_base = time_base

        # return `av.frame.Frame`
        return av_frame

    def terminate(self):
        """
        Gracefully terminates VideoGear stream
        """
        # don't forget this function!!!

        # terminate
        if not (self.client is None):
            self.client.close()
            self.client = None

# assign your custom media server to config with adequate IP address
# !!! change following IP address '192.168.x.xxx' with yours !!!
web.config["server"] = Custom_RTCServer(address="192.168.x.xxx")

# run this app on Uvicorn server at address http://localhost:8000/
uvicorn.run(web(), host="localhost", port=8000)

# close app safely
web.shutdown()

Server end
Now, Open the terminal on another Server System (with a webcam connected to it at index 0), and execute the following python code:
✏  Replace the IP address in the following code with Client's IP address you noted earlier.
# import required libraries
from vidgear.gears import VideoGear
from vidgear.gears import NetGear
import cv2

# activate jpeg encoding and specify other related parameters
options = {
    "jpeg_compression": True,
    "jpeg_compression_quality": 90,
    "jpeg_compression_fastdct": True,
    "jpeg_compression_fastupsample": True,
}

# Open live video stream on webcam at first index(i.e. 0) device
stream = VideoGear(source=0).start()

# Define NetGear server at given IP address and define parameters
# !!! change following IP address '192.168.x.xxx' with client's IP address !!!
server = NetGear(
    address="192.168.x.xxx",
    port="5454",
    protocol="tcp",
    pattern=1,
    logging=True,
    **options
)

# loop over until KeyBoard Interrupted
while True:

    try:
        # read frames from stream
        frame = stream.read()

        # check for frame if Nonetype
        if frame is None:
            break

        # {do something with the frame here}

        # send frame to server
        server.send(frame)

    except KeyboardInterrupt:
        break

# safely close video stream
stream.stop()

# safely close server
server.close()

@ahmedosman2001 Also for maximum performance, Install latest testing branch from source as follows:
 # clone the repository and get inside
  git clone https://github.com/abhiTronix/vidgear.git && cd vidgear

  # checkout the latest testingbranch
  git checkout testing

install normally
pip install .
OR install with asyncio support
pip install .[asyncio]

@abhiTronix - Thanks for responding, I just tested and it is working.


update to cats-1.0.0-rc1

I'll do this one.

Bump. Can we get the cats dependency version up to 1.1.0 ? I noticed it was transitively depending on 1.0.0 while trying to rebuild Monocle with cats 1.1.0

It seems like no code changes are required for 1.2.0. Would it be possible to make a release for that?

@torgeirsh cats is binary compatible for all 1.x, why do you need a release of newts?

I see, maybe I don't need it then? Was just worried about the noisy eviction warnings from SBT, and thought new builds of Newts and Monocle would be necessary.

@torgeirsh Yes I don't think you need the upgrade


[groovy] [comment-fold] Comment folding doesn't work with groovy mode

Repro with comparison to clike mode:
https://codesandbox.io/s/hopeful-field-y1mip

I am content writer with log time experence of this. My articals consist of  orignal human writen. of these type of softwares of computers. For  more details about these type of software visit my link. Click Here


Add Chinese translation

Thank you for your contribution!  Merging now.

this is maybe helpful to let more Chinese use jenkins


is it possible to disable the pan gesture action to bring the drawer?

I want just the nav bar button to open but the pan gesture to close or tap back to other controller to close.

Same requirement

try self.options.panFromBezel = false

same problem when trying to disable gesture. Anyone fix it?

@giaotuancse This doesn't work.

did anyone got this working? I'm trying to do the same thing.

these work for me..
    self.slideMenuController()?.removeLeftGestures()
    self.slideMenuController()?.removeRightGestures()

Sorry, I commented on the wrong post. Didn't meant to comment on this problem.

using the following will disable the pan gesture to close the menu as well.
self.slideMenuController()?.removeLeftGestures()
self.slideMenuController()?.removeRightGestures()
is there anyway to do what jasan-s commented?
"nav bar button to open but the pan gesture to close or tap back to other controller to close."

SlideMenuOptions.panFromBezel = false
SlideMenuOptions.rightPanFromBezel = false

This code can disable the pan for open the menu.
But it also can pan or tap gesture to close the menu.
Please try it.

@haiqiang Please try it again and tell me the result.

@Pluto-Y it's working. Thank you very much :)

You are welcome.


activeStake - db-sync epoch_stake discrepancy

Steps to reproduce the bug
Fully synced cardano-graphql:5.1.0.
Initially everything was fully synced and running normally. After leaving it for a day I came back and the containers had crashed and spitting out an error something about Postgres password incorrect, but I suspect Postgres had just died. After restarting, everything seems to have continued on fine.
After leaving it for another day I've noticed though for epoch 289 (current), when running
{
  activeStake_aggregate(where: {epochNo: {_eq: 289}}){
    aggregate{
      count
    }
  }
}

It's only returning a count of 1000. I suspected that the change as mentioned in https://github.com/input-output-hk/cardano-db-sync/issues/709 had meant the bulk insert hadn't restarted after the containers crashing.
I've looked at the epoch_stake table and it's returned 2497980 rows.

I'm not entirely sure on what's going on here, but the aggregate count isn't increasing.

Is this still happening @CyberCyclone ?  On my local instance:
{
  activeStake_aggregate(where: {epochNo: {_eq: 289}}){
    aggregate{
      count
    }
  }
}

{
  "data": {
    "activeStake_aggregate": {
      "aggregate": {
        "count": "801247"
      }
    }
  }
}

Yes, epoch 289 is still stuck at 1000 delegates. Epoch 290 has the correct number. I'm going to look into this further on Sunday and see if I can figure it out.
I had 1 local instance where this happened, but I've since had 2 production instances that have NOT had this issue.

Any updates on this @CyberCyclone ?

I was mislead by Hasura. The epoch_stake table does not have as many rows as it states in the pagination and cardano-graphql is querying correctly.

Therefore I don't see this as a cardano-graphql issue but a cardano-db-sync issue. Unfortunately since I did a docker-compose down and then brought them back up to see if that would fix it 6 days ago, it's deleted the container logs so I can't see if there was a particular error that occurred.
Either way, if there was an error during the epoch_stake populating or if the containers were stopped, there should be a check at some point to verify that epoch_stake has completed and have the ability to continue importing.
This could somehow be managed in correlation with https://github.com/input-output-hk/cardano-db-sync/issues/797
I personally see this as a low priority issue as at this point there's no evidence of it being a bug. If this happened, most people would be able to drop the db and reimport from the snapshot.


Global registry

Introduces global registry contract deployable only on main net

Adds forge deployment with createX

[ ] only merge once the use of ignition for deployment has been decided and impleneted.

closed in favour of #456


log-servfail fails to log host SERVFAIL responses in Unbound 1.19.2 on Ubuntu 24.04.1 LTS

Describe the bug
On Ubuntu 24.04.1 LTS Noble, log-servfail is not working for SERVFAIL queries, while log-replies continues to function normally.
To reproduce

Turn on log-servfail.
On unbound 1.19.2 running on Ubuntu 24.04.1 LTS.
Perform DNS queries that result in SERVFAIL.
Check unbound logs for SERVFAIL entries.

Expected behavior
SERVFAIL responses should be logged when log-servfail is enabled.
System:

Unbound version: 1.19.2
OS: Ubuntu 24.04.1 LTS
unbound -V output:

Version 1.19.2

Configure line: --build=aarch64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=${prefix}/lib/aarch64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --with-pythonmodule --with-pyunbound --enable-subnet --enable-dnstap --enable-systemd --enable-cachedb --with-libhiredis --with-libnghttp2 --with-chroot-dir= --with-dnstap-socket-path=/run/dnstap.sock --disable-rpath --with-pidfile=/run/unbound.pid --with-libevent --enable-tfo-client --with-rootkey-file=/usr/share/dns/root.key --disable-flto --enable-tfo-server
Linked libs: libevent 2.1.12-stable (it uses epoll), OpenSSL 3.0.13 30 Jan 2024
Linked modules: dns64 python cachedb subnetcache respip validator iterator
TCP Fastopen feature available

BSD licensed, see LICENSE in source package for details.
Report bugs to<EMAIL_ADDRESS>or https://github.com/NLnetLabs/unbound/issues

Additional information

log-replies works correctly for all verbosity levels.
SERVFAIL errors for CNAME records do generate error logs, but this behavior is inconsistent across our infrastructure.
The issue persists even after adjusting system parameters like net.core.wmem_max and net.core.rmem_max.
We've verified that log files are accessible and writable, since log-replies is working fine.
We've tested with different verbosity levels for logging.

We've attempted the following troubleshooting steps:

Increased net.core.wmem_max and net.core.rmem_max values.
Restarted the Unbound service after making changes.

We would appreciate any guidance on how to further diagnose or resolve this issue. Please let me know if you need any additional information or logs to assist in troubleshooting.

log-servfail does work for me here in both 1.19.2 and the latest version.
Is this perhaps some particular servfail case that does not get logged? Could you share some more information about that and maybe the configuration file (or the relevant bits at least)?

Yes. On further debugging we found out that we have
    serve-expired: yes
    serve-expired-ttl: 3600            # one hour, in seconds - max time till expired records are served
    serve-expired-client-timeout: 2000  # 2 seconds, in milliseconds - Query timeout after which expired record will be served

this configuration set.
On doing unbound-control set_option serve-expired no or making the serve-expired-client-timeout the servfails start getting logged again.
Not sure if this is the expected behaviour. Can you help finding what's happening under the hood?

Are you coming from a specific version prior to 1.19.2 that this worked?

Yes, it did on 1.17.1

When serve-expired is enabled it will try to replace a SERVFAIL answer with (expired) data from the cache.
If that replace happens, there will be no logging output for the SERVFAIL that was replaced.
But this behavior was there since 1.10.0 already.
Did you also change settings when moving versions?
I think there is a bug there (since 1.10.0 already) that if picking a recently cached record (probably the same SERVFAIL that we try to replace) the log-servfail option would not work; that is with serve-expired enabled.

However, in our case we've not been getting the cached response (there's nothing in cache) and getting SERVFAIL as a response, which doesn't feel right.

SERVFAILs can also get cached as a backoff mechanism if resolution fails. And there is no useful record in the cache IIRC.
But the interesting question at the moment is if you also changed configuration between the versions, especially for the serve-expired options.


found unexpected key 'browser_style'

Steps:

download zip file
unzip zip file
load an unpacked extension

Error:
found unexpected key 'browser_style'
...
	"manifest_version": 2,
...

Unrecognized manifest key 'applications'.
...
        "applications": {
		"gecko": {
			"id"<EMAIL_ADDRESS>		}
	},
...

Version:
Google Chrome 74.0.3729.169 （64bit）CN
Windows 10
image-picka-0.10.1.zip

It's a warning that Chrome doesn't recognize these fields inside manifest. It won't affect the functionality.


Is there any speaker information in Libriheavy?

I want to know if a record id belongs to a single speaker

"recording": {
"id": "small/100/sea_fairies_0812_librivox_64kb_mp3/01_baum_sea_fairies_64kb",
Is all files under "small/100/sea_fairies_0812_librivox_64kb_mp3/01_baum_sea_fairies_64kb" belong to one speaker ?

I think so, 100 is the speaker id, each cut has a speaker id.


Enhance SEO for Redot Engine Website

To improve our website's visibility and ranking on search engines, we need to implement SEO best practices. This will help in attracting more organic traffic and improving user engagement.
1. Meta Tags:

Add appropriate meta titles and descriptions to all key pages.
Ensure meta tags are optimized for relevant keywords.

2. Alt Text for Images:

Add descriptive alt text for all images on the site.
Ensure alt text includes relevant keywords where appropriate.

3. Sitemap and Robots.txt (Optional for if you deem it to early):

Create and submit a sitemap to search engines.
Update the robots.txt file to guide search engine crawlers.

sitemap.xml
So I think we need to add a nuxt SEO plugin.


Modified dependency to maintained MongoDB driver.

Changed the dependency because the previous MongoDB driver was unmaintained.
"gopkg.in/mgo.v2" > "github.com/globalsign/mgo"

hmm, I will merge some time this week after add glide/vgo support!
Thanks!

+1 to this merge request


Specify the ethernet interface

Inspired by https://github.com/TimothyYe/godns/issues/238: maybe there are still cases where manual specification of the interface makes sense.

The Go standard library does not provide an easy way to specify the interface. :upside_down_face:

@favonia Hello. I am interested in specifying a custom interface.
What I ended up doing is run cloudflare-ddns in a bridged  network and create a small function to get the interface on the host machine. I spinned up a server listening on a docker IP like 172.xx.0.1:9000 and then specify the provider as url like url:http://172.xx.0.1:9000/ip
I came across a python version here https://stackoverflow.com/a/24196955. One can use flask to serve. There is also a node version here https://stackoverflow.com/a/8440736 which can be served with something like express.
It is a bit dirty but this should work even with custom commands to get an IP that is not directly related to an interface.

What I ended up doing is run cloudflare-ddns in a bridged network and create a small function to get the interface on the host machine. I spinned up a server listening on a docker IP like 172.xx.0.1:9000 and then specify the provider as url like url:http://172.xx.0.1:9000/ip

This is way too complicated... you deserve a much better solution!!!
The code you showed will choose the "first" IP in the IP family, while the current local provider will check which IP is actually usable for connecting to the internet. Ideally, the implementation will inspect the routing table etc. to find out the path. Ideally, there should be a way to hack the standard library to force the interface while trying to connect to the internet.

@tchar Hi, I think more about this and feel the design is a bit unclear to me. So I'd like to just ask you directly: if you specify an interface and it magically has many seemingly valid IP addresses, what do you want the updater to do?

Hey @favonia indeed it seems like you would have to compromise, although I'm curious how often does something like this is the case.
One possible solution is to allow the user to select family (ipv4 vs ipv6) and index (0, 1, ...).
Now the family is clear, but the question is: Is it possible for the code to run two consecutive times and give a different order for the IPs?
If the answer is no you could do it like in the following scenario.
Say machine has two IPs on interface eth1:
<IP_ADDRESS> and <IP_ADDRESS> and some ipv6.
Specifying something like
local:ipv4:eth1/0  would give <IP_ADDRESS>, and
local:ipv4:eth1/1 would give <IP_ADDRESS>
local:ipv4:eth1/2 would give empty
local:eth1/2 would give the ipv6

@tchar The ipv4/6 would not be needed because provider is set separately for IP4/6_PROVIDER :wink:. BTW, by any change, are you using url:http://172.xx.0.1:9000/ip to transfer an IPv6 address? If so, it might stop working in the upcoming version...

@tchar The ipv4/6 would not be needed because provider is set separately for IP4/6_PROVIDER 😉. BTW, by any change, are you using url:http://172.xx.0.1:9000/ip to transfer an IPv6 address? If so, it might stop working in the upcoming version...

@favoniaYes, I am using this, but for ipv4, not ipv6.
If you would put the correct number to xx I would be concerned haha. You nailed the port and almost the path.

Well I'm only using the public information you provided in the issue. @tchar

@tchar So, at least on Linux, I believe the IP lists came from filtering the output getifaddrs, but I don't see any guarantee that its output is deterministic or ordered in a particular way. This means that it's possible that eth0/0 could change (!).

@tchar BTW, for your workaround, I just got a new idea: maybe #935 could make it easier?

@tchar Anyway, I wish to learn more about your setup. Are these following statements true?

The default routing of <IP_ADDRESS> on your host will not go through the ethernet interface you wish to use. (If it will, then you could just use the current local provider.)
However, the routing of <IP_ADDRESS> on your host after deleting all routing rules using other interfaces WILL go through the ethernet interface you attempt to specify. (You can get the routing table by running route -nev on a Linux box.) I was trying hard to implement something in this direction, but I should have checked with you first.

If the second item is not true in your case, then I think we really have to read the addresses directly from the interface, and there's really no way to tell which address to use when there are multiple addresses. (I didn't even find the guarantee that the addresses will be presented in the same order.) I just checked ddclient and it's reading the first address.

@tchar Alright, I did some more homework, and have some good and bad news.

The bad news is that not being able to specify the interface directly is a known weakness of the POSIX socket API. The Go standard library cannot do much here. There's no way to say "use eth0 to connect to <IP_ADDRESS>". (The only exception is IPv6 link-local addresses, but let's ignore them for now.)
The semi-good news is that even the Linux kernel seems to be choosing the "first" IP address that "makes senses" if existing hints did not sufficiently ping down the address. So, "choosing the first one" is expected. There are many criteria we could use to determine whether an address is "reasonable":

Obviously, for IPv4 you ignore IPv6 addresses and vice versa. (However, should IPv4-mapped IPv6 addresses treated as IPv4 ones or just rejected?)
Next, we probably want to skip IPv6 link-local addresses because an IPv6 interface would likely have one.
Maybe we should also ignore multicast IP addresses and IPv4-mapped IPv6 addresses.

May I have your confirmation that your address will be some global unicast IPv4 address? Also, may I learn more about your network setup, especially why the current automatic selection fails?

I am not sure what is considered to be a weird address.
In my case I am using a VPN tunnel for VLAN.
The IPv4 is a valid one, but any service can be accessed only from those in the VPN VLAN network.
I hope this makes more sense.

@tchar Thanks. I have three questions:

Are your private IPs within the standard range?

<IP_ADDRESS>/8
<IP_ADDRESS>/12
<IP_ADDRESS>/16

I suppose using the VPN is the reason why connecting to some public website (e.g., <IP_ADDRESS>) does not work, right? That is, the current detection code would give you a non-VPN IP.
If this is a VPN totally under your control, perhaps you could assign the same IP to your machine every time? (That is, maybe you do not need DDNS at all.)

@favonia
Here is an example of imaginary interfaces to help you understand a bit how the system works.
eth0: Normal interface
tun0: Interface for VPN
tun1: Interface for VPN VLAN
docker0-xx: Docker interfaces

The IPs I see do not belong in these ranges. I am not sure if they will ever be in these ranges, but I think not since the machine has to be discoverable outside of its private network.
The thing is that the machine has a ton of interfaces. Some belong to docker, some belong to VPN tunnels (not the VPN VLAN), and there is one for the VPN VLAN. I am not sure what the local algorithm does, but since I cannot pick an interface, I am using the aforementioned solution. Keep in mind that when the machine wants to connect to the internet, eth0 or tun0 may be used, but not tun1, unless the traffic is intended for one of the other machines in the VPN VLAN.
I cannot assign the same IP, and I am not sure it is the best practice to do so. If I could/would, I guess I would not use DDNS at all.

Let me know if you need any other information.

@tchar Thank you! Is the (first) IP assigned to tun1 the IP you want to use to update DNS records? (I am just checking that the algorithm in my mind would work.)

Yes, there is only one IPv4 there.

@tchar BTW, the Go code you mentioned earlier (which is based on the code on stackoverflow) is not correct. It's assuming that the Go standard library always returns something of type *net.IPNet for interface addresses. I just checked the source code and it could be *net.IPAddr on Darwin, FreeBSD, and Windows. So, yeah, if you try it on Windows I guess it would fail.

@tchar You may try out the specify-iface branch (PR #941) with the IP provider local:tun1. I have two questions for you:

Is the syntax local:tun1 "obvious, stupid, crystal clear without reading the manual" to you?
If you have tried out the PR/branch, does it work for you?

@favonia I tested it out, and it works. I only had to put it in host mode instead of bridge.
Regarding the syntax, it makes sense no problem.  For example. local:if/tun1 [since / is an invalid name].(https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/tree/lib/utils.c?id=1f420318bda3cc62156e89e1b56d60cc744b48ad#n827)
You could even have a simple mode (local:tun1) and a verbose mode (local:if/tun1) in case you want to reserve local for something more than interfaces in the future.
Alternatively you could use a different keyword than local (like interface).
This is up to you, either works and makes sense.

@tchar Wow, that's a great suggestion! I propose using

IP6_PROVIDER=local.iface:eth0

This leverages the existing cloudflare.doh and cloudflare.trace providers, though I admit the syntax might be a bit confusing: it reads more like local.(iface:eth0) instead of the intended (local.iface):eth0. I considered alternatives like local.if:eth0 and local.interface:eth0, but if might be misunderstood as a condition, and ironically, interface feels less clear than the abbreviation iface to me.
Once we establish local.iface, we could potentially introduce local.route:host and rebrand local as

IP6_PROVIDER=local.route:api.cloudflare.com

I wonder what you think about these changes? I am making the changes now, but it is easy to adjust the syntax before the release.

@tchar I released 1.15.0 with the syntax local.iface:<iface>, but clearly documented that the syntax will not be finalized until 1.16.0. We have lots of time to pin down the design. :grin:

@favonia That's great. I will pin the version to 1.15.0 so I don't get any surprises for now.
Thanks

@favonia As a user, I find these formats identical in usability. As a dev, it's your project; you should decide which design is best for the project's life. You know it inside out.
Both formats are better than local: because they are more verbose. Other than that. I am happy.

Closing this as there's nothing to do for now.


Could you add optional Handler when before navigateTo ？

Is your feature request related to a problem? Please describe.

I need before navigateTo do something ,E.g check user has login

Describe the solution you'd like

An optional function argument

Describe alternatives you've considered

Change your source code

Additional context

router.define can  achieve this

How did you achieve this in route.define?


correct grammar within English docs

Possible corrections for "this example use mock api..." are "This example makes use of a Mock api..." and "This  example uses a Mock api...."
PR Checklist
Please check if your PR fulfills the following requirements:

[X] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit

PR Type
What kind of change does this PR introduce?
[X] Documentation only content changes
Does this PR introduce a breaking change?
[ ] Yes
[*] No

This PR corrects the usage of grammar within the docs.
The correct usage for proposed changes : "this example use mock api..." are "This example makes use of a Mock api..." and "This  example uses a Mock api...."
The PR proposes we change the usage to match common English language usage patterns

Thank you! None of our core team members is an English native speaker. So if you would like to correct grammar we would appreciate it a lot! ❤

Hey @wendellhu95
I did not know that.
I can open PRs as and when I come across instances where grammar could be corrected.
I'd be happy to help.
Cheers!

@prahaladbelavadi That would be great!


SHIRO-711 - Deprecate JavaEnvironment

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Shiro-pr/128/

@bdemers  Yes, done.

Thanks!!
Sorry one more nit, Can you add a @deprecated javadoc tag?  Maybe say something about will remove in the next major version? or this class is no longer used by Shiro 🤔 ?

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Shiro-pr/130/

@bdemers Done

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Shiro-pr/131/

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Shiro-pr/136/

Hi @bdemers, are you now ok to approve this PR?

Thanks for catching that @fpapon, I thought I had already changed my vote


Allow for customizable app menu items in admin console

Resolves #2975
Hoist P/R Checklist
Pull request authors: Review and check off the below. Items that do not apply can also be
checked off to indicate they have been considered. If unclear if a step is relevant, please leave
unchecked and note in comments.

[x] Caught up with develop branch as of last change.
[x] Added CHANGELOG entry, or determined not required.
[x] Reviewed for breaking changes, added breaking-change label + CHANGELOG if so.
[x] Updated doc comments / prop-types, or determined not required.
[x] Reviewed and tested on Mobile, or determined not required.
[x] Created Toolbox branch / PR, or determined not required.

If your change is still a WIP, please use the "Create draft pull request" option in the split
button below to indicate it is not ready yet for a final review.

Pull request reviewers: when merging this P/R, please consider using a squash commit to
collapse multiple intermediate commits into a single commit representing the overall feature
change. This helps keep the commit log clean and easy to scan across releases. PRs containing a
single commit should be rebased when possible.

Looks sweet and straightforward to me, as discussed - thank you much.


[Bug] unique_tmp_table_suffix not working for dbt-athena

Is this a new bug in dbt-athena?

[X] I believe this is a new bug in dbt-athena
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
I  have a dbt athena model with the following config :
{{
config(
external_location='s3://'~ env_var("DW_BUCKET")~ '/tracking_history/client_name='~ var('client_name'),
table_type='hive',
format='parquet',
materialized='incremental',
incremental_strategy='insert_overwrite',
unique_tmp_table_suffix='123312'
)
}}
My expectation is that the tmp table created should have the above suffix but its still created as tracking_history__dbt_tmp
My dbt-core and dbt-athena-community version are 1.8.4'
)
}}
My expectation is that the tmp table created should have the above suffix but its still created as tbl_name__dbt_tmp
My dbt-core and dbt-athena-community version are 1.8.4
I am using aws athena with hive table as my destination
Expected Behavior
the temp table created should have the following : 'tbl_name__123312_tmp'
Steps To Reproduce
Run any model with the config defined above and see the tmp table created in athena
Environment
- OS: Mac
- Python: 3.9
- dbt: 1.8.4
- dbt-athena-community: 1.8.4

Additional Context
No response

@capture-namang unique_tmp_table_suffix  support only booleans, therefore must be false or true.
In case it's set to true, an unique table suffix it's generated on each run using UUID4.
As it is now you cannot control the suffix, but the adapter will generate uniqueness suffix - if you want to have control on how the suffix are generated we could transform this to a feature request.

Thanks @nicor88
I missed the boolean part and it works as expected. I agree, this is not a bug. Closing this request


SSPROD-10442 Kilt patcher casing differences fix for ECS JSON

What type of PR is this?
Bugfix PR to support ECS JSON casing differences while patching
/kind bug

Any specific area of the project related to this PR?
/area tests

What this PR does / why we need it:
The current Kilt patcher requires Cloudformation JSON. This causes some issues when attempting to patch ECS JSON, due to the casing differences. This PR has modifications to allow for correct values of Entrypoint, Image, Command and Environment variables to be patched.
This PR also includes a lot of lint-suggested fixes.
Which issue(s) this PR fixes:

Fixes https://sysdig.atlassian.net/browse/SSPROD-10139
Special notes for your reviewer:
This is my first commit to the kilt repo.
This change is a bug fix for casing differences that occur in EntryPoint, Command, Image, and Environment variables when attempting to patch ECS JSON.

@yashgiri: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@yashgiri: The label(s) area/cfnpatcher, area/tests cannot be applied, because the repository doesn't have them.

In response to this:

What type of PR is this?
Bug fix PR to support ECS JSON casing differences while patching
/kind bug
Any specific area of the project related to this PR?
/area cfnpatcher
/area tests
What this PR does / why we need it:
The current Kilt patcher requires Cloudformation JSON. This causes some issues when attempting to patch ECS JSON, due to the casing differences. This PR has modifications to allow for correct values of Entrypoint, Image, Command and Environment variables to be patched.
This PR also includes a lot of lint-suggested fixes.
Which issue(s) this PR fixes:
Fixes https://sysdig.atlassian.net/browse/SSPROD-10139
Special notes for your reviewer:
This is my first commit to kilt repo.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

6a4fec1 SSPROD-10442 Kilt patcher casing differences fix for ECS JSON

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: yashgiri
To complete the pull request process, please assign admiral0 after the PR has been reviewed.
You can assign the PR to them by writing /assign @admiral0 in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Welcome @yashgiri! It looks like this is your first PR to falcosecurity/kilt 🎉

/assign @admiral0

Assigned to @admiral0 by mistake before the review could have been completed. Please change assignee as you seem fit.

This doesn't look right to me. What exactly is ECS json? Where is it used? Who calls the lambda with this json?

I think this needs to be a separate runtime and not share the same code path with CFN runtime.


Gaia formig

you can start a gaia project on Transdim planets, and then upgrade to mine. You can now build a mine on gaia planets.
Still missing:

DONE increment available gaia formers based on gaia project tech,
1a. and decrease cost
implement spend power on gaia forming, because it cannot be automatic (i.e. player has to decide where to spend power from)
3.DONE:  implement gaia phase beginning of new round, which turns transdim with gaia former into gaia planets
add terraforming cost to canPay

I think there's no need to have a distinct ggf, GainGaiaFormer can be gf same as the buiding, it also can be renamed to GaiaFormer (or not, as you want).
Overall, the PR is quality work!


Update scalatest to 3.2.17

About this PR
📦 Updates org.scalatest:scalatest from 3.2.15 to 3.2.17
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (3.2.15).
You might want to review and update them manually.
build.sbt

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalatest", artifactId = "scalatest" } ]

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

labels: test-library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

Superseded by #66.


Expose ssrLoadModule in PluginContext

Description
I would like to write a Vite plugin that allows for custom compile-time meta-scripts to be used within Vite. The plugin is pretty simple:

Detect if the file being imported is a meta script (i.e. based on naming convention)
If so, in the load hook, instead of just loading the code, we actually dynamically import it
Run the resulting module output through devalue
Wrap the stringified code as a module and return

This works fine on anything devalue supports, and even preserves type information. But we're just using import directly, which means we don't get any of the nice Vite module normalization (it doesn't work with .ts files, for example). I tried to use createServer to run a dev server inside the plugin, but just instantiating the server creates some infinite loop issue:
MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 end listeners added to [ReadStream]. Use emitter.setMaxListeners() to increase limit

Plus it doesn't really feel right anyway.
Suggested solution
I'm not sure this is even possible. But it could be really powerful if ssrLoadModule was exposed in the PluginContext so that we could dynamically import code inside a plugin loader through the Vite module loading system.
Alternative
There could be a lower-level API that, for example, allowed you to instantiate a module that you've loaded. That could also enable our use-case.
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

You can get the ViteDevServer value from configureServer hook (or configResolved hook).
https://stackblitz.com/edit/vitejs-vite-hkdvtj?file=vite.config.js&terminal=dev

Awesome, that's what I was missing. Thanks!


Adding custom template option and options hash, fixing some formatting, aligning params

It would be great to be able to change the template used in the pool definition so I added this as an option that defaults to the included template file.
I also added an options hash which would also be handy when using a custom template.

Thanks!


Scrolling with trackpad continues momentum animation for too long

The ballistic simulation which follows a scroll when using BouncingScrollPhysics gives good behaviour for a touchscreen, but causes much more scrolling than other desktop and trackpad apps. The amount of friction should be increased of the source of the scroll is a trackpad, to match expectations and behavior of other applications.
https://github.com/flutter/flutter/blob/d9dbcec8462065ac06ed268f8ebf47e871438b6c/packages/flutter/lib/src/widgets/scroll_simulation.dart#L53
Reproduced using https://github.com/flutter/platform_tests/tree/master/scroll_overlay on Apple Silicon macOS. The same discrepancy is seen on iPadOS.
https://user-images.githubusercontent.com/789275/179314035-2f985aa3-882d-4640-831f-893d85a5fd96.mov

Hi @moffatman, Thanks for filing the issue. I do see the scroll animation is longer on the latest master channel, But not on the stable channel.
Stable
https://user-images.githubusercontent.com/31410839/179462450-c8138f0f-9a15-4a2a-b852-762b90b36aeb.mov
master
https://user-images.githubusercontent.com/31410839/179462574-2fca8fd7-5cc1-4502-8954-001b47c2750e.mov

flutter doctor -v (mac)
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.4 21F79 darwin-arm, locale en-IN)
    • Flutter version 3.0.5 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (5 days ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-32, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.67.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.44.0

[✓] Connected device (3 available)
    • sdk gphone arm64 (mobile) • emulator-5554 • android-arm64  • Android 11 (API 30) (emulator)
    • macOS (desktop)           • macos         • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)              • chrome        • web-javascript • Google Chrome 103.0.5060.114

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel master, 3.1.0-0.0.pre.1594, on macOS 12.4 21F79 darwin-arm, locale en-IN)
    • Flutter version 3.1.0-0.0.pre.1594 on channel master at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 082ad11422 (2 days ago), 2022-07-11 11:40:07 +0200
    • Engine revision 2b5d5c3b2d
    • Dart version 2.18.0 (build 2.18.0-271.0.dev)
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-32, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.67.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.44.0

[✓] Connected device (3 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)        • macos            • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)           • chrome           • web-javascript • Google Chrome 103.0.5060.114

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

CC @Piinks @dkwingsmt

So there could be 2 things at play here. We know that ballistic scroll animations can be triggered more than they should, see https://github.com/flutter/flutter/issues/11599 That could be contributing to what it showing here.
And then there could be some additional adjustment that needs to be made to BouncingScrollPhysics.
The first has a proposed fix in progress in https://github.com/flutter/flutter/pull/107735. After than lands, we should check this again and see if the update to the ballistic scroll animation makes this any better..
Since this is specific to only the trackpad input device, is it possible @moffatman that the trackpad input is applying too much delta? Should't the scroll physics be the same across input devices? Currently we don't have dynamic scroll physics that adapt to the input device so we will need to investigate this a bit.

@Piinks
I noticed there were a lot of goBallistic calls, but in BouncingScrollPhysics that doesn't matter since it's using exponential deceleration, no state is being lost and the calculation is continuous. I verified by commenting out some of the goBallistic calls to only get one at the start.
It looks like #107735 only affects clamping scroll physics? This is with BouncingScrollPhysics.
Trackpad input is the correct delta, since when scrolling without releasing, the lists track correctly. It's the scroll simulation phase which doesn't match.
I have been trying to adjust BouncingScrollPhysics to get it to match. This is going to require dynamic scroll physics, for proper trackpad scroll deceleration, there needs to be more friction. Here's where I'm at:
https://user-images.githubusercontent.com/789275/179831928-a61404a0-21d9-49bf-9642-3343af148c17.mov
Changes so far:

Apply constant deceleration on top of the friction factor (right now 2800pt/s^2). This ends up needing quite complex math to calculate the stopping point.
Change friction factor on overscroll from 0.52 to 0.07
Adjust velocity estimation algorithm to more heavily weight recent samples (also needs to be different on trackpad vs touchscreen)
Increase kMaxFlingVelocity to infinity, it's not uncommon to see ~24000pt/s velocity from the trackpad.

Still doesn't quite match though.
The easiest way to have dynamic scroll behavior would be to have a trackpad physics and touch physics, but that would make it quite complex for anyone switching from the defaults. Probably the physics object should know about the PointerDeviceKind.
Another issue: on iPadOS itself, the trackpad actually has the same friction as touch, but when iPad app is running on an M1 mac, it uses Mac-specific scrolling friction. Right now those devices show up as Platform.iOS, some refactor would be needed to represent this runtime scenario.

Thank you for digging into this!

It looks like https://github.com/flutter/flutter/pull/107735 only affects clamping scroll physics? This is with BouncingScrollPhysics.

Yeah, it is updating clamping scroll physics, but also fixing that ballistic issue at the same time.

The easiest way to have dynamic scroll behavior would be to have a trackpad physics and touch physics

That is a really interesting idea, but probably really complex to implement. Flutter does not know what input devices are available until it actually receives the input, and there would be a lot of edge cases to account for when using both. Imagine a scroll animation running from mouse input is interrupted by a scroll animation from a trackpad... Right now all of scrolling in Flutter assumes one type of scroll physics, so supporting more than one would be tricky.
I think what it sounds like is that we might want to consider having proper desktop scroll physics. ClampingSP is based on Android, while BouncingSP is based on iOS. We have not actually compared/contrasted/considered what Mac, Linux and Windows scroll physics should be.

Another issue: on iPadOS itself, the trackpad actually has the same friction as touch, but when iPad app is running on an M1 mac, it uses Mac-specific scrolling friction.

Emulators running on desktop can make this a bit murky - it does sound like the scroll physics are different on mac from iOS. If the iPad scrolling matches on the physical device, that is the source of truth. There are a lot of things that simulators are just a bit off by. Like in the above scroll_overlay, no matter how fine tuned you get it, it will always be just a bit off because of inconsistent compositing, performance, etc on simulators.

Right now those devices show up as Platform.iOS, some refactor would be needed to represent this runtime scenario.

This is something we are really unlikely to do. Adding another target platform is a large scale breaking change for the framework, especially since iPadOS is really iOS.

So I think I will try to get a good match of Mac scrolling behavior and add it as a new default physics for Mac, and forget about different physics for trackpad vs touch. What do you think @Piinks ?
For the iOS app running in emulation, I can deal with it on my own apps, I have some code to detect if running in that environment and then I'll switch the default scroll configuration. You're right that it would be a big breaking change for a pretty small edge case.

That sounds awesome! Thank you so much for all of your contributions!
It could be that we add a platform-specific variation to BouncingScrollPhysics, rather than a whole new ScrollPhysics class, but I trust you'll be able to determine the best course there.
I don't think the scroll_overlay app has an underlying mac app in it for comparison, we'll have to add one in there to be able to compare the overlay like on iOS and Android.

Update: Actually it looks like that app doesn't even have mac enabled. 😜

I'm running the iOS version on "My Mac (Designed for iPad)". That's what those videos are from, in that mode the scroll events are generated from AppKit using the same physics as other mac apps. I don't know how to make one specifically for mac, I don't think you can put mix native and flutter on desktop yet?

AppKit using the same physics as other mac apps

Oh! TIL! I think it is ok to work off that then. :)


Update request: krohnkite 0.8.1 → 0.9.7

Package name: krohnkite
Latest released version: 0.9.7
Current version on the unstable channel: 0.8.2
Current version on the stable/release channel: 0.8.2

[x] Checked the nixpkgs pull requests

Notify maintainers
@seqizz

Notes
The project was recently forked (from the original) and ported to Plasma 6. It would be better I think to package the fork.

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

Done in #340606


undefined symbol: PyThread_tss_get

This issue comes from sh demo_ycb.sh
apex and normalSpeed were successfully installed.
full error message
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/halodi/test_2_venv/FFB6D/ffb6d/demo.py", line 19, in <module>
    from datasets.ycb.ycb_dataset import Dataset as YCB_Dataset
  File "/home/halodi/test_2_venv/FFB6D/ffb6d/datasets/ycb/ycb_dataset.py", line 11, in <module>
    from utils.basic_utils import Basic_Utils
  File "/home/halodi/test_2_venv/FFB6D/ffb6d/utils/basic_utils.py", line 9, in <module>
    import normalSpeed
ImportError: /home/halodi/.local/lib/python3.6/site-packages/normalSpeed-0.0.1-py3.6-linux-x86_64.egg/normalSpeed.cpython-36m-x86_64-linux-gnu.so: undefined symbol: PyThread_tss_get

It seems the normalSpeed problem. Check that normalSpeed is successfully installed by running the example in that repo.

issue fixed in repo normalspeed

hey @an99990  I have the same error, how did you fix it?

Yu have to make sure you're using the right python version. I used python 3.8.
Call it by giving the full path of your python.
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Gaurav Ajariwal @.>
Sent: Thursday, September 16, 2021 2:54:06 AM
To: ethnhe/FFB6D @.>
Cc: an99990 @.>; Mention @.>
Subject: Re: [ethnhe/FFB6D] undefined symbol: PyThread_tss_get (#30)
hey @an99990https://github.com/an99990 I have the same error, how did you fix it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/ethnhe/FFB6D/issues/30#issuecomment-920627767, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUX7UXN6K46HDNGYGBJ326DUCGIA5ANCNFSM5DCOXMLA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

I am using python 3.6.9. and calling it with the full path. Is there anything else that you tried?

Frim what I understood the error stops after you use a newer version of python you should try with python 3.8.
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Gaurav Ajariwal @.>
Sent: Thursday, September 16, 2021 5:01:02 PM
To: ethnhe/FFB6D @.>
Cc: an99990 @.>; Mention @.>
Subject: Re: [ethnhe/FFB6D] undefined symbol: PyThread_tss_get (#30)
I am using python 3.6.9. and calling it with the full path. Is there anything else that you tried?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/ethnhe/FFB6D/issues/30#issuecomment-921241622, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUX7UXKFRYHWS4D66N3CKQTUCJLI5ANCNFSM5DCOXMLA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Release Proposal v0.9.0

Blow is a proposal for release notes:
LocalStorage

#667 (@sun7927 )
#691 (@SSmallMonster )
#692 (@SSmallMonster )

LocalDiskManager

#681 (@SSmallMonster )

Scheduler

#671 (@SSmallMonster )

Apiserver

#694 (@SSmallMonster )

Admission

#698 (@SSmallMonster )

Scheduler

#724 (@SSmallMonster )

Other

Add more tests  ( #673 #674 #680 #683 #695 #704 #705 #714 @FloatXD )
Update Docs (#675 #676 #677 #693 #697 @windsonsea )
#665 (@SSmallMonster )
#666 (@sun7927 )
#668 (@SSmallMonster )
#670 (@yanggangtony )
#679 (@SSmallMonster )
#706 (@mengjiao-liu )
#710 (@SSmallMonster )
#711 (@nameYULI )
#712 (@FloatXD )
#715 (@Zhuzhenghao )
#716 (@Fish-pro )
#717 (@Fish-pro )
#718 (@Fish-pro )
#723 (@SSmallMonster )

Evictor,Exporter
N/A

@buffalo1024 is there any contents need to add to version v0.9.0?

great! a lot fixes

release done


Page size greater than length of data

Problem Description
If you pass in a small dataset (say an array of 10 items), the you can still change the length of the table to be greater than the dataset. As a result, it produces these rows with these strange characters.
It's possible to avoid this with pageSizeOptions, but it seems like this kind of thing should be built in.
Hacky fix
const getPageSizeOptions = (data) => {
  const isBigEnough = (value) => value <= data.length;
  const reducedPageSizes = this.props.pageSizeOptions.filter(isBigEnough);
  return reducedPageSizes;
};

<ReactTable
   columns={columns}
   data={data}
   pageSizeOptions={getPageSizeOptions(data)}
/>

Steps to Reproduce
NOTE: I'm using the source file found here.

Pass in a small data set
Load the page, and change the table page length to a number longer than the dataset.

Suggestions
I think it would make sense that if the data set's length is under 100, the the page length options should be limited to under the data.length, and perhaps the final option should be Show all. This could still be overridden with the pageSizeOptions prop.

To add onto this, I think it would be great if the number of rows to reflect the length of the data. For example, if there's 7 rows of data, and the page length is 10, only show the 7 rows, rather than showing 3 empty rows.

@roginfarrer, can you please try and reproduce your code in this codepen demo: http://codepen.io/tannerlinsley/pen/QpeZBa?editors=0010.
As for your second comment, this is true, some people may prefer that the padding rows are not present, though in user-research, we found that 99% of the time, the last page of data shown without padding rows would consequently change the height of the table and position of the bottom toolbar.  This was disorienting according to our users and also caused unneeded reflow and scrollbar changes below our table. We ultimately decided to default to include padding rows.
Great news though. By setting the minRows prop to 0, you can rest assure that no padding rows will ever be shown. :)

@roginfarrer, if you add the following tag to your HTML, the strange characters will disappear (those are actually   being rendered improperly):
<meta charset="utf-8">

With that utf fix and the minRows set to 0 this should be fixed.

You can make
defaultPageSize {data.length}


why no logdet computed for the actnorm in conv2d

https://github.com/openai/glow/blob/eaff2177693a5d84a1cf8ae19e8e0441715b82f8/tfops.py#L256
In this line of code, after conv2d, another actnorm is used.
I'm not quite clear why logdet is not computed for this actnorm, this actnorm also changed the distribution volume.

The conv2d operations are not applied to the random variable directly. They are used by the affine coupling layer to parameterize the affine transformation on the random variable.


make inject robust to games with gaps in current played state

cc @malgorithms @chrisnojima

tested locally so ignoring CI


White (or black) screen, no audio

I've set up MythBoxee (nightly build) to access my MythTV 0.23.1 (MythDora) backend.  I'm using the XML stream method.  I can't use SMB because I have two storage groups.  When I try to play a TV episode on a Windows 7 system, I get only a pure white screen and no sound.    I can play other content in Boxee.  This only happens in Mythboxee.  Is there any other information I can provide to help resolve this?

The Boxee Box is dead, this project is dead.


Duplicate titles for queuing jobs

I set aria2 to process 2 files simultaneously. Then I notice same titles for the pending jobs. I ignore it and observe what it will download, result is the continuation. In summary, correct download wrong GUI page title display.

Close seems the issue seems dead (4 years old). Feel free to reopen if you still have issues


blake3 hash support

Is it ok to support a new (fast) hashing function that is not in python's hashlib?
BLAKE3 looks really interesting.
Initial implementation would be something along the lines of https://github.com/aa956/scorch/tree/blake3-hash - try to import blake3 and use if it's installed.

As discussed in /pull/43 there is no practical gain from the additional hash, scorch is mostly IO bottlenecked even on fast storage.


refactor NodeScoket

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 66.42336% with 46 lines in your changes missing coverage. Please review.

Project coverage is 82.93%. Comparing base (d67c927) to head (943317d).

Files with missing lines
Patch %
Lines

node_graph/node_graph.py
48.43%
33 Missing :warning:

node_graph/socket.py
55.55%
12 Missing :warning:

node_graph/property.py
85.71%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #23      +/-   ##
==========================================
+ Coverage   81.62%   82.93%   +1.31%
==========================================
  Files          30       30
  Lines        1703     1717      +14
==========================================
+ Hits         1390     1424      +34
+ Misses        313      293      -20

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


Support for SLH-DSA

Is anyone working on adding support for SLH-DSA (FIPS 205)?  I have a client that needs this tested, and wanted to see if there's any ongoing work before I tackle it.
Thanks!

Hi Randy,
I have begun work on it and should have it done within the next week and a half (hopefully less) in the 2.2.0 branch.
Thanks,
Andrew

Awesome, thanks

Closing, I'll monitor 2.2.0 for updates.

Just an update - should have this in on Tuesday. Apologies for the wait.


Open api regex trigger fix

added a test for the regexTriggerMatcher

Please make sure, that this test is properly testing the fix or whether the fix is not needed anymore. I tried, but could not see red-green effect of the new test when reverting the "fix" and reapplying it.

I came to the same result, the matcher seems to work without any change.


feat: add ping command

Relevant Issues
No github issues, but the relevant conversation in pydis/dev-contrib is around here https://discord.com/channels/267624335836053506/635950537262759947/831533475760832603
Description
A simple command that sends an embed showing the bot's websocket latency. It is simple as was discussed; it has no need to be complex, just provide basic information and more importantly show that the bot is online.
Screenshots

Did you:

[x] Join the Python Discord Community?
[x] If dependencies have been added or updated, run pipenv lock?
[x] Lint your code (pipenv run lint)?
[x] Set the PR to allow edits from contributors?


Handle mixed protocol versions e.g. client = V5, server = V4

The protocol version supported by the proxy shouldn't have to match the protocol version of the cluster. This could enable legacy applications. It could be fairly expensive to re-encode queries, so using the same protocol version should be preferred.

Currently the proxy blows up with:
{"level":"error","ts":1636406235.5825562,"caller":"proxy/proxy.go:279","msg":"unable to decode frame","error":"cannot decode frame header: expected USE_BETA flag to be set for protocol version ProtocolVersion OSS 5 (beta)","stacktrace":"cql-proxy/proxy.(*client).Receive\n\t/go/src/cql-proxy/proxy/proxy.go:279\ncql-proxy/proxycore.(*Conn).read\n\t/go/src/cql-proxy/proxycore/conn.go:112"}
When using the default settings from the python driver.
Shouldn't it negotiate down to v4?

The lib the proxy was using didn't support this, but has since been fixed: https://github.com/datastax/go-cassandra-native-protocol/pull/26
I'll upgrade and push a new release.


Make .Summary word limit configurable

Currently there is a 70 words limit for .Summary. This does not work very well for CJK languages because the summary will only show 70 characters without properly matching the end of the sentences. (symbol 。in Chinese). I'm wondering if word limit for .Summary can be made configurable? Thanks!

The default of 70 is set in helpers/helpers.go. You can work around that by using <!-- more --> in your markdown file. Would that work for your use?

This reasonable request, but I'm pretty sure it is a duplicate of another issue.

#1142 is very similar

Looks like one workaround would be to expose Truncate() to the templates so you can do: {{ Truncate .Summary 50 }}

@Xeoncross We have a truncate template func. See the docs.

This was fixed recently. Use summaryLength config option.


fix(curriculum): RPG - Ternary anti-pattern

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes https://github.com/freeCodeCamp/freeCodeCamp/issues/52669

Overview

Remove step 140, update numbers of all steps after 140
Replace all fighting === 2 ? winGame() : defeatMonster(); to original if-else statement
Update description of step 147 (before is 148)

@altsun
it looks like you are failing a few of the automated checks.
It is possible your changes might have caused an error in the test suite.
You can run tests locally by running the commands listed in the guide here
https://contribute.freecodecamp.org/#/how-to-work-on-coding-challenges?id=testing-challenges

@altsun
it looks like you are failing a few of the automated checks.
It is possible your changes might have caused an error in the test suite. You can run tests locally by running the commands listed in the guide here https://contribute.freecodecamp.org/#/how-to-work-on-coding-challenges?id=testing-challenges

Not sure why my code changes cause this error: RangeError: Maximum call stack size exceeded. I will check this

With the ternary being converted to if-else, we have 5 ifs in the attack function. This failed a test in step 153 (currently 154) because it was expecting 4 ifs.
I updated the test to expect 5 instead.

Thank you @huyenltnguyen


[Feature Request]: Override external SDK container URLs for Dataflow by default in Java SDK

What would you like to happen?
Override external SDK container URLs for Dataflow by default in Java SDK so users don't need to manually specify --sdkHarnessContainerImageOverrides for Java cross-language pipelines using Python transforms.
Issue Priority
Priority: 2
Issue Component
Component: cross-language

Why would the user have to manually (or automatically) specify this?

@chamikaramj what do you think of this?

I think this is done. Users do not have to specify "sdkHarnessContainerImageOverrides" when using Java multi-language on Dataflow with released Beam.


Convert to Vite

This is a draft conversion to Vite with the Remix plugin. There are currently several issues and bugs with this PR that need to be worked out before this can be merged:

Mocks are not being run in dev mode (e.g. "dev:remix": "binode --require ./mocks -- vite"); when I originally tried this, I got ESM/CJS compatibility errors, so I just removed the mocks loader from the dev command
tsc complains about import.meta usage, even though the tsconfig.json is configured correctly for Vite, so I had to disable the call to tsc in the validate:precommit script in order to make this commit
The types for the sync-directory package are vended incorrectly and TypeScript complains about them; I added @ts-expect-error at each import site to get around this
For some reason, Vite is trying to resolve a module from<EMAIL_ADDRESS>The error message says to mark it as external, but it's still throwing the error Could not resolve "builtin-modules", even when it's marked as external in build.rollupOptions.external; This error doesn't seem to actually impact any functionality
Without using the @vitejs/plugin-react plugin, the React global is used in the JSX transform (e.g. React.createElement) without an import, causing ReferenceError: React is not defined errors
Including the official React plugin causes a client-side error during dev (Uncaught SyntaxError: Identifier 'RefreshRuntime' has already been declared) due to multiple versions of the React Refresh (HMR) Runtime being loaded: one by the Remix plugin and one by the React plugin.
Building the site for production with the official React plugin and running it with remix-serve causes an error: TypeError: jsxDEV is not a function; Building the site for production without the official React plugin and running it with remix-serve causes a different error: ReferenceError: React is not defined
Unicode on the site is not being rendered correctly: the 💿 emoji in the <nav> and <title> is being rendered as ðŸ’¿ and the © symbol in the <footer> is being rendered as Â©

However!
If you run npm run dev, it will run the development version of the site locally and — as far as I can tell — all of the functionality works.

Amazing! Thanks @markmals for working on this and outlining what's still missing


docs: correct completion.gif image path

Assets paths in AIO need to be relative. This also ensures that the base href element is respected if changed.
https://app.circleci.com/pipelines/github/angular/angular/46755/workflows/ea228e6e-62ab-4d7f-9764-2c1056ad0366/jobs/1173152

Darn it, I knew I was going to screw this up when I had to split that PR. Thanks for fixing this!


Needs Refresh

[Enter feedback here]
This data is published over 18 months ago and needs to be refreshed at minimum. It would be good to see the rolling 30 days averages updated daily which is easy to automate.
Thanks
Gareth

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

ID: 311b6efb-2d93-6130-96a9-867fad56bd52
Version Independent ID: a17faabf-04c6-c3da-9a37-a86b0d00cbfd
Content: Azure network round-trip latency statistics
Content Source: articles/networking/azure-network-latency.md
Service: virtual-network
GitHub Login: @nayak-mahesh
Microsoft Alias: kumud

Thanks for the feedback! I have assigned the issue to the content author to investigate this and update the document as appropriate.

#reassign: @mbender-ms

I am creating a doc bug for the Azure Latency chart issuez. Since there are multiple issues related to this page, I am currently investigating this issue with the Product team and will be closing all the open issues.
#please-close


[Map] MH-(@)_Vortex2_LUCKY

URL: https://unrealarchive.org/maps/unreal-tournament/monster-hunt/V/mh-_vortex2_lucky_28862b27.html
Hash: 28862b27fa53f6ca372dff4319c77b72f9c21dd6
Current name: MH-(@)_Vortex2_LUCKY
This is an odd one - although it appears to have been converted to MH, it is just the Vortex Rikers map from Unreal - there are no monsters in it apart from two Skaarj Warriors - one of these leads the player onwards and then dies - the other is in the ducts and I didn't encounter it at all, I only know of its presence from looking at the map in the Editor.  So it is a map that a player can walk through but there is nothing to do per se apart from reading the translator messages, which have no real meaning outside of the whole SP campaign.

Sending it to Tests and Demos.


io/fs: malformed module path "io/fs": missing dot in first path element

on Ubuntu 22.04.3 LTS:
~/bluefin$ make
# Needed to fetch new dependencies and add them to go.mod
...
go mod tidy
github.com/blinklabs-io/bluefin/internal/logging imports
        go.uber.org/zap tested by
        go.uber.org/zap.test imports
        io/fs: malformed module path "io/fs": missing dot in first path element
make: *** [Makefile:23: mod-tidy] Error 1

This is coming from a third party dependency. What version of the Go toolchain are you using?

go1.13.5 linux/amd64

That version of Go is pretty ancient at this point. You'll need at least 1.19.x, and probably 1.20.x+

Oops yeah I just realized I installed the totally wrong version of Go.
1.21.1 worked great, thanks!


Reading Goals

Reading goals and read time tracker
Example: Apple Books

Design Draft:
Time tracking
Create a statistics database with a table Sessions(id, start, seconds, type, content_id).
Add key-value setting for desired daily target with default = 15 minutes (900 seconds).
On launching a book, trigger a new session with the current date time.
On returning to home screen or app life cycle in [inactive, paused, detached], stop timer and save session to database.
Note: delegate inactive states to app life cycles instead of manually observing user behavior on the app.
On home screen, fetch Sessions with start time between 00.00 and 23.59.99 today. Sum all seconds for the total time read today. Sessions that go into the next day will be counted towards the day of the their start date. As such, it is possible to exceed 24 hours read time in one day.
Goals and Streaks
Add a table Goals(id, date, goal, total, session_ids)
On session creation to database, create new goal with date=today if such goal does not exist otherwise update such goal. Add session id to the goal and update towards the total. Update goal of today whenever user changes their goal.
On home screen streaks component, fetch all goals between start and end of current month. Get the percentage of goal completion by total/goal. On click each day, fetch all sessions by session_id.
Updating daily goal
When user updates daily goal, update both key-value setting of desired daily target as well as the goal row with date=today.
Note that goal setting is in seconds but displayed in minutes.

81f5fe7de67a3bf8a4632c36bd7062482ef9ca33 36f0c468bb0493d3757bd72cba9f8a8daac1fcfc b01bfc9ef8b5aba6baf8466750b8c4c28702106e 861020fa121c931422153aa71626ceda93a1c8a8 d752b987adcccbf232adb0d61c45ef3e14ce578d 9ec0bb42b5bda3aef9d6f1573c2a0a53fd2b235f


Vue.js 3 support

As title, is it possible to support the Vue.js 3 version?
Thanks.

Hi, I will do this job as soon as. Thanks for your recommendation.


IE11 meta tag

This skin wont work in any IE engine under IE11, could you add this meta tag to the opening page?
<meta http-equiv="X-UA-Compatible" content="IE=11">
I'm rendering it in a .NET WebBrowser control which needs this if it depends on IE11 or Edge.

I've added the tag to master for 2.1.3 (if released) or 2.2.0

Many thanks. I see this is in master but my LMS still showing 2.1.2

Is there a separate release process for rolling this out to the LMS plugin repository?

That's because I have not made a 2.1.3 or 2.2.0 release yet - I do not make a release after every change. Sorry, but you either need to run a git dev version, or wait for me to make a release.

That's because I have not made a 2.1.3 or 2.2.0 release yet - I do not make a release after every change. Sorry, but you either need to run a git dev version, or wait for me to make a release.

That's fine thanks, just asking.

Thanks for 2.1.3
It works in Edge (as did 2.1.2) but not IE
2 errors listed:
SCRIPT1002: Syntax error
material.min.js (62,40)
SCRIPT5009: 'Vue' is undefined
material-deferred.min.js (232,108)

All I did was add the tag you requested. Sorry, but I do not use Windows so have no time to investigate issues with IE. If you have an fixes then I will gladly apply, but I have no time for this myself.

MetaTunes is a different user, not me. He is using my my .NET product though which renders the LMS interface in a WebBrowser. I'll investigate why it's still throwing the javascript errors.

I'm now thinking if the skin relies on ES2015 constructs like classes, we may need that IE=11 meta tag changed to IE=edge in order for it to load in a .NET WebBrowser control. For optimal IE/Edge compatibility I'd recommend:
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

Did you not try these tags before asking for the original change?

I've tried . It doesn't work.
@jezbo7 - I suggest I test on my system before suggesting changes

No sorry didn't try it first, I thought it would help. I think you can remove the meta tag again for your next release as not even IE=edge seems to help either.

Just for the record, @jezbo7 fixed Muso to use a modern browser, so the original reason for this request is no longer an issue

Just for the record, @jezbo7 fixed Muso to use a modern browser, so the original reason for this request is no longer an issue


HoloToolkit-Unity release plan

I will keep this thread posted if there are any changes. Happy Thanksgiving :)

Release version v<IP_ADDRESS> has been completed. If your application wants to use that release, please free to clone the link into your custom folder.

FYI, Unity 5.5 was released today.

FYI, Unity 5.5.0p1 was released today.

FYI, Unity 5.5.0p2 was released today.
Fixes:
(none) - HoloLens: Fixed a crash in Editor when terminating Remoting App during an active Holographic Remoting session.
(848237) - HoloLens: Improved error reporting when failing to load PerceptionRemotingPlugin.dll (used by Holographic Remoting).

@NeerajW would you like to keep this issue open for future release announcements or close?

FYI, Unity 5.5.0p4 was released today.
Fixeds:

(858208) AR: Fixed a crash when exiting play mode during a Holographic Simulation session.

@NeerajW I'm going to go ahead and close this since the release plan has effectively been executed.


[vite:laravel:config] Could not read configuration: EISDIR: illegal operation on a directory

I using multiple configs when I running command: npx vite --config vite.frontend.config.js
I see error:
error when starting dev server:
Error: [vite:laravel:config] Could not read configuration: EISDIR: illegal operation on a directory, read
at readConfig (E:\laragon\www\tanmnt\larajs-2.0\node_modules\vite-plugin-laravel\dist\index.cjs:331:11)
at Object.config (E:\laragon\www\tanmnt\larajs-2.0\node_modules\vite-plugin-laravel\dist\index.cjs:194:22)
at resolveConfig (file:///E:/laragon/www/tanmnt/larajs-2.0/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:62432:33)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async createServer (file:///E:/laragon/www/tanmnt/larajs-2.0/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:59000:20)
at async CAC. (file:///E:/laragon/www/tanmnt/larajs-2.0/node_modules/vite/dist/node/cli.js:699:24)

Can you set the DEBUG env variable to vite:laravel:config and copy over the logs? Also what happens if you don't specify the config as a parameter to the laravel plugin, but just use --config with the CLI?

The config default is working

@innocenzi Can you help me? I don't solution yet :(

I can if you give me the logs I asked in my previous response ^^
Additionally, your default config's build_path option should not be build, but something like build/default or whatever fits for your use case.
The issues seems to be that for some reason, the plugin has a directory instead of a file as its config parameter.

Hi @innocenzi
I did find a solution. I did change the name config "frontend" to "frontend-office" is working. If the name "frontend" then error :D

Also, Can I put the file "vite.frontend-office.config.js" in the frontend folder?
I see an error when put file "vite.frontend-office.config.js" in frontend folder


Rsocket and Websocket in Webflux mode on the Spring Cloud

In my opinion, at the moment, one of the weaknesses of the Spring framework is the failure to finish Rsocket and Websocket in Webflux mode for Spring-cloud-gateway, even making a message broker that supports Rsocket and Reactive HTTP at the same time. In addition to adding these affairs, adding general maps automatically like Redis for keeping Websocket or Rsocket sessions easily helps developers broadcast data across these sessions through multiple machines.

Closing in favor of transferred issue https://github.com/spring-cloud/spring-cloud-gateway/issues/3053. Please don't open the same issue multiple times


Covid Shinyline

Thanks for contributing your submission to the e-Rum2020 CovidR contest.
For CovidR contributors:

[x] The title of this PR reflects your contribution
[x] The pull request only includes one new .yml file under contest/contributions
[x] Make sure "Allow edits from maintainers" is checked
[x] Send an email to<EMAIL_ADDRESS>(for further direct communication down the road)

Subject: "Submission to CovidR: PR #00", where #00 is the number of this Pull Request
Content: A full link to this Pull Request
Optionally include your social media profiles (Twitter, LinkedIn, Facebook): we will use them to @mention you while sharing the contribution through our channels.

For CovidR maintainers:

[x] Label the PR as "submission"
[x] Check the validity of the submission
[x] Assess completeness of metadata and possibly adjust the .yml file-name
[x] Check the integration of the new page in the website gallery (via Actions' artifact or locally)
[x] Make sure the email to<EMAIL_ADDRESS>was received
[x] Add a field with the current date and approx. merge time (e.g. 2020-04-01-16:30 for April 1st, 4:30 PM)
[x] Squash-merge the pull request (commit headline will be OK, consider cleaning-up the details)
[x] The initial comment should be automatically created, otherwise comment manually with the raw content of vote-comment.md and an initial like
[x] Provide here the link to the contribution as published to the gallery: https://milano-r.github.io/erum2020-covidr-contest/hahn-covid-shinyline.html
[ ] Instruct contributors on how to include their badge from the gallery page, share on social media, and get a free ticket.
[x] Consolidate e-mailed information.

@nicoFhahn, your submission is now accepted and visible at https://milano-r.github.io/erum2020-covidr-contest/hahn-covid-shinyline.html :tada:
You can click on the eRum2020::Covidr badge in the page to obtain the badge code you can embed in your repository.
Furthermore, feel free to spread your contribution on social media with the link above, using hashtags #erum2020 #covidr, and invite the community to like the contribution using the corresponding button.
Last but not least: You can get your free ticket for the pre-conference event at https://www.eventbrite.it/e/covidr-erum-2020-pre-conference-event-tickets-104133026686