MacOS reported cursor position 'stutters' on mouse down

When using GLFW on macOS (latest release, 3.3.7), I encounter a "stutter" in the reported cursor position when I press down the primary mouse button. Example (I periodically press the left mouse button, triangle follows mouse position via glfwGetCursorPos but has the same effect when using the callback):

Any of the other mouse buttons (middle, right, alternatives, etc.) do not produce this stutter. It also does not stutter when on Windows.
Note that this is not stuttering rendering; an animation does not stutter, only the reported mouse position does.
Link to program.

Playing around in the cursor test program, it looks like this only happens when 1) using glfwPollEvents and 2) when swapping via glfwSwapInterval(1) instead of glfwSwapInterval(0).

I figured out the problem. This is not a problem with GLFW, but a problem with a commonly installed app called "Magnet". It appears Magnet is intercepting the left-mouse button for a short time. Closing Magnet fixes the issue.


How to change the size of font?

Hi~
I want to make the font size smaller, How?
Thanks.

\documentclass[11pt, a4paper]{awesome-cv} ... change 11 to 10.

Thanks!
And how to reduce space between sections?
I'm a newbie. Thanks!

\renewcommand{\acvSectionTopSkip}{0mm}

@johannesbottcher Does it really change the font size? In my case the font stays the same regardless of whether I choose 10, 11 or 12pt. Only line spacing is affected.
Font sizes seem to be fixed because of how the styles are defined in awesome-cv.cls, for example:
\newcommand*{\paragraphstyle}{\fontsize{9pt}{1em}\bodyfontlight\upshape\color{text}}

Changing the font option to \documentclass can't affect cvparagraph environment font size because it is fixed to \fontsize{9pt}{1em}.
It can't change any other font size, for the same reason.

@arekolek For simple text, yes.

@johannesbottcher Yet the examples never use any simple text.

@arekolek If i change 11pt to 10pt in the example CV, i can see more stuff on the page. cvitems uses normal font without any changers.

@johannesbottcher Actually, \cvitems is wrapped inside \descriptionstyle in the examples.
I'm guessing @posquit0  put the 11pt in there to get the line spacing, since it doesn't affect the font size at all.

Can you change the font size to anything other than 10,11, or 12?

checkout my fork at https://github.com/JanHendrikDolling/Awesome-CV
You could change the font size and line stretch with the following commands.
FYI: I'd only used the cv template.
% font size for different elements
\sizesection{16pt}
\sizesubsection{12pt}
\sizeentrytitle{10pt}
\sizeentryposition{8pt}
\sizeentrydate{8pt}
\sizeentrylocation{9pt}
\sizedescription{9pt}
% line stretch
\stretchdescription{1.2}

@arekolek
Hi,
I tried to change the front size here but the front size didn't change.
\newcommand*{\paragraphstyle}{\fontsize{9pt}{1em}\bodyfontlight\upshape\color{text}}
Do you know how to change the front size?
Thanks.

This will give you an error because \paragraphstyle is already defined. The cvparagraph environment isn't used in the example templates.
There are about 30 styles that can be changed individually. There is no simple switch to make fonts bigger.
That could be done, but it would require many (many) lines of code.

Coming back to this as I was looking for the same issue, all the settings to be changed are in .cls, as I guess @yao5461 was looking for this, under the "Configuration for Styles - Configure styles for each element" section. Most likely he needed the bullet points configuration, which can be found on the line
\newcommand*{\descriptionstyle}[1]{{\fontsize{9pt}{1em}\bodyfontlight\upshape\color{text} #1}}
where 9pt is the size, knowing that there are 34 different text elements that should be modified accordingly :P
Out of curiosity, wouldn't it be possible to have a dynamic reference for font size? For example in the document the smallest font size is 8pt, if that is defined as x and every other font is defined as x, x+1, x+2 etc just changing the small font size would update everything else...

Out of curiosity, wouldn't it be possible to have a dynamic reference for font size? For example in the document the smallest font size is 8pt, if that is defined as x and every other font is defined as x, x+1, x+2 etc just changing the small font size would update everything else...

That is the default LaTeX approach, This template handles stuff a bit differently. As i said, many lines of code would need to be changed to allow different font sizes by default. Standard book class provides three different font sizes to choose from, each one needs an extra file of about 200 lines of code.
For a CV, a bit less would be needed. On the other hand, a templates purpose is to set the style and layout. Though a user is able to change some stuff, not everything is possible.

so ,how to change the size of font

checkout my fork at https://github.com/JanHendrikDolling/Awesome-CV You could change the font size and line stretch with the following commands. FYI: I'd only used the cv template.
% font size for different elements \sizesection{16pt} \sizesubsection{12pt} \sizeentrytitle{10pt} \sizeentryposition{8pt} \sizeentrydate{8pt} \sizeentrylocation{9pt} \sizedescription{9pt}
% line stretch \stretchdescription{1.2}

@JanHendrikDolling where does the \stretchdescription command get placed to take effect? I'm having trouble making this work but I also dont know too much about LaTex syntax. My best guess was somewhere on line 210:
\newcommand*{\descriptionstyle}[1]{{\fontsize{9pt}{1em}\bodyfontlight\upshape\color{text} #1}}

I haven't used the template for a long time. Try the following line.


[docs] Write Kubernetes tutorial book

Based on Kubernetes tutorial we would like to build training book
https://go4clouds.github.io/docs/

It was done, now everyone are welcome to work on this


Store uploaded images and files in an s3 bucket

Resolved in https://github.com/openvitae-tech/blackboard-lms/commit/38fe4641d7eff6c5e7894ad42633e391a30d2198


Generate SQL INSERT dialog improvement

The INSERT INTO statement in the generated SQL, that we can select in the data viewer for the columns, contains values for all columns.
But sometimes we want to exclude auto-generated columns from this statement.

We need to add an option for this.

Implemented for Generated SQL INSERT dialogue in table data viewer.
Also tabs "Show comments" and "Show permission" removed from all PostgreSQL dialog (like UPDATE, SELECT) except DDL dialogue.

verified


Merge main to live

Including [SEO][Rollout Monikered Canonical]Add URL moniker

@davidbritch Could you please help merge main to live?

@pjcollins Is this safe to merge? Just wondering why live isn't already up to date with main.


[WIP] tell IJulia to install jupyter kernels in /srv

This PR adds an environment variable which tells IJulia to put its kernelspec in /srv
Potential fix for #620.
Todo:

[ ] is this is the best way to find the kernel path?
[x] figure out how to test
[ ] update docs/source/changelog.rst

@rabernat Sorry, I just saw this now, and had also started a PR: https://github.com/jupyter/repo2docker/pull/622.
I'm kind of surprised that your PR here works because I would have thought that this line overwrites the env var that you set... But your PR passes tests, so now I'm a bit confused :)

Yes I agree that is weird! No idea what is going on here. I'm new to Julia packaging, so don't have much insight.
Your solution in #622 is probably better. Perhaps you could add my test to that?

Cool! I copied your tests over to #622 and also put them into all the julia tests, so that we also test the legacy REQUIRE case.

I think this PR can be closed, we are going with https://github.com/jupyter/repo2docker/pull/622 instead.


ts-styled-plugin(9999) ( expected

mediaQuery.PWA: '(display-mode: standalone)'

html`
<style>
@media ${mediaQuery.PHONE} and ${mediaQuery.PWA} {}
</style>
`

Version 1.31.1 (1.31.1)

I have the same issue here I'm  using style components

Closing as this package has been deprecated in favor of the official styled-components/typescript-styled-plugin fork
After updating to that fork, follow up in the styled-components repo if this is still an issue


Bash auto-complete on OSX

Try typing this on OSX: hub pull and then TAB. The pull-request isn't available as possible option. When on Linux it works flawlessly.
The pull request functionality works, it's just auto-complete that doesn't work for it.

This is not working for me, tried adding:
if [ -f $(brew --prefix)/etc/hub.bash_completion.d ]; then
    . $(brew --prefix)/etc/hub.bash_completion.d/hub.bash_completion.sh
fi

to my .bash_profile but still not working.

git version 2.6.4 (Apple Git-63)
hub version 2.2.2
Homebrew 0.9.5 (git revision 09f9; last commit 2016-01-15)

how can I do the setup?

@danielgomezrico Did you load git's own bash completion script before loading hub's? I don't know exactly where it is for Apple Git-63, but it should be somewhere on the system.

@mislav you mean using something like this? https://github.com/git/git/blob/master/contrib/completion/git-completion.bash
No, I tried tag with git command but theres no autocomplete for it neither.

@danielgomezrico Well, the way to load hub's completion is to first load git's own completion (it should complete git commands in the terminal), then when you verify that works, load hub's completion and restart the shell again.

I installed both Git and Hub through Homebrew. The auto completion worked just fine until recently. hub [TAB] only gives me git's command but not hub's. I'm not sure the cause, the Apple Git,  Homebrew Git and Hub had all been upgraded in the meantime.
$ /usr/local/bin/hub --version
git version 2.18.0
hub version 2.5.0

$ /usr/bin/git --version
git version 2.15.1 (Apple Git-101)

@ushuz See https://github.com/github/hub/issues/1792#issuecomment-403413131


Hobbyist Software feed: only show apple code

iOS Dev doesn't care about my Rails code

Thank you so much for this. It’s great to see people focus on what is relevant for this site!
Sent with GitHawk


No executable file found in Aquacrop folder

I downloaded the latest version of Aquacrop7.1, but couldn't find the file when calling with AquacropOnR. I tried a number of things, such as changing the file path fear the path is too long, putting Aquacrop on the desktop, manually opening Aquacrop to see if it works, and modifying Aquacrop properties. I navigate to the file directory and make sure it exists. But none of them solved the problem.
library(AquacropOnR)
path_config("D:/R/yxxtry/aquacrop/AquaCrop.exe")

However, Aquacrop can be opened on the command line, indicating that there is nothing wrong with the software itself

Did you download the standalone version of Aquacrop: https://www.fao.org/aquacrop/software/aquacropplug-inprogramme/en/
This is a different version from the standard aquacrop with graphical user interface.

I didn't download the standalone version, I downloaded the standard version. Does this AquacropOnR correspond to an independent version

The aquacroponr package only works with the standalone version, not with the GUI version.
An example for using the package can be found at https://tdeswaef.github.io/aquacroponr/articles/example-simulation.html

I don't know why 404

apparently, there is a new version (7.2). I have not tested aquacroponr on the new version, so I would advise to use the 7.1 version.
You can download the 7.1 version here: https://github.com/KUL-RSDA/AquaCrop/releases?q=7.1&expanded=true

I was so upset. I have installed the standalone version 7.1. But I still can't find it

And I still have a lot of questions. The standalone version of the manual says that the LIST directory places PRO files. But I find that the Simulation Example reads CRO files. Does this mean I can read files in the GUI version? Can I read the files in the GUI and simulate them in a standalone version?


polymorphic association is lost in case field is blank

What version of Go are you using (go version)?

$ go version
1.12

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env

What did you do?
i has 3 models defined as below (using 'polymorphic association')

type Subject struct {
    gorm.Model
    SubjectId   uint
    SubjectType string
}

type User struct {
    gorm.Model
    Key string
    Subject Subject `gorm:"polymorphic:Subject;polymorphic_value:user;"`
}

type Group struct {
    gorm.Model
    Key string
    Subject Subject `gorm:"polymorphic:Subject;polymorphic_value:group;"`
}

... inserting value
user := User{ Key: "test" }
tx.FirstOrCreate(&user, User{Key: user.Key}).Error
...

What did you expect to see?
The entity of 'Subject' is saved with subject_id and subject_type are both set.
What did you see instead?

Digging into codes,  the association relationship is lost in case structure field is blank.  See as below relevant codes

func saveAssociationCheck(scope *Scope, field *Field) (autoUpdate bool, autoCreate bool, saveReference bool, r *Relationship) {
	checkTruth := func(value interface{}) bool {
		if v, ok := value.(bool); ok && !v {
			return false
		}

		if v, ok := value.(string); ok {
			v = strings.ToLower(v)
			return v == "true"
		}

		return true
	}

	if scope.changeableField(field) && !field.IsBlank && !field.IsIgnored {
		if r = field.Relationship; r != nil {
			autoUpdate, autoCreate, saveReference = true, true, true

			if value, ok := scope.Get("gorm:save_associations"); ok {
				autoUpdate = checkTruth(value)
				autoCreate = autoUpdate
				saveReference = autoUpdate
			} else if value, ok := field.TagSettingsGet("SAVE_ASSOCIATIONS"); ok {
				autoUpdate = checkTruth(value)
				autoCreate = autoUpdate
				saveReference = autoUpdate
			}

Not sure it is a bug or just intention ...

in the wrong project ...


Permission access camera and file library

I have seen this library is good but one things is missing here which is run time permission for access camera and file library in kotlin multiplatform. For your information, android 15 permission is already changes as compared to others platform.

Hi! Thanks for creating this issue.
I'm not sure to understand well your problem. Actually, FileKit doesn't access the camera feature, so it doesn't need camera permission access. Also, to my knowledge, there is no permission needed to open a file picker.
Can you please provide more details about what you mean? Thanks in advance


Fix spacing error for proper code formatting

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Thank you @gplowe


Documentation and examples for load/save

I'm trying to figure out how to get readthedocs to build this before I merge it because I'm not sure if it will run ncdump which I put in the examples. The documentation implies I should just tick a box, but that doesn't seem to be working just yet


How do I specify "always latest" task version in YAML?

This documentation needs to be here. Do I do PublishTestResults@0? PublishTestResults@99? Some other special syntax?
Further, the task list referenced doesn't show that available versions there are. Where do I go to find this information?
Thank you!

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

ID: 8098f527-ebdf-60d5-3989-5228b7a207c1
Version Independent ID: ce27c817-9599-00ef-5af2-3ac1dbad8dc6
Content: Build and Release Tasks in Azure Pipelines and TFS - Azure Pipelines & TFS
Content Source: docs/pipelines/process/tasks.md
Product: devops
GitHub Login: @andyjlewis
Microsoft Alias: alewis

I realize this might not answer all you questions, but see if this helps: https://docs.microsoft.com/en-us/azure/devops/pipelines/process/tasks?view=vsts&tabs=yaml#task-versions

Actually, it's not "can specify the major version". It's "must specify". I'll get that fixed.
We considered doing a feature to let you opt into "@latest", but it really doesn't have a good use case. We only major-version tasks when things break, so you're by definition opting into having your builds break at a task author's whim.

Thanks @vtbassmatt, that makes sense. Right now the tasks don't list what versions are available without going to designer which is very point-and-clicky, I had to go to the Github Tasks repository for a quick reference. A table of tasks and available versions would be nice. When writing a yaml "from scratch" it was pretty annoying to hunt this info down, it should be readily available.

@andyjlewis you do realize that I am literally filing an issue on the document you referenced right? :)

Agreed, and we're working to make that better. There will be some web UI coming soon, but also have you tried our VS Code extension?

I have not! Thanks for the heads up.
On Tue, Nov 27, 2018, 11:45 AM Matt Cooper<EMAIL_ADDRESS>wrote:

Agreed, and we're working to make that better. There will be some web UI
coming soon, but also have you tried our VS Code extension
https://marketplace.visualstudio.com/items?itemName=ms-azure-devops.azure-pipelines
?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/vsts-docs/issues/2582#issuecomment-442191396,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOjVUmF2-obDtxWQ4ejxwNOoXLw9tHrfks5uzZY6gaJpZM4Y19lG
.

Got it. I was moving too fast while scanning the content source field and so thought this issue targeted a different doc. Thanks for reporting the issue.


[CODE] W-LFU eviction

Implement window-LFU eviction algorithm.

Evicted items can go to a history store, which is MemoryIndex and be kept there for some time (after expiration they get removed completely from the system) - NO


removed reports from side bar, and hide admin bar when the user is no…

…t an admin.

When the admin bar is open and I log out, the admin button is hidden but the submenu of it is still visible.


Class thumbnail not found

http://prntscr.com/mrpngj

Provide the below details to debug further

Have you installed this package with composer
What version of Laravel you are using
What version of this package was locked in composer file
Have you imported the Thumbnail package namespace into your action controller file
What is your OS platform (OSx, Linux, windows)?

Closing for inactivity.


Add Redpanda as service

https://vectorized.io/docs/quick-start-docker

https://github.com/morsapaes/hex-data-council/blob/main/docker-compose.yml


Add a default content key for the service_kafka plugin

#1748

这个action怎么老是报错
ERROR: failed to solve: failed to resolve source metadata for sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/common/dockerfile:1.5: failed to authorize: failed to fetch anonymous token: Get "https://dockerauth.cn-shanghai.aliyuncs.com/auth?scope=repository%3Acommon%2Fdockerfile%3Apull&service=registry.aliyuncs.com%3Acn-shanghai%3Achina%3Acri-f3jqinwsz7s1xlep": net/http: TLS handshake timeout

这个action怎么老是报错
ERROR: failed to solve: failed to resolve source metadata for sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/common/dockerfile:1.5: failed to authorize: failed to fetch anonymous token: Get "https://dockerauth.cn-shanghai.aliyuncs.com/auth?scope=repository%3Acommon%2Fdockerfile%3Apull&service=registry.aliyuncs.com%3Acn-shanghai%3Achina%3Acri-f3jqinwsz7s1xlep": net/http: TLS handshake timeout

为了国内开发方便替换了dockerfile:1.5的镜像地址，但这样git action就不太稳定，容易TLS握手超时


Fix a bug:  After scrolling the images, visible pages won't remove the ones in recycled pages

Please review my code

Thanks bro


add advanced upgrade service (AUS) CLI

the AUS CLI utility is an OCM CLI plugin to manage AUS upgrade policies on clusters and organizations in OCM
https://source.redhat.com/groups/public/sre/wiki/advanced_upgrade_service_aus
adding this to ocm-container is beneficial for AUS users, since they get the AUS plugin bundled with an up to date OCM utility. this way ocm-container can be used in CI systems where they validate their AUS policies and apply them after merge.
part of https://issues.redhat.com/browse/APPSRE-8538

Hi @geoberle, thanks for the PR!
Who is the intended audience for the AUS utility?  They majority of users of ocm-container are likely SREP, who don't really have anything to do with scheduling upgrades.  However, I think it's fair to add utilities others might find helpful as well.  We just want to balance how much may need to be in the "core" ocm-container, and what might be added by other teams using ocm-container as a base image to customize their own.
What are your thoughts on this?


Don't run cover if token doesn't exist

Fixes # .
Motivation

Solution

Open questions

Pull Request Test Coverage Report for Build 1195

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

Totals

Change from base Build 1169:
0.0%

Covered Lines:
374

Relevant Lines:
498

💛  - Coveralls


F39 Simplified-Installer reports a failure, brings up emergency shell - then continues installation without issue

Describe the bug
When using a Fedora 39 Simplified-Installer to install to a device, there is a failure and the system drops to a dracut emergency shell- then continues on and performs a successful installation:
To Reproduce
Please describe the steps needed to reproduce the bug:

Create a Fedora simplified-installer
Provision a device.

Expected behavior
No error, no dracut shell.
Screenshots

From the logs:
Oct 13 16:50:02 fedora dracut-mount[714]: Warning: Can't mount root filesystem
Oct 13 16:50:02 fedora systemd[1]: Starting dracut-emergency.service - Dracut Emergency Shell...

Additional context
After installation, using coreos.inst.skip_reboot to stop the system from rebooting :

@7flying have you encountered this recently in your tests?
Overall, we need someone to validate this problem is still occurring with F39 and F40

This (the error from the first screenshot) is still happening in my latest tests in Fedora 39.

Error from the first screenshot still happens in F40, but it does continue with the installation and successfully reboots into f40.

This still happens in F41 and it looks like it's because the dracut-mount.service is activated by the presence of /lib/dracut/hooks/01-mount-overlayfs.sh file which is generated by the overlayfs dracut module. This file does not exist in RHEL simplified installer images and is present in F39 F40 and F41.
The overlayfs dracut module is required by livenet and dmsquash-live so removing them from the list of the dracut modules to be installed fixes the issue (I also added the overlayfs dracut module to the list of modules to be omitted just to make sure the module is not included but I think it's not actually needed).
I am not sure we need livnet and dmsquash-live for the coreos-installer but it looks like the configuration is shared by the anaconda and the coreos installers so removing them from the list is not going to be the final solution.

I am not sure we need livnet and dmsquash-live for the coreos-installer but it looks like the configuration is shared by the anaconda and the coreos installers so removing them from the list is not going to be the final solution.

From my point of view, this is the core of it all.  If we (you) don't care about the functionality these modules provide for the simplified-installer, then we should just remove them.


Feature Request: Add Syntax Highlighting for Semantic TypeScript Diagnostics

It is very hard to see what is going on given this error message:

If VS Code's markdown support could be used in those semantic diagnostics, types could be put in code blocks. This would increase readability significantly.

I suggest the following rule:
Treat everything in TS error messages enclosed with ' as code (in the following $code). If $code is shorter than 15 characters, emit it as `$code`, otherwise as
```ts
$code
```

Of course this makes the assumption that the formatting of types is consistent and typescript does not nest ' in its error messages. String literal types use ".
If you point me to the central code locations that might need to be touched, I can try to create a PR for this.

@mjbvz Is this duplicate of https://github.com/microsoft/vscode/issues/54272 ?

Oh, I assumed displaying markdown in diagnostics was already possible. Additionally to #54272, this would also need concrete changes for the typescript extension to make use of the markdown.

Closing as a duplicate of #54272
@hediet Yes, we would only want to enable highlighting if an extension requests it (such as using markdown code blocks)


Support DB_NAME in the database link

Currently, we can select a database to link it to an instance. However, it is not possible to select the database (DB_NAME).

I'd like to contribute to this feature

Hello, thanks for offering your help.
I suggest taking a look at the contributor's guide. Don't hesitate to join our discord if you need help with anything!

Thanks! I added some details to the issue; as @Syycorax said don't hesitate if you have any questions!

yeah, I'm still working on it. However, I have some issues with the frontend cause I'm not familiar with React :(


Dataset Link is broken

This link: RAVDESS is broken. Can you do something about it?

Done. The link has been fixed.


Xcolor compatibility

I thought this would be an even cooler script if it supported Xcolors-style definitions as input. Instead of going the hard route and actually adding this functionality to your script, I quickly wrote a ruby parser
This can be generally interesting in conjunction with repositories such as https://github.com/tlatsas/xcolors
Would you see any drawbacks to incorporating a xcolors reader into your script?
Personally, this completes the functionality of this script - http://charlesleifer.com/blog/using-python-to-generate-awesome-linux-desktop-themes - which generates i3wm config files and xresources files.

Hey, check out my pull-request that introduces support for default format: https://github.com/sos4nt/dynamic-colors/pull/25


pull request for e2e test at 01/16/2017 23:56:14

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


The SQLTools Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted.

Describe the bug
When I try to run the extension it crashes and report the following error:
The SQLTools Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted.
This is the log of the error:
[1676459773607] INFO  (ext): SQLTools is starting [1676459773610] INFO  (ext): initializing language client... [1676459773610] INFO  (ext): Detecting node path (if this stalls check Terminal view for the stuck session and kill it)...     ns: "lc" [1676459775600] INFO  (ext): Node runtime auto-detected. Using /usr/bin/node.     ns: "lc" [1676459775600] INFO  (ext): Registering client for languages [{"scheme":"sqltools"},{"language":"sql","scheme":"untitled"},{"language":"sql","scheme":"file"},{"language":"sql","scheme":"sqltools"}]     ns: "lc" [1676459775602] INFO  (ext): loading plugins... [1676459775602] INFO  (ext): registering Formatter Plugin.     plugin: {       "name": "Formatter Plugin"     } [1676459775603] INFO  (ext): registering Connection Manager Plugin.     plugin: {       "name": "Connection Manager Plugin"     } [1676459775603] INFO  (ext): registering CodeLens Plugin.     plugin: {       "name": "CodeLens Plugin",       "registeredLanguages": []     } [1676459775604] INFO  (ext): registering Dependency Manager Plugin.     plugin: {       "name": "Dependency Manager Plugin",       "installingDrivers": []     } [1676459775605] INFO  (ext): Connection explorer changed. Will be updated.     ns: "conn-man:explorer" [1676459775606] INFO  (ext): registering History Manager Plugin.     plugin: {       "name": "History Manager Plugin"     } [1676459775606] INFO  (ext): registering Bookmarks Manager Plugin.     plugin: {       "name": "Bookmarks Manager Plugin"     } [1676459775607] INFO  (ext): registering Authentication Provider Plugin.     plugin: {       "name": "Authentication Provider Plugin",       "isRegistered": false     } [1676459775607] INFO  (ext): SQLTools activation completed. 2000.041763 ms [1676459775608] INFO  (ext): Formatter Plugin registered! [1676459775608] INFO  (ext): CodeLens Plugin registered! [1676459775608] INFO  (ext): Dependency Manager Plugin registered! [1676459775608] INFO  (ext): Connection Manager Plugin registered! [1676459775608] INFO  (ext): History Manager Plugin registered! [1676459775608] INFO  (ext): Bookmarks Manager Plugin registered! [1676459775608] INFO  (ext): Authentication Provider Plugin registered! [1676459775697] INFO  (ext): registering SQLite Plugin (driver).     plugin: {       "extensionId": "mtxr.sqltools-driver-sqlite",       "name": "SQLite Plugin",       "type": "driver"     } /home/andrea/.vscode/extensions/mtxr.sqltools-0.27.1/dist/languageserver.js:1
...
SyntaxError: Unexpected token '.'     at wrapSafe (internal/modules/cjs/loader.js:915:16)     at Module._compile (internal/modules/cjs/loader.js:963:27)     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)     at Module.load (internal/modules/cjs/loader.js:863:32)     at Function.Module._load (internal/modules/cjs/loader.js:708:14)     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)     at internal/main/run_main_module.js:17:47 [Error - 12:16:16 PM] Connection to server got closed. Server will not be restarted.
Expected behavior
It was working before an update of VSCode, I don't know if it related to the update.
Desktop:

SQLTools Version 0.27.1
VS Code Version: 1.75.1
OS: Ubuntu  22.04.1 LTS
Driver:

[ ] PostgreSQL/Redshift
[ ] MySQL/MariaDB
[ ] MSSQL/Azure
[X] SQLite
[ ] Other? Which...

Database version: SQLite Version 3.40.0

I tried to downgrade SQLTools to version 0.26 and before and it works, maybe it's a problem with the latest release

@bennaa what version of Node are you running? I had the same issue on the latest version of the extension, but realised I was running v10'ish of Node on the host I was remoting into. Upgrading Node to v19 fixed the issue. cc @gjsjohnmurray

@bennaa Good to hear!
@gjsjohnmurray Perhaps worth adding a warning/notification if too low a version of Node is detected?

@tlil thanks for helping @bennaa resolve this. SQLite doc update is in progress, and I have opened a separate issue for an enhancement to detect and warn about this situation.


Fix calculation of M in SRP to line up with spec to the letter

We seem to have ended up with an extra round of hashing that the spec doesn't call for. No real security difference between the current and the updated version, but this lines us up with spec.
This will need a major version bump to avoid a BC break.

@jpgoldberg No pressure to review here, only if you're interested 🙂


Enhancement:  Remove namespace from generated asset configs

As of Sensu Go 5.11  sensuctl will automatically fill in the namespace if it is missing.
We should stop populating the namespace metadata attribute in the generated configs.

Older versions of sensuctl will fail with the following if the namespace metadata attribute is missing (commenting here for future searchers).
error validating resource 0 (/api/core/v2/namespaces//assets/sensu-plugins-http_alpine_amd64): namespace cannot be empty


Metadata per Message

Each message (up and down) needs to support metadata. This is similar to service tokens, headers or cookies in other protocols such as HTTP.
Example use cases are:

credentials and security tokens
context & session
routing metadata, such as for conditionally routing messages within infrastructure

debug, A/B testing, stickiness, etc

triggering fault injection, trace logging, etc across an entire call graph

I am not yet convinced that we need metadata for every frame. The examples here sounds to me like they are the cases for having a metadata "per request" as opposed to metadata "per frame", eg: routing will not be per frame and so would fault injection, trace logging.
The closest protocol to ours being HTTP/2 also has headers (equivalent to metadata) associated to a stream and not a frame.

I think we've discussed this in person since ... is this still an open question?
The use cases above are not per request, they can be per frame. For example, a request/stream of 100 "Video Manifests", each one with credentials/encryption/etc associate with that particular video.
What is your recommended solution if not per frame?
Keep in mind how the application API would look like to consume the stream of data and metadata: https://github.com/ReactiveSocket/reactivesocket-java/blob/ae25df17c4c37caca82e1502c9d82fc96173cc02/src/test/java/io/reactivesocket/ReactiveSocketTest.java#L151

Discussed in person ... we decided that having a Frame support both is the most flexible for all use cases and lets the application choose how to use it.


Godot 4.0 RC3 to RC5: breaks timer.connect(), the program is stopped forever

Godot version
v4.0.rc5.official [6296b4600]
System information
Windows 10
Issue description
After upgration to Godot.RC3 .. RC4 .. RC5 my plugin is broken.
I provide a function to wait for a function to provide an expected value.
As example it waits for function 'obj_value' from the instance TestIterativeValueProvider is providing null.
func test_foo(timeout = 20000) -> void:
	var value_provider := TestIterativeValueProvider.new(RefCounted.new(), 5, null)
	await assert_func(value_provider, "obj_value").is_null()

Now the execution stops at await and is not executed further
I have reduced the code as much as possible to find the root of the cause.
The problem occurs when using timer.connect("timeout", _on_timeout).
workaround
timer.timeout.connect(func timeout():
			call_deferred("emit_signal", "done", null)
		)

Steps to reproduce
run the attached example
a) if you run await assert_that().it_works() the function is continue after the signal done is emitted
b) if you run await assert_that().not_works() the function is stuck
--  b1) also strange when using variant (b) and remove the return type from the function assert_that it works too
Minimal reproduction project
timer_await.zip

If you're using signal/async function chaining, then it's possible that some initial or intermediate object doesn't already exist (was freed). Are you sure the awaited signal is emitted (the awaited function is completed)?

yes i have analysed in deep, see the example project

it breaks many places in my plugin
e.g.
        # works
	timeout.connect("timeout", func on_timeout():_interrupted = true)
        # not works
	#timeout.connect("timeout", _on_timeout)

func _on_timeout():
	_interrupted = true

I tested the MRP. First, there are errors (I fixed them):

Secondly, as I assumed, the awaiting object is already freed at the moment when the signal is emitted:

This is not yet properly documented, but there is a difference between a lambda and _on_timeout (read as self._on_timeout). In the second case, you create a Callable bound to an object instance. And the moment the instance is deleted, this Callable becomes invalid (now it's just correctly cleared after #65910). Unlike _on_timeout, a lambda is not bound to an object instance (in the sense that it can outlive it).
timer_await_2.zip

also strange when using variant (b) and remove the return type from the function assert_that it works too

It's probably the same bug that in #70637.

Really nice detective work @dalexeev ❤
I am struggling to see the implications for this issue - does that mean that everything is working as expected, and it's more of a documentation issue? Or is there something here that needs to be fixed?

I'm not sure there are no other bugs left. Perhaps we unreference() a temporary object earlier than we should, or there is some other bug in the compiler/VM. This is just my intuition, I don't know enough about it.
The MRP code is hard to analyze because it has await, signals, call_deferred, plus we need to take into account the lifetime of objects. Personally, I would avoid code like this, but we need to understand it in order to know if GDScript works correctly.

@dalexeev thanks for your analyse
What i not understand you say And the moment the instance is deleted, this Callable becomes invalid
But the instance is not deleted, it stays at await and will not be freed before the function is left and quit is called,

This is not yet properly documented, but there is a difference between a lambda and _on_timeout (read this as self._on_timeout). In the second case, you create a Callable bound to an object instance. And the moment the instance is deleted, this Callable becomes invalid (now it's just correctly cleared after #65910). Unlike _on_timeout, a lambda is not bound to an object instance (in the sense that it can outlive it).
Here you can see that the "method reference" and the lambda are bound to different objects (the instance and the class):

@dalexeev But seems that if the lambda somehow references the instance then it's bound to the instance instead of to the script:
var f3 = func(): self
print(f3.get_object() == self) # true

That's what seems to happen in the MRP, the lambda keeps the RefCounted object (AssertThat) alive.

I think this showcases the main issue in here:
extends Node

func _ready() -> void:
	print(1)
	await A.new().some_signal
	print(2)

class A:
	signal some_signal

	func _init() -> void:
		call_deferred("emit_signal", "some_signal")

In v4.0.rc2.official [d2699dc7a] outputs:

1
2

and produces errors:
E 0:00:00:0730   ~Object: Object <Object#-9223372013635108439> was freed or unreferenced while a signal is being emitted from it. Try connecting to the signal using 'CONNECT_DEFERRED' flag, or use queue_free() to free the object (if this object is a Node) to avoid this error and potential crashes.
  <C++ Source>   core/object/object.cpp:1783 @ ~Object()
E 0:00:00:0730   _disconnect: Disconnecting nonexistent signal 'some_signal' in <Object#0>.
  <C++ Error>    Condition "!s" is true.
  <C++ Source>   core/object/object.cpp:1329 @ _disconnect()

In v4.0.rc3.official [7e79aead9], v4.0.rc5.official [6296b4600] outputs:

1

and breaks at the await line with an error:
Error connecting to signal: some_signal during await.

E 0:00:00:0710   test2.gd:4 @ _ready(): Condition "!obj" is true. Returning: ERR_UNCONFIGURED
  <C++ Source>   core/variant/callable.cpp:459 @ connect()
  <Stack Trace>  test2.gd:4 @ _ready()

After resuming the execution 2 is not printed.
So seems like the just created RefCounted object is being freed before await connects to its signal. Storing such object in a variable works as a workaround:
extends Node

func _ready() -> void:
	print(1)
	var obj = A.new()
	await obj.some_signal
	print(2)

class A:
	signal some_signal

	func _init() -> void:
		call_deferred("emit_signal", "some_signal")

This works in v4.0.rc5.official [6296b4600] the same as the await A.new().some_signal version works in v4.0.rc2.official [d2699dc7a] (outputs 1, 2 and errors about disconnecting).

@kleonc Then I guess that the reason is #73448. It is merged into RC 3.

But the instance is not deleted, it stays at await and will not be freed before the function is left and quit is called.

The AssertThat instance is freed before the timer signal is emitted, not the awaiting node and not the timer.

An question came up, if we connect a lambda where is do the disconnect?
Is this still done when the timer is freed?

When an object is freed, all connections to it are removed as well.
https://github.com/godotengine/godot/blob/3863199ab940272f6844ff30910ec7a520e47f41/core/object/object.cpp#L1802-L1806

The AssertThat instance is freed before the timer signal is emitted, not the awaiting node and not the timer.

Thats what i not understand,  the instance should be live antil the while loop and at least it is returning the instance it self to call _runB()
In my point of view the instance should only freed after left function .not_works()

Then I guess that the reason is #73448. It is merged into RC 3.

cc @RandomShaper

In my point of view the instance should only freed after left function .not_works()

Yes, this appears to be a bug. But it is also important for us to avoid the opposite problem: a memory leak due to a dangling reference in the case await does not complete for one reason or another.

Great detective work!
So, in hindsight I can see how freeing the temporaries would be problematic. It is only safe to free them after the end of a statement, since they are not meant to live across statements anyway.
Though in the current state they are only freed after being used, at least in theory, which should be okay. It might need more investigation.
Unfortunately I think this bug will stay in 4.0 and will have to be fixed later, as I feel like there won't be a simple fix (that we would be sure to not introduce other bugs) and reverting https://github.com/godotengine/godot/pull/73448 would re-introduce other bugs.


Instrumenter test and callback

@bcoe As #697 fixed the source-map issues I was looking to fix in #696, this PR only contains the other minor fixes included in that PR.
Specifically:

Added a test to prove sub-directories can be instrumented
Added a missing callback call and exit code to ensure all tests still pass

Changes Unknown when pulling a7bdd8a2b377df8b5072ea034a6b236d2e7f26b5 on thegecko:master into ** on istanbuljs:master**.

@thegecko your changes are set to be released in 11.4.0; would love your help testing:
npm i nyc@next -- (you should see 11.4.0 install).

Confirmed!
  "dependencies": {
    "nyc": "^11.4.0"
  }

All changes LGTM


ENH: action to rename contigs using shortuuid, uuid3, uuid4 or uuid5

Closes #83
Blocked by #88

Hey @DorielaGrabocka, could you please update this PR to reflect changes from #89? Thanks!


Add parameter to set text color

Seemed inefficient to use SetVertexColor after the mesh was already created to set text color.

I was thinking about this for a while.
I came into a conclusion that the mesh generator functions make most sense if they're purely about generating geometry. From user perspective it's not worth it to mix color to a set of functions that should purely work with geometry.
Some thoughts behind my decision.

All meshes can be created just once and then reused anyways, just the dynamically changing mesh needs to be regenerated each frame.
Each letter is only 4 vertices so setting color per vertex is not going to be a significant task even with hundreds of letters on screen.
Each mesh is copied 2 or 3 times when transferring the mesh into the GPU buffers anyways, getting rid of at least one of these copy operations is on my todo and should result in a bit more speed, but even that is kinda low on my priority list right now.
If setting a global color is preferred I could implement that per draw call or completely globally which would be really fast on CPU.

Ah okay i had not realized meshes could be reused between frames. With that the cost of recoloring the mesh becomes negligible in my use cases as most texts are static or only change once per second.

I removed the color changes, only left the spelling change and the removal of unnecessary checks in cmake.


Update Composer dependencies (2021-05-28-00-12)

Visual regression test passed!
View the visual regression test report


Faker::Time failing tests intermittently

On a fresh fetch from master, approximately 75% of the time one test within test_faker_time.rb fails;
Here is the failure;
===============================================================================
Failure:
  "5" expected to be included in Faker::Time::TIME_RANGES[:morning] range.
  <false> is not true.
test_time_period(TestFakerTime)
/Users/blah/Code/forks/faker/test/test_faker_time.rb:89:in `block (2 levels) in test_time_period'
/Users/blah/Code/forks/faker/test/test_faker_time.rb:88:in `each'
/Users/blah/Code/forks/faker/test/test_faker_time.rb:88:in `block in test_time_period'
/Users/blah/Code/forks/faker/test/test_faker_time.rb:80:in `times'
/Users/blah/Code/forks/faker/test/test_faker_time.rb:80:in `test_time_period'
     77:     from = Date.today
     78:     to   = Date.today + 15
     79:
  => 80:     100.times do
     81:       period          = @time_ranges.keys.to_a.sample
     82:       period_range    = @time_ranges[period]
     83:
===============================================================================

I'm happy to attempt to fix the issue, can I poke around in this code?

Probably an off by one error there based on the math. That that it's passing even 75% of the time when 300 tests are run suggestions the error is rather rare. Math puts it's occurrence at around 0.1% of the time. If I was inclined to bet, I'd figure it was in the random_between.
Recommend playing around with the values in [random_backward, random_between, random_forward].each do |result| and see if you can change how the tests occur. That should give some insights in where the issue is.

I ran the test suite for more than 10 times, but could not find the failure.


DevSite Import: Installation

Notice: This DevSite page will soon be deleted per b/133171590. Please add this sample to GitHub if it is relevant still:
https://developers.google.com/api-client-library/python/start/installation

Installation

    This page contains information about installing the Google APIs Client Library for Python.

System requirements

Operating systems:

Linux
Mac OS X
Windows

Python 2.7, or 3.4 or higher

Installing the client library
You can either use a package manager or download and install the Python client library
  manually:
Managed installation
Use pip or setuptools to manage your installation (you might
  need to run sudo first):

 pip (preferred):
      $ pip install --upgrade google-api-python-client

Setuptools:
      Use the easy_install tool included in the
      setuptools package:
      $ easy_install --upgrade google-api-python-client

Manual installation

  Download the latest client
  library for Python, unpack the code, and run python setup.py install
App Engine
Because the Python client libraries are not installed in the
    App Engine Python runtime environment,
    they must be
    vendored into your application just like third-party libraries.

Download samples

    After you have installed the library,
    you can optionally download and unpack
    samples.
    The package names that start with google-api-python-client-samples- contain samples
    using this library in many scenarios.
    See the
    Sample Applications
    page for more information about these and other samples.

The docs are now added to the docs/ folder.
Fixed with #706.


Improve documentation

Try to show more meaningful examples.

Codecov Report

Merging #16 (e8ec638) into main (26b9200) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #16   +/-   ##
=======================================
  Coverage   93.87%   93.87%
=======================================
  Files          11       11
  Lines        4443     4443
=======================================
  Hits         4171     4171
  Misses        272      272

Impacted Files
Coverage Δ

src/icu/normalizer.rs
95.53% <ø> (ø)

src/icu/tokenizer.rs
92.38% <ø> (ø)

src/icu/transform.rs
96.92% <ø> (ø)

src/lib.rs
100.00% <ø> (ø)

Continue to review full report at Codecov.

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


[SPARK-18517][SQL] DROP TABLE IF EXISTS should not warn for non-existing tables

What changes were proposed in this pull request?
Currently, DROP TABLE IF EXISTS shows warning for non-existing tables. However, it had better be quiet for this case by definition of the command.
BEFORE
scala> sql("DROP TABLE IF EXISTS nonexist")
16/11/20 20:48:26 WARN DropTableCommand: org.apache.spark.sql.catalyst.analysis.NoSuchTableException: Table or view 'nonexist' not found in database 'default';

AFTER
scala> sql("DROP TABLE IF EXISTS nonexist")
res0: org.apache.spark.sql.DataFrame = []

How was this patch tested?
Manual because this is related to the warning messages instead of exceptions.

Test build #68914 has started for PR 15953 at commit 95a8a32.

Hi, @gatorsmile .
This is a related case with #15682 (Dropping View) and the uncache issue.
But, this case is different from the above case because this PR has the obvious solution.
How do you think about this bug and PR?

Test build #68914 has finished for PR 15953 at commit 95a8a32.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68914/
Test PASSed.

Makes sense. This LGTM merging into master and 2.0. Thanks.

Thank you so much, @andrewor14 ! :)


rust-mode overrides auto-mode-alist rather than rustic-mode

Btw, you shouldn't need (require 'lsp-rust) and (add-to-list 'auto-mode-alist '("\.rs$" . rustic-mode)).
https://github.com/brotzeit/rustic/issues/19#issuecomment-447262678

But, I environment, I need
(add-to-list 'auto-mode-alist '("\\.rs$" . rustic-mode))

Because, rust-mode override.
I can not delete rust-mode,
Because, rust-mode Required by: racer-20181213.225, lsp-rust-20180305.1308.

rustic removes rust-mode from auto-mode-alist. I guess you require rust-mode after rustic. I will mention this in the readme.

I have to make a patch. rust-mode gets removed in rustic mode and that can't work. I will fix it.

I write workaround.
(cl-delete-if (lambda (element) (equal (cdr element) 'rust-mode)) auto-mode-alist)
(add-to-list 'auto-mode-alist '("\\.rs$" . rustic-mode))

Looks like I run into this or a similar issue. I couldn't find this section in the readme though.

rustic is not a fork anymore so this shouldn't be necessary.

If you can't fix it please open a new issue with your config.


Error: estimator is not supported

Got Error: estimator is not supported .
Using tensorflow.keras
python=3.7.4
tensorflow=2.1.0
eli5=0.10.1

Hi. Unfortunately tensorflow.keras is currently not supported. As in https://github.com/TeamHG-Memex/eli5/blob/017c738f8dcf3e31346de49a390835ffafad3f1b/eli5/keras/explain_prediction.py#L8 only keras models are supported. For now one solution is to convert a tensorflow.keras model into a keras model.

@teabolt are you aware of any alternative to eli5 which supports keras and does the job?


Plotly and Webpack?

I tried testing out the plotly renderer, but got this error in the browser.

Their readme says that you need a browserify webpack loader to make this work.  @gnestor, have you gotten this renderer to work locally?
https://github.com/plotly/plotly.js#webpack-usage-with-modules

Duplicate of https://github.com/jupyterlab/jupyter-renderers/issues/10

Oh good

This can be easily resolved by importing "plotly.js/lib/core" vs. "plotly.js", this issue however is that @types/plotly.js does not explicitly provide type declarations for the "plotly.js/lib/core" module (even though its exports are identical to the defaults exports). I have submitted a PR to DefinitelyTyped to provide this declaration but of course the Travis build is failing: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/18392
The goal: use the type declarations from @types/plotly.js for "plotly.js/lib/core". If there is a way to do this without changing things on DefibnitelyTyped, that would be great. If not, maybe you can take a look at my PR over there...maybe there is a better way to do this?


Add Visual Studio 2017 Support

The RC and RTM releases of Visual Studio require v3 VSIX format, so the previous changes to enable support no longer work. The following is the screenshot from the marketplace,

Converting the VSIX to v3 format is easy, add Prerequisites,
<Prerequisites>
  <Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[15.0.25904.2,16.0)" DisplayName="Visual Studio core editor" />
</Prerequisites>

This allows Visual Studio to install missing components if required. This extension likely doesn't need much more than the shell/core editor, so the code above is fine.

If I do this, will it still be back compatible with previous versions of VS? I'm hoping to avoid multiple VSIX packages.

It looks like VSIX v3 works with VS 2012 and later:
https://docs.microsoft.com/en-us/visualstudio/extensibility/faq-2017#what-is-the-backwards-compatibility-story-for-extensions
You can actually use VSIX v2 in 2015 / 2017 if you install with a MSI (that's what TestDriven.Net does). I certainly wouldn't recommend that though! It still runs as an old school add-in in VS 2008. ;-)

@Haacked that was our worry upgrading the NUnit VS adapter, but it isn't a problem. The v3 format is additive. The extra XML is ignored by older versions.
Sorry, I would submit a PR, but I am struggling with porting various NUnit projects to .NET Core at the moment 🤷♂

One thing I missed in the instructions, you need to add the NuGet package Microsoft.VSSDK.BuildTools to the VSIX project to pull in required build targets.
Hope we can get this, I really miss the pithy comments whenever I save, https://gist.github.com/rprouse/a44d687030bc741435f0

Thanks for the tips!

So I get the following in VS 2015.
The "GetExtensionsPath" task failed unexpectedly.
1>C:\dev\play\encourage\packages\Microsoft.VSSDK.BuildTools.15.0.26201\tools\VSSDK\Microsoft.VsSDK.targets(621,5): error MSB4018: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Settings.15.0, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
1>C:\dev\play\encourage\packages\Microsoft.VSSDK.BuildTools.15.0.26201\tools\VSSDK\Microsoft.VsSDK.targets(621,5): error MSB4018: File name: 'Microsoft.VisualStudio.Settings.15.0, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
1>C:\dev\play\encourage\packages\Microsoft.VSSDK.BuildTools.15.0.26201\tools\VSSDK\Microsoft.VsSDK.targets(621,5): error MSB4018:    at Microsoft.VsSDK.Build.Tasks.GetExtensionsPath.Execute()
1>C:\dev\play\encourage\packages\Microsoft.VSSDK.BuildTools.15.0.26201\tools\VSSDK\Microsoft.VsSDK.targets(621,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
1>C:\dev\play\encourage\packages\Microsoft.VSSDK.BuildTools.15.0.26201\tools\VSSDK\Microsoft.VsSDK.targets(621,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()

@Haacked best guess, you need to install the Visual Studio extension development components. It is near the bottom if you Update your Visual Studio 2017 install,

Sorry, missed the 2015. Pretty sure you need to build in 2017 or at least have it installed.

https://github.com/github/VisualStudio/pull/918/files

Have a look at the conditional .Props and .Targets we're doing in the .Csproj. Also the package name is different on VS 2017, which initially threw me. This allows the solution to be developed in both VS 2015 and 2017.


fix: use inject for REQUEST token - Universal

I get a "No provider for Injector: REQUEST" when using this library in a Universal app with AOT. Non-AOT works.
Using the inject decorator instead of creating an instance of the injector seems to solve it.

I will do that, thanks.

@AhsanAyaz Hi, any thoughts? Thanks.


No test cases found error

See this code:
`import json
import asyncio
from deepeval.metrics import AnswerRelevancyMetric, SummarizationMetric, HallucinationMetric
from deepeval.test_case import LLMTestCase
from deepeval import assert_test
import os
import openai  # Import OpenAI library
Initialize OpenAI API key
os.environ["OPENAI_API_KEY"] = "MY_OPEN_AI_KEY"
Function to retrieve summary asynchronously (replace with actual implementation)
async def get_summary(input_text):
# Call the OpenAI chatbot to generate a response
response = openai.Completion.create(
engine="text-davinci-003",  # Specify the engine to use
prompt=input_text,
max_tokens=150  # Specify the maximum number of tokens for the response
)
return response.choices[0].text.strip()
Function to read questions from JSON file
def read_questions_from_json(file_path):
with open(file_path, 'r') as file:
data = json.load(file)
questions = [item['question'] for item in data['questions']]
return questions
Function to perform analysis
async def perform_analysis(test_cases):
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
for test_case in test_cases:
    assert_test(test_case, metrics=[test_case.metric])

async def create_test_cases(medical_questions, answers, context):
test_cases = []
tasks = []
for i, prompt in enumerate(medical_questions):
    task = asyncio.create_task(get_summary_and_create_test_case(prompt, answers[i], context, test_cases))
    tasks.append(task)

await asyncio.gather(*tasks)

return test_cases

Function to retrieve summary asynchronously and create test case
async def get_summary_and_create_test_case(prompt, expected_output, context, test_cases):
actual_output = await get_summary(prompt)
test_case = LLMTestCase(
input=prompt,
actual_output=actual_output,
expected_output=expected_output,
context=context,
metric=HallucinationMetric(threshold=0.7)
)
test_cases.append(test_case)
Main function
async def main():
# Path to the JSON file containing medical questions
file_path = "medical_questions.json"
# Read questions from JSON file
medical_questions = read_questions_from_json(file_path)

# Placeholder for expected answers
answers = ["Mock expected summary"] * len(medical_questions)

# Placeholder for context if needed
context = None

# Create test cases asynchronously
test_cases = await create_test_cases(medical_questions, answers, context)

# Perform analysis
await perform_analysis(test_cases)

if name == "main":
main()
`
OUTPUT :
`plugins: deepeval-0.21.36, anyio-4.3.0, repeat-0.9.3, xdist-3.6.1
collected 0 items
Running teardown with pytest sessionfinish...
=========================================================================== 2 warnings in 0.01s ===========================================================================
No test cases found, please try again.`

Hey @GantaVenkataKousik there is some formatting errors in your code can you double check your backticks. You're getting this error because you're using assert_test outside of a test file (?) or test function (?) (can't tell properly because of the formatting). Please read the docs to learn how to use the assert_test function properly: https://docs.confident-ai.com/docs/getting-started#create-your-first-metric

Hey @GantaVenkataKousik I missed your message, can you come to our discord for faster response times? https://discord.com/invite/a3K9c8GRGt
assert_test is not meant to be used in a for loop, nor is it meant to be used outside of deepeval test run. come to discord to talk more

Hey @GantaVenkataKousik I missed your message, can you come to our discord for faster response times? https://discord.com/invite/a3K9c8GRGt
assert_test is not meant to be used in a for loop, nor is it meant to be used outside of deepeval test run. come to discord to talk more

Sure , I will join discord .


AttributeError: 'EventList' object has no attribute 'populate_cpu_children'

import torch
import torchvision
import torchprof
model = torchvision.models.alexnet(pretrained=False).cuda()

x = torch.rand([1, 3, 224, 224]).cuda()
with torchprof.Profile(model, use_cuda=True) as prof:
...     model(x)
...
Traceback (most recent call last):
File "", line 2, in
File "/data1/ /annaconda3/envs/condamask/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/data1/ /annaconda3/envs/condamask/lib/python3.6/site-packages/torchvision/models/alexnet.py", line 43, in forward
x = self.features(x)
File "/data1/ /annaconda3/envs/condamask/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/data1/ /annaconda3/envs/condamask/lib/python3.6/site-packages/torch/nn/modules/container.py", line 92, in forward
input = module(input)
File "/data1/ /annaconda3/envs/condamask/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/data1/ /annaconda3/envs/condamask/lib/python3.6/site-packages/torchprof/profile.py", line 72, in wrap_forward
event_list.populate_cpu_children()
AttributeError: 'EventList' object has no attribute 'populate_cpu_children'

What version of pytorch are you using?

nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Sep__1_21:08:03_CDT_2017
Cuda compilation tools, release 9.0, V9.0.176
python  --version
Python 3.6.8 :: Anaconda, Inc.
Python 3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 01:22:34)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import torch
print(torch.version)
1.0.1.post2

Enforced minimum torch version of 1.1.0


Style declaration including only null values result in errors being thrown

The problem
Style objects that include only entries with null values result in stylex.create should never be called. It should be compiled away. exception.
How to reproduce
Steps to reproduce:

Create a React + TypeScript project with StyleX
Create a style block/declaration including only null values, f.ex:

const styles = stylex.create({
  test: {
    padding: null,
  }
});

Apply to any node in a given component

Code Sandbox example (expand console in the browser window - might need a reload to show up)

I think you should link this issue to stylex, vite-plugin-stylex-dev is a wrapper for vite. If stylex don't allowed this edge case, this plugin also can't.

They pointed me to you =)
https://github.com/facebook/stylex/issues/344

@RimanDk Ok, I will check it thanks for you report

@RimanDk Ok, I will check it thanks for you report

Thank you! 🙏

I fixed it. The new version has been released, even if the style is empty the result should still be returned.

I fixed it. The new version has been released, even if the style is empty the result should still be returned.

Indeed, appears to be resolved! Thank you! Much appreciated!


Ingress rule created when the target pods are still not fully created had incorrect backend port configured.

Rancher Version:v1.1.3
Steps to reproduce the problem:
Create k8s environment with 2 hosts.
Use the following yml file to create services and ingress at the same time:
apiVersion: v1
kind: Service
metadata:
  name: k8test5
  labels:
    k8s-app: k8test5-service
spec:
  ports:
  - port: 80
    targetPort: 80
    protocol: TCP
    name: http
  selector:
    k8s-app: k8test5-service
---
apiVersion: v1
kind: ReplicationController
metadata:
  name: k8test5
spec:
  replicas: 2
  selector:
    k8s-app: k8test5-service
  template:
    metadata:
      labels:
        k8s-app: k8test5-service
    spec:
      terminationGracePeriodSeconds: 60
      containers:
      - name: testcontainer
        image: sangeetha/testnewhostrouting
        ports:
        - containerPort: 80
        tty: true
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
 name: ingress5
 annotations:
   http.port: "87"
spec:
  backend:
    serviceName: k8test5
    servicePort: 80

When lb service comes up , it is not reachable.
haproxy configuration has incorrect backend port configured in this case.

Note  - I saw the same behavior when all the existing services and ingress rules was deleted and had to get recreated when etcd was restored from backup files.

This issue should be fixed for both 1.2 and 1.3 k8s templates

Tested with rancher-server version - v1.1.4-rc1 and K8s template from https://github.com/rancher/qa-catalog.
This issue is not seen anymore. Lb ip adress redirects traffic to targets as expected.


Write Tests for everything!

Is your feature request related to a problem? Please describe.
We want to work with the XP-Workflow. Everything should be tested before even implementing it.
Now we should write Tests for the code so far.
Describe the solution you'd like
Write test for all the code existing so far.

Not sure wether tests should use a Mock-Object or the real tdlib-calls

We should use the Mock-FFI-Client for this.


Possible cause of the bot execution being halted in the middle of nowhere

Describe the bug
Catched possible error causing bot to stop any further execution. There is not traceback, only warning:
Dec 27 00:53:30 Core node[86474]: 2022-12-27T05:53:30.270Z [logsProcessor] warn: Unable to send message to the log channel!
Dec 27 00:53:30 Core node[86474]: 2022-12-27T05:53:30.270Z [logsProcessor] warn: Request aborted

To Reproduce
Possibly trying to send messages into unavailable text channel.
Expected behavior
Might need to notify owner about the error or just silently disable logging feature. Also, might be useful to print Guild ID and Channel ID.
Screenshots
—

Seems like it's not a cause of the issue. This log message is being displayed inside try...catch statement.


fixes #86 option to configure shared hive databases.

Also disable ranger auth plugin in read-only metastores to make configuration simpler.

@rpoluri  Can you update CHANGELOG.md and VARIABLES.md ?


float128 support

Feature request

LLVM has supported __float128 for at least 7 years and it would be really helpful to be able to use a real 128 bit type. numpy.float128 is sadly still not 128 bit.

For me, in NumPy 1.24.2 there is no numpy.float128.
What is your use case for 128-bit floats?

I am performing a computation with many millions of np.dot operations and I need as high precision as possible to stop the errors propagating.
For numpy.float128 see “ For efficient memory alignment, np.longdouble is usually stored padded with zero bits, either to 96 or 128 bits. Which is more efficient depends on hardware and development environment; typically on 32-bit systems they are padded to 96 bits, while on 64-bit systems they are typically padded to 128 bits. np.longdouble is padded to the system default; np.float96 and np.float128 are provided for users who want specific padding. In spite of the names, np.float96 and np.float128 provide only as much precision as np.longdouble, that is, 80 bits on most x86 machines and 64 bits in standard Windows builds.”

Since there isn't a proper 128-bit floating point type, I would suggest that for your use case support should be implemented in a Numba extension instead. I started playing around with extending Numba to support bfloat16s in the CUDA target (here: https://github.com/gmarkall/numba-bfloat16/blob/main/prototype.py) which you could use as a guide to see what you need to define - the type will need defining and overloads / intrinsics would need to be written to implement operations on the float128 type.
The main documentation for the extension API is at https://numba.readthedocs.io/en/latest/extending/index.html - I would suggest sticking to the high-level API where possible.

For me, in NumPy 1.24.2 there is no numpy.float128.

A quick follow-up: I think this might be because I tried on macOS earlier, then checked later on a Linux machine - perhaps it is only available on certain platforms.

FWIW I'd love to use extended precision: we use numba for recurrence relations, and extended precision postpones blow-ups

Are you using a Python library for extended precision at the moment?

I use the numpy float128 which is secretly 80 bits when I need a little more precision and when I need a lot I use decimal or mpmath.


Add LICENSE and improve Makefile

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

Comparison is base (ab2fe50) 90.90% compared to head (62fd499) 90.90%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master       #3   +/-   ##
=======================================
  Coverage   90.90%   90.90%
=======================================
  Files           3        3
  Lines          11       11
=======================================
  Hits           10       10
  Misses          1        1

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


add nightmode to set setConfig

add option to set nightmode from config

Can you please PR from the dev branch?  Thanks

Can you please PR from the dev branch? Thanks

yeah sure


console.log in knex object displays password properties - security issue.

Hello all,
So far I have been able to reproduce this with oracle client. Create a knex instance object and then perform the log method on it, it will print with readable password....which is a major security issue imo.
return knex({
  client: 'oracledb',
  connection: {
    user: DB_USER,
    password: DB_PASSWORD,
    host: `${DB_HOST}:${DB_PORT}`,
    database: DB_NAME
})

logs will show:
connectionSettings:
--
  | { user: 'READABLEUSER',
  | password: 'READABLEPASSWORD',
  | host: 'READABLEHOST',
  | database: 'REDABLEDB' },

If you are doing:
console.log(knex);

You shouldn't log blindly objects containing sensitive information.
I don't think it is necessary to handle this on knex side. You can always for example log your knexfile.js or environment variable or some other place that contains DB password.


Refactor YAP

Refactor YAP for simplicity and fix unit tests

Please update YAP documentation too.

I did not review the python code ... but I got a lot of pylint warnings/errors. Please fix them.


refactor: Expose types to handle Database management

Addresses #1598, extends #2167
This implements several types to own and manage databases on a database
server. The current SimpleDatabase* classes preserve the present
behaviour; future implementations can segregate databases to be owned by
different roles.
Haven't added much tests or documentation, wanted to get a feel of what the
community thinks of this direction first. I've currently only done some sanity
checks that the Postgres database boots.
Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[ ] All tests are passing yarn test
[ ] Screenshots attached (for UI changes)
[ ] Relevant documentation updated
[ ] Prettier run on changed files
[ ] Tests added for new functionality
[ ] Regression tests added for bug fixes

@andrewthauer @Rugvip @freben @mfrinnstrom this is done in response to your comments in #2674; hopefully this captures what you all had in mind.

I think this is close to the final shape; how/where should we be adding tests for this?

Fixed another round of the comments, also added tests for the new code. Please have a look!

I had to review and fix merge conflicts; let me know if I borked them up.

@spotify/backstage-core

@lowjoel - Might also be good to update the e2e tests here https://github.com/spotify/backstage/blob/master/packages/e2e-test/src/e2e-test.ts so it tests this new functionality.


Permissions

Why does this app need Phone and Contact access?

To Initialize Auto Signup. You can check the source code.


Use the shortcut keys in the keyboard to lock the intellisense window

Can I use the shortcut keys in the keyboard to lock the intellisense window, or use the keyboard to turn pages of it?
It is often troublesome to switch from the keyboard to the mouse when editing.

Duplicate of #167264


UIINREACH-22: Material type mappings

Purpose
Added material type mappings settings
Screenchot

TODO
The PUT endpoint for the material type mappings is under development^ so an additional story for back-end integration will be required

Test errors found. See https://jenkins-aws.indexdata.com/job/folio-org/job/ui-inn-reach/job/PR-36/3/


investigate failing multi-lang test

since the latest release
1) Foreign language phrase search
       history berlin

is failing

Phew so on the test servers we have http://stabikat-ranking2/Record/186950870X with passes the english language check but is barely relevant to the search results (likely another victim of berlin as part of the erf url. On stabikat we have https://stabikat.de/Record/1808038622 which fails the language check, but otherwise doesn't look worse compared to the test servers.
so both the result and the test should probably change


Improvements to IndexSet set operations

This is a pretty substantial rewrite of the IndexSet set operations layer. A few new features:

You can now get a subset of an IndexSet using a function for pattern matching, following the Julia filter method (and using the new Tuple version in ITensor 1.4). For example:

julia> i = Index(2; tags="i");

julia> j = Index(2; tags="j");

julia> is = IndexSet(i,i',i'',j,j');

julia> filter(i -> plev(i) > 0, is)
(dim=2|id=10|"i")' (dim=2|id=10|"i")'' (dim=2|id=452|"j")'

julia> filter(is; plev=1)
(dim=2|id=10|"i")' (dim=2|id=831|"j")'

Filtering based off of more conventional things, like a prime level, can be done with filter(is; plev=1), which calls the more general filter(f, is) version. This makes the code implementation simpler and more general.

Set operations involving collections of indices (like IndexSet and Tuple{Vararg{Index}}) now directly use Julia set operations (like intersect, setdiff, symdiff, etc.). There are also custom versions of at least some of these which involve filtering similar to above:

julia> setdiff(is, (i,j))
3-element Array{Index{Int64},1}:
 (dim=2|id=10|"i")'
 (dim=2|id=10|"i")''
 (dim=2|id=831|"j")'

julia> setdiff(i -> plev(i)==1, is, (i,j))
2-element Array{Index{Int64},1}:
 (dim=2|id=10|"i")'
 (dim=2|id=831|"j")'

julia> setdiff(is, (i,j); tags="i")
2-element Array{Index{Int64},1}:
 (dim=2|id=10|"i")'
 (dim=2|id=10|"i")''

These interfaces are also valid for ITensor level functions like commoninds, uniqueinds, etc. I have also rounded out the ITensor set operations to include unioninds and noncommoninds, based off of Julia union and symdiff Set functions.

Some of the names of the ITensor level functions are changed with deprecation warnings. These are:

findindex -> firstind

findinds -> inds

commonindex -> commonind

uniqueindex -> uniqueind

replaceindex! -> replaceind!

siteindex -> siteind

linkindex ->linkind

There are a few reasons for these interface changes. First of all, they are shorter (but I think just as understandable). Changing *index to *ind makes those names a little more similar to the versions of those functions that are named *inds, which I think is nice. Also, *index has a bit of a different meaning in the Julia world, which is the offset/location in an array, so it is helpful to change our convention so that our names don't clash with Julia names (for example, I was thinking of changing findindex to firstindex, but firstindex is already used as a way to get the offset of the first value found). Also, I am trying to bring the API a bit more in line with Julia conventions, where find* (like findfirst and findall) returns the offset in the array, not the value, which is the reason for the change from findinds to inds. Finally, first* is already used as a way to get the first index/element in a collection in Julia, and I think firstind is more explicit that it gets the first one found (as opposed to throwing an error if more than one is found).
I'm open to discussing the function name changes, but otherwise this is mostly a change of internal design and advanced new features (which I hope will not be abused, but I think will be useful in specialized cases). Some features I would like to add are filter type functionality for priming/tagging functions, for example:
A = randomITensor(is)
Ap = prime(i -> plev(i) > 0, A)

I am waiting until #239 is merged for that, since that PR already made some changes to the priming and tagging code. I think with functionality like that, it should give users total control over manipulating ITensor indices.

I think these changes are all really well thought out. E.g. it's a good point that Julia offers functions find... which return an integer, so best to steer clear of that. I'm also fine with shorter names that are just as easy to understand (commonind). The only downside I see here is just that there's more to adjust to for users coming from C++, but the deprecation warnings mostly alleviate that.

Yes, I thought of the transition from C++ as well. I was thinking we could just add these new function names as aliases in C++, which could help people start to get used to them.

Yes that’s a good idea to add them in the C++ version, maybe without
deprecation warnings there at first.
On Fri, Mar 27, 2020 at 5:25 PM mtfishman<EMAIL_ADDRESS>wrote:

Yes, I thought of the transition from C++ as well. I was thinking we could
just add these new function names as aliases in C++, which could help
people start to get used to them.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/ITensor/ITensors.jl/pull/241#issuecomment-605321702,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHJ3RNPKY4ZEXDYZ7Z6DXLRJUKUNANCNFSM4LVI7ZJA
.

--
-=Miles Stoudenmire=-
<EMAIL_ADDRESS><EMAIL_ADDRESS>http://itensor.org/miles/

Codecov Report

Merging #241 into master will decrease coverage by 0.99%.
The diff coverage is 91.04%.

@@            Coverage Diff             @@
##           master     #241      +/-   ##
==========================================
- Coverage   81.04%   80.05%   -1.00%
==========================================
  Files          46       48       +2
  Lines        4806     4782      -24
==========================================
- Hits         3895     3828      -67
- Misses        911      954      +43

Impacted Files
Coverage Δ

src/ITensors.jl
100.00% <ø> (ø)

src/not.jl
66.66% <66.66%> (ø)

src/qnindex.jl
67.76% <66.66%> (-0.27%)
:arrow_down:

src/itensor.jl
62.35% <78.94%> (+0.95%)
:arrow_up:

src/indexset.jl
76.75% <83.56%> (-9.02%)
:arrow_down:

src/index.jl
69.79% <83.87%> (-5.21%)
:arrow_down:

src/tagset.jl
89.60% <92.85%> (+0.99%)
:arrow_up:

src/Tensors/blocksparse/blocksparsetensor.jl
88.03% <100.00%> (+0.16%)
:arrow_up:

src/decomp.jl
96.15% <100.00%> (+0.12%)
:arrow_up:

src/mps/dmrg.jl
100.00% <100.00%> (ø)

... and 21 more

Continue to review full report at Codecov.

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

Ok just merged master into this branch - hope I didn't clobber anything you wanted changed. 🤞

I'm noticing a few issues (which I don't think were introduced by the merge I did above, but maybe). They are stemming from the renaming of functions in indexset.jl including prime to prime! (line 390) and setprime to setprime! which are then causing some issues.
One outcome is that now prime on line 397 is calling itself in an infinite recursion, causing a stack overflow.
Another is that I'm not sure is setprime is defined anymore for IndexSet.
(Too bad automatic testing is still broken for some reason.)

I expected that #243 may cause some subtle merge issues, I'll take a look.

Maybe we could get this repository set up to use Jenkins?

Problems should be fixed now.
I also rewrote all of the prime and tag functions in terms of the Julia function map, which applies a function elementwise to a collection. This adds functionality like prime(i -> plev(i) > 0, A), and rewrites the more traditional prime and tag functions in terms of that more general version. Over all I think the code is a lot simpler and more generic.


Add pre release workflow -solves #830

Description of changes
Summarize the changes made by this PR.

Improvements & Bug fixes

implements #830

New functionality

tests the docker by pulling  it and running the docker_entrypoint.sh

Test plan
In the pipe
Documentation Changes
None
- [X] Can you think of any use case in which the code does not behave as intended? Have they been tested?
- [X ] Can you think of any inputs or external events that could break the code? Is user input validated and safe? Have they been tested?
- [ ] If appropriate, are there adequate property based tests?
- [ ] If appropriate, are there adequate unit tests?
- [ ] Should any logging, debugging, tracing information be added or removed?
- [ ] Are error messages user-friendly?
- [ ] Have all documentation changes needed been made?
- [X] Have all non-obvious changes been commented?
## System Compatibility
- [ ] Are there any potential impacts on other parts of the system or backward compatibility?
- [ ] Does this change intersect with any items on our roadmap, and if so, is there a plan for fitting them together?
## Quality
- [X] Is this code of a unexpectedly high quality (Readbility, Modularity, Intuitiveness)`

Unfortunately this is quite out of date (due to no fault of the OP!) - for hygiene I am going to close this now.


Failed to send reveal transaction

Was trying to inscribe a 424kb file and this happened:
D:\Ord client>ord --data-dir "D:\Ord client\ord-chain" --bitcoin-data-dir "D:\Bitcoin Core\Blockchain" --wallet bitcoin-doodles wallet inscribe --fee-rate 1 --no-limit Doodles/1803.png
error: Failed to send reveal transaction
because: JSON-RPC error: RPC error response: RpcError { code: -26, message: "tx-size", data: None }

D:\Ord client>ord --data-dir "D:\Ord client\ord-chain" --bitcoin-data-dir "D:\Bitcoin Core\Blockchain" --wallet *** wallet inscribe --fee-rate 1 --no-limit ****/1803.png
error: wallet contains no cardinal utxos

D:\Ord client>ord --data-dir "D:\Ord client\ord-chain" --bitcoin-data-dir "D:\Bitcoin Core\Blockchain" --wallet ****s wallet balance
{
  "cardinal": 0
}

as a side the a transaction was broadcasted

If you use the --no-limit flag all transaction size checks are disabled. Your transaction was over the 400kb standardness limit and will not be relayed to miners. The --no-limit flag can only be used if you are a miner and can include non standard transactions directly into the block.

the transaction was broadcasted and we paid miners and it indeed got confirmed

Did both the commit and reveal transaction get mined?

the commit did but the reveal i wasnt able tk get its txid


Refresh rate jumps to 10 seconds.

Refresh rate jumps to 10 seconds after adding fast-render. Is there any way to lower the refresh rate?
My current refresh rate without fast-render is 3 seconds.
Thanks!

What do you mean by refresh rate?
On Tue Jan 27 2015 at 11:41:04 AM Lenin7<EMAIL_ADDRESS>wrote:

Refresh rate jumps to 10 seconds after adding fast-render. Is there any
way to lower the refresh rate?
My current refresh rate without fast-render is 3 seconds.
Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/fast-render/issues/93.

Sorry, I meant the refresh rate at which the mongo driver polls for changes in Mongo.
Thanks

Sorry. I've no idea about this.
But you should use oplog.
On Wed Jan 28 2015 at 12:22:20 AM Lenin7<EMAIL_ADDRESS>wrote:

Sorry, I meant the refresh rate at which the mongo driver polls for
changes in Mongo.
Thanks
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/fast-render/issues/93#issuecomment-71704759
.


install-grub.pl fails during "nixos-rebuild boot" on 16.03

Issue description
When going from NixOS 15.09 to 16.03, the install-grub.pl script dies.
Steps to reproduce
# nix-channel --add https://nixos.org/channels/nixos-16.03-small nixos
# nix-channel --update
# nixos-rebuild boot

Technical details
The error looks like this:
# nixos-rebuild boot
building Nix...
building the system configuration...
updating GRUB 2 menu...
Failed to get blkid info for /boot on /dev/md127 at /nix/store/w345fzhsr2ckzhazmxr3lc906glnxqiy-install-grub.pl line 174.
warning: error(s) occurred while switching to the new configuration

The system in question is has six hard drives, all partitioned the same way:
# parted /dev/sda
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ATA WDC WD10EADS-00L (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  10.5MB  9437kB               grub  bios_grub
 2      10.5MB  547MB   537MB   ext4         boot  raid
 3      547MB   1000GB  1000GB               zfs

All the second partitions are mirrored using MD RAID:
# cat /proc/mdstat
Personalities : [raid1]
md127 : active raid1 sdd2[3] sdf2[5] sde2[4] sda2[0] sdb2[1] sdc2[2]
      524224 blocks super 1.0 [6/6] [UUUUUU]

The md127 device contains an ext4 file system for /boot. Because the md127 device uses version 1.0 of the RAID superblock, the metadata is put at the end of the device, meaning that in a pinch the system can boot by using any of the /dev/sd?2 partitions instead of the RAID. When doing system updates, the changes are written to the RAID, making sure all the boot partitions are updated at once.
The boot section of configuration.nix is:
  boot = {
    loader.grub = {
      enable = true;
      version = 2;
      devices = [ "/dev/sda" "/dev/sdb" "/dev/sdc" "/dev/sdd" "/dev/sde" "/dev/sdf" ];
    };
    supportedFilesystems = [ "zfs" ];
    kernelPackages = pkgs.linuxPackages_4_3;
  };

This should ensure that the boot loader is put on all the bios_grub partitions available. The file systems defined in hardware-configuration.nix are:
  fileSystems."/" =
    { device = "rpool/root/nixos";
      fsType = "zfs";
    };

  fileSystems."/home" =
    { device = "rpool/home";
      fsType = "zfs";
    };

  fileSystems."/boot" =
    { device = "/dev/disk/by-uuid/ec724812-e836-412f-b8fd-fb98851866a3";
      fsType = "ext4";
    };

The /dev/disk/by-uuid/ec724812-e836-412f-b8fd-fb98851866a3 is the RAID partition, md127:
# ls -lh /dev/disk/by-uuid/ec724812-e836-412f-b8fd-fb98851866a3
lrwxrwxrwx 1 root root 11 Apr 19 20:09 /dev/disk/by-uuid/ec724812-e836-412f-b8fd-fb98851866a3 -> ../../md127

I have had a look at install-grub.pl. The bit that fails looks like this:
my ($status, @devInfo) = runCommand("blkid -o export @{[$fs->device]}");
if ($status != 0) {
  die "Failed to get blkid info for @{[$fs->mount]} on @{[$fs->device]}";
}

When I run blkid by hand, I do get results:
# blkid -o export /dev/md127
DEVNAME=/dev/md127
LABEL=boot
UUID=ec724812-e836-412f-b8fd-fb98851866a3
TYPE=ext4

This makes me think that maybe the problem here is that blkid is not anywhere on the PATH when running install-grub.pl? I'm not terribly NixOS-savvy, so I'm not sure how to go about modifying install-grub.pl with e.g. a hard coded path to blkid to see if it makes a difference.

System: 15.09.1202.2d32ae4 (Dingo)
Nix version: nix-env (Nix) 1.10
Nixpkgs version: 16.03.616.4ac4b35

I finally got around to learning how to mutate and test install-grub.pl. The script succeeded when I changed this bit:
my ($status, @devInfo) = runCommand("blkid -o export @{[$fs->device]}"); if ($status != 0) {   die "Failed to get blkid info for @{[$fs->mount]} on @{[$fs->device]}"; }
into this
my ($status, @devInfo) = runCommand("/run/currrent-system/sw/bin/blkid -o export @{[$fs->device]}"); if ($status != 0) {   die "Failed to get blkid info for @{[$fs->mount]} on @{[$fs->device]}"; }
So, I hard coded a full path for the "blkid" executable. So, perhaps the PATH isn't quite correct after all? I did dump the path to stderr, and it did include the "bin" dir of the version of util-linux used in 16.09. And as far as I can tell, the way the path is set to include util-linux didn't really change between 15.09 and 16.03.
So, I kind of got progress, but then I don't understand why yet.

Bad code formatting in the previous comment, my bad.

Got the same problem when playing with nixpkgs today. I have a not-so-special setup with ext4 partition.
How did you change the install-grub.pl? I need the workaround, too

Edit /my/path/to/nixpkgs/nixos/modules/system/boot/loader/grub/install-grub.pl. Locate the bit that uses blkid and provide the full path to the executable: /run/currrent-system/sw/bin/blkid. Seemed to work for me, but I then reverted back to 15.09 because I wanted to try to find out what the real problem is.

@Lassulus hit the same issue. We should specify blkid and btrfs as full paths in the install-grub.pl.

Let's wait a bit and backport to 16.03

We don't support 16.03 anymore.


[Feature]: Pipeline Parallelism support for the IBM Granite models

🚀 The feature, motivation and pitch
From the distributed serving and inference docs, it seems that currently, vllm only supports LLaMa, GPT2, Mixtral, Qwen, Qwen2, and Nemotron style models.
NotImplementedError: Pipeline parallelism is only supported for the following architectures: ['AquilaModel', 'AquilaForCausalLM', 'DeepseekV2ForCausalLM', 'InternLMForCausalLM', 'JAISLMHeadModel', 'LlamaForCausalLM', 'LLaMAForCausalLM', 'MistralForCausalLM', 'Phi3ForCausalLM', 'GPT2LMHeadModel', 'MixtralForCausalLM', 'NemotronForCausalLM', 'Qwen2ForCausalLM', 'Qwen2MoeForCausalLM', 'QWenLMHeadModel'].
Adding Granite models would benefit teams and projects working with these model types, allowing them to scale out their workloads efficiently and maintain performance as model sizes continue to grow.
Thanks in advance!
Alternatives
No response
Additional context
No response
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

/cc @Jooho

it should be supported already, see https://docs.vllm.ai/en/latest/models/supported_models.html


make the app prod ready using gunicorn (iss. #3, #12)

Fixes #3.
Fixes #12.

The Production setup runs on 4 workers, a timeout is set.
Debugpy is enabled for debugging the backend code.
DEBUGPY_ENABLE variable enables prod or local mode. DEBUGPY_ENABLE=True for local development enabling reload of new changes during development.
Added Mysql Cache, a django migration is created. This is needed as LTI launch will fail with pylti1p3.exception.LtiException: Invalid Nonce when running the Gunicorn on multiple server. This should create a new table 'django_clrt_cache`.

Did not make the cache option as configurable options since this is temporary and  things might change with the caching solution we adopt in future like Redis or MemCache.

Note: Config Change is needed
Testing:
Test the app in both Prod and Non-prod mode(local)

As @zqian pointed out, GUNICORN_RELOAD seems to be missing a value in start.sh.

https://github.com/tl-its-umich-edu/canvas-lti-redirect-tool/pull/10#discussion_r1647573703
@lsloan

I am merging this now.


Hangs after first song of a youtube Mix

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.06.14. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.06.14

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
Youtube-dl stops/hangs on deleting files after the first song of a youtube mix without an error
$ [debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-x', u'-v', u'https://www.youtube.com/watch?v=iTwmVasMxCM']
[debug] Encodings: locale ANSI_X3.4-1968, fs ANSI_X3.4-1968, out ANSI_X3.4-1968, pref ANSI_X3.4-1968
[debug] youtube-dl version 2016.06.14
[debug] Python version 2.7.6 - Linux-3.19.0-25-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 11.3-6, avprobe 11.3-6, ffmpeg 2.4.3-1ubuntu1, ffprobe 2.4.3-1ubuntu1
[debug] Proxy map: {}
[youtube] iTwmVasMxCM: Downloading webpage
[youtube] iTwmVasMxCM: Downloading video info webpage
[youtube] iTwmVasMxCM: Extracting video information
[youtube] {22} signature length 41.41, html5 player en_US-vfl9bYNJa
[youtube] {43} signature length 41.41, html5 player en_US-vfl9bYNJa
[youtube] {18} signature length 41.41, html5 player en_US-vfl9bYNJa
[youtube] {5} signature length 41.41, html5 player en_US-vfl9bYNJa
[youtube] {36} signature length 41.41, html5 player en_US-vfl9bYNJa
[youtube] {17} signature length 41.41, html5 player en_US-vfl9bYNJa
[youtube] {137} signature length 41.41, html5 player en_US-vfl9bYNJa
[youtube] {248} signature length 41.41, html5 player en_US-vfl9bYNJa
[youtube] {136} signature length 41.41, html5 player en_US-vfl9bYNJa
[youtube] {247} signature length 41.41, html5 player en_US-vfl9bYNJa
[youtube] {135} signature length 41.41, html5 player en_US-vfl9bYNJa
[youtube] {244} signature length 41.41, html5 player en_US-vfl9bYNJa
[youtube] {134} signature length 41.41, html5 player en_US-vfl9bYNJa
[youtube] {243} signature length 41.41, html5 player en_US-vfl9bYNJa
[youtube] {133} signature length 41.41, html5 player en_US-vfl9bYNJa
[youtube] {242} signature length 41.41, html5 player en_US-vfl9bYNJa
[youtube] {160} signature length 41.41, html5 player en_US-vfl9bYNJa
[youtube] {278} signature length 39.41, html5 player en_US-vfl9bYNJa
[youtube] iTwmVasMxCM: Downloading player https://s.ytimg.com/yts/jsbin/player-en_US-vfl9bYNJa/base.js
[youtube] {140} signature length 41.41, html5 player en_US-vfl9bYNJa
[youtube] {171} signature length 41.41, html5 player en_US-vfl9bYNJa
[youtube] {249} signature length 41.41, html5 player en_US-vfl9bYNJa
[youtube] {250} signature length 41.41, html5 player en_US-vfl9bYNJa
[youtube] {251} signature length 41.41, html5 player en_US-vfl9bYNJa
[debug] Invoking downloader on u'https://r7---sn-uxaxoxu-cg06.googlevideo.com/videoplayback?expire=1466010024&itag=251&sparams=clen%2Cdur%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Crequiressl%2Csource%2Cupn%2Cexpire&fexp=9414823%2C9416126%2C9416891%2C9419451%2C9422596%2C9428398%2C9428742%2C9431012%2C9432683%2C9433096%2C9433223%2C9433720%2C9433946%2C9434805%2C9435527%2C9435876%2C9435991%2C9436302%2C9436814%2C9436958%2C9437066%2C9437227%2C9437553%2C9437666%2C9438558%2C9438564&pcm2cms=yes&source=youtube&keepalive=yes&mime=audio%2Fwebm&clen=4050856&lmt=1449593976467756&ms=au&mt=1465988069&mv=m&dur=234.481&mm=31&mn=sn-uxaxoxu-cg06&gir=yes&id=o-AKcNoAbm4BrJgbvs-46OQcbREosEIPfnRjdeT9zfD3xq&upn=XCy3Zz2NvmE&ipbits=0&key=yt6&ip=2a02%3A1810%3A8401%3Af100%3Afc25%3A2588%3Ad8cf%3A7ef&sver=3&requiressl=yes&pl=33&initcwndbps=2033750&signature=95DD2176A14B9D4B9A42F7B05E9CA26D2A6F1472.9F003C1AE0E78FBABA54AEA186BBDDF75A492C2F&ratebypass=yes'
[download] Destination: Lost Frequencies - Are You With Me (Kungs Remix)-iTwmVasMxCM.webm
[download] 100% of 3.86MiB in 00:01
[debug] avconv command line: avprobe -show_streams 'file:Lost Frequencies - Are You With Me (Kungs Remix)-iTwmVasMxCM.webm'
[ffmpeg] Destination: Lost Frequencies - Are You With Me (Kungs Remix)-iTwmVasMxCM.opus
[debug] ffmpeg command line: avconv -y -i 'file:Lost Frequencies - Are You With Me (Kungs Remix)-iTwmVasMxCM.webm' -vn -acodec copy 'file:Lost Frequencies - Are You With Me (Kungs Remix)-iTwmVasMxCM.opus'
Deleting original file Lost Frequencies - Are You With Me (Kungs Remix)-iTwmVasMxCM.webm (pass -k to keep)

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Playlist: https://www.youtube.com/watch?v=iTwmVasMxCM&list=PLFkBv85YwPKtTozgU0Tfkt91e0DRVEjYy

Description of your issue, suggested solution and other information
Youtube-dl stops/hangs on deleting files after the first song of a youtube mix without an error

Seems you have forgotten the quotes.  Fixed. Thanks!


Namespaces are not respected

Hello! Thanks for maintaining this project. We're evaluating using this for our iOS apps and have run into a filename-collision issue, which seems to be caused by protobuf-objc not respecting package namespaces. Repro:
foo/person.proto:
package foo;

message Person {
 optional uint32 age = 1;
}

bar/person.proto:
package bar;

message Person {
 optional uint32 age = 1;
}

output:
~ protoc --plugin=../../protobuf-objc/src/compiler/protoc-gen-objc {foo,bar}/person.proto --objc_out=../../objc_protos
Person.pb.h: Tried to write the same file twice.
Person.pb.m: Tried to write the same file twice.
~ echo $?
1

any update on this issue?


UI Changes

changes in the main page css that overlaps

assign this to my name please

assign this to me


modifiers e.g. :exact not working on chained searches

Describe the bug
When attempting to execute a chained search using search modifiers (:exact or :contains), error returned back in OSS SQL server
To Reproduce
Steps to reproduce the behavior:

Try this query - https://{{fhirserver}}/Appointment?date=gt2020-08-31&date=lt2020-09-02&actor:Practitioner.name:exact=nameofprovider

Expected behavior
return back all appointments for specific provider only [nameofprovider]
Actual behavior
{
"resourceType": "OperationOutcome",
"id": "xxxxxxxxxxxxxxxxxxx",
"issue": [
{
"severity": "error",
"code": "exception",
"diagnostics": "There was an error processing your request."
}
]
}

AB#76142

I've test locally and it seems to work now.
We also have tests for chained expression, and separately for string modifiers, and adding tests for both of them sounds like opening Pandora box for other possible combinations.

Thanks @Ivanidzo4ka
@bikubay - Can you confirm if you are still having this issue? We aren't able to reproduce right now.


v1.1.0

Codecov Report

Merging #8 (69c4182) into master (baca8fd) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #8   +/-   ##
=======================================
  Coverage   94.07%   94.07%
=======================================
  Files          19       19
  Lines         962      962
=======================================
  Hits          905      905
  Misses         57       57

Continue to review full report at Codecov.

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