ServiceBusExplorer.Setup project is not supported by VS2015 updated 2

Couldn't load the project in VS2015 update 2.
ServiceBusExplorer.Setup\ServiceBusExplorer.Setup.vdproj: The application which this project type is based on was not found. Please try this link for further information: http://go.microsoft.com/fwlink/?LinkId=647009&projecttype=54435603-DBB4-11D2-8724-00A0C9A8B90C

Did you solve the problem?

@paolosalvatori no. I have VS2015 only on my machine.

The installer projects are deprecated in vs2015, you need a separate extension: https://visualstudiogallery.msdn.microsoft.com/f1cc3f3e-c300-40a7-8797-c509fb8933b9
@paolosalvatori moving installers to WiX might be an option http://wixtoolset.org/

Another option as I've outlined here would be Squirrel.Windows

Hi Sean
I've no time to make any change... how do you suggest to proceed? Can you do it please? Thanks!
Paolo

@SeanFeldman try installing the extention I provided

Will do this week when I have some spare time. Unfortunately, I'm on customer site :|

@paolosalvatori not this week. If we decide to go with Squirrel, I'll set some time aside to do it.


Path Error on Buffer

Hi,
On getPixels function, url param may also be a Buffer. But, on dom-pixels.js Line 120, it tries to get the extension from url.
var ext = path.extname(url)
When you send a Buffer as argument, path.extname function gives an error since url is not a string.
There has to be control whether the url is a path or not. typeof url or Buffer.isBuffer(url) may be used here.
var ext = typeof url === "string" ? path.extname(url) : null;
Otherwise, path.extname does not accept Buffer as an argument.

Same issue here...

+1 Can't get this to work.
My console log says I'm passing in
<Buffer ff d8 ff e0 00 10 4a 46 49 46 00 01 01 01 00 48 00 48 00 00 ff db 00 43 00 08 06 06 07 06 05 08 07 07 07 09 09 08 0a 0c 14 0d 0c 0b 0b 0c 19 12 13 0f ... 508 more bytes>

But then I get
Bad pixels path


apply fix for CVE-2018-16469 by npm audit fix

npm reported a vulnerability in merge that is used by commitizen.
This fix is proposed by npm audit fix.

:tada: This PR is included in version 0.5.3 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


Create Object Property identifierAssignedBy

Create an Object Property: identifierAssignedBy to identify the organization who created the identifier. This will link directly back to the Organization class. See the work being done on PESC transcript.

@AEMDuaneBrown , Is there an associated CEDS element for this in the DES or OSC I can point to for a definition and additional metadata?


Initial API Spec

Pull Request
What changed?
Added initial OpenAPI yaml spec for  WP API endpoints
Generated models using openapi-generator
Added command to make file to re-generate models from yaml
Updated composer to reference generated project
Why did it change?
Documenting API specification for WP org API
Did you fix any specific issues?
No specific issues
CERTIFICATION
By opening this pull request, I do agree to abide by the CODE OF CONDUCT and be bound by the terms
of the Contribution Guidelines in effect on the date and time of my contribution as proven by the
revision information in GitHub. I also agree that any previous contributions shall be deemed subject to the terms of the
version in effect on the date and time of this pull request, or any future revisions for pull requests I may submit.
Further, I certify that this work is my own, is original, does not violate the intellectual property of any other person
or entity, and I am not violating any license agreements or contracts I have with any person or entity.
Finally, I agree that this code may be licensed under any license deemed appropraite by AspirePress, including but not
limited to open source, closed source, proprietary or custom licenses, and that such license terms neither violate my
rights or my copyright to this code.
(Please check a box below)
[X] I agree
[ ] I do not agree

Not needed, taking a different approach


Feature/hooks

Resolves #3

Coverage increased (+0.07%) to 77.492% when pulling 6acc6420dcc2ca27bdc2e6c8837997ca6468d21f on feature/hooks into bfebcf15969fcd85ba426865803572e81871e9bd on master.

Coverage increased (+0.07%) to 77.492% when pulling 26b4e0f3830498237accab7c4d8ad28cb4e9b7bf on feature/hooks into bfebcf15969fcd85ba426865803572e81871e9bd on master.

Coverage increased (+0.07%) to 77.492% when pulling 39b38a3e39ec156644d4f04e334493982eb392f0 on feature/hooks into bfebcf15969fcd85ba426865803572e81871e9bd on master.

Coverage increased (+0.07%) to 77.492% when pulling 4a2162de3eb726db211ce8a76e61328f3d0dbaca on feature/hooks into bfebcf15969fcd85ba426865803572e81871e9bd on master.

Coverage increased (+0.07%) to 77.492% when pulling 52def0643782c1e946eac6ba71ddda8b473ad702 on feature/hooks into bfebcf15969fcd85ba426865803572e81871e9bd on master.


Lambda: adds a connective for better readability

In the chapter on lambda calculus, this patch adds the "and" connective after a bullet point for improved readability of the whole sentence.

Honestly, I don't have any strong feelings about this; I think the version without "and" is slightly cleaner.


[ubuntu] fix cmdline-tools parser

Description
Format got changed
Related issue: https://github.com/actions/runner-images/issues/7226
Check list

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

/azp run ubuntu1804,ubuntu2004,ubuntu2204


project_root/submodules build-failure in the dev branch of ocaml-lsp-server

Pinning all your various branches manually and resolving dependencies, we got pretty far — but unfortunately, the very last stage (ocaml-lsp-server) fails with an obscure build-error, pretty much no matter what we do:
#=== ERROR while compiling ocaml-lsp-server.20230116.voodoos-git ==============#
# context     2.1.2 | linux/x86_64 | ahrefs-setup.git ocaml-base-compiler.4.14.0 | file:///home/me/code/monorepo.worktrees/aa/web-split/backend/opam
# path        ~/code/monorepo.worktrees/aa/web-split/_opam/.opam-switch/build/ocaml-lsp-server.20230116.voodoos-git
# command     ~/.system/Dotfiles/opam/opam-init/hooks/sandbox.sh build dune build -j 47 ocaml-lsp-server.install --release
# exit-code   1
# env-file    ~/.system/Dotfiles/opam/log/ocaml-lsp-server-2945551-574694.env
# output-file ~/.system/Dotfiles/opam/log/ocaml-lsp-server-2945551-574694.out
### output ###
# File "ocaml-lsp-server/vendor/dune", line 2, characters 13-70:
# 2 |  (copy_files %{project_root}/submodules/dune/src/ocamlc_loc/*.{ml,mli})
#                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Error: Cannot find directory: submodules/dune/src/ocamlc_loc

<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build ocaml-lsp-server 20230116.voodoos-git
└─

My guess is that you should pin at least ocaml-lspwith--with-version=dev`.
For an easier setup you can use the switch export in https://github.com/voodoos/merlin-occurrences-switch


feat(cache-manager): allow @CacheTTL at the controller level

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/nestjs/nest/blob/master/CONTRIBUTING.md
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior?
When applied at the controller level, the @CacheTTL has no effect.
Issue Number: https://github.com/nestjs/nest/issues/12027
What is the new behavior?
@CacheTTL should have an effect when applied to the controller level, while maintaining its current behavior when applied to the method level.
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

would you like to update the docs as well?

would you like to update the docs as well?

I created this PR: https://github.com/nestjs/docs.nestjs.com/pull/2801

LGTM


CopyToClipboard Component

Description
Task link: https://trello.com/c/xe59l6fQ/248-copy-to-clipboard-button
Added CopyToClipboard component, stories, and tests. Updated exported hooks (backfill from usehooks-ts).
Test Steps

Verify that component and story structure (and logic) is sound.
Verify that component renders appropriately in storybook and in downstream example apps.
Verify that tests pass.
Verify that build includes all hooks from usehooks-ts.

Everything works great. One minor style suggestion: I think setting the icon to have mb={1} looks better than mb={1.5}.
1.5 (current):

1:

What do you think?

Everything works great. One minor style suggestion: I think setting the icon to have mb={1} looks better than mb={1.5}.
1.5 (current):
1:
What do you think?

I agree, I would say even better yet might be make the button a flex container, align items center, and add a gap of 1. Then get rid of the nit picky margin stuff on the Icon component. Let me know your thoughts!


deploy.js

Could you please provide how to deploy.js

Not an issue

Lol you dont want someone else to fork lol


Iveo Tilt position

I would like to refer here to the post by @Edem123456.
I also use 6 iveo roller shutters and would also like to move to the tilt position. That would be really cool.

Hello Frank
my blinds are the Iveo system.  After reintegration in HA, I see options like Set tilt position, Open tilt, close tilt etc. - but these options do not work for me. I can only open or close the roller blind - no intermediate positions.
In the previous integration, the Open tilt and close tilt positions triggered intermediate blind position settings.
When I look at the source code, I miss entries that worked for Iveo, such as:
def moveIntermediatePosition1(self, automatic = False):
    self.executeCommand(CommandType.POSITION_1, automatic)

def moveIntermediatePosition2(self, automatic = False):
    self.executeCommand(CommandType.POSITION_2, automatic)

Unfortunately, I don't know how to complete it or if it's even possible.
The previous integration where it worked for Iveo - it blocks me from updating HA Core (2023.6.3 -> 2023.11.1), so I need to change the integration, but I miss the indirect setting of the roller blinds position.
It would be great if Stefan would be able to help in this case. Thank you in advance for your help.
Regards, Edward
Originally posted by @Edem123456 in https://github.com/Kannix2005/homeassistant-selve/discussions/21#discussioncomment-7490688

Hello,
Same issue for me. I can only move up / down and stop.
I have not found the way to use intermediate positions.
Regards
Cyp

Hello,
I have the same problem. Except for the positions, it works great :)


Limit GIT_TOKEN check to push_manifests target

To prevent the GH action from always passing the GITHUB_TOKEN variable, limit the check on the existence of the GIT_TOKEN variable in the Makefile only for those targets that use it (e.g., as of today only push_manifests)
Tried the following check but did not always succeed:
check-git-token: GIT_TOKEN ?= $(shell cat .git_token)
check-git-token:
ifndef $GIT_TOKEN
ifeq ($(GIT_TOKEN),)
	$(error No Git token found. Please provide it either via the GIT_TOKEN variable or the .git_token file)
endif
endif
	@echo "Validated GIT_TOKEN assignment"

push-manifests: check-git-token prepare-workdir
...

@dmartinol is https://github.com/parodos-dev/serverless-workflows/pull/149 resolving the subject of this issue?


Merge main into develop

Issue #, if available:
Description of changes:
Merged main into develop because develop is several commits behind, and I have various things to contribute (to develop as per AWS guidance).
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

https://github.com/aws-quickstart/quickstart-snyk-security/compare/main...schottsfired:quickstart-snyk-security:develop

Hi @dowen12 , bumping this to the top of your inbox.

Closing for more recent PR


187651915 serialize fire event

Serializes fire events so when user scrubs back on timeline, sparks and current condition inputs are shown.

This branch now also includes features requests in these stories:
#187832506 - increase snapshot interval to 3 years
#187832534 - Skip snapshots if the state of the landscape hasn't changed
#187832518 - Add a snapshot for the end of a fire event to show the burnt areas with the spark markers.
This also has bug fixes for:

Restoring Fire History view on time line scrubbing.
Restarting fire event if it's been paused and timeline has been scrubbed.

All my comments have been addressed by @eireland and myself as part of the work on https://github.com/concord-consortium/forestfire/pull/59. Hence, I am merging this PR into the main branch.


I want to open an issue with a new feature into it

As for the Texas Hold’em has a bar for every entry level, I want to add extra game, Black Jack, for loser to have a second chance

I'm not sure I understand. If this is an ask to put Black Jack into this package, then that won't be possible since this package should be focused exclusively on Texas Hold 'Em and at the very least poker.


Change the file dialog text to black so it is visible when opening new files.

The file dialog text to display files listed in directories is white, and in effect, invisible to the user.It would be helpful to know the name of the file you are clicking on in the menu.

can i work on this issue?

@satyam2912 Sure, go ahead.


XName Properties for OpenXmlElement and OpenXmlAttribute

This pull request (which replaces the feat/xname pull request) contains an additional commit on top of the "Document Extensions" pull request, adding an XName property to both OpenXmlElement and OpenXmlAttribute. This supports integration with projects using Linq for XML.

Replaced by #36


Test Flyway migrations without committing them

What version of Flyway are you using?
4.1.0
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)
Command-line
What database are you using (type & version)?
SQL Server
What operating system are you using?
RedHat Linux
Feature request
Right now we have four stages: development, integration, staging and production.
Flyway is not used in development, since we think that developers create the Flyway migration manually in a DB environment (e.g. DB Visualizer) and then create the Flyway migration.
However, we sometimes get nasty surprises, for instance several SQL commands that work interactively, but fail as Flyway script. (Then we have to insert GO statements for SQL server)
So it would be really nice if databases that support transactions for DDL could test their Flyway scripts. Ideally, this could be done with the Maven plugin during the build: I write a new Flyway script, which is check checked by our CI build server: The Flyway script is new, so the Maven plugin executes it and any other new scripts agains a configured database. All Flyway scripts are run in one transaction which is rolled back after the check.

Wouldn't the group setting be enough to give you the same assurance? In that case all migration are run against the DB. If any statement fails, they are all rolled back.

The group option is already a big step towards the right direction. Basically if there was a commit flag (defaulted to true), that would be all I need.
The problem is that of course DB and software go together. But I'd like to test the Flyway migrations when they are checked in, without necessarily executing them, because otherwise I would be forced to install the software as well.

Can't you simply migrate a test schema for that? This should give you want you want.

In principle that would work, but it would mean yet another DB stage (we alredy have five of them) to manage...

Since Flyway can automatically create schemas for you, all this takes is a configuration setting. I have the feeling that even though the idea of the commit flag sounds simple, it will be full of edge cases (non-transactional statements come to mind) that will further diminish the usefulness of this. Certainly now that DB instances can be easily and reliably provisioned on-demand using Docker. I therefore see the chances of this being implemented close to 0. Closing for now.


All REST exposed config endpoint

References
Add references/links to any related issues or PRs. These may include:

Fixes #9056
Related to DSpace/RestContract#240

Description
This PR adds a new REST endpoint that exposes all configuration variables that have been whitelisted (in config/modules/rest.cfg). It includes an integration test.
Instructions for Reviewers
Go to server/api/config/properties/search/exposed and verify that all config is listed.
I have not tested pagination for this endpoint as I am assuming it is handled by pageable.
Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!

[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & integration tests). Exceptions may be made if previously agreed upon.
[x] My PR passes Checkstyle validation based on the Code Style Guide.
[x] My PR includes Javadoc for all new (or modified) public methods and classes. It also includes Javadoc for large or complex private methods.
[x] My PR passes all tests and includes new/updated Unit or Integration Tests based on the Code Testing Guide.
[ ] If my PR includes new libraries/dependencies (in any pom.xml), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
[x] If my PR modifies REST API endpoints, I've opened a separate REST Contract PR related to this change.
[ ] If my PR includes new configurations, I've provided basic technical documentation in the PR itself.
[x] If my PR fixes an issue ticket, I've linked them together.

@paulo-graca and @J4bbi : Just to clarify, I'd be OK with this getting into 7.6.1.  However, it is lower priority to me as it's not used (yet) by the User Interface -- so it's the start to a performance improvement, but isn't used yet.
I apologize but I haven't had any chance to test/review this as I'm still testing other bug fixes for the 7.6.1 release.  However, if this gets +1 votes, we can still consider it for the 7.6.1 release (due next week).

I can confirm that this PR is working and exposing properties

@paulo-graca , many thanks for your review and my apologies for the late reply
I have had to prioritise other work. I just wanted to confirm that I will respond to this as soon as possible but not sure when exactly.


Update/Delete contact by name

Search and Update/Delete contact by name instead of database _id

@flyg101 would be a nice addition. Once sticky note to be aware of is that search query returns case-insensitive inexact result

Considering values are stored in the database as lower case strings, it shouldn't be much of a problem. Extra steps can be taken if multiple contacts are returned from the query

Sure, you'd considering also that we don't have unique constraints lest you delete/update all fields that match.


[pytket-braket] fix braket results dimension when using QPU devices

My attempt at closing this issue:
https://github.com/CQCL/pytket-extensions/issues/341
Solution I implemented base on @cqc-alec comments was to find the qubits in the compiled circuit and pass those through the results handle so that the correct indices qubit indices are selected on the machine when _get_results is called
Please let me know if you'd like any help with revisions or if you have any general questions

Looks like it failed a typing check for MacOS on my result handle change

QQ: Do you know when you all are planning your next release to PyPi?


Rendering glitch (afterimage) in xref widget

https://user-images.githubusercontent.com/94503187/195772727-88e1b78e-93e1-4bac-8a04-fde52567f984.mov
As we can see from the attached recording, there is a weird glitch in xref widget, when the xref preview is wider than the widget's width. When I scroll to the right, we can see the xref count number is duplicated several times. When I hover my mouse over them, they would disappear. If I scroll back, the xref count number does not show up until I hover over the same position.
This is not a new bug -- it is introduced between the stable 3.0 and stable 3.1. During which time, we did no changes to the xref code. So I somehow think this is actually a Qt glitch.

related to #3466 . Issue #3466 actually shadows this issue that we cannot scroll the xref widget at all. once #3466 is fixed, the current issue becomes noticable

Fixed in 3.6.4570


Feat/gpu support

User provides optional gpu flag in chassis_model.publish(), GPU requirement written to Modzy yaml and passed to Chassis service. Service selects a dockerfile based on this flag, and passes the flag along to the Modzy uploader. Modzy uploader lets Modzy know that it needs to use a GPU instance for this model once deployed. Added version of Torch example notebook with GPU support

addresses https://github.com/modzy/chassis/issues/59


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-k8s-25-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1660

Questions ?
Please refer to the Backport tool documentation


PSReadLine Colors not setting for "Error" (always black text)

VERSION
PowerShell 7.1rc2 (same in version 7.0x)
STEPS to reproduce
Set-PSReadLineOption -Colors @{ "Error" = "Red" }
Set-PSReadLineOption -Colors @{ "Error" = "#AABBCC" }
Set-PSReadLineOption -Colors @{ "Error" = [System.ConsoleColor]::Red }
not changing the color, always leave it black...

@IBIT-ZEE Please report to PSReadline repository.


Pull Requests

Hey, just wondering if you guys are looking for/accepting pull requests into the project?
I've done some work on a fork (static casting between v8.Value and native go types and back, wrapped go objects with prototype handlers for functions and property handling). The changes add quite a bit of boilerplate to the code, but should provide more performance around marshaling data back and forth.
Code is available here: https://github.com/cchamplin/go-v8/commits/stage
Not sure if you're interested in that kind of thing but let me know.

Thanks a lot for the contribution!
Let me go through your fork and see if there are breaking changes for us.

Our functional tests pass.

Thanks again for contributing!

Indeed, the problem is
https://github.com/cchamplin/go-v8/commit/7b78893b6aa267750e8b13c0e94728b95c4b06c3#commitcomment-17442893
On Wed, May 11, 2016 at 3:27 PM Max Grigorev<EMAIL_ADDRESS>wrote:

Our functional tests pass.

Thanks again for contributing!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/fluxio/go-v8/issues/1#issuecomment-218609001

Ah, ya been testing on 1.5. I was hoping to avoid doing a map lookup for the function pointer and wrapper data after we call back into Go (for performance reasons). We're already losing ~160ns every time we traverse between Go and C :-/.
I'll try and get a rework committed in the next day or so. Thanks for the review!

We're already losing ~160ns every time we traverse between Go and C :-/.

Look too high, how did you measure that? Should not be more than a 100 or so instructions.

Thanks for the review!

Thanks for doing the work! :-D

That figure comes from Russ Cox (https://groups.google.com/d/msg/golang-nuts/NNaluSgkLSU/0bq1kXZueCwJ) and Mikael Gustavsson. It's mostly a result of go establishing a global local every time it crosses the go->c boundary


Merge meta.yaml

Signed-off-by: jingfu wang<EMAIL_ADDRESS>This PR merges meta.yaml to devfile.yaml
Related issue: https://github.com/devfile/api/issues/222

This PR should be merged after this PR https://github.com/devfile/registry-support/pull/28 is merged


Excessive spacing taken up when the Name field isn't used.

Describe the bug
When you don't include a value for "name" of the filter, a lot of padding/spacing is left at the top, reducing readability. I use a header so I can reference this block in other notes and for consistent formatting (H2). For me, the "name" field is excessive and reduces clarity.
To Reproduce
Steps to reproduce the behavior:

Create a new note
Copy/paste markdown:

## Today's Focus
```todoist
{
"name": "",
"filter": "##myproject & today",
"sorting": ["priority"],
"group": true
}

Add 3 backticks to the bottom
Turn on Reading mode

Expected behavior
I expect all the content to shift upwards.
Screenshots

Desktop (please complete the following information):

Plugin Version 1.9.0
Obsidian Version 0.14.2

Additional context
Add any other context about the problem here.

This isn't a bug, more of a feature request as we'd need to relocate/optionally disable the refresh button as well. I'll merge this with #156 as they are similar requests!


Nuget Package?

Hi,
Would you mind to provide a NuGet package?
Thanks for your great work!

Hi @markusschaber, thanks for logging this issue!
I will try to create a NuGet packet for this project in the near future.
By the way, may I ask how you found this project and for what scenario you are using the async lock?
Thanks!

I found this project while searching for async readerWriterLock alternatives for .NET Core... :-)
We're currently using AsyncEx library (but only the ReaderWriterLockSlim implementation), and I found the bug report there about the almost-deadlocks with MinThreads... We also had that problem in one of our usecases, and solved it by increasing MinThreads on the Thread pool. We did not switch over to your implementation yet, due to the lack of NuGet packages.
I think it even was in the discussion of the AsyncEx bug reports where I found the pointer to your project...

I would like to have NuGet package too.
I'm using it for a certain HTTP server, which is restarted occasionally, so I need to read-lock all HTTP requests and write-lock the restart procedure.

I can make a nuget. But under what name?
Maybe just "AsyncReaderWriterLockSlim"?
Or should i use the name "kpreisser.AsyncReaderWriterLockSlim"?


Fix a link in package.yaml

The .git is redundant because on hackage the link of Bug tracker would be https://github.com/thoughtbot/yesod-auth-oauth2.git/issues and it is not a valid link.

Thanks!


Implement fills directly on files

When I try to write an array to a file using AttachLauncher, I get this error:
[0 - 7f50c40c8000]    0.435815 {6}{new_dma}: FATAL: multi-hop fill path found for 1e00000000000004 (serdez=0)

from this file in Legion. This is due to fills directly on files not being fully implemented in Legion.
This problem was reported in the mailing list. This is an issue to track the progress.

Assigning to myself at least until I can delegate to somebody.  I'd need to look at the code a bit more to be sure, but I
think the right answer here is to support a multi-hop fill path as a general fallback.  It adds an extra memcpy (but these
are paths that aren't performance-critical) and avoids a bunch of per-channel code changes.

@rauteric I have a commit in a branch that hopefully fixes this.  Are you interested in giving it a try?

Thanks @streichler, if you point me to the branch I can give it a try.

@streichler Has this been fixed? I'm also hitting this when trying to fill a logical region that immediately gets written to disk.

I'm pretty sure this was merged into the main branches quite a while ago.  @rupanshusoi what is the exact error message you're getting, and what version/commit of Legion are you using?

Ah I was just on an old branch. I don't hit this on the newest master, thanks!


Apply Differential privacy or Homomorphic encryption?

DP  is no applicable in XGboost (at least now...)
Should we disclaim XGboost?
or
Change DP to HE?

I can find some FedXGB with DP...but python codes are not adequately opened.


Shouldn't the executed command be binocular-cli

Hi, I tried to use the package, but I noticed that the command executed from the extension is binocular-rust.
I think it is supposed to be binocular-cli. Am I doing something wrong?

Ahah! Good for you to see that there is interest. Being a fan of neovim, I needed to find a similar experience on vscode.
Thank you for your attention and your responsiveness. Indeed, I am on MacOSx and it seems to me that the binocular-cli package (obviously depreciated) uses this command by default.


How to generate visual image of 'Similarity of Attention Outputs' as shown in Figure 4

Hi,
Very nice work!
How to generate visual image of 'Similarity of Attention Outputs' as shown in Figure 4?
Could the author share the code for visualization??

One more question: Is the cosine similarity calculation based on flattened latent or other ways? Could the author share the calculation code? I would like to verify the issues mentioned in the paper. Thanks!

We have added the code to calculate and visualize the similarity of attention outputs in the experiments/exploration folder. Please comment below if you encounter any issues while running the code or if you have further questions about the output.

Hi @Probe100, I run your script in  experiments/cfg_similarity_experiments/, but got nan in cosine_similarity_matrix.
[[ 1.   1. nan nan]
 [nan nan nan ... nan  1. nan]
 [nan nan nan ... nan nan  1.]]

There is a warning in the test:
/usr/local/lib/python3.10/dist-packages/scipy/spatial/distance.py:647: RuntimeWarning: invalid value encountered in divide
  dist = 1.0 - uv / math.sqrt(uu * vv)

My scipy version is 1.13.1.


Image plugin

Image plugin is not working or you corrected it? I see that it is checked in repo

@milanP96 sure, If it did not work. please show me your config.
https://github.com/editor-js/image#usage

Hi, @ChangJoo-Park . When I click on "Select an image" nothing is happening

This is my main.js:
import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import Editor from "vue-editor-js";

Vue.use(Editor);

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");

Here is everything like in my case https://codesandbox.io/embed/o7lyqwmvmq

I think you need to provide a server that is handling the image.
s. docs - endpoints
https://github.com/editor-js/image#usage

Required Endpoints for file uploading.
Contains 2 fields:
byFile - for file uploading
byUrl - for uploading by URL

It would be cool not depend on a server in the image component.
To just select and show it. Maybe add it to the json as a base64 encoded string.

@yashha
Thank you, I try to do it, in general there was an idea to finalize the image plugin and make a gallery, later I will tell you what happens after deploy on server

My problem with image plugin is getting error when i click on add image icon:
Uncaught Error: Url must be a non-empty string
    at s (bundle.js?eb16:1)
    at Object.transport (bundle.js?eb16:1)
    at t.value (bundle.js?eb16:1)
    at t.onSelectFile (bundle.js?eb16:32)
    at HTMLDivElement.eval (bundle.js?eb16:1)
    at t.value (bundle.js?eb16:32)
    at t.value (vue-editor-js.esm.js?1503:3399)
    at e.value (vue-editor-js.esm.js?1503:8008)
    at e.value (vue-editor-js.esm.js?1503:7898)
    at HTMLLIElement.eval (vue-editor-js.esm.js?1503:7950)

After that in editor showing up button with Select an Image, and if i click this - i'm getting almost same error. And no dialog for file pick is showing up.
Uncaught Error: Url must be a non-empty string
    at s (bundle.js?eb16:1)
    at Object.transport (bundle.js?eb16:1)
    at t.value (bundle.js?eb16:1)
    at t.onSelectFile (bundle.js?eb16:32)
    at HTMLDivElement.eval (bundle.js?eb16:1)

I'm passing options for image tool like this:
		data() {
			return {
				initData: {},
				editorData: {},
				tools: {
					image: {
						config: {
							endpoints: {
								byFile: "http://localhost:8008/uploadFile",
								byUrl: "http://localhost:8008/uploadFile"
							}
						}
					}
				},
				mode: '',
				name: '',
				slug: '',
				image: null,
				deletedImages: [],
				rest_id: this.$route.params.id
			}
		},

Editor wrapper looks like this:
			<editor
			:autofocus="true"
			:init-data="initData"
			:customTools="tools"
			ref="editor"
			holder-id="codex-editor"
			save-button-id="save-button"
			@save="saveData"
			@ready="onReady"
			@change="onChange" />

I have tried to make just simple html page with EditorJS added by script tags - and everything is ok, when i click to add image - system dialog of picking image showing up. Not sure how to debug where problem is - wrapper or some bug in EditorJS. I have tried to debug it with Vue Devtools, but no luck, i'm not good at debugging :D
Can someone help me with this?

Try this...
<editor
        ref="editor"
        autofocus
        holder-id="codex-editor"
        save-button-id="save-button"
        :init-data="initData"
        :image="tools.image"
        @save="onSave"
        @ready="onReady"
        @change="onChange"
/>

data:
data(){
  return {
    editorData: [],
    initData: {
    },
    tools: {
      image: {
        config: {
          endpoints: {
            byFile: 'http://localhost:3000/uploadByFile', // Your backend file uploader endpoint
            byUrl: 'http://localhost:8008/fetchUrl', // Your endpoint that provides uploading by Url
          }
        }
      }
    }
  }
},

Hello @alcovegan, I'll check this issue

If somebody can help this. We solved this issue by making our own photo gallery in which the pictures are placed. From there they are also used to view data in editor.js

Please see https://github.com/ChangJoo-Park/vue-editor-js#upload-image
sorry @milanP96 , too late 😭


Reduce required ports ranges

At the moment meshbird require wide range of open UDP ports, it would be nice to have CLI flag to regulate this range.

Released Meshbird v2.0.


NTR: negative regulation of cytolysis by virus of host cell

A parent term to the NTR is:
Parent Term: GO:0001899 - negative regulation of cytolysis by symbiont of host cells
Definition: Any process in which an organism stops, prevents, or reduces the frequency, rate or extent of cytolysis by that organism of cells in its host organism. The host is defined as the larger of the organisms involved in a symbiotic interaction
NTR: negative regulation of cytolysis by virus of host cells
Definition: Any process in which a virus stops, prevents, or reduces the frequency, rate or extent of cytolysis by that virus of cells in its host organism. The host is defined as the larger of the organisms involved in a symbiotic interaction.
Ontology: Biological Process
Synonyms: inhibition by virus of cytolysis of host cells
downregulation by virus of cytolysis of host cells
down-regulation by virus of cytolysis of host cells
down regulation by virus of cytolysis of host cells
negative regulation by virus of cytolysis of host cells
Reference: PMID:14527655 Figure 1. in this paper shows loss of the T4 virus-encoded "rI protein" results in T4 inducing cytolysis at a much earlier time. This requested go term would be more accurate for describing this process
Reported by: notjustin43
Original Ticket: geneontology/ontology-requests/11336

Hi,
is there any progress on this term?
Thanks

Increased  host cytolysis by loss of a viral protein does not seem to be strong enough evidence for a  biological process (seems like a phenotype)? It isn't demonstrating regulation.

Check PMID:20945083

closing  because
https://github.com/geneontology/go-ontology/issues/13041


Outline additional documentation needed for MCC IG

https://trifolia-fhir.lantanagroup.com/igs/lantana_hapi_r4/MCC-IG/index.html

CPG on FHIR
Questionnaire (SDC)
Subscription

No longer needed?


Initial support for  in SoftwareComponent entities

This PR extends the library to support some of the attributes and relations of the Autosar 4 VariationPointProxy entity when inside a SoftwareComponent.
In detail, it adds the support for:

binding_time attribute
category
condition_access (partial: the full text content of the <CONDITION-ACCESS> tag is captured as is)

Still not supported attributes:

implementationDataTypeRef
postBuildValueAccessRef
postBuildVariantConditions
valueAccess

 [autosar] Parse and use VARIATION-POINT-PROXYS


Adding to Kubeflow support providers

As Canonical is committed to supporting Kubeflow users, we're enthusiastic about adding our name here to help remove frictions from Kubeflow adoption.
Switched order to be alphabetical, as would be confusing otherwise.

@joeliedtke @rmgogogo sorry to bother you with this! Adding Canonical to support organizations, as we are now able to provide enterprise support to our K8s customers on Kubeflow.
Would you please review this PR?
/assign @joeliedtke
/assign @rmgogogo

/lgtm
/cc @Bobgy

/assign @Bobgy

/lgtm
/approve
Thank you!


:sparkles: Removed main from gh-pages

This need to be merged after #2128 so that it's not re-genearted

Summary
Related issue(s)
Fixes #

/approve

/unhold

/approve


[REQ] Fade out option

Current Behavior
On authentication, the onscreen graphics are immediately killed.
Wanted Behavior
Have an option in the config for the graphics to fade out like how they fade in before the graphics are killed.

#60


Xcode 9.1 beta 2 warning

I am getting a new warning when moved to Xcode 9.1 beta 2
Swift Compiler Warning
HexColors.swift:74:21: 'characters' is deprecated: Please use String or Substring directly

Didn't checked out the beta till now

PR #48 submitted

Thanks to @ems305 fixed on the master branch.


Added more points to the GIT list

Added more points to the GIT list

Pull request removes CSS notes


chore: adding license

Description
This pull request adds a dual-license (MIT OR Apache 2.0) to the design-tokens repository to align with MetaMask’s open-source licensing standards. This change allows external users to fork and utilize the design-tokens package without legal conflicts, adhering to MetaMask’s recommended open-source practices.
Following guidance from our legal team, this PR includes both LICENSE-MIT and LICENSE-APACHE files and updates the package.json to specify the dual-license format.
Related Issues
Fixes: https://github.com/MetaMask/design-tokens/issues/737
Manual Testing Steps

Confirm that the LICENSE-MIT and LICENSE-APACHE files are present in the repository root.
Verify that package.json contains "license": "(MIT OR Apache-2.0)".
Cross-check that the licensing terms match MetaMask’s open-source standards.

Pre-merge Author Checklist

[x] Reviewed MetaMask Coding Standards for open-source licensing.
[x] Included relevant license files in the root directory.
[x] Verified that the package.json license entry follows the specified format.

Pre-merge Reviewer Checklist

[ ] Confirmed that the included license files ensure compliance with MetaMask’s open-source guidelines.
[ ] Checked that the package.json entry reflects the correct license terms.
[ ] Verified that all legal and compliance requirements are met.

References

Slack Thread
Auto-changelog repository license setup example

I realize the storybook job is failing created an issue here https://github.com/MetaMask/design-tokens/issues/740


contributors.COUNT returning empty cells instead of 0

Hi!
I am experiencing an issue as contributor.COUNT returns an empty cell instead of 0 when there is no match between rows and columns:

Is there a way that a value of 0 appears instead of empty cells?
I need to compute a calculated measure based on these values, and i can't do it properly as empty cells are not treated correctly.
My aim is to fill them with 0 values to compute some differences after.
Thank you

You should be able to compute the difference even when the value is empty. Atoti follows the behavior of other standard BI tools, where a - null = a (same applying for multiple other operators).
Is this not working for you for some reasons? If so, can you share a notebook reproducing your issue, or at least snippets of code? Otherwise, it will be hard to help without further details.

Hi @OPeyrusse .
a - null is working, the problem is when computing null -a.  As you see in this dashboard:

Diff measure is not being computed between 2024-03-26 and 2024-03-19.
Diff measure is computed as the difference in contributors.COUNT between the actual date and the previous date available (i am sharing the mdx where i computed it).
I have tried to fill in the NULL values using CoalesceEmpty (see MDX  too) but still is not filling them.
As I am saying, it is working well when computing a-null, but not in the inverse way, null-a.
WITH  Member [Measures].[Diff] AS (   (     [TablaParametrica].[AsOfDate].CurrentMember,     [Measures].[contributors.COUNT]   ) - (     [TablaParametrica].[AsOfDate].CurrentMember.lAG(       1     ),     [Measures].[contributors.COUNT]   ) )    Member [Measures].[NotZero] AS CoalesceEmpty(   [Measures].[contributors.COUNT],   0 )  SELECT   NON EMPTY Hierarchize(     Descendants(       {         [TablaParametrica].[cnt origin].[AllMember]       },       1,       SELF_AND_BEFORE     )   ) ON ROWS,   NON EMPTY Crossjoin(     Hierarchize(       Descendants(         {           [TablaParametrica].[AsOfDate].[AllMember]         },         1,         SELF_AND_BEFORE       )     ),     {       [Measures].[Diff],       [Measures].[contributors.COUNT],       [Measures].[NotZero]     }   ) ON COLUMNS   FROM (     SELECT     Subset(       Order(         [TablaParametrica].[AsOfDate].[AS_OF_DATE].Members,         [TablaParametrica].[AsOfDate].CurrentMember.MemberValue,         BDESC       ),       0,       10     ) ON COLUMNS     FROM [Parametric Table]   )   CELL PROPERTIES VALUE, FORMATTED_VALUE, BACK_COLOR, FORE_COLOR, FONT_FLAGS

Got it. Unfortunately, it is a standard behavior of Atoti - and MDX - to not compute values when there are no data.
The only workaround I can think of for now is to fill your table with fake rows not impacting your computation.

I am closing this issue as there is no possible solution to this problem.
If there is no register for a specific contract across a date, it can not be treated directly in Atoti, though all possible dates appear on columns.


Close the database connection

Fix GEO-6793

works for me :+1:

@sebr72 @sbrunner do you what the cause of the CI error in the step "Auto reviews updates / Auto reviews updates (pull_request)" is?
Is it relevant, or can we merge?


Trigger order_updated on actual order update

I want to merge this change because:

it triggers order_updated plugin method on actual order update mutation
adds a validation on order update mutations (to forbid updating order through draftupdate and other way around)

DO NOT MERGE!
Dashboard now uses the order update mutation on draft order update (!) this has to be fixed on dashboard before this is merged!
Related ticket: SALEOR-1453

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-1453 Trigger wehbook - order_updated when staff user changes the customer shipping/billing address


could not compact, repartitioning keyspace failed: could not find data for key<PHONE_NUMBER>00000000000000000000000000

Steps to reproduce
prior to error appearance in logs I attached these tenants using /attach call
Expected result
No errors
Actual result
2023-02-06T16:03:40.650792Z ERROR compaction_loop{tenant_id=X}:compact_timeline{timeline=Y}: could not compact, repartitioning keyspace failed: could not find data for key<PHONE_NUMBER>00000000000000000000000000 at LSN 0/3AA2681, for request at LSN 0/3AA2680

This happened to two relatively big and active projects. One of them triggered https://github.com/neondatabase/neon/issues/3532
Environment
prod
Logs, links

https://neonprod.grafana.net/goto/okjdbEAVz?orgId=1

I investigated one case reported by @shanyp for https://console.neon.tech/admin/projects/round-voice-411502  project:
2023-02-15T13:48:44.313412Z ERROR compaction_loop{tenant_id=39fa0a33ca08f1948bd01b5f1e4ae898}:compact_timeline{timeline=7177efa8250e462d5ca9330b4878320e}: could not compact, repartitioning keyspace failed: could not find data for key<PHONE_NUMBER>00000000000000000000000000 at LSN 0/3162381, for request at LSN 0/3162380

We have two timelines ffe543561c4c40d710e75d5d6f8693e5 and 7177efa8250e462d5ca9330b4878320e. 7177 was forked from ffe5 at LSN=0/3162380 and contains no changes (nothing was done in this timeline or it is removed?) Parent timeline ffe5 doesn't contain any layer covering LSN range prior to 0/3162380
The only layer containing key 000..000 is image layer having LSN much larger than 0/3162380:
-rw-r--r-- 1 pageserver pageserver 118800384 Feb  9 12:11<PHONE_NUMBER>00000000000000000000000000-000000067F00004002000060C20200000000__00000000AD5DA5B8
-rw-r--r-- 1 pageserver pageserver 118816768 Feb  9 12:11<PHONE_NUMBER>00000000000000000000000000-000000067F00004002000060C20200000000__00000000AE2C11E8
-rw-r--r-- 1 pageserver pageserver 119406592 Feb 14 12:12<PHONE_NUMBER>00000000000000000000000000-000000067F00004002000060C20200000000__00000000AFC5C608
-rw-r--r-- 1 pageserver pageserver 120373248 Feb 15 13:40<PHONE_NUMBER>00000000000000000000000000-000000067F00004002000060C20200000000__00000000B0E89D08
-rw-r--r-- 1 pageserver pageserver 122650624 Feb  9 12:15<PHONE_NUMBER>00000000000000000000000000-000000067F00004002000060DB0300000000__000000009E94AD30
-rw-r--r-- 1 pageserver pageserver     24576 Feb 16 15:12<PHONE_NUMBER>00000000000000000000000000-FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF__00000000B1E5A879-00000000B1E5C1C9
-rw-r--r-- 1 pageserver pageserver     24576 Feb 16 15:22<PHONE_NUMBER>00000000000000000000000000-FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF__00000000B1E5C1C9-00000000B1E5DFB1
-rw-r--r-- 1 pageserver pageserver 101048320 Feb  9 12:15 000000067F000032AC000040040000000000-030000000000000000000000000000000002__000000009E481691-00000000A3D29089

Looks like bug in GC. But I failed to locate pageserver logs for the dates before today.
Also most f message produced by GC has Debug level, so are not dumped.
It is only possible to check number of layer removed by GC.
There are two timelines, one branch is empty and is branched from main at 0/3162380,
but for soe reasons there are no layers in main timeline covering LSN range preceding 0/3162380.
Looks like GC problem.

Everything interested happens with this project a 9 of February: at this date branch was created and latest image layer also corresponds to this date. Unfortunately we do not have pgeserver log older than 11 of February.
So I could not check which operation were performed and how it is possible that GC or somebody else removed old layers.

There are no remote layers, so the problem is not caused by  eviction layers to S3.

Timeline 7177efa8250e462d5ca9330b4878320e is marked as deleted in console. Not sure how its happened, there is definitely a bug somewhere. Maybe in deletion logic

It can somehow explain the problem.
I can better call it as "resurrected timeline": so timeline is deleted, GC normally delete layers beyond PiTR boundary and then somehow timeline is resurrected. It can be downloaded from S3. But looks like it is the case - there are no remote layers for this timeline at S3.
Most likely after pageserver restart (normal or abnormal), we find out timeline metadata file on the disk and it cause pageserver to recreate timeline. or may be some information about timeline was received from console.
In any case, the problem seems to be not related with GC, but with pageserver restart or console-pageserver interaction. I am not so familiar with this stuff, so may be somebody else can look at this issue?

I have a hypothesis on that, I think attach can resurrect timelines because we dont delete s3 data. I'll validate it and post here

Yes, the hypothesis is correct. Thanks for investigating @knizhnik!
I wrote a failing test to showcase the problem: https://github.com/neondatabase/neon/compare/dkr/timeline-resurrection-on-attach?expand=1#diff-652bdcd9c6677e36bf9518135f852095f086dbd57f3f02453c8e06562fb9d19eR727
Here there will be two timelines instead of one.
Thinking about solution. I think we need to start deleting data from s3 for real. There are some edge cases so we cannot just enumerate all files in index_json and delete them. Thats because deletion needs to be completed even in presence of pageserver restarts (and even in the event of pageserver loss). I think the most appealing option is to use control plane request retries to drive this when needed. Other options:

Have local tombstone - only solves problem with pageserver restarts, wont help with pageserver loss
Have some tombstone flag in index_part.json - needs some process that will check the flag and continue deletion

Opinions? @neondatabase/storage

There are some edge cases so we cannot just enumerate all files in index_json and delete them.
Is there a batch delete API in S3 that is all or nothing we can leverage here ?

I think we should not try to delete the files on S3 from pageserver side for real:

if PS nodes won't have any S3 deletion and common file editing code (not the case now, though), we'll be able to safely start multiple "virtual" pageservers on the same S3 bucket

AFAIK, S3 removes per se could take a while, if you have many files. We will have more layers the more data the users have, so the "blocking" S3 timeline removal will work worse with time

the code to handle the restart + finish delete cases could be big
If we ever want to change the deletion process, say, instead of S3 deletion start moving the files into some cold storage with autoremoval, it could lead for big changes in pageserver.
I'd prefer to make these in a separate component, to separate the concerns.

if PS nodes won't have any S3 deletion and common file editing code (not the case now, though), we'll be able to safely start multiple "virtual" pageservers on the same S3 bucket

Can you elaborate? The only thing that is preventing us from starting multiple pageserver on the same bucket is mutable index_file.json

AFAIK, S3 removes per se could take a while, if you have many files. We will have more layers the more data the users have, so the "blocking" S3 timeline removal will work worse with time

Yeah, I'm thinking about schedule + poll type of thing for delete.

instead of S3 deletion start moving the files into some cold storage with autoremoval, it could lead for big changes in pageserver

I dont think so, it looks like it should be easy to implement on top of detach. And such a movement if done manually will  be quite time consuming in case of big projects.

the code to handle the restart + finish delete cases could be big

Its the same with attach, I believe common parts can be shared.

I understand the concerns, but you havent proposed a solution for original problem

Can you elaborate?

Yes, the mutable index_part.json is the biggest culprit.
Technically, there's also compaction and GC S3 removals happening, that would be good to remove for the sake of purism but seems that it's not big of a problem now.
The point is, if all this does not exist in PS, and nothing else changes S3, it's safe to start arbitrary "virtual" pageservers on certain timelines in parallel and check the hypothesis.
Another way could be some sync-over-broker between such PS nodes.

And such a movement if done manually will be quite time consuming in case of big projects.

Indeed, hence I'm also not sure if it's really worthy to remove the data from within the pageserver? Both deletion and "moves" (which is copy + deletion also) are super slow and what's the point to spend pageservers' resources on that?
I'd have some slow, standalone process to handle the final GC the way we want.

I understand the concerns, but you havent proposed a solution for original problem

I think I did: do not add the deletion inside the pageserver, add the deletion elsewhere.

I think I did: do not add the actual deletion (and whatever related slow processes) inside the pageserver, add it elsewhere.

It doesnt solve the problem with deleted timelines appearing during attach.

and what's the point to spend pageservers' resources on that

Exactly because this operation is slow and we're async it seems that actually not so much resources will be used on our side. Its only aws doing the job and we waiting for it to complete. It may make sense if we can move whole gc process off of pageserver. And it's possible to do so for compaction as well. But we need to investigate how this will impact s3 costs. If we constantly download and upload stuff to compact it and let other pageservers download the result it may be more expensive than doing this locally

I see the benefit of everything living inside pageserver. thats simpler to treat the component as a black box that provides an API that can be safely used from outside.

It doesnt solve the problem with deleted timelines appearing during attach.

If your answer to that is "control plane should take care of that" then we add startup dependency on control plane for storage. It may not be a bad thing, but it will be there. And if in the future control plane starts to store data in neon itself we're in a chicken and egg problem

Implement the delete RFC
Remove the actual left timelines


statusline breaks with lsp diagnostics count

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md
[X] I have updated 'mini.nvim' to latest version

Module(s)
statusline
Description
Using mini.statusline in conjunction with LSP blows up when attempting to check the diagnostic count.
This breaks regardless of whether the LSP configuration is done before or after the statusline setup()
Neovim version
v0.10.0-dev-1805+gec3c569dd-Homebrew
Steps to reproduce

nvim -nu minimal.lua

-- Clone 'mini.nvim' manually in a way that it gets managed by 'mini.deps'
local path_package = vim.fn.stdpath('data') .. '/site/'
local mini_path = path_package .. 'pack/deps/start/mini.nvim'
if not vim.loop.fs_stat(mini_path) then
  vim.cmd('echo "Installing `mini.nvim`" | redraw')
  local clone_cmd = {
    'git', 'clone', '--filter=blob:none',
    'https://github.com/echasnovski/mini.nvim', mini_path
  }
  vim.fn.system(clone_cmd)
  vim.cmd('packadd mini.nvim | helptags ALL')
end

-- Set up 'mini.deps' (customize to your liking)
require('mini.deps').setup({ path = { package = path_package } })
local add = MiniDeps.add

add({
  source = 'neovim/nvim-lspconfig',
  -- Use 'master' while monitoring updates in 'main'
  checkout = 'master',
  monitor = 'main',
})

require('mini.statusline').setup()

-- Can be any LSP
local lspconfig = require('lspconfig')
lspconfig.jedi_language_server.setup{}

Expected behavior
No response
Actual behavior
E5108: Error executing lua ...m/site/pack/deps/start/mini.nvim/lua/mini/statusline.lua:607: attempt to call field 'count' (a nil value)
stack traceback:
        ...m/site/pack/deps/start/mini.nvim/lua/mini/statusline.lua:607: in function 'get_diagnostic_count'
        ...m/site/pack/deps/start/mini.nvim/lua/mini/statusline.lua:301: in function 'section_diagnostics'
        ...m/site/pack/deps/start/mini.nvim/lua/mini/statusline.lua:544: in function <...m/site/pack/deps/start/mini.nvim/lua/mini/statusline.lua:540>

Thanks for the issue!
The Neovim Nightly version "v0.10.0-dev-1805+gec3c569dd-Homebrew" is a bit too old (about 2 months, from December 9). Please update Neovim to include at least this commit from January 1. Or use latest stable release Neovim 0.9.5.
As 'mini.statusline' was updated on January 30 to use this function for extra performance, assuming one month for Nightly users should be enough to have it updated.
As a general rule of thumb, using Neovim Nightly assumes a frequent update and the latest available version for issue reports.


Updating usage of external.cornerstone

Changes
CornerstoneTools files are loaded before having cornerstone into window scope, so, if we store external.cornerstone as a variable outside of the scope of the class/function it will get undefined.
To have consistency I've changed all new files to always use external.cornerstone, then we will assure that it will aways run the get and pickup the currently window.cornerstone object.

Ahh. That makes sense. Good catch, @galelis :+1:


Selection frame out of place when  resizing window

Bug Description
Originally reported by @samitron7 on Slack.
Expected Behaviour
The selection frame should move with the element.
Steps to Reproduce

Create element
Make sure element is selected
Resize browser window
See how selection frame is not at the same place anymore

Screenshots

Additional Context

Plugin Version: master
Operating System:
Browser:

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

as per @samitron7  not stable

seems related to #2154


jupyterlab_widgets 3.0.13

jupyterlab_widgets 3.0.13
Destination channel: Defaults
Links

PKG-6422
dev_url:        https://github.com/jupyter-widgets/ipywidgets/tree/main
conda_forge:    n/a
pypi:           n/a
pypi inspector: n/a

Explanation of changes:

new version number

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_5eqrcjyuv5/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:20: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.

===== ERRORS =====

clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
===== Final Report: =====
1 Error and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_4f5lm_8mrl/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:20: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.

===== ERRORS =====

clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
===== Final Report: =====
1 Error and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_35tbwt54x8/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:20: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.

===== ERRORS =====

clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
===== Final Report: =====
1 Error and 1 Warning were found


Identity/Account/Manage/Index.cshtml: Glyphicons are outdated.

Steps to reproduce:

Create new ASP.NET Core web application: MVC + Authentication by "storing user accounts in-app" (Visual Studio 2019, .NET Core 2.2).
Run (register, apply migration, register again, ...)
Confirm email (e.g. by just opening AspNetUsers table set EmailConfirmed to True)
Click on "Hello {username}": Razor page /Identity/Account/Manage opens

Expected behavior:

Actual behavior:

The scaffolded markup is wrong:

    <input asp-for="Input.Email" class="form-control" />

The errors:

There's NO glyphicons referenced anywhere in the web application template. Why do you use it?
Bootstrap 4 doesn't support .input-group-addon anymore! https://getbootstrap.com/docs/4.3/migration/#input-groups

Additional information about the project being scaffolded, such as:
<PropertyGroup>
    <TargetFramework>netcoreapp2.2</TargetFramework>
    <UserSecretsId>aspnet-WebApplication7-0CD551B7-7495-448B-9BCC-E1D9464D4585</UserSecretsId>
    <AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>
</PropertyGroup>

<ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.App" />
    <PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.2.0" PrivateAssets="All" />
</ItemGroup>

Solution:

    <input asp-for="Input.Email" class="form-control">
    @if (Model.IsEmailConfirmed)
    {

            ✓

    }

Thanks for the suggestion @aureole82 we are removing the other glyphicon warnings from the other pages

Fixed by https://github.com/aspnet/AspNetCore/pull/11768


v6 not installing correctly on cpanel 56

So just yesterday I installed on a few of our servers which were still on version 54.  They all installed without issues.  Today I went to install on one of our servers that had just updated to version 56 and it appears not to be working correctly.
There is no error on the install process but this definitely looks odd, when I log into any cpanel account there is a single icon installed mixed with other icons (not a category specific to cloudflare as per the other installs I've done).  There is also no /usr/local/cpanel/etc/cloudflare.json file setup.
Clicking on the one cloudflare icon brings up a broken design page which simply asks to login to a cloudflare account and there are no further options nor buttons unlike the version that installed on our other servers.
Also the install instructions appear to have changed since we now have to use the -k and -n parameters for they key and name and this isn't referenced in the documentation either.  So I am not sure if the new version is not yet fully published but I don't seem to be able to install the version 5 either since attempting to do that automatically downloads version 6 anyways.

Hey,
Can you confirm your trying to install 5.3.11 and which cPanel theme you're using?
To give you some context we released 6.0.0 yesterday, the 5.x -> 6 upgrade process doesn't uninstall the 5.x version because we deprecated support for the x3 theme in 6 but still wanted people on older versions to be able to use the plugin.

Thank you for the prompt reply, it is much appreciated.
I just checked on the servers I installed yesterday and you are right, I have 5.3.11 installed on those.  I don't see any specific instructions to install that version on this new server but I tried changing brand to v5 and follow the steps, it still forces the download to version 6.
I even tried installing from the local file (an archive of version 5 manually downloaded) and it still during install downloads version 6 and installs that (or tries to apparently).
It would be very helpful to me if you could provide specific instructions on how to install version 5.3 so I can keep all servers the same version (at least for now) but if that is no longer possible, then I can install version 6, however I have the issues I reported in my original post with it where it doesn't seem to install correctly and there is just one icon on the theme.
When I installed version 6 I tested it on the paper lantern theme (the latest from cpanel) but on this server I have both themes available (x3 and paper lantern) so can test either version on either theme as needed depending on which "working" install instructions you can provide that would lead to a successful install.
Thanks and I apologize if this is too confusing, I am just trying to give you all the information I have at hands right now.

If you run the v5 uninstaller:
et https://raw.githubusercontent.com/cloudflare/CloudFlare-CPanel/v5/cloudflare/installers/cloudflare.cpanelplugin && bash <(curl -s https://raw.githubusercontent.com/cloudflare/CloudFlare-CPanel/v5/cloudflare/uninstall_cf) && rm -f uninstall_cf
And then install version 6 it should resolve the issues you were talking about.
Version 5 allowed for "simple" or "extended" installation which varied the number of icons but version six now only supports "simple" where there is one CloudFlare icon.
I've started work on a version of 5.3 that doesn't automatically try to update to 6 but it wont be ready until some time next week.  Hopefully the v5 uninstall followed by a clean v6 install will work for you in the mean time.

thank you.
So it sounds like there is no way to install version 5.3 right now?
I do not have version 5 installed, it never was (on this server).  I tried to install it but when I issue the install command it downloads version 6, not version 5.
So if I understand correctly and version 6 is supposed to have just 1 icon then maybe I had it installed correctly, however when you go into that icon things don't look very well.  Layout is messed up (mainly the div containing CF that overlaps the cpanel container and breaks things up on the paper lantern theme (if using the style that looks like x3 which is an option)
Additionally that content is not as intuitive as the one that was available in version 5 where you have more options to click through even before logging in.
is there any way to get the version 5 installed right now?

Well I haven't tested but I think 5.3.11 should install fine but the cron job will try to upgrade to 6.0.0 so in theory if you remove the cron job after installing 5.3.11 you should be fine.
The root cause for you (I think) is that the 5.3.11 > 6 upgrade process intentionally doesn't uninstall the 5.3.11 icons on X3 so they continue to work.  Can you post a screenshot of the way your icons look?

Well, no, 5.3.11 is not installing at all, here is what I mean:
I have hidden my key and name:
root@kiwi [~]# bash <(curl -s https://raw.githubusercontent.com/cloudflare/CloudFlare-CPanel/v5/cloudflare.install.sh) xxxxxxx 'xxxxxx' -v
Starting CloudFlare CPanel Installation...
Downloading and unpacking latest version v6.0.0...
Finalizing install...
./install_cf: line 14: cd: ../CloudFlare-CPanel*: No such file or directory
Cleaning up
Verify Host Name:
cat: /usr/local/cpanel/etc/cloudflare.json: No such file or directory
root@kiwi [~]#
As you can see, when I try to install v5, it downloads v6 for some reason and does not install.

Ah my mistake, I understand now.  Fixed in c08da7a6ecda1680feec3952f740cbd978ec272a on the v5 branch.  Please try again.

Yup, that was it.  Thanks!

Do you need anything else?

No that's all thank you.


More descriptive error: write when target is existing file

For write_*, the method expects a folder parameter. If the user gives an existing file instead of folder, the error is
FileExistsError: [Errno 17] Cannot create directory './file.csv': non-directory entry exists. Detail: [errno 17] File exists
This is not unworkable, but could possibly be more descriptive and actionable. The user could be confused why we are talking about creating directories when they gave a perfectly valid filename.

Closing this in favor of #1422


Failed to resolve 'api-v2launch.trakt.tv' ([Errno 11001] getaddrinfo failed)"))

Hello,
I am getting the error: Failed to resolve 'api-v2launch.trakt.tv' ([Errno 11001] getaddrinfo failed)"))
The link ''https://api-v2launch.trakt.tv" does not work. When I manually enter "https://trakt.tv" with the rest of the link, it does work.
I can't find where to update this link? I checked all the .py files.
Does anyone know how to get this working?

Second Issue created and again too fast, my apologies.
I fixed this by going to: C:\Users\USERNAME\AppData\Local\Programs\Python\Python312\Lib\site-packages\trakt
and changing the core.py file.
BASE_URL = 'https://trakt.tv/'
Greetings

Closed


Shrink the image size - Duplicating #2

duplicate of PR #2

Hello,
[ot] sorry for being super late, life had other priorities lately.[/ot]
I think your idea is indeed very good. I don't personally know Alpine very much, which is the reason I did not consider it in the very first place. I will definitely check it and your suggestion.

Hi,
thanks for getting back on this. In the meantime I forked your repo and adapted it to alpine linux. Works fine for me since a couple of months.
Thank you anyway for all the initial work in packing cntlm into a container. 👍
https://github.com/protenhan/docker-cntlm


Changelog version numbers out of sync

For reasons not worth explaining, we had to skip a version number on one of our releases (e.g. from 1.47.0 to 1.49.0, skipping 1.48.0). Since then, our changelog has been one version behind. For example, the changelog that was just generated for my 1.52.0 release compares 1.51.0 to 1.50.0, instead of comparing 1.52.0 to 1.51.0.
Is there any way to fix this?

Duplicate of #98.


Migrate to 'surreal'

At the moment, the generated script seems to import 'surrealdb.js' but this has been deprecated in favor of surreal. It is not possible to connect to a 2.0 instance without explicitly using beta 18.
The generated code should be updated accordingly.
Thanks!

@DrewRidley good point, it is actually possible to override the header, if you run surreal-codegen you will receive information on how to do that.
I will update the code accordingly however

@DrewRidley  I've closed this issue with a fix and you can read the documentation for updating the header in case you were curious or need to override the default class instance, or update to the latest version.


Integrate web-api-client with web-portal-client over Axios

Problem:
We have a mock instance with web-api-client
Solution:
Switch web-api-client to axios by default
Technical Solution:

work with dockerized env
change default in web-api-client
fix/dev test web-provider-client to work with axios implementation (it will still fetch mock but at least from server)
report any issues with dev env

After review of HomePage we  found that data from api/v1/previews is not even integrated with web-api-client
So, to properly integrate we need to do next things first

Wrap call for list of previews (see api.preview.findAll) in react hooks (like for useAuth)
Place hook in features/home/hooks/usePreviews

it might looks like

const { items, doFetch, total, pageCount, error }  = usePreviews()

Integrate to Home Page and render cards according to data received from server

Optional

read  https://www.robinwieruch.de/react-hooks-fetch-data

implementation with hooks make looks like
export function usePreviews() {
  const [error, setError] = useState(null)
  const [params, setParams] = useState({limit: 0, offset: 10})
  const [data, setPreviews] = useState({items: [], total: 0})
  const {api} = useContext(AppContext)

  useEffect(() => {
    api.preview
      .findAll(params)
      .then((result) => {
        setPreviews({
          items: result.items,
          total: result.total,
        })
      })
      .catch((error) => {
        // TODO: handle error state here
      })
  }, [params])

  const doFetch = useCallback((limit, offset) => {
    setParams({limit, offset})
  })

  return {
    items: data.items,
    total: data.total,
    doFetch,
    error,
  }
}

it's a pseud-code, propably wouldn't run out of the box, but should give an idea behind


Similar project for Azure

Hi,
Thanks again for this excellent script. I'm using it with AWS and it works perfectly.
Do you know of a similar existing project for deployment on Microsoft Azure.
Do you think it would take a lot of work to adapt it to work with Azure ?
Thanks !

Thank you,
am not sure if there is any similar projects for Azure. However if someone were to this project would be a good starting point.


Fix: Fixed a typo and added a link to the Builders page

Description
Fixed a typo and added a link to the Builders page
Reviewer Notes
If there are links or steps needed to test this work, add them here.
Related Issue(s) / Ticket(s)
If there are any related GitHub Issues or JIRA tickets, add links to them here.

issue

Screenshot(s)
If relevant, add screenshots here.
Use Conventional Commits
Please help the maintainers by leveraging the following conventional commit
standards in your pull request title and commit messages.
Use chore

for minor changes / additions / corrections to content.
for minor changes / additions / corrections to images.
for minor non-functional changes / additions to github actions, github templates, package or config updates, etc

git commit -m "chore: adjusting config and content"

Use fix

for minor functional corrections to code.

git commit -m "fix: typo and prop error in the code of conduct"

Use feat

for major functional changes or additions to code.

git commit -m "feat(media): creating a video landing page"

I have applied the requested change, let me know if it is all right.

Hey @pachicodes, thanks for making those changes! It looks like there are some eslint errors that now need to be addressed. Could you take a look at those? I believe that is part of the reason for the failing build. Once you get those fixed, I'd be more than happy to approve!

FYI, you can see the ESLint errors by going to the "files" tab in this PR. It will give you a line-by-line breakdown of the failing areas.

@jerelmiller thanks again for  your guidance and patience! I believe it all good now!


WASM: re-enable short signature

Follow-up after #4200.
Re-enable Wasm short signature check.
Use more constant variables with names to better document the intend of WasmSignature::FinalizeSignature.
Add test to check various types of signatures

This change is

@arunetm FYI


support select limit offset syntax

Support the syntax "select fields from table limit offset, count", which MySQL support.

Sorry in the delay in revieww

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

49 of 49 (100.0%)  changed or added relevant lines in 3 files are covered.
37 unchanged lines in 7 files lost coverage.
Overall coverage decreased (-0.2%) to 90.012%

Files with Coverage Reduction
New Missed Lines
%

src/ast/data_type.rs
1
76.32%

src/ast/query.rs
1
87.38%

src/ast/value.rs
1
86.67%

src/ast/ddl.rs
2
81.67%

src/ast/mod.rs
5
72.21%

src/tokenizer.rs
7
90.61%

src/parser.rs
20
85.05%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
5822

Relevant Lines:
6468

💛  - Coveralls

Sorry for late because I exprienced a crazy work week (996). And I try to add some test for this syntax. Add this code to tests/sqlparser_mysql.rs.
#[test] fn parse_limit_with_offset_count() {     // In dialects supporting LIMIT with offset and count      match mysql().verified_stmt("SELECT id FROM customer LIMIT 2,4") {         Statement::Query(query ) => {             match query.limit {                 Some(Limit { offset, count }) => {                     assert_eq!(Some(Expr::Value(Value::Number("2".to_string(), false))), offset);                     assert_eq!(Expr::Value(Value::Number("4".to_string(), false)), count);                 }                 _ => unreachable!(),             }         }         _ => unreachable!(),     } }
The weird thing is, in unit test, dialect_of!(self is MsSqlDialect) returns false.  Is that correct?

The weird thing is, in unit test, dialect_of!(self is MsSqlDialect) returns false. Is that correct?

It doesn't sound correct to me 🤔

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

17 of 17 (100.0%)  changed or added relevant lines in 2 files are covered.
62 unchanged lines in 8 files lost coverage.
Overall coverage decreased (-0.2%) to 90.012%

Files with Coverage Reduction
New Missed Lines
%

src/ast/data_type.rs
1
76.32%

src/ast/value.rs
1
86.67%

src/ast/ddl.rs
2
81.67%

src/ast/query.rs
2
87.38%

src/ast/mod.rs
5
72.21%

src/tokenizer.rs
7
90.61%

tests/sqlparser_common.rs
20
98.82%

src/parser.rs
24
85.05%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
5822

Relevant Lines:
6468

💛  - Coveralls


Update link to old changelog for README

The previous link is no longer working.

PR opened on the wrong fork 🤦♂...This is what I get for doing this in Github's UI.


empowr

have been with them for some time would like to be able to get back on my site

what do you mean

Closing. Duplicate of https://github.com/409H/EtherAddressLookup/issues/1038


Data Structures Project - Peer Review/Assessment

I am making this issue for a more organized assessment of my peer's Data Structures Write-up in this collaborative review.
(Grading/score is for Remy Liu, P2 Mortenson)
Collections - Total 3/3, Grade 1/1

[x]  Blog Python Model code and SQLite Database.

[x]  Show your unique collection/table in database, display rows and columns in the table of the SQLite database from VSCode using SQLite3 Editor.
[x]  Show your unique code that was created to initialize table and create test data from VSCode model.

Lists and Dictionaries - Total 3/3, Grade 1/1

[x]  Blog Python API code and use of List and Dictionaries.

[x]  Show a list as extracted from database as Python objects in VSCode using Debugger.
[x]  Show two distinct examples of dictionaries, show Keys/Values using debugger in VSCode.

APIs and JSON - Total 5/7, Grade 0.71/1

[ ]  Blog Python API code and use of Postman to request and respond with JSON.

[ ]  Show Python API code definition for request and response using GET, POST, UPDATE methods in VSCode. Discuss algorithmic condition used to direct request to appropriate Python method based on request method.

(didn't discuss conditions); solely showed.

[x]  Show algorithmic conditions used to validate data on a POST condition in VSCode.
[x]  Show URL request and Body requirements for GET, POST, and UPDATE methods in Postman.
[x]  Show the JSON response data for 200 success conditions on GET, POST, and UPDATE methods in Postman.
[x]  Show the JSON response for error for 400 when missing body on a POST request in Postman.
[x]  Show the JSON response for error for 404 when providing an unknown user ID to a UPDATE request in Postman.

Frontend - Total __/8, Grade __/1

[ ]  Blog JavaScript API fetch code and formatting code to display JSON.

[x]  Show response of JSON objects from fetch of GET, POST, and UPDATE methods in Chrome inspect.

[ ]  Show a demo (GET) of obtaining an Array of JSON objects that are formatted into the browsers screen in the Chrome browser.

[ ]  Describe fetch and method that obtained the Array of JSON objects in JavaScript code.
[x]  Show code that performs iteration and formatting of data into HTML in JavaScript code.

[x]  Show a demo (POST or UPDATE) gathering and sending input and receiving a response that show update. Repeat this demo showing both success and failure in the Chrome browser.

[x]  Show and describe code that handles success. Describe how code shows success to the user in the Chrome Browser screen in JavaScript code.
[x]  Show and describe code that handles failure. Describe how the code shows failure to the user in the Chrome Browser screen in JavaScript code.

NOTE: demo for failure/success will receive success grade for now, but more explanation of system of code itself would be nice (ask, how does it work?).
Optional/Extra, ML Algorithm Analysis - Total __/5, Grade __/1

[x]  Machine Learning Algorithm Analysis

[x]  Show algorithms and preparation of data for analysis. This includes cleaning, encoding, and one-hot encoding.
[x]  Show algorithms and preparation for predictions.
[x]  Discuss concepts and understanding of Linear Regression algorithms.
[x]  Discuss concepts and understanding of Decision Tree analysis algorithms.

FINAL ASSESSMENT

Database initialization is sufficient. Sample data is unique and is relevant to project theme.
Code iteration is also sufficient. Request validation is present.
Postman work seems good. Better than mine. I'm not sure what else could be included to suit the requirements other than extra work, it seems sufficient, again.
Missing images/work for Frontend. So far, provided work/code seems good but I'd like to see how it works. This will bring grade down significantly for now.
Additional Algorithm Analysis included. Extra effort shows good understanding of ML content and thorough analysis demonstrates both that knowledge and desire to learn the application of that ML work.
Formatting of blog could be better. Instead of google drive links, try using image addresses committed to GitHub.
But blog is thorough and contains many explanations for each aspect of Code.

Blog contains sufficient information for a majority of categories and has consistent explanations of work, but could be formatted better. Some aspects are missing (for now images for frontend JS code).
I can't really have an understanding of the project overall with all of the current gaps.
Despite the write-up's obvious flaws, you definitely demonstrate a highly proficient understanding of the content, dude. Almost all requirements are met and with some cleanup and few additions, the write-up will be nearly flawless in my eyes for our current skill level.
For now, your grade is 8.9/10. This grade "fails" because it is lower than 90%, but is subject to positive change following full completion of write-up. I am open to growth and reinforcement of your current ideas and would love to work more with you to sort things out if necessary.


GPU/cuda available, but GPU not used?

I'm in Linux, but I'm getting lots of memory and cpu use, but not seeing any gpu use at all (unless it suddenly uses it for a split second at the end).
Inference takes a long time -- like 6 minutes for a 24 word sentence.
>>> print("Torch version:", torch.__version__)
Torch version: 2.2.1+cu121
>>> print("CUDA available:", torch.cuda.is_available())
CUDA available: True
>>> print("Number of GPUs:", torch.cuda.device_count())
Number of GPUs: 1
>>> print("GPU name:", torch.cuda.get_device_name(0))
GPU name: NVIDIA GeForce RTX 3090

$ time ./bark
2024-04-11 21:48:29.666824: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
/home/.../python3.11/site-packages/torch/nn/utils/weight_norm.py:28: UserWarning: torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm.
warnings.warn("torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm.")
The attention mask and the pad token id were not set. As a consequence, you mayobserve unexpected behavior. Please pass your input's `attention_mask` to obtain reliable results.
Setting `pad_token_id` to `eos_token_id`:10000 for open-end generation.

real    5m57.385s
user    20m17.150s
sys     1m14.751s

Update:
Okay, I don't know why GPU is not being selected, but I modified the transformers example code to move the model to GPU.  (aistudio google gemini 1.5 is the one that did this work).
Unfortunately, it also required modifying the transformers/...bark code to get all tensors onto the GPU.
Nevertheless, my output is now fast (not sure why but it varies between, say, 17s and 50s):
$ time ./bark
{annoying tensorflow messages}
Loading autoprocessor...
Loading bark model...
{torch.nn.utils.weight_norm deprecation warnings}
Processor()ing...
Generate()ing...
The attention mask and the pad token id were not set. As a consequence, you mayobserve unexpected behavior. Please pass your input's `attention_mask` to obtain reliable results.
Setting `pad_token_id` to `eos_token_id`:10000 for open-end generation.

real    0m20.381s
user    0m17.566s
sys     0m2.988s

The new code, forcing to GPU:
#!/usr/bin/env python3
from transformers import AutoProcessor, BarkModel
import torch

device = torch.device("cuda:0")
print("Loading autoprocessor...")
processor = AutoProcessor.from_pretrained("suno/bark")
print("Loading bark model...")
model = BarkModel.from_pretrained("suno/bark").to(device)

voice_preset = "v2/en_speaker_0"

print("Processor()ing...")
inputs = processor("Mazda alone is the adorable-most.",
                   voice_preset=voice_preset)
for key, value in inputs.items():
    if torch.is_tensor(value):
        inputs[key] = value.to(device)

print("Generate()ing...")
audio_array = model.generate(**inputs)
audio_array = audio_array.cpu().numpy().squeeze()

import scipy

sample_rate = model.generation_config.sample_rate
scipy.io.wavfile.write("bark_out.wav", rate=sample_rate, data=audio_array)

And over in processing_bark.py:
        if voice_preset is not None:
            self._validate_voice_preset_dict(voice_preset, **kwargs)
+            import torch
+            device = torch.device("cuda:0")
+            voice_preset_tensors = {
+                key: torch.from_numpy(value).to(device)
+                for key, value in voice_preset.items()
+            }
+            voice_preset = BatchFeature(data=voice_preset_tensors, tensor_type=return_tensors)
-            voice_preset = BatchFeature(data=voice_preset, tensor_type=return_tensors)

Thank you for this! 🙇 I used this to monkey patch transformers on paperspace so I could try some things with bark and actually use the GPUs. (Disclaimer for future readers: I have no idea what I'm doing so not a good idea to follow in my footsteps.)

That changes help me:
from transformers import AutoProcessor, BarkModel
import torch
import scipy

processor = AutoProcessor.from_pretrained("suno/bark")
model = BarkModel.from_pretrained("suno/bark").to('cuda')  ## to('cuda added')

voice_preset = "v2/en_speaker_0"
text = "Dinosaurs like to eat mushrooms"
inputs = processor(text, voice_preset=voice_preset)

inputs=inputs.to('cuda') ## to('cuda added')

audio_array = model.generate(**inputs)
audio_array = audio_array.cpu().numpy().squeeze()

sample_rate = model.generation_config.sample_rate
scipy.io.wavfile.write("bark_test_out.wav", rate=sample_rate, data=audio_array)


improve improve logging messages

Proposed changes
Mainly add load id for easier debugging.
Also tweaked formatting and wording.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


Update Interceptors.md

Thanks for the fix @coxy1989 👍 Your fix has been included in an upcoming major rebuild of the documentation but I can't merge it here as it could cause merge conflicts with that work.


fix(openchallenges): remove usage of "Other" for platform

Fixes #2385
(due to updating the dump files - this PR also fixes #2383)
Changelog

remove "Other" from list of platforms
replace challenge.platform_id for "Other" (14) with NULL (\N)

Preview
Landscape now shows 13 platforms

"Other" no longer shows in platform facet

Platform info shows "Not available" in profiles for challenges hosted on non-OC platforms

@vpchung What about representing missing values by an empty string in the OC Data sheet and settings the default value of the SQL property challenge.platform to NULL? If that works on the SQL side, this could help make the OC Data sheet less cluttered and reduce the size of the CSV files tracked on GitHub.

I don't think this will work, at least, not for the dump files to dump properly.  If some rows contain less columns than other rows, then that row's data will be offset.  But willing to try to see.

The updates on API descriptions regarding of removing "Other" option of platform are pushed in this pr.
Initially, I considered removing the slug of the platform and allowing the challenge service to generate the slug automatically in the backend. However, this might also require removing the 'slug' column from the data.
To keep things simple, I've restricted the options to both the slug and name fields of the platform. @tschaffter  Please let me know if there are any issues.

What is the problem with the platform slug? Isn't it enough to set the challenge.platform property to nullable in the API spec?

It is enough with nullable challenge.platform. I thought we would like to limit options using these known platforms as a validation. If not restricting platform options using enum in API description, I think we should have a validation in the backend/frontend (in addition to data) to exclude unknown platforms?

Because the platform data live in the DB, we shouldn't do any validation in the spec, which would require us to update the API description each time we add/update platform data in the DB.

@tschaffter done ✅

I updated the challenge service with the generator and weird things are happening like the challenge platform Java and TS object loosing some of its properties. Could this be a side effect of @rrchai using AllOf to make challenge.platform nullable? Currently investigating...

@vpchung I fixed the styling issue visible on your screenshot where "Not Available" is not greyed out for platform. Now that platform is nullable AND optional, the property in TypeScript is now:
platform?: SimpleChallengePlatform | null;

The styling check should check for these two values:
<td [ngClass]="{ 'text-grey': challenge.platform?.name === (undefined || null) }">

which I propose to simplify to the following:
<td [ngClass]="{ 'text-grey': !challenge.platform }">


Feature/test infrastructure two

Enable UI testing with better setup and teardown

/azp run azure-sdk-tools - APIView

/azp run APIView


[Question] What is CUI?

I'm making a port of airline's hybrid theme, the only problem I had so far is that I don't know what cuifg and cuibg are.
I set all of the cui fields to random numbers but I don't notice any difference, and searching for "cui vim"/searching issues here/help page for lightline doesn't bring up anything useful. (I know you can let lightline set them for you with lightline#colorscheme#fill(s:p))
Thanks!

CUI is the abbreviation of Character User Interface but I think I have to rewrite the doc to use cterm.


Update microsoft-365-defender-portal.md

Updated the course as the old one is no longer available

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/10086

@JohanFreelancer9 Copy review

Learn Build status updates of commit 83af211:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/security/defender/microsoft-365-defender-portal.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@tiburd Please merge this PR. Thanks

Learn Build status updates of commit 069867e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/security/defender/microsoft-365-defender-portal.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


tracing across kinesis with camel-zipkin + brave

I have 2 spring-boot-camel apps. I am using the camel-zipkin library, which is using Brave under the hood.
My setup looks like this.
producer -> aws kinesis -> consumer
My goal is to have producer and consumer produce correlated spans I can view in zipkin. What's happening is that the producer is generating a unique trace id and span, and the consumer is producing a trace id and span. However, the consumer just creates a new trace and span id, it doesn't add a span to the existing trace.
I inspected the headers getting passed to the consumer, and the trace/span headers are getting passed to the consumer. The consumer is just ignoring them and creating new on trace.
I tried swapping out kinesis for simple rest, and rest works. Tracing fails when I uncomment the code to communicate via kinesis.
in consumer app
`package com.example.config;
import org.apache.camel.builder.RouteBuilder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
@Configuration
public class Routes extends RouteBuilder {
@Autowired
private KinesisProperties kinesisProperties;

@Override
public void configure() throws Exception {

    //from(kinesisProperties.getCamelUrl()).routeId("consumer").to("log:out");
    rest("/hello").consumes("application/json").produces("application/json")
            .post().route().transform().constant("Hello World").routeId("consumer").to("log:out");
}

}
`
in producer app
`package com.example.kinesisproducer.config;
import org.apache.camel.builder.RouteBuilder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
@Configuration
public class Routes extends RouteBuilder {
@Autowired
private KinesisProperties kinesisProperties;

@Override
public void configure() throws Exception {
    //rest("/demo").consumes("application/json").produces("application/json")
    //        .post().route().transform().constant("Hello World").setHeader("CamelAwsKinesisPartitionKey", constant("hello")).routeId("producer").to(kinesisProperties.getCamelUrl());
    rest("/demo").consumes("application/json").produces("application/json")
            .post().route().removeHeaders("CamelHttp*").transform().constant("Hello World").routeId("producer").to("http://localhost:8080/camel/hello");
}

}
`

Thanks, I'll put a ticket there.
On a side note, would you be able to point me to some example code or docs that shows how to get the trace/span headers in the consumer and update them with the new span. I have a feeling it's fairly easy, but Im not sure which classes to use.

Closing this, @solidgains  if you still have questions feel free to drop by on https://gitter.im/openzipkin/zipkin


fix(rhtapbugs-975): use source_url instead of repo_url

Update the tekton PR job to use source_url rather than repo_url for the git-url parameter.  This will ensure that the repo will clone from the source rather than the target when testing PR jobs
Maintainers will complete the following section

[ ] Commit messages are descriptive enough (hints)
[ ] Code coverage from testing does not decrease and new code is covered (check the PR coverage on codecov)
[ ] Controllers diagrams are updated when PR changes controllers code  (if applicable)

/retest


multiple definition in header-only library

I'm attempting to use the header only import of the c++11 branch (basically as described in https://github.com/tdv/redis-cpp/issues/4#issuecomment-667507438). I've included the macro definition #define REDISCPP_HEADER_ONLY, but when I compile it I get the following error:
multiple definition of `rediscpp::resp::deserialization::get_mark(std::istream&)';

I even tried using #ifndef but the issue persisted. I'm not sure what causes this but, if I change:
https://github.com/tdv/redis-cpp/blob/a7302a31ce5b19e6f58ff03957c73acc882d78cf/include/redis-cpp/resp/deserialization.h#L36
to:
[[nodiscard]]
inline char get_mark(std::istream &stream)
{

It resolves the issue. I'm not sure if this is the correct way to fix this though. Can anyone confirm this issue / resolution?

Hi. Thanks for addressing the issue.
Yes, your way is the most correct in this case.
I've just committed a fix into C++11 backport.

@tdv Thank you for including the fix!


Passing URL  with parameters into url() table function

When passing through ODBC driver a querry to url() table funtion the ? gets replaced by
%7Bodbc_positional_1:Nullable%28Nothing%29%7D

? has a special meaning in SQL queries in ODBC at least: https://docs.microsoft.com/en-us/sql/odbc/reference/develop-app/statement-parameters. Try escaping like this \?.

I have tried escaping ? (and many other variants). If escaping character is used, the ? is preserved, however the character used to escape is also preserved. Meaning somedomain.com/page?parameter1=1 just becomes somedomain.com/page?parameter1=1
And the url() function tries this and gets error.

If I execute:
SELECT * FROM url('http://<IP_ADDRESS>:12345/?param1=value1', CSV, 'column1 String')

In ClickHouse log I see:
2020.08.27 13:05:01.438623 [ 8847190 ] {f75ffb28-4d5e-4aa8-835a-01436fab7e6d} <Debug> executeQuery: (from [::1]:58836) SELECT * FROM url('http://<IP_ADDRESS>:12345/?param1=value1', CSV, 'column1 String')

Could you please provide the exact query that doesn't work for you, as well as the client you are using?


Error: getaddrinfo EAI_AGAIN Maintainerr

Describe the bug
Latest Maintainerr installed on Synology Docker. Does not want to start with network bridge. Keeps complaining about: "Error: getaddrinfo EAI_AGAIN Maintainerr"
To Reproduce
Just starting the container is enough to get the error
Expected behavior
I expect the docker starts properly so I can browse to the maintainerr site.
Screenshots
None necessary here
Device (please complete the following information):

OS: DSM
Version 7.2.1-69057 Update 5

Additional context
Sonarr, Radarr, Lidarr, all working fine. Can't seem to get this one running.

Hi,
i’m not familiar with DSM, does it use docker compose or does it use it’s own mechanism (similar to Unraid)?
Are you able to share your configuration?

Hello Jorenn,
I can share anything you want. Just let me know what you need, please.
It uses it's own system, but it can also use Docker Compose, when necessary. Although I haven't used that yet.
I've made an export of the configuration of the docker and I've attached it to this post. Maybe that's helpful?
Maintainerr_2.json

The issue seems to be related to DNS name resolution inside the container. I'm not sure how DSM 7 handles this, but you should be able to force DNS for each container. For example, with docker run, you can specify DNS servers like this:
docker run --dns <IP_ADDRESS> --dns <IP_ADDRESS> <image_name>
You might also find useful information by running:
docker network inspect <network_name>

Closing due to inactivity