Bump gvisor to v0.0.0-20240313225113-67a078058255, fix service

gvisor and the service example didn't build for me on go 1.22, this fixes that.

Thanks! I might need to combine these changes with #981 to get the tests to pass for merging. Looking into it now.

merging your branch into #981 (so your branch + go1.22) still seems to be getting some weird failures:
# gvisor.dev/gvisor/pkg/waiter
Error: ../../../go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20240313233432-bcc70e30fc76/pkg/waiter/waiter.go:140:2: undefined: waiterEntry
Error: ../../../go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20240313233432-bcc70e30fc76/pkg/waiter/waiter.go:211:7: undefined: waiterList
FAIL	github.com/slackhq/nebula/examples/go_service [build failed]

oh I see, Github Actions is still selecting the wrong go version. I thought we had it configured to use the version in go.mod.

I have the tests passing in #981 by merging in your changes and making a few more fixes. I'll make sure to credit you in the merge commit there. Thanks!


retrieve contextUri from currentlyPlaying

I found the current context URI important to retrieve, as I also use it to play a particular context (album, artist, playlist,...). Maybe this is of use to others.

Looks good, only thing I would ask is it's added to the get currently playing example so people know they can use it
https://github.com/witnessmenow/spotify-api-arduino/blob/main/examples/getCurrentlyPlaying/getCurrentlyPlaying.ino

Done, thanks for pointing this out. Please have a look!

Thanks @j4cko!


Update functions.py

To load OpenCV haar cascade model in align_face function, otherwise eye_detector is undefined

Thank you for your contribution.
DeepFace interface has verify, find and analyze functions. initialize_detector is called in those 3 functions.
What if you would not call those functions? Those functions call functions.preprocess_face. Then Preprocess_Face function calls detect_face and align_face respectively. If initialize_detector function has not been called before, initialize_detector is going to be called in detect face.
	if not "face_detector" in globals():
		initialize_detector(detector_backend = detector_backend)

Your PR causes to initialize detectors again and again. As I mentioned above, you should check face detector exists in globals and then initialize it in align_face. Once face_detector initialized, then eye_detector is always initialized.

Thank you for your contribution.
DeepFace interface has verify, find and analyze functions. initialize_detector is called in those 3 functions.
What if you would not call those functions? Those functions call functions.preprocess_face. Then Preprocess_Face function calls detect_face and align_face respectively. If initialize_detector function has not been called before, initialize_detector is going to be called in detect face.
	if not "face_detector" in globals():
		initialize_detector(detector_backend = detector_backend)

Your PR causes to initialize detectors again and again. As I mentioned above, you should check face detector exists in globals and then initialize it in align_face. Once face_detector initialized, then eye_detector is always initialized.

Thanks so much for your detailed explanation!
I think when I only want to preprocess the images using functions.preprocess_face(..), it prompts to run align_face(..) without initialising the global variables from initialize_detector(..) hence eye_detector is not initialised. That's why I think it's better to add that line somewhere in between to initialise the global variables.

Thanks so much for your detailed explanation!
I think when I only want to preprocess the images using functions.preprocess_face(..), it prompts to run align_face(..) without initialising the global variables from initialize_detector(..) hence eye_detector is not initialised. That's why I think it's better to add that line somewhere in between to initialise the global variables.

You have to call detect face before align face because one image could store more than one faces.

You have to call detect face before align face because one image could store more than one faces.


configurable scrollBehavior

Environment

Operating System: Darwin
Node Version:     v16.11.0
Nuxt Version:     3.0.0-27267528.292b524
Package Manager<EMAIL_ADDRESS>Bundler:          Vite
User Config:      buildModules, css, meta
Runtime Modules:  -
Build Modules<EMAIL_ADDRESS>

Describe the bug
scrollBehavior setting (which is available in Nuxt2) doesn't work.
I tried both nuxt.config.ts router.scrollBehavior and putting router.scrollBehavior.js in project route but they have no effect.
I couldn't find any document on scrollBehavior at Nuxt3 docs website... Is there any way to make it work?
Reproduction
nuxt.config.ts
import { defineNuxtConfig } from 'nuxt3'

export default defineNuxtConfig({
  // ......
  router: {
    scrollBehavior: () => ({ x: 0, y: 0 }),
  },
})

~/router.scrollBehavior.js
export default () => {
  console.log('here') // never called
  return { x: 0, y: 0 }
}

Additional context
No response
Logs
No response

Issue I'm having with this is when I navigate to another page from a link in the footer, the current page first scrolls to the top, then navigates away. @ricky11 As you're saying.
Is there a way to make sure this happens after the route change?

Update to the newest version. The new default behavior works as expected.

@alexanderhorner The only thing missing now is smooth scroll behaviour for anchor tags, do you know what needs to be edited in the router.options.ts file, to achieve this? Without breaking default page behaviour

Have a look here: https://github.com/nuxt/nuxt/issues/22663

adding app/router.options.js to my project didn't work until I restarted dev (maybe this info will help someone)

This isn't necessary anymore. Delete your routers option file and update to the newest version of nuxt.

@alexanderhorner - can you please clarify what you meant by "This isn't necessary any more" and about deleting the options file? If we want to customise router options, we still supply that app/router.options.js file right?

Sorry, I assumed this was to fix an older issue where nuxt didn't scroll to the top of the page on navigation. The default behavior is now smarter than most work arounds using this config.
If you still want to customize the scroll behavior, this is of course valid.

I've tried everything and I'm not able to remove the scroll to top each we click on a link and we navigate to a page :

in app.vue :


Migration: Index.coffee Component Migration  Documentation

Description
As the first step of migration, index.coffee component has been reviewed and the documentation has been completed.
This component is used to: Once we login to the ontrack and select the unit/ module, it might takes a few seconds to load the dashboard content/ unit details. This component displays the unit details loading with buffering icon and the time gap of loading unit details is filled by this component.
This is component combination of index.coffee and index.tpl.html
Fixes # (issue)
No issues
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as
expected)
[ ] Documentation (update or new)

How Has This Been Tested?
Created the file by attaching a image of component identification and previewed the document.
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have requested a review from ... on the Pull Request

Image:

Successfully identified the relevant component. Ready to migrate


Update regex.py to correctly parse scripts with combining marks

Fixing the problem that all tokenizers have with regard to all combining marks like diacritics, Indic Matras (vowels after consonants) Indic Halant, Arabic, Hebrew etc.  This was probably breaking most languages except English and CJKs. Verified for Indic languages.

>>> import regex as re
>>> gpt2pat = re.compile(r"""'(?i:[sdmt]|ll|ve|re)|[^\r\n\p{L}\p{N}]?+\p{L}+|\p{N}{1,3}| ?[^\s\p{L}\p{N}]++[\r\n]*|\s*[\r\n]|\s+(?!\S)|\s+""" )
>>> str = r"""हहिन्दी विकिपीडिया"""
>>> print (re.findall(gpt2pat, str ))
['हह', 'िन', '्द', 'ी', ' व', 'िक', 'िप', 'ीड', 'िय', 'ा']
>>> # The above got broken at every vovel combining mark
>>> # It can be fixed by including \p{M} wherever there is \p{L}
>>> gpt2pat = re.compile(r"""'(?i:[sdmt]|ll|ve|re)|[^\r\n\p{L}\p{N}]?+[\p{L}\p{M}]+|\p{N}{1,3}| ?[^\s\p{L}\p{M}\p{N}]++[\r\n]*|\s*[\r\n]|\s+(?!\S)|\s+""" )
>>> print (re.findall(gpt2pat, str ))
['हहिन्दी', ' विकिपीडिया']
>>> The above keep it as is and correctly breaks at word boundaries

https://github.com/karpathy/minbpe/issues/73

bump.

Dose this merge negatively effect anything?

Should not. Given we are telling the regular expression to not split words between a character and a combining mark after the character. The combining marks in all scripts should by definition not exist independently. Atleast for southasian languages all the vovels following a consonent are combining marks and hence it should significantly improve tokenization that is making it act almost like a character level model.


Publish package:intl v0.19.0

[x] I’ve reviewed the contributor guide and applied the relevant portions to this PR.

Contribution guidelines:

See our contributor guide for general expectations for PRs.
Larger or significant changes should be discussed in an issue before creating a PR.
Contributions to our repos should follow the Dart style guide and use dart format.
Most changes should add an entry to the changelog and may need to rev the pubspec package version.
Changes to packages require corresponding tests.

Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.

After publishing you might pre-populate a new github issue w/ "Pub error upgrading to version 0.19.0" or similar, w/ a breif description of the problem and some likely resolution. You could in-line some of or just link to https://github.com/dart-lang/sdk/wiki/Flutter-Pinned-Packages.


Modify default sqlcollation for mssql linux container

There is no way to modify the sqlcollation for the mssql linux container. This can be done for the mssql windows container by updating the setup command in the dockerfile.
Also, no way to attach DB or restore DB using existing mdf/bak file for the linux container.
Thanks

You can set the collation using the MSSQL_COLLATION environment variable.
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-configure-environment-variables
Configuring attach/restore DB for Linux containers through an env var is tracked by this issue:
#4

Hi, I'm trying to start backup restore from another container using docker-compose.
2022-12-21 11:33:26.30 spid21s     Attempting to change default collation to Cyrillic_General_CI_AS. 2022-12-21 11:33:26.83 spid21s      index restored for master.syspriorities. 2022-12-21 11:33:34.85 spid21s     Error: 1205, Severity: 13, State: 56. 2022-12-21 11:33:34.85 spid21s     Transaction (Process ID 21) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. 2022-12-21 11:33:34.86 spid21s     Error: 3434, Severity: 20, State: 1. 2022-12-21 11:33:34.86 spid21s     Cannot change sort order or locale. An unexpected failure occurred while trying to reindex the server to a new collation. SQL Server is shutting down. Restart SQL Server to continue with the sort order unchanged. Diagnose and correct previous errors and then retry the operation. 2022-12-21 11:33:34.88 spid21s     SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.
But if I don't change the default collation it works ok. Is there a way to wait for collation changing? Mabye I can't build an image on top of the official image with predefined collation?


Updating websocket to avoid VS2015 compiler bug and try to get TLS 1.…

…2 working.
https://threatstack.atlassian.net/browse/ITR-496

Why the pr closed?


A11y_AzureDataStudio_Create new server group: Narrator is announcing hexadecimal value instead of name of the color

GitHub Tags:
#A11yMAS; #A11yTCS; #A11ySev2; #DesktopApp; #BM-AzureDataStudio-Win32-Feb2022; #Azure Data Studio; #WCAG1.3.1; #Win32; #AINotInScope; #Info and Relationship; #Narrator; #NVDA;
Environment Details:
Windows Version :Windows 11 Enterprise
Application name :Azure Data studio
Repro Steps:
1.Turn on Narrator
2.Launch Azure Data Studio.
3.Select the Connections icon (if not already selected) from left bar.
4.Hover over the 'Servers' header and select the icon that has a tool tip of 'New Server Group' icon.
5.Enter the name for the Server group name and a description. And then a color for the group can also be selected from the provided color options. Then click 'OK'.
6.Verify whether the narrator should announced the name of the color or not .
Actual Result:
Narrator is announcing hexadecimal value instead of  name of the color.
Expected Result:
Narrator should be announced  name of the color.
Attachment:
Narrator Attachment:

NVDA Attachment:

by design, it is more accurate to announce the color code, not every color has a name.


Some troublr in launching an agent

C:\Users\Vorigin>cd C:\Users\Vorigin\Desktop\Malmo-0.21.0-Windows-64bit\Python_Examples
C:\Users\Vorigin\Desktop\Malmo-0.21.0-Windows-64bit\Python_Examples>python run_mission.py
Error starting mission: Failed to find an available client for this mission - tried all the clients in the supplied client pool.
C:\Users\Vorigin\Desktop\Malmo-0.21.0-Windows-64bit\Python_Examples>cd C:\Users\Vorigin\Desktop\Malmo-0.21.0-Windows-64bit\Java_Examples
C:\Users\Vorigin\Desktop\Malmo-0.21.0-Windows-64bit\Java_Examples>java -cp MalmoJavaJar.jar;JavaExamples_run_mission.jar -Djava.library.path=. JavaExamples_run_mission
Error starting mission: Failed to find an available client for this mission - tried all the clients in the supplied client pool.
C:\Users\Vorigin\Desktop\Malmo-0.21.0-Windows-64bit\Java_Examples>

Does this help?
https://github.com/Microsoft/malmo/wiki/FAQ#why-do-i-get-failed-to-find-an-available-client-for-mission-when-i-try-to-run-a-tutorial

Am closing this due to inactivity - if this is still a problem, please reopen and provide more details.


added clearfix helper class

references #413

What is the benefit of this over the standard clearfix method? Seems like this is more likely to cause unintended side effects.


Utilize the tests inside official dart repo to verify correctness?

(Have not checked into details, just rough ideas.) Maybe we can utilize the tests inside official dart repo, so that we get a ton of test cases to verify dart-eval is correct, at least up to those tests in the dart repo :)

Good idea. Do you know where these tests are? If not I'll poke around and see what I can find when I have time

I have not looked into it, but I guess there must be some

Some good ones here: https://github.com/dart-lang/sdk/tree/main/tests/language
Would be a good project for a contributor IMO, I'll add help wanted / good first issue.
For anyone who does want to take this on: It's important we don't end up testing the Dart language itself, just how well we match it. If Dart changes its internal implementation of the Regexp engine, that shouldn't cause us to fail as long as we're doing the same thing as Dart. Will definitely require modifying those tests to reflect that.


[Feature] Support batch scheduling and queueing

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Kuberay currently does not seem to support scheduling policies for Ray clusters. Examples include:

Queue scheduling
Gang scheduling
Job preemption

Possible scheduler implementations include https://volcano.sh/en/ and https://github.com/kubernetes-sigs/kueue.
Use case
Example use cases:

Multiple users try to deploy Ray clusters in the same Kubernetes cluster. Not all of the requests can be granted due to resource constraints. It would be nice to have some requests stored in a queue and processed at a later time.
Clusters can have configurable retry policies
Clusters can be annotated with priority classes
Batch scheduling configurations: a Ray cluster only gets deployed if a minimum number of quorum nodes can be scheduled.

Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

That's an interesting use case.
What constitutes resource constraints? if a cluster needs 10 replicas (worker pods) but only 9 can be scheduled, it this a resource constraint? or if zero pods for a RayCluster can be scheduled is considered a resource constraint?
Currently the RayOperator has a reconciliation loop that tries to schedule any pods that are missing in a RayCluster. It fetches the list of RayClusters from K8s periodically.
Autoscaling (Cluster-Autoscaling) with K8s can be used to add more nodes when the Ray pods are in pending state due to lack of resources.
Having the Ray Operator keep a queue would make it stateful, and it is preferable to keep the state in K8s.
As for batch scheduling configuration, I think it is a very valid feature request, since, for example, if the user wants a RayCluster of 100 workers and gets a Cluster with 1 head node and zero workers, this might not be useful at all.
However adding this feature would mean that the Ray Operator should keep track of the available resources in the K8s Cluster, which would add to its complexity and the latency of processing each request to create a RayCluster.

Thanks for the reply.
For the case with 100 workers - suppose that different users created two such clusters in the same Kubernetes cluster. Neither of them have sufficient workers, but both would still be competing for the same resources in the pool. This can lead to resource starvation.
If we have support for Gang Scheduling, this would be more optimal for resource utilization.
Would it be possible to add an option to integrate with an existing batch scheduler, like volcano.sh?

I see what you mean.
If we use a scheduling framework like volcano, we would introduce a dependency on the Volcano api:
apiVersion: scheduling.volcano.sh
Moreover, part of deploying KubeRay would involve deploying Volcano.
Do you have in mind a design where KubeRay users can chose wether or not to use this Volcano dependency? in other terms using gang scheduling becomes optional?
Today we have the option of using minReplicas, does it satisfy your use case, if the RayCluster pods are only created if and only if the minimum number of pods can be created?
 replicas: {{ .Values.worker.replicas }}
 minReplicas: {{ .Values.worker.miniReplicas | default 1 }}
 maxReplicas: {{ .Values.worker.maxiReplicas | default<PHONE_NUMBER> }}

Here I can give a demo code which can support volcano in ray operator.
https://github.com/loleek/kuberay/commit/745e12cb6b72d4299ec1b4bef65cb46d305eafc3
I get queue and priority class from head pod labels, but it works well to me.

@loleek thanks for sharing!
I think there are several tools in the k8s ecosystem that can help with this.
For example, @asm582 has demo'd and documented how to use MCAD to gang-schedule KubeRay-managed resources
https://ray-project.github.io/kuberay/guidance/kuberay-with-MCAD/

In my opinion, batch scheduling and queuing should not be directly supported out-of-the-box.
However, clear docs on the use of external tools like https://ray-project.github.io/kuberay/guidance/kuberay-with-MCAD/ are much appreciated!
@loleek from a quick read of the branch you posted, it seems to me the same functionality could be achieved with the existing operator code, by correctly configuring a RayCluster CR.
Of course, having the functionality built-in is certainly nice and might be better for your use-case. But then on the other hand, we don't want to be too opinionated on what external schedulers to use.
It'd be great if we can figure out how to support using Volcano without modifying the operator code and then document that for the community.

Configuring a RayCluster using minReplicas might not solve problems when statefule RayActors are involved under a preemption.
For example job x requires 10 actors, 1 actor per cpu.  Job y also requires 10 actors, 1 actor per cpu.  There are 15 cpus in total.   If job y perempted job x,  half of job x's actors lost, waiting for retry.
Actors retry serveral times might always failed.  Actors retry infinitely might not be a good practise.  Better let gang remove job x entirely and reschedule job x after job y finishes.

@wolvever that's a great point, Ray doesn't have built-in gang scheduling and fault tolerance primitives that would mitigate this scenario. While Ray does have some built-in fault tolerance mechanisms, we generally recommend thinking about fault tolerance at the application level, i.e. you should consider various failure scenarios and design your Ray app with those in mind.
I think this issue focuses on gang-scheduling at the level of K8s pods, though, rather than at the level of the Ray internals.

Note that https://github.com/ray-project/kuberay/pull/755 has landed, which adds support for Volcano. The interface has been designed in such a way to make it possible to add new schedulers without a major refactor.

MCAD is also an option for batch scheduling functionality.
https://www.anyscale.com/blog/gang-scheduling-ray-clusters-on-kubernetes-with-multi-cluster-app-dispatcher
Seems this is good to close. Feel free to open further discussion on batch scheduling and queueing!

@DmitriGekhtman would MCAD work for long-lived clusters? i.e say we have a Ray Cluster and we submit a job to the cluster. This job tells the autoscaler to spawn 5 worker pods. Can MCAD be utilized in Ray's current state to watch this type of scenario? The original issue talks about queuing the instantiation of Ray Clusters.


Support for testID

In my e2e (Maestro) tests we try to target testIDs instead of raw strings when clicking on things. It seems this MenuView component does not support a testID prop, unlike most React Native elements which do. Would it be possible to add support for this?

Support for testID has been added via #931. Available now in v1.1.4

Thanks!


Add support for bluestore OSD

Can an option be added for an OSD to use a bluestore disk?
I understand that Bluestore is still a tech-preview, but being able to easily test it with the rapid build-up and tear-down of docker containers would be a huge plus.

Agree, will assign this to myself, expect this in the upcoming weeks or so.

Isn't this in now?

Yes, looks like it was added with #352 if someone can test & confirm this can be closed.

@immesys yup should work, let me close this.


Typescript metadata

improved TypeScript typings for SymbolMetadata

added missing booleans dismounted and unit
added list of allowed strings for affiliation (and base), dimension (and base), condition, context, echelon, and (was missing) leadership

Note : this was reversed from the JS code, perhaps I misinterpreted some things, for example

I added the strings "" and/or "undefined" as allowed, when it was present in the code: not clear from the code paths which are really allowed values from getMetadata()
I added "LandDismountedIndividual" for dimension (but not baseDimension)

Also : there is a typo in baseAffilation (missing an 'i' : should be baseAffiliation) but I didn't fix it, to not impact the API

Sorry for the delay, life happened.


change toggle button to say "hide" or "show"

@sindresorhus This closes #13 and also prevents the error thrown when navigating to a PR page, like this one.

Thanks :)


[harfbuzz] Build error on x64-windows

issue_body.md:
is too long for this comment; see attached file
package-x64-windows-dbg-out.log

This was a fresh clean vcpkg instance set up for x64 / VC 2017, processing only the command install colmap[cuda,tests].

Compilation errors are embarrassing! Perhaps upstream is to blame?

I also raised this issue on harfbuzz github page.  They closed it right away, blaming vcpkg.  But I think this does deserve the attention of a harfbuzz maintainer.  It looks to me like an order-of-includes problem, i.e. a source code bug.

There are some binaries available on their Github page. What’s wrong with them?

sfhacker, if you mean COLMAP, yes, the Windows binaries work, and I use them.  I was just hoping to set up a build that I could customize a little.


add pre-commit hook for doctoc

Adds pre-commit hook (with install instructions) so people don't forget (like I did) to generate the TOC before pushing

Thanks, good catch!

DocToc generates an incompatible ToC when looking at the requirements for Awesome


some text is completely unreadable on medium gui size

at 1080p, the guidebook contains many pages which are completely unreadable at medium GUI size.
I understand that apparently lots of people use the larger GUI sizes, but it seems like a problem, to me, that even slightly smaller-than-expected GUI settings makes a good nunber of pages entirely unreadable.
This could be fixed either by changing the font rendering (hard, not yoyr job) or by slightly reordering the pages so the text isn't absolutely tiny. I literally haven't seen patchouli books with text this small (or variable) until this mod.

Unfortunately we're kind of running into Patchouli issues ... and Minecraft font rendering issues in general. Patchouli is good for mod-style documentation but not good for "an actual programming language," which is what this mod is ...
Many discussions have been had about hex's terrible terrible documentation and to be honest I don't know what to do. I'm very tempted to have the book just send people to a website; the browser version of the book is much more usable anyways.
I'm going to leave this open because I really haven't fixed it, but also, don't hold your breath.

Yeah that's kinda what I thought. It's an extremely difficult and annoying problem.
Personally, I definitely really like that there's an ingame book, and how it's integrated with the advancements, but I can definitely see there being logic to at least including a link to the web version somewhere.

Oh, I didn't realize you can upscale the book separately from the main page. That makes this problem significantly less bad.

Alright then ... I believe Forge has a hacky patch fix to this (letting text be anti-aliased in certain cases) but still, that's Patchi's impetus to fix it.


Inability to save document (despite now having reconnected to the wifi)

Error: Client Disconnected
@https://homebrewery.naturalcrit.com/homebrew/bundle.js:75320:28
@https://homebrewery.naturalcrit.com/homebrew/bundle.js:1966:25
@https://homebrewery.naturalcrit.com/homebrew/bundle.js:75629:14
{
  "status": 499,
  "method": "PUT",
  "url": "/api/update/GfT2lOStvOef"
}

Looks like this was a temporary busy moment on the server. Let us know if it happens again.


chore: swap exit for sys.exit; fixes #571

fixes #571

Thanks for double checking! Sorry I didn't mention I left those out in the PR description. I could have made your life easier. I address those in #568. I left them out to make the merge easier


Translation beginnings

This will allow you to set a personal language (hopefully) and have the bot translate messages in the future.

Wait translations weren't supported?

No, they were pretty broken in the old bot and none of the translators were committed enough

I mean I would be committed enough
Where is the schema for the json though and how do I use it

It's not in the re-write and I don't plan to add it, it's a huge pain to develop for and only makes sense in a finished product


Add wagtail or some cms to the project

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

https://docs.wagtail.io/en/v2.0/getting_started/integrating_into_django.html


Multiline comments ending in " lead to creation of line with only spaces

Input
fn main() {
    /* " */
    println!("Hello, world!");
}

Output
fn main() {
    /* " */

    println!("Hello, world!");
}

(notice the blank line between the comment and the println, containing 4 spaces.
Expected output
Input unchanged.
Meta

rustfmt version: rustfmt 1.4.16-stable (939e164 2020-06-11)
From where did you install rustfmt?: rustup

This seems to happen iff the comment is a /* comment with exactly " as its comment.
Putting two such comments in sequence leads to another "fun" bug: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=70c8eb3ed7416f5101dd5297cdd8c005 🙂
This is probably simple to fix since it seems to be such a specific case, but we should check if it's repro on master.

It seems to be when it contains precisely one ". /* abc " */ and /* " abc */ both reproduce the issue.


Cannot change keyboard shortcuts

Description of your problem
What steps will reproduce the problem?

Turn the spyder on and go to Preferences ->Keyboard shortcuts
changing any shortcut to a new one makes spyder to close with
Segmentation fault      (core dumped) spyder
I first tried "open profiler" to "ctrl+F10" but failed. Then I tried many random changes but all failed so far.

Versions and main components

Spyder Version: 3.2.3
Python Version: 3.6
Operating system: Ubuntu 16.04

Dependencies
Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:
cython >=0.21    :  0.27 (OK)
jedi >=0.9.0     :  0.10.2 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
numpy >=1.7      :  1.13.1 (OK)
pandas >=0.13.1  :  0.20.3 (OK)
psutil >=0.3     :  5.2.2 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pyflakes >=0.6.0 :  1.6.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.7.2 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
rope >=0.9.4     :  0.10.7 (OK)
sphinx >=0.6.6   :  1.6.4 (OK)
sympy >=0.7.3    :  1.1.1 (OK)

What is your Qt and PyQt versions?

@ccordoba12 Sorry for not attaching it from the beginning (I was not sure whether the followings are what I was asked)
$ qmake -v
QMake version 3.0
Using Qt version 5.6.2 in /home/aaa/anaconda3/bin/lib

and
from PyQt5.QtCore import QT_VERSION_STR
print(QT_VERSION_STR)
# 5.6.2

This is duplicate of issue #5426.


[BUG] Azure.AI.OpenAI.Assistants - I'm not able to ask question about the content of a file uploaded in the Storage

Library name and version
Azure.AI.OpenAI.Assistants 1.0.0-beta.4
Describe the bug
Hello,
I've developed a chatbot in .net c# and I use the library Azure.AI.OpenAI.Assistants.
I have pre-created my Assistant in the web interface of OpenAI (I didn't attached any document directly to the assistant).
In my application, I upload a document (role=assistant) on the Store of OpenAI and I get back its identifier (file-wXz...) then I create a message and I pass the collection of file_ids (actually I've only one id) in the following function:
Response<ThreadMessage> messageResponse = await client.CreateMessageAsync(thread.Id, MessageRole.User, userMessage, **file_ids**, null, cancellationToken);
I submit my message with a question about the file content by creating a run.
The answer of the model is still something similar to:
I am unable to access the content of the file you uploaded. Could you please try uploading it again so that I can assist you in understanding what the document is about?
What I do wrong? Can you please help ?
Expected behavior
The model answers with information retrieved from the document.
Actual behavior
I receive the following message from the model:
I am unable to access the content of the file you uploaded. Could you please try uploading it again so that I can assist you in understanding what the document is about?
Reproduction Steps

Upload a file in the store (role=assistant)
Create a small .net app with a reference to the library Azure.AI.OpenAI.Assistants 1.0.0-beta.4
Create an instance of an assistant client
Create a thread
Create a message and associate with it the file id of document uploaded in point 1.
Submit the message in a Run and get the response from the model.

Environment
Windows Server 2019 , .NET runtime version 6, Visual Studio 2022

My mistake, I mixed API calls with Assistant V1 and V2.


CTRL+C not working

I can not interrupt any running command with CTRL+C.

Add to this: on Firefox, most anything other than ls, dir, and cd seems to hang the console. Vim, cowsay, npm, nodejs - all hang the console with no way to interrupt.

Thanks for the report.
@gocursor: CTRL+C not working is a known issue - it's bound to a signal, SIGINT. Signals are currently not implemented.
@mhnsn: webvm is working (for me) on firefox 96.0.2, for all the examples that are in the page and the commands you listed. WebVM on Firefox takes a bit longer than Chrome, but works nevertheless.
apt instead indeed locks CheerpX and hangs the machine. We are looking into fixing this behaviour. Please note, though, that for the moment WebVM has no network and sudo support, so it won't be possible to install programs even after the hang has been solved.

Ctrl+C is now supported. Try it out on https://webvm.io


Add Broadlink manager to Home Assistant panel

Is it possible we can update config.yaml to add the mgmt interface link to the side panel? Seems to be a standard thing with addons, but don't know it well enough to submit a PR :)

Hi,
Fixed in the latest version


Enable Github Discussions

Problem
I wanted to know more about how to set up a matter controller. My problem is that there is no forum!  There is hardly any doc available outside this repository. It's too bad for a beginner to hop into an active community of "code only" rather than forms where I can search for my issue and understand the topic in "human language". Looking through unnecessary readmes is too time consuming and having a proper forum where people and interact solves this problem.
Proposed Solution
Please enable GitHub "discussions" on this repository so that people can ask & share information with each other. It will serve justice to people interested in getting started with it.

Thank you for the suggestion, we will considering this moving forward.

@woody-apple Could you enable discussions? Or maybe launch a Discord server? I too have questions related to Matter that are not really code issues.


Allow named routers with the same path: name-first route matching for navigation through history

What problem is this solving
I'm working on an application which has multiple stages/steps to complete an action. According to the application logic, it makes no sense to make separate paths for additional steps, because reloading the page should lead to the first step.
For example login action:
import { createRouter, createWebHistory } from 'vue-router';
import HomeView from '../views/HomeView.vue';
import LoginFirstView from '../views/LoginFirstView.vue';
import LoginSecondStep from '../views/LoginSecondStep.vue';

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: HomeView
    },
    {
      path: '/login',
      name: 'loginFirstStep',
      component: LoginFirstView,
    },
    {
      path: '/login',
      name: 'loginSecondStep',
      component: LoginSecondStep,
    },
  ],
});

export default router;

$router.push({ name: 'loginSecondStep' }) works as expected, second step loaded after navigation by route name.
But back and forward navigation doesn't work because path-only matching is used.
Proposed solution
Feature request: name-first route matching for navigation through history. It should be possible by saving name of route in state object.
Describe alternatives you've considered
The task can be solved by creating a view containing steps and a switch, but it breaks the router navigation logic.

This is an intentional design on front end routing, it makes things predictable.
You should differentiate the route somehow with a query param or a different path. If you still want to use the same path, you can push custom state to the history entry. You can check the modal e2e test in this repository for a full example


Fatal crash on 1.0.4

CrateDB version: 1.0.4
JVM version: 25.121-b13 (JRE: 8.0_121-b13)
OS version / environment description: Windows Server 2012 R2
Problem description: Fatal crash
Log:
hs_err_pid9872.log.txt
NOTE: There is an additional .mdmp file (~700mb) if needed
Steps to reproduce:

Unfortunately I do not have any logs of what was executing (SQL-wise), just the crash log.

hi @rps-v, we will investigate this.

@rps-v it seems that this is a bug in Sigar, a plugin that we use for cpu and memory monitoring. Can you tell us when this crash happens (on heavy load, etc.) ?
A workaround would be if you remove the sigar directory from the plugins located in $CRATE_HOME/plugins/. We encountered a bug that prevents you from starting a node after removing the folder (see https://github.com/crate/crate/commit/408c6a117d555b3782dfd2db6891f5e8fbe49efb). In your case you need to remove the sigar-path as shown in the commit manually in your crate.bat.

@mikethebeer
It was a one time crash and it happened overnight (should have been very light / no load on the server).
The setup was a machine running 2 instances of Crate (a cluster with 2 nodes).
Here is a snippet from the logs at the moment of the crash (doesn't contain much):
crate.log.txt
Thanks for the quick response and workaround, will report back if it happens again !

@rps-v thanks, tell us if it happens again 👍 probably it has something to do with https://github.com/hyperic/sigar/issues/77


gplates: 2.3.0 -> 2.4.0

Description of changes
Changelog: https://www.gplates.org/news/2023-12-08-GPlates-2-4-released/
Closes: https://github.com/NixOS/nixpkgs/issues/275452

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.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.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 278165 run on aarch64-linux 1

1 package built:

gplates

gplates still reports itself as version 2.3.0, please update the url and the hash.

I'm using fetchFromGitHub and also using the finalAttrs.version in it.


Picture is opened stretched

When you tap a picture in the product view (product, ingredients or nutrition tab), it's displayed stretched to fill the screen. Then if you tap and try to "slide" it a little or zoom in, it comes back in a right way.
Note that the issue was not present in the last version, when the open / zoom was implemented first.

Now it works fine, We can close this issue.


Register module to allow sinatra-asset-pipeline work with classical apps

Added a required register call to enable sinatra-asset-pipeline for classical apps. Follows the advice given in http://www.sinatrarb.com/extensions.html.
Although I agree they're important, I haven't added any tests as it's a good deal of work for a one-liner. Could I suggest that we merge this, and then go about thinking of a testing strategy for classical apps?

@LouisSayers Makes sense. I wonder how one would test this anyway.


Replace generated rFunction with functionalComponent

rFunction has been removed: https://github.com/JetBrains/kotlin-wrappers/pull/462
Affects version pre.206 forward.

Fixed with #22 and released in version 0.5.1.


WIP: Sign staging images using cosign

What type of PR is this?
/kind feature
What this PR does / why we need it:
This should make keyless signing into the staging repositories work.
Which issue(s) this PR fixes:

None
Does this PR have test?
None

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

None

/test pull-security-profiles-operator-test-e2e

/test pull-security-profiles-operator-test-e2e

Getting closer, but still have no permissions:
> gcloud builds submit --verbosity info --config ./cloudbuild.yaml --project k8s-staging-sp-operator --gcs-log-dir gs://k8s-staging-sp-operator/logs --gcs-source-staging-dir gs://k8s-staging-sp-operator/source
…
+ cosign sign gcr.io/k8s-staging-sp-operator/security-profiles-operator-amd64:12345
Generating ephemeral keys...
Error: signing [gcr.io/k8s-staging-sp-operator/security-profiles-operator-amd64:12345]: getting signer: getting key from Fulcio: fetching ambient OIDC credentials: impersonate: status code 403: {
  "error": {
    "code": 403,
    "message": "The caller does not have permission",
    "status": "PERMISSION_DENIED"
  }
}

main.go:52: error during command execution: signing [gcr.io/k8s-staging-sp-operator/security-profiles-operator-amd64:12345]: getting signer: getting key from Fulcio: fetching ambient OIDC credentials: impersonate: status code 403: {
  "error": {
    "code": 403,
    "message": "The caller does not have permission",
    "status": "PERMISSION_DENIED"
  }
}
make: *** [Makefile:176: image-cross] Error 1
ERROR


Update Tagging for multi-module projects...

Tagging in a multi-module project attempts to create a tag for each module name.
It would be ideal to only tag the root (parent) module.

Fixed in 1.2.4 and 1.3.0-SNAPSHOT


Some package version conflicts

The list of dependent packages you provided does not provide a version number, which leads to the direct installation of the latest package and some conflicts of dependent packages. For example, installing the latest tianshou package conflicts with the required gym<=0.18.3. Could you please provide a requirement file for reference?

Hi Jiayi,
I have checked that we use tianshou==0.4.2 in our experiments. I will include a requirement.txt in this repo as soon as I can. Thanks for pointing out that!

Hi Jiafei
Thank you very much for your reply, the problem has been solved.


Update manualData.json

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
118

Relevant Lines:
1961

💛  - Coveralls


[WIP] Use repository/ subdirectory to store contents

Fixes #129
Using a subdirectory allows us to mount the contents of the repository
from a volume instead of copying it.

Ja I was wondering what to do on binder(hub). Indeed people will expect the file viewer to show the directory containing the repo. Same when they open a terminal. Not sure I think (2) is a feature or a bug :-/
I like the idea of a command line argument. I started this as a way to find out how much stuff breaks ;)

:D I agree that any hardcoding of $HOME (or ${HOME}) in the code should have been parameterized from the beginning. Would've made this easier...

Seems to mostly be replacing binder_path(fname) with repo_path(fname)

@betatim where are we on this one? It's unclear to me if there's a path forward on the PR or if we're waiting for something else to change in binderhub?

The way forward is to implement this as a command-line option for repo2docker. binderhub won't change. I will try and get this to "merge me please" stage this week.

@betatim do you think this is still needed now that we support mounting volumes in arbitrary locations?

Closing this for now, I think this PR is abandoned.
Not sure mounting arbitrary volumes will help with my original use case? I want a rw mount of my local repo inside the container. If you use the existing mount support you will still lose whatever is in all the other subdirectories of the home directory.


ADDED: 14 lung disease

Description
(Write your answer here.)
Checklist

[X] I've read the contribution guidelines.
[X] I've checked the issue list before deciding what to submit.
[X] I've edited the README.md and link to my code.

Related Issues or Pull Requests
closes issue #615

@khusheekapoor @karthikbhandary2


Sync master with release-1.2.0 branch

Purpose

$subject

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

Closing this since it has an accidental merge commit


Feature Request: Add Performance Tier on the Disks Tab

Hey,
Can you add the Performance Tier column after the SKU column in the disk tab?
Thank you

Hello,
Sure we can!
I added that and a few more to be released with version 3.5.13 this week

Thanks a lot!
I can't wait for the release

Hi @tinathou972
Sorry about that, it was my bad, I ended up configuring the wrong property in that column. Please uninstall the version 3.5.13 and install the new version 3.5.14 and it should work fine now:

Hey @Claudio-Merola,
Thanks for your reply.
Cannot see the v.3.5.14.
I'm waiting and test it out when it's here.
Best regards

Hi @tinathou972
Did you were able to test it?
Thanks

Hello @Claudio-Merola,
Didn't see you update the code.
I'm testing it out and I'll give you a feedback.
Thanks

Hey @Claudio-Merola,
The performance tier column is empty for me,
Do I have to activate something on my tenant?
I launch the script with Invoke-ARI -TenantID
Thanks

Performance Tier will only appear for HyperV Generation 2.
The Disks in your environment are HyperV Generation 2 or 1?

Hello,
I don't know so I made a little fonction to deduce the performance tier thanks to Disks size and sku.
Thanks


How to specify logo for use by Documenter plugin?

specifically, i believe a logo is an assets that should not  get added to the HTML in makedocs in docs/make.jl

i'd like to include a .png logo in the docs
to do this i think we need

the png to exist  in docs/src/assets/logo.png
the .png must  not be mention in the assets inmakedocs(; format=Documenter.HTML(; assets=[...]), ...) (as this seems to make Documenter unhappy, and causes make.jl to error with ERROR: LoadError: Unrecognised asset class unknown for assets/logo.png`. I think this is intended behaviour.)

Using Documenter{GitLabCI}(assets=["foo.ext"]) adds "foo.ext" to assets in HTML/makedocs.
Quoting the Documenter.HTML  docs:

For the logo, Documenter checks for the existence of assets/logo.{svg,png,webp,gif,jpg,jpeg}, in this order. The first one it finds gets displayed at the top of the navigation sidebar. It will also check for assets/logo-dark.{svg,png,webp,gif,jpg,jpeg} and use that for dark themes.

So if I'm reading this correctly, the fix is to offer a logo keyword to Documenter, then copy that file into the assets directory but not include the logo file in the assets value to makedocs?


Crash when custom cell

When i register cell using UINib is crashed

the element inside the cell is not getting initialized, resulting crash.

cannot add imageview in a custom cell. It is crashed in different code lines

@brennohayden thats good man:)


Various

This PR can be rerun until it fails. There are examples which shouldnt build right now.

This PR apparently fixes issues when booting on GCE, mostly due to misaligned LU virtual storage area


Problem with changing background color

Issue created, after reddit comment:
I like hard version of dark mode, but want to have black background.
vim.g.gruvbox_contrast_dark = "hard"
vim.cmd("let g:gruvbox_colors = { 'dark0_hard': ['#000000', 0] }")
vim.o.background = "dark"
vim.cmd([[colorscheme gruvbox]])

I tried also
vim.cmd("let g:gruvbox_colors = { 'bg0': ['#000000', 0] }")
But neither variant works. Is there working version of this command, or it's disable for your port (or is better way to do this with lua, than vim.cmd)?
vim.g.gruvbox_colors = "bg0: ['#000000', 0]"
Doesn't do anything either.

hey @syntezoid thanks for the issue
It's kinda strange because i dont see that behaviour on my side
ive tested 2 scenarios:
default dark mode
  vim.g.gruvbox_contrast_dark = "hard"
  vim.cmd([[colorscheme gruvbox]])

This uses #282828  as bg color

  -- skipping custom contrast setting
  vim.cmd([[colorscheme gruvbox]])

This uses #1d2021 as bg color

Let me know if it makes sense

@ellisonleao Hi,
vim.o.background = "dark"
vim.cmd([[colorscheme gruvbox]])

It's a medium (default dark) mode and it's background color isn't #282828?

vim.g.gruvbox_contrast_dark = "hard"
vim.o.background = "dark"
vim.cmd([[colorscheme gruvbox]])

I prefer hard mode version of dark mode, which if I understand background color is #1d2021.
I wanted to have black (#000000) background color, instead of default #1d2021 for hard version.
I tried to create command, which change it's bg color to black
vim.cmd("let g:gruvbox_colors = { 'dark0_hard': ['#000000', 0] }")

ah, i see the problem, sorry for the miscommunication, the problem is that we still dont support the full palette override as the main script does, so you can just rely on the g:gruvbox_ configs for now, which seems to be working with the current backgrounds as expected.
I will keep this issue opened until we support that

If your terminal emulator supports customizing the background (I use Alacritty and semi-transparent BG) you can have some control over your BG by setting the "guibg" and "guifg" to NONE. The BG should now be whatever your terminal emulator supports. Not precisely a solution but I hope it helps!
hi! Normal ctermbg=NONE guibg=NONE
hi! NonText ctermbg=NONE guibg=NONE guifg=NONE ctermfg=NONE

@justintime4tea When I add these line, I see this error [2021-06-10 10:32:57.797006482] [ERROR] [alacritty_config_derive] Unable to load config "/home/syntezoid/.config/alacritty/alacritty.yml": Config error: while parsing a block mapping, did not find expected key at line 817 column 1

@justintime4tea When I add these line, I see this error [2021-06-10 10:32:57.797006482] [ERROR] [alacritty_config_derive] Unable to load config "/home/syntezoid/.config/alacritty/alacritty.yml": Config error: while parsing a block mapping, did not find expected key at line 817 column 1

These are to be added to your vim configuration (some dot vim file either init or one you source from init) not to be added to alacritty.

Och, ok. sorry for misunderstanding. Hmm I added those line, but do something wrong, because, nothing changed
cat ~/.config/nvim/init.lua
-- prevent typo when pressing `wq` or `q`
vim.cmd[[
  cnoreabbrev <expr> W ((getcmdtype() is# ':' && getcmdline() is# 'W')?('w'):('W'))
  cnoreabbrev <expr> Q ((getcmdtype() is# ':' && getcmdline() is# 'Q')?('q'):('Q'))
  cnoreabbrev <expr> WQ ((getcmdtype() is# ':' && getcmdline() is# 'WQ')?('wq'):('WQ'))
  cnoreabbrev <expr> Wq ((getcmdtype() is# ':' && getcmdline() is# 'Wq')?('wq'):('Wq'))
]]

--vim.cmd("setlocal spell spelllang=pl")

-- change cwd to current directory
vim.cmd("cd %:p:h")

-- load plugin manager first
require("plugins._packer")

vim.cmd("hi! Normal ctermbg=NONE guibg=NONE")
vim.cmd("hi! NonText ctermbg=NONE guibg=NONE guifg=NONE ctermfg=NONE")

-- plugin for colors HEX, rgb etc
vim.cmd('set termguicolors')
require'colorizer'.setup()

-- theme
vim.g.gruvbox_contrast_dark = "hard"
--vim.g.gruvbox_colors = "bg0: ['#000000', 0]"
vim.o.background = "dark"
vim.cmd([[colorscheme gruvbox]])

-- Example config in Lua
--vim.g.tokyonight_style = "night"
--vim.g.tokyonight_italic_functions = true
--vim.g.tokyonight_sidebars = { "qf", "vista_kind", "terminal", "packer" }
-- Change the "hint" color to the "orange" color, and make the "error" color bright red
--vim.g.tokyonight_colors = { bg = "#000000" }
-- Load the colorscheme
--vim.cmd[[colorscheme tokyonight]]

require'telescope'.load_extension('zoxide')

vim.cmd('autocmd BufWritePost plugins.lua PackerCompile')

local function setup_servers()
  require'lspinstall'.setup()
  local servers = require'lspinstall'.installed_servers()
  for _, server in pairs(servers) do
    require'lspconfig'[server].setup{}
  end
end

setup_servers()

-- Automatically reload after `:LspInstall <server>` so we don't have to restart neovim
require'lspinstall'.post_install_hook = function ()
  setup_servers() -- reload installed servers
  vim.cmd("bufdo e") -- this triggers the FileType autocmd that starts the server
end

-- telescope
require('telescope').setup{
  defaults = {
    vimgrep_arguments = {
      'rg',
      '--color=never',
      '--no-heading',
      '--with-filename',
      '--line-number',
      '--column',
      '--smart-case'
    },
    prompt_position = "bottom",
    prompt_prefix = "> ",
    selection_caret = "> ",
    entry_prefix = "  ",
    initial_mode = "insert",
    selection_strategy = "reset",
    sorting_strategy = "descending",
    layout_strategy = "horizontal",
    layout_defaults = {
      horizontal = {
        mirror = false,
      },
      vertical = {
        mirror = false,
      },
    },
    file_sorter =  require'telescope.sorters'.get_fuzzy_file,
    file_ignore_patterns = {},
    generic_sorter =  require'telescope.sorters'.get_generic_fuzzy_sorter,
    shorten_path = true,
    winblend = 0,
    width = 0.75,
    preview_cutoff = 120,
    results_height = 1,
    results_width = 0.8,
    border = {},
    borderchars = { '─', '│', '─', '│', '╭', '╮', '╯', '╰' },
    color_devicons = true,
    use_less = true,
    set_env = { ['COLORTERM'] = 'truecolor' }, -- default = nil,
    file_previewer = require'telescope.previewers'.vim_buffer_cat.new,
    grep_previewer = require'telescope.previewers'.vim_buffer_vimgrep.new,
    qflist_previewer = require'telescope.previewers'.vim_buffer_qflist.new,

    -- Developer configurations: Not meant for general override
    buffer_previewer_maker = require'telescope.previewers'.buffer_previewer_maker
  }
}

You probably need to do that after loading your color scheme. I imagine those would be set by a color scheme.
Also you can try running them in vim (using :) prior to using them in your unit to confirm it works for you and then add to init.

@justintime4tea it works if executed manually, but does nothing when placed in config file, even if execute 'colorscheme gruvbox' is at the beginning and execute 'hi! Normal ctermbg=NONE guibg=NONE' is at the end.

hey guys, i've just pushed a new config system, which i hope to solve this issue. Unfortunately the overrides are just for the highlight groups now. Can you check latest README and see if it will solve the issues for now?

Before update

vim.opt.background = "dark" -- or "light" for light mode
vim.g.gruvbox_contrast_dark = "hard"
vim.cmd([[colorscheme gruvbox]])

After update

vim.o.background = "dark" -- or "light" for light mode
-- setup must be called before loading the colorscheme
-- Default options:
require("gruvbox").setup({
  undercurl = true,
  underline = true,
  bold = true,
  italic = true, -- will make italic comments and special strings
  invert_selection = false,
  invert_signs = false,
  invert_tabline = false,
  invert_intend_guides = false,
  contrast = "hard", -- can be "hard" or "light"
  overrides = {
    },
})
vim.cmd([[colorscheme gruvbox]])

Why colors are so different? Is actual hard contrast not the same as old?

Hmm, if I search for something, it's not correctly highlighted:
Before update

And after update

Hey @roland-rollo thanks for raising the issue. Can you open another issue so we can track there please?

hey @roland-rollo just fixed the issue here

Yup, highlight it's fixed. Thanks, mate!
For your question about changing background color. I don't know how. :P
For dark hard version it's originally located in gruvbox.nvim/lua/gruvbox/palette.lua as dark0_hard = "#1d2021" but I tried few option without result.
  overrides = {
      dark0_hard = {bg = "#ff9900"}
    },

  overrides = {
      GruvboxBg1 = {bg = "#ff9900"}
    },

 overrides = {
      bg0 = {bg = "#ff9900"}
    },

I'm dumb...
  overrides = {
      Normal = {bg = "#000000"}
  },

Is the answer.


Update checksums (etcd calico calico-cni weave) to fix uploads.yml

the uploads.yml playbook was broken with checksum mismatch errors in various kubespray commits, for example, 3bfad5ca735169c8f800864156a3c0d4d5a76df7 which updated the version from 3.0.6 to 3.0.17 without updating the corresponding checksums.
Fixes: #1583

I think this is ready for review. Thanks

ci check this


Is opening OAuth Authorization Url in Browser broken on windows due missing url escaping?

Hey @danielgtaylor and other maintainers,
Description
I noticed that the oauth code flow seems to break when opening the authorization URL with the default browser on windows (10). I observe that the browser opens a URL with wrong http query params since my IDP returns such an error.
We do use the exact same config restish config (target api+oidc settings) for mac and linux which works flawlessly.
Reproduction scenario
Prerequisite

You need access to a functional setup of an oauth secured (code flow) API.
You need a windows machine (I used windows 10)
Use resting v0.20 (latest as of issue date)

Steps

You add the given api to restish config per tui wizard or add it to the restish api json - and call the api "petstore".
execute restish petstore --help to start the authentication before restish would then opt to download the openapi spec.

Observed behavior
You should see an error from your OAuth IDP now, since the URL query params (client_id, and other mandatory defaults of oidc) necessary for the authorization request were omitted.
(Remark: Manually copy/pasting the authorize URL printed on the stdout by restish does work)
Hypothesis
While the authorizeURL seems to be a properly URL encoded string, it seems windows' cmd open https://mydomain.auth.us-east-1.amazoncognito.com/oauth2/authorize?response_type=code&client_id=1example23456789&redirect_uri=https://www.example.com&state=abcdefg&scope=openid+profile needs extra string escaping to not drop http query parameters when opening a URL with the default browser .
Expected
Any authentication flow (initial or after token expiry) on Windows should open the browser without dropping http url query params.
Once the URL is passed to the open function, as shown below, the open function handler should escape the url as expected by each platform (specifically windows seems to need special care) so nothing of the stringified URL gets modified or cut off mistakenly.
https://github.com/danielgtaylor/restish/blob/d16bdd717c3a73efbda8ba48a3af6bf8f5995b67/oauth/authcode.go#L271
https://github.com/danielgtaylor/restish/blob/d16bdd717c3a73efbda8ba48a3af6bf8f5995b67/oauth/authcode.go#L143-L144
Solution
I'd be great if the community could focus on confirming the hypothesis / bug first.
Subsequently, both my Windows and Golang skills are virtually in-existent, but I might be able to contribute even to I think for someone experience it'd be a fairly quick and easy thing to fix. I'd be happy to test a experimental build of the community if who-ever may provide a fix had no access to a windows box.
Generally I appreciate restish a lot. Thanks for this great tool!

@danielgtaylor : thanks for your review and merge into main. Just wondering if there's a rough target date after which this fix is shipped as part of a downloadable release of compiled binaries?
BR, Dominic


java.lang.ClassNotFoundException is thrown when creating a new class instance after main thread has finished

steps
sbt version: 1.3.0
scala version: 2.12.9
problem
java.lang.ClassNotFoundException is thrown when creating a new class instance in non-main thread after main thread has finished.
package sbttest

object App {
	def main(args: Array[String]): Unit = {
		new Thread {
			override def run(): Unit = {
				Thread.sleep(1000)
				new A
			}
		}.start()
	}
}

class A

[info] running sbttest.App
[error] (Thread-2) java.lang.NoClassDefFoundError: sbttest/A
[error] java.lang.NoClassDefFoundError: sbttest/A
[error]         at sbttest.App$$anon$1.run(App.scala:8)
[error] Caused by: java.lang.ClassNotFoundException: sbttest.A
[error]         at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466)
[error] bt-test at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:566)
[error] 	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
[error] 	at sbttest.App$$anon$1.run(App.scala:8)

expectation
It should work.
notes
The test case works correctly if I downgrade sbt to version 1.2.8 or change it so main waits for the created thread to end (.join()).

@marq this is intentional change. You can revert to the sbt 1.2.8 behavior by running sbt with -Dsbt.classloader.close=false.

Well, I wish this was easier to find. I've spent hours to find out why my application is crashing after updating sbt. I'm closing this then.

Apologies. This should have been in the release notes. @eed3si9n can we add this?

@eatkins sure. if you could email me the wording, and I'll edit the blog.


checkV download broken

Installing sphae on a new machine.
I got an error with sphae install - checkV download issue.
Looks like the issue is known https://bitbucket.org/berkeleylab/checkv/issues/108/issue-when-downloading-checkv-db
Manual solution suggested until the developers solve it.
# download the tarball
wget https://portal.nersc.gov/CheckV/checkv-db-v1.5.tar.gz
# extract tarball
tar xvf checkv-db-v1.5.tar.gz
# make diamond db
diamond makedb \
  --in ${PWD}/checkv-db-v1.5/genome_db/checkv_reps.faa \
  --db ${PWD}/checkv-db-v1.5/genome_db/checkv_reps \
  --threads 1 \
  1> /dev/null \
  2> ${PWD}/checkv-db-v1.5/genome_db/checkv_reps.log

George

Looks like this issue was fixed on checkv end. I am now able to download checkv database with sphae install command. But I was running into another error when running sphae run command.
CheckV v1.0.1: completeness
[1/8] Skipping gene calling...
[2/8] Initializing queries and database...
[3/8] Running DIAMOND blastp search...
/bin/sh: line 1: 401169 Segmentation fault      (core dumped) diamond blastp --outfmt 6 --evalue 1e-5 --query-cover 50 --subject-cover 50 -k 10000 --query example/PROCESSING/assembly/flye/nanoreads-sr/checkv/tmp/proteins.faa --db /scratch/user/nala0006/spae-paper/sphae/sphae/workflow/databases/checkv-db-v1.5/genome_db/checkv_reps.dmnd --threads 1 > example/PROCESSING/assembly/flye/nanoreads-sr/checkv/tmp/diamond.tsv 2> example/PROCESSING/assembly/flye/nanoreads-sr/checkv/tmp/diamond.tsv.log
DIAMOND task failed. Program should be rerun.
Exiting because a job execution failed. Look above for error message
Fixed this by reverting to diamond v2.18 in the yaml file. I will push this version soon along with other updates.

Resolved in v1.3.3


on_reconnect doesn't get called on reconnect

Details: https://phabricator.wikimedia.org/T86771
this code: https://github.com/huggle/XMLRCS/blob/master/src/ws2r/ws2r.py
has function on_reconnect which is meant to be called when connection is lost and re established, it however never gets called (I inserted extra prints there to debug it). What is wrong there? How do I configure socket.IO to reconnect properly when connection is lost and catch that event somehow? Thank you

This is a debug log
WARNING:socketIO_client:[connection error] connection closed ()
DEBUG:socketIO_client: [disconnect]
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): stream.wikimedia.org
DEBUG:requests.packages.urllib3.connectionpool:"GET /socket.io/1/ HTTP/1.1" 502 181
WARNING:socketIO_client:[waiting for connection] unexpected status code (502)
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): stream.wikimedia.org
DEBUG:requests.packages.urllib3.connectionpool:"GET /socket.io/1/ HTTP/1.1" 502 181
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): stream.wikimedia.org
DEBUG:requests.packages.urllib3.connectionpool:"GET /socket.io/1/ HTTP/1.1" 502 181
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): stream.wikimedia.org
DEBUG:requests.packages.urllib3.connectionpool:"GET /socket.io/1/ HTTP/1.1" 502 181
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): stream.wikimedia.org
DEBUG:requests.packages.urllib3.connectionpool:"GET /socket.io/1/ HTTP/1.1" 502 181
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): stream.wikimedia.org
DEBUG:requests.packages.urllib3.connectionpool:"GET /socket.io/1/ HTTP/1.1" 200 89
DEBUG:socketIO_client:[transports available] websocket xhr-multipart htmlfile jsonp-polling flashsocket xhr-polling
DEBUG:socketIO_client.transports:[transport selected] websocket
DEBUG:socketIO_client.transports:[packet received] 1::
DEBUG:socketIO_client: [connect]
DEBUG:socketIO_client.transports:[packet sent] 2:::
DEBUG:socketIO_client.transports:[packet received] 2::
DEBUG:socketIO_client: [heartbeat]
DEBUG:socketIO_client.transports:[packet received] 2::
DEBUG:socketIO_client: [heartbeat]
DEBUG:socketIO_client.transports:[packet sent] 2:::
DEBUG:socketIO_client.transports:[packet received] 2::
DEBUG:socketIO_client: [heartbeat]

There is a pull request that fixes this issue.  What happens if you use the version of socketIO_client from trunk?

yes that seems to fix it

I've not seen an improvement with that patch.
What does work is pushing the heartbeat through to the transport layer.
https://gerrit.wikimedia.org/r/#/c/185200

indeed, but since I updated to "master" branch that python application always at least crashes when connection fails :) which is good enough for me, I just needed somehow to detect that connection failed and that I wasn't able so far as it stucked doing nothing

by "crashed" I just mean it exits with no message

Thanks!


Introduce GBNF grammar parameter: run flags, REPL and API

This patch adds full support for the llama.cpp "grammar" option, which defaults to "" i.e. no grammar constraint.
For backwards compatability, the existing format parameter remains available in flags, the REPL and the API. Only one of grammar or format at a time is legal, since format: json is just a shortcut for the hard-coded JSON grammar.
Tested locally:
$ ./ollama run mistral-openorca --grammar-file json-two-string-array.bnf \
  'Write the result of "3+5" followed by the english spelling of the number, as two JSON strings'
["8", "Eight"]

$ ./ollama run mistral-openorca --grammar ' root ::= "[" [0-9]+ ", \"" [a-z]+ "\"]" ' \
  'Write the result of "3+5" followed by the english spelling of the number, as a json number and a json string'
[8, "eight"]

This more or less conflicts with #2404 which instead decided to go with an Options, which AFAICT is more geared towards creating derived models with an embedded grammar, whereas this patch is more about runtime override. It would be nice to eventually converge on something that does both, but today the concept of "format", which is very limiting (list of well-known formats and only JSON today), is not an Options but a top-level parameter and I wasn't sure how to make this play nice with #2404 without too many changes.

Bug report when testing:
When provided with an invalid grammar (for the llama.cpp backend) it will stop stop responding to new requests to generate. It seems like ollama does not detect that it has failed and will infinitely wait for tokens.

Bug report when testing:
When provided with an invalid grammar (for the llama.cpp backend) it will stop stop responding to new requests

Yeah in fact it literally segfaults and dumps core. However fixing this is beyond the scope of this PR as ollama itself can't do validation. It should however gracefully handle this failure.

I would suggest making a simple stand alone GBNF grammar validator based on llama.cpp sources (as a C-exported function, that can be linked and used directly by ollama with a cgo-binding) and pre-validate the grammar before invoking llama.cpp. Simple to do, and essential if llama.cpp does not graciously handle invalid grammars itself.

Hey all, I know there's an automated ping here but just to better align everyone please check out and comment on my new call to the Ollama team for clarity here. As always please be civil and stay on topic! 😄 - https://github.com/ollama/ollama/issues/6237

Hey! Thank you for contributing! Going to close this out as we're supporting structured outputs through https://github.com/ollama/ollama/pull/7900
Left a comment with some background as well: https://github.com/ollama/ollama/issues/6237#issuecomment-2518836758
Thanks!


Loading forces fails with AttributeError: 'NoneType' object has no attribute 'get_score_piece'

In order to reproduce this bug, checkout #76 to fix an ms3 bug in the discovery of scores containing forces.
The error message occurs for this corpus_data.zip when executing python annotate.py --label-type dcml --checkpoint checkpoints-beat-best -l annotate.log -i ~/corpus_data -o ~/corpus_data --forces ~/corpus_data/MS3.
Getting harmony for pieces:   0%|                                                                       | 0/5 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "~/harmonic-inference/annotate.py", line 378, in <module>
    annotate(
  File "~/harmonic-inference/annotate.py", line 185, in annotate
    state, estimated_piece = model.get_harmony(piece, **forces_dict)
  File "~/harmonic-inference/harmonic_inference/models/joint_model.py", line 789, in get_harmony
    self.kppm_post_processing(state)
  File "~/harmonic-inference/harmonic_inference/models/joint_model.py", line 1605, in kppm_post_processing
    piece = state.get_score_piece(
AttributeError: 'NoneType' object has no attribute 'get_score_piece'

Can confirm that I can reproduce this error. Will look at it Friday or (more likely) Monday. Let me know if that's too late for you, and I'll see what I can do sooner.
PS. Nice issue title.

This one will take a bit longer to debug. My Monday estimate is probably most likely.

Let me know if that's too late for you, and I'll see what I can do sooner.

No worries, I'm not working on a schedule. Thanks for looking into this, looking forward to trying it out!

I found 2 missing indexes and fixed them. This seems to work now after the most recent 2 commits on the output branch.

Yep it's working, thanks.


Create Utility Library of Agent Functions

A lot of the agents perform similar sub-functions like calculate_features. We should probably put together in some common utility library.

This issue has been stale and non-specific long enough, I'm just going to kill it.


Remove EntityEncoder[Char] and EntityEncoder[Byte]

Just because they're possible doesn't mean they're useful.  It's
doubtful anybody is encoding a single char or byte in this way, so let's
not tempt the Ambiguous Implicit Fates.
Proposed by @bryce-anderson in #711.

Best route of changes: all red. 👍 If travis is happy with it.


import error, I already cd ops & sh make.sh # compile deformable attention

Sorry to bother you. I already cd ops & sh make.sh # compile deformable attention in segmentation part
When I run train.py in the segementation part, it has an error.
Can you help me to solve it?
Traceback (most recent call last):
File "train.py", line 11, in
import mmseg_custom   # noqa: F401,F403
File "/root/ViT-Adapter/segmentation/mmseg_custom/init.py", line 3, in
from .models import *  # noqa: F401,F403
File "/root/ViT-Adapter/segmentation/mmseg_custom/models/init.py", line 2, in
from .backbones import *  # noqa: F401,F403
File "/root/ViT-Adapter/segmentation/mmseg_custom/models/backbones/init.py", line 2, in
from .beit_adapter import BEiTAdapter
File "/root/ViT-Adapter/segmentation/mmseg_custom/models/backbones/beit_adapter.py", line 16, in
from .adapter_modules import SpatialPriorModule, deform_inputs
File "/root/ViT-Adapter/segmentation/mmseg_custom/models/backbones/adapter_modules.py", line 8, in
from ops.modules import MSDeformAttn
ModuleNotFoundError: No module named 'ops.modules'

have you solved it? I meet the same issue.

Hi, maybe you can try to run the command:
export PYTHONPATH=\your\path\to\dir
replace \your\path\to\dir by your path to the segmentation dir and run the code again.

If you meet dist_train.sh: Bad substitution when using cmd sh dist_train.sh, you can try bash dist_train.sh.

Met the same issue, how to resolve it?


use SCSI disk device on OpenBSD

tried:

SCSI (virtualbox crashes)
SATA (virtualbox crashes)
NVMe (not supported)
virtio (disk not found by the installer)


Update all docker container references

Followup to #1011
This updates documentation and scripts to use the new docker tagging scheme
required by our move from docker hub to the github container registry.

[x] Tests added for any new code
[x] Ran make fmt-fix (or had formatting run automatically on all files edited)
[x] Documentation added for any new functionality
[x] Entry added to UNRELEASED.md for any new functionality

Once this is merged, I'll deprecate our dockerhub account.


Include internal hashid state into the picking state

I hit the same issue as in #55 with django-cacheops and django-hashid-field.
Unfortunately for me, that enable_hashid_object=False "workaround" can't be applied in my case, but I've found that if you include self._hashids attribute into the pickled state, hashid objects can be successfully deserialized from the cache provided by django-cacheops.
As a side thought: the actual fix might be that some other attribute is now excluded from the pickled representation, but I'm not exactly sure what else can affect this behavior in here.
Please note that this is a breaking change as it changes pickling behavior.

My apologies, I'm converting it back to draft to ensure that this change works correctly

Just a note that I haven't missed or forgotten this, just haven't had time to do a deep dive into what's going on with django-cacheops. However, pickling the _hashids object (which is an instance of the Hashids library object) doesn't have the right smell. But I could be wrong. Won't know until I have some time to dedicated to this. Hopefully soon.

I have merged this in, and tested the behavior of unpickling old pickled objects, and it looks like it's fully backwards compatible. So unpickling should no longer need to recompute the hashid. Sorry for the delay.


[Gekidou] Fix alignment of custom status

Ticket Link
https://mattermost.atlassian.net/browse/MM-43942
NONE

Successfully building:
https://circleci.com/gh/mattermost/mattermost-mobile/22170
https://circleci.com/gh/mattermost/mattermost-mobile/22169

Artifact links:
https://output.circle-artifacts.com/output/job/c0093f1d-2a54-4021-b2ff-1d991c1c5af6/artifacts/0/tmp/artifacts/Mattermost_Beta.apk
https://output.circle-artifacts.com/output/job/94739b4c-47ef-4a18-8e9e-1b7516efd536/artifacts/0/tmp/artifacts/Mattermost_Beta.ipa


2019-12-06 Steady State Models M1SS, M2SS, M3SS must not require parameter computation for KEL related parameters

Testing with M1SS, M2SS and M3SS (linked with Issues #86, #88, #89, #90, #91) indicates that the steady state models require KEL parameter and KEL FLags selections. This must be relaxed.

All of the issues mentioned above have been closed, so please let know what action is needed to resolve this issue, Please provide an example of where SS models require KEL to be there because as of now this doesn't seem to be occurring as frequently as it did previously.

Currently cannot directly confirm that issue is completely addressed. Will retest with blocking issues from development milestone 1 for 2.0.1 application evaluation  and reopen as needed.


The UT needs a TRC in the trust DB

Git bisect showed that we broke a UT in 2b09bca57313b27e6cb1b443e8b0040fb2c8be39 .
This fix adds a valid TRC in the trust DB so that the validation won't fail because a TRC not found.

This change is

Out of curiosity, how was it working till now?

There was one UT failing on signhelper_test.go, because it couldn't verify two positive cases (due to the lack of a TRC).
Before the changes from that commit, there was no check for the TRC upfront, and thus the UT didn't need a TRC in the DB.


Added my user to pixel.json

Checklist

[x] I ran npm test locally and it passed without errors.

[x] I only edited the _data/pixels.json file.

[x] I entered the username in the pixels.json that I'm also using to create this pull request.
[x] I acknowledge that all my contributions will be made under the project's license.

How often do mergers occur on this project? Want to pass the TwilioQuest level 😓


Documentation: necessity of meta.mainProgram

Problem
The documentation for meta.mainProgram says: "must be set when appropriate".
https://github.com/NixOS/nixpkgs/blob/5223d1f86aab688bf05c6069b87be5f662d84eac/pkgs/README.md?plain=1#L387
What does it mean for meta.mainProgram to "be appropriate"?
Proposal
My guess is that meta.mainProgram is "appropriate" in one of the two cases:

When the main binary exposed by the package is different than the attribute name in Nixpkgs.
For instance, the Nixpkgs attribute ripgrep exposes a main binary rg, so it should definitely have meta.mainProgram = "rg".

For any package that exposes a "main" binary.
In this case, even a package like xterm (which is a top-level attribute in Nixpkgs called xterm), would also be required to set meta.mainProgram = "xterm".

(The inverse question would be, are packages required to set meta.mainProgram when the attribute name in Nixpkgs is the same as the main binary name?  If so, this requirement should be clearly documented in the above README.)
Checklist

[X] checked latest Nixpkgs manual (source) and latest NixOS manual (source)
[x] checked open documentation issues for possible duplicates (I only sort of did this.  It is hard to search for mainProgram without getting a bunch of irrelevant issues)
[x] checked open documentation pull requests for possible solutions

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

Let me cc @infinisil, since I'm guessing he would likely know the answer to this (or at least be able to cc someone else who would).

(The inverse question would be, are packages required to set meta.mainProgram when the attribute name in Nixpkgs is the same as the main binary name? If so, this requirement should be clearly documented in the above README.)

meta.mainProgram should be set explicitly when it makes sense. Since 23.11 accesssing meta.mainProgram raises a warning if it wasn't set explicitly.

For any package that exposes a "main" binary.
In this case, even a package like xterm (which is a top-level attribute in Nixpkgs called xterm), would also be
required to set meta.mainProgram = "xterm".

this is correct

For any package that exposes a "main" binary.
In this case, even a package like xterm (which is a top-level attribute in Nixpkgs called xterm), would also be
required to set meta.mainProgram = "xterm".

this is correct

I interpret that mainProgram is required for any derivation that has something executable in $out/bin

I interpret that mainProgram is required for any derivation that has something executable in $out/bin

not correct.
for example, pkgs.coreutils  has something executable in $out/bin, but it should not have a mainProgram, because what would be the mainProgram of coreutils

@yu-re-ka I agree that coreutils shouldn't have mainProgram
but just out curiosity coreutils actually contians bin/coreutils
nix run nixpkgs#coreutils -- --help
Usage: /nix/store/khndnv11g1rmzhzymm1s5dw7l2ld45bc-coreutils-9.4/bin/coreutils --coreutils-prog=PROGRAM_NAME [PARAMETERS]...
Execute the PROGRAM_NAME built-in program with the given PARAMETERS.

      --help        display this help and exit
      --version     output version information and exit

Built-in programs:
 [ b2sum base32 base64 basename basenc cat chcon chgrp chmod chown chroot cksum comm cp csplit cut date dd df dir dircolors dirname du echo env expand expr factor false fmt fold ginstall groups head hostid id join kill link ln logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup nproc numfmt od paste pathchk pinky pr printenv printf ptx pwd readlink realpath rm rmdir runcon seq sha1sum sha224sum sha256sum sha384sum sha512sum shred shuf sleep sort split stat stdbuf stty sum sync tac tail tee test timeout touch tr true truncate tsort tty uname unexpand uniq unlink uptime users vdir wc who whoami yes

Use: '/nix/store/khndnv11g1rmzhzymm1s5dw7l2ld45bc-coreutils-9.4/bin/coreutils --coreutils-prog=PROGRAM_NAME --help' for individual program help.

GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
Full documentation <https://www.gnu.org/software/coreutils/coreutils>
or available locally via: info '(coreutils) Multi-call invocation'

I would like to throw in, that we should document that mainProgram should not be set to pname which was the previous behaviour.

Note that meta.mainProgram is also used in lib.getExe which has different constraints.
The argument for this I've seen and to which I nowadays agree is that you could guess the mainProgram based on pname (and indeed nix run does this) but, in pure Nix, there is no way to know whether that executable will actually exist in the built store path. pkgs.foo may simply not have a binary under ${pkgs.foo}/bin/foo but lib.getExe would happily return that string. Using the result of that would lead to a confusing error at runtime.
nix run can get away with guessing because it has access to the built path and can then display a sane error message. (Though even there I could see the argument that it probably shouldn't even try to do so.)
Additionally, implicit creation of meta.mainProgram implies that every package A. has executables and B. has an executable that would be considered its "main" program.
I assert that this is not possible to determine automatically and must be done via manual human input.
My conclusion is that meta.mainProgram should explicitly be declared when a main program exists for these reasons, even if it's the same as pname.

I agree with @Atemu on this,

For any package that exposes a "main" binary.
In this case, even a package like xterm (which is a top-level attribute in Nixpkgs called xterm), would also be required to set meta.mainProgram = "xterm".

I agree that this is what it should mean. A PR to the contributor docs would be great :)


Upgrade zzglob to v0.3.1

Description
I released a new zzglob. This had knock-on effects in go.mod that should be uncontentious (splitter uses Go 1.21 to compile).
Changes

go get<EMAIL_ADDRESS>go mod tidy

Testing
No extra testing

I did it again, so you are now getting v0.3.1. 😄


Old Big Int lib

Should change bigint-node to big-integer

All big ints libs are replaced with inner leemon big in implementation in mtproto 2 7dd5345


Error: incompatible versions client[v2.14.3] server[v2.11.0]

Hello team i'm sorry - i have seen a similar thread here, but i think my issue is unique because of rollback version
Describe the bug
I installed helm with these command:
sudo snap install helm --channel=latest/stable --classic
it is installed:
helm (latest/stable) 2.14.3 from Snapcrafters installed
after that i run: helm version
i received:
Client: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
helm list
Error: incompatible versions client[v2.14.3] server[v2.11.0]
ok i tried to upgrade it:
sudo helm init --upgrade
$HELM_HOME has been configured at /home/kbadmin/.helm.
$ helm version
Client: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}
but after a few seconds! i checked it again
and i received:
Client: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
Version of Helm and Kubernetes:
Which chart:
What happened:
What you expected to happen:
I expect it do not automatically downgrade tiller version
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
i 'm even install mysql in few second window between version rollback, but then it again become incomatible in it versions

no one can help me with these issue?

This seems to be answered by this stack overflow question:
https://stackoverflow.com/questions/50701224/helm-incompatible-versions-between-client-and-server


bug: Some or all vim options can't be overriden in options.lua

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.9.5
Operating system/version
Debian
Describe the bug
The docs state that the default options are loaded "before your own" which I understand to mean that anything I place in options.lua will override anything already set. However the following doesn't take effect for me.
vim.opt.formatoptions:remove({ "c", "r", "o" })
echo &formatoptions shows:  rjcroql
Note that the above command when entered manually does work, i.e.
lua vim.opt.formatoptions:remove({ "c", "r", "o" })
Other settings in my options.lua do work but I believe none of these override a lazyvim default.
Steps To Reproduce

Add my formatoptions line to options.lua
Restart nvim
echo &formatoptions to check if the setting was applied

Expected Behavior
My formatoptions would not include c, r & o
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  "folke/LazyVim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

Closing because I believe a plugin is responsibel for this. I am able to override tabstop for example.

Its a duplicate of https://github.com/LazyVim/LazyVim/issues/80#issuecomment-1478662212
Needs to go in an autocommand. Not sure why this is necessary for this option in particular.

@davidnorth
For future reference, if you open Neovim with nvim -V1 and then when you open a buffer, you press :verbose set formatoptions? for example, it will show you the last place the option was set. This way you can find who the culprit is for other options that you might want to change and can't. Setting a FileType autocommand is usually the best way to bypass trouble like this.


AI Renderer not working

Describe the bug
After rendering, nothing changes. In the AI Render Tab, the node "AI Render" is greyed out.
To reproduce
Every time I try to render it.
Expected behavior
No response
Screenshots/video

Environment

AI Render version:
Blender version:
Operating system: (Windows, OS X, etc)

Logs
Traceback (most recent call last):
File "C:\Users\henri\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\AI-Render\task_queue.py", line 12, in execute_queued_functions
function()
File "C:\Users\henri\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\AI-Render\operators.py", line 308, in send_to_api
img = bpy.data.images.load(tmp_filename, check_existing=True)
RuntimeError: Error: Cannot read '/tmp\ai-render-temp/ai-render-1666126304-2-after.png': No such file or directory
Additional information
No response

Looks like a duplicate of #4. You should be able to fix it by clearing out the "temporary files" preference in Blender: https://github.com/benrugg/AI-Render/issues/4#issuecomment-1281347158
I will also be fixing this in a release very soon!

@QuinzyDev by the way, thank you for posting the log!


feat(binding/unbinding) - Services and Repositories required to binding and unbinding apps to this service

Motivation
Add references to relevant tickets or a short description about what motivated you do it. (E.g JIRA: https://issues.jboss.org/browse/AEROGEAR-{} AND/OR ISSUE: https://github.com/aerogear/standards/issues/{})
What
Add an short answer for: What was done in this PR? (E.g Don't allow users has access to the feature X.)
Why
Add an short answer for: Why it was done? (E.g The feature X was deprecated.)
How
Add an short answer for: How it was done? (E.g By removing this feature from ... OR By removing just the button but not its implementation ... )
Verification Steps
Add the steps required to check this change. Following an example.

Go to XX >> YY >> SS
Create a new item N with the info X
Try to edit this item
Check if in the left menu the feature X is not so long present.

Checklist:

[ ] Code has been tested locally by PR requester
[ ] Changes have been successfully verified by another team member

Progress

[x] Finished task
[ ] TODO

Additional Notes
PS.: Add images and/or .gifs to illustrate what was changed if this pull request modifies the appearance/output of something presented to the users.

soing separeted PR as it should be in order to make the review easer as well


CFG minimap/thumbnail

With larger CFG layouts, it is useful to reference which loop you're examining without having to zoom out and zoom back in.  I didn't realize how much I used the minimap/thumbnail from IDA until it was missing.

I think we have an existing bug for this, when I'm not on my phone I will double check and close as a dupe if so.
One thing that isn't quite as useful but is better than nothing is the ability to zoom all the way out and back in very quickly with the mouse wheel. On OS X I believe it's control two finger scroll.

For reference there is a hack get this: https://github.com/nbsdx/binja-ui-tweaks Version 1.2 will add this.

Happy Thanksgiving 🦃🦃 Added in v1.1.1425


Missing LaTeX commands: \land and \lor

DeTeXt doesn't know about \land:

DeTeXt doesn't know about \lor:

I have a guess as the source of the mistake: \land and \wedge are synonymous. Maybe DeTeXt does not correctly import and handle synonymous commands?
See also:

https://tex.stackexchange.com/questions/23792/logical-and-character-in-tex-⋀

The list of LaTeX commands to import can be found here: https://github.com/venkatasg/DeTeXt-Supplementary/blob/main/class_names.txt -- as I suspected, \wedge is present but \land and \lor are missing.
This is the definitive list from what I can tell : https://ctan.org/pkg/comprehensive?lang=en

Yeah I only include commands that are in my training set of images, which are from the Detexify public repository. If I don't have data for a particular command, I don't include those commands since the neural network won't recognize them anyway.

@venkatasg Ok, thanks. What Detexify repository has the training images? Perhaps I can contribute over there.

It isn't actively maintained anymore unfortunately, but here it is: https://github.com/kirel/detexify-data

Beyond training dataset.


tidy up plotting and update plot button

@DanielJMaher @Bobfrat as discussed

@DanielJMaher @oceanzus this also contains the metadata stuff, can we get this merged in pls


The package 'Acr.UserDialogs' tried to add a framework reference to 'System.Collections' which was not found in the GAC. This is possibly a bug in the package. Please contact the package owners for assistance.   Reference unavailable.

package manager log:
Attempting to gather dependency information for package 'Acr.UserDialogs.7.0.1' with respect to project 'App1.Droid', targeting 'MonoAndroid,Version=v7.1' Gathering dependency information took 4,47 sec Attempting to resolve dependencies for package 'Acr.UserDialogs.7.0.1' with DependencyBehavior 'Lowest' Resolving dependency information took 0 ms Resolving actions to install package 'Acr.UserDialogs.7.0.1' Resolved actions to install package 'Acr.UserDialogs.7.0.1' Retrieving package 'Acr.UserDialogs 7.0.1' from 'nuget.org'. Retrieving package 'AndHUD 1.2.0' from 'nuget.org'. Adding package 'AndHUD.1.2.0' to folder 'c:\Users\schov\Documents\Bitbucket\DsmXamarin\packages' Added package 'AndHUD.1.2.0' to folder 'c:\Users\schov\Documents\Bitbucket\DsmXamarin\packages' Added package 'AndHUD.1.2.0' to 'packages.config' Successfully installed 'AndHUD 1.2.0' to App1.Droid Adding package 'Acr.UserDialogs.7.0.1' to folder 'c:\Users\schov\Documents\Bitbucket\DsmXamarin\packages' Added package 'Acr.UserDialogs.7.0.1' to folder 'c:\Users\schov\Documents\Bitbucket\DsmXamarin\packages' Install failed. Rolling back... Package 'Acr.UserDialogs.7.0.1 : AndHUD [1.2.0, ), Xamarin.Android.Support.Design [<IP_ADDRESS>, )' does not exist in project 'App1.Droid' Removed package 'AndHUD.1.2.0' from 'packages.config' Removing package 'Acr.UserDialogs.7.0.1 : AndHUD [1.2.0, ), Xamarin.Android.Support.Design [<IP_ADDRESS>, )' from folder 'c:\Users\schov\Documents\Bitbucket\DsmXamarin\packages' Removed package 'Acr.UserDialogs.7.0.1 : AndHUD [1.2.0, ), Xamarin.Android.Support.Design [<IP_ADDRESS>, )' from folder 'c:\Users\schov\Documents\Bitbucket\DsmXamarin\packages' Removing package 'AndHUD.1.2.0' from folder 'c:\Users\schov\Documents\Bitbucket\DsmXamarin\packages' Removed package 'AndHUD.1.2.0' from folder 'c:\Users\schov\Documents\Bitbucket\DsmXamarin\packages' Executing nuget actions took 3,94 sec Failed to add reference. The package 'Acr.UserDialogs' tried to add a framework reference to 'System.Collections' which was not found in the GAC. This is possibly a bug in the package. Please contact the package owners for assistance.   Reference unavailable. Time Elapsed: 00:00:08.5087820 ========== Finished ==========

Follow the item template if you want help in the future.
Read your error message fully!    Install failed. Rolling back... Package 'Acr.UserDialogs.7.0.1 : AndHUD [1.2.0, ), Xamarin.Android.Support.Design [<IP_ADDRESS>, )' does not exist in project 'App1.Droid' Removed package 'AndHUD.1.2.0' from 'packages.config'
packages.config is the old nuget mechanism that isn't supported any longer.  You need to update to csproj package references

Fix:

Update Visual Studio to 15.8.0
Right click in References -> Migrate packages.config to PackageReference...
Then update Acr.UserDialogs to 7.0.1