Bug with 2.11 or newer when using .net core client

The 2.10 docker image works fine, 2..11 or newer breaks nesting and also the service graph.
I'm running the following
2.10 - docker run --rm -it -p 9411:9411 openzipkin/zipkin:2.10
2.11 - docker run --rm -it -p 9411:9411 openzipkin/zipkin:2.11
2.10 - Working

2.11 - Broken Nesting

The following code is using .NET core 2.1
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using zipkin4net;
using zipkin4net.Middleware;
using zipkin4net.Tracers.Zipkin;
using zipkin4net.Transport.Http;

namespace TracingTest
{
    class Program
    {
        static readonly DateTime _startDateTime;
        static readonly long _startTicks;
        static Program()
        {
            _startDateTime = DateTime.UtcNow;
            _startTicks = System.Diagnostics.Stopwatch.GetTimestamp();
        }

        static async Task Main(string[] args)
        {
            using (var services = new ServiceCollection()
                .AddLogging(builder =>
                {
                    builder
                    .AddConsole()
                    .AddDebug();
                })
                .BuildServiceProvider()
            )
            {
                TraceManager.SamplingRate = 1;
                var loggerFactory = services.GetRequiredService<ILoggerFactory>();
                var logger = new TracingLogger(loggerFactory, "Tracing");
                var sender = new HttpZipkinSender("http://localhost:9411", "application/json");
                var serializer = new JSONSpanSerializer();
                var tracer = new ZipkinTracer(sender, serializer);
                TraceManager.RegisterTracer(tracer);
                TraceManager.Start(logger);

                // Timings
                var uiStart = UtcNow;
                var gatewayStart = uiStart.AddMilliseconds(10);
                var gatewayCallAuthStart = gatewayStart.AddMilliseconds(10);
                var gatewayCallProfileStart = gatewayStart.AddMilliseconds(20);
                var authStart = gatewayCallAuthStart.AddMilliseconds(10);
                var authEnd = authStart.AddMilliseconds(500);
                var gatewayCallAuthEnd = authEnd.AddMilliseconds(10);
                var profileStart = gatewayCallProfileStart.AddMilliseconds(10);
                var profileEnd = profileStart.AddMilliseconds(100);
                var gatewayCallProfileEnd = profileEnd.AddMilliseconds(10);
                var gatewayEnd = new DateTime(Math.Max(gatewayCallAuthEnd.Ticks, gatewayCallProfileEnd.Ticks), DateTimeKind.Utc).AddMilliseconds(10);
                var uiEnd = gatewayEnd.AddMilliseconds(10);

                // UI Call Gateway
                var uiTrace = Trace.Create();
                uiTrace.Record(Annotations.ServiceName("client"));
                uiTrace.Record(Annotations.Rpc("get-user"));
                uiTrace.Record(Annotations.ClientSend(), uiStart);
                uiTrace.Record(Annotations.ClientRecv(), uiEnd);

                // Gateway
                var gatewayTrace = uiTrace.Child();
                gatewayTrace.Record(Annotations.ServiceName("api-gateway"));
                gatewayTrace.Record(Annotations.Rpc("get-user"));
                gatewayTrace.Record(Annotations.ServerRecv(), gatewayStart);
                gatewayTrace.Record(Annotations.ServerSend(), gatewayEnd);

                // Gateway Call Auth
                var gatewayCallAuthTrace = gatewayTrace.Child();
                gatewayCallAuthTrace.Record(Annotations.ServiceName("auth-service"));
                gatewayCallAuthTrace.Record(Annotations.Rpc("get-permissions"));
                gatewayCallAuthTrace.Record(Annotations.ClientSend(), gatewayCallAuthStart);
                gatewayCallAuthTrace.Record(Annotations.ClientRecv(), gatewayCallAuthEnd);

                // Gateway Call Profile
                var gatewayCallProfileTrace = gatewayTrace.Child();
                gatewayCallProfileTrace.Record(Annotations.ServiceName("api-gateway"));
                gatewayCallProfileTrace.Record(Annotations.Rpc("get-profile"));
                gatewayCallProfileTrace.Record(Annotations.ClientSend(), gatewayCallProfileStart);
                gatewayCallProfileTrace.Record(Annotations.ClientRecv(), gatewayCallProfileEnd);

                // Auth Service
                var authTrace = gatewayCallAuthTrace.Child();
                authTrace.Record(Annotations.ServiceName("auth-service"));
                authTrace.Record(Annotations.Rpc("get-permissions"));
                authTrace.Record(Annotations.ServerRecv(), authStart);
                authTrace.Record(Annotations.ServerSend(), authEnd);

                // Profile Service
                var profileTrace = gatewayCallProfileTrace.Child();
                profileTrace.Record(Annotations.ServiceName("profile-service"));
                profileTrace.Record(Annotations.Rpc("get-profile"));
                profileTrace.Record(Annotations.ServerRecv(), profileStart);
                profileTrace.Record(Annotations.ServerSend(), profileEnd);

                // Wait for key to close program
                Console.ReadKey(true);
                TraceManager.Stop();
                TraceManager.ClearTracers();
            }
        }

        static DateTime UtcNow => _startDateTime.AddTicks(System.Diagnostics.Stopwatch.GetTimestamp() - _startTicks);
    }
}

See issue on client for more info
https://github.com/openzipkin/zipkin4net/issues/224

thanks. can you click json button for this trace and post it here?
On Fri, Jan 4, 2019 at 7:06 AM Aaron Stainback<EMAIL_ADDRESS>wrote:

The 2.10 docker image works fine, 2..11 or newer breaks nesting and also
the service graph.
I'm running the following
2.10 - docker run --rm -it -p 9411:9411 openzipkin/zipkin:2.10
2.11 - docker run --rm -it -p 9411:9411 openzipkin/zipkin:2.11
2.10 - Working
[image: 2 10]
https://user-images.githubusercontent.com/578953/50666042-088a7400-0f81-11e9-83ef-ee838219a24d.jpg
2.11 - Broken Nesting
[image: 2 11]
https://user-images.githubusercontent.com/578953/50666045-0a543780-0f81-11e9-9e41-7c25a124ac2f.jpg
The following code is using .NET core 2.1
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using zipkin4net;
using zipkin4net.Middleware;
using zipkin4net.Tracers.Zipkin;
using zipkin4net.Transport.Http;
namespace TracingTest
{
class Program
{
static readonly DateTime _startDateTime;
static readonly long _startTicks;
static Program()
{
_startDateTime = DateTime.UtcNow;
_startTicks = System.Diagnostics.Stopwatch.GetTimestamp();
}
    static async Task Main(string[] args)
    {
        using (var services = new ServiceCollection()
            .AddLogging(builder =>
            {
                builder
                .AddConsole()
                .AddDebug();
            })
            .BuildServiceProvider()
        )
        {
            TraceManager.SamplingRate = 1;
            var loggerFactory = services.GetRequiredService<ILoggerFactory>();
            var logger = new TracingLogger(loggerFactory, "Tracing");
            var sender = new HttpZipkinSender("http://localhost:9411", "application/json");
            var serializer = new JSONSpanSerializer();
            var tracer = new ZipkinTracer(sender, serializer);
            TraceManager.RegisterTracer(tracer);
            TraceManager.Start(logger);

            // Timings
            var uiStart = UtcNow;
            var gatewayStart = uiStart.AddMilliseconds(10);
            var gatewayCallAuthStart = gatewayStart.AddMilliseconds(10);
            var gatewayCallProfileStart = gatewayStart.AddMilliseconds(20);
            var authStart = gatewayCallAuthStart.AddMilliseconds(10);
            var authEnd = authStart.AddMilliseconds(500);
            var gatewayCallAuthEnd = authEnd.AddMilliseconds(10);
            var profileStart = gatewayCallProfileStart.AddMilliseconds(10);
            var profileEnd = profileStart.AddMilliseconds(100);
            var gatewayCallProfileEnd = profileEnd.AddMilliseconds(10);
            var gatewayEnd = new DateTime(Math.Max(gatewayCallAuthEnd.Ticks, gatewayCallProfileEnd.Ticks), DateTimeKind.Utc).AddMilliseconds(10);
            var uiEnd = gatewayEnd.AddMilliseconds(10);

            // UI Call Gateway
            var uiTrace = Trace.Create();
            uiTrace.Record(Annotations.ServiceName("client"));
            uiTrace.Record(Annotations.Rpc("get-user"));
            uiTrace.Record(Annotations.ClientSend(), uiStart);
            uiTrace.Record(Annotations.ClientRecv(), uiEnd);

            // Gateway
            var gatewayTrace = uiTrace.Child();
            gatewayTrace.Record(Annotations.ServiceName("api-gateway"));
            gatewayTrace.Record(Annotations.Rpc("get-user"));
            gatewayTrace.Record(Annotations.ServerRecv(), gatewayStart);
            gatewayTrace.Record(Annotations.ServerSend(), gatewayEnd);

            // Gateway Call Auth
            var gatewayCallAuthTrace = gatewayTrace.Child();
            gatewayCallAuthTrace.Record(Annotations.ServiceName("auth-service"));
            gatewayCallAuthTrace.Record(Annotations.Rpc("get-permissions"));
            gatewayCallAuthTrace.Record(Annotations.ClientSend(), gatewayCallAuthStart);
            gatewayCallAuthTrace.Record(Annotations.ClientRecv(), gatewayCallAuthEnd);

            // Gateway Call Profile
            var gatewayCallProfileTrace = gatewayTrace.Child();
            gatewayCallProfileTrace.Record(Annotations.ServiceName("api-gateway"));
            gatewayCallProfileTrace.Record(Annotations.Rpc("get-profile"));
            gatewayCallProfileTrace.Record(Annotations.ClientSend(), gatewayCallProfileStart);
            gatewayCallProfileTrace.Record(Annotations.ClientRecv(), gatewayCallProfileEnd);

            // Auth Service
            var authTrace = gatewayCallAuthTrace.Child();
            authTrace.Record(Annotations.ServiceName("auth-service"));
            authTrace.Record(Annotations.Rpc("get-permissions"));
            authTrace.Record(Annotations.ServerRecv(), authStart);
            authTrace.Record(Annotations.ServerSend(), authEnd);

            // Profile Service
            var profileTrace = gatewayCallProfileTrace.Child();
            profileTrace.Record(Annotations.ServiceName("profile-service"));
            profileTrace.Record(Annotations.Rpc("get-profile"));
            profileTrace.Record(Annotations.ServerRecv(), profileStart);
            profileTrace.Record(Annotations.ServerSend(), profileEnd);

            // Wait for key to close program
            Console.ReadKey(true);
            TraceManager.Stop();
            TraceManager.ClearTracers();
        }
    }

    static DateTime UtcNow => _startDateTime.AddTicks(System.Diagnostics.Stopwatch.GetTimestamp() - _startTicks);
}

}
See issue on client for more info
openzipkin/zipkin4net#224
https://github.com/openzipkin/zipkin4net/issues/224
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/openzipkin/zipkin/issues/2342, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAD6134byyF9qFxpPDFKtAEAGgZccSK7ks5u_oztgaJpZM4Zo6Ty
.

Could you also make sure it is pulling the latest 2.11 tag? Or tell us which version of the server this is happening on by the response from GET /info?

Any update?

we had a number of onsite workshops in january which was both good and bad (bad as many occupied and distracted by travel) https://cwiki.apache.org/confluence/display/ZIPKIN/Workshops
on this now, tho! thanks for the ping

root (client) span 6f5f on service "client" lands on "api-gateway" as server span 76d5
client span c3f8 lands on "profile-service" as server span 3e19
client span f956 lands on "auth-service" as server span 5be7
The configuration bug is that client span f956 ("get-permissions") has the wrong local endpoint. It has accidentally put the remote service name as the local service name.
It should be the same as the server it was invoked on, not the server it is invoking. I suspect if you correct the config for "get-permissions" to set the correct local endpoint, to "api-gateway", not "auth-service" which is the remote service name, it will be fine.
I checked this and it presents properly when the data is correct.

Why does this work fine in 2.10?

sorry this is won't fix. the instrumentation is sending incorrect data
which is better fixed where the problem exists. The fact that 2.10
accidentally worked is of no consequence here.

@adriancole 2.10 and every single version before 2.10 work, not just 2.10, 2.11 broke this.

@adriancole as you said before "it looks like there is a data problem we didn't account for in the latest server code."  So the server code changed to make it less robust to client/data issues.  This seems like a step backwards for the server code.  I don't disagree that the client should be fixed as well but since the server used to handle this scenario but now does not this seems like a step backwards.  From a .NET developers perspective it's sure making jaeger seem like it's worth exploring.

do what you need to do. if jaeger can present incorrect data better and
that is a priority for you over fixing the problem.  probably you should do
that.


where is yolov4full.tflite ？

I tried to build and install this repo‘s android app， but it reports the error：
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: yolov4full.tflite

Did you run convert_tflite.py? The repo doesn't come with the model. I had to download the yolov4 weights and then the below command to generate the tflite file. Hope this helps.
python convert_tflite.py --weights ./data/yolov4.weights --output ./data/yolov4.tflite

Did you run convert_tflite.py? The repo doesn't come with the model. I had to download the yolov4 weights and then ran the below command to generate the tflite file. Hope this helps.
python convert_tflite.py --weights ./data/yolov4.weights --output ./data/yolov4.tflite

Thank you for your tip ! But the exported yolov4.tflite is 63040 KB. I think  this is too large to intergrate into android app, it is not suitable and practical.

That's about the size I got. Still less than the 240MB of the original model. You could try changing the optimizes on line 69 of convert_tflite.py from converter.optimizations = [tf.lite.Optimize.DEFAULT] to converter.optimizations = [tf.lite.Optimize.OPTIMIZE_FOR_SIZE]. Or try tiny the tiny version of YOLO. Not sure if weights are available or you will have to train your own though.

That's about the size I got. Still less than the 240MB of the original model. You could try changing the optimizes on line 69 of convert_tflite.py from converter.optimizations = [tf.lite.Optimize.DEFAULT] to converter.optimizations = [tf.lite.Optimize.OPTIMIZE_FOR_SIZE]. Or try tiny the tiny version of YOLO. Not sure if weights are available or you will have to train your own though.

Is converter.optimizations = [tf.lite.Optimize.OPTIMIZE_FOR_SIZE] effective for you ？ For me, it still export the same big size yolov4.tflite. By the way, i also try the other two command line :
# yolov4 quantize float16
python convert_tflite.py --weights ./data/yolov4.weights --output ./data/yolov4-fp16.tflite --quantize_mode float16

# yolov4 quantize int8
python convert_tflite.py --weights ./data/yolov4.weights --output ./data/yolov4-fp16.tflite --quantize_mode full_int8 --dataset ./coco_dataset/coco/val207.txt

the first command line produce a more big tflite file which is 125,789 KB, the second command line has two errors: one is the  --dataset path, another is after corect the dadaset path, the terminal report : RuntimeError: Max and min for dynamic tensors should be recorded during calibration

I have not tried optimize for size no. But thought it worth a try since it's an easy change.
Full int8 quantization requires a representative dataset so it can find the full dynamic range of each activation. So you'll need data for that. However, I didn't suggest it for your case as I don't think it will result in a smaller file since all the weights are already 8 bit in the regular tflite file. Full int 8 makes all the activations 8 bit as well, as far as my understanding of it.

@hunglc007 Can you update and fix the typo of #convert-to-tflite part

I have not tried optimize for size no. But thought it worth a try since it's an easy change.
Full int8 quantization requires a representative dataset so it can find the full dynamic range of each activation. So you'll need data for that. However, I didn't suggest it for your case as I don't think it will result in a smaller file since all the weights are already 8 bit in the regular tflite file. Full int 8 makes all the activations 8 bit as well, as far as my understanding of it.

Yeah, you reminds me ! The following screenshot is the content of representative dataset - val2017.txt. Does it mean in the folder of /media/user/Source/Data/coco_dataset/coco/images/val2017/, i got to have these real images, and what does the subsequent integers mean ?

Right, this is the file that points to where the files are located. The integers are the bounding boxes and the object class. I suggest studying on how YOLO works.
There are tools that can help label your own images. Like Vott. Or there are existing labelled data sets.

Right, this is the file that points to where the files are located. The integers are the bounding boxes and the object class. I suggest studying on how YOLO works.
There are tools that can help label your own images. Like Vott. Or there are existing labelled data sets.

@sterlingrpi  I got it ！Thanks ！

I have not tried optimize for size no. But thought it worth a try since it's an easy change.
Full int8 quantization requires a representative dataset so it can find the full dynamic range of each activation. So you'll need data for that. However, I didn't suggest it for your case as I don't think it will result in a smaller file since all the weights are already 8 bit in the regular tflite file. Full int 8 makes all the activations 8 bit as well, as far as my understanding of it.

Yeah, you reminds me ! The following scr
eenshot is the content of representative dataset - val2017.txt. Does it mean in the folder of /media/user/Source/Data/coco_dataset/coco/images/val2017/, i got to have these real images, and what does the subsequent integers mean ?

u can chage func def representative_data_gen in convert_tflite.py file
fimage = open(FLAGS.dataset).read().split()
for input_value in range(1000):
path = "path_to_image/"+fimage[input_value]
if os.path.exists(path):
print(fimage[input_value])
original_image=cv2.imread(path)
original_image = cv2.cvtColor(original_image, cv2.COLOR_BGR2RGB)
image_data = utils.image_preporcess(np.copy(original_image), [FLAGS.input_size, FLAGS.input_size])
img_in = image_data[np.newaxis, ...].astype(np.float32)
print(input_value)
yield [img_in]
else:
print(path)
continue

@sterlingrpi where did you put the .tflite file?

@sterlingrpi where did you put the .tflite file?

I left it in the default data directory

@sterlingrpi how does it perform on your phone? I installed on Google Pixel XL, it painfully slow

@EuphoriaCelestial haven't tried on a phone. I'm running on RPi. You can try full int8 quantization and/or YOLO tiny. We are working on this in another thread. But it's a process https://github.com/hunglc007/tensorflow-yolov4-tflite/issues/53

我没有尝试优化尺寸。但是认为这是值得尝试的，因为这是一个容易的更改。
完整的int8量化需要一个有代表性的数据集，因此它可以找到每个激活的完整动态范围。因此，您将需要数据。但是，我没有针对您的情况提出建议，因为我认为这不会导致文件变小，因为常规tflite文件中的所有权重已为8位。据我所知，Full int 8也使所有激活都为8位。

是的，你提醒我！以下屏幕截图是代表性数据集的内容-val2017.txt。这是否意味着在/ media / user / Source / Data / coco_dataset / coco / images / val2017 /的文件夹中，我必须拥有这些真实图像，并且随后的整数是什么意思？

I also met the same problem. How did you solve it? thank you


Goblin 0.4.2 overflows bootstrap allocator

Loading big applications (e.g. with network support) fails with goblin 0.4, since it allocates much more space.

This can be avoided by compiling with the release profile.

8febb721d5284555d9db5797bd3b07e5c9f7b466 is the first bad commit
commit 8febb721d5284555d9db5797bd3b07e5c9f7b466
Author: Alexander Meißner<EMAIL_ADDRESS>Date:   Fri Jul 2 05:35:56 2021 +0200

    strtab: Parse Strtab only once on Creation (#275)

    * Parse Strtab immediately when created,
    instead of on demand when entries are requested.
    * Renames from_slice_unsafe => from_slice_unparsed
    and updates comments.

 src/archive/mod.rs |   8 +--
 src/elf/dynamic.rs |   2 +-
 src/elf/mod.rs     |   6 +-
 src/pe/symbol.rs   |   7 +--
 src/strtab.rs      | 176 +++++++++++++++++++++++++++++++++++++----------------
 tests/elf.rs       |   2 +-
 6 files changed, 132 insertions(+), 69 deletions(-)

To solve this properly, we'll want to lazily parse the elf file, since we don't need strtab anyways.


Pip doesn’t work.

In the latest version of Pythonista, when I tried to “pip install requests”, I got a ModuleNotFound error when running Stash in Python 3 and “no module named pip._internal” when running it in Python 2. What can be causing this?

no module named pip._internal

StaSh's pip implementation is single file and has no module pip._internal. This indicates one of the following possibilities:

You somehow replaced StaSh's pip with the normal pip.
The module/package you want to install wants to access the pip internals.

To check if case 1 applies, please check the output of which pip. The output should be something like [...]/Documents/site-packages/stash/bin/pip.py. If it is something like [...]/Documents/stash_extensions/bin/pip.py, you have to remove that file. In this case, also remove any file and directory  called pip in the site-packages, site-packages-2 and site-packages-3 directory. Then force-restart pythonista to clear the module cache.
In case 2, we need more info: which package do you want to install? What is the traceback? To get more information about this, please run stashconf py_traceback 1 followed by pip --verbose install [name of package you want to install] and paste the output here.

It was the first case, now everything works. Thank you!

mine is idk


D415 error using slave mode

Required Info

Camera Model
D415

Firmware Version
<IP_ADDRESS>

Operating System & Version
Win 10 Pro

Platform
PC

SDK Version
2.38.1

Language
C++

Segment
AR

Issue Description
We have made an image shutter in a 60HZ frequency with Arduino and a shield that integrates a video commutator for VGA. With the commutation we achieve that in each frame it sends one frame with image or one with black, making the D415 camera, in slave mode, capture only the black frame to avoid the camera get influenced by the projection.
We know that for 60HZ the frames must be of 16,66ms per image. Also, the emission of the image on the projector is done in 3D mode and sequential frame with the D415 in camsync = 2 (slave mode). We have measured it and we made it work, also with the Viewer, the FPS of RGB and Depth are the same (if they are not synced the image collapses and we lose camera connection)

We have tested the sync signal we introduced in the camera with a camera and also with an external signal with the same HZ at 1,8V CMOS (logics), that is the tension that the sync, and pins 5 (VSYNC) and 9 (GROUND) are connected following Realsense specifications.

According to our logic analyzer we are getting the synchronism signal well, but in practice there are moments that work perfectly but there are others in which we get a series of errors and we think it is related to the slave mode. The camera json configuration is attached in the file shutter.json.
The errors are:

Json configuration doesn’t load parameters correctly.

RGB camera freezes when the cameras are activated in a certain order.

Process to replicate the error:

Load the json configuration to the camera.
Run Depth and RGB camera.

Turn on depth camera.

Random noise in the depth camera. Once in a while when we run the depth camera, it appears with a noise in the signal that doesn’t disappear over time. Once this happens, it’s difficult to get rid of it (sometimes we solved it restarting several times, reconnecting or waiting with the camera off). It doesn’t happen while the camera starts correctly.

Also, from our c++ realSense code, we run the cameras with rs2::pipeline.Start() (we have not found the way to launch only depth or RGB camera separately or, at least, set an order or delay between them). The shutter works perfectly in most cases, when depth camera is launched before the RGB camera. Sometimes this launch order is reversed and RGB is launched first. When this happens our shutter never works.
shutter.json.txt

Hi @adborgon   I carefully considered all of the detail that you provided.  If the main problem is ensuring that the RGB launches after the depth, you may be able to achieve greater control over the process if depth and RGB are put on separate pipelines on the same camera.  This is a technique that is sometimes used when streaming depth, color and IMU simultaneously on the same camera in order to workaround problems with RGB caused by the IMU's activation.
There is a discussion about the subject in the link below.  It is very old, dating back to the launch of RealSense SDK 2.0, but may provide some useful insights about splitting depth and RGB into separate pipelines.
https://github.com/IntelRealSense/librealsense/issues/891

Hi @adborgon  Do you require further assistance with this case, please?   Thanks!

Case closed due to no further comments received.


Receive timeout while using redis as cache in play framework

am using redis as cache to store data in Play framework application. Redis module is enabled using following config in application.conf
play.modules.disabled += "play.api.cache.EhCacheModule"
Also library used while for redis integration is in build.sbt:-
libraryDependencies += "com.github.karelcemus" %% "play-redis" % "1.4.0"
In .classpath I have

I got error on set and get data in redis cache.
The exact error I am getting in application.log is:-
[error] s.i.ListenerActor - Receive timeout [error] p.a.cache.redis - Command GET classTag::_cursor_UPDATE_VAL for key 'GET' failed. scredis.exceptions.RedisIOException: Receive timeout to localhost/<IP_ADDRESS>:6379 at scredis.io.ListenerActor$$anonfun$reconnecting$1.applyOrElse(ListenerActor.scala:414) at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:170) at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171) at akka.actor.Actor$class.aroundReceive(Actor.scala:497) at scredis.io.ListenerActor.aroundReceive(ListenerActor.scala:27) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526) at akka.actor.dungeon.DeathWatch$class.receivedTerminated(DeathWatch.scala:46) at akka.actor.ActorCell.receivedTerminated(ActorCell.scala:374) at akka.actor.ActorCell.autoReceiveMessage(ActorCell.scala:511) at akka.actor.ActorCell.invoke(ActorCell.scala:494)
I checked /var/log/redis/redis-server.log but file is empty.
After getting this error frequently, I restarted the server and was able set/get data in redis cache. redis runs fine for 7-8 days, I am able to set/get data in cache but after 7-8 days will get same error again and I have to restart redis.
Is this due to redis is not accepting for new request? Which configurations should I change?

I will update the plugin and check logs.

Closing because there is no response from requestor.
In case of other problems please create new github issue.

I am getting the same error.
scredis.exceptions.RedisIOException: Receive timeout
at scredis.io.ListenerActor$$anonfun$reconnecting$1.applyOrElse(ListenerActor.scala:403)
at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:175)
at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:176)
at akka.actor.Actor.aroundReceive(Actor.scala:537)
at akka.actor.Actor.aroundReceive$(Actor.scala:535)
at scredis.io.ListenerActor.aroundReceive(ListenerActor.scala:22)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:579)
at akka.actor.dungeon.DeathWatch.$anonfun$receivedTerminated$1(DeathWatch.scala:79)
at akka.actor.dungeon.DeathWatch.$anonfun$receivedTerminated$1$adapted(DeathWatch.scala:70)
at scala.Option.foreach(Option.scala:407)
at akka.actor.dungeon.DeathWatch.receivedTerminated(DeathWatch.scala:70)
at akka.actor.dungeon.DeathWatch.receivedTerminated$(DeathWatch.scala:69)
at akka.actor.ActorCell.receivedTerminated(ActorCell.scala:410)
at akka.actor.ActorCell.autoReceiveMessage(ActorCell.scala:562)
at akka.actor.ActorCell.invoke(ActorCell.scala:545)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:270)
at akka.dispatch.Mailbox.run(Mailbox.scala:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
version :-
"com.github.scredis" %% "scredis" % "2.2.6"
Could you plz help in this.

Hi, thanks for reporting, try update to latest scredis version as there could be some fixes along the way and let me know if it still timeouts.


Supported MySQL Versions

Which versions the library supports? For example, the python library supports 4.1 + (https://pypi.org/project/PyMySQL/0.8.0/)

Hi, great question. This module implements both versions of the MySQL protocol (i.e. both pre and post 4.1), so should work with any version. But really, it should be called out in the docs and we should add a matrix of MySQL server versions in our CI to verify that.

Hi. I saw in some of the issues that you talked about version 3 of this library. like supporting some of new features that came to  mysql 8 latest versions. It would be so nice to have a section dedicated to the progress of version 3 of library.


Keyboard not responding in 1.2

Good morning
Machines involved:
Samsung N120 on Debian Jessie with lxqt version 0.9.0-1, dual core, 32 bit, 1Gb of memory, about 5 or so years old
MedionPC Akoya quad core running Jessie with KDE full, 64 bit, 4Gb of memory about 3 or 4 years old
Not using live development.
The 32 bit version of Brackets is that at https://github.com/adobe/brackets/releases/download/linux-cef-2171/Brackets.Release.1.2.32-bit.deb - see thread https://github.com/adobe/brackets/issues/10255 Debian - libgcrypt version breaks Brackets.
The 64 bit version is that in the same thread above - unknown by self if the same build as the 1.2 with requests for testing by @Sarath in the development channel, as no deb there and no idea how to build from source - have looked, head still spinning a little :)
32 bit version - zero keyboard response. Mouse appears to have full functionality. Fresh boot. Tested with extensions enabled and with extensions disabled, multiple opens and closes. No change on any opening of package. Also tried taking focus from window and giving it back (se 64 bit below) and no change. Do not have another 32 bit machine on which to test to see if hardware or software.
64 bit version has a similar problem, except is only very intermittant, and have not yet tried disabling extensions. Will add more to this when once done this part of testing - as occurs only over time, that may take a day or so. Issue seems to appear when there is a gap in usage of more than a couple of minutes (e.g. when I go for a meal, or answer nature). Keyboard has zero response, mouse appears to retain full functionality. After trying a few different things, found that by taking the focus away from the window and giving it back again (e.g. minimise/maximise, or open another application over the top then close it straight away) seems to resolve the issue in most occurances first time, but sometimes is stubborn and may need two or three unfocus/refocus attempts. Closing and restarting Brackets is not always a reliable fix in my experience to date.
As I do a lot of copy/paste, tested by clearing all the entries stored (cacherd?) from previous copy/paste actions, makes no difference to result.
Edit: note that cannot assure reproducable on the 64 bit, as sometimes after a break from the keyboard, it still functions.
With greetings
Romane
Later edit: Working with extensions disable. After posting the above edit about two or three minutes ago, on return to Brackets keyboard frozen. Placing the browser window back over the top of Brackets did not fix, but minimise/maximise Brackets did again allow keyboard input into Brackets.

@Romane-T All the builds linked above are prerelease/unstable builds.  Can you try the official stable build from http://brackets.io/ and let us know if you're seeing the same problem there?
At times when the keyboard is not responding, does the editor area still look like it has keyboard focus?  I.e. is there a blinking cursor?  If you drag a text selection using the mouse, is it colored blue (focused) or gray (unfocused)?  If you use the mouse to invoke a feature where focus would move elsewhere -- e.g. Find > Find or File > Open in the menu -- does typing work there?

:(
OK, now I'm confused. You're telling me to work with 1.1, and Sarath is
asking in Brackets-Dev for people to test 1.2.  So who do I listen to?
You or Sarath? Do you wish testers for 1.2, or do you not wish testers
for 1.2?  If
you want testers for 2.1 and I am posting my report in the wrong place,
then tell me where I should post instead of sending me discouragement.
If I am to look at 1.1, then I will simply downgrade to 1.0 and ignore
1.1, because from 1.1 on (and including 1.2) an extension that I rely on
is broken - that makes my life difficult. That has already been reported
to the extension developer. The only reason I have left, and continue to
work with, 1.2 on my machine to date is to try and help with the testing.
I make no apology if I sound annoyed. I am annoyed. I expected better,
less of the "developer attitude", more of a listener. Clearly I was
mistaken.
There is (underlined next word) zero problem with the mouse in 1.2 64
bit. I can select text, I can reposition the blinking cursor with the
mouse, I can operate the menus successfully with the mouse, right click
works fine and so on. As I reported, the keyboard randomly freezes while
the mouse continues to work OK. Sometimes it freezes when I open
Brackets, sometimes it freezes when I walk away from the computer,
sometimes it freezes when I go to another window or desktop and return.
And then, sometimes it does not freeze.
The fix I have found is to simply minimise the window, then restore it.
Appears to work every time.
I cannot give a way of reliably reproducing this bug, much to my regret.
Romane
On 18/02/15 18:32, Peter Flynn wrote:

@Romane-T https://github.com/Romane-T All the builds linked above
are prerelease/unstable builds. Can you try the official stable build
from http://brackets.io/ and let us know if you're seeing the same
problem there?
At times when the keyboard is not responding, does the editor area
still look like it has keyboard focus? I.e. is there a blinking
cursor? If you drag a text selection using the mouse, is it colored
blue (focused) or gray (unfocused)? If you use the mouse to invoke a
feature where focus would move elsewhere -- e.g. /Find > Find/ or
/File > Open/ in the menu -- does typing work there?
—
Reply to this email directly or view it on GitHub
https://github.com/adobe/brackets/issues/10598#issuecomment-74829195.

@Romane-T Sorry for the confusion. For Release 1.2, we have only so far provided builds for Mac & Windows here: https://github.com/adobe/brackets/releases/tag/release-1.2-prerelease1
We were hoping to get the Linux code for the builds that you tested into 1.2, but they're not yet ready so we decided to move on with Release 1.2 for Mac & Win, and provide Linux 1.2 builds soon.
Thanks for helping to test Brackets.

Good morning
On 19/02/15 02:40, Randy Edmunds wrote:

@Romane-T https://github.com/Romane-T Sorry for the confusion. For
Release 1.2, we have only so far provided builds for Mac & Windows
here:
https://github.com/adobe/brackets/releases/tag/release-1.2-prerelease1
We were hoping to get the Linux code for the builds that you tested
into 1.2, but they're not yet ready so we decided to move on with
Release 1.2 for Mac & Win, and provide Linux 1.2 builds soon.
Thanks for helping to test Brackets.
—
Reply to this email directly or view it on GitHub
https://github.com/adobe/brackets/issues/10598#issuecomment-74897309.

A small explanation goes a loooong way. Thank you. An apology also to
Peter - I know there is no excuse for my outburst, but still, a bad
moment and a perception of being discouraged...
Unfortunately, the Windows .msi is not recognised by Wine - more
research needed by self.
Will revert to the 1.1 release to be able to provide feedback on any
issues associated, and await the distribution of the 1.2 release.
With thanks and with greetings
Romane

Thanks @Romane-T -- I am curious to hear if that 1.1 .deb has the same problem for you.  For context, part of why this matters is that the "linux-cef-2171" native shell has major changes to the UI engine (Chromium) that could easily cause new bugs, so it's useful to compare.  We respond to hundreds of bug reports every month, so I sometimes write quick replies and don't always provide as much detail as I could :-)
Even if you're only seeing the problem in the "linux-cef-2171" build, I'd still be curious to hear info regarding my second paragraph above -- more details on the symptoms may help get to the bottom of what's going on.
Thanks for helping us test out the bleeding edge builds!

Good morning
On 19/02/15 13:41, Peter Flynn wrote:

Thanks @Romane-T https://github.com/Romane-T -- I am curious to hear
if that 1.1 .deb has the same problem for you. For context, part of
why this matters is that the "linux-cef-2171" native shell has major
changes to the UI engine (Chromium) that could easily cause new bugs,
so it's useful to compare. We respond to hundreds of bug reports every
month, so I sometimes write quick replies and don't always provide as
much detail as I could :-)
Even if you're only seeing the problem in the "linux-cef-2171" build,
I'd still be curious to hear info regarding my second paragraph above
-- more details on the symptoms may help get to the bottom of what's
going on.
Thanks for helping us test out the bleeding edge builds!
—
Reply to this email directly or view it on GitHub
https://github.com/adobe/brackets/issues/10598#issuecomment-74994686.

You are very gracious, Peter.
Just a quick note to affirm that 1.1 ( build 1.1.0-15558 (release
ea908cae5) build timestamp: Wed Dec 17 2014 13:00:52 GMT-0800) has run
without error or fault since install two days ago.
I will deal with your questions 1 by 1.
The 1.2 build am using is 1.2.0-15668 (master 027de3046) build
timestamp: Tue Feb 10 2015 0907:43 GMT-0800
Chromium is not installed on my machine. Whether that may or may not
affect results I do not know.
Peter: At times when the keyboard is not responding, does the editor
area still look like it has keyboard focus? I.e. is there a blinking cursor?
Romane: Yes. And am able to move blinking cursor to other places in the
document with the mouse.
Peter: If you drag a text selection using the mouse, is it colored blue
(focused) or gray (unfocused)?
Romane: It is coloured as normal, blue (focussed).
Peter: If you use the mouse to invoke a feature where focus would move
elsewhere -- e.g. /Find > Find/ or /File > Open/ in the menu -- does
typing work there?
Romane: This was one had not thought of thus not tested. Reinstalled 1.2
to test.
On keyboard becoming non-functional (in case the information is useful,
had been away from the computer for 30 minutes - screen saver running
when reached chair, screen power saving kicked in as I sat down), tested
for 'File->Save as' - able to type into save dialogue box fine, but
without thinking used the mouse to OK, rather than tabbing to the OK.
After this operation, keyboard was still non-functional. Tested for
'Find->Find in files', and able to type into find box OK. 'Enter' was
recognised and the search was carried out successfully. On completion of
operation, keyboard was functional, but as it accepted the 'Enter'  for
the find operation believe that the keyboard was functional again at
that point.
Will continue running with 1.2 for the nonce to test this over a period
of time, will report results in a week unless am advised otherwise, as
that will/might show any consistencies/inconsistencies.
With greetings
Romane

Interesting -- sounds like maybe a case where CodeMirror is losing keyboard focus without realizing it.

When it stops working, does it start working again if you simply switch to a different app and then switch back to Brackets?
If not -- when it's not working, select Debug > Show Developer Tools, then go to the Console tab and type document.activeElement.  What is displayed after that?
What kind of screensaver software are you using?  If you switch to a different screensaver, or temporarily disable your screensaver (e.g. so the screen just powers off instead of displaying animation), does the problem go away?

Good morning Peter
Answers inline to your dot-points
On 22/02/15 13:34, Peter Flynn wrote:

Interesting -- sounds like maybe a case where CodeMirror is losing
keyboard focus without realizing it.

When it stops working, does it start working again if you simply
switch to a different app and then switch back to Brackets?

Both yes and no.  Over the time have been running 1.2, the keyboard
becomes non-functional usually when I switch away from Brackets and then
back. And sometimes, it becomes functional again by switching to another
application and back. But... Only sometimes - it is not predictable when
it will do so either way. Sometimes it is to another application,
sometimes when I switch to another desktop, sometimes when I do not
touch the keyboard for a short while (as in Brackets still has focus
while I may be looking at my next series of steps). Yet, other times
(the more often scenario) when I do these things, the keyboard remains
completely functional. Sometimes on starting Brackets, the keyboard is
non-functional at start, yet most times it is functional.
The one thing that appears to be consistently reliable is to minimise
Brackets then restore it in order to get the keyboard functional again.
In short words, am unable to provide a case where this condition of the
keyboard losing focus can be invoked in a predictable manner.

If not -- when it's not working, select /Debug > Show Developer
Tools/, then go to the Console tab and type
|document.activeElement|. What is displayed after that?

First time ever that I tried to show Developer Tools that it has
actually shown. In earlier version, I was left wondering what it was
supposed to show. This would indicate further maturing of Brackets :)
Keyboard was functional on return to machine after 30 minutes (i.e.
screen power saver had kicked in). Typed a few characters then switched
to another application (grey hairs are showing, don't remember whether
on same desktop or another). Noticed typing error at cursor position on
return to Brackets, but keyboard had become non-functional - unable to
backspace over error. Switched desktop to the email program to print out
your last email, and on return, keyboard was functional, as accepted the
'Enter' key (which I struck in error :(  ). Using mouse, 'Edit->Undo'.
Keyboard  again non-functional after this, but at least this time I had
these directions in front of me (grinning). Results below.
I have included the last line showing before I typed
'document.activeElement. The 'x' was in a red circle. Have included the
'<' and '>' which headed each of the line following entry of the command.
x Failed to load resource: net::ERR_UNKNOWN_URL_SCHEME
about:blank

document.activeElement
<

I was scrolling back through the earlier entries, and found the
following warning  going back to when I started Brackets earlier this
morning (around 8.00am - is now 7.00pm my time). Brackets had run
without error till a short while ago, very roughly about an hour ago
now, and that includes the things mentioned in the first dot-point. This
may or may not be of any use, I leave that to your discretion. Am
primarily posting for the entry about the editor but kept the other
warnings in just in case useful anyway.
/utils/DeprecationWarning.js:88     Use
MainViewManager.focusActivePane() instead of EditorManager.focusEditor().
at Object.focusEditor (/editor/EditorManager.js:516:28)
at Object.
(file:///home/romane/.config/Brackets/extensions/user/pflynn.lint-all-the-things/main.js:299:59)
at j (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:26911)
at Object.k.fireWith [as resolveWith]
(file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:27724)
at Object.e.(anonymous function) [as resolve]
(file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:28704)
at eval (/widgets/Dialogs.js:322:24)
Otherwise, all other entries appeared fine.

What kind of screensaver software are you using? If you switch to
a different screensaver, or temporarily disable your screensaver
(e.g. so the screen just powers off instead of displaying
animation), does the problem go away?

An apology, I realised after had sent last email that that information
was superfluous, as is evidenced by my response to your first dot-point
above. I find that lack of predictability in when the keyboard becomes
non-functional a little frustrating, in terms that I am unable to give
you information that will make it reproducible at will :(
Just for information, am running Debian Jessie with the KDE (full)
desktop, version 4.14.2, with Kernel 3.16.4-4, everything fully
up-to-date with the repositories as at early afternoon today. Not
running any non-repository software except for Brackets, and a copy of
libgcrypt11 which I did not purge this time before installing Brackets
1.2, however issue was occurring even when libgcrypt11 purged
previously. Screen saver and power saver as default with KDE.

—
Reply to this email directly or view it on GitHub
https://github.com/adobe/brackets/issues/10598#issuecomment-75417670.

With greetings
Romane

Good morning everyone, just to re-confirm the issue on Debian Jessie with Openbox.
Using 1.1 is not an option because of the libgcrypto11 dependency (last night found the other thread).
Using the latest linux prerelease, 64bit.
Just to add some details to this issue:

starting Brackets as normal or root user doesn't make a difference, having the same issue with keyboard focus
mouse works...if i make a selection and drag that in the editor, after releasing the text the window suddently gains focus (i can type); after using the mouse it looses focus again
if i open a new brackets window (Debug >> New Brackets Window) it works as expected...all windows opened this way seem to work.

Hi guys,
Sorry Iam a total newby to programming... However, I do have the same issue here.. My keyboard is not responding, except when I click Debug and then --> New Brackets Window
Can anyone tell me how to solve this issue in a simple way? Sorry the above is not really understandable to me :)
Thank you very much indeed.
Paul


Blender crashes with HIP 5.6.0 on AMD Ryzen 5 5625U

Main Problem
Trying to render a project with HIP results in blender 3.6.2 crashing. This is on Arch Linux. I have attached a backtrace of the crash
Backtraces
#0  0x00007fff84d58db8 in hip_impl::ihipOccupancyMaxActiveBlocksPerMultiprocessor(int*, int*, int*, amd::Device const&, ihipModuleSymbol_t*, int, unsigned long, bool) [clone .constprop.0]
    (maxBlocksPerCU=maxBlocksPerCU@entry=0x7ffe609a7b68, numBlocksPerGrid=numBlocksPerGrid@entry=0x7ffe609a7b70, bestBlockSize=bestBlockSize@entry=0x7ffe609a7b5c, device=..., func=func@entry=0x7ffe69001780, inputBlockSize=1024, inputBlockSize@entry=0, dynamicSMemSize=0, bCalcPotentialBlkSz=true)
    at /usr/src/debug/hip-runtime-amd/clr-rocm-5.6.0/hipamd/src/hip_platform.cpp:344
#1  0x00007fff84c43c35 in hipModuleOccupancyMaxPotentialBlockSize(int*, int*, hipFunction_t, size_t, int)
    (gridSize=<optimized out>, blockSize=0x7ffe8ffb9558, f=0x7ffe69001780, dynSharedMemPerBlk=<optimized out>, blockSizeLimit=<optimized out>)
    at /usr/src/debug/hip-runtime-amd/clr-rocm-5.6.0/hipamd/src/hip_platform.cpp:426
#2  0x00005555580a265b in ccl::HIPDeviceKernels::load(ccl::HIPDevice*) ()
#3  0x00005555580a2577 in ccl::HIPDevice::load_kernels(unsigned int) ()
#4  0x0000555557ef37ad in ccl::Scene::load_kernels(ccl::Progress&) ()
#5  0x0000555558043836 in ccl::Session::run_update_for_next_iteration() ()
#6  0x0000555558044e2b in ccl::Session::run_main_render_loop() ()
#7  0x000055555804593c in ccl::Session::thread_render() ()
#8  0x0000555558045b03 in ccl::Session::thread_run() ()
#9  0x000055555841e4de in ccl::thread::run(void*) ()
#10 0x00007fffe56e1943 in std::execute_native_thread_routine(void*) (__p=0x7ffe8ff0a620) at /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/thread.cc:104
#11 0x00007fffe528c9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#12 0x00007fffe5310dfc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 74 "blender" received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0x7ffe64aad000 (LWP 50176)]
0x00007fff86358db8 in hip_impl::ihipOccupancyMaxActiveBlocksPerMultiprocessor(int*, int*, int*, amd::Device const&, ihipModuleSymbol_t*, int, unsigned long, bool) [clone .constprop.0] (maxBlocksPerCU=maxBlocksPerCU@entry=0x7ffe64aa8b48, numBlocksPerGrid=numBlocksPerGrid@entry=0x7ffe64aa8b50,
    bestBlockSize=bestBlockSize@entry=0x7ffe64aa8b3c, device=..., func=func@entry=0x7ffe6ae01780, inputBlockSize=1024, inputBlockSize@entry=0, dynamicSMemSize=0,
    bCalcPotentialBlkSz=true) at /usr/src/debug/hip-runtime-amd/clr-rocm-5.6.0/hipamd/src/hip_platform.cpp:344
344         VgprWaves = maxVGPRs / amd::alignUp(wrkGrpInfo->usedVGPRs_, VgprGranularity);

System Information

Arch Linux
ROCm 5.6.0
Mesa 23.1.6
Linux 6.4.12

I think the root cause is the same as https://github.com/ROCm-Developer-Tools/hipamd/issues/58 and the issue has been fixed internally.
cc @cjatin

Well, should I ask about that problem on that issue, or should I continue here? To my understanding, that repo is deprecated now.

Should continue here as that repo is indeed deprecated and has been migrated to clr.
The change made in that issue exists here under the clr rep, see check for the FPE here:
https://github.com/ROCm-Developer-Tools/clr/blob/develop/hipamd/src/hip_platform.cpp#L345C19-L345C29
But I can see it did not make it into the 5.6 release. It should become available in 5.7.

I am closing this issue as I see the fix above has landed on 5.7. Please re-open if the problem persists.


Mm 36547 renamed mute channel and edit channel header menus

Documentation for: https://github.com/mattermost/mattermost-webapp/pull/8313
Updated:

Messaging > Manage Teams, Channels, and Members > Managing Channels > Creating a Direct or Group Message

Updated section to include mute, unmute, and edit header options for group and direct messages

Created against incorrect branch. Closing.


Does not wait for user input with gramjs

im using conversations package to create a session using gramjs client.start function (for phone number, code and password)
while i want user phone number it gives me error this is my code :
phoneNumber: async () => {
                        console.log(9)
                        return await ctx.conversation.enter('getPhoneNumber')
                    }

phone number callback does not wait for conversations and then it throws error which says im getting undefined instead of phone number.
here is the full code :
https://github.com/m0x61h0x64i/telegram-session-sender

This exact code has been discussed numerous times in the chat. The plugin works exactly as intended.

@KnorpelSenf after updating from js to ts, im now getting error which says phone number is invalid but i didnt even give it phone number, it shows that conversation package does  not wait for user input (phone number) in order for phoneNumber gramjs callback function be able to return the correct phone number.
code updated :
https://github.com/m0x61h0x64i/telegram-session-sender

My answers stay the same. The plugin is not going to wait, no matter how many times you ask.


Check how to connect the generated palette with Spark Android

@solygambas has created a plugin that can generate a Kotlin file with compose colors with the palette and the associated usage on each component.
We need to check with the Adevinta Platform how can we make use of it to avoid rewriting manually each palette by tenant in the future

As requested by @soulcramer:

We need to have this kind of export.
We also need to export dim values in float.
We need to be able to generate the tokens for multiple brands.

What would be ideal is if the script gives us a file by theme where the format is:

Part light
val partLight = SparkColors(
    primary = primary,
    onPrimary = onPrimary,
    primaryContainer = primaryContainer,
    onPrimaryContainer = onPrimaryContainer,
    primaryVariant = primaryVariant,
    onPrimaryVariant = onPrimaryVariant,
    secondary = secondary,
    onSecondary = onSecondary,
    secondaryContainer = secondaryContainer,
    onSecondaryContainer = onSecondaryContainer,
    secondaryVariant = secondaryVariant,
    onSecondaryVariant = onSecondaryVariant,
    tertiary = Color.Magenta,
    onTertiary = Color.Blue,
    tertiaryContainer = Color.Magenta,
    onTertiaryContainer = Color.Blue,
    success = success,
    onSuccess = onSuccess,
    successContainer = successContainer,
    onSuccessContainer = onSuccessContainer,
    alert = alert,
    onAlert = onAlert,
    alertContainer = alertContainer,
    onAlertContainer = onAlertContainer,
    error = error,
    onError = onError,
    errorContainer = errorContainer,
    onErrorContainer = onErrorContainer,
    info = info,
    onInfo = onInfo,
    infoContainer = infoContainer,
    onInfoContainer = onInfoContainer,
    neutral = neutral,
    onNeutral = onNeutral,
    neutralContainer = neutralContainer,
    onNeutralContainer = onNeutralContainer,
    valid = success,
    onValid = onSuccess,
    validContainer = successContainer,
    onValidContainer = onSuccessContainer,
    background = background,
    onBackground = onBackground,
    backgroundVariant = backgroundVariant,
    onBackgroundVariant = onBackgroundVariant,
    surface = surface,
    onSurface = onSurface,
    surfaceInverse = surfaceInverse,
    onSurfaceInverse = onSurfaceInverse,
    surfaceVariant = backgroundVariant,
    onSurfaceVariant = onBackgroundVariant,
    surfaceTint = surfaceTint,
    outline = outline,
    outlineHigh = outlineHigh,
    outlineVariant = outlineHigh,
    scrim = scrim,
    inversePrimary = inversePrimary,
    inverseSurface = surfaceInverse,
    inverseOnSurface = onSurfaceInverse,
    dimContent1 = dimContent1,
    dimContent2 = dimContent2,
    dimContent3 = dimContent3,
    dimContent4 = dimContent4,
    dimContent5 = dimContent5,
)

and the tokens shown above on the right side are the color values


Fast-follow for latest version

What are you changing in this pull request and why?
For the dbt Cloud setting Keep on latest version (beta), document how software versioning works. It's slightly different than dbt Core's versioning.
Added new Versioning section to page:

https://docs.getdbt.com/reference/dbt-jinja-functions/dbt_version

Updated pages to link to new section:

https://docs.getdbt.com/reference/dbt-jinja-functions/dbt_version
https://docs.getdbt.com/reference/artifacts/dbt-artifacts#common-metadata
https://docs.getdbt.com/reference/project-configs/query-comment#compilation-context

Closes #4984
Checklist

[x] Review the Content style guide so my content adheres to these guidelines.
[x] For docs versioning, review how to version a whole page and version a block of content.
[ ] Needs review from product team

@jtcohen6 : here's my first draft. i leaned toward using links as a strategy for reusing content and keeping things concise. happy to provide longer descriptions (vs links) if that makes more sense in some places.

@nghi-ly Does this need to be merged tomorrow? Does it require a review form @jtcohen6 and @dbt-labs/product-docs?

@jtcohen6 : folded in your feedback, thank you so much! lemme know what you think about this latest version (see what i did there? haha)

Thanks for the updates here @nghi-ly!

hey @nghi-ly thanks for this and added some suggests/comments! let me know if yo have any questions!

@jtcohen6 : want to double-check: we good to go with the latest edit? if we are, i'll go ahead and publish


Show run status and/or running time recent command or cell even when the cell is collapsed

Discussed in https://github.com/microsoft/vscode-python/discussions/15772

Originally posted by ihnorton March 24, 2021
When working in the interactive window, I may run a cell and then do other things if I expect the evaluation to take substantial time; later I come back to check. If the call is still running after an "unreasonable" amount of time, I would likely kill it.
For the above workflow, it would be useful to have a display of the elapsed time for the most recently evaluated cell, perhaps after some minimum time has passed (maybe in place of the current spinning asterisk [*]?)
Please note that this feature request is distinct from IPython magic like %time: those work great, but they only give the elapsed time after the call has completed. I would like a timer that is independent of the kernel and shows the elapsed time since something was sent to the kernel.

completed


nheko: Add version 0.10.0

Closes #XXXX

Relates to #XXXX

[x] I have read the Contributing Guide.

This should go to the Nonportable bucket.

anyway to make it portable?

anyway to make it portable?

I couldn't find a proper way to extract the installer without installing it.

@issaclin32 https://matrix-static.neko.dev/room/!TshDrgpBNBDmfDeEGN:neko.dev/?anchor=$kvUuh6yav6FRPIlnkY-YeKkMP_k8eP5ILNR1aEFMJRg&offset=30

https://matrix-static.neko.dev/room/!TshDrgpBNBDmfDeEGN:neko.dev/

https://matrix-static.neko.dev/room/!TshDrgpBNBDmfDeEGN:neko.dev/

Thanks for the link, but the zip file for stable version (commit 7df260f) is expired and not able to download.
I have added nheko-nightly to the Versions bucket.

@issaclin32 https://github.com/Nheko-Reborn/nheko/releases/tag/v0.10.1 https://github.com/Nheko-Reborn/nheko/releases/download/v0.10.1/nheko-win64-without-installer-v0.10.1.zip

Thanks for the update.


New speakers block

#745
Dev instance showing old block and new block on top of each other

On deploy:

[ ] Activate the new plugin for Speakers Block 2

@thetwopct this is ready for you to work on. I'm still waiting to get confirmation from Nicole on how we will store the title and company in the Speakers objects, however, I think everything else is ready for you to implement on the front-end.


bot.DeleteMessagesAsync

Type of messageIds are not Int. Long or string maybe.

version 1.4 has a fix for this. Thanks!

Note that in the documentation, mgsId is an int - https://icq.com/botapi/#/messages/get_messages_deleteMessages

Int 32 and int64 different things.
Отправлено из мобильной Почты Mail.ru
воскресенье, 17 мая 2020 г., 18:27 +0300 от<EMAIL_ADDRESS><EMAIL_ADDRESS>
Note that in the documentation, mgsId is an int -  https://icq.com/botapi/#/messages/get_messages_deleteMessages
—
You are receiving this because you authored the thread.
Reply to this email directly,  view it on GitHub , or  unsubscribe .


Alchemy icon missing

When adding the following in HTML

the icon is not shown, as it is shown for example in

The first simpleicons release containing an alchemy icon was 8.3.
I deployed a release with that simpleicons version today, so probably yesterday that icon didn't exist yet.
Also, now that it does, you've set the logoColor really close to your background colour, so it is nearly invisible.
 - https://img.shields.io/badge/-Alchemy-0d1117?logo=alchemy&logoColor=0C0C0E&style=flat-square
 - https://img.shields.io/badge/-Alchemy-0d1117?logo=alchemy&style=flat-square

It's crazy, but believe it or not, the problem is in the color of the icon, if I add the parameter "&logoColor=0C0C0E" the icon is not displayed, it's not that it gets confused with the background. If I add "&logoColor=ffffff" it looks perfectly. Very strange, because in the explorer it is displayed well. Thank you anyway.

ok, found a solution, adding #0c0c0e instead #0C0C0E color fix the problem!

I think you might have just been looking at a cached copy tbh. We set quite a long max-age on these static badges.


Support for Azure DevOps new domain name

Please support Azure DevOps new domain name.
"visualstudio.com" is hard coded in 2 places and prevent the tool to work with "pkgs.dev.azure.com/organization" instead of "organization.pkgs.visualstudio.com"

Hi,
Are there any plans for this feature?

Sure I’ll find a few minutes to push this within the week.


Continue on non package data instead of causing an exception

It seems like the output from Winget has changed, thus causing an exception since two lines dont contain packages (Name, ID or version).
Simply ignoring these lines or putting the insides of the loop inside a try catch will prevent this.
There might be a better solution but for now, it works.

I can't reproduce the problem at the moment.
Can you post some screenshots of the winget output and the version of your winget installation so I can look further into this?

I found one of the outputs that you mentioned, at the end of the list of packages to upgrade.
The problem is that this text is localized. Checking for the specific string will only work on an English Windows system. For example, the text “upgrades available” is “Aktualisierungen verfügbar” on my German system.
The main problem is that the string is shorter than the index we are trying to access. Because of this it throws an argument out of range exception. The best way would be to check if the string we are trying to access is at least as long as our highest index.
But I could not find the second string (“version numbers that”). Could you provide me with more information about that?

About the second string im checking for, here is the full line.
2 package(s) have version numbers that cannot be determined. Use "--include-unknown" to see all results.
This doesnt always occur. As it states, only for packages whos version cannot be determined.
I hope this helps

Aside from checking for the lines, putting the insides of the loop inside a try catch prevents it from quitting on a single invalid line.
Not a perfect fix at all but no matter what the invalid lines contain, it wouldnt quit.

Thanks for the information, I have never seen this prompt before and winget is showing all packages even with the unknown version numbers.
Are you using an older version of winget or the preview version (1.4.2161)?
My winget version is “1.3.2091” which should be the latest stable release.

To fix that we could just put "--include-unknown" into the process call string, because we want to list all packages anyways.
The only problem is that this would not be compatible with other winget versions. To fix that we would need to check the version to decide if we want to add it or not.

But this doesn't need to be done now. The check and the try catch should catch any errors for now.
I want to change the way the Winget action strings are generated anyways. I can implement it wen I am doing that.
For now we should just stop it from throwing exceptions.

In that case a try catch inside the loop is the solution.
My winget version is: v1.4.2161-preview
I could try out a few ideas later on how to prevent it entirely

Quick question, is --include-unknown an invalid argument in the current release which you have installed?

Yes, it seems to be new in the preview version and therefore will be invalid in the current stable and older versions.
To fix this I need to implement it in the winget execution string, like I mentioned before. I will do this with other changes I have planned.
For now the check if the output string is long enough and the try catch should ensure there are no errors.
Can you push the changes if you edited the if-statement, then I will be able to merge the pull request.

Ive made an update on the PR. In my case it works fine now, please let me know if it works on the release version as well, thanks.

Yes, it works with the current rleas version, thank you.


Add TwoFA functionality to Nexus

TwoFA development

Recod

Record & Questions

Still blocked by conflict.

Why close this?

We will keep working on this until all code issues have been solved. While I was trying to integrate the OAuth system by other providers.

Why close this?

I read the book of agile software development roughly. I intend to mention a PR again. The reason why I do this is that there are many unexplained commits in this pr. if these commits are merged into the main branch, I think it will pollute the code of nexus. Still, my consideration is superfluous.

Code is the value of us, not the function. We are working on an artwork, not a project.

Code is the value of us, not the function. We are working on an artwork, not a project.

Got it


Implemented call aliases, mostly

Intended to fix #4
My idea here is to use an ets table to store call aliases. Whenever an actor starts, if it has a call alias, attempt to insert that public key into the ets table and subscribe to the call alias NATS topic to accept invocations at that topic.
For some reason here, the :ets table doesn't seem to be accessible properly inside of the actor module. I'm not sure if this is because the module cannot access the table, or if it's not writable, but as you can see the test that I prepared failed. Am I missing something obvious here @autodidaddict

Because some tests passed and some failed, I wonder if occasionally the :ets table is just not accessible in time.

Ok, there's a couple things going on here..

If we rely on a NATs subject for call alias invocation, then every time a client attempts to make an alias-based call to an alias that doesn't exist, then the client will sit and wait for the RPC timeout period before being told that there's likely no such call alias. In the current version of wasmCloud, when an invocation is created, we check if the target matches an actor, then a provider, then finally a call alias. If it's a call alias, we look up the alias and convert it to a public key. This allows for fail fast scenarios, where the client will be informed immediately if there's no call alias.
ETS tables are, by default, private. They are only accessible to the actor that created them. Take a look at the lines of code found here: https://github.com/wasmCloud/wasmcloud-otp/blob/main/host_core/lib/host_core/host.ex#L68.

For #2, what we want to do is create a callalias_registry, and then look up entries in that registry whenever an invocation is being resolved, and insert into that registry every time an actor is started with a call alias in their claims.

Another reason we don't want call aliases as NATS subjects is this limits the characters allowed. For example, if you use slashes in a NATS subject, it can potentially create conflicting or ineffective subscriptions.

@autodidaddict So I've got some improvements, I found where the other ETS tables are being setup, and I also found the finish function which seems to be the piece I was missing to understand where the actor/provider routing was happening. One thing I notice about the current code, is that there is no subscription to wasmbus.rpc.#{prefix}.*, so if we don't subscribe to the call alias then there's nothing to handle the invocation. I think if we want to be able to avoid that subscription, the actor supervisor should subscribe to that topic, but I like the current model how the actor itself is listening for invocations. Happy to chat about this when we pair next

There's not too much code in this PR, and a lot of it will change after #50, so I'm going to close it in favor of another one after #50 is merged


Mac M1 ODBC Driver 18 for SQL Server

Please first make sure you have looked at:

Documentation: https://github.com/mkleehammer/pyodbc/wiki
Other issues

Environment
To diagnose, we usually need to know the following, including version numbers.  On Windows, be
sure to specify 32-bit Python or 64-bit:

Python: 3.11
pyodbc: 4035
OS: Ventura 13.1
DB:database.windows.net
driver: ODBC Driver 18 for SQL Server

Issue
Often it is easiest to describe your issue as "expected behavior" and "observed behavior".
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 598, in connect
return self.dbapi.connect(*cargs, **cparams)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlalchemy.exc.OperationalError: (pyodbc.OperationalError) ('08001', '[08001] [Microsoft][ODBC Driver 18 for SQL Server]Client unable to establish connection (0) (SQLDriverConnect)')
(Background on this error at: https://sqlalche.me/e/14/e3q8)

Are you able to establish a connection using plain pyodbc? For example, something like
import pyodbc

cnxn = pyodbc.connect(
    "Driver=ODBC Driver 18 for SQL Server;"
    "Server=whatever.database.windows.net;"
    # and so on …
)
print("Connected.")

Hi gord,
this is my con script.

from dataclasses import dataclass
from typing import Dict, Any, Iterable
from pandas import DataFrame
from sqlalchemy import create_engine, inspect
import urllib
import pandas as pd
import pyodbc

@dataclass(frozen=True)
class ConnectionSettings:
    """Connection Settings."""
    server: str
    database: str
    username: str
    password: str
    #driver: str = '{ODBC Driver 18 for SQL Server}'
    #driver: str = '{ODBC Driver 13 for SQL Server}'
    driver: str = '{ODBC Driver 18 for SQL Server}'
    timeout: int = 30
class AzureDbConnection:
    """
    Azure SQL database connection.
    """
    def __init__(self, conn_settings: ConnectionSettings, echo: bool = False) -> None:
        conn_params = urllib.parse.quote_plus(
            'Driver=%s;' % conn_settings.driver +
            'Server=tcp:%s.database.windows.net,1433;' % conn_settings.server +
            'Database=%s;' % conn_settings.database +
            'Uid=%s;' % conn_settings.username +
            'Pwd=%s;' % conn_settings.password +
            'Encrypt=yes;' +
            'TrustServerCertificate=no;' +
            'Connection Timeout=%s;' % conn_settings.timeout
        )
        conn_string = f'mssql+pyodbc:///?odbc_connect={conn_params}'
        self.db = create_engine(conn_string, echo=echo)
    def connect(self) -> None:
        """Estimate connection."""
        self.conn = self.db.connect()
    def get_tables(self) -> Iterable[str]:
        """Get list of tables."""
        inspector = inspect(self.db)
        return [t for t in inspector.get_table_names()]
    def dispose(self) -> None:
        """Dispose opened connections."""
        self.conn.close()
        self.db.dispose()
    def execute(self, query: str) -> None:
        """Execute query."""
        self.conn.execute(query)

Works well on my other desktop

The whole point of my question was to isolate the pyodbc part of the issue and test that.

Sry, I'm a little slow today :)
Same Issue XXXX/import pyodbc.py" Traceback (most recent call last):   File "/Users/XXXX/import pyodbc.py", line 3, in <module>     cnxn = pyodbc.connect(            ^^^^^^^^^^^^^^^ pyodbc.OperationalError: ('08001', '[08001] [Microsoft][ODBC Driver 18 for SQL Server]Client unable to establish connection (0) (SQLDriverConnect)')

Okay good. Now does that same pyodbc-only test succeed on your other desktop? (I assume that it will.) If so, how do the two machines differ? Is it possible that the two machines might have different external IP addresses?

Yes without problems, the script runs on my M1 Air, as well as on our web server as an app (Azure).
Only on my new M1 Pro not. Homebrew I have cloned directly the drivers should be correct I think.
It is not the IP. I can connect via Azure Data Studio to the server on my M1 Pro.

I wonder what the difference between the 2 computers are? I think it is an Environment issue. Are they all running the same version of python?

Closing due to inactivity.  Reopen if necessary.


Username contains leading "live.com#" prefix after signing in with AzureAD

After creating a project using Visual Studio, using org auth (AzureAD), and running it, the username displayed includes an unexpected prefix, in this case "live.com#".
Expected
Username is displayed as<EMAIL_ADDRESS>Actual
Username is displayed as<EMAIL_ADDRESS>Screenshot:

One is the "name" claim type (the one you want), and the other is the ws-* claim types (the one you seem to use now and are using the ClaimTypes constants).

Having a LiveID in an AAD is legacy, that's why you get that annoying message when you login. The vast majority of AAD tenants are not going to be in this situation, because they cannot have LiveIDs inside them, that functionality was blocked years back, it's just folks like you and I that see this.
So won't fix, can't fix, don't use your Live ID, use your AAD account.


Need to implement the review submission by an authenticated user

Post a review to the specified url.
The components are ready, just need to let an authenticated user create an review.

Implemented in 482c1a3e3650f8ce13f5a0d64a8190a8f50d8548


@aspnet/signalr npm package not work with asp.net core 2

@aspnet/signalr npm package not work with asp.net core 2 but @aspnet/signalr-client work with asp.net core 2 (But it has UglifyJs issue in production mode)
Anyone have any idea why this @aspnet/signalr npm package fails with asp.net core 2. Given samples use asp.net core 2.1 but 2.1 still it not to download

Because we broke things between the alpha and now.

That means you guys also very similar to me. I also normally do that ;)

Closing this as the question has been answered. Feel free to comment further if you need clarification on something!

Please let us know when you guys fix that issue :)

There's no issue to fix as far as I'm aware. @aspnet/signalr-client was the name of the client in the alpha release, and only works with the alpha release. In the upcoming preview, we renamed the package to @aspnet/signalr, and it only works with the upcoming preview build of the server. During the pre-release period, it's important to match the client and server versions closely. After release, we will have a commitment to ensuring some level backwards/forwards compatibility between client and server.

@aspnet/signalr npm package compatible with which Asp.net core version. I tried with core 2 but it not work

The @aspnet/signalr package requires ASP.NET Core 2.1, which has not yet been released (but a preview release is coming shortly). There are nightly builds of ASP.NET Core 2.1 available using the guide here: https://github.com/aspnet/Home#builds
The @aspnet/signalr-client package was an alpha release that was built to work with ASP.NET Core 2.0. As you noted, there was a bug with uglifyjs, which is fixed in the upcoming @aspnet/signalr release.
Also, to be very clear, when SignalR is released, it will require ASP.NET Core 2.1. The initial alpha versions were built against ASP.NET Core 2.0 in order to allow users to preview the SignalR component before the official ASP.NET Core 2.1 previews.

Now I have core 2.1 but still I am getting same error message
I have Angular 7 and Core 2.1
Error Message : "This package has been deprecated. Use '@aspnet/signalr' instead."
Command : npm install @aspnet/signalr-client

Code 2.1 compatible with @aspnet/signalr npm package and it works for me


Feature request: Support LZNT1 (de)compression used in Windows' RtlDecompressBuffer and NTFS

Summary
On Windows malware will often compress embedded shellcode/payloads and then use RtlDecompressBuffer  to decompress it, with LZNT1 decompression. NTFS also uses this compression method. Here is an example of a pure Python implementation.

Agreed this would be nice

Reopening as #1675 only handles decompression, whereas this ticket also requests compression.


Annotating functions in module signature

In a module signatures (hsig files), annotating types and functions with haddocks doesn't seem to work. The haddock application doesn't crash, but it just ignores all the documentation that should be attached to the definitions. I'm using haddock 2.27.0 and GHC 9.4.

Hi, thank you for this ticket, but Haddock now lives full-time in the GHC repository!
Read more at https://discourse.haskell.org/t/haddock-now-lives-in-the-ghc-repository/9576.
Let me know if you feel it is still needed, and I'll migrate it. :)


Default to primary if it's already a tailwind custom color

This is w.r.t https://github.com/nuxtlabs/ui/commit/d93e995298b87671288c19b5465dd68d00d37064 for https://github.com/nuxtlabs/ui/issues/170.
It's quite common to have colors such as primary, secondary, info, error, warning etc already configured as a custom tailwind colors.
It might be a good idea to automatically default primary if it's already defined as a tailwind custom color. Otherwise, we might have to do like this, which is not very intuitive.
export default defineAppConfig({
  ui: {
    primary: 'primary',
    gray: 'cool',
  },
})

Also, curious to know about when will happen if primary is defined as a custom tailwind class (and configured like above or defaulted), but not necessary has all shades (primary-50... to primary-950). Will all the shades be automatically calculated (or) a meaningful error message thrown?

Unfortunately, as we're using CSS variables you cannot have a color named primary.
I'd also suggest using colors that have all the shades as our components use lots of them. You could however override all the presets that use a -{color}- or -primary- class through your app.config.ts.

On the same topic, I was wondering how to mix nuxtlabs ui defineAppConfig with my custom theming which using a (kind of) primary color too.
Currently I have two files:
app.config.ts
export default defineAppConfig({
  ui: {
    primary: 'purple',
    gray: 'cool',
  },
});

tailwind.config.js
const colors = require('tailwindcss/colors');
const ppwColor = colors.purple;

module.exports = {
  theme: {
    extend: {
      colors: {
        ppw: {
          lightest: ppwColor[50],
          lighter: ppwColor[100],
          light: ppwColor[200],
          DEFAULT: ppwColor[500],
          dark: ppwColor[800],
          darker: ppwColor[900],
          darkest: ppwColor[950],
        },
      },

It seems a little redundant to define the color I use (purple) in two files. Besides, it could be great to have a way to unify which Tailwind variants we use in the project.


Add .mjs support

Resolves #3237 by following https://github.com/facebookincubator/create-react-app/pull/2511.
.mjs is the specification the Node ecosystem has chosen for files containing ES Modules; we should support it!

Hello! I'm a bot that helps facilitate testing pull requests.
Your pull request (commit 4479778e7d5dc5e8549fa835406b90634657a93c) has been released on npm for testing purposes.
npm i<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS># or
create-react-app<EMAIL_ADDRESS>folder/

Note that the package has not been reviewed or vetted by the maintainers. Only install it at your own risk!
Thanks for your contribution!

Seems okay.. I guess? I don’t have full context on this but we can merge and see if anybody actually using this will report any issues.


2.1.0

bumping v2.1.0

Pull Request Test Coverage Report for Build 518728820

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

Totals

Change from base Build 516176872:
0.0%

Covered Lines:
226

Relevant Lines:
226

💛  - Coveralls

Pull Request Test Coverage Report for Build 518728820

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

Totals

Change from base Build 516176872:
0.0%

Covered Lines:
226

Relevant Lines:
226

💛  - Coveralls


Organize for Later Legibility

[x] fix CI
[ ] reorganize longevity ordering: naive ->  grundy, descending -> hadamard

[x] plug in Grundy bit magic implementation from OEIS: return n>>((~(n+1)&n).bit_length()+1)

[ ] rename value -> term
[ ] make project status notes in manuscript

[x] make a glossary with "term", "index", "position", "incidence", "reservation", "fractional", "incrementing", "invasion/invader"

[ ] should get_* rungs algo helpers be renamed calc_*?
[ ] factor out and refactor site selection strategy support and tests
[ ] factor out site selection strategy algorithms and tests

[ ] hanoi_grundy_order_incidence_rungs_algo
[ ] hanoi_grundy_order_term_rungs_algo
[ ] hanoi_hadamard_order_term_rungs_algo
[ ] hanoi_hadamard_order_site_rungs_algo

[x] add dummy entries for BitSurface and StructSurface

[ ] surface rank capacity should be a first-class policy method

Order of operations:

Move existing code into '_enact/_impt' from 'Invar', and accordingly, move existing implementation.
Transfer support for helpers back from 'calc resident deposition _rank' to 'hsurf'; move '_enact/_impt' to 'impl' on an as-needed basis.
Transfer 'hanoi cooltuk order _term rungs algo'; move helpers out of 'hanoi hadamard order_site_rungs_algo' as needed.

** Remember to move tests!

Rename order algorithms to layout?

[ ] add job for heavy tests

[ ] why is test_pick_deposition_site using so much memory?

term: should be used in the future to describe a value in a sequence
index: used to refer to the semantic position of a reservation in an incidence reservation ring buffer
position: used to refer to the physical location of an incidence reservation ring buffer
__incidence: __ the zero-indexed ocurrence count of a hanoi value (multiple incidence are the same hanoi value multiple times)
reservation (incidence reservation): a space used to store hanoi values, sequentially... grows in size and decreases in count as more hanoi values added
fractional: breaking down a the reservation ring buffer in fractions that are smaller than half (e.g., one at a time)
incrementing: the more coarse strategy to break down a reservation ring buffer half at a time
invasion: the process through which new hanoi values are written into a reservation ring buffer; invader refers to the hanoi value that is incursing
rung: how reservation buffers are broken down

incidence: entire half of reservations dropped at once (very rough)
term: entire half of reservations for a particular hanoi value dropped at once (ie incrementing)
site: individual sites for a particular hanoi value dropped (ie fractional)

the term/incrementing algorithm can be achieved by disabling get_fractional_downgrade_state to always return None


Missing gflag.h when install under MacOS with bazel

bazel version
0.8.1
commit
d55e7e93beefed3b0319cae021a4ceac674d6f48
command:
bazel build //ortools/base:base
error message
bash-3.2$ bazel build //ortools/base:base
Loading:
Loading: 0 packages loaded
INFO: Analysed target //ortools/base:base (0 packages loaded).
INFO: Found 1 target...
bazel: Entering directory `/private/var/tmp/_bazel_yuanzhedong/38f624d654507bce7f466c6b19a3f762/execroot/__main__/'
[0 / 5] no action running
ERROR: /private/var/tmp/_bazel_yuanzhedong/38f624d654507bce7f466c6b19a3f762/external/com_github_glog_glog/BUILD.bazel:1:1: C++ compilation of rule '@c\
om_github_glog_glog//:glog' failed (Exit 1)
In file included from external/com_github_glog_glog/src/demangle.cc:38:
In file included from external/com_github_glog_glog/src/demangle.h:74:
bazel-out/darwin-fastbuild/genfiles/external/com_github_glog_glog/src/glog/logging.h:86:10: error: 'gflags/gflags.h' file not found with <angled> incl\
ude; use "quotes" instead
#include <gflags/gflags.h>
         ^
1 error generated.
bazel: Leaving directory `/private/var/tmp/_bazel_yuanzhedong/38f624d654507bce7f466c6b19a3f762/execroot/__main__/'
Target //ortools/base:base failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1.549s, Critical Path: 1.12s
FAILED: Build did NOT complete successfully

Somehow it mixes the gflags I installed, run brew uninstall gflags will solve this issue. Please close it. Thanks!

brew install  gflags glog


fix: Use msg token amount as fee amount for gmp ibc transfer

Description
closes: #XXXX

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] added appropriate labels to the PR
[ ] targeted the correct branch
[ ] provided a link to the relevant issue or specification
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (7835c97) 15.62% compared to head (27101e3) 15.62%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #336   +/-   ##
=======================================
  Coverage   15.62%   15.62%
=======================================
  Files          78       78
  Lines       19225    19225
=======================================
  Hits         3003     3003
  Misses      16069    16069
  Partials      153      153

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


#1580 - Liveliness and Readiness probe for workers and queues - Part 1

[ ]  Create a health check/heartbeat API and create readiness and liveness probe for queue consumers and workers.
[x]  Research to find out-of-box approach to do the health check from the pods.
[x]  If time allows, have it implemented, otherwise, create a new ticket for implementation. For instance: https://docs.nestjs.com/recipes/terminus

Notes:

Created health service as a library, in the intent of future expansion, if we need to do more health check on other applications.
Created a new port for workers, as this will be used to expose only the workers health as an API.
Used the libraries MicroserviceHealthIndicator to do redis ping check to know the status of the redis connection also it gives the interface to extend the existing healthIndicator which return health indicator result object which is used in the liveliness and readiness probe.
For the Zeebe connect check, enhanced the existing zeebe-transport-strategy.ts by expanding the onReady and onConnectionError methods. Thanks to @andrewsignori-aot on helping me in finding a solution.
https://camunda-community-hub.github.io/zeebe-client-node-js/

This is first part of the whole implementation. Once this is deployed and the health check are available, the liveliness and readiness probe will be configured for workers and queues.

Please look into the failing E2E tests.

Good to see the heath check APIs. Please have a look at the comments.


Able to extend webpack config from angular-cli.json

Please provide us with the following information:

Please provide a way to extend webpack configuration, e.g. rules, plugins, etc. Similar to what it's done for scripts and styles. I like to modify sourcecode's content on the fly, I can't do it without adding new rules to webpack.
OS?

Windows 10

Versions.

1.0.0-beta.24

Repro steps.

no issues

The log given by the failure.

Normally this include a stack trace and some more information.

Mention any other details that might be useful.

Thanks! We'll be in touch soon.

Dupe of https://github.com/angular/angular-cli/issues/1656


Safari shows errant borders on table cells

On the periodic table, there are empty table cells for the first 3 rows/periods. td.empty has border: none and Chrome v111 honors this. However, Safari v16.3 & v16.4 shows a border between rows 1 & 2 (it's a black border in light mode and a white border in dark mode).
This bug also appears on the isotopes view, at the top of the bottom left th for the x-axis.

I can hide the errant border on the periodic table by setting border-color: white on td.empty, but that affects the borders of adjacent table cells that aren't empty.

Searching for this issue hasn't worked out. There are plenty of reports of Safari inconsistencies for border-radius, border-style: dotted, and form fields' outline property, but nothing for solid borders on table cells. I guess no one builds tables any more.

If you look at the isotopes graph in dark mode, you'll see a green border above the th.x-axis.min element. This makes it clear that the bug only affects cells where there is a mismatch in the rowspan of adjacent cells. It may affect colspan mismatches too, but it's not affecting the th.y-axis.min element on the isotopes graph at any rate.

The magic words were: "safari border colspan"
That search led me to:

Stack Overflow: Strange behaviour with border-collapse and colspan
WebKit Bugzilla: Bug 20840 - Wrong collapsing border resolution when a table has cells with different colspans

Sadly, I had to clutter my page source with extra empty table cells to work around the rendering bug.


Can't Animate RadialGradientBrush GradientStop with Storyboard

Describe the bug
Unable to use a Storyboard to animate changing the color of a GradientStop in a RadialGradientBrush.
This was possible in Silverlight/WP7 and has prevented me from bringing over graphics when porting my app to UWP.
Steps to reproduce the bug
<VisualState x:Name="Grayed">
  <Storyboard>
    <ColorAnimation d:IsOptimized="True"
                                        Storyboard.TargetName="MyShape"
                                        Storyboard.TargetProperty="(Shape.Fill).(muxc:RadialGradientBrush.GradientStops)[1].(GradientStop.Color)"
                                        To="#FFFFE0E0"
                                        Duration="0" />

        <Path x:Name="MyShape"
              Margin="8"
              Data="F1M59.039,41.862C44.091,1.779 1.604,11.131 1.324,57.654 1.169,83.205 21.556,92.756 35.129,102.97 48.291,112.877 57.659,126.428 59.127,132.197 60.384,126.544 70.817,112.61 83.001,102.693 96.323,91.851 116.961,82.927 116.807,57.376 116.525,10.738 73.299,3.378 59.039,41.862z"
              Opacity="0"
              RenderTransformOrigin="0.5,0.5"
              Stretch="Fill"
              Stroke="#FF404040"
              StrokeThickness="3"
              UseLayoutRounding="False">
            <Path.RenderTransform>
                <CompositeTransform />
            </Path.RenderTransform>
            <Path.Fill>
                <muxc:RadialGradientBrush Center="0.508,0.478"
                                          GradientOrigin="0.228,0.22"
                                          RadiusX="0.693"
                                          RadiusY="0.61">
                    <GradientStop Offset="1" Color="Black" />
                    <GradientStop Offset="0.056" Color="Red" />
                    <GradientStop Color="#FFFFC0C0" />
                </muxc:RadialGradientBrush>
            </Path.Fill>
        </Path>

Expected behavior
Able to animate gradient color of a RadialGradientBrush.
Screenshots
No response
NuGet package version
WinUI 2 - Microsoft.UI.Xaml 2.8.1
Windows version
Windows 10 (21H2): Build 19044
Additional context
Don't think it's the cause, but probably related to #3883
Also not sure if related to #7704
This code was being ported from Silverlight, and it worked without issue there.

See https://learn.microsoft.com/en-us/uwp/api/windows.ui.xaml.media.animation.coloranimation.enabledependentanimation?view=winrt-22621#windows-ui-xaml-media-animation-coloranimation-enabledependentanimation - you need to set EnableDependentAnimation to true on your ColorAnimation.

Still an issue


Update flannel version to 0.11

Description
This PR is to update flannel version to it latest image 0.11.0.

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

Deploy preview for calico ready!
Built with commit d466606050257e038a65c4f5b3fb4fdcf33db09f
https://deploy-preview-2498--calico.netlify.com

Yikes, didn't realize we were hard coding this! We should update to use the version specified in _data/versions.yaml like all the other components.


Types in products

:b

any idea? :b

is there any way to expand the height and limit the width of each ?

is there any way to expand the height and limit the width of each ?

try this

is there any way to expand the height and limit the width of each ?

try this

didn't work as expected, try another method

looks good to me

bro is turning into a generic reviewer xddddd


Unable to get ralative coordinates of an element.

Describe the bug
I was trying to recreate the card effect as displayed here, but noticed, that if you want the element to actually be used in a website, you don't have access to its x and y position (I created an example of what I mean here). I found a workaround using the onMouseLeave and onMouseMove events, but would be nice if you could integrate it into the useMove function.
Sandbox or Video
My take on it
Information:

React Use Gesture version: latest

You're not using the latest version of use-gesture.

Well, could you show me how to do it then? I've tried for hours and asked on SO... Thanks


FEAT: Generate GTFS Schedule data for Bus Performance Application

This change adds functionality to Bus Performance Manager to generate any/all data needed from the GTFS static schedule.
All data generation is based on service_date and is sourced from the Compressed GTFS Archive files. Local version of the GTFS Archive files are cached by service_date, so any new service date will trigger the re-downloading of GTFS files (hopefully once per day).
I also updated Polars to version 1.2, which required a few changes to existing function calls in other files.
It is likely that the export dataframe will required some re-naming in the future, depending on how this data is joined to realtime records.
Asana Task: https://app.asana.com/0/1205827492903547/1207771349226050

I held off on re-basing this onto your new testing framework, I can roll that into a future commit when #410 has been merged to main.

Locally, this spits out schedule data for a service_date in about 1 second (not counting parquet file downloading), which is a significant improvement compared to the RDS based system.

Testing ended up being pretty self contained, so just went ahead and pushed it up to this branch.


Migrate to Yarn

Fixes https://github.com/HospitalRun/hospitalrun-frontend/issues/1156.
Changes proposed in this pull request:

Move bower dependencies to npm/yarn
Change default install method to yarn

cc @HospitalRun/core-maintainers

CI tests seem to be failing, likely because of a problem with test scripts.  Will look into more.

ohhhh.. There's much to review I must say. What I'd do, however this is kinda contradicts to what you've done is:

Decide with project owners yarn or npm. npm would probably be not a bad choise. Moreover some packages are available via npm. Probably we'd migrate 'em for free.
Go step by step. Change one package at a time, do corresponding changes and run tests afterwards. Currently Travis is somehow unable to run the tests at all. Better many smaller PRs than one like this


Intellisense list is unorganized

VSCode Version: 1.21.1
OS Version: 10.13.3

Steps to Reproduce:

Try to import a module like:

It will not show the list organized and actually not highlight anything related to the import object.

In a react component it will hightlight the last used option but it's still not organized:

Does this issue occur when all extensions are disabled?: Yes

Duplicate of #1304 I believe
You can also try pushing those snippet suggestions to the bottom of the list by setting: "editor.snippetSuggestions": "bottom"


[Windows] Build failed

Trying to run:
git clone https://github.com/Jigsaw-Code/outline-client
cd outline-client
yarn do electron/build

Got error:
$ yarn do electron/build
yarn run v1.3.2
$ bash ./scripts/do_action.sh electron/build
++ git rev-parse --show-toplevel
+ export ROOT_DIR=D:/Temp/2/outline-client
+ ROOT_DIR=D:/Temp/2/outline-client
+ export BUILD_DIR=D:/Temp/2/outline-client/build
+ BUILD_DIR=D:/Temp/2/outline-client/build
+ export -f do_action
+ do_action electron/build
+ local action=electron/build
+ echo '[Running electron/build]'
[Running electron/build]
+ shift
+ D:/Temp/2/outline-client/electron/build_action.sh
./scripts/do_action.sh: line 26: D:/Temp/2/outline-client/electron/build_action.sh: No such file or directory
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I think trouble is that for now path for electron is changed.
I'm not sure how to fix it? Just change command to yarn do src/electron/build or add some conditions for electron path here: https://github.com/Jigsaw-Code/outline-client/blob/cec7f69990bf4f0bd5e4b457c56dafe1df5d5ea4/scripts/do_action.sh#L22

I just tried:  yarn gulp build --platform=browser --watch and got new error:
+ rsync -ac --exclude '*.ts' src/www/ www/
D:/Temp/2/outline-client/src/www/build_action.sh: line 20: rsync: command not found
error Command failed with exit code 127.
[04:28:02] 'build' errored after 9.64 s
[04:28:02] Error: Command failed: yarn do src/www/build

@lgg Let's update the docs - I just sent https://github.com/Jigsaw-Code/outline-client/pull/363 for review, a followup to your own https://github.com/Jigsaw-Code/outline-client/pull/346 :-)


Duplicate with https://github.com/sek-consulting/solid-ui

This project is duplicated with https://github.com/sek-consulting/solid-ui

Both are simply tools for building UIs with Solid. While each offers a variety of components, some might not be available in one yet but exist in the other. Explore both to see which one aligns better with your needs.