OCIStore is not concurrency safe at a process-level

When running multiple helm chart commands at the same time, there can be a race to write the updated OCIStore index reference resulting in missing references for later commands. Is it expected that this should work or should each helm chart command be given a new registry cache directory to avoid this?
Failing test case:
package content

import (
	"io/ioutil"
	"testing"

	ocispec "github.com/opencontainers/image-spec/specs-go/v1"
)

func TestConcurrentSaveIndex(t *testing.T) {
	tempdir, err := ioutil.TempDir("", "")
	if err != nil {
		t.Fatal(err)
	}

	store, err := NewOCIStore(tempdir)
	if err != nil {
		t.Fatal(err)
	}

	err = store.LoadIndex()
	if err != nil {
		t.Fatal(err)
	}

	parallelStore, err := NewOCIStore(tempdir)
	if err != nil {
		t.Fatal(err)
	}

	err = parallelStore.LoadIndex()
	if err != nil {
		t.Fatal(err)
	}

	store.AddReference("my-first-reference", ocispec.Descriptor{})
	parallelStore.AddReference("my-second-reference", ocispec.Descriptor{})

	err = store.SaveIndex()
	if err != nil {
		t.Fatal(err)
	}

	err = parallelStore.SaveIndex()
	if err != nil {
		t.Fatal(err)
	}

	err = store.LoadIndex()
	if err != nil {
		t.Fatal(err)
	}

	parallelStore.LoadIndex()
	if err != nil {
		t.Fatal(err)
	}

	if _, ok := store.ListReferences()["my-first-reference"]; !ok {
		t.Error("Store does have have my-first-reference")
	}

	if _, ok := store.ListReferences()["my-second-reference"]; !ok {
		t.Error("Store does have have my-second-reference")
	}

	if _, ok := parallelStore.ListReferences()["my-first-reference"]; !ok {
		t.Error("Store does have have my-first-reference")
	}

	if _, ok := parallelStore.ListReferences()["my-second-reference"]; !ok {
		t.Error("Store does have have my-second-reference")
	}
}

@steved thanks for opening. Yes, it is true. The source of truth for all helm refs are stored in a single file. Do you have any thoughts on how to address this?

The best idea I have is some sort of file locking scheme that allows merging of image references at save time. Is this library the correct place for a change, though? It implements the upstream OCI image spec and it doesn't appear that the specification is particular concurrency-safe either. Is this something that Helm should potentially implement as a consumer of the OCIStore?

I have considered adding code to umoci to do some file locking on index.json to try to fix this problem, so if we go in that direction maybe we should make sure both umoci and oras handle this the same way -- in fact it might not hurt to migrate oras to using umoci's CAS libraries so that we don't have to develop them in parallel.
Unfortunately if any other tool touches index.json without acquiring a filesystem lock (which might not even be enough if you're using things like NFS), then you hit this problem again. And there isn't really a nice POSIX-only way of doing a cmpxchg.
From the umoci side of things, this also might be an API issue -- should the API for updating an index.json actually look like cmpxchg (right now it's just GetIndex and PutIndex).
(Slightly annoyingly, the pre-index.json system was based on a directory of references and we switched away from it pre-1.0 of the image-spec. There were valid reasons for the switch, it's just a little annoying that this problem wasn't accounted for at the time.)

@cyphar - did umoci ever end up implementing any lock mechanism on index.json?


Can we make APPLICATION_EXTENSION_API_ONLY settable in the package.swift?

Description
If we don't want to use the package for app extension, we can set APPLICATION_EXTENSION_API_ONLY  to NO; otherwise, we'd expect it always to be YES regardless of whether there's a system module dependence (because we're still safe to use some system modules' classes & APIs for app extensions).
We can follow the current logic if the packager owner doesn't provide this setting option.
There's also a thread called "Set APPLICATION_EXTENSION_API_ONLY on a SPM package" that discussed this issue.
Expected behavior
APPLICATION_EXTENSION_API_ONLY should be an optional setting available in the package.swift.
Users can determine the value by themselves or leave it nil to use the current logic.
Actual behavior
Currently, PIFBuilder.swift determines its value by whether dependencies contain any system module.
534 | // If there are no system modules in the dependency graph, mark the target as extension-safe.
535 | let dependsOnAnySystemModules = dependencies.contains { $0.target?.type == .systemModule }
536 | if !dependsOnAnySystemModules {
537 |   settings[.APPLICATION_EXTENSION_API_ONLY] = "YES"
538 | }

According to the official "App Extension Programming Guide - Some APIs Are Unavailable to App Extensions", most system modules are safe to use in the app extension, just partial APIs are not.
So this condition checking is inaccurate.
Steps to reproduce
No response
Swift Package Manager version/commit hash
5.7
Swift & OS version (output of swift --version && uname -a)
swift-driver version: 1.62.15 Apple Swift version 5.7.2 (swiftlang-<IP_ADDRESS>.5 clang-14<IP_ADDRESS>)
Target: x86_64-apple-macosx13.0
Darwin MacBook-Pro.local 22.3.0 Darwin Kernel Version 22.3.0: Mon Jan 30 20:42:11 PST 2023; root:xnu-8792.81.3~2/RELEASE_X86_64 x86_64

We recently ran into this issue as well.
It occurs with a project structure like this.

MyApp

iOS app target
depends on MyFramework

MyExtension

iOS app extension target
depends on MyFramework

MyFramework

dynamic framework target
APPLICATION_EXTENSION_API_ONLY = YES

When adding a swift package as a dependency to MyFramework, it introduces the warning.
It seems to be caused by Xcode switching to building the package as a dynamic package without setting APPLICATION_EXTENSION_API_ONLY = YES. Before adding the package as a dependency to the framework, the package was being built as a static library so it seemed to inherit the APPLICATION_EXTENSION_API_ONLY setting from the target linking it.


Inference in a batch of images.

Checklist

I have searched related issues but cannot get the expected help.
I have read related documents and don't know what to do.

Describe the question you meet
Well, this is my first issue, so apology for any mistake. Basically, I am trying to execute inference in a list of images. My code extracts several regions from a frame, and I want to execute inference in all images at once. Currently, I am doing a for loop and executing inference using the API for each image region, but the inference time is slow, where a single inference take 40ms, when I execute multiple inferences it goes to 170ms. So I was wondering how I can speed this up. One way I can think of is to copy the iamges to the GPU and execute inference in a batch.
I do not have much experience with mmcls or pytorch, but I have experience in tensorflow, and as far as I know, if you pass a [batch_size, width, height, channels] to the model it will output an array of [batch size]. In my tests, doing in this way is much faster because there is only one copy and one inference operation.
I used the "inference.py" file and inference function as a base and modified it myself, but I could not make it go faster.
If anyone has any document or material for me rto refer I will be very grateful, if there are any suggestions on how to improve it, I will also be very grateful.
Post related information

The output of pip list | grep "mmcv\|mmcls\|^torch"
mmcls                         0.23.0  (installed from source)
mmcv-full                     1.5.0
torch                         1.10.1
torchvision                   0.11.2
Your config file if you modified it or created a new one.

No configuration file changes

Your train log file if you meet the problem during training.
No train log
Other code you modified in the mmcls folder.

def inference_model(model, img):
    """Inference image(s) with the classifier.

    Args:
        model (nn.Module): The loaded classifier.
        img (str/ndarray): The image filename or loaded image.

    Returns:
        result (dict): The classification results that contains
            `class_name`, `pred_label` and `pred_score`.
    """
    cfg = model.cfg
    device = next(model.parameters()).device  # model device
    # build the data pipeline
    if isinstance(img, str):
        if cfg.data.test.pipeline[0]['type'] != 'LoadImageFromFile':
            cfg.data.test.pipeline.insert(0, dict(type='LoadImageFromFile'))
        data = dict(img_info=dict(filename=img), img_prefix=None)
    else:
        if cfg.data.test.pipeline[0]['type'] == 'LoadImageFromFile':
            cfg.data.test.pipeline.pop(0)
        data = dict(img=img)
    test_pipeline = Compose(cfg.data.test.pipeline)
    data = test_pipeline(data)
    #print(f" data is container? {isinstance(data, DataContainer)}")
    data = collate([data], samples_per_gpu=1)
    if next(model.parameters()).is_cuda:
        # scatter to specified GPU
        data = scatter(data, [device])[0]

    #print(data)
    # forward the model
    with torch.no_grad():
        scores = model(return_loss=False, **data)
        pred_score = np.max(scores, axis=1)[0]
        pred_label = np.argmax(scores, axis=1)[0]
        result = {'pred_label': pred_label, 'pred_score': float(pred_score)}
    result['pred_class'] = model.CLASSES[result['pred_label']]
    return result

def inference_model_array(model, img_array):
    """Inference image(s) with the classifier.

    Args:
        model (nn.Module): The loaded classifier.
        img (str/ndarray): The image filename or loaded image.

    Returns:
        result (dict): The classification results that contains
            `class_name`, `pred_label` and `pred_score`.
    """
    cfg = model.cfg
    #print(model.cfg)
    device = next(model.parameters()).device  # model device
    # build the data pipeline
    if cfg.data.test.pipeline[0]['type'] == 'LoadImageFromFile':
        cfg.data.test.pipeline.pop(0)

    test_pipeline = Compose(cfg.data.test.pipeline)
    data_batch = []
    for i in range(len(img_array)):
        data = dict(img=img_array[i])
        #print(data)
        data = test_pipeline(data)
        data = collate([data], samples_per_gpu=len(img_array))
        #print(data)
        data_batch.append(data)

    #print(f" img_array = {len(img_array)}")
    #print(f" data_batch = {len(data_batch)}")
    #print(f" data is container? {isinstance(data, DataContainer)}")
    #print(f" data_batch is container? {isinstance(data_batch[0], DataContainer)}")
    #data = collate([data_batch], samples_per_gpu=len(img_array))
    #print(f"data_collated = {data_batch[0]}")
    #print(data.keys())
    #print(f" data = {len(data)}")
    if next(model.parameters()).is_cuda:
        # scatter to specified GPU
        data = scatter([data_batch], [device])[0][0]
    #print(f"data_gpu = {len(data)}")
    #print(f"data_gpu = {data}")

    results = []

    # forward the model
    for i in range(len(data)):
        #print(data[i])
        with torch.no_grad():
            scores = model(return_loss=False, **data[i])
            pred_score = np.max(scores, axis=1)[0]
            pred_label = np.argmax(scores, axis=1)[0]
            result = {'pred_label': pred_label, 'pred_score': float(pred_score)}
            #print(result)
            results.append(result)
    #print(results)

    for i in range(len(results)):
        results[i]['pred_class'] = model.CLASSES[results[i]['pred_label']]

    return results

Let me confirm some things, you want to inference a series of images, right?
What's the shape of your input image_array? Is it a list of arrays with shape (H, W, C), or a single image array with shape (N, C, H, W), etc.?
Can you show me your entire process to use the inference_model_array?

@mzr1996
Thanks for the quick answer. For example the shape fo the image_array is  [7, 300, 300, 3] => [N, H, W, C], I also experimented with lists like [N, H, W, C] but in list case, each image has different shape, each image hasa  different shape, so I assume that the pipeline will do the transformation before input in the network, right? if that is not possible I can reshape the iamges before appending to the list. THis is the coe I am experimenting with:
from mmcls.apis import inference_model, init_model, show_result_pyplot, inference_model_array
# Copyright (c) OpenMMLab. All rights reserved.
import asyncio
from argparse import ArgumentParser

from mmdet.apis import (async_inference_detector, inference_detector,
                        init_detector, show_result_pyplot)

from camera_drivers import *
import cv2 as cv
import time
import numpy as np

detection_config = "/classification/model/path"
detection_checkpoint = "/detection/model/path"

inference_config = "/classification/config/path"
inference_checkpoint = "/detection/config/path"
device = "cuda:0"

def make_result_image_cv2(img, result, labels):
    result_bboxes = result[0]
    width, height, channels = img.shape
    result_image = img.copy()

    # print(result_bboxes)
    i = 0
    for box in result_bboxes:
        # print(box)
        x_min = int(box[0])
        y_min = int(box[1])
        x_max = int(box[2])
        y_max = int(box[3])
        if labels[i] == 0:
            cv.rectangle(result_image,(x_min,y_min),(x_max, y_max),(0,255,0),3)
        else:
            cv.rectangle(result_image,(x_min,y_min),(x_max, y_max),(0,0,255),3)
        i += 1

    return result_image

def crop_images_cv2(img, result):
    result_bboxes = result[0]
    width, height, channels = img.shape
    result_image = img.copy()

    images = []

    for box in result_bboxes:
        # print(box)
        x_min = int(box[0])
        y_min = int(box[1])
        x_max = int(box[2])
        y_max = int(box[3])
        cropped_image = img[y_min:y_max, x_min:x_max]
        #cropped_image = cv.resize(cropped_image, (300,300))
        images.append(cropped_image)
    return images

def main():
    # build the model from a config file and a checkpoint file
    detection_model = init_detector(detection_config, detection_checkpoint, device=device)
    classification_model = init_model(inference_config, inference_checkpoint, device=device)
    serial1 = "22929840"
    cam = basler_camera.basler_camera(serial_number=serial1)

    while True:
        start = time.time()
        frame = cam.get_image()
        # test a single image
        start_detection = time.time()
        result_detection = inference_detector(detection_model, frame)
        isolated_objects = crop_images_cv2(frame, result_detection)
        end_detection = time.time()

        inference_labels = []
        #for object_single in isolated_objects:
        #    """
        #    prdiction format
        #    result = {
        #        'pred_class': results['pred_class'][0],
        #        'pred_label': results['pred_label'][0],
        #        'pred_score': results['pred_score'][0],
        #    }
        #    """
        #    start_inference = time.time()
        #    classification_result = inference_model(classification_model, object_single)
        #    inference_labels.append(classification_result['pred_label'])
        #    end_inference = time.time()
        start_inference = time.time()
        #print(np.array(isolated_objects).shape)
        #isolated_objects = np.array(isolated_objects)
        #print(isolated_objects.shape)
        classification_result = inference_model_array(classification_model, isolated_objects)
        #classification_result = inference_model(classification_model, isolated_objects[0])
        for result in classification_result:
            inference_labels.append(result['pred_label'])
        end_inference = time.time()
        print(inference_labels)
        result_img_time_start = time.time()
        result_img = make_result_image_cv2(frame, result_detection, inference_labels)
        result_img_time_end = time.time()
        end=time.time()
        print(f"Image processing time: {end-start} seconds")
        print(f"single image classification time {end_inference-start_inference} seconds.")
        print(f"single image detection time {end_detection-start_detection} seconds.")
        print(f"create_debug_img {result_img_time_end-result_img_time_start} seconds.")
        # show the results
        #cv.imshow("Result", result_img)

        # waits for user to press any key
        # (this is necessary to avoid Python kernel form crashing)
        #k = cv.waitKey(10) & 0xFF
        #if k == 27:
        #    break

    # closing all open windows
    cv.destroyAllWindows()

if __name__ == '__main__':
    main()

as you can see in the commented part of main() I was doing inference for each image I detected.

Ok, I get it.
The pipeline does process the input images and crops them to the same shape (depends on your config file).
The problem is you should collate all data of a batch to one dict and scatter it to your device. And then the data will be a dict which includes a key img with shape (N, C, H, W). Pass it to the model, and the model can inference the whole batch.
I did some modifications to your function, it works but maybe not perfect.
def inference_model_array(model, img_array):
    """Inference image(s) with the classifier.

    Args:
        model (nn.Module): The loaded classifier.
        img (str/ndarray): The image filename or loaded image.

    Returns:
        result (dict): The classification results that contains
            `class_name`, `pred_label` and `pred_score`.
    """
    cfg = model.cfg
    #print(model.cfg)
    device = next(model.parameters()).device  # model device
    # build the data pipeline
    if cfg.data.test.pipeline[0]['type'] == 'LoadImageFromFile':
        cfg.data.test.pipeline.pop(0)

    test_pipeline = Compose(cfg.data.test.pipeline)
    data_batch = []
    for i in range(len(img_array)):
        data = dict(img=img_array[i])
        #print(data)
        data = test_pipeline(data)
        #print(data)
        data_batch.append(data)

    data = collate(data_batch, samples_per_gpu=len(img_array))

    #print(f" img_array = {len(img_array)}")
    #print(f" data_batch = {len(data_batch)}")
    #print(f" data is container? {isinstance(data, DataContainer)}")
    #print(f" data_batch is container? {isinstance(data_batch[0], DataContainer)}")
    #data = collate([data_batch], samples_per_gpu=len(img_array))
    #print(f"data_collated = {data_batch[0]}")
    #print(data.keys())
    #print(f" data = {len(data)}")
    if next(model.parameters()).is_cuda:
        # scatter to specified GPU
        data = scatter(data, [device])[0]
    #print(f"data_gpu = {len(data)}")
    #print(f"data_gpu = {data}")

    results = []

    # forward the model
    #print(data[i])
    with torch.no_grad():
        scores = model(return_loss=False, **data)
        for i in range(len(scores)):
            pred_score = np.max(scores[i], axis=0)
            pred_label = np.argmax(scores[i], axis=0)
            result = {
                'pred_label': pred_label,
                'pred_score': float(pred_score),
                'pred_class': model.CLASSES[pred_label]
            }
            results.append(result)
        #print(result)
    #print(results)

    return results

@mzr1996 Thank you very much!
I can understand the modification, I did some experiments collating the array, but it was not working properly, maybe I was adding too much []. This is probably due to my lack of experience using pytorch.
Now it is taking the from 40 to 50 ms per image batch!


Icons request

Intesa Sanpaolo Mobile
com.latuabancaperandroid
Elios APP
it.csystem.android.pess.elios
MyInfoCert
it.infocert.myinfocert.phoenix
N26 - The Mobile Bank
de.number26.android
Curve Card
com.imaginecurve.curve.prd

Hello! Weʼre switching to a new system for icon requests in order to be able to better manage them. From now on, icon requests can be submitted here: https://forms.gle/Fx8vZAiWdW1Tyjo57. If your icon request hasnʼt yet been fulfiled, it has been copied to our new icon request database, meaning no action is required. Consequently, this issue will be closed.


Apply refactoring from cargo clippy

This PR applies refactoring suggested from running cargo clippy.

Updated & resolved conflicts.

Thank you!


Matching for JSON objects/arrays not just strings

I have a patch that allows you to match JSON fields to arrays or objects. Before I bother my company about approving a patch, I'd like to know if that is something you'd accept.
E.g. you can do this:
<EMAIL_ADDRESS>== ["A", "B"])]
<EMAIL_ADDRESS>== {"A": true})]

Sounds great! Create a pull request and I will take a look.
I appreciate you contribution.

https://github.com/jayway/JsonPath/pull/115


blocks page

What kind of PR is this?:

/kind feature
What this PR does / why we need it:
We want to increase transparency of the defichain by allowing the users to see details about the blocks.
Which issue(s) does this PR fixes?:

Fixes #57
Additional comments?:

Codecov Report

Merging #78 (f55f2e4) into main (718bdd5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #78   +/-   ##
=======================================
  Coverage   84.30%   84.30%
=======================================
  Files          14       14
  Lines         172      172
  Branches       27       27
=======================================
  Hits          145      145
  Misses         27       27

Continue to review full report at Codecov.

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

checked the netlify preview and the table is blank, is there a way to get some data to show up there for review purposes?
cc: @fuxingloh

To prioritize /transactions/:txid first, the rest of the page aren't as important yet. Create another PR from main.

Not a big deal, but can you add a screenshot of the page?
https://github.com/DeFiCh/scan/pull/156

Would be good to add a tab at the top too alongside dex and prices

@aikchun can you remove everything that isn't required for /blocks, this is targeted for the main branch everything must be production-ready. I want to review this and refactor if there is anything to change.

@fuxingloh  Removed the changes that were not needed.


Feature Request: Media Keys and Window Snap Feature

I think that the keyboard media keys should be set as standard control keys. I personally love that f.ex. the steam client can "snap" on the side of your screen, that its bezel is ligned up with the screen boarders.

What OS are you on?
Media keys are already by default active?

I am running the latest version of it on Windows. Just saw that it says
that they are set as default. However, im using a windows sidewinder x4 and
it seems that they dont work with it. but they work with other things like
vlc media player.
Samuel Attard<EMAIL_ADDRESS>schrieb am Fr., 11. März 2016 um
16:49 Uhr:

What OS are you on?
Media keys are already by default active?
—
Reply to this email directly or view it on GitHub
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/490#issuecomment-195423103
.

I found that I have to be logged into Chrome for the media keys to work.

@PlasmaEye currently im logged in into chrome, i thing its still open. not
sure why its not working. dont different keyboard manufacturers use
different hex codes for the media keys? or is the media key scanning
handled differently?
PlasmaEye<EMAIL_ADDRESS>schrieb am Fr., 11. März 2016 um
17:59 Uhr:

I found that I have to be logged into Chrome for the media keys to work.
—
Reply to this email directly or view it on GitHub
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/490#issuecomment-195453613
.

I have this same problem. I'm on Windows 10 with a Microsoft Natural 4000 keyboard. I tried both with and without the "Microsoft Keyboard and Mouse Center" drivers installed.
I made a little sample C# app and was able to catch it in WndProc as a WM_APPCOMMAND message with an lParam value of 917504. Apparently that's some kind of generic media key value from the WindowsSDK.

Closing as the windows "snapping" feature is already implemented and the media key issue is open elsewhere


hack some tests

here's the stuff from test clinic today - including my print debugging 😂

Hey @SammyTbeile I went ahead and did a couple of tests right after you dropped - turns out results vs Results is super important - if it's an error condition anyway.
If the swarm failure should be an error, "results": False is what you'll want in that return dict. That will make the output show up red, and set the exit code to non-zero.


Batch size vs learning rate

Greetings,
Based on your experience , would setting the batch size to 5 and learning rate to 0.005 be appropriate? I use 4 GPUs.
Thank you!

batch_size = 5 for each GPU card? You can try it, I think the performance should be similar.
Notably, please turn on the sync_bn.


Full screen call in lockscreen

I have written a code that shows the following screen when the android phone is locked and turned off, and when I unlock the phone it is full screen. How can I make the call to be full screen on the lock screen?

Same issue

please update last version for request permisstion full intent screen for android 14+
please make sure call requestFullIntentPermission


Could not find a version that satisfies the requirement tensorflow==1.8.0

0.10.0a3:
3.6.6:
windows:
Issue:
I have been tried both ways "using pip" and  "using github + setup.py". And on both ways I stuck at following error
Could not find a version that satisfies the requirement tensorflow==1.8.0 (from -r requirements.txt (line 13)) (from versions: )
No matching distribution found for tensorflow==1.8.0 (from -r requirements.txt (line 13))
Content of domain file (if used & relevant):

tensorflow 1.8.0 now only compiled for  64 bit. you need change to python 64 bit to run.

the same problem with python 3.7.1


Fix typo in Market.init

Delinting at PyCon created a typo in the argument list for Market, now fixed.  This addresses the same issue as just-closed PR from CDC #285

This is sort of why I suggested at some point (and didn't do it myself) that it can be a good idea to simply gather all the model types in a test set and just init them all. Just to check that stuff still can be initialized after a change. It's a crude check, but it is quite important that all models can be initiated after all :)

Release notes: Bug fix

Adjustment: No release notes needed.  This was a one character typo
introduced at PyCon and corrected a few days later.  There's no need to
mention this in the release notes.
On Thu, May 16, 2019 at 8:53 AM Christopher Llorracc Carroll <
<EMAIL_ADDRESS>wrote:

Release notes: Bug fix
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/econ-ark/HARK/pull/286?email_source=notifications&email_token=ADKRAFLGMJARLNCL253FDQLPVVKNVA5CNFSM4HMRQNV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVRWY7Q#issuecomment-493055102,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADKRAFI6BMYGYLZDL7RAJE3PVVKNVANCNFSM4HMRQNVQ
.


Organize folder structure for the project

Create initial folder structure for the project. I suggest to keep it simple initially. Like

Controller
Model
Manager
Repository

Vaia which architecture we will follow for this project?


Add LMNT TTS plugin

I have added support for both the low-latency streaming and non-streaming versions of the LMNT API, following the existing TTS structure in adjacent plugins.
One note:

I have included a dependency on torchaudio. While it is a bit heavyweight, I noticed that livekit-plugins-openai also takes a dependency on it so I have done the same. (It makes implementation slightly easier.)

While I'm here, I also am fixing a minor README issue to help future folks to run the kitt demo:

The click configuration inside run_app attaches the LiveKit args to cli() instead of the subcommand start(). This means click expects us to put the subcommand 'start' after the LiveKit args instead of before them.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Went ahead and fixed the sample rate when creating the audio frame to 24kHz as that's what we're always sending over, so no need to work around internally for us. Thanks!


Add Syntax Support for Types on Macro Parameters

This change customizes the jinja parser to allow for Python-style type annotations on macro parameters. It does not implement any functionality relying on the type information. That will be done in dbt-core.
Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
[x] I have opened an issue to add/update docs, or docs changes are not required/relevant for this PR
[x] I have run changie new to create a changelog entry

Codecov Report
Attention: Patch coverage is 4.54545% with 21 lines in your changes missing coverage. Please review.

Project coverage is 68.01%. Comparing base (965ad81) to head (5579337).

Files with missing lines
Patch %
Lines

dbt_common/clients/jinja.py
4.54%
21 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #229      +/-   ##
==========================================
- Coverage   68.42%   68.01%   -0.42%
==========================================
  Files          52       52
  Lines        3395     3417      +22
==========================================
+ Hits         2323     2324       +1
- Misses       1072     1093      +21

Flag
Coverage Δ

unit
68.01% <4.54%> (-0.42%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Add a nice animted preloader

http://ring-ui.labs.intellij.net/loader.html

Move the data fetching from the index.scala.html to the client side: getInitialState(user, arguments) via GET request
The method getInitialState should include the topics and messages
Show the preloader until all the data is loaded


unique history date

atm the history show the kill date, that is not realy usefull, it should show a ago time
current
foobar killed baz at 2017-01-01 13:37
should be
foobar has killed baz 5min ago

view-helper added in https://github.com/kokspflanze/PServerCore/commit/9b4086e1d7b9d0b257c5b210f329039f93771754

also done with https://github.com/PServerCMS/SROUnique/commit/c79c9f3d934c73671f8e94eed2901a75e5a2198b


Add datepicker to forms

Add feature #19
I added an HTML datepicker to the forms.

Looks like that did it.  Files changed shows 2 instead of 3 now.

Thanks! Seems like it! 🎉
This ended up being less involved then I expected, haha. Thanks for the PR, and would certainly ❤ more 😍

Closes #19


Update LICENSE to reflect current development

The LICENSE file needs two things:

To list me as the current maintainer
The year to be updated to 2023

The license header in each file should also be updated. This issue is going to require more work.

Resolved in PR #1


Add HelloWorld solution and tests

While this one's a low hanging fruit, I enjoyed it in the F# track as it helped me get accustomed to the work flow without having any difficult code to write.

@robkeim Good idea! There is no thing left to do: the hello-world entry you added to the exercises array in the config.json file should become the first entry in that list.

I wasn't sure what the rule is for exercise ordering, but agreed that it makes sense to have hello-world be the first one :)
I've gone ahead and updated the PR.

@robkeim There are just two small indentation problems, after that it's perfect!

Merged! Thanks. :tada:


Use the XRM tooling common login control in your client applications

I would like to report documentation bug below. Please, let me know if it is clear or if you need further information to proceed on documentation adjustment .
Thanks in advance.
•	SCOPE:
Fix error in documentation: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/xrm-tooling/use-xrm-tooling-common-login-control-client-applications
Doc should mention that developers must add ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12  into custom code (or use  superior version of .NET)
•	Justification:
Error on documentation:

        “Applies to Dynamics 365 for Customer Engagement apps version 9.x”

        “.NET Framework 4.5.2”

Documentation mention that solution applies for version 9, prerequisite is .NET 4.5.2, however it is missed that developers must  explicit define TLs 1.2 in their codes to connect into CRM online version 9.

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

ID: 61f4e234-adae-3f8b-7546-739ac0e02ca1
Version Independent ID: 625df86e-1b09-a9e9-95a5-794bfc1e066c
Content: Use the XRM tooling common login control in your client applications (Developer Guide for Dynamics 365 Customer Engagement)
Content Source: ce/developer/xrm-tooling/use-xrm-tooling-common-login-control-client-applications.md
Service: crm-online
GitHub Login: @KumarVivek
Microsoft Alias: kvivek

We do not want to recommend that people hard-code a specific TLS version in their code. That works but is not the recommended approach.
See this support KB Microsoft Dynamics 365 Customer Engagement (online) to require TLS 1.2 for connectivity for details.

You can force TLS 1.2 protocol using the following command :
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
This forces the TLS 1.2 security protocol at all time.  This is not recommended as you run the risk of having to update this when there is a newer security protocol adopted by the industry.

This KB also calls out the VS 2015 bug that causes people to think they must do this. There is a workaround.
We should:

Either update this doc or have it point to the newer version here: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/xrm-tooling/use-xrm-tooling-common-login-control-client-applications
Even the newer version has errors. i.e. The prerequisites still refer to .NET 4.5.2, this should be 4.6.2
I don't know that anyone is maintaining the Microsoft Dynamics CRM SDK Templates. They were last updated more than 3 years ago and they don't support VS 2017. Removing the dependency on these templates and simply providing an example using the NuGet package might be a better option.


Incorrect route if contains %2F in API path

Describe the bug
比如 /aaa/bbb/ccc%2Fddd
如果是 handle /aaa/bbb/ 会 not found
To Reproduce
Steps to reproduce the behavior, if applicable:

The code is

The error is

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environments (please complete the following information):

OS: [e.g. Linux]
go-zero version [e.g. 1.2.1]
goctl version [e.g. 1.2.1, optional]

More description
Add any other context about the problem here.

/aaa/bbb/ccc%2Fddd
You need to visit with the exact path /aaa/bbb/ccc%2Fddd.

/aaa/bbb/ccc%2Fddd
You need to visit with the exact path /aaa/bbb/ccc%2Fddd.
it's useless

Would you please give a complete example on this?


Update google-cloud-bigtable-emulator to 0.155.0

Updates com.google.cloud:google-cloud-bigtable-emulator from 0.153.0 to 0.155.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.cloud", artifactId = "google-cloud-bigtable-emulator" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "com.google.cloud", artifactId = "google-cloud-bigtable-emulator" }
}]

labels: test-library-update, early-semver-major, semver-spec-minor, commit-count:1

Superseded by #35.


Haskell mode correct way to close repl?

I'm currently using the Haskell mode installed through Doom emacs. My issue is that closing the repl using esc triggers a prompt "kill whole session?". Is there a way to get rid of this message or make the repl persistent like utop such that pressing esc accidentally does not kill it?

The lang/ocaml module [has a popup rule to prevent ESC from auto-killing its REPL](https://github.com/hlissner/doom-emacs/blob/develop/modules/lang/ocaml/config.el#L420. You'll need something similar for haskell. I don't know what it's buffer's name is so I'll guess:
(after! haskell-mode
  (set-popup-rule! "^\\*haskell repl\\*" :quit nil))

Thank you. Just what i was looking for.

Could you share the popup rule that worked for you? I think it'd be good to add it to the :lang haskell module.

;; haskell-mode
(after! haskell-mode
  (set-popup-rule! "*haskell*" :quit nil))


Input copy & paste

hello,
is there any option to add copy paste to the input?
when i do long press noting is append.
on
inputTextFiled its working, so maybe there is another way on the ShadInput?

Same issue

Waiting for merging https://github.com/nank1ro/flutter-shadcn-ui/pull/142

implemented in the v0.9.5 by @moshOntong-IT


Some sort of mapping function

One of the biggest issues of markupsafe is that most of the world is not markupsafe-aware, so when performing text transformations through markupsafe-unaware (but safe) APIs. In my experience, regex and markdown are common issues.
They generally require type-checking the input, applying the transformation, then re-wrapping if necessary, commonly transforming a simple expression into several statements (or a more complicated conditional expression).
Would be nice if markupsafe provided a markupsafe.map utility which did that internally, applying a user-supplied transformation function then rewrapping the input to match the output.

This sounds outside the scope of MarkupSafe. I'm not clear what this would be compared to Markup(markdown.render(value)).


Question about fixed-point representation

Hi, @ftramer
Thanks for the interesting work :) I have two questions, please.

The First question is about the fixed-point representation you used. xhat = FP(x; k) := round(2^k * x).
Can you explain how this expression is derived? also, what we have wrong if we adopt the simplest method like round(x)?

For efficiency reasons, we perform integer arithmetic using floats

I couldn't understand what it means exactly. As far as I know, the performance between integer ops and float ops are depended on processor by processor or application by application. Can you unpack it for clarity?

Suppose x takes floating-point values between 0 and 1. Then simply applying round(x) will destroy all the signal as everything is mapped to 0. By first multiplying by 2^k, we ensure that our floating points get distributed into a larger interval [0, 2^k] that contains 2^k + 1 different integers. We thus get a much more accurate fixed-point representation.

Yes, you're right that the performance of int or float ops depends on the hardware. It turns out that for modern Intel CPUs and GPUs, float ops are typically much faster than int ops. E.g., on Intel architectures, this is due to the availability of better SIMD instructions for floats, which allow for computing many float ops in parallel. Such instructions also exist for ints, but they're typically slower.

Suppose x takes floating-point values between 0 and 1. Then simply applying round(x) will destroy all the signal as everything is mapped to 0. By first multiplying by 2^k, we ensure that our floating points get distributed into a larger interval [0, 2^k] that contains 2^k + 1 different integers. We thus get a much more accurate fixed-point representation.

Yes, you're right that the performance of int or float ops depends on the hardware. It turns out that for modern Intel CPUs and GPUs, float ops are typically much faster than int ops. E.g., on Intel architectures, this is due to the availability of better SIMD instructions for floats, which allow for computing many float ops in parallel. Such instructions also exist for ints, but they're typically slower.

Thanks for the clear answer!
Let me close this thread.

Thanks for the clear answer!
Let me close this thread.


Added version to example docker-compose.yml

When I copied and pasted the example docker-compose.yaml, and tried it, I saw:
$ docker-compose run site
ERROR: The Compose file './docker-compose.yml' is invalid because:
Unsupported config option for services: 'site'

Adding in a version header makes the example work.

Just once slight change and this is GTG for me!

@envygeeks done! And thanks for providing this image.


create and update view for selected users

hello,
how can i make create and update view available for specific users only? I really don't understand how adding permission to a model's metadata works.

@igabice I guess it would be nice for the community (and the upcoming users)  if you add a little comment about how do you manage to resolve this. Thanks in advance.

to solve this i wrapped the edit button in list.html file with an if statement that checks if the current user is staff(i.e request.user.is_staff)  before making the button visible. so only users who belong to the staff group can see the edit button .


DinkToPDF is not working on Azzure

Hi. I have developed asp.net core 3.0 app and I am converting HTML to PDF. In localhost it's all working but afer I uploaded the project on Azzure server, it does not work. I tried to switch bit version of library but nothing happened.
Project is running on Linux (Ubuntu) server. I have no clue why it is not working.

Hi, did you fix this problem?

Yes I actually used different NuGet package. NuGet package I used and it's working is: Haukcode.DinkToPDF.
Link to NuGet package: https://www.nuget.org/packages/Haukcode.DinkToPdf/1.1.2?_src=template

Work! Thanks for your help, you made my day.


Multithreaded the shared-directory setup process

Resolves #19
Added multithreading to the SSHFS mounts. These changes, on my machine, accelerate the process of booting and immediately shutting down a CentOS VM with 20 shared folders from a minute to only 23 seconds. This would be even faster except that I limited it to only run 8 threads at a time. When I tried launching with 20 simultaneous threads, my host machine's SSH server frequently started refusing connections.
Python's Thread class does not give any built-in method to find whether it actually succeeded. To error out properly if, for instance, the host does not have a running SSH server, I wrote a small wrapper class for threading.Thread. Its only added functionality is to raise any caught error when join() is called.
make test passes.

Nice optimization!
I do have a few nitpicks though.

 This will discard the commit message and squash the fix with the initial commit, completely erasing any indication that an error was introduced and then removed in this PR.
I would also suggest reading this article on writing commit messages since your subject surpasses the recommended character limit, which will cause them to be truncated with some tools.
But overall, awesome job for getting things to work in one-third the time.

This looks good to me. Can you squash in to one commit?

This looks good to me. Can you squash in to one commit?

Rebased and squashed.

Thanks!


XmirRepresentation.java:215-219: Use the Schema class...

The puzzle 889-a5a62aec from #889 has to be resolved:
https://github.com/objectionary/jeo-maven-plugin/blob/717f728d1f51454c32178385cdc5beb45916909f/src/main/java/org/eolang/jeo/representation/XmirRepresentation.java#L215-L219
The puzzle was created by rultor on 02-Dec-24.
Estimate: 30 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 889-a5a62aec has disappeared from the source code, that's why I closed this issue.


Fix magic export

It seems the latest build didn't have the latest changes (like exposing the magic API). Also, it fixes that export cause it wasn't being declared on a global variable (magic was being exported but it was not on scope)
This should fix #2

Thanks. I'd use it bit differently.
Will change into this PR and ship it.

Hmm. I think this is the way to do it.
Taking this. Thanks.


Generate pull request title from issue title

The current "Create pull request" button available under a JIRA issue will create a GitHub pull request where the PR's title will be generated from the branch name. E.g. for a branch named "issue/KEY-123" the PR title will be "Issue/key 123" (note the different casing and lack of dash).
Instead of this (possibly as an option), the PR's title could come from the title of the issue, concatenated with its issue key. E.g. "KEY-123 Implementing awesome feature". This way we'd a) get an actual legible title for the PR right off the bat instead of having to edit it all the time and b) the PR would be connected to the JIRA issue (I think unless the issue key is mentioned in the PR title it won't show up under the issue, just the branch).
As an added super-awesomeness the body of the PR could be auto-populated too, also referencing the JIRA issue. This could be something like "Click here for the corresponding JIRA issue." that would link to the issue. This way you could not just reach the PR from the issue easily but also the other way around.

That would be nice although, having a similar system (based on GitLab) at work, it makes it easier to see what ticket is linked to PR/MR, but at the same time, if you don't know what the ticket entails or read the PR/MR summary then it wouldn't be clear off the bat.

The issue's title should give you an idea of what the PR is about too. In the cases it doesn't you could of course still manually edit it.

True, I was kind of playing devil's advocate here having worked in teams where PR had meaningful titles based on their nature/change and in GitLab(+Jira) where MRs referred to tickets (e.g. Feat/proj 124) both have their use.

Hi @Piedone. I'm from a team at Atlassian that is currently in the process of migrating the ownership over to us from GitHub. As a part of this, we're currently going through the backlog of issues and prs to see what can still be addressed and what should be closed.
I've flagged this with the 'to triage' label so my team can discuss. We'll keep you posted on the status of this.

I see, thanks!

Hi @Piedone. Good news, we are now actively looking into solutions for this. Stay tuned!

Oh that's fantastic, thanks!

This would be great! Currently we're doing all this manually.

Hi @rachellerathbone, 2.5 years later and wondering if there are any updates? We just migrated to Jira from Shortcut which has that feature built in.

Any updates on this issue? This adds unnecessary manual correction each time if autolinking to JIRA is desired from merge commits.


snapshot have to be defined in schema file and lineage is wrong

Describe the bug
The documentation states that I should refer to a snapshot has a source
with person as (
    select *
    from {{source('public','person_snapshot')}}
),

But if I only define a snapshot for a person, then the source is 'undefined'. If I add the person_snapshot as a source, then the lineage between person and person_snapshot is not shown in the generated docs.
Can you clarify how to reference/leverage a snapshot properly if my expected behavior is wrong ? I'm trying to find examples where snapshots are used and it's a bit hard.
Steps To Reproduce
Add a snapshot for a table in the snapshots/ folder, have a model reference it with the source attribute (I'm assuming a ref attribute would also fail)
Expected behavior
Since snapshots are independently managed inside a dedicated folder, DBT should auto-add the new source and document it properly by adding the new fields (i.e. the source is already documented in schema.yml) and from a lineage perspective, I should see that the snapshot comes from the original source.
    - name: dbt_scd_id
    - name: dbt_updated_at
    - name: dbt_valid_from
    - name: dbt_valid_to

Screenshots and log output
System information
The output of dbt --version:
dbt=0.14.4

The operating system you're using:
Windows
The output of python --version:
3.7.3
Additional context
I'm generating all the snapshot files, so it's trivial for me to also modify the schema (still not sure how to carry lineage forward between two sources), but that's because I wrote a tool. Manual interventions should be minimized if possible when not needed.

Hey @philippe-lavoie - are you aware of our Slack channel (slack.getdbt.com) and Discourse (discourse.getdbt.com)? These are great forums to get help with questions you might have around using dbt.
This is in fact not a bug and I feel badly that you had to make a whole bug report to get this answer!
The docs state that you should treat snapshots like source data. That is: they should not be modified directly, and you should clean them up with downstream models. Further, there should only be one copy of a given snapshot in your database -- these don't really make sense in an environment-aware context (eg. where different dbt developers have their own copies of the snapshot).
You can find more information on this topic here: https://blog.getdbt.com/track-data-changes-with-dbt-snapshots/
If you're referring to a snapshot in a downstream model, you can select from it using the ref() function. That might look like:
select * from {{ ref('person_snapshot') }}

Given a snapshot defined like:
{% snapshot person_snapshot %}
...
{% endsnapshot %}

Last, the next release of 0.15.0 will include snapshots in the documentation and DAG views of the auto-generated documentation site. That might be helpful here. Snapshots are not currently showin in the documentation site.


Show docker debug info when running tests.

Coverage remained the same at 87.034% when pulling 7f770e6e013cc00e224c9be455e1095076cb1f7d on show-docker-debug-in-travis into 154f8f949d32cea9b4e0cdc508887262cc2b6f6a on master.


RN 73 support for Android with AGP 8 required

By setting a namespace in android/build.gradle.
Ref: https://github.com/react-native-community/discussions-and-proposals/issues/671#issuecomment-1598892444

Thanks so much @linmic !


Automated benchmark setup for VILLASnode

In GitLab by @ghost on Jul 17, 2016, 01:31
Develop a setup to benchmark parameters like packet loss, throughput, delay etc. for different packet sizes and times of day/week. The output should show data with outliers. Current histogram code can be reused.
Initial idea can be to use Ansible with python to automate configuration file generation and test run on remote machines. Define the test format (user specification file) provided by user which can be initially a JSON file. Future improvements includes drag and drop GUI tool to generate the user specification file. Discuss with Marija, Steffen and Markus.

Done as part of https://github.com/VILLASframework/node-testing


action missing if state is undefined and dispatch in event handler

Hi, this seems to be a bug of redux-devtools. When state is undefined, and dispatch is called from a DOM event handler, the dispatched action will be missing from devtools (it's received by store!)
See below minimal repro:
<!DOCTYPE html>
<html>
    <head>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/redux/3.6.0/redux.js"></script>
    </head>
    <body style="height: 200px">
        <script>
            var store = Redux.createStore(function(prev, action) {
                    return prev;
                }, window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__());
            store.subscribe(function() { console.log('xxxx events', store.getState()); });
            store.dispatch({type: 'test1 I will show in devtools no problem'});
            document.body.addEventListener('click', function(e) { store.dispatch({type: 'I do not show up in devtools! why? I am dispatched'}); });
        </script>
    </body>
</html>

@boyangwang, yes, it happens for the extension, will fix it. Thanks for the report.

@zalmoxisus should this issue be opened on redux-devtools-extension  and be closed here?
If you may, please point me to some directions and will be happy to submit a PR

@boyangwang, should be fixed in https://github.com/zalmoxisus/remotedev-app/commit/2ab1b1cb79b7bf61a155a5e5ca84450573f257f3. Will publish on Chrome Store by tomorrow.

Fixed in<EMAIL_ADDRESS>Feel free to reopen the issue if something else goes wrong.


MRG: Default to "terrain" interaction style in field plots

Fixes #10786

CI error unrelated.
@larsoner @agramfort Feel free to merge, thanks!


Refactor to add an rzSliderOptions attribute

Waiting for feedback / votes / remarks / advices!
The goal is to reduce the number of options we need to set on the DOM element  and to enable each options to be changed at runtime (step for instance #103).
Before, we had to add one watch for each property that needed to be update-able at runtime, now there is only one watch on the rzSliderOptions object.
The only remaining attributes are rzSliderModel and rzSliderHigh; all other attributes are moved to rzSliderOptions.
rzSliderOptions accepts an object that can contains these properties:
{
    floor: 0,
    ceil: null, //defaults to rz-slider-model
    step: 1,
    precision: 0,
    translate: null,
    draggableRange: false,
    showSelectionBar: false,
    hideLimitLabels: false,
    readOnly: false,
    disabled: false,
    interval: 350,
    showTicks: false,
    showTicksValues: false,
    scale: 1,
    onStart: null,
    onChange: null,
    onEnd: null
}

Moreover, now, you can set a bunch of custom global options applied to all sliders using the  RzSliderOptions.options() method:
angular.module('App', ['rzModule'])
	.run(function( RzSliderOptions ) {
		// show ticks for all sliders
		RzSliderOptions.options( { showTicks: true } );
	});

Example
Before
<rzslider
    rz-slider-floor="0.5"
    rz-slider-ceil="10.5"
    rz-slider-step="0.3"
    rz-slider-precision="1"
    rz-slider-model="slider_data.value"
    rz-slider-on-start="onStart()"
    rz-slider-on-change="onChange()"
    rz-slider-on-end="onEnd()"></rzslider>

  $scope.slider_data = {
    value: 10
  };

Now
  <rzslider
	  rz-slider-model="slider_data.value"
	  rz-slider-options="slider_data.options"
	  ></rzslider>

  $scope.slider_data = {
    value: 10,
    options: {
    	floor: 0.5,
    	ceil: 10.5,
    	step: 0.3,
    	precision: 1,
    	onStart: function() {},
    	onChange: function() {},
    	onEnd: function() {}
    }
  };

I'm aware that this will break current implementation (that's why it will be 2.0.0 based on semantic-version) but the goal is to reduce the DOM size, share configs among sliders and reduce the number of watchers.

This approach looks a lot cleaner... I like it :-)

+1 cleaner and neat!

can this also handle raw objects, usefull when few options are required:
rz-slider-options="{ floor: .5, ceil: 2}"

I was going to answer Nope, but after testing on the JSFiddle listed above, it does work! :D I thought it would fire an exception since the object passed to options is not updatable...
Actually, you can even use rz-slider-options="{ floor: myFloorVar}"!! This is magic! :p

Hi, thanks for the slider! I am using this for a project at work.
Not sure if this is the right thread to post this, but I have resorted to hacking it a little to add the following:

changing color for the selected part, so that for instance at 20% it's green and at 80% it's red
adding bootstrap tooltips - this turned out to be ugly, I'm calling $('data-toggle="tooltip"]').tooltip(); at the end of updateTicksScale, as well as having all ticks inside div elements; I don't know why but the ticks and the corresponding tooltips "tremble" a bit when hovering over the ticks

Thanks!

Nope this is definitively not the correct place to post this! ^^ I have created an issue for the changing color.
For the tooltip, I actually added it yesterday to this PR. You can see it in the JSfiddle example (https://jsfiddle.net/h5udppp5/embedded/result/ at "Slider with ticks and values and tooltip")

This refactor removed the ability to call events with local scope variables, which was especially useful in directives like ngRepeat:
Before

  <rzslider ... rz-slider-on-end="vm.onEnd(filter, $index)" />

After

  <rzslider ... rz-slider-options="{ onEnd: vm.filterChanged }" />

I understand why this change was useful - when you get rid of directive attributes, the size of the DOM is reduced. But now the controller logic becomes heavier, because you have to generate the options using JavaScript. And not being able to pass local scope variables is a blocker for our use case.
Unless someone has an idea (other than invoking a function that returns a function), I think supporting both syntaxes would solve our issue. To reduce the performance load, you can only create scope watches if the attribute is present.

I understand your point. Can you open a dedicated issue so we can discussed there?
Just a quick idea, what if you use the id option?

  <rzslider ... rz-slider-options="{ onEnd: vm.filterChanged, id: $index }" />

Then vm.filterChanged will be called with the correct index.

That's what I ended up doing, I used the id option. It's an acceptable workaround, but I can see someone wanting to do something more complex.

If someone has a more complex issue, we'll see how we can handle it. But for now, I don't like the idea of  re-adding all the attributes. I'm pretty sure that most of issues will be for people who were used to the old way and that new users won't have such problems since they will directly think with the new way in mind.
I'm using this library in a big project and I spent a couple of hours to update the library for all my views but now it feels cleaner and easier to reason about.


Allow import of existing repository

Hello,
We would like to use the GitHub::Repositories::Repository resource on a repository that already exists so that we can make future changes from CloudFormation.
However, by doing so, we logically receive a 422 HTTP code (already exists).
Can we consider adding an option to authorize the import?
Either :

via an additional property on the GitHub::Repositories::Repository resource
in the configuration of the resource, add in the JSON, in addition to the access token, an option "allow import"?

The second option seems preferable in order to avoid changing the properties of GitHub::Repositories::Repository unnecessarily.
What do you think about it?
We'll be happy to help implement the feature if you think it's a good idea !

Hey @Zouarfi, thank you for the feedback, your ask makes complete sense! Resource import for these 3rd party resources is something we're looking into, but it's not officially supported today. If and when we do support this, you won't need to authorize import or define additional properties. It will work the same way as importing an AWS:: resource. Import should work as long as the resource handler code passes a set of contract tests we have.
If you're feeling brave, even though CloudFormation doesn't claim official support for importing these 3rd party resources today, some of them will actually work for import because they have passed the contract tests we have. Most of the resources published by AWSCommunity publisher in the CloudFormation Registry have passed these tests. I ran a quick test and tried to import GitHub::Repositories::Repository into a stack and it worked. More validation is needed and official support hasn't been claimed yet so please know the risks and do so with caution.

Also feel free to message me in the CloudFormation Discord (AWSLucas#9406) if you'd like to chat further about any of this. https://discord.gg/QwBHWkV6Pg

Hello @CloudChoom,
I didn't know that 3rd resource supports import like AWS:: resource ! That's awesome !
I have tested out also and it's working great :) (maybe we will encounter some edge cases, but we'll definitely report it).
We'll interested on the roadmap about the feature for GitHub you will develop and also about other 3rd party resource that you'll plan to support in the future. I'll catch-up on discord on the next days.
Thanks a lot !


Error while processing route: index Could not find module fetch imported from ember-data-contentful/adapters/contentful Error: Could not find module fetch imported from ember-data-contentful/adapters/contentful

I did a reinstall of my project with ember-data-contentfull. When i spin up my application it won't start. The error in my console is: Error while processing route: index Could not find module fetch imported from ember-data-contentful/adapters/contentful Error: Could not find module fetch imported from ember-data-contentful/adapters/contentful.
When i remove
model() {
  return this.store.findAll('x');
},

It works again. How can i solve this problem? Did i miss something?

Yes, i removed my node_modules and did a npm install. After that didn't work i tried to remove my package-lock.json and then did a fresh install. It didn't work either.


Weird magnifying glass on Safari

It is very weird how in Safari the magnifying glass is misplaced and weirdly displayed. This happens on the homepage.

Device
Action
Image

iPhone XS with Safari 14
Input focused

iPhone XS with Safari 14
Input not focused

Browserstack iPhone XS iOS 14
Input focused

Browserstack iPhone XS iOS 14
Input not focused

Firefox simulator
It's all good on the Firefox iPhone simulator

Cannot reproduce, this will not be fixed until any major updates.


Custom Retention Policies

It would be great to have custom retention policies i.e. rather than keeping for x hours something like keep 1 full backup per x months
1 full backup per x weeks

#81 seems to be closely related to this request

@GregWhiteDBA could you describe how this would work? Would the retention policies interact?
For example, if you had policies "1 backup per week" and "1 backup per month", would that result in

52 backups per year (maximum)
12 backups per year (minimum)
64 backups per year (each treated independently)
15 backups per year (4 backups in the most recent month, then monthly from there on out)

I'm assuming you mean the latter. That would require a bit of coding to get right, and I see the appeal of having that kind of complex date logic done once and done well in a publicly available code base.

@GregWhiteDBA Perhaps #229 can be useful for this. Once the PR is merged, it will be possible to specify the retention time that is stored in the backup header. I'm going to set the required retention time from scheduled jobs that run according to a yearly/monthly/weekly/daily calendar. My (separate) cleanup script will check the headers to determine when to 'recycle bin' or delete a file.


AJ-968: prefer artifactory caching proxy

Adds the Broad Artifactory caching proxy as the first repository, with maven central as the second.
This will help with any maven central outages.

Seems we declare mavenCentral() in the general build.gradle and the client/build.gradle -- do you want to extend the value you added here there as well?

Seems we declare mavenCentral() in the general build.gradle and the client/build.gradle -- do you want to extend the value you added here there as well?

@aaronkanzer I just updated those builds too! thanks for finding that.


[1.16.4] Crash with Optifine when loading world

Mod Version:
Dynamic Surroundings <IP_ADDRESS>
Optifine 1.16.4_HD_U_G5
The version that is installed in your pack.
Forge Version:
35.1.37
Link to client log:
https://pastebin.com/1PbfYbTg
Link to crash log:
https://pastebin.com/rmWK5bAq
Description:
Client crashes when joining an singleplayer world. (Multiplayer not tested)
Description of the problem.  In the case of crashes, it is good to know things like the following:

Did you update any other mods in your pack and it started crashing?  This includes Forge.

I updated forge and then installed this mod -> Crash on world load

Nvm, Fixed by updating Optifine to an preview version.
If someone else has this, update your optifine! https://optifine.net/adloadx?f=preview_OptiFine_1.16.4_HD_U_G6_pre12.jar

Nvm, Fixed by updating Optifine to an preview version.
If someone else has this, update your optifine! https://optifine.net/adloadx?f=preview_OptiFine_1.16.4_HD_U_G6_pre12.jar


fix: try to infer possible provider from the model name, resolves #805

If the model provider in the graph configuration is not specified, the abstract_graph tries to infer it from models_tokens.py and the user is warned with an info message.
E.g.: if the following configuration is used:
graph_config = {
    "llm": {
        "api_key": YOUR_GEMINI_API_KEY,
        "model": "gemini-pro",
    },
    "verbose": True,
    "headless": False,
}

is considered in the same way as using:
graph_config = {
    "llm": {
        "api_key": YOUR_GEMINI_API_KEY,
        "model": "google_genai/gemini-pro",
    },
    "verbose": True,
    "headless": False,
}

Ok please show me what should I write for OpenAI


feat: saving conversations

I'm too lazy to change the actual name of the branch but this is adding tabs to the conversation and actually saving the conversation when you change screens.

This turning into another monster of a pull request. But here's the thing I fixed a lot of things that were wrong with the main package. Small things such as package.json configurations, and hiding the sql table that you save your data in. I'm thinking of letting developers know how exactly supergpt works will be in order if this plugin blows up. Either way minor fixes to a lot of things and making the code nicer to look at.
The plugin is about 75% finished though. I want to try to make this be the first pr that releases with tests. I need to get testing working for this.

It's functionally done now but I want to add support for dark mode here before I push. This pr has gotten huge zomg and I want to add some formatting to the chatgpt responses. I plan to push to production and publish end of weekend.


npm run prepare:all not working properly

Hello,
Please note that npm run prepare:all is not working as desired.
In the following line in package.json,
"prepare:local": "npm outdated || echo outdated && npm install --no-save --only=prod && npm install --no-save --only=dev && npm update --no-save && npm run prepare:local:common",

Probably the || used after npm outdated is not allowing the rest of the command to get executed. I know this for sure as the following command was running successfully when I ran it separately.
npm install --no-save --only=prod && npm install --no-save --only=dev && npm update --no-save && npm run prepare:local:common

but the flow never reached here while using npm run prepare:all
Similar issue is present in rest of the readium-* projects(readium-js, readium-shared-js, readium-js-viewer)

This is working fine at my end, on Windows, Linux and OSX. What npm version?

npm 3.10.5 and node 6.10.3

I think this is fixed in the develop branch, please check. Many thanks for reporting!


uninstalling needrestart package from ubuntu 24.04

Description
Uninstalling the needrestart package from the image, as it is stopping package upgradation.
Related issue:
Check list

[ 1 ] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

Hey @kishorekumar-anchala!
GoodToKnow: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/about-task-lists

Why are you duplicating my PR? 🤔 #9956


All the generated summaries are having only  words. Please help

Having the same issue, as well as the sentences are all the same

have you solved it?

have you find the reason?


PDF size is really high if imported fonts are used

Steps to reproduce
Create an html template with normal font style (e.g. Arial). Generate PDF.
Import google font Lato, replace the previous font and then generate the PDF.
Using the normal font the pdf is almost 100 times smaller then using an imported google font.
Tell us about your environment:

Puppeteer version: 1.11.0
Platform / OS version: macOS Mojave 10.14.3
Node.js version: 10.15.0

I used this tutorial to setup puppeteer and handlebars:
https://futurestud.io/tutorials/node-js-create-a-pdf-from-html-with-puppeteer-and-handlebars
Code to import google font
<head>
  <style>
    @import url('https://fonts.googleapis.com/css?family=Lato');
  </style>
</head>

@gabrielmoncea PDF generation is powered by Chromium's "Save as PDF" functionality - Puppeteer is just a thin proxy. Please, re-file this issue to https://crbug.com/new - Chromium's PDF team might be able to help.
(if you end up submitting bug upstream to chromium - please post a link to the bug here for the future reference. Thanks!)

@gabimoncha, I'm generating a PDF with base64 embedded font. Adding @font-face doesn't affect much but the moment I add body { font-family: opensans }, the PDF size increases 25 folds.
Other than embedding base64 font, nothing works for me. Did you find any workaround for this?


LSP Crashing with  Char index out of bounds

Refer to the forum discussion in https://forum.fuel.network/t/the-sway-language-server-server-crashed-5-times-in-the-last-3-minutes/1188

I feel like this might be somehow related to the formatter too since the error seems to be happening once you format the code 5 times (if i understood the last sentence in the post correctly).
The weird thing is if this is happening after formatting the formatted code, this should have been caught by our tests because we have a stability test that does exactly that (format the formatted code and try to see if anything changes). Anyways i will add the relevant tag if this is indeed formatter related after some digging.

@alexey I was unable to repro this. Is this still happening for you?


Add AWS::EC2::VPCEndpoint support

Add support for VPC endpoints, as per http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html

Oh, I just noticed this. I submitted #307, sorry for the duplicate work.
However, looking closer, #307 is the full implementation of the doc including supporting Refs and a policy document.

True, I'll close this PR.


update copyright & trademark notices per OJSF; closes #4145

updated some footer styles

Ref: #4145

Coverage remained the same at 92.814% when pulling 010c5b15e5f1444cde85728bbcfb58463d05190f on boneskull/issue/4145 into 69339a3e7710a790b106b922ce53fcb87772f689 on master.

look at me, mr fancy pants


1.13.2-beta.1.nocursors

Not intended to be merged in to master as it currently stands. Perhaps we could provide an option to disable cursors?
Published as 1.13.2-beta.1.nocursors under tag beta-nocursors.

superseded by #213


Update mill-main, mill-scalalib to 0.11.5

About this PR
📦 Updates

com.lihaoyi:mill-main
com.lihaoyi:mill-scalalib

from 0.11.1 to 0.11.5
📜 GitHub Release Notes - Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

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

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

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #171.


[UI] Position of Tabs menu elements on small window size

Tabs menu looks bad on small size window.

P2P Health tab is removed so there is more space now


[Obsidian] Allow "Open in default app"

Extension
https://www.raycast.com/KevinBatdorf/obsidian
Description
Using this extension to find a particular note, it would be super helpful if the note could be opened in the default app (rather than first needing to open the note in Obsidian and then selecting "Open in default app").
Who will benefit from this feature?
Anyone who uses a separate editor for working with markdown files in an Obsidian vault. In my case I use Panda for long-form note writing.
Thank you for your consideration.
Anything else?
No response

Hi @KevinBatdorf, I'm wondering if this is something that might be implemented. Thank you so much!
-Grace

Yeah let me look into this. I believe Raycast has a way to detect the default app based on the file extension. I have a queue with a few items to work on this weekend and I should be able to get to this one as well. Thanks for the reminder

Thank you Kevin, that would be wonderful! Is there any chance the "open in default app" could be triggered by Cmd-Enter? I realize that shortcut is currently for "Quick Look" - but I’m not sure I understand the need for Quick Look since we get a preview by default. Plus Cmd-Enter to open in default app works like some of the other Raycast shortcuts I use. Regardless, I really appreciate your plugin and am very thankful for your work to support it! You’ll likely make me a convert from outliner-based note tools to Obsidian. -Grace

Best I can do without changing functionality for others is to add an option so you can set it as the primary option, with open in obsidian as the secondary one. See here: https://github.com/KevinBatdorf/obsidian-raycast/pull/74
I'll work on a few more issues and set up a PR here on Raycast this weekend

Amazing!!


WordDao uses suspend fun for insert and delete in codelabs, but here it is different. Either one of them should be udated. Also @Suppress("RedundantSuspendModifier") @WorkerThread is not required in WordRepository if they are made suspend.

.


module boilerplate wrapper confuses flow

If you use babel to compile flow written library with flow-comments plugin to preserve types as comments and with --module flag to generate module boilerplate generated code is no longer type checks with flow. Here is an example:
./src/code.js
/* @flow */

export type Dictionary <value> = {[key:string]: value}

./dist/code.js
(function (global, factory) {
  if (typeof define === "function" && define.amd) {
    define(["exports"], factory);
  } else if (typeof exports !== "undefined") {
    factory(exports);
  } else {
    var mod = {
      exports: {}
    };
    factory(mod.exports);
    global.index = mod.exports;
  }
})(this, function (exports) {
  /* @flow */

  "use strict";

  /*:: export type Dictionary <value> = {[key:string]: value}
  */
});

Flow does not expect export operators to a the top level:
flow check

dist/code.js:18
 18:   /*:: export type Dictionary <value> = {[key:string]: value}
            ^^^^^^ Unexpected token export

Found 1 error

Which does make sense on one hand but on the other hand makes it impossible to depend on compiled libraries (see #910 for more details)

This is a bug in that plugin. I see you already have opened an issue there. Opening more issues isn't going to help get this fixed faster.

@samwgoldman I'm not trying to speed up by creating more issues, as I pointed out in the issue on the plugin side I do think this will require collaboration on both sides as I don't think there is a clear path for resolving this on the plugin side, I may be wrong but hoisting all the exports may not work as some of the definitions will be inside the wrapper function.


Add animation in loading

Hi, I added an animation to 'loading...', follow the video below:
https://www.loom.com/share/2ca15568a3324bb5bf91a3d2abead49e

Pull Request:
https://github.com/arvind0598/better-first-issues/pull/18

Great idea @GuScarpim, though I'm not quite sure on how you've implemented it. Instead of creating those manually, you could probably go for using a library like framer motion. Let me know if that's something you'd wanna take up.

I don't like using library, but if that's the case I can use it without problems, do you want me to put another type of loading... in place of this one?


Migrate Text.propTypes.style to PropTypes.object

@crazycodeboy Could we get this merged? The warnings get annoying.


⚠ Bofrost.si has degraded performance

In 351c8d5, Bofrost.si (https://www.bofrost.si) experienced degraded performance:

HTTP code: 200
Response time: 3071 ms

Resolved: Bofrost.si performance has improved in 02bcfa9 after 6 minutes.


Touch plugin test failing on OSX

Original report (archived issue) by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).

Description
INTEGRATION_touch_plugin has been failing on OSX. Pull request #244 is disabling them so we get a clean CI, but we should go back and fix this before the 2.0 release.
Steps to Reproduce

Search in the homebrew  CI results for INTEGRATION_touch_plugin
or, if you have a mac, you should be able to reproduce it locally

Expected behavior:
Test passes
Actual behavior:
Test fails because box contacts are not detected past a certain time.
These are the two failures:
71: [Dbg] [TouchPlugin.cc:295] Model [white_box] touched [green_box_for_white] exclusively for 3 s
71: [Dbg] [TouchPlugin.cc:214] Stopped touch plugin [white_touches_only_green]
71: [Dbg] [TouchPlugin.cc:207] Started touch plugin [white_touches_only_green]
71: [Dbg] [TouchPlugin.cc:281] Model [white_box] started touching [green_box_for_white] at 7.201 s
71: [Dbg] [TouchPlugin.cc:267] Not touching anything
71: [Dbg] [TouchPlugin.cc:281] Model [white_box] started touching [green_box_for_white] at 8.721 s
71: /Users/jenkins/workspace/ignition_gazebo-ci-pr_any-homebrew-amd64/ign-gazebo/test/integration/touch_plugin.cc:105: Failure
71: Value of: whiteTouched
71:   Actual: false
71: Expected: true
71: [  FAILED  ] TouchPluginTest.OneLink (10580 ms)

and
71: [Dbg] [TouchPlugin.cc:281] Model [blue_box] started touching [green_box_for_blue] at 3.001 s
71: [Dbg] [TouchPlugin.cc:295] Model [white_box] touched [green_box_for_white] exclusively for 3 s
71: [Dbg] [TouchPlugin.cc:214] Stopped touch plugin [white_touches_only_green]
71: [Dbg] [TouchPlugin.cc:267] Not touching anything
71: [Dbg] [TouchPlugin.cc:281] Model [blue_box] started touching [green_box_for_blue] at 3.855 s
71: [Dbg] [TouchPlugin.cc:267] Not touching anything
71: [Dbg] [TouchPlugin.cc:281] Model [blue_box] started touching [green_box_for_blue] at 5.476 s
71: /Users/jenkins/workspace/ignition_gazebo-ci-pr_any-homebrew-amd64/ign-gazebo/test/integration/touch_plugin.cc:182: Failure
71: Value of: blueTouched
71:   Actual: false
71: Expected: true
71: [  FAILED  ] TouchPluginTest.StartDisabled (7071 ms)

This is how it looks like on success, note that there's no message about "Not touching anything".
71: [Dbg] [TouchPlugin.cc:295] Model [white_box] touched [green_box_for_white] exclusively for 3 s
71: [Dbg] [TouchPlugin.cc:214] Stopped touch plugin [white_touches_only_green]
71: [Dbg] [TouchPlugin.cc:207] Started touch plugin [white_touches_only_green]
71: [Dbg] [TouchPlugin.cc:281] Model [white_box] started touching [green_box_for_white] at 7.201 s
71: [Dbg] [TouchPlugin.cc:295] Model [white_box] touched [green_box_for_white] exclusively for 3 s
71: [Dbg] [TouchPlugin.cc:214] Stopped touch plugin [white_touches_only_green]
71: [       OK ] TouchPluginTest.OneLink (3370 ms)

71: [Dbg] [TouchPlugin.cc:281] Model [blue_box] started touching [green_box_for_blue] at 3.001 s
71: [Dbg] [TouchPlugin.cc:295] Model [white_box] touched [green_box_for_white] exclusively for 3 s
71: [Dbg] [TouchPlugin.cc:214] Stopped touch plugin [white_touches_only_green]
71: [Dbg] [TouchPlugin.cc:295] Model [blue_box] touched [green_box_for_blue] exclusively for 2 s
71: [Dbg] [TouchPlugin.cc:214] Stopped touch plugin [blue_touches_only_green]
71: [       OK ] TouchPluginTest.StartDisabled (1900 ms)

Reproduces how often:
100% on homebrew
Versions
All
Additional Information

The test hasn't failed in the last 50 builds, I'll go ahead and close the issue.


Cartfile in the 3.0.2 tag specifies incompatible dependency

I believe the 3.0.2 tag is intended to support Swift 2.3, but one of the dependencies specified in the Cartfile is not Swift 2.3 compatible.
Instead of

github "Alamofire/Alamofire" ~> 3.0.0

I think it should be

github "Alamofire/Alamofire" ~> 3.5

Well, now I'm confused.
The Cartfile says
github "Alamofire/Alamofire" ~> 3.0.0
which gets resolved to
github "Alamofire/Alamofire" "3.4.0"
If I set the Cartfile to
github "Alamofire/Alamofire" ~> "3.5"
it resolves to
github "Alamofire/Alamofire" "3.5.1"
I'm not sure why

Sorry for the confusion. I did not handle the migration to swift 2.3 then to swift 3.0 as well as I would have liked.
Moving forward I am only actively supporting swift 3


Documentation and optimization of functions

Here are some changes that were made to the functions extract_length, extract_message, embed, and extract to optimize them:

In the extract_length function, a list for storing the bits was initialized and the way bits are added to the list was modified. Instead of using the bits_from_bytes function, bits are added directly from the pixel components using the "&" operator with the number 1 to get the least significant of each pixel component.

In the extract_message function, the logic for adding bits to the list was modified in the same way as in the extract_length function. In addition, a check was added to stop iterating through the pixels as soon as the list of bits reaches the length of the message.

In the embed function, the way the list of bits is initialized was modified to check if a key argument was provided. If it was, the message is encrypted before being converted to bits. If not, the message is converted to bits directly.

In the extract function, a check was added to verify if a key argument was provided. If it was, the message is decrypted after being extracted from the image. If not, the message is displayed directly.

@GuilhermeMonteiroPeixoto Thank you for the PR. The code documentation is spot on. I don't see the optimization changes you mentioned in the description though. Was there another commit with those?


Powertoys problem

Microsoft PowerToys version
0.49.1
Running as admin

[X] Yes

Area(s) with issue?
General
Steps to reproduce
Click on tray icon to open Power Toys in Windows 11. When Power Toys opens the top of the window is off the screen (see attached screenshot) so I can't move it, resize it or close it. I can only close it by using task manager.

✔ Expected Behavior
I expected the app to open normaly inside the screen
❌ Actual Behavior
It opened with part of the app window off the screen
Other Software
Windows 11

This is a known bug. We are working on a fix.
As workaround please resize the window. Then it moves and the new size will be saved for the next time.

This issue is a duplicate if #

Thanks for the comments. I can't resize the window as the resize button is also off screen. I'll just wait for the fix.

Thanks for the comments. I can't resize the window as the resize button is also off screen. I'll just wait for the fix.

You can simply hover the border of the window. Then you see an arrow cursor and you can resize the window.

Duplicate of #14131

@htcfreek Resizing the bottom of a window won't help anything with trying to access the title bar to move the window and use the window shortcuts.
@johen45 Use Win+Arrow Keys to snap the window left or right or maximize it. Alternatively, you can also hover over the taskbar icon and right-click the window to gain access to the same title bar shortcuts as seen here:

If you just need to quickly close a program, you can always close a window by hovering over the icon on the taskbar, using Alt+Tab, or using Task View and clicking the X on the application window. When the application is in focus, Alt+F4 is the shortcut to close a window.

Thanks to all for the helpful comments. I managed by using the win+arrow keys to move the window/console then maximise it, as suggested by JacksonCampbell99. Once again, many thanks

Thanks for your help. I used the win+arrow keys then maximised.Thanks againRegardsRobert Enviado do Email para Windows De: Jackson CampbellEnviado:terça-feira, 2 de novembro de 2021 00:51Para: microsoft/PowerToysCc:johen45; MentionAssunto: Re: [microsoft/PowerToys] Powertoys problem (Issue<EMAIL_ADDRESS>Resizing the bottom of a window won't help anything with trying to access the title bar to move the window and use the window<EMAIL_ADDRESS>Use Win+Arrow Keys to snap the window left or right or maximize it. Alternatively, you can also hover over the taskbar icon and right-click the window to gain access to the same title bar shortcuts as seen here:If you just need to quickly close a program, you can always close a window by hovering over the icon on the taskbar, using Alt+Tab, or using Task View and clicking the X on the application window. When the application is in focus, Alt+F4 is the shortcut to close a window.—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
	Virus-free. www.avg.com


Perforce Support and Editor Locking Files Fix

Adding perforce checkout support.
Adding safety for locking editor assemblies.

Since I don't use Perforce how would this interfere with the workflow of anyone that is not using it?

Please use the develop branch for PRs as per the contribution guidelines.

Sorry about that. I'll fix that.

Since I don't use Perforce how would this interfere with the workflow of anyone that is not using it?

It should just end up passing the file directly back without changing anything. Though i'm worried itwill print some warnings. Let me see if I can check to see if revision control is enabled.

Moving to a new PR in development.

https://github.com/BeardedManStudios/ForgeNetworkingRemastered/pull/330


added automatic workflow for push and build to GHCR

Give the ability to publish images on GitHub Container Registry automatically when a new version is released (through tags).  This allow to let people do whatever they want with docker compose instead of already providing a Docker compose file. That said I let it as an example.
This will ease deployment because people will be no longer required to:

git clone / git pull
docker build over and over again
... when a new update comes in or as a first install.

Instead, when a new version is released, GitHub action will automatically build the images and push them into the registry which they can be pulled from just like with Docker Hub. Then the rest of the update process can be automated through Watchtower from the docker users perspectives.
Github Action will build 2 images according to the different Dockerfiles you wrote and push them under the names: aperisolve-web:version and aperisolve-backend:tag. You can find an example on my forked repo where I re-created the hole thing with your last tag and let github action build the images for me then put them in the releases section.
I also changed some shared directories into Docker volumes to make it look cleaner and updated the README accordingly.
Let me know what you think, if you want to change some stuff or not etc.
Ce repo mérite carrément plus d'étoiles, c'est du super travail, bravo et merci beaucoup pour tout les flags que j'ai pu récupérer rapidement grace a cet outil.

Thanks, appreciate that.


Parse generic associated type equality constraint

As seen in the rustc test suite's src/test/pretty/gat-bounds.rs.
error: expected `,`
  --> dev/main.rs:19:17
   |
19 | fn f<T: X<Y<()> = i32>>() {}
   |                 ^

Duplicate of #973.


Memory Error

While running train.py from downstream/TextSGC a Memory Error occurs.
"SGC\downstream\TextSGC\utils.py", line 177, in sparse_to_torch_dense
dense = sparse.todense().astype(np.int32)"

May I ask which dataset you are running?

Thanks for the early reply, I am using R8 and R52 under SGC\downstream\TextSGC

This suggests that you don't have enough CPU memory. I can try to upload a preprocessed data so that it may take less memory.
However, in general this takes a couple of GBs memory. how many CPU memory are you using?

Thanks a lot for replying. It would be great to upload less memory consumed preprocessed data.  I am using 8 GB of CPU memory.

I tested these scripts again. It occurs to me that the preprocessing uses much less than 8GB memory. I suspect that you might be also running other memory-intensive jobs on your machine.
That being said, I'll work on releasing a preprocessed data today.

Thank you so much for early replying and really appreciate it.

See https://github.com/Tiiiger/SGC/tree/master/downstream/TextSGC. Thank you for voicing this concern out. Closing for now. But please let me know if this doesn't work for you.

Thank you Tiiiger for making up the changes, but it still not working for me, I am posting the error message here.
Traceback (most recent call last):
File "C:\Users\Desktop\NewProjects\SGC\downstream\TextSGC\train.py", line 105, in
adj_dense = sparse_to_torch_dense(sp_adj, device='cpu')
File "C:\Users\Desktop\NewProjects\SGC\downstream\TextSGC\utils.py", line 127, in sparse_to_torch_dense
dense = sparse.todense().astype(np.float32)
File "C:\Users\AppData\Local\Programs\Python\Python36\lib\site-packages\scipy\sparse\base.py", line 849, in todense
return np.asmatrix(self.toarray(order=order, out=out))
File "C:\Users\AppData\Local\Programs\Python\Python36\lib\site-packages\scipy\sparse\coo.py", line 317, in toarray
B = self._process_toarray_args(order, out)
File "C:\Users\AppData\Local\Programs\Python\Python36\lib\site-packages\scipy\sparse\base.py", line 1187, in _process_toarray_args
return np.zeros(self.shape, dtype=self.dtype, order=order)
MemoryError


Masked text input does not update the mask using with reactive

Package
filament/forms
Package Version
v2.12
Laravel Version
v9.16
Livewire Version
v2.10
PHP Version
PHP 8.1
Bug description
First of all I'm newbie in the Filament, so I searched this issue in the issue section but couldn't find a solution.
I have a money masked input and a reactivated currency select input.  I want to change the mask currency symbol with given currency code from input. The mask is not updating when currency value is changed.
Schema:
Form\Section::make('Default Price')
    ->schema([

        Form\TextInput::make('price')
                  ->mask(function (Form\TextInput\Mask $mask, callable $get) {
                      if ($get('currency')) {
                          $currency = new Currency($get('currency'));
                      } else {
                          $currency = new Currency('USD');
                      }

                    return $mask->money($currency->getSymbol(), $currency->getThousandsSeparator(), $currency->getPrecision());
                })->required(),

        Form\Select::make('currency')
            ->options(function () {
                return collect(Currency::getCurrencies())->mapWithKeys(fn ($currency, $code) => [
                    $code => $currency['name'],
                ]);
            })->required()->reactive(),

])->columns(2),

https://user-images.githubusercontent.com/16710972/173304950-30f93531-f3f3-44b6-8200-8b7c13930b29.mov
Steps to reproduce
No response
Relevant log output
No response

Hello
Are you in discord ?
totally iMask package have issue on rendering values and fix this problems on next major release.
if you need masking prefer to use custom View Field and make own field

@themahdavi I'm in discord now. I get it and I'll try the ViewField to custom masking. Thank you for information.
Also, is there any release date for the next major release?

v3 will probably be around near the end of this Summer, I expect


Page Panel - Location - updated UI

Important
THESE COMPS ARE SLIGHTLY OUT OF DATE. Please keep the buttons at the bottom using the same approach as https://github.com/concrete5/concrete5/issues/8479
Before you work on this, make sure you read the following two articles about working UI pull requests for concrete5 version 9:
concrete5 Bedrock: A Foundation for concrete5 and concrete5 Themes
https://documentation.concrete5.org/developers/appendix/concrete5-bedrock-a-foundation-for-concrete5-and-concrete5-themes
Submitting User Interface Pull Requests for concrete5 Version 9
https://documentation.concrete5.org/tutorials/submitting-user-interface-pull-requests-for-concrete5-version-9

If I copy an existing page to create a new page, the 2 things I need to change before editing the content is the Location - Canonical URL and the Title. If they were available in the same dialog it would save a lot of clicking and opening/closing.

@aembler added the updated design above. Let me know if I should also post the spec to this thread, thx!

@gary-portlandlabs I have a few questions (screenshot attached of current situation):

What does the "Characters: 4" mean in this comp? There ain't no minimum/maximum amount of characters for URLs right? Are you sure this needs to be on this page?
This comp doesn't include the "Where does this page live on the site?"
This comp doesn't include a version where you have multiple URLs added, should all look the same?
This comp doesn't include the "canonical" radio button, to set the canonical URL of the page.

I will ping Gary to make sure he sees these questions @ramonleenders

What does the "Characters: 4" mean in this comp? There ain't no minimum/maximum amount of characters for URLs right? Are you sure this needs to be on this page?
This is a fragment from another form, please disregard.
This comp doesn't include the "Where does this page live on the site?"
This would follow the headers hierarchy and assume an H3 while the "Location" should inherit an H2
This comp doesn't include a version where you have multiple URLs added, should all look the same?
Currently, our styles don't include the tinted background for every other row, instead only use the horizontal rule.
This comp doesn't include the "canonical" radio button, to set the canonical URL of the page.
I think we're using a standard radio button but using the blue #4A90E2 I believe for the selected color.

Feel free to reach out for any other questions, thanks!

@gary-portlandlabs Since we're not all in the same timezone, it would make sense to have a new (read: changed) design so the PR can actually be compared to an image, instead of reading through text and making blunt assumptions. Can you apply the by you mentioned changes in the design?
I hope this makes sense to you too @aembler, since this probably will be the case for other issues too. It will be a lot of ping-pong if we interpret things by text instead of updated designs.


[WFLY-19482] Upgrade Arquillian Core to 1.8.1.Final.

https://issues.redhat.com/browse/WFLY-19482

Thanks @jamezp


CLI tools

Try CLI tools to choose a suitable package

Please describe in more details

There are a couple of CLI packages that can be implemented for CLI.
I suppose, that the best one is https://github.com/urfave/cli/tree/v2 (used at Geth version 1)
But we need to research about that more


Export clerk-sdk-node types from nextjs/api

Type of change

[ ] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Packages affected

[ ] @clerk/clerk-js
[ ] @clerk/clerk-react
[ ] @clerk/nextjs
[ ] @clerk/remix
[ ] @clerk/types
[ ] @clerk/themes
[ ] @clerk/localizations
[ ] @clerk/clerk-expo
[ ] @clerk/backend
[ ] @clerk/backend-core
[ ] @clerk/clerk-sdk-node
[ ] @clerk/edge
[ ] @clerk/shared
[ ] build/tooling/chore

Description

[ ] npm test runs as expected.
[ ] npm run build runs as expected.

@nikosdouvlis Let's add a reminder in ClerkJS V5 release to deprecate the Node SDK exports

@nikosdouvlis Let's add a reminder in ClerkJS V5 release to deprecate the Node SDK exports

Already working on writing a doc with the final v5 api


Create a list of TraceBase terms and definitions

Creating a list of the various model fields and properties used by TraceBase along with a definition and potential commonly used synonyms would be a useful resource for project developers and researchers. Eventually, the information should be coded into the models and displayed as needed in the web interface.

Duplicate of #107


Need help to manage this repo?

Hey,
I see this repository has not moved for one year.
If you want, you can add me as contributor to help you managing this repository ^^

Back at it now, but thanks for the offer @trollepierre 😄


为jcasbin-menu-permission添加测试用例

为https://github.com/casbin/casbin/discussions/1375#discussioncomment-8799696的问题，用java写一个专门的测试，看输出结果是否与官网docs相同

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.ljyofme seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Update not

Description
The automatic update is done but the version remains in 23.0.1??
Even if I download the latest version (23.1.1) and install it, the application remains in 23.0.1
However, no error message, everything is done as if everything was fine.
DBeaver Version
Community edition 23.0.1
Operating System
Windows 10
Database and driver
No response
Steps to reproduce
No response
Additional context
No response

Hello @ycatois
Did you choose the installation for one person or all? You may have two DBeaver applications on your PC.

Hi,
Yes, that was the cause. Thank you for helping me :)
The ticket is solved.
Yann Catois
Le jeu. 6 juil. 2023 à 12:57, Anastasiya @.***> a
écrit :

Hello @ycatois https://github.com/ycatois
Did you choose the installation for one person or all? You may have two
DBeaver applications on your PC.
—
Reply to this email directly, view it on GitHub
https://github.com/dbeaver/dbeaver/issues/20478#issuecomment-1623466865,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHF7PAIG7UMR2G6AXFT2ISTXO2KYHANCNFSM6AAAAAAZ6S6SQI
.
You are receiving this because you were mentioned.Message ID:
@.***>