How do I know when the modal bottom sheet is dismissed?

Not an actual issue, but in general Compose question
So I have created custom bottom sheet which uses composable-core's ModalBttomSheet and I have added onDismiss callback to it which gets called from LaunchedEffect when currentDetent is SheetState.Hidden
The problem is that onDismiss callback is getting called even before I show the bottom sheet, obviously it will because it's in LaunchedEffect and currentDetent 's first value is SheetState.Hidden
So I just wanted to ask if I want some callback like onDimiss or onCollapse, how do I achieve something like that?
Minimum reproducible example
@Composable
fun MyCustomBottomSheet(
    sheetState: ModalBottomSheetState,
    onDismiss: () -> Unit,
    content: @Composable () -> Unit
) {
    LaunchedEffect(sheetState.currentDetent) {
        if (sheetState.currentDetent == SheetDetent.Hidden) {
            onDismiss()
        }
    }

    ModalBottomSheet(state = sheetState) {
        Sheet {
            DragIndication()
            content()
        }
    }
}

@Composable
fun MyCustomBottomSheetUsage() {
    val sheetState = rememberModalBottomSheetState(initialDetent = SheetDetent.Hidden)
    Box(modifier = Modifier.fillMaxSize(), contentAlignment = Alignment.Center) {
        Button(onClick = { sheetState.currentDetent = SheetDetent.FullyExpanded }) {
            Text(text = "Expand")
        }
    }

    MyCustomBottomSheet(
        sheetState = sheetState,
        onDismiss = {
            // This callback is getting called even if I just run the code and don't expand the bottom sheet at all
        }
    ) {
        Box(
            modifier = Modifier
                .height(500.dp),
            contentAlignment = Alignment.Center
        ) {
            Button(onClick = { sheetState.currentDetent = SheetDetent.Hidden }) {
                Text(text = "Dismiss")
            }
        }
    }
}

You are almost there. The state has a isIdle property which tells you if the sheet has stopped moving.
Try this:
    LaunchedEffect(state.isIdle) {
        if (state.targetDetent == SheetDetent.Hidden) {
               onDismiss()
        }
    }

No @alexstyl it didn't work, still facing same issue

my bad @mddanishansari. I misunderstood what you were trying to do.
There is no built-in way to tell if the sheet has 'just' been dismissed or shown.
You would need to keep track of the last idled state manually. When the state changes to hidden and the previous was not hidden, then call your onDismiss() function.

@alexstyl Here's some dirty hack but this is what worked for me
var isInitialRun by remember { mutableStateOf(true) }
LaunchedEffect(sheetState.currentDetent) {
	if (sheetState.isIdle && sheetState.currentDetent == SheetDetent.Hidden) {
		if (isInitialRun) {
			isInitialRun = false
		} else {
			onDismiss()
		}
	}
}

Use-case is that in our app there is certain bottom sheet which has to be shown only once per session, so I need to toggle some flag once the bottom sheet is shown for the first time and then hidden.
I can toggle that flag when bottom sheet is shown but the bottom sheet appearance itself depends on that flag, so if I do that bottom sheet will appear and immediately disappear. I hope my explanation makes sense.

You can now use ModalBottomSheet(onDismiss = {} callback for this.

Thank you, I can finally get rid of the workaround from my project. Will the official documentation be updated mentioned onDismiss feature?

The docs now mention the callback


convolution fails for Mod1000000007

The following test fails:
    #[test]
    fn mid1000000007() {
        const N: usize = 1234;
        const M: usize = 2345;

        let mut rng = rand::thread_rng();
        let mut gen_values = |n| gen_values::<Mod1000000007>(&mut rng, n);
        let (a, b) = (gen_values(N), gen_values(M));
        assert_eq!(conv_naive(&a, &b), super::convolution(&a, &b));
    }

Is this a bug?

For mathematical reason, it is impossible to do (practical) convolution on mod<PHONE_NUMBER>.  Convolution on mod 998244353 is possible because there exists an integer x such that x^(2^23) == 1 (mod 998244353).  Also refer to this article if you speak Japanese.


Subtitles not showing

I'm submitting a ...

[ x ] bug report
[ ] feature request
[ x ] support request

General information
Running OSMC latest Kodi 18
On a Raspberry 3
Addon version used
plugin.video.netflix-0.14.3
Description
I'm currently using the Japanese version of Netflix,
Subtitles are not showing at all but the sound can be changed normally.
Any ideas for how to make the subtitles show?
Steps to Reproduce

Start a movie
Choose subtitle

Expected behavior: [What you expected to happen]
Subtitle to show.
Actual behavior: [What actually happened]
No subtitles showing.
Context (Environment)
Installation
Installed directly

[ x ] I'm using this Netflix Repo
[ ] I'm using other Netflix Repo (Please specify which)
[ ] I'm using a different source (Please tell which)

Additional informatin on the environment
[Descripe your environment a bit more detailed, are you using LibreElec f.e.]
Debug log
https://paste.kodi.tv/egepesonul.kodi
Other information
[e.g. detailed explanation, related issues, suggestions how to fix, links for us to have context, etc.]
Screenshots
[Please add a screenshot if that helps understanding your problem]
[You can erase any parts of this template not applicable to your Issue.]

Hi. That's 'funny' because the subtitles streams are present, and seems enabled. No error in the log either.
Maybe you can try to switch 'disable WebVTT subtitles' on or off, depending on your current config, in the expert section of the add-on configuration?

That's really confusing, indeed.
Yeah couldn't see any error regarding it either. I tried to disable, enable WebVTT without any success.
Thank you, will try again when I'm back home.

please provide some titles of movies or tvshows

I was able to fix it. The problem was a bad update from older version of OSMC.
Somehow after the update, the subtitle line was outside the screen.
Moved it back in view again and now it is visible.
Sorry for the trouble, and thanks for the help... 😅


Removing temporary files created while exporting onnx models to mms

Issue #, if available:
While importing onyx models for mms, some temporary files get created which are later bundled into .model files. These extra files get created and remains on the disk though it is not required later
Description of changes:
Instead of zipping all the files(existing+ temp) together, I zip temporary files as a separate step and delete them once they get zipped.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@nswamy  The changes for cleaning up temp files created on model export.

@lupesko @vdantu @nswamy @jesterhazy @aaronmarkham
The changes requested by @lupesko  has been addressed.


Cannot successfully run TPC-H 3TB scale without failing tasks when use 20k as batchsize

We use the settings about batch size like below confs:
spark.sql.inMemoryColumnarStorage.batchSize      20480
spark.sql.execution.arrow.maxRecordsPerBatch       20480
spark.sql.parquet.columnarReaderBatchSize            20480

Some containers will fail when running q16.sql and the error message is showed below:
executorId is 3, executorIdOnLocalNode is List(3, 9, 6, 18, 15, 12, 21, 27, 24, 33, 30, 36, 42, 45, 39, 48)
taskset -cpa 0-31,64-95 59244
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fca900e6048, pid=59244, tid=0x00007fca954c5700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_112-b15) (build 1.8.0_112-b15)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.112-b15 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C 0x00007fca900e6048
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /disk/0/data/nm/usercache/root/appcache/application_1636617547545_0002/container_1636617547545_0002_01_000004/hs_err_pid59244.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

unable to reproduce here, but q10 failed in my setup w/ 25k batch size #567

We also use this setting to control the number of tasks during data scanning.
spark.sql.files.maxPartitionBytes<PHONE_NUMBER>

Fixed.


Adding TailwindCSS template

Hey, I want to add a Tailwind template to this project, need some help setting up the project in local.

Hey there! Thanks for reaching out 🚀
I'll do my best to help you out, but in order to provide the best assistance, I'll need to know where you're stuck and what errors you're encountering. Let me know and I'll get right on it!

Yes, so I could not find the code which handles the CLI logic. For instance, once I add the new directory in the /packages folder for tailwind. How would I test the npx create-nextjs-dapp flow in local with the new changes.

That clarified a lot, I'll start with this over the weekend. I will reach out if I get stuck somewhere. Thanks for the help. Great work by the way.

You're welcome, I'm glad I could help! Also, once the first template integration is complete, I'll create a clean CONTRIBUTING.md file to make it easier for contributors to get started.
Thank you for your kind words 🙏

Hey @hellskater, any news on this update? If you need some explanations we can jump in a discord call


Fix loading of ODS/XLS spreadsheets #12

The basic problem seems to be that this workbook is peppered with blank nodes. Somehow .childNodes -> my LibXML::Element $e {...} hangs rather than throwing a typecheck error.
This PR does enough to get the sample spreadhseet attached to issue to open.

Thanks!


Add alt text to site logo

Could be based on the site title, or maybe just "site logo".

I think "site logo" makes sense since that's what we call the image in the config. Speaking of the config, do you think it would be worth making this alt text configurable via the _config.yml file?

From this W3C example, I guess might make sense to default to alt="{{ site.title }} home" instead?
I don't have a strong opinion on whether or not to allow the alt text for the site logo to be customized in _config.yml, or require the user to override navbar.html if they have a strong opinion on the alt text.


fix(mockio): boundary of buffer

Codecov Report

Merging #42 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #42   +/-   ##
=======================================
  Coverage   86.95%   86.95%
=======================================
  Files           4        4
  Lines          46       46
=======================================
  Hits           40       40
  Misses          4        4
  Partials        2        2

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 deaf9e0...b50300a. Read the comment docs.


The plugin does'nt allow me to eat

Issue Description

Expected result: What were you expecting to happen?
I was expecting an increase in my hunger bar
Actual result: What actually happened?
There is a bug which prevents all players from eating any type of food

Steps to Reproduce the Issue

Give yourself any sort of food eg.carrots
2.Try to eat it

OS and Versions

PocketMine-MP:3.12.0
PiggyFactions:1.0.1
PHP:7.4.5
Server OS:Windows

Extra Information

This is caused by cancelling interact event, maybe don't cancel it if the player has an item that can be consumed

This is caused by cancelling interact event, maybe don't cancel it if the player has an item that can be consumed

how do i do that?

hmm
The issue somehow got fixed after i reinstalled the plugin

The issue somehow got resolved for a while but it came back

Next time, you can just re-open this issue instead of creating a new one.


doc(readme): Support PowerShell

Add commands for setting parameters in PowerShell

This PR fixes the readme part missing from https://github.com/sony/pyAutoPort/issues/25


FLAnimatedImage low memory notification warning crasher fixes

This change uses an NSHashTable to prevent deallocation races that are causing occasional crashes when memory warnings fire. The FLAnimatedImage objects are being released on background threads (intended) as they are used in background queues. There is a race with the NSNotificationCenter callouts, as even though we check in the first line didRecieveMemoryWarning: if we have been deallocated, this doesn't prevent deallocation further in the method as we aren't referenced strongly by NSNotificationCenter (which isn't complied in ARC btw.) This is essentially because NSNotificationCenter does not retain the objects it is notifying during it's callouts, which is arguably correct behavior since NSNotificationCenter doesn't retain it's objects when registering to prevent retain cycles. Rolling our own notifier with NSHashTable allows us to fix this.
Note that FLAnimatedImages can be created on any thread, so the hash table must be locked.

@ryanolsonk Adressed in https://github.com/Flipboard/FLAnimatedImage/pull/61

Added to changelog:
  * Fix occasional crash during memory warning (Chris Marcellino)


[Feature Request] Guidelines and tooling support for Move code portability

Move compatibility in general. There were already some compatibility challenges due to differences in frameworks (e.g., libraries that depend on DiemAccount aren't compatible with ones that depend on StarcoinAccount), and Sui Move's data model that differs from core Move's global storage will throw another wrench in the works. Some incompatibility is to be expected given the nature of Move (a platform-independent language that gives platform designers a lot of flexibility to customize both the Move runtime and libraries for their platform). But of course, we should still strive for as much compatibility as possible and suggest best practices that will help with this.
Some early thoughts on this:

Compatibility should be a source/package level concern. Striving for compatibility at the bytecode level across different networks is a much harder task, and it's not clear that it's needed (and thus, I think is a task that we should not attempt). There are packages that can be 100% compatible at the source level, but incompatible at the bytecode level due to hardcoded addresses, address length, and in the future, possibly other factors like varying the serialization format. However, none of these are blockers for source compatibility, at least not in principle.
An obvious best practice is to suggest not writing "non-portable" code that depends on address length or serialization format. This is very similar to (e.g.) not writing C code that depends on the pointer size.
We can suggest "tiering" modules based on how likely they are to be reusable, and encourage packages to only group modules in the same tier. Otherwise, someone might want to depend on some reusable module in a package, but be blocked by some incompatible (but unused) module in the same package. Some natural tiers that come to mind are:

Modules that only define utility functions and do not define any types (e.g., a Math.move module). They must (transitively) only depend on other tier 1 packages. These are fully generic and can be used by any platform.
Modules that define utility functions and expose utility types (e.g., ASCII::String in the stdlib). They must (transitively) only depend on other tier 1-2 packages. These can be used by any platform in principle, but there's nothing that stops two platforms from (e.g.) defining and reusing type-incompatible versions of UTF8::String. We should try to avoid this by working as a Move community to build canonical libraries of these types.
Same as (2), but also has some native functions. They must (transitively) only depend on other tier 1-3 packages. These can be used by any platform in principle, but some platforms might not want to use the native functions defined by some other platform because native functions can violate the rules of core Move (e.g., by creating addresses from scratch).
Same as (3), but also has entrypoints. Different platforms can (and will) choose different rules for entrypoints that may not be compatible. These must (transitively) only depend on other tier 1-4 packages. These are only reusable across platforms with the same entrypoint structure.
Same as (4), but also uses global storage (e.g., borrow_global, Table). These must (transitively) only depend on other tier 1-5 packages. These are only reusable across platforms with the same entrypoint structure and global storage.
Same as (5), but also uses platform-specific packages/types (e.g. accounts, transactions, time, validator set management, ...). These are not likely to be compatible with other packages. Perhaps over time, we can define source-level "interfaces" for some of these concepts to allow compatibility for similar platforms, but I wouldn't want to rush into this. Some level of incompatibility is always going to be expected here.

I'm not sure whether this tiering system should just be an informal guideline, or also something that we try to enforce programmatically in the package system and/or linters. It's worth noting that packages are not organized according to this tiering system today, although some are close (e.g., there's very little global storage used in the Move stdlib). But the overwhelming tendency is toward monolithic tier 6 packages, which I think we should change.
Once we have reorganized packages using these principles, I think there will be a lot more boxes in your diagram above, but the tiering system will make it easier to figure out where we can/should draw dependency arrows and where we shouldn't.
(copied from original discussion in https://github.com/diem/move/issues/91)

I think you might want to flip tier 4-5? I feel like you might want to itnroduce storage concepts before you do entry points
I think the tier system definitely seems expressive, but maybe overkill for a package system.
Thoughts on just splitting it into: "Library", "X-Library" where X is some instantiation of Move (Sui, Diem, etc), or "X-Application"
I think

"Library" tier 1-2
"X-Library" tier 3+5
"X-Application" tier whatever's left

I the short term we could at least enforce a "library" annotation in the package system, that checks against natives (outside of those in the stdlib?), globals, entries, etc.

How to define the tier is a challenge.
Option 1: Like Rust, a project is a workspace, which corresponds to an address in Move, and there are many crates in a project which correspond to packages in Move. A project can depend on another project's sub-crates.
Option 2: Like Solidity, we distinguish between contract and library, and the library can only include stateless modules and will be embedded in the binary of contract when packaging. This can solve the dependency problem of pure util library(tire 1), but the disadvantage is that duplicate binary wastes state space on the chain.
Before finding a good tier solution, we can figure out how to share stdlib. Currently, Move stdlib is embedded in the x-framework in different projects and shares the 0x1 address with the framework.
Maybe stdlib can use the reserved address 0x0 and load it directly from the VM. Using the 0x0 address also can avoid module name conflicts between stdlib and x-framework.


Delete the unuseful pictures which are added by me

Docs : Delete the unuseful pictures which are added by me

CLA not signed. Plz check if you committed with a different email.


Show DAP's new "ExceptionBreakpointsFilter.description" property in a hover

With https://github.com/microsoft/debug-adapter-protocol/issues/164 a new optional property description has become available on the ExceptionBreakpointsFilter.
This feature request asks for showing this property when hovering over an exception filter in the BREAKPOINTs view.

Same as the other one, if you add this to Mock-debug would be great so I can try it out and add it.

@isidorn done. The "named exception" got a "description" attribute.

@weinand great, thanks

Adding verification needed so we get this verified in endgame.


kubernetes: move fetch_entities to a new mixin

fetch_entities is relevant only to container providers and does not belong in ems_refresher_mixin.

@miq-bot add_label wip, providers_containers, refactor
wip: depends on #5474

@miq-bot add_label providers/containers, refactoring

@miq-bot remove_label wip
#5474 was merged

@simon3z please review

@moolitayer I don't like this as long term solution. I am for the kubernetes_parse_inventory, openshift_parse_inventory solution I proposed this morning on IRC.

@moolitayer I don't like this as long term solution. I am for the kubernetes_parse_inventory, openshift_parse_inventory solution I proposed this morning on IRC.

right, better now?

LGTM :+1: @blomquisg please review (I remember you had suggestions about refactoring this part)

LGTM  @blomquisg please review (I remember you had suggestions about refactoring this part)

@blomquisg fyi https://github.com/ManageIQ/manageiq/pull/4726#issuecomment-148119338
please review

@blomquisg ping

@chessbyte :+1: if @blomquisg is OK with this can you merge it? thanks!

@Fryguy @matthewd what are your thoughts?

@blomquisg @matthewd I think @moolitayer addressed your comments :+1:

LGTM :+1: cc @chessbyte I think comments have been addressed (can you double check? I know @blomquisg is not available to review/merge).

@matthewd can you review this please.

replace throw with raise. add tests that fail on throw

@matthewd please review


Add additional commands, response errors and projector info poller

This adds new commands to protocol.py as well as support for "simulated ir commands" for which the projector doesn't send any return data. I also added all response error descriptions that will be shown in the exception message for the _send_command function. Additionally I added a command to get the projectors serial, model and ip.

I decided o close this PR and publish my own fork: https://github.com/kennymc-c/pySDCP-extended


[release-2.7] Update workflows for release branches

ref: https://issues.redhat.com/browse/ACM-4913

Handled in https://github.com/stolostron/policy-generator-plugin/pull/21


Windows users can't use conda redirection with environment-latest.yml

There has been a report that Windows users can't use the conda redirection we have in environment-latest.yml. See https://github.com/dask/dask/issues/6808
This PR changes the conda developer installation guide from conda env create -n dask-dev -f continuous_integration/environment-latest.yaml to instead specify the exact python version with conda env create -n dask-dev -f continuous_integration/environment-3.8.yaml.
This documentation change introduces a small maintenance burden, if we do this then periodically someone will need to edit this file and update the python version to keep it current.

[x] Closes https://github.com/dask/dask/issues/6808
[x] Tests added / passed
[x] Passes pre-commit run --all-files

I'm tempted to get rid of environment-latest and introduce some checks to make sure that we keep the environment mentioned in the development docs uptodate with our CI system. What do you think?

Sounds like a good idea.
What kind of checks were you thinking could work? I could try and put some together


The title made only by katakana character, would be mojibake.

# site.yml
lang: ja
title: アイウエオカキクケコ

If defined above, the title will be '繧｢繧､繧ｦ繧ｨ繧ｪ繧ｫ繧ｭ繧ｯ繧ｱ繧ｳ'.
# site.yml
lang: ja
title: アイウエオ下記九家粉

This is no problem.
OS: Windows 10
VirtualBox: 5.1.8
Vagrant: 1.8.6
VCCW: 3.0.0-beta5
(But, I have no clue whether the problem caused by vccw.)

ひ

miss opperation, sorry.

Is your site.yml UTF-8?

Yes...
$ file --mime site.yml
site.yml: text/plain; charset=utf-8


Changes in updmap (TeXLive 2017.20180305-1) – requires an argument

Hello @nbeaver ,
I’ve just come across an issue while running your tengwarscript install guide:
pavel@ideapad-310 ~/build/tengwarscript-install-guide $ ./install-tengwar-scripts.sh
updmap [ERROR]: Either -sys or -user mode is required.
updmap [ERROR]: In nearly all cases you should use updmap -sys.
updmap [ERROR]: For special cases see http://tug.org/texlive/scripts-sys-user.html

Added the --user argument to the updmap call and everything went OK.
I’m using TeXLive version 2017.20180305-1 on Linux Mint 19 Tara.
If you add me to your co-workers I can pull the change to your repo.

Thanks for the heads-up. I appreciate the option for a pull request, but it was a quick fix anyway.

Thank you for the fix :+1:


Return Promise.reject instead of throwing error

For #71
This is for proper error reporting when --bypassPipeline and -b are both set, which isn't allowed right now.
I don't think this counts as incorrect usage of the library, so I'm rejecting the promise instead of throwing an error. Otherwise the error is not caught in bin/obj2gltf.js.
If this should still be a DeveloperError, I can wrap the obj2gltf call in bin/obj2gltf.js in a try-catch.

Looks good to me.


Unuable to remove the last layers of a model

I am using the caffe reference network as a feature-extractor and would like to remove the last softmax layers (and linear layer fc8). It seems that editing the deploy.prototxt file to remove it don't work, and it is always added back into deploy.prototxt.lua, presumably because it exists in the binary model.
Does this make sense? Is there a way to avoid this? Thanks!

I worked-around this by allowing for manually changing the deploy.prototxt.lua file. See pull request:
https://github.com/uricohen/loadcaffe/pull/1

Hi, in torch you can interact with a network loaded with loadcaffe as with an ordinary torch network, to remove a module you can just do net:remove(9) to remove the 9th module, or net:insert(nn.Linear(4096,1000),16) to insert. Check nn documentation.
But I agree that it would be useful to remove modules from prototxt. Will take a look at that.
Will not merge your PR because it breaks the current behavior when you load networks with different backends.


DRILL-7335: Fix error when reading csv file with headers only

Jira - DRILL-7335.

@paul-rogers could you please review?


VSCodium desktop file specifies wrong StartupWMClass

Describe the bug
The desktop file packaged with VSCodium specifies the wrong StartupWMClass
To Reproduce

Install nixpkgs.vscodium
Start VSCodium
xprop WM_CLASS
Click on the started application
cat /path/to/profile/share/applications/codium.desktop | grep StartupWMClass

Expected behavior
Step 4 prints WM_CLASS(STRING) = "vscodium", "VSCodium". Therefore step 5 should print one of those strings. But instead, the file contains StartupWMClass=Codium.
Additional context
Those must match or else the application won't be linked to the .desktop file when started.
Notify maintainers
@Synthetica9 @turion
Metadata

system: "x86_64-linux"
host os: Linux 5.6.10-arch1-1, Arch Linux, noversion
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.3
channels: "home-manager, nixpkgs-20.09pre224962.8fc744839bd"
nixpkgs: $HOME/.nix-defexpr/channels/nixpkgs

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

I'm surprised xprop says that the WM_CLASS is vscodium. After all, for vscode it seems to be code, as some digging in the interwebz shows, and as I also just tested on my system:
WM_CLASS(STRING) = "code", "Code"

After all, the executable for vscode is code and for vscodium it's codium.
Nevertheless, I can reproduce your xprop output. Since I don't know whether that could be changed, it's probably easier to simply change the .desktop file. Will push a PR in a moment.

I wish I could assign myself to this issue.

Since I don't know whether that could be changed, it's probably easier to simply change the .desktop file

I had a quick look at the history of the  Arch Linux package  and they had it this way since the beginning. So I think it's safe to assume this won't change anytime soon.


can't open camera by index Cannot open camera

hi,
i am using :
pi 64 OS bullesye
imageai                 2.1.6
opencv-python           <IP_ADDRESS>
python 3.7.7
while trying to do object dection on live video, opencv is able to access camera only once. if i stop the code and run a second time i get following error.  i am able to access multiple times camera using opencv directly before trying with imageai.
Also when i am stopping the video capture with ctrl + z there is no output video.
(virtenv3.7) pi@pi:~/ml/detection $ python testLive.py [<EMAIL_ADDRESS>global /tmp/pip-install-m36v8df1/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (889) open VIDEOIO(V4L2:/dev/video0): can't open camera by index Cannot open camera
here is my code:
`from imageai.Detection import VideoObjectDetection
import os
import cv2
execution_path = os.getcwd()
camera = cv2.VideoCapture(0)
detector = VideoObjectDetection()
detector.setModelTypeAsRetinaNet()
detector.setModelPath(os.path.join(execution_path , "resnet50_coco_best_v2.1.0.h5"))
detector.loadModel()

video_path = detector.detectObectsFromVideo(
                camera_input=camera,
                output_file_path=os.path.join(execution_path, "camera_detected_video"),
                frames_per_second=20, log_progress=True, minimum_percentage_probability=40)
print(video_path)

`

A known question in OpenCV
camera = cv2.VideoCapture(0)

The 0 you mentioned is not always the index of the camera, it may be assigned to 1 or 2 or anything else, so a possible solution is changing the 0 to anything else, try changing it to random numbers and eventually land on the corresponding id, it shouldn't be more than 5 IIRC
cam_idx = 1
camera = cv2.VideoCapture(cam_idx)


chore: move to using ubuntu 22 for actions

@guybedford the tests no longer run because 18 is no longer available for actions.  Updated to use 22.


RFC: shell: utilize api_type to filter 'struct devices'

Utilize a C11 feature (_Generic) to create a macro so we can store the a kobject_enum that encodes the api_type.  We can than utilize that to rework shell_device_lookup to filter utilizing the api_type data.

This is a different implementation approach from https://github.com/zephyrproject-rtos/zephyr/pull/48381.  The one major question is about the dependency on _Generic and C11.


Wrong Typescript type for Query with a variable with default value

Describe the bug

When generating Typescript types for a query with default variables, the generated query variables interface specifies the field as Maybe<Scalars["Boolean"]>. However, I believe the correct implementation should be field?: Scalars["Boolean'] so the field isn't required when defining the variables in a query. Having the field be mandatory for a optional field doesn't seem quite right.
To Reproduce
Steps to reproduce the behavior:

My GraphQL schema:

# Put your schema here
type Query {
    kit(id: ID!): Kit!
  }

My GraphQL operations:

# Put your operations here
query kit($withRawData: Boolean = false, $id: ID!, $languageId: ID!) {
    kit(id: $id) {
      id
      kitId
      nickname
      status
      trackingNumber
      deliveryService
      personalizedReports {
        id
        reportType
      }
      data(languageId: $languageId)
      rawData @include(if: $withRawData) {
        id
        rawDataType
        url
      }
    }
  }

My codegen.yml config file:

# Put your YML here
pluckConfig:
  modules:
    - name: "apollo-boost"
      identifier: "gql"
schema: http://localhost:3001
documents: graphql/**/*.{ts,tsx}
generates:
  generated/apolloComponents.tsx:
    plugins:
      - typescript
      - typescript-operations
      - typescript-react-apollo

Expected behavior

Environment:

OS: mac os
@graphql-codegen/...:  "^1.0.6"
NodeJS: 8.10

Additional context

example.) compiler fails with missing property of withRawData
<KitComponent
              variables={{
                id: kit.id,
                languageId: user.language.id || DEFAULT_LANGUAGE_ID
              }}

Seeing the same thing

@Aleksion @jflewis I tackled this issue in https://github.com/dotansimha/graphql-code-generator/pull/2018
You could help me out by verifying it is behaving correct in a real-world application.

Fixed by @n1ru4l ❤
If someone wants to test it before we release a stable version, you can use 1.2.2-alpha-d6b07f60.28.

Fixed in 1.3.0 🎉


vimeo video

Can we use vimeo video on background with this plugin?

You can set an external source.
#66 #61 #41

So we cant use vimeo video link? right?

No.


sentry-cli: init at 1.66.0

Motivation for this change
Adding sentry-cli to nixpkgs.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 126228 run on x86_64-linux 1

1 package failed to build:

sentry-cli

I think the issue only appears when the build is sandboxed. It looks like the build system is fetching the sources to openssl itself.

Probably related:
https://github.com/NixOS/nixpkgs/blob/e968368c0d76ea8917f901b28e65491020ca0e13/pkgs/applications/version-management/gitoxide/default.nix#L22-L23

Result of nixpkgs-review pr 126228 run on x86_64-linux 1

1 package built:

sentry-cli


i18n(pl): update getting-started.mdx

Description (required)
Reopened https://github.com/withastro/docs/pull/8207 because I forgot it was still open and deleted my fork (oops).

Related issues & labels (optional)

Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

pl
getting-started.mdx
Localization changed, will be marked as complete.

pl
ui.ts
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


verify dropwizard application log

Description
add test to verify that there are zero errors in the dropwizard application log
Type of change

[x] test suite

How Has This Been Tested?
Github Actions CI
Checklist:

[x] I have performed a self-review of my code

ready for review

Ready for review.

waiting for GitHub Actions approval.

GitHub workflows awaiting approval.

workflows awaiting approval

@sullis, looks like there is a conflict. It'd be nice if you can fix it, so that we can merge it.

Workflows waiting for approval


Check for local assets path containing a URL now also checks for a relative URL.

I'm in the habit of using a relative URL (beginning with a "//") for my baseURL definition, as I often need my assets to be protocol independent (due to different environments working on a mix of HTTP and HTTPS). The check for local asset paths does not expect these are therefore is not truncated down to the path folder in these cases, resulting in undesirable file paths. This pull request should fix this issue by also checking for a $assetSourcePath that begins with a "//", in addition to the check for those beginning with "http".

Thank you for contributing!


bedlist improvements

Hmm it should be fine. Definitely recommend VSCode over PyCharm for frontend

Row object seems fine tho. Probably more readable anyways


Display decision tree widget shows an error

The widget "Display decision tree" from the ScikitAlgorithms category shows a "Permission denied" error. The workflow that I am trying to run is shown in the attached image.

Thanks @matejMartinc for reporting this. It should be fixed now.


Ignore firstline check on Windows

Ignore firstline check on Windows

Is it okay to return undefined?

Equivalent to the first line does not use #!
return unless firstLine.match(/^#!/)

🚢 in 3.10.0!


Enable useful pragma for SQLite repository like WAL

https://github.com/lmorchard/pebbling-club/commit/055c5c0db4c22aba501a1845545cacf8bccfccb7


Sida Lillian

Name
Sida Lillian

Country
Uganda
Region
Rhino camp, West Nile
Organisation
CC4D (#ASKnet 2018 Trainee, CTEN)
Languages

English (Fluent spoken and written)
Bari/Kakwa (Fluent spoken and spoken)
Arabic (good spoken only)
Lugbara (fair spoken only)

Skill 1
Web & Software - using platforms, basic social media experiences, software download  and installation
Qualifications for Skill 1
Sida Lilian was trained on social media skills during the #ASKnet training in 2018
https://m.facebook.com/story.php?story_fbid=303135693607634&id=100017336164583
Skill 2
Community & Moderation - connecting people, trauma healing, event facilitation  and meditation and
Qualifications for Skill 2
Certificate of participation in trauma healing& meditation training
She was trained and facilitated a post training on how to use Condoms under the #ASKnet project 2018
Skill 3
Data security and research - data collection and protection of personal data
Qualifications for Skill 3
Certificate in data collection
describe yourself
Sida Lilian is a female South Sudanese refugee in Uganda, expert in data collection, trauma healing, mediation, event facilitation of different types, she  was trained on how to collect both qualitative and quantitative data by REACH Uganda, Danish Refugee Council, Norwegian Refugee  Council Uganda and GROUND TRUTH SOLUTIONS, she was also trained and worked as frontline worker on the *BOOST FOR THE YOUNGEST by Save The Children under Dubai Cara not only that I was also trained on Social Enterprise online by Makerere University - Canada in 2018, she was trained and worked as hygiene Promoter by CEFORD Uganda and was also trained and worked as  Community Development Worker (CDW) by Danish Refugee Council.
she is confident, talented and determined to transform her community.
Thanks🤝
https://m.facebook.com/story.php?story_fbid=328120611109142&id=100017336164583
E-Mail
<EMAIL_ADDRESS>Phone
+256 (0) 782739162
WhatsApp
+256 (0) 782739162
Telegram
+256 (0) 782739162
GitHub
Sida1990
Facebook
Lily Savio
Instagram
Sida Lillian

status @romeoplat

we need the URLs for Facebook and Instagram

the final facebook link did not approve for quality check :laughing: though congratulations !


feat(RateLimits): optionally error on ratelimits

Please describe the changes this PR makes and why it should be merged:
Ported from https://github.com/discordjs/discord.js/pull/5659
Needs #51
Status and versioning classification:

Code changes have been tested against the Discord API, or there are no code changes
I know how to update typings and have done so, or typings don't need updating
This PR changes the library's interface (methods or parameters added)

Not really sure why CI is failing (cache is set to npm when we're using yarn though, so maybe that's it?)

That might just be my fault, yes 😆
Will fix and then request a rebase.


Switching testnets

Feature Description
how to config mainnet switch to testnet?

Hi @bxlkm, you can't currently switch testnets.
If you need to use alfajores, you can use https://alfajores.celowallet.app/


QUESTION: C++ API support Ragged Tensor now?

In the c++ unit test, I only found case about paged tensor。
How to use ragged tensor in c++？
When I try use BatchPrefillWithRaggedKVCacheWrapper, it will link error。

Yes we support ragged tensors in C++ apis, we add some examples in #190.
Regarding your link issue, you can check whether you have instantiate the templates. We decouple the declaration and implementations to accelerate compilation speed, if you only include the declaration header, then you have to compile the template instantiations and link them properly (see our CMakeLists).


Roadster Functionality

Fix the #30

Hello @alshapton! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file src/spacexpython/roadster.py:

Line 4:1: E302 expected 2 blank lines, found 1
Line 6:40: E231 missing whitespace after ','
Line 7:1: W391 blank line at end of file

In the file src/spacexpython/utils.py:

Line 71:1: W391 blank line at end of file

In the file src/test/test_roadster.py:

Line 4:1: E402 module level import not at top of file
Line 5:1: E402 module level import not at top of file
Line 6:1: E402 module level import not at top of file
Line 7:1: E402 module level import not at top of file
Line 8:1: E402 module level import not at top of file
Line 9:1: E402 module level import not at top of file
Line 10:1: E402 module level import not at top of file
Line 11:1: E402 module level import not at top of file
Line 12:1: E402 module level import not at top of file
Line 26:5: E225 missing whitespace around operator
Line 28:1: E302 expected 2 blank lines, found 1
Line 29:80: E501 line too long (80 > 79 characters)
Line 31:1: E302 expected 2 blank lines, found 1
Line 32:80: E501 line too long (88 > 79 characters)
Line 34:1: E302 expected 2 blank lines, found 1
Line 37:1: E302 expected 2 blank lines, found 1
Line 40:1: E302 expected 2 blank lines, found 1
Line 43:1: E302 expected 2 blank lines, found 1
Line 46:1: E302 expected 2 blank lines, found 1
Line 49:1: E302 expected 2 blank lines, found 1
Line 50:80: E501 line too long (116 > 79 characters)
Line 52:1: E302 expected 2 blank lines, found 1
Line 53:80: E501 line too long (475 > 79 characters)
Line 55:1: E302 expected 2 blank lines, found 1
Line 56:80: E501 line too long (106 > 79 characters)
Line 57:80: E501 line too long (100 > 79 characters)
Line 59:1: E302 expected 2 blank lines, found 1
Line 60:80: E501 line too long (106 > 79 characters)
Line 61:80: E501 line too long (100 > 79 characters)
Line 63:1: E302 expected 2 blank lines, found 1
Line 64:80: E501 line too long (107 > 79 characters)
Line 65:80: E501 line too long (102 > 79 characters)
Line 67:1: E302 expected 2 blank lines, found 1
Line 68:80: E501 line too long (107 > 79 characters)
Line 69:80: E501 line too long (102 > 79 characters)
Line 71:1: E302 expected 2 blank lines, found 1
Line 72:80: E501 line too long (99 > 79 characters)
Line 73:80: E501 line too long (86 > 79 characters)
Line 75:1: E302 expected 2 blank lines, found 1
Line 76:80: E501 line too long (99 > 79 characters)
Line 77:80: E501 line too long (86 > 79 characters)
Line 79:1: E302 expected 2 blank lines, found 1
Line 80:80: E501 line too long (88 > 79 characters)
Line 83:1: E302 expected 2 blank lines, found 1
Line 84:80: E501 line too long (86 > 79 characters)
Line 87:1: E302 expected 2 blank lines, found 1
Line 88:80: E501 line too long (85 > 79 characters)
Line 91:1: E302 expected 2 blank lines, found 1
Line 92:80: E501 line too long (85 > 79 characters)
Line 95:1: E302 expected 2 blank lines, found 1
Line 96:80: E501 line too long (85 > 79 characters)
Line 99:1: E302 expected 2 blank lines, found 1
Line 100:80: E501 line too long (85 > 79 characters)
Line 103:1: E302 expected 2 blank lines, found 1
Line 104:80: E501 line too long (84 > 79 characters)
Line 107:1: E302 expected 2 blank lines, found 1
Line 108:80: E501 line too long (86 > 79 characters)
Line 111:1: E302 expected 2 blank lines, found 1
Line 112:80: E501 line too long (89 > 79 characters)
Line 113:80: E501 line too long (80 > 79 characters)
Line 117:1: E303 too many blank lines (3)
Line 126:80: E501 line too long (80 > 79 characters)
Line 127:1: W293 blank line contains whitespace
Line 128:80: E501 line too long (106 > 79 characters)
Line 129:80: E501 line too long (106 > 79 characters)
Line 130:80: E501 line too long (102 > 79 characters)
Line 131:1: W293 blank line contains whitespace
Line 132:80: E501 line too long (104 > 79 characters)
Line 133:80: E501 line too long (90 > 79 characters)
Line 134:80: E501 line too long (96 > 79 characters)
Line 135:80: E501 line too long (94 > 79 characters)
Line 136:80: E501 line too long (90 > 79 characters)
Line 139:5: E303 too many blank lines (2)
Line 141:80: E501 line too long (81 > 79 characters)
Line 142:80: E501 line too long (81 > 79 characters)
Line 159:5: E303 too many blank lines (3)
Line 159:80: E501 line too long (125 > 79 characters)
Line 160:80: E501 line too long (135 > 79 characters)
Line 161:80: E501 line too long (143 > 79 characters)
Line 163:80: E501 line too long (129 > 79 characters)
Line 164:80: E501 line too long (120 > 79 characters)
Line 165:80: E501 line too long (119 > 79 characters)
Line 166:80: E501 line too long (121 > 79 characters)
Line 167:80: E501 line too long (96 > 79 characters)
Line 169:80: E501 line too long (111 > 79 characters)
Line 170:21: E127 continuation line over-indented for visual indent
Line 170:75: E225 missing whitespace around operator
Line 170:80: E501 line too long (119 > 79 characters)
Line 170:117: E225 missing whitespace around operator
Line 171:80: E501 line too long (110 > 79 characters)
Line 172:80: E501 line too long (116 > 79 characters)
Line 173:80: E501 line too long (105 > 79 characters)
Line 174:80: E501 line too long (80 > 79 characters)
Line 177:5: E303 too many blank lines (2)
Line 179:80: E501 line too long (94 > 79 characters)
Line 180:21: E225 missing whitespace around operator
Line 184:80: E501 line too long (97 > 79 characters)
Line 189:80: E501 line too long (99 > 79 characters)
Line 193:5: E303 too many blank lines (2)
Line 195:80: E501 line too long (110 > 79 characters)
Line 197:10: E211 whitespace before '('
Line 203:80: E501 line too long (110 > 79 characters)
Line 211:80: E501 line too long (110 > 79 characters)
Line 219:80: E501 line too long (110 > 79 characters)
Line 227:80: E501 line too long (110 > 79 characters)
Line 235:80: E501 line too long (110 > 79 characters)
Line 243:80: E501 line too long (110 > 79 characters)
Line 251:80: E501 line too long (110 > 79 characters)
Line 259:80: E501 line too long (110 > 79 characters)
Line 267:80: E501 line too long (110 > 79 characters)
Line 271:80: E501 line too long (86 > 79 characters)
Line 272:80: E501 line too long (86 > 79 characters)
Line 278:80: E501 line too long (110 > 79 characters)
Line 282:80: E501 line too long (84 > 79 characters)
Line 283:80: E501 line too long (84 > 79 characters)
Line 288:38: E231 missing whitespace after ','
Line 289:80: E501 line too long (110 > 79 characters)
Line 299:21: E231 missing whitespace after ','
Line 299:27: E231 missing whitespace after ','
Line 302:1: E302 expected 2 blank lines, found 1

In the file src/test/tutils.py:

Line 90:1: E302 expected 2 blank lines, found 1
Line 90:23: E231 missing whitespace after ','
Line 90:28: E231 missing whitespace after ','
Line 109:1: E302 expected 2 blank lines, found 1
Line 109:24: E231 missing whitespace after ','
Line 135:20: W292 no newline at end of file


[BUG] Directory repository shows all extensions

Current Behavior
The directory repository shows unsupported extensions, ie unsupported target platforms.

Should we show only supported extensions? Any thoughts?
Expected Behavior
Do not show unsupported extensions
Steps To Reproduce
No response

Yeah, annoying.  For the directory one I have been being selfish for specific needs, but can see this being better.  Honestly the provider should probably be more of some type of interface/base class that really calls all the same APIs and thus would show the single one, with the install, etc.  The API one as well I don't think handles arch-specific installs well either TBH.


Finish building out  Component

Summary
Finish building out the <Video /> component for displaying all the details of a single video (the  component is being built in #18 ). Your job is to create a very similar user interface as https://www.bible.com/videos/269-why-have-you-forsaken-me-from-lightworkers-media using only components from our melos component library: https://github.com/lifechurch/melos . If you start working on this issue before #18 is complete, feel free to put an empty placeholder component in place.
You won't be able to recreate the exact look and feel that you see on the Bible.com videos page, but that's OK! 😄 What you see on Bible.com represents our old design style, but melos represents our newest design specs. I am sure you'll have questions, so feel free to ping me. We'll get one of our YouVersion designers to give you the final 👍  when you're done. So, you can expect there to be some back and forth work with them getting it just right.
Mock API Data
After #11  has been completed, there should be some mock data available to use while building your component. Instead of hard-coding the strings and images, you want to grab those from the mock api data. If you have questions about this, just make a comment here and we'll do our best to answer quickly.
This is What You're Building

I'm working on this at the moment! Could you give me some guidance on how to improve on what I have in my branch so far: https://github.com/wagicalgale/youversion-web-open-ideas/tree/add-videos-page
Thanks :)

It's difficult to say for sure without seeing the code in action, but it looks like you're headed in the right direction. Once you submit a PR, it will automatically deploy your version of the app so I can see it. Feel free to submit a PR just for the sake of starting this review, even if you're not 💯complete yet.

@WagicalGale , in case you're interested, I have the instructions for deploying a fork to Netlify for demo purposes. I just submitted the PR, but in the interim you can access them here https://github.com/glasssd/youversion-web-open-ideas/blob/master/README-DEPLOY.md if that would help.

@glasssd that's great, thanks for putting the work into that 👍


report suppressed MessageBuilder exceptions to the service

Code improvement description
In #9560 I started printing the suppressed exception, however it would be best to also report it to Sentry so we can see when we introduce regressions.
Due to the architecture of command and updater, this is a bit tricky.
One way that just occurred to me is to store those exceptions in an array of errors on the MessageBuilder, and have the updater check that array for entries and report them to Sentry after the MessageBuilder runs.

@jakecoffman I think something like this could do the trick? It's a bit more generic than storing it on the MessageBuilder and this way we can reuse it across all of core where we might run into a similar situation where we don't want to raise on errors, but we do want to report them to Sentry
https://github.com/dependabot/dependabot-core/pull/9601

I updated https://github.com/dependabot/dependabot-core/pull/9601 and it's passing CI now. How would we go about testing + releasing this?


Add uv tool list --outdated to show outdated tools

Summary
Add uv tool list --outdated, similar to uv tree --outdated and uv pip list --outdated, to display only outdated tools.
cargo run -- tool list --outdated
ipython v8.29.0 (latest: v8.30.0)
- ipython
- ipython3
maturin v1.7.4 (latest: v1.7.7)
- maturin
ruff v0.8.0 (latest: v0.8.1)
- ruff
yt-dlp v2024.11.18 (latest: v2024.12.3)
- yt-dlp

Closes #9309

@charliermarsh I think you have more context on the --outdated implementations — but let me know if you'd prefer that I review.

👍 No worries, I can take this.


Add More Languages

I speak English, but have been learning a bit of German. I'd love it if you could add a drop down box in the plugin settings to chose what language you'd want the game translated to, and let me know what id need to do exactly to help translate part of the game.

I will work on this project some more on monday most likely. Ill get something set up so its easier to make new languages to be added. Thanks for the interest in the plugin!

I have added German, French, and a broken Russian. Once the PR is approved by Runelite you should see them added.


AMQP consumer leak fix

This fixes a bug that was mostly visible when using SIGTTOU to scale down a worker as it was running, but it would also be a problem during graceful shutdown. When a processor is told to shut down (or not gracefully, for that matter), it would finish its current job and then stop processing more jobs. However, the AMQP consumer would still be active, and AMQP would deliver a job to it, expecting worker to work on it. This would lead to a job being "stuck" in the worker, but nothing in the worker would've logged that it was received, and it would probably remain there until the worker either restarted or lost AMQP connection (causing the connection to close and all consumers to get cancelled).

This PR has quite a few whitespace changes, so use https://github.com/travis-ci/worker/pull/199/files?w=1 to ignore those in the diff

For some reason I can't reproduce the errors locally at all (even though they are definitely errors) :/

:trumpet: :clap:

Yay, tests are passing now.
@meatballhat This is ready for review whenever you have a moment.


Added helper method to generate webtask urls and provide Promise for calling them

Not sure about the API, currently also only supports named tokens, but I can't see why you would want to use a token unless generating a task on the fly, in which case you're better off on your own anyway.

Is this module only meant to be used from within the sandbox, or do we have an aspiration to create a general purpose webtask client for Node.js? If the latter, we should focus more on the regular async programming model since this is still the bread & butter of Node.js programming.

@tjanczuk I have created the beginnings of a general-purpose webtask client for Node.js in here: https://github.com/auth0/wt-cli/blob/master/index.js
This code supports both Promises and typical node-style callback functions.

So what is the plan wrt this repo vs the "library" code in wt-cli? Should we create something new like webtask (still free on NPM) specifically for client lib bits? I can see how both the getWebtask as well as the "add-on" programming models (express, connect) could live there. But first and foremost the library should have some usable functions to call HTTP API.

@tjanczuk  if its still free please do the WT-Client part :+1:

@darkyen please check out auth0/sandboxjs. Hope that is what you are looking for!

@ggoodman Thanks!
Although I needed a client separately, I am making a badge (like heroku) that you click and it deploys the repo to a webtask (after transpiling, adding js only libs etc etc),  using a webtask (also takes care of github's git hooks).

Closing for now.


New version: BandedMatrices v0.12.4

Registering package: BandedMatrices
Repository: https://github.com/JuliaMatrices/BandedMatrices.jl
Created by: @dlfivefifty
Version: v0.12.4
Commit: a9802b4fae4a2a648a3852ae09d965b98bc4d452
Reviewed by: @dlfivefifty
Reference: https://github.com/JuliaMatrices/BandedMatrices.jl/commit/a9802b4fae4a2a648a3852ae09d965b98bc4d452#commitcomment-35605795

Your new version pull request met all of the guidelines for automatic merging.
I will automatically merge this pull request during the next cron job.
If you want to prevent this pull request from being auto-merged, simply leave a comment.
(If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment.)

On a separate note, I see that you are registering a release with a version number of the form v0.X.Y.
Does your package have a stable public API? If so, then it's time for you to register version v1.0.0 of your package. (This is not a requirement. It's just a recommendation.)
If your package does not yet have a stable public API, then of course you are not yet ready to release version v1.0.0.

[noblock]


fix: [pfe-icon] icon color vs. background-color discrepancy (#1541)

Component update: pfe-icon

Clarified in code and documentation the separation of color and BackgroundColor.

Related issues

(#1541) Discrepancy between icon color and background color settings

Preview

Link(s) to demo page(s) where this element can be viewed:

Link

What has changed and why

Updated documentation
Set default borderwidth to ui--border--width
Set BorderColor to use BackgroundColor by default

Circled attribute adds BorderColor support

Create a pfe-icon--sizing mixin
Migrate to mixin for size attributes

Testing instructions

[x] Custom variable hooks (supported)pfe-icon {
    --pfe-icon--BackgroundColor: pink;
    --pfe-icon--color: purple;
    --pfe-icon--BorderColor: purple;
}

[x] Deprecated variable support (only works where color= is not defined)pfe-icon {
    --pfe-icon--Color: aqua;
}

Browser requirements
Your component should work in all of the following environments:

[x] Latest 2 versions of Edge
[x] Internet Explorer 11 (should be visible)
[x] Latest 2 versions of Firefox (one on Mac OS, one of Windows OS)
[x] Firefox 78 (or latest version for Red Hat Enterprise Linux distribution)
[x] Latest 2 versions of Chrome (one on Mac OS, one of Windows OS)
[x] Latest 2 versions of Safari
[x] Android mobile device (such as the Galaxy S9)
[x] Apple mobile device (such as the iPhone X)
[x] Apple tablet device (such as the iPhone Pro)

Ready-for-merge Checklist
Check off items as they are completed.  Feel free to delete items if they are not applicable.

[x] Expected files: all files in this pull request are related to one request or issue (no stragglers or scope-creep).
[x] Browser testing passed.
[x] Changelog updated.
[x] Documentation (README.md, WHY.md, etc.) updated or added.

Merging
Please squash when merging and ensure your commit message uses conventional commit formatting.
Be sure to share your updates with the<EMAIL_ADDRESS>mailing list!

@starryeyez024 Thanks for the great feedback!  I've applied what I can and opened an issue for the table update.  I have some ideas for docs I'd love to brainstorm with the group too!


Hyprlock uses disown that is not available in POSIX shells

Regression?
No
Hyprlock Info and Version
Hyprlock 0.4.1 (arch/cachyos build)
 Hyprlock config
$font_text = Ubuntu
$font_material_symbols = Material Icons Outlined
$color_white = rgba(255, 255, 255, 1)
$color_black = rgba(0, 0, 0, 1)

$clock_color = $color_white
$text_color = $color_black
$entry_border_color = rgba(46, 49, 66, 0.4)
$entry_background_color = rgba(255, 255, 255, 1)

general {
    disable_loading_bar = true
    hide_cursor = true
    grace = 0
    ignore_empty_input = true
}

background {
    monitor =
    path = screenshot
    blur_passes = 4
    blur_size = 4
    noise = 0.01
}

# password field
input-field {
    monitor =
    size = 250, 50
    outline_thickness = 3
    dots_size = 0.1
    dots_spacing = 0.3
    rounding = -1
    fade_on_empty = true
    placeholder_text =

    outer_color = $entry_border_color
    inner_color = $entry_background_color
    font_color = $text_color

    position = 0, 20
    halign = center
    valign = center
}

# clock
label {
    monitor =
    text = cmd[update:1000] date '+%I:%M %p'
    shadow_passes = 1
    shadow_boost = 0.5
    color = $clock_color
    font_size = 65
    font_family = $font_text

    position = 0, 300
    halign = center
    valign = center
}

# lock icon
label {
    monitor =
    text = lock
    shadow_passes = 1
    shadow_boost = 0.5
    color = $color_white
    font_size = 32
    font_family = $font_material_symbols

    position = 0, 120
    halign = center
    valign = bottom
}

# battery status
label {
    monitor =
    text = cmd[update:30000] /home/peppermint/.local/bin/battery-status
    shadow_passes = 1
    shadow_boost = 0.5
    color = $color_white
    font_size = 16
    font_family = $font_text

    position = -20, -20
    halign = right
    valign = top
}

# language icon
label {
    monitor =
    text = ⌨ $LAYOUT[EN, RU]
    shadow_passes = 1
    shadow_boost = 0.5
    color = $color_white
    font_size = 16
    font_family = $font_text

    position = 20, -20
    halign = left
    valign = top
}

Compositor Info and Version
 System/Version info
Hyprland, built from branch  at commit 0f594732b063a90d44df8c5d402d658f27471dfe  (props: bump version to 0.43.0).
Date: Sun Sep 8 16:48:21 2024
Tag: v0.43.0, commits: 5196

flags: (if any)

System Information:
System name: Linux
Node name: protomartyr
Release: 6.11.1-2-cachyos-lto
Version: #1 SMP PREEMPT_DYNAMIC Mon, 30 Sep 2024 19:51:37 +0000

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620] [8086:3ea0] (rev 02) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

Description
Hyprlock uses the disown shell command that is not available in POSIX shells (like dash). This becomes a problem if the system's /bin/sh is a symlink to the aforementioned dash (as Hyprlock seems to use /bin/sh explicitly). It comes up in the logs as a simple line:
/bin/sh: 1: disown: not found
I think that the solution would be to
A) keep using /bin/sh and replace disown with something POSIX-compatible (if there is a way to do it at all, haven't dug deep into that);
B) move away from /bin/sh to explicit /bin/bash usage.
IMO option A) is the way to go.
How to reproduce

Start hyrplock on a system with /bin/sh being something POSIX-compatible like dash;
Look at the console/log output.

Crash reports, logs, images, videos
No response

@PaideiaDilemma wanna take a look att his?

Having googled a bit, I think that similar results could be achieved by using nohup:
sleep 2 && nohup hyprlock --immediate --immediate-render &
One more thing I've been thinking about: is it really necessary to exec shell stuff in a cpp project? I mean, could the same behaviour he achieved by using "vanilla" cpp stuff without resorting to shell commands?
Though something tells me that such a solution would already be used if it was that easy.

@vaxerski can't we just use hyprctl dispatch exec and only try to restart when on Hyprland. Wont work on other compositors anyways right?

we can


Rewrite to use CASL?

Hi there,
I'm just wondering whether you would like to use  casl to achieve your goals.
This library implements cancan for JavaScript in isomorphic way + a bit more.  This will allow to expand functionality of redux-cancan.
Also I plan to publish a new article about Casl integration in React application but for now I think it may be interesting to check articles about Vue:

<EMAIL_ADDRESS>https://vuejsdevelopers.com/2018/01/08/vue-js-roles-permissions-casl

I'm the author of this library, so feel free to ask questions if any.
Looking forward for productive collaboration!

Any progress/decisions on this approach?


Runtime Session Storage

Allow store of objects by way of key (store serialized object json)

Remove session on console exit

https://stackoverflow.com/questions/474679/capture-console-exit-c-sharp

https://stackoverflow.com/questions/4646827/on-exit-for-a-console-application


fix: fluid streaming was "pausing" when tab was not visible

Pull Request Checklist

[x] Description: Briefly describe the changes in this pull request.
[x] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
[ ] Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
[ ] Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
[x] Testing: Have you written and run sufficient tests for the changes?

Description
Check if the the page is visible (https://developer.mozilla.org/docs/Web/API/Page_Visibility_API) before sleeping. When the page is not visible, Javascript timers are throttled to once a second, so if the fluid streaming option was turned on, it would barely make any progress when not visible.

Changelog Entry
Fixed

The fluid streaming response option will better handle when the page is not visible.

LGTM!


ffmpeg nvidia nvenc

From looking at the CPU usage, I see quite a bit of usage by ffmpeg. Would it be possible to run the docker container with ffmpeg using NVENC? I think this might lower the CPU usage quite a bit.

I don't know. I dont have a gpu on the computer im running bw_plex on.


Not auto restarting  on HASSIO reboot

Problem/Motivation

Homebridge isn’t auto restarting if host is rebooted

Expected behavior

Homebridge should restart if Auto is selected.

Actual behavior

homebridge doesn’t start, have to manually start addon.

Steps to reproduce

Make sure homebridge is installed and started, reboot host (HASSIO) check homebridge add on once started up. Should show the start button.

Proposed changes

fix so auto restarts after host reboot.

@aptonline I'm not sure what the problem is you are describing.
Whether or not the add-on starts on boot, is controlled by Hass.io, not the add-on.
There is actually a toggle on each add-on in the Hass.io panel that controls the automatic start.
Do you still experience this problem at this moment?

Question is running stale. Feel free to re-open this issue.

I am having a similar issue. The "boot" toggle inside Hass.io's contol panel for Homebridge is set to auto, still often it doesn't start automatically.

@disrupted Please file a bug report with Hass.io. This is not something the add-on is able to control.


Joke Xpress Extension: Removed Duplicates Folder

Description
This pull request removes the redundant folders "all_files" and "djj" that contained identical files in the Joke Xpress extension directory. Consolidating these into a single folder eliminates redundancy and reduces potential confusion for users managing or updating the extension.
Fixes: #381
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] I have made this from my own
[ ] I have taken help from some online resourses
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

@Sulagna-Dutta-Roy, it's correct. Actually, there was a .github folder in each folder (all_files and djj), which is why it's showing 25 files.


temporarily force rails to < 5.0.1

This is to prevent all the tests breaking with.. after rails 5.0.1 came out.
ActiveModel::MissingAttributeError:
       can't write unknown attribute `region_number`

Obviously this is temporary, pending a real fix.

Note, a similar change for euwe is in #13348 and darga in #13349 although those are more pessimistic.

of note, it is equivalent to use:
gem "rails", "~> <IP_ADDRESS>"


Test-DbaVirtualLogFile, fixes #404

Fixes #404
Changes proposed in this pull request:

PSScriptAnalyzer detections fixed
minor style refactors

please hold the PR hostage until we figure out the exact mitigation for PSUsePSCredentialType.


Fix not able unlink VRF key link for multisig account

Fix

The reason for no aggregate after lock confirmation, it's because it should use the signer account to sign the transaction rather than tempTransactionSigner.

I will fix the unlink Nodekey and account Key
Resolved: #1435

Works fine in feature branch :+1:


Support for 'prettier-standard-formatter'

I'd like to use it both. If there are an option to specify which tool to be used?

Hi @alex-shamshurin,
Sorry but the goal of this project is to add support and evolve together with https://github.com/prettier/prettier

I understand that, but I'd like make a little post-processing, pipe the output to standart. Is this a policy restriction?

Hi @alex-shamshurin,
Its not a policy/restriction, however at this stage our main focus is on prettier. I am happy to revisit this issue if there is enough interest around that in the future.
Once again thank you for submitting this request and I am sorry that at this stage we won't be able to action on it.

Since there has been some more interest on supporting other CLI's (https://github.com/prettier/vim-prettier/issues/42) I am now re-opening this issue.

Still interested on working in this issue, will prioritize bumping vim-prettier to support the new prettier 1.6 features then get back to this issue

Does vim-prettifier need some changes to support 1.6? As I read it just formatting a bit different..

Prettier 1.6 adds support for user defined custom configuration, I want to think what would be the best way to integrate that feature in here

I think project .prettierrc file must have the highest priority and only then .vimrc

Do people still think its worth integrating with other CLI's ? or is the prettier configuration settings via .prettierrc enough these days ?

This is same as https://github.com/prettier/vim-prettier/issues/148


"buttonBackground" isn't working?

I am using code from example:
 with(whatsNew) {
            presentationOption = PresentationOption.DEBUG

            titleColor = ContextCompat.getColor(this@MainActivity, R.color.colorAccent)
            titleText = "What's Up"

            buttonText = "Got it!"
            buttonBackground = ContextCompat.getColor(this@MainActivity, R.color.colorPrimaryDark)
            buttonTextColor = ContextCompat.getColor(this@MainActivity, R.color.colorAccent)

            itemContentColor = Color.parseColor("#808080")
            itemTitleColor = ContextCompat.getColor(this@MainActivity, R.color.colorAccent)
        }

But unfortunately gets button with accent color every time

Thx @RomanAnchugov , will check it later 😉

Hi @RomanAnchugov ,
Which version are you using? I cannot reproduce on 0.1.2.

I am using latest version - 0.1.2. So button text color is changing, but background do not change.
I found that this button by default always take accent color


Add Title Capitalization Extension

Description
Add extension that capitalizes the current text selection in title/headline style.
Screencast
https://user-images.githubusercontent.com/1241360/208152338-7fab3f46-892d-434b-9c64-4b5da00d4019.mp4
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

There is already an extension that does Case changes including Title case
https://github.com/raycast/extensions/tree/main/extensions/change-case

There is already an extension that does Case changes including Title case
https://github.com/raycast/extensions/tree/main/extensions/change-case

I totally missed that, didn't know that extension had the "headline logic" behind the title case. Thanks.


Restore missing headers and add launch file

This may not restore 100% functionality, but it does compile and replaces the missing header.
This was verified witn Ubuntu 20.04 and ROS2 Foxy Fitzroy.
A launch file has also been added, it can be launched with the following command now.
ros2 launch pcl_object_detection pcl_object_detection_launch.launch.py
If the original functionality could be verified this might restore the project to working order.

I needed to fix a few things, I am reopening the pull request.


[dnceng-bot] Branch runtime/release/8.0 can't be merged to Azdo internal branch

Branch release/8.0 in pavelsavara/runtime repo can't be mirrored from GitHub to Azure internal/release/8.0 via internal merge.
There are conflicting commits in the target branch.
The branch is configured to be mirrored via automated merge.
The situation is rare but normal. The target branch is expected to receive manual commits in the Azure DevOps clone, which could cause conflict.
Conflicts need to be resolved to unblock the code flow.

you can resolve the issue by resolving the conflict in the target branch only.

Please make sure that the changes sensitive from security perspective are not published ahead of time to GitHub!

reverting the extra commits in the Azdo target branch.
you can disable the mirroring of the branch in the configuration file.
you can ask @dotnet/dnceng for help or read the documentation.

@pavelsavara is this still an issue for Runtime?

heh, this was test of the new merge pipeline which I forgot to close. Sorry.


Pin TensorBoard 0.4 to TensorFlow 1.4

See also:

https://pypi.python.org/pypi/tensorflow-tensorboard
https://github.com/tensorflow/tensorboard/releases/tag/0.4.0-rc1

@jart the failing test fails due to this:
No matching distribution found for tensorflow-tensorboard<0.5.0,>=0.4.0rc1 (from tensorflow==1.4.0rc0)
Is this expected?

The tests shouldn't be failing. https://pypi.python.org/pypi/tensorflow-tensorboard/0.4.0rc1

test this please


Sean refactor

I'd like to note there's an issue that causes an assert failure that was not introduced in this PR


Improve notebook's versions readability #171

Now versions will look like:

I believe we need the hour/minute information to avoid having problems with notebooks with the same version
@srossross @LilaHickey

:ok_hand:


Additional color themes

It would be nice to include a feature to add color themes from Visual Studio code market place.

Just in case someone doesn't know, a workaround is to copy the theme folder from the VSCode extensions folder to SQLOps extensions folder. You can then change the theme in the User Settings file exactly like VSCode.
The only thing (I have found) that SQLOps doesn't do is custom titlebar.
On macOS, the VSCode extensions are stored in ~/.vscode/extensions. Copy the ones you want to ~/.sqlops/extensions.

Thanks Code-DJ. It worked. I am enjoying sqlops studio with my favorite Cobalt2 theme.

Please open a PR to add any additional themes you'd like to see in the marketplace.  Or use the workaround mentioned above to install from VS Code marketplace.  We're still in the process of determine how best to integrate with VS Code extension marketplace in general.


Rotate button works only once in mobile mode.

it also make delete button unusable when the rotate button is clicked once in the mobile mode
@prathameshkhade

Fixed in last build


0.19.9

Allow throttle to go as low as 16ms

16ms threshold increases the pressure on our servers, but it allows smoother cursors. It might only work with a few people in the room. Ideally, the throttling mechanism should be smarter and adapt based on how fast the server acknowledges an operation.


WIC I/O Functions - DX12 version

Right now WIC I/O Functions seems to be supported with DX11. I'd like to know if there are any plans for DX12 version of WIC I/O Functions

Already covered by this work item.
Once GDC wraps up next week, this is my next project to focus on.


Is this a problem with align?

Required Info
d435

Camera Model
{ D400 }

Firmware Version
(Open RealSense Viewer --> <IP_ADDRESS>)

Operating System & Version
{Win (10)

Kernel Version (Linux Only)

Platform
PC

SDK Version
{ legacy / 2.. }

Language
{python }

Segment
{others }

In the area I marked as red, depth information cannot be read in the depth photograph. I have the same problem with 2 d435 realsense cameras. This unread area gets bigger if the object gets closer to the camera. How can I fix this.

request / etc..>

the error still persists.
Do you think the depth view after calibration is worse than before? I think the area around the whiteboard is starting to look worse.
![n4_depth_Depth](https://github.com/IntelRea

lSense/librealsense/assets/82447417/81323fbd-846a-44ac-9cac-bc51f79a89de)

If the black area around the table represents the floor then whilst the floor area looks less clean after calibration, the depth values appear to be more accurate.  If the floor under the table is being observed then there should not be large areas of red, as that would typically represent depth values that are 4 meters or more away from the camera.
The camera is likely having difficulty reading depth information from the floor because it appears to be black or dark grey in color.  It is a general physics principle (not specific to RealSense) that dark grey or black absorbs light and so makes it more difficult for depth cameras to read depth information from such surfaces.  The darker the color shade, the more light that is absorbed and so the less depth detail that the camera can obtain.

The whiteboard is 120 cm from the camera and 140 cm from the floor. The floor is flat carpet.

2.When looking from the back of the camera, the depth information on the left side of the products cannot be read. I calibrated as you said. Can you help me to solve this problem?

we thought this(black edge) was a calibration error.

But are you saying that this is normal?
I wonder why the black edge is on the left side?
Thank you for helping

Yes, the silhoutte is normal.  Whilst the ideal is for it to equally surround an object, it is more commonly biased towards the left side of the object.

Depth is generated using the left and right infrared frames, but relies primarily on the left side.  The centerline of the left infrared sensor is also the 0,0,0 origin point of depth.

You are very welcome!

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

Case closed due to no further comments received.


Add yi model example

Describe your changes
Add yi model example. Since Yi model is not supported by transformers, use gpt2 model type for ort optimization pass for now.
Checklist before requesting a review

[ ] Add unit tests for this change.
[ ] Make sure all tests can pass.
[ ] Update documents if necessary.
[ ] Lint and apply fixes to your code by running lintrunner -a
[ ] Is this a user-facing change? If yes, give a description of this change to be included in the release notes.

(Optional) Issue link

Closing.


JHLite: add start script and update port [ci skip]

following https://github.com/jhipster/jhipster-lite/pull/840

@nonomoho : for your information, this PR will change the port, when you use npm run dev, it will be http://localhost:9000 instead


Comments in a .json file should be highlighted as invalid syntax

A JSON structure cannot contain comments. However when you create a .json file and insert something like this:
{
    "TEST": "Some value", // some comment
}

it will highlight the // some comment part as a comment. For .js files this should be okay but for .json files it hides the issue that you can't use a comment in that location.
It would be helpful if the highlighting could be dropped and even be highlighted as a syntax error.

@aeschli can you please comment.

You are right, comments are not part of regular JSON, but for several of our configuration files (settings.json, launch.json...) we use a variant of JSON that has comments. Other tools do the same.
Our tokenizer is friendly and renders these comments nicely. We'd like to keep it friendly.


Update dashboard_url in response to Patch Service Instance requests

per OSB 437

/dibs

This project is being archived, closing open issues and PRs.
Please see this PR for more information: https://github.com/kubernetes/community/pull/6632


renderer strikethrough unicode code points off-by-one

Description
In MacVim 8.2.2127 (168) with Core Text Renderer on. This bug does not reproduce with Core Text Renderer off (legacy renderer on).
I believe what is happening is MacVim is displaying strikethrough unicode code points one character to the left of where they should appear, or something to that effect.
I'm using unicode control point "\u0336" for strikethrough
To Reproduce
Copy-paste and view this text in both renderers (in browser html textbox displays correctly but html preview/render appears incorrect).
 this is some s̶t̶r̶i̶k̶e̶t̶h̶r̶o̶u̶g̶h̶ text
Expected behavior
Only "strikethrough" is struck.
Actual behavior
Strike extends before the word into the space. The final letter h is unstruck.
Screenshots

Environment:
MacOS Big Sur 11.0.1 (20B29)
MacVim 8.2.2127 (168) with Core Text Renderer on

Hmm, I can't quite repro this, but I'm running on 10.15 Catalina still. I'll try to see if it repros on Big Sur for me.
Meanwhile, can you run this in terminal and paste what you options are? defaults read org.vim.MacVim | grep MM

MMAutosaveColumns = 139;
MMAutosaveRows = 72;
MMCurrentPreferencePane = Advanced;
MMOpenInCurrentWindow = 1;
MMPreloadCacheSize = 1;
MMRenderer = 1;
MMShowAddTabButton = false;
MMSuppressTerminationAlert = 1;
MMTabMinWidth = 54;
MMTabOptimumWidth = 140;
MMTopLeftPoint = "{299, 1002}";
MMUseCGLayerAlways = 1;
MMVerticalSplit = YES;

Hmm, I'm still having trouble reproducing this. To be fair I only tested 10.15 and 11.1 so not the exact same OS version as you. Can you also tell me what font you are using?
Btw, did you set MMUseCGLayerAlways to true due to a historic reason? That flag is no longer used so you could delete it by doing defaults delete org.vim.MacVim MMUseCGLayerAlways if you want.

Repros on latest Big Sur.
Added font information.
Removed MMUseCGLayerAlways.

Additional observation: when the cursor is over the leftmost struck character, the erroneous strike to the left does not appear to render.

Ok I reproduced the issue. This seems specific to the "Courier" font. I can look into it, but just some observations: This seems to me a poor interaction between macOS and Courier but I'm not sure whose fault it is. Also native rendering of the \u0336 modifier (Combining Long Stroke Overlay) in macOS or Safari seems… subpar and with lines not really lining up at the right spot (Chrome renders it fine though). Tried this in Windows and it also looks pretty bad. I'm guessing this is a modifier that most font renderers don't see a lot and therefore aren't good at dealing with.

Bad interaction between the OS and the font seems like a likely culprit. It's possible the off-by-one error lives there instead of MacVim, especially since MacVim seems to render the other fonts correctly, and the OS renders some incorrectly, in the browser for instance.
Vertical unevenness in the stroke overlay is regrettable but I think a separate issue.
What I did to work around the issue for now was install the free Courier Prime and then use :set guifont=* to open the font chooser and :set guifont? to determine the magic keyword for MacVim to recognize the font. Courier Prime renders the stroke overlay perfectly as far as I can tell, including vertical evenness, and looks substantially if not exactly like Courier.


Could not load colorscheme dracula

Trying out your plugin and when I start vim, it tells me that dracula is not found.
Plug 'dracula/vim'
Plug 'itchyny/lightline.vim'

Here is my config
let g:lightline = {
  \ 'colorscheme': 'dracula'
\}
set laststatus=2
set noshowmode

Thoughts?

Use Dracula, not dracula. I'm not sure why I didn't note the committer to rename it to lowercase...

@itchyny @jrock2004 from the official instruction of dracula:
https://draculatheme.com/vim/
Plug 'dracula/vim', { 'as': 'dracula' }
:PlugInstall

I am having the same problem with One Dark . How should I write it in the vimrc?

@itchyny
"""""""""""""""""
  " Syntax / Theme
  """""""""""""""""
  Plug 'morhetz/gruvbox'
  Plug 'joshdick/onedark.vim'
  Plug 'chriskempson/base16-vim'
  Plug 'ayu-theme/ayu-vim'
  Plug 'connorholyday/vim-snazzy'
  Plug 'dracula/vim', { 'as': 'dracula' }

  """""""""""""""""
  " Editor
  """""""""""""""""
  " File / Project Finding
  Plug '/usr/local/opt/fzf'
  Plug 'junegunn/fzf.vim'

  let g:fzf_layout = { 'down': '~25%' }

  Plug 'tpope/vim-vinegar'

  " Working with code
  Plug 'tpope/vim-surround'
  Plug 'tpope/vim-commentary'

  Plug 'editorconfig/editorconfig-vim'

  Plug 'sickill/vim-pasta'
  Plug 'ryanoasis/vim-devicons'

  Plug 'tpope/vim-fugitive'
  Plug 'tpope/vim-rhubarb'

  Plug 'tpope/vim-projectionist'

  """"""""""""""""""""
  " Language Servers
  "
  " Debugging:
  "   node -e 'console.log(path.join(os.tmpdir(), "coc-nvim.log"))'
  """"""""""""""""""""
  Plug 'neoclide/coc.nvim', { 'branch': 'release' }

  """"""""""""""""""
  " Status
  """"""""""""""""""
  Plug 'itchyny/lightline.vim'
  Plug 'mike-hearn/base16-vim-lightline'
  Plug 'joshdick/onedark.vim'

  let g:lightline = {
    \ 'colorscheme': 'Dracula',

Getting same error

Isn't the corresponding lightline colorscheme named "darcula"?

That did it. Thanks @yhu266

Note that dracula and darcula are different colorscheme. The above comments are outdated since this commit https://github.com/dracula/vim/commit/47c8701680e9d29017bc227e21b08ab86ee612d9. Use lowecase. This is a colorscheme distributed by https://github.com/dracula/vim.
let g:lightline = {
    \ 'colorscheme': 'dracula',
    \ }

Please refer to https://github.com/itchyny/lightline.vim/issues/344, https://github.com/dracula/vim/issues/125 as well.


Bug: Losing format after click inside editor.

https://github.com/facebook/lexical/assets/23312063/1655764d-0215-47f5-a737-b02ab614c95d

I have active formatting and an empty editor state
click outside editor wo changing formatting
click back into empty editor and formatting is deleted

The expected behavior

editor should keep selected formatting even if it's empty
same problem is on Lexical Playground

This appears to have been fixed


at_c: atclient_connection_is_connected

Implement a way to check if a client  connection is connected
Could be a

monitor connection
regular atServer client connection
connection to root

#272 fixed this


pdf(git): Style field does not have error checking and can be left empty

when pdf(git) option is selected, the Style field does not have error check and I can submit a job without any style given. Should this be a required field with error when it is empty?

The validation was removed during development and was never added back. it should match the behavior of the non-git jobs.

verified in cops-staging
fixed

verified in cops.openstax.org
option: pdf(git)
when style field is left empty, error message is shown and cannot proceed to start a job: Style is required
fixed
regression tested cops


ARROW-10863: [Python] Fix ExtensionArray.to_pandas to use underlying storage array

The report is for a Series of intervals. Can we add a test case for that? (will it roundtrip faithfully?)

It does not yet roundtrip faithfully (it comes back as object array with dicts, as its storage type is a StructArray), because we currently only support pandas' extension types in the Table.to_pandas conversion, and not yet in the Array/ChunkedArray to_pandas conversions (eg partly covered by https://issues.apache.org/jira/browse/ARROW-9664).
We are testing specific pandas dtypes in test_pandas.py, but so only for table.

It would be nice to add a test in any case, even if it's only testing the less-than-ideal return type.

In the end, wasn't that difficult to directly fix the full roundtrip as well, so did that + add a test for the original report.

@github-actions crossbow submit wheel-manylinux2014-cp36m


Docker Compose: Attach fails

Description of problem
docker-compose up
with
docker-compose.yml
version: '3'
services:
 alpine:
   image: alpine
   networks:
           - network1
           - network2
           - network3

networks:
  network1:
    driver: bridge
    driver_opts:
      com.docker.network.bridge.name: "network1"
    ipam:
      driver: default
      config:
        - subnet: <IP_ADDRESS>/24
  network2:
    driver: bridge
    driver_opts:
      com.docker.network.bridge.name: "network2"
    ipam:
      driver: default
      config:
        - subnet: <IP_ADDRESS>/24
  network3:
    driver: bridge
    driver_opts:
      com.docker.network.bridge.name: "network3"
    ipam:
      driver: default
      config:
        - subnet: <IP_ADDRESS>/24

with docker-compose
Results in the container created with all the three networks attached. But docker-compose is unable to attach to the created container. As a result docker-compose hangs.
Expected result
A sucessfull attach to the container followed by deletion
Creating compose_alpine_1 ...
Creating compose_alpine_1 ... done
Attaching to compose_alpine_1
compose_alpine_1 exited with code 0

Actual result
Hung at
Creating compose_alpine_1 ...
Creating compose_alpine_1 ... done
Attaching to compose_alpine_1

/usr/bin/cc-runtime --version
cc-runtime  : 3.0.8
   commit   : 9c69a8a
   OCI specs: 1.0.0-dev

Server Version: 17.06.0-ce
Storage Driver: overlay2

/cc @egernst


Org settings frontend exception

https://chat.zulip.org/#narrow/stream/6-frontend/topic/frontend.20exception

Nice, merged, thanks @aero31aero!  It's nice that the tests are cleaner too.


Hide metadata using %%

⚠ Please check that this feature request hasn't been suggested before.

[X] I searched previous Ideas in Discussions didn't find any similar feature requests.
[X] I searched previous Issues didn't find any similar feature requests.
[X] I am only requesting a single feature. Multiple changes should be split into individual requests, with links between them.
[X] I believe my requested feature will be generally applicable to other users, not just me: it is not uniquely tied to my personal workflow.

🔖 Feature description
Obsidian hides elements between '%%' in reading mode. So, this technique uses for hiding inline metadata. For example,

[ ] this is hard task %% [estimate::10h] %%

in reading mode

[ ] this is hard task

Tasks plugin can't use this mechanism, because (from doc):

Tasks reads task lines backwards from the end of the line, looking for metadata emojis with values, tags and block links. As soon as it finds a value that it does not recognise, it stops reading.

Feature request: add '%%' in exceptions when tasks plugin backward reading a task.
✔ Solution

[ ] #task example %% [custom_field:: tada] ➕ 2024-02-28 ⏳ 2024-02-28 📅 2024-02-29 %%

in reading mode:

[ ] example

❓ Alternatives
No response
📝 Additional Context
No response

Hi, thanks for using Tasks.
If I understand correctly, you are proposing for special-case case to detect comments, instead of fixing the general case of making the reading more flexible, so that metadata emojis no longer have to be at the end of the line?
When someone becomes available and willing to work on improving the parsing code, wouldn't it be better for them to fix the general case, rather than add special-case code just for comments?

Also, as well as %% there are <!-- ... --> comments, and any code for handling them would need to consider and handle a variety of situations more complicated than the example given above:

multiple of comments on the line
what if there were an uneven number of comments on the line %% .... %% .... %%
comments that span across multiple lines

And doing this would become wasted work when the general parsing solution is implemented.

@claremacrae yeah, you're right

Thank you for being understanding. I will close this when we have finished discussing it, then.

I didn't find it in discussions, do you have a decision for "the general case of making the reading more flexible"?

Sure, it's linked from the docs you quoted:

Just to say that I definitely do understand that parsing of metadata needs to be made more flexible. It's all about having the time to do it, and picking which of the many outstanding requests are best to work on with the available time.

I just started using tasks, and it's really making work tiring, when you don't have a simple view to understand what to do

A couple of options:

For Reading mode and Tasks search results, it's possible to use CSS to style the emojis to tone them down.

In Discussions > Show & Tell there are several examples of CSS snippets for styling tasks and their emojis, to help out those who don't wish to get in to the details of the [docs about styling tasks](Styling Tasks).

For Tasks search results, you can hide metadata fields you are not interested in, e.g. hide due date.

@claremacrae thanks a lot!

Oops - I fixed the link to the styling docs in the comment above....

Summary: closed in favour of:

https://github.com/obsidian-tasks-group/obsidian-tasks/issues/1505.


Google Login Error

I have Twitter and Facebook OAuth Working, but with Google+ I get the following error.
I have enabled the Contacts and Google+ API, unsure what else needs to be done? Included is the relevant part of my code, stripped out any error logging of my own, and marked where I expect data.
function authGoogle(req, reply) {
  var accessTokenUrl = "https://accounts.google.com/o/oauth2/token";
  var graphApiUrl = 'https://www.googleapis.com/plus/v1/people/me/openIdConnect';
  var params = {
    code: req.payload.code,
    client_id: req.payload.clientId,
    client_secret:SECRET,
    redirect_uri: req.payload.redirectUri,
    grant_type: 'authorization_code'
  };
console.log(params);
  // Step 1. Exchange authorization code for access token.
  request.post({
    url: accessTokenUrl,
    form: params,
    json: true
  }, function(err, response, accessToken) {

    if (!err && response.statusCode === 200) {
      var accessToken = qs.parse(accessToken);
      var headers = { Authorization: 'Bearer ' + accessToken };

      // Step 2. Retrieve profile information about the current user.
      request.get({
        url: graphApiUrl,
        headers: headers,
        json: true
      }, function(err, response, apiUser) {

        if (!err && response.statusCode === 200) {

          // I SHOULD HAVE A USER HERE?
          // user is signed in
          if (req.headers.authorization) {
            console.log('user exists and is logged!');
          }

        } else {
          // return error
      });
    } else {
        // return error
    }

  });
}

These are the errors returned by my server client.
 error:
   { errors: [ [Object] ],
     code: 403,
     message: 'Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.' } }
DATE - error: https://www.googleapis.com/plus/v1/people/me/openIdConnect request=POST, reason=Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.

I have a client running on localhost:1000 and a Node server on localhost:2000
/auth/google is a HAPI service and responds to POST only.

Nobody able to help? Or offer any input?

I think the issue is not with the authentication(or Satellizer), but rather your use of the Google plus identity service.
See this related thread: https://groups.google.com/forum/#!topic/oauth2-dev/s3d8HaK7bpQ

Yes I have enabled the necessary API's. Any other suggestions?

Although all the app google dialog window says i have asked for is Offline Access, is that correct?