[AIR-895]: Block uninstall of multus of network attachment defination exits

Jira: AIR-895
added admission webhook
added check for multus uninstall
added new version of luigi operator in samples
Dependency:
cert-manager need to be installed on cluster

Codecov Report
Patch and project coverage have no change.

Comparison is base (2e09752) 0.00% compared to head (bdeb026) 0.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@          Coverage Diff           @@
##           master     #90   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files           1       2    +1
  Lines         664     724   +60
======================================
- Misses        664     724   +60

Impacted Files
Coverage Δ

controllers/networkplugins_controller.go
0.00% <ø> (ø)

controllers/networkplugins_webhook.go
0.00% <0.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

removing multus when nad don't exist

removing multus when nad do exist

deleting network plugins in multus and nad exist

Improved error message on uninstall networkplugins


Nuget licenses are not fetched correctly

If the version is set in brackets the license can not be fetched. See here:

If [1.0.0] is equal to 1.0.0 then we should use the simple string.

For version 4.3.0 we have the license. See here: https://www.versioneye.com/csharp/System.ComponentModel.EventBasedAsync/4.3.0. But for version [4.3.0] not. See here: https://www.versioneye.com/csharp/System.ComponentModel.EventBasedAsync/4.3.0.

done.


Joint effort for WIT syntax highlighter

We have the following WIT syntax highlighter within the BCA organization: https://github.com/bytecodealliance/vscode-wit
That definition is driving the highlight within GitHub. Could we work together on it?

Thanks for reaching out. I posted something similar a few days ago https://github.com/bytecodealliance/vscode-wit/issues/21 :)
The auxiliary features of this extension are pretty standalone and should be easy to port over (markdown highlighting, auto-continuing doc-comments, basic autocomplete).
As for the WIT syntax definition itself, we'll have to discuss that further in detail. But in principle; Yes, we could work together on it.

Closing in favor of https://github.com/bytecodealliance/vscode-wit/issues/21


Zombie mobs always drop carrots, iron ingots, and potatoes

yeah this one is my bad. i totally forgot to set a % chance for each drop, like vanilla zombies have. this'll be fixed next update promise!!! :3

ok it's fixed lol


an issue with multidice explosion probabilities

not a bug but something to think about.
In dice syntax 2d2! rolls two two sided dice, if any of them hits 2 it rolls another and adds it to the results. I'd assume this is the way [explode 2d2] would have been handled in anydice. However anydice rolls 2d2 and explodes if both are 2s. Since in roll20 which my syntax was largely based on, it appears to explode like I do, I am not inclined to change this.


add support for the QUIC interop runner

https://github.com/marten-seemann/quic-interop-runner

Codecov Report

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

@@           Coverage Diff           @@
##           master    #2175   +/-   ##
=======================================
  Coverage   86.51%   86.51%
=======================================
  Files         104      104
  Lines        7480     7480
=======================================
  Hits         6471     6471
  Misses        748      748
  Partials      261      261

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 4af8a33...40fb004. Read the comment docs.


disable scroll on mobile modal

so, i currently can scroll with a finger on a modal, and the background which the modal is covering is moving

had a chat with @hassnian that its most likely nova wallet issue as its working in safari - did not try


S3 Adapter is not setting mime type correctly

Link to reproduction
No response
Payload Version
3.0.0-beta.76
Node Version
v18.20.2
Next.js Version
15.0.0-canary.53
Describe the Bug
Problem
When a file is uploaded to an S3 provider, the correct ContentType doesn't seem to be attached to the upload. For example, below is a webp file converted by Payload that should have image/webp attached to it.

Headers
As such, when a file is returned from Payload, it doesn't have the correct contentType. You can see in this file: https://cms.sclark.uk/api/media/file/tablet-1024x1171.webp it comes back with the incorrect content type headers, even though the true file type is image/webp.

Collection
import type { CollectionConfig, Field } from 'payload';

export const Media = (
	additionalFields?: Field[],
): CollectionConfig => {
	return {
		slug: 'media',
		access: {
			read: () => true,
		},
		fields: [
			{
				name: 'alt',
				type: 'text',
				required: true,
			},
			...(additionalFields ? additionalFields : []),
		],
		upload: {
			staticDir: 'media',
			imageSizes: [
				// Original Size (for WebP & Avif)
				{
					name: 'webp',
					width: undefined,
					height: undefined,
					formatOptions: {
						format: 'webp',
						options: {
							quality: 80,
						},
					},
				},
				{
					name: 'avif',
					width: undefined,
					height: undefined,
					formatOptions: {
						format: 'avif',
						options: {
							quality: 80,
						},
					},
				},
	                 ],
		},
	};
};

S3 Config
s3Storage({
	enabled: true,
	bucket: env('SPACES_BUCKET', ''),
	acl: 'public-read',
	collections: {
		media: true,
	},
	config: {
		region: 'ams3',
		endpoint: 'https://ams3.digitaloceanspaces.com',
		forcePathStyle: false,
		credentials: {
			accessKeyId: env('SPACES_ACCESS_KEY', ''),
			secretAccessKey: env('SPACES_SECRET_KEY', ''),
		},
	},
}),

Reproduction Steps
Implement config above and upload a WebP file.
Adapters and Plugins
Storage S3

Still open. No response.


emba report download from the dashboard

User story

As a user
I want / need to view the reports generated and download when needed.

Acceptance criteria

Create HTML and style sheets for the reporting dashboard
Create placeholders for the following elements:
- Tab with all the reports (from emba)
- Search functionality over all reports
From every report a dashboard (as the central aggregated dashboard) should be available => via this dashboard the emba report is called
Finally the original emba report needs to be re-designed to have the same look and feel as the dashboard

Definition of done

Added only after week 5
The same for all features

Styling part remaining to be done by @Vaish1795
Backend functionality working.


Is there a way to tell which element triggered an OnTap?

The reason I ask is because one of the settings in my application can be a small list of custom recordings in different languages - I wanted to present it in it's own section with language identifiers and when you click on them it'll play the greeting for that language.
I'm unsure how to approach this (or if I need to just go manual) - users typically have only 1 to 4 languages but there are, of course, many lanuages possible so I don't want to create seperate OnTap calls for each one - if I can tell which element did the trigger I can construct what I need from the delegate handling the events.
Just curious if I missed something in the docs or if there's an easier way to approach thing I'm not thinking of.
thanks

You would have to designate a different method for each OnTap.
If you do not want that, you can always switch to the Elements API which is more complete.

Closing


[Tech]: Rococo Parachain collator node logging

Problem statement
The parachain collator makes too much logs
Description
No response
Definition of Done

Check if it is possible to decrease the amount of logs

Requirements
No response

@N1ghtStorm what should we do with this task ?
cc. @vovac12


[FxBsky] Video Endpoint

Noticed there isn't support for this yet, and your feed said they didn't know how to get an MP4 file, so...
https://bsky.social/xrpc/com.atproto.sync.getBlob?did=AUTHOR_DID&cid=VIDEO_ID
This will get you an MP4 vid. Discord relies on file extensions, though, so you'll need to throw <meta property="og:video:type" content="video/mp4"> into the Opengraph to get it to embed.

Implemented! https://github.com/FixTweet/FxTwitter/commit/fd539884d692c44aa87a21a063e57d7b277ff219


Purpose: skip alphabetical order on specific blocks. This makes title 0_ hacks unnecessary.
Exploring names for the new options:

front, frontmatter, preamble, overrideFront, placeFirst
back, backmatter, postamble, overrideBack, placeLast


Support loading reflection databases during runtime for rbx_binary and rbx_xml

Currently, to update the reflection database in rbx_binary and rbx_xml, we have to both cut a new release for rbx_reflection_database, upgrade those crates to it, and then cut new releases for them. In turn, this requires every downstream user to update their projects. Given Roblox's weekly release cycle, this is difficult to keep up with and projects quickly fall behind. We should do better.
The logical way to handle this is to allow both rbx_xml and rbx_binary to load reflection databases during runtime instead of relying on the statically included rbx_reflection_database. If that change is made, it would allow consumers to generate their own databases and use them, updating them as needed. For convenience, we should also keep updating rbx_reflection_database.
The ReflectionDatabase type in rbx_reflection can be built using serde so all we need to do is allow the other crates to do this with an API. This should be a minimally invasive change.

A similiar change to rbx_dom_lua should be implemented but it should be trivially easy to support loading a different database.

Was closed by #375.


[ERROR] Could not resolve "vue" when use @vicons<EMAIL_ADDRESS>

TuSimple/naive-ui version (版本)
2.33.5
Vue version (Vue 版本)
3.2.45
Browser and its version (浏览器及其版本)
Chrome(107.0.5304.107)
System and its version (系统及其版本)
win(11)
Node version (Node 版本)
v18.12.1
Reappearance link (重现链接)
https://www.naiveui.com/zh-CN/os-theme/components/menu#TypeScript
Reappearance steps (重现步骤)
only a new project,and use the code https://www.naiveui.com/zh-CN/os-theme/components/menu#TypeScript
Expected results (期望的结果)
no error, on mac and win
Actual results (实际的结果)
✘ [ERROR] Could not resolve "vue"
/AppData/Local/pnpm/virtual/global/@vicons ionicons5@0.12.0/node_modules/@vicons/ionicons5/es/PulseSharp.js:1:143:
1 │ ...s _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, defineComponent } from 'vue'
╵                                                                                ~~~~~
You can mark the path "vue" as external to exclude it from the bundle, which will remove this
error.
Remarks (补充说明)
the same code only run on macos but error on windows
"dependencies": {
"@vicons/ionicons5": "^0.12.0",
"naive-ui": "^2.33.5",
"vfonts": "^0.0.3",
"vue": "^3.2.41",
"vue-router": "^4.1.5"
},

pnpm create vue
and use ts
if remove @vicons/ionicons5 then all correct

Maybe you didn't install vue in your project.

Maybe you didn't install vue in your project.

on windows: when add any dependency of @vicons certain causing errors, remove it auto  recovered
both use node 16,18 case same result,package manage pnpm try 16,17 still like this

This issue does not have any recent activity. If you are still experiencing similar problems, open a new error, including a minimal copy of the problem


Suggestions on how to make it faster?

Hi!
Thanks for the plugin!
Do you have any suggestions on how to optimize it? It is currently taking too long to run the ContactsService.getContacts().
Thanks!

horrible problem -_-

I assume the plugin should attempt batched contacts load.

There's a similar issue, btw:  https://github.com/lukasgit/flutter_contacts/issues/123

In the meantime I will try to migrate to https://github.com/SunnyApp/flutter_contact as it tries to be memory and cpu friendly. This plugin avoids loading your entire address book into memory, but rather provides a couple ways to access all contacts.


Update to 1.4, Use Maven for build system, remove binaries from archive

Hello,
We have updated Nexmo's JAVA library to use Maven as the build system. This is a first step towards deploying the library to the global Maven repository, which will make the library more accessible to other users.
This version also updates the GitHub version to 1.4, which is the version available on your website. (GitHub currently has 1.2).
I have bumped the version to 1.5-SNAPSHOT, since 1.4 has already been released. The source code has been moved to the maven standard directory structure, and the build directory has been removed and ignored.
I would recommend in the future also removing the javadoc and compiled .jar file from the source code.

I don't think Nexmo maintains this repository. It seems to me it's a bare mirror of their source code.

@daniele-athome - probably not, thats why I had to update this code to 1.4...

@jbcpollak could you rebase your modifications to latest master please? I might be able to get this merged.

This version had too much other stuff in it to get a rebase or merge to work cleanly, and much of the changes were obsolete. I created a new PR with just the Maven changes:
https://github.com/Nexmo/nexmo-java-sdk/pull/6

Thanks @jbcpollak! There is some work pending for Java 1.6 compatibility (I need to get an answer from Nexmo about that). After the Java version matter is settled we can actually request merge for this.

Hi,
Firstly, thanks for your time and effort guys!
Any news on this? Using the Nexmo Java API is too cumbersome without maven support.


added map command.

I like you Among Us Discord bot. I am adding a new command to output images of the maps, as that is useful to have available for friends too!
It would be much appreciated if you could add the following label to this pull request:  hacktoberfest-accepted

Thanks for the contribution but the bot is focused on muting only for now. Also while the map feature will be useful, learning the maps are a fun part of the game too and mobile users will be at a disadvantage because they can't access discord while playing.
I appreciate the effort so I've added the label.


Merge remote-tracking branch 'Qiskit/master'

Sorry I misinterpreted the last comment in #319, my bad.


How to supply gas into cross contract call?

Not seeing a way to supply the prepaid gas into a cross contract call anywhere in near.jsvmCall. This should be similar to how the RS SDK does it: https://github.com/near/near-sdk-rs/blob/6555ec593c9185898b7d9d51cf2c884b9e237722/examples/factory-contract/low-level/src/lib.rs
Is the enclave doing something different where cross contract calls don't need gas? That would be strange behavior and would feel like it's unintended if someone were to supply a gas amount but not know how much ends up getting used for the cross contract call.
Additionally, if work is needed here, we might need to consider adding the weighted gas API as well or leave some room to add it in the future. cc @austinabell

Well, since the calls happen all within the same call, what would be the need to supply gas? To restrict the amount a call can make? Not sure you can do this from within the runtime anyway.
The only reason we need to specify gas in the Rust SDK is that these transactions happen async and not within the same execution.

Oh, I didn't realize this happened in the same execution

To restrict the amount a call can make? Not sure you can do this from within the runtime anyway.

hmm, yeah this would probably require us to have separate APIs for making calls into enclave and non-enclave contracts if we support the latter in the future

@austinabell has addressed

To restrict the amount a call can make? Not sure you can do this from within the runtime anyway.

To limit gas in application level, jsvm sync calls you can check near.prepaidGas() and near.usedGas() to plan for the gas. Say, method1 calls Contract2.method2, method1 can figure out there's still sufficient gas to call method2, otherwise error early, but mostly this isn't necessary - method2 would gas panic any way and no state would be commited.

hmm, yeah this would probably require us to have separate APIs for making calls into enclave and non-enclave contracts if we support the latter in the future

Yeah, this would be a separate issue
T


Support Mill 0.12

Hi @ckipp01,
Mill 0.12 has been released not to long ago.
Would it be possible to add support for it?

Main work is done in https://github.com/ckipp01/mill-github-dependency-graph/pull/172

Since the main work is ready, maybe we need to update the version check in this action?


Support marketplace (NIP-15)

Would be nice to see products a person has listed. NIP-15.

Basic support is there. Profiles that have stalls and products now show them. See an example.
Products link out to the LNBits marketplace, which has a proper shopping cart. There might be other online stores apps that I'm not aware of. This could be updated later.
I need to do another review of the NIP and ensure all properties are supported. I'll also assume that there needs to be more checking whether properties exist it or to catch errors, etc.


M14-LAB14: Create a web server Azure VM by using an Ansible playbook not working

Contact Details
<EMAIL_ADDRESS>What happened?
Exercise : 01
Task: 06
Step: 09
Description of issue:
While running this command
sudo ansible-playbook ~/PartsUnlimitedMRP/Labfiles/AZ-400T05-ImplemntgAppInfra/Labfiles/ansible/new_vm_web.yml --extra-vars "vmname=<VM_name> resgrp=az400m14l03arg vnet=az400m1403aVNET subnet=az400m1403aSubnet"
getting below error
TASK [Create storage account] **********************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Error retrieving resource group az400m14l03arg - Could not retrieve token from local cache. Please run 'az login'."}
PLAY RECAP *****************************************************************************************************************************************************************
localhost
Repro steps:
1.
1.
1.
Lab
Lab 14a Ansible with Azure
Relevant screenshots
paste here 😉
Do you want to help us? 👏

[X] I agree to follow this project's Contribution Guide

I had the very same problem. In another lab it was the "az cli" version 2.30 that caused issues, rolling back to 2.29 solved the problem there. It also solved the problem here, could get the machine deployed after doing this:
sudo apt-get install azure-cli=2.29.2-1~bionic
az login
az account get-access-token
Not sure if the get-access-token was required, that to my understanding should be used to work in 2.30. But it did not work for me on version 2.30
Info on the changes:
https://docs.microsoft.com/en-us/cli/azure/msal-based-azure-cli

It worked thanks

I still think they should fix it to support "az cli" v2.30 though

The problem persists. Thanks to omgitsjocke I was able to finish the lab 👍

The Ansible lab and content will be removed from AZ-400. I'm archiving the issue.


don't moveLeft() if selection.isReversed()

Before this change, deactivateVisualMode() unnecessarily move cursor Left when selection is Reversed.
Reproduce

v to enter visual-mode
kk, esc move Cursor one column Left position to expected position.

This PR fix above bug.
All test pass, I don't think additional test required for this fix.

Thanks for catching that!


WIP: Improving jacobi

Turning https://github.com/graphcore-research/tessellate-ipu/issues/21 into PR as request by @awf
Tough questions we may need to address:

Do we want to retain control over unroll vs jax.lax.fori_loop? Is there any performance difference?
Creating the popvision profile took ~10min for N=512. Suspect cause is nested jax.lax.fori_loop with 512*15 iterations.
Do we want to allow user to between np and jnp when computing rotset (i.e. do at trace time or on-the-fly). This may allow a trade-off between memory/speed useful for small/larger matrices. Could be achieved with def ipu_eigh(..., np_backend=jax.numpy).

Closing this PR as https://github.com/graphcore-research/tessellate-ipu/pull/42 was merged with an optimized fori_loop implementation.


Not possible to deselect in a multi-select tree with more than one node selected

Issue details
It is not possible to deselect nodes in a tree configured for multi-select after more than one node has been selected. You can if only one is selected so behaviour feels inconsistent at least. Seems to be related to this commit to the Selection class.
I'm not entirely sure what behaviour the Selection logic is trying to achieve so am hesitant to suggest a fix. I am happy to try to deconstruct it if would help.
FTR, I've worked around this by replacing the ClickListener in Tree with one that doesn't use Selection.choose for deselect, which is fine for my needs.
Reproduction steps/code
Run the below, you can select and deselect one node at a time using touch (click) only. However, once both nodes are selected it is not possible to deselect any using touch only.
import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.scenes.scene2d.Stage;
import com.badlogic.gdx.scenes.scene2d.ui.Label;
import com.badlogic.gdx.scenes.scene2d.ui.Skin;
import com.badlogic.gdx.scenes.scene2d.ui.Table;
import com.badlogic.gdx.scenes.scene2d.ui.Tree;
import com.badlogic.gdx.utils.viewport.ScreenViewport;

public class BarebonesStage extends ApplicationAdapter {
  Stage stage;
  Skin skin;

  class Node extends Tree.Node<BarebonesStage.Node, String, Label> {
    public Node(String text) {
      super(new Label(text, skin));
      setValue(text);
    }
  }

  @Override
  public void create() {
    stage = new Stage(new ScreenViewport());
    Gdx.input.setInputProcessor(stage);
    skin = new Skin(Gdx.files.internal("data/uiskin.json"));

    Table table = new Table();
    table.setFillParent(true);
    stage.addActor(table);

    Tree<Node, String> tree = new Tree<>(skin);
    tree.add(new Node("One"));
    tree.add(new Node("Two"));

    tree.getSelection().setMultiple(true);
    tree.getSelection().setToggle(true);

    table.add(tree).fill().expand();
  }

  @Override
  public void render() {
    Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
    stage.draw();
  }

  public void resize(int width, int height) {
    // Pass false to not modify the camera position.
    stage.getViewport().update(width, height, true);
  }

  public static void main(String[] args) {
    new LwjglApplication(new BarebonesStage());
  }
}

Version of LibGDX and/or relevant dependencies
1.9.10
Please select the affected platforms
All

Thanks for the runnable code! Toggle should work like ctrl is down, not sure why it was trying to handle the "required" logic in the outer if.


[QUESTION] Vulnerability of minimist

What / Why

Vulnerability was found in minimist. Is it related and need to modify?
I'm sorry if it doesn't matter!

References

https://www.npmjs.com/advisories/1179

Hopefully #247 should fix the vulnerability in minimist


"%s" % bytes('a') == "b'a'"

$ python
Python 2.7.3 (default, Oct 26 2016, 21:01:49)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from builtins import bytes
>>> '%s' % bytes('a')
"b'a'"
>>> '%s' % b'a'
'a'
>>>

This causes sqlalchemy to completely break. on py3.5,  b'%s' % b'a' == b'a'.


IOT-914 Modify config data

Added seconds and nano seconds as key value in response.
Added byte array of binary data.

Here is output :

Still we are not matching Google's response. As Google's response is like below,
{
"version": "5",
"cloudUpdateTime": {
"seconds": "1670530218",
"nanos": 978403000
},
"deviceAckTime": null,
"binaryData": {
"type": "Buffer",
"data": [34, 103, 54, 82, 107]
}
}
But our object is only supporting binaryArray and not object. If you have any suggestion on this. Here is the object,

@ronak-ingress a few comments:

Shouldn't this PR be branched off 'develop' and merged back there? Rather than being branched off and merged back to 'main'?
I think you'll have to do the conversions wherever a Device is returned as well since that probably returns the last config and state as well? Specifically in the private functions _getDevice and _updateDevice?

Switched branch to main as base.


[Feature Request] Add support for encrypted commnication with authentication method

It appears that right now the link relay will accept a web socket connection from any client and send/receive the data without encryption.
This is a feature request to add support for an encrypted transport protocol with an authentication method. One solution could be  secure web sockets (wss) with https authentication.
Reference to potential solution:

https://devcenter.heroku.com/articles/websocket-security

Thanks for the suggestion, this seems like a good thing to do.


Generate deserializeT model method

This PR decouples the changes from https://github.com/microsoft/typespec/pull/3603 to support generating the deserialization  method for a model.
Supports https://github.com/microsoft/typespec/issues/3330.

API change check
API changes are not detected in this pull request.


fix: respect order of columns in to_iceberg

Feature or Bugfix

Bugfix

Detail

Respect the order of columns when inserting into an Iceberg table

Relates

#2758

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 9e93edc795511a459beba44371c3693c5f3b7537
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: 9e93edc795511a459beba44371c3693c5f3b7537
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: d1f2067ce4a26333df9d53a9a8b857177f5a13e4
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: d1f2067ce4a26333df9d53a9a8b857177f5a13e4
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Valdemoro 3-RDM reconstruction

Beware! Cumulant is ZERO!

Hi Nicholas, I am interested in generating recursively higher order cumulants using lower orders.
Do you have any plans to extend your program to general k-RDM cumulants?

I don't have plans right now to extend the code to other RDM approximations. This code assumes cumulant is zero.  Higher RDMs can be implemented recursively.  It would be a great addition!


Add https://carbonwallet.com multi signature to wallet section.

We've recently completed our implementation of Bitcoin Cash multi signature wallets.
To give you an idea of how our wallet secures our users funds I'll give a technical overview.

We implement 2 of 2 multi signature wallets.
The first private key is genenerated in the browser and the key is encrypted with BIP 38, before hitting our servers. BIP38 is very hard to brute force. https://github.com/bitcoinjs/bip38
The second private key can be created using the CarbonKey app on your phone. https://github.com/carbonwallet/CarbonKey
CarbonKey sends a public key to CarbonWallet and the multi sig wallet is created. The private key from Carb
onKey never leaves the phone.

The whole wallet for all currencies can be backed up to a paper wallet.
Any questions please ask.

Hello,
Thank you for your contribution.
We are migrating to a combined repository to improve the website experience.  This includes:

Adding a developer portal, which includes protocol specification, and other resources
Switching to a common template rendering sysmte (Jekyll)
Automated deployments to a staging area to facilitate in interative development.

Please help us by submitting your pull request to the new repository:
http://github.com/bitcoincashorg/bitcoincash.org


Add more usage details in README?

The README states that AWS don't recommend using this SDK, however that's not the case if all you want is X-Ray. Also if using Node 18 with ESM handlers, then there currently is no other option than this SDK due to this issue.
https://docs.aws.amazon.com/xray/latest/devguide/xray-instrumenting-your-app.html#xray-instrumenting-choosing
We recommend choosing an X-Ray SDK for instrumenting your application if you need the following:

A tightly integrated single-vendor solution

Integration with X-Ray centralized sampling rules, including the ability to configure sampling rules from the X-Ray console and automatically use them across multiple hosts, when using Node.js, Python, Ruby, or .NET

Hi @JamesKyburz - thanks for pointing this out. We need to better align our documentation in these two places to reflect the latest AWS recommendation.

We are updating our documentation now to address the first issue. Regarding the ESM handler issue, can this SDK be used for ESM module applications? My understanding is we require you to wrap require statements, and that there is no workaround to do the same wrapping for ESM imports.


Fix: Invoke SparkSubmitCommand with postStart hook.

Previously, we were overriding the command from the base Spark master image.

LGTM and nice work!


Adding .dll for testing

Hi, when you do testing, do you manually add the sqlite3.dll into your testing folder? Just curious how you do the setup.

I develop on and the CI runs on a mac which has the library built in.
Eventually I'll get a test to go against the raw version of the library.


Error in XLDateTime

error in file XLDateTime.cpp (line 216)
the error in case the last day of month.
if serial is 30.71232..... it is mean that the 30th day with some time, but if the month have 30 days then
serial -=day and serial = 0.71232
and result.tm_mday will be 0 after that line
The correct code:
while (true) {
            auto days = daysInMonth(result.tm_mon + 1, 1900 + result.tm_year);
            if (days >= static_cast<int>(serial)) break; //correct
            //if (days > serial) break; //error
            serial -= days;
            ++result.tm_mon;
        }

I've included your fix on PR https://github.com/troldal/OpenXLSX/pull/111 @LavrenovRoman


Clicking "Sign into github.com" form settings does nothing

Dev Home version
No response
Windows build number
No response
Other software
No response
Steps to reproduce the bug
Go so setting in DevHome app.
Click "Add account"
Click "Sign into github.com"
Nothing happens
Expected result
A pop-up or ability to enter your github.com credentials should open.
Actual result
nothing happens
Included System Information
No response
Included Extensions Information
No response

@pcisko I am curious if you happen to close the Add account dialog and repeat steps 2 and 3, does the issue consistently occur or does it just occasionally occur?
Potential dupe of https://github.com/microsoft/devhomegithubextension/issues/108


Preserve file attributes while copying with 'extra-resource' option

Preflight Checklist

[X] I have read the contribution documentation for this project.
[X] I agree to follow the code of conduct that this project follows, as appropriate.
[X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Problem Description

According to file usage.txt when using extra-resource option in build time you use fs-extra package to copy extra resources to target folder. However, the attributes of file is cleared after copy operation is done. We have an executable C file with (rwx rwx r--) bits set. When file is copied to target directory executable attribute of file is removed and we are not able to execute it within electron.
Proposed Solution

According to this file from Copy Usage fs-extra package you may pass a preserveTimestamps <boolean> option when calling copy function like this: copy(src, dest[, options][, callback]).
According to this code snippet copy.js when using this option we may preserve mode in addition to Timestamps.  Updating this code in your repo platform.js and adding the preserveTimestamps  option will add the capability to preserve both  Timestamps and mode in the target directory.
Alternatives Considered

Additional Information

Hello! Are you still running into this issue @ma-sattari? Looking at this line in fs-extra's copy.js, it seems like the destination file is always set to the same mode as the source file.


chore: added multiple browser support

added firefox and chrome for finished releases, PR stay electron for speed

why don't we use a job matrix for parallel tests?
https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs

why don't we use a job matrix for parallel tests and less config?
like this, only the tests rerun in a different configuration. in a matrix the complete docker compose stack needs to be doubled for reliable artifacts as they share the runners folder.

I guess this is a matter of speed, which runs faster. what do you think ?

I'd say the (unskipped) tests eventually have longer than zitadel and cockroach to become ready (i guess about 2m)

I'd say the (unskipped) tests eventually have longer than zitadel and cockroach to become ready (i guess about 2m)

with more and more tests this might be significant. I amended it

does this --browser flag really work?

I see, it does :-D
Interesting

does this --browser flag really work?

I see, it does :-D Interesting

with the power of docker it gets interpreted as argument ;) yes it does


⚠ Bofrost.de has degraded performance

In d64129c, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1781 ms

Resolved: Bofrost.de performance has improved in 6ea6a29 after 21 minutes.


Updating disabled or hidden ui-select multiple inputs breaks width (0.17.1)

Bug description:
With the changes to sizeSearchInput in 0.17.1, updating disabled or hidden multi-select inputs will set the width to 10px permanently.
Link to minimally-working plunker that reproduces the issue:
The width of the input in the following plunker is indicated in red.
http://plnkr.co/edit/lQLLozS6DhnPXXzmuWXJ?p=preview
Version of Angular, UI-Select, and Bootstrap/Select2/Selectize CSS
Angular: 1.5.5
UI-Select: 0.17.1
Bootstrap/Select2/Selectize CSS (if applicable): 3.1.1

I've just come across a variant of this, where the ui-select boxes are in a panel that can be hidden (but starts visible).
We've jumped from 0.12 to 0.17.1, but I don't think this is an entirely new issue. We've always had trouble with multiple ui-select boxes on the same page, and the width of the input/placeholder panel acting strangely (seemed to clear up after the various ajax requests on the page completed and angular completed another digest cycle).


Add well-known nodeSelector to operator deployment

Description
Hello !
I have a hybrid kubernetes cluster comprised of windows and linux workers. Without a proper nodeSelector for operating system, the operator sometimes schedules onto a windows node and fails out. My suggestion is to include a well-known nodeSelector on the operator deployment such that it properly targets compatible linux workers.
Implementation ideas
in the .spec.template.spec of the operator deployment, add in
+      nodeSelector:
+        kubernetes.io/os: linux

This project has been closed, please see #1537


python312Packages.sentry-sdk_2: 2.10.0 -> 2.11.0

https://github.com/getsentry/sentry-python/blob/2.11.0/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

from the aarch64-darwin builder:
____________________________ test_profile_captured _____________________________
[gw0] darwin -- Python 3.12.4 /nix/store/3swy1vadi125g0c1vxqp8ykdr749803j-python3-3.12.4/bin/python3.12
sentry_init = <function sentry_init.<locals>.inner at 0x105c23f60>
capture_envelopes = <function capture_envelopes.<locals>.inner at 0x105c8c040>
teardown_profiling = None
    @pytest.mark.forked
    def test_profile_captured(
        sentry_init,
        capture_envelopes,
        teardown_profiling,
    ):
        sentry_init(
            traces_sample_rate=1.0,
            _experiments={"profiles_sample_rate": 1.0},
        )

        envelopes = capture_envelopes()

        with start_transaction(name="profiling"):
            time.sleep(0.05)

        items = defaultdict(list)
        for envelope in envelopes:
            for item in envelope.items:
                items[item.type].append(item)

        assert len(items["transaction"]) == 1
>       assert len(items["profile"]) == 1
E       assert 0 == 1
E        +  where 0 = len([])

Seems to be timing related, i think the test can be disabled as "flaky"

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

6 packages built:

pretix
pretix.dist
python311Packages.sentry-sdk_2
python311Packages.sentry-sdk_2.dist
python312Packages.sentry-sdk_2
python312Packages.sentry-sdk_2.dist


Update welcome.py

Add member count

there is no need for this. server already has a member_count: "{1.member_count}"
Thank you very much for the idea though! Eventually I'll add a daily members joined argument like Red's custom welcome.


Doxygen link doesn't work in https://skaginn3x.github.io/framework/

Doxygen Link points to:
https://skaginn3x.github.io/doxygen/html/index.html#http://
Should point to:
https://skaginn3x.github.io/framework/doxygen/html/index.html

FIxed with PR #122


Code issues

Hello, author, I am a beginner. When I run train2.py, an error occurs. The loss in line 90 is of type 'float', and loss. backward() requires a 'torch Tensor'. I tried using torch. sensor() to convert loss to 'torch Tensor', But it didn't work. How can I solve this problem?

Did you just run train2.py? Can you try running the script:
bash scripts/run_roberta_rank.sh

Thank you, I tried running this script but encountered some new issues.
25248@□□ĩ MINGW64 /e/NLP_learning/TTM-RE-main
$ "E:\Program Files\Git\bin\sh.exe" E:/NLP_learning/TTM-RE-main/scripts/run_roberta_rank.sh
Traceback (most recent call last):
File "E:\NLP_learning\TTM-RE-main\train2.py", line 5, in
import numpy as np
ModuleNotFoundError: No module named 'numpy'
Please help me.


[BUG] Volume stuck in attaching state if one of the replica location can't be found on scaling up a pod.

Describe the bug
Volume stuck in attaching state if one of the replica location can't be found on scaling up a pod.
To Reproduce
Steps to reproduce the behavior:

Deploy Longhorn on a cluster of 4 nodes (1 etcd/control plane, 3 workers)
Mount an additional disk on node-1 and add that disk in longhorn.
Disable the default disk on node-1.
Create a volume (3 replicas), attach it to a pod, and write some data into it.
Detach the volume by scaling down the pod.
Umount the disk on the node.
Scale up the pod.
Volume stuck in attaching state.

Expected behavior
Volume should get attached and the replica which is not available anymore should become failed.
Log
time="2020-11-18T21:11:48Z" level=warning msg="Instance volume-test-1-r-249b003f crashed on Instance Manager instance-manager-r-85b66b6c at khushboo-test-lh-wk1, try to get log"
time="2020-11-18T21:11:48Z" level=warning msg="volume-test-1-r-249b003f: time=\"2020-11-18T20:34:01Z\" level=info msg=\"Creating volume /host/data/replicas/volume-test-1-2255984c, size<PHONE_NUMBER>0/512\""
time="2020-11-18T21:11:48Z" level=warning msg="volume-test-1-r-249b003f: time=\"2020-11-18T20:34:01Z\" level=info msg=\"Listening on data server <IP_ADDRESS>:10001\""
time="2020-11-18T21:11:48Z" level=warning msg="volume-test-1-r-249b003f: time=\"2020-11-18T20:34:01Z\" level=info msg=\"Listening on sync agent server <IP_ADDRESS>:10002\""
time="2020-11-18T21:11:48Z" level=warning msg="volume-test-1-r-249b003f: time=\"2020-11-18T20:34:01Z\" level=info msg=\"Listening on gRPC Replica server <IP_ADDRESS>:10000\""
time="2020-11-18T21:11:48Z" level=warning msg="volume-test-1-r-249b003f: time=\"2020-11-18T20:34:01Z\" level=info msg=\"Listening on sync <IP_ADDRESS>:10002\""
time="2020-11-18T21:11:48Z" level=warning msg="volume-test-1-r-249b003f: time=\"2020-11-18T20:34:02Z\" level=info msg=\"New connection from: <IP_ADDRESS>:35972\""
time="2020-11-18T21:11:48Z" level=warning msg="volume-test-1-r-249b003f: time=\"2020-11-18T20:34:02Z\" level=info msg=\"Opening volume /host/data/replicas/volume-test-1-2255984c, size<PHONE_NUMBER>0/512\""
time="2020-11-18T21:11:48Z" level=warning msg="volume-test-1-r-249b003f: time=\"2020-11-18T20:34:17Z\" level=info msg=\"Reloading the revision counter before processing the first write, the current revision cache is 0, the latest revision counter in file is 0\""
time="2020-11-18T21:11:48Z" level=warning msg="volume-test-1-r-249b003f: time=\"2020-11-18T20:41:21Z\" level=info msg=\"Closing volume\""
time="2020-11-18T21:11:48Z" level=warning msg="volume-test-1-r-249b003f: time=\"2020-11-18T20:41:22Z\" level=warning msg=\"Received signal interrupt to shutdown\""
time="2020-11-18T21:11:48Z" level=warning msg="volume-test-1-r-249b003f: time=\"2020-11-18T20:41:22Z\" level=warning msg=\"Starting to execute registered shutdown func github.com/longhorn/longhorn-engine/app/cmd.startReplica.func4\""
time="2020-11-18T21:11:48Z" level=warning msg="volume-test-1-r-249b003f: time=\"2020-11-18T21:07:02Z\" level=info msg=\"Creating volume /host/data/replicas/volume-test-1-2255984c, size<PHONE_NUMBER>0/512\""
time="2020-11-18T21:11:48Z" level=warning msg="volume-test-1-r-249b003f: time=\"2020-11-18T21:07:02Z\" level=fatal msg=\"Error running start replica command: mkdir /host/data/replicas/volume-test-1-2255984c: no such file or directory\""
time="2020-11-18T21:12:18Z" level=warning msg="Instance volume-test-1-r-249b003f is state error, error message: exit status 1"

instance-r-manager log:
longhorn-instance-manager] time="2020-11-18T21:20:18Z" level=debug msg="Process Manager: got logs for process volume-test-1-r-249b003f"
[longhorn-instance-manager] time="2020-11-18T21:20:18Z" level=debug msg="Process Manager: start getting logs for process volume-test-1-r-249b003f"
[longhorn-instance-manager] time="2020-11-18T21:20:18Z" level=debug msg="Process Manager: got logs for process volume-test-1-r-249b003f"
[longhorn-instance-manager] time="2020-11-18T21:20:48Z" level=debug msg="Process Manager: start getting logs for process volume-test-1-r-249b003f"
[longhorn-instance-manager] time="2020-11-18T21:20:48Z" level=debug msg="Process Manager: got logs for process volume-test-1-r-249b003f"
[longhorn-instance-manager] time="2020-11-18T21:20:48Z" level=debug msg="Process Manager: start getting logs for process volume-test-1-r-249b003f"
[longhorn-instance-manager] time="2020-11-18T21:20:48Z" level=debug msg="Process Manager: got logs for process volume-test-1-r-249b003f"
[longhorn-instance-manager] time="2020-11-18T21:21:02Z" level=debug msg="Process update: volume-test-1-r-249b003f: state error: Error: exit status 1"

longhorn-support-bundle_f4d80f34-2207-4059-a289-f32a30f791f7_2020-11-18T21-22-48Z.zip
Environment:

Longhorn version: Longhorn-master - 11/18/2020
Kubernetes version: v1.1.8
Node OS type and version: ubuntu 18.04

Verified with Longhorn master - 12/02/202
Validation - Passed
Volume attach to pod successfully in degraded state if replica/disk is not found. The replica in this case becomes failed and on making the disk available again the failed replica got rebuilt.

It's unlikely we have time for writing an automation test in v1.1.0. Let's do a regression test and then punt it to v1.1.1 release.

Re-validation was done by @PhanLe1010 . Move the E2E test to v1.1.0 release.

integration tests passed


fix: removed "context" reference from datasets prepare_for_training #…

Description
Fixed missing context key.
Closes #2606
Type of change
(Please delete options that are not relevant. Remember to title the PR according to the type of change)

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

How Has This Been Tested
N.A.
Checklist
N.A.

Hi @davidberenstein1957! I'd say you also need to remove the context references in the unit tests at https://github.com/argilla-io/argilla/blob/29972416cf83869fb664d78f75e150c99f45ed51/tests/client/test_dataset.py#L346-L355 👍🏻

will be included here https://github.com/argilla-io/argilla/pull/2574


Getting "existing connection forcibly closed by remote host" when I should be getting websocket::error::closed

Hello,
I have a simple test setup where I have a simple secure websocket server running in Tornado websockets in Python 2.7, and a C++ websocket client using the version of boost::beast included with the Boost 1.67.0 release. The connection is made over SSL with TLSv1.2. I'm compiling with MSVC 19.14.26433.0 x86_64 (32 bit compiler for 64 bit host)
My C++ client calls async_read and waits for data. When it receives data, it checks for any errors then fires a callback with said data. It then starts another async_read.
From what I understand, when I call close() on the server-side websocket connection, the async_read callback on the C++ side should gracefully intercept and respond to the websocket 'close' frame, and callback with the error code set to websocket::error::closed.
However, my async_read callback always seems to have "An existing connection was forcibly closed by the remote host" set as the error. I've also seen it as "stream truncated" a couple of times.
I registered a control_callback, and am able to see the 'close' frame being received there, so I'm not sure why async_read does not have the correct error message.
Is this a known issue? Am I doing something wrong? Thank you!

From what I understand, when I call close() on the server-side websocket connection, the async_read callback on the C++ side should gracefully intercept and respond to the websocket 'close' frame, and callback with the error code set to websocket::error::closed.

Yeah you have that all correct. ECONNRESET ("An existing connection was forcibly closed by the remote host") means exactly what it says. The remote host (Tornado websockets in this case) reset the connection.
And if we look at the source code[1] for Tornado websockets we find this:
# Give the client a few seconds to complete a clean shutdown,
# otherwise just close the connection.
self._waiting = self.stream.io_loop.add_timeout(
    self.stream.io_loop.time() + 5, self._abort)

Ho ho! What's this? A call to self_.abort()? Not best practices :) Maybe on the Beast client side you are still writing data? Or for some other reason there is a delay? What happens when you don't use SSL?
[1] http://www.tornadoweb.org/en/stable/_modules/tornado/websocket.html

Hi Vinnie, I appreciate the quick and detailed response!
So I did some more testing: I compiled simple test apps using the provided example applications:
https://www.boost.org/doc/libs/1_67_0/libs/beast/example/websocket/client/
With sync and async clients and no SSL, I get the websocket::error::closed as expected.
With the async SSL client, I get the "An existing connection was forcibly closed by the remote host" error.
I timed the delay between receiving the 'close' control frame and getting the async_read callback - it is in the order of microseconds, so Tornado is not calling self_.abort() due to the timeout delay. Also, Tornado calls its on_close handler, so it is getting the 'close' frame from Beast as expected. I have a funny feeling Tornado is killing the SSL stream too quickly when it gets the 'close' frame, which might cause Beast to give the wrong error.
Anyways, not a big deal - since I can consistently catch the close frame in the control_callback I'll set a flag to override the error.
I have attached my Tornado test server, just send it a 'close' string and it will initiate the close from the server-side.
websocket_server_test.zip

I have a funny feeling Tornado is killing the SSL stream too quickly when it gets the 'close' frame, which might cause Beast to give the wrong error.

I think that is precisely what is happening. Consider trying a few other servers. You might also try a beast SSL websocket server. Google servers in particular love to close the socket without finishing the SSL shutdown handshake.

I actually had tried it with a synchronous boost::beast websocket server and I did get the correct error code. Not entirely sure who's court the bug lands in- whether Tornado shouldn't close the socket so quickly, or if boost::beast should preserve the close error code even if the SSL stream closes. Anyways, I guess I'll just hook onto  control_callback for now. Thanks!

preserve the close error code even if the SSL stream close

Definitely not, because this would mask a man in the middle attack on the closing handshake.

I've also seen it as "stream truncated" a couple of times

could you clarify please? what precise error code and message you get? in my app I sometimes can see ec.value()=2 and ec.message() returning "End of file" in void fail(boost::system::error_code ec, char const* what) handler


FPS Drops when any item/player is on a platform

When i land on a platform or if an item lands on a platform the FPS seems to drop alot.

I was about to close this because it makes sense for platforms to be slow because mari0 has no spatial hashing, so it checks for every entity in the map instead of the ones near it... but if this only happens when on a platform then it likely has to do witch checkrect (which also checks every single entity in the map)
I made a checkintile function that is much faster but it would allow mario to clip through some things, so I'm not sure if changing the behavior is a good idea.

This just can't be fixed easily enough to stay open I think


Move the parallel decl'H5 plugin to more idiomatic C++

In GitLab by @jbigot on Dec 15, 2017, 16:34

mentioned in commit d7709a3ccfd7c75176dc47bf8ea30c4eb0bbff7b

mentioned in commit cda3dcb108bedbdb4b705ccdd154ec20224dbb9a

mentioned in commit 894cadc78081b9ebb5e6534a13e4c9e10100a95a

closed via commit 9608512a1e24fd5871ec8fc6aa831125bdd8bf7a

mentioned in commit ec97e3dd4d7eceac356cc20725a748e441cba063

mentioned in commit 9608512a1e24fd5871ec8fc6aa831125bdd8bf7a

mentioned in commit 0ab397cd12ba6baa882d8defe3c67ef1bfc93739

closed via merge request !93


CLN: paymentstate check on error

Payment state check should only return False if the payment 100% failed. Uncheckable entries should not enter the db in the first place, which we will be working on next.

i am scared, i think also the debug log when deleting was removed

It was re-added in 7dfbabf

Squashed and rebased


Load docs fonts from Gradle CDN

This significantly improves time to first meaningful paint
according to Google's Lighthouse:

WOFF2 fonts are smaller than TTF
Fonts are loaded in parallel to the rest of CSS, instead of
inline. Not only reducing the time to first paint, but also giving
a chance for the browser to layout the DOM in parallel

This change basically stops our inlining TTF fonts and loads them from Google Fonts. I considered manually subsetting the fonts or loading with webfontloader, but decided this a reasonable first step with performance benefits I am certain of.
Context
I was digging into Google Analytics and found the load times of Gradle docs to be poor, especially in Asia (which is 26% of traffic)

This results in 2 behavior changes when I compare them:

30% fewer page views from Asia compared to all users
Many more visits (6x) to userguide_single.html compared to the rest of world, presumably so they don't have to load multiple pages to get most of the user guide content.

I'm suggesting this against release for Gradle 4.4 because if we can achieve even 10% more page views from Asia, that is 18,000 more views and I believe this is a low enough risk change that we can fix it separately from the Gradle distribution.
Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

@ldaley Since you implemented the font stuff 5 years ago, I'm happy to have your review here if you're interested.

I'm suggesting this against release for Gradle 4.4 because if we can achieve even 10% more page views from Asia, that is 18,000 more views and I believe this is a low enough risk change that we can fix it separately from the Gradle distribution.

Can you clarify what you mean by "fix it separately from the Gradle distribution"? Do you mean if it's broken, then we can fix it separately? I am -1 on adding it to release this late.

I've rebased this on master for Gradle 4.5. I switched to the font weight @aweida had in the design spec, too. 🔥  This doesn't really do it justice.

@eriwen back then, offline viewing was a (never used) hard requirement.
FWIW, for the gradle.com sites we are using https://assets.gradle.com/lato/css/lato-font.css and https://assets.gradle.com/inconsolata/inconsolata.css wherever practical. This is behind the Cloudflare CDN.

Thanks @ldaley. I've pulled in a subset of https://assets.gradle.com/lato/css/lato-font.css here (and renamed the pull request). This seems to have the added benefit of actually working in China (as opposed to Google Fonts) and I think the new Lato font is slick.

@bmuschko Please let me know what you think after I made a couple changes.

@eriwen Looks more crisp and uses up less space. LGTM! Didn't see a response on my question about offline browsing. What does the behavior look like e.g. for the user guide bundled with the Gradle distribution?

@bmuschko PDF users will no longer get the embedded font, and it'll default to Helvetica or Arial. I don't consider this significant enough to address right now.

@eriwen OK, thanks for clarifying. That's good enough.


require('bafa.ui').toggle() not an editor command

How to open bafa buffer? some indications would have helped us "less intelligent souls".

I hope :lua require('bafa.ui').toggle() should do the trick 👍🏾🤞🏾

yes, i missed that 'lua' part..Thanks

@gorillamoe thanks


/articles: glossary word popover often missing image

I think it would be a worthwhile improvement to ensure all definitions have an image. It helps maintain attention and therefore engagement.

I'm happy to go through finding/creating images for this if that helps.

They're pulled from this document: https://docs.google.com/document/d/1Rm7tN5zTErZq0E4qqAZoNVzClS94Kb_rQOLaViu2p6c/edit if you want to add any

Procedure to generate them and discussion can be found here
https://discord.com/channels/677546901339504640/1209317607073775716

Yep agreed!

I would argue this is not a bug, but an ongoing TODO item. Even then with https://github.com/StampyAI/stampy-ui/issues/674 in mind, I'm not sure this is even something we want to do. I will close it, feel free to re-open if you disagree.


Make function use same param names in .h and .cc. [phab:D2209]

Created by salguarnieri at 2018-03-02 18:48:15:

shahms accepted this revision at 2018-03-02 18:49:20

salguarnieri closed via commit 3bacb6a231b52ef9c39f774a5170968e0f20ee93 at 2018-03-02 18:52:00


Reorganize to match other react-native repos

Hey, I'm trying to get this to compile with webpack (for a project with react-native-web), which needs the source to be compiled to ES5.
This is pretty simple in other react-native module repos, which have a top-level directory with a package.json, the ios and android folders, and then the javascript either also in the top-level, or in a src folder (check out https://github.com/react-native-community/react-native-blur).
Could you move this project over to that structure? It would get rid of the duplicate README.md and package.json files. I already have a commit for this (https://github.com/tuckerconnelly/react-native-fetch-blob/commit/ede33f8cdbd8f516537ea665bd6360865f5e8988) if you'd accept a PR :)

@tuckerconnelly , thanks for the advice. After 0.9.6 I push the files in src folder to an archive repo,  could you please see if that fulfills your need ? 😏

It doesn't. It's messy IMO. But I've got my own fork so I'm good.


Can't cmake on Parrot OS(Linux)

I do
mkdir build && cd build
cmake ..
and get "
CMake Error at CMakeLists.txt:16 (find_package):
By not providing "FindSDL2.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "SDL2", but
CMake did not find one.
Could not find a package configuration file provided by "SDL2" with any of
the following names:
SDL2Config.cmake
sdl2-config.cmake

Add the installation prefix of "SDL2" to CMAKE_PREFIX_PATH or set
"SDL2_DIR" to a directory containing one of the above files.  If "SDL2"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
"
I was trying  cmake -DSDL2_INCLUDE_DIR=/peter/local/include -SDL2 .. but the same is happened.

Looks similar to #923
@RIscRIpt what do you think? Could it be caused by the REQUIRED in find_package: https://github.com/tsoding/nothing/blob/250fbfbdef4f25f7beaf198feb4c1e01e6f56707/CMakeLists.txt#L16
Basically, cmake can't find REQUIRED package and fails before getting to the SDL2::SDL2 workaround. Could that be the case?

I deleted line 16 and got 2 errors:

I think that  I was having libsdl2-dev not installed so after apt update and apt install libsdl2-dev everything worked.

Looks similar to #923

Not really.
Look closely at

The following error ... (same error as above) ... occurs on my linux machine when I don't have SDL2 installed (the same error is in MacOS CI).


How to pass tools?

I'm creating a shallow completions endpoint and I'm wondering about how to pass tools and tool_choice to the respond/complete methods in LLMDynamicHandle. It seems neither can take these opts, yet they are options I've passed to my lm studio server, afaik. What am I missing?

What conclusion did you reach? I had this same question and I think that it's just unsupported? I ended up using a custom prompt, but I'd like to know what you thought.

Yep, it is!
I can even share my code in case its useful for you:
https://github.com/MarianoMolina/project_alice/blob/main/backend/src/utils/lmStudioManager.ts
On Wed, 14 Aug 2024 at 12:34, Mvb1122 @.***> wrote:

What conclusion did you reach? I had this same question and I think that
it's just unsupported? I ended up using a custom prompt, but I'd like to
know what you thought.
—
Reply to this email directly, view it on GitHub
https://github.com/lmstudio-ai/lmstudio.js/issues/49#issuecomment-2289128709,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADZMG4VWWBGWIJTDW63QRB3ZRN2I3AVCNFSM6AAAAABLTSOWMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBZGEZDQNZQHE
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

LMAOOOOO
Thanks for your help. That's exactly what I was thinking. TBH I'm just gonna swap softwares.

Feel free to check my project. I literally built it from scratch after not
finding what I wanted, and sounds like it should fit your use case. The
project offers a few microservices, one being the backend that offers this
lm studio endpoint.
On Wed, 14 Aug 2024 at 10:31 PM Mvb1122 @.***> wrote:

LMAOOOOO
Thanks for your help. That's exactly what I was thinking. TBH I'm just
gonna swap softwares.
—
Reply to this email directly, view it on GitHub
https://github.com/lmstudio-ai/lmstudio.js/issues/49#issuecomment-2290289510,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADZMG4RS4YQTXY5U7GYMQ4LZRQAIBAVCNFSM6AAAAABLTSOWMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJQGI4DSNJRGA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


[MediaQuery] Foundation.MediaQuery.current return undefined in Firefox

Since the 6.5.0.rc-4 (at least); it seems the media query are not working anymore on Firefox.
import { Foundation } from 'foundation-sites/js/foundation.core';
import { MediaQuery } from 'foundation-sites/js/foundation.util.mediaQuery';

Foundation.MediaQuery = MediaQuery;

Foundation.MediaQuery._init();

console.log(Foundation.MediaQuery.current);

On chrome it print 'xxxlarge', but in firefox it prints 'undefined'. I am pretty sure it is the same on IE.

Can you provide a working codepen so we can reproduce it against the latest RC?

Related to https://github.com/zurb/foundation-sites/issues/10363.
Please see the discussion after https://github.com/zurb/foundation-sites/issues/10363#issuecomment-412360167.

Sorry mistake on me. My code was executing too soon, I guess the meta with media query was not loaded yet, so query was empty.


Small fixes for regular expression literals.

 Treat it as an operator.

@swift-ci please test


[meta] Update database-centric libraries

We've got newer libraries to look at for database accesses, and need a sane workflow to get us to the finish line.
Here's an outline of execution:

[x] Upgrade to latest SQLAlchemy 1.4.x - done - we're on 1.14.47
[x] Run tests with SQLALCHEMY_WARN_20=1 to surface all Deprecation warnings, resolve those post-haste

[x] #13511
[x] #13784
[x] #13785
[x] #13845
[x] #13895

[x] Set future=True on sessionmaker & create_engine and run tests

[x] Fails on session passing in Event.ip_address magic, which we should probably remove after every Event has a related IPAddress (see #13804 #13823 #13842)
[x] Fails on test case. Refactor: #13889

[x] Upgrade to SQLalchemy 2.0.16 https://github.com/pypi/warehouse/pull/13929

[x] #13942
[x] Read https://docs.sqlalchemy.org/en/20/changelog/migration_20.html
[x] Replace sqlalchemy-citext as it's no longer needed, there's a built-in https://docs.sqlalchemy.org/en/20/dialects/postgresql.html#sqlalchemy.dialects.postgresql.CITEXT
[x] #13948
[x] #13950

[x] Upgrade psycopg3 - see https://github.com/pypi/warehouse/pull/10742
[x] Upgrade pytest-postgresql to 5.x
[x] Celebrate!

As of today, we've updated all the libraries and associated code to make them work.
There's still outstanding work to convert to SQLAlchemy 2.0 ORM PEP-484 support, but that can be completed outside this work.
Major kudos to @di, @ewdurbin , @dstufft for all their work on making this happen!


On Enter Key click focus gets lost

Hi, When we click on enter key the focus gets lost.
Can we retain it at the current element?

Any update on this?

Thank you for your submission. It will be added to the backlog and reviewed.

I am not finding any issues relating to this. If you provide an example I can look into it further. All test I have performed the focus does not get lost using the ENTER key.


Script to determine CRISPR type from cas genes

This is a reboot of #36 (solved in #40), with a few extra frills.
The classification system developed by Makarova et al can be translated into a decision table where the cas genes are the input and the CRISPR type is the output. To make the decision table, I used supplementary table S4 and the information in Figure 1 of the paper. I included weak dependence for subtypes where no strong information was available.
It's also possible that this table from the paper would work better for classifying. They already include some PFAM accession numbers and stuff like that. If we use this table, it would be a matter of finding each gene in this list, then outputting the CRISPR types from the last column. It might be hard to decide though when to assign multiple types to an organism and when to take the "consensus" or most specific type described by the proteins.
This script should take the information in the decision table, read from the OrganismCas table in the database, and determine possible CRISPR types from the cas genes in each organism. Note that it is entirely possible to have more than one type in a single organism, so we might need to ignore the 'not' (!) requirements in the decision table.

I'm going to take a crack at this one, but if anyone else is interested ping me and we can collaborate!

Okay so I'm not actually going to do this one, but here's some updated info:
The simplest version of this is a serializer (in serializers.py) that takes a bacterial accession number and returns the set of CRISPR types for all its cas genes combined. This is also the least sketchy thing we can do, because we aren't making any assumptions about which genes are essential.

A slightly fancier thing would be an additional check if any of cas3, cas9, or cas10 are present - these are the signature genes of Types I, II, and III respectively.

@cemyld has been doing some work on this and we're done the first step of just checking for cas3, cas9, and cas10.


POC: consul UI behind Kong gateway

Create proof of concept for using Consul UI behind the Kong proxy.
See the following configuration document:
https://www.consul.io/docs/agent/options#ui_config_enabled
In particular, note ui_content_path for changing the base URL of the UI.

Tested this and unable to make this work successfully.  This is very involved:

ui_content_path does indeed change the URL over which the UI is served
By default our API gateway strips the first path component
If only ui_content_path is changed, the user will request /consul/ui but the gateway still strip it to /ui which won't be recognized.
If we tell the api gateway not to script /consul, consul will not respond to /consul/v1 for REST API requests because the path is wrong.
If we strip for /consul but not /consul/ui and set ui_content path, the web page would load, but Kong is going to want authentication
request-transformer won't work for authenticating the UI
If the ui is served off of /consul/ui, it will still probably issue REST calls at /v1 instead of /consul/v1

The problem is somewhat intractable and probably the best thing to do would be to serve consul off its own port without authentication and rely on Consul's authentication mechanism.
POC completed in failure.


App registration portal is now deprecated

This (and I presume other similar pages) instruct users to go to the https://apps.dev.microsoft.com/ which is now deprecated and no longer supported in 2 days (as of May). They should be directed to go to the new, modern App Registrations blade in the Azure portal.

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

ID: 7646910a-39c5-eebd-97f9-db6e7e55d1fa
Version Independent ID: 34f989f5-05ea-19ad-7db9-40cc0a753b29
Content: Set up sign-up and sign-in with a Microsoft account - Azure Active Directory B2C
Content Source: articles/active-directory-b2c/active-directory-b2c-setup-msa-app.md
Service: active-directory
Sub-service: b2c
GitHub Login: @davidmu1
Microsoft Alias: davidmu

@stewartadam Thanks for your question. We are checking on this and will respond to you soon.

Hi @stewartadam,
Yes, the "https://apps.dev.microsoft.com/" portal will no longer support registering and managing Azure AD applications here starting May 2019.  We recommend that you manage your existing applications and register new applications by using the App registrations from https://portal.azure.com.
We will now close this issue. Should you have any further queries, please tag me to your reply and we can gladly continue the conversation.
Thank you.

@MohitDhingra-MSFT ping.
Now that it's past May 1, the docs are directing users to a page that says:

We will no longer support registering and managing converged and Azure AD applications here starting May 2019.


fix: allow wf templates without parameter values (Fixes #6044)

This change allows linting and creation of workflow templates without requiring parameter values. As best as I can determine, this fixes a regression of previous behavior.

Testing
Unit tests were added to prove the behavior shown below.
Using this workflow example from the issue, I can lint and create a template without specified parameter values.
apiVersion: argoproj.io/v1alpha1
kind: WorkflowTemplate
metadata:
  name: hello-world-parameters
spec:
  entrypoint: whalesay
  arguments:
    parameters:
      - name: message
  templates:
    - name: whalesay
      container:
        image: docker/whalesay
        command: [ cowsay ]
        args: [ "{{workflow.parameters.message}}" ]

Lint:
$ ~/git/argo-workflows/dist/argo lint ./a.yaml
✔ no linting errors found!

Create:
$ ~/git/argo-workflows/dist/argo template create ./a.yaml
Name:                hello-world-parameters
Namespace:           argo
Created:             Mon Nov 01 19:47:28 -0500 (now)

Submitting without providing parameters does not work (as expected):
$ ~/git/argo-workflows/dist/argo submit --from workflowtemplate/hello-world-parameters
FATA[2021-11-01T19:48:55.857Z] Failed to submit workflow: spec.arguments.message.value is required

If parameters are provided, it succeeds:
$ ~/git/argo-workflows/dist/argo submit --from workflowtemplate/hello-world-parameters -p 'message=hi'
Name:                hello-world-parameters-xqhhm
Namespace:           argo
ServiceAccount:      default
Status:              Pending
Created:             Mon Nov 01 19:49:33 -0500 (now)
Progress:
Parameters:
  message:           hi

Signed-off-by: Kenny Trytek<EMAIL_ADDRESS>

CI/Lint looks to be very flaky. Closing/reopening to rerun.

Got the lint error resolved. This is ready for review.

@sarabala1979 It would be good if you could review this one as you have another PR https://github.com/argoproj/argo-workflows/pull/7161 that's trying to fix the same issue.

Retested on latest commit. ✅
Lint fails with current Argo:
$ argo template lint ./a.yaml
ERRO[2021-11-08T18:23:01.113Z] spec.arguments.message.value is required
FATA[2021-11-08T18:23:01.113Z] Errors encountered in validation

Lint succeeds with these changes:
$ ~/git/argo-workflows/dist/argo template lint ./a.yaml
✔ no linting errors found!

Create:
$ ~/git/argo-workflows/dist/argo template create ./a.yaml
Name:                hello-world-parameters
Namespace:           argo
Created:             Mon Nov 08 18:24:41 -0600 (now)

Submitting without providing parameters does not work (as expected):
$ ~/git/argo-workflows/dist/argo submit --from workflowtemplate/hello-world-parameters
FATA[2021-11-08T18:25:25.301Z] Failed to submit workflow: spec.arguments.message.value is required

If parameters are provided, it succeeds:
$ ~/git/argo-workflows/dist/argo submit --from workflowtemplate/hello-world-parameters -p 'message=hi'
Name:                hello-world-parameters-n5tqk
Namespace:           argo
ServiceAccount:      default
Status:              Pending
Created:             Mon Nov 08 18:26:02 -0600 (now)
Progress:
Parameters:
  message:           hi


[Q]  SRT listener stats and other info

Is it possible to log any info when in SRT listenmode? (retransmits, dropped packets, peer buffer latency etc?)
Thanks in advance
Neil

Hi @lelegard, would the developer of the SRT plugin consider adding JSON stats flag like other TS Duck plugins to provide the statistics in a standard format to be used in other applications?
Thanks,
George

consider adding JSON stats

See #940


GraphQLName not respected on subscription result

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Referring to this issue: https://github.com/ChilliCream/hotchocolate/issues/5574
I updated the repo https://github.com/AlwaysHC/HotChocolateNamingConvention
to show the problem with GraphQLName and the subscription result casing:
Mutation result is ok:

Subscription result no:

Steps to reproduce
GRAPHQLNAME_NOT_Respected_WITH_Subscriptions is transformed in graphqlnamE_NOT_Respected_WITH_Subscriptions.
Relevant log output
Input:

subscription {
  bookAdded {
    title
    GRAPHQLNAME_NOT_Respected_WITH_Subscriptions {
      name
    }
  }
}

Output:
{
  "data": {
    "bookAdded": {
      "title": "T3",
      "graphqlnamE_NOT_Respected_WITH_Subscriptions": {
        "name": "N3"
      }
    }
  }
}

Additional Context?
No response
Product
Hot Chocolate
Version
12.*

SDL:
type Mutation {
setBook(title: String!): Book!
addBook(book: BookInput!): Book!
}
type Subscription {
bookAdded: Book!
}
input BookInput {
title: String!
GRAPHQLNAME_NOT_Respected_WITH_Subscriptions: AuthorInput!
}
type Book {
title: String!
GRAPHQLNAME_NOT_Respected_WITH_Subscriptions: Author!
}
type Author {
name: String!
}
input AuthorInput {
name: String!
}

Hi @AlwaysHC
Thanks for reporting this issue and for the perfect reproduction of the bug!
This is fixed in version 13 and is already available as previews. As it has to do with the underlying serialisation which was reworked in v13, this cannot be fixed in v12.


Discussion: Error Handling

I'm still experiencing some disconnect issues in MySQL on timeout errors. We should carefully think out the standard error handling behavior and / have some default options and custom errors for the different potential cases that can happen among different databases.
Opening this ticket as a single place to discuss anything error related and reference any error related behavior.

Is this discussion still open? It seems that a year is a long time for a discussion on fatal error handling to be left hanging.... did it move elsewhere?

I came here looking for global error handling. :) we want to throw our own db error on a query error.

Is there an abstract, database engine-agnostic way of detecting errors like a unique index violation on insert? Or any plans / interest in providing it? Example:
Model.forge(modelData).save()
.catch(function (e) {
  // Query violated a unique index constraint
  if (e.code === knex.errors.unique_failure) // ...
});

Which would work consistently regardless of engine (client adapter). Currently it seems you'd have to find and match error message substrings or code numbers for each engine, something like:
var errors = {
  sqlite3: {
    unique_failure: /UNIQUE constraint failed/,
  },

  postgres: {
    unique_failure: /unique_violation/,
  },
};

// I don't think knex.client or its properties are actually documented -- using
// for illustration
var engine = bookshelf.knex.client.config.client;

Model.forge(modelData).save()
.catch(function (e) {
  if (errors[engine].unique_failure.test(e.message)) // ...
});

Ugly.

Is this not a priority for this project?

@williscool which part of the discussion do you mean? There is global query-error event already http://knexjs.org/#Events-query-error also there has been made many fixes to handling pool when database connection is being cut off and there is separate issue which hasn't been implemented yet about how to catch database  connection error when knex is being initialized  https://github.com/tgriesser/knex/issues/1542.

@elhigu thanks for the quick response.
I meant the database connection event monitoring part.
For instance with https://github.com/Automattic/kue
I can get directly to the redis client to monitor connection stuff on it to know my app's queue is starting properly and monitor if it goes down
const queue = kue.createQueue({ redis: config.services.redis_url});

  // https://github.com/NodeRedis/node_redis

  queue.client
    .on('connect', function() {
      logger.verbose({ service: 'redis' , msg: 'connected' });
    })
    .on('ready', function() {
      logger.verbose({ service: 'redis', msg: 'ready' });
      ready();
    })
    .on('error', function(err) {
      logger.verbose({ service: 'redis', msg: err });
    })
    .on('disconnected', function() {
      logger.verbose({ service: 'redis', msg: 'disconnected' });
      lost();
    });

looking for something similar for knex

@williscool In knex there is connection pool, which is pinging connections in the pool every now and then if the certain pool connection is alive. If connection is in pool and it dies, then it is just discarded.
So there is no need for ready event, since for every query connection is requested from pool. In pool you have afterConnectionInit or something like that method, which can be used to run some initial queries when new database connection is created for the first time.
knex.on('query-error', function (err) {...}) event can be used globally to get any connection / and other errors.
And here are some error scenarios I can think of:
Disconnected event is not interesting for the knex, since pool decides when connections are created / discarded.
If connection is outside of the pool (e.g. bound for certain transaction) and one is doing query there and connection is lost, then probably query timeout or some other error is returned from promise.
If one tries to get connection from pool and there are none available, then after timeout connection acquire timeout error is thrown.
It is pretty much impossible to create events like redis have for knex because of multitude of different db drivers which doesn't actually support listening for connection errors (sorry I don't remember the details of that from top of my head, @wubzz might remember)...

@elhigu Sums it up pretty good.
At most what we can do is begin proxying events from the pool2 module over to the internal knex code allowing for listening to these errors, however cryptic they may appear. (See this) Not sure if it applies to all dialects, but would probably also have to emit something here as well.

@wubzz It might be useful to be able to catch the case where whole db is out of reach. I wouldn't mind merging pull request which implements that for all drivers... sounds like lot of work and hard to test automatically.

I once started to implement knex-generic-errors "plugin". I saw a need to know if something went wrong with my query and what went wrong. The concept may be developed further.

@vellotis is knex-generic-errors compatible with knex 0.13? I noted it tried to trap/replace knex.query method but in 0.13 I can't seem to locate this method

Ive got the same issue in 0.18.0, ive reverted to 0.17.2 and it works

Closing old issue. In next tarnjs version, pool exposes events, which anyone can use to monitor pool behaviour closely. If there is something specific to discuss about error handling then new issue about it should be opened.


Make category optional.

When creating an event sometimes none of the pre-defined categories fit well with the event. Being able to leave out the category completely would allow users to create events that are different and also does not clutter the number of pre-defined categories.

Just adding a category that acts as a placeholder instead should be good enough, see commit 034e0c358d33941c490f5e2f8085b2be6f0af728.


Export an image dataset to Datumaro format has point_cloud field

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Steps to Reproduce (for bugs)

Import this project backup in CVAT 2.4: car_tree_bug_cvat.zip
Export it to Datumaro 1.0 format with turning off "Save images" option
The exported annotation file has a point_cloud field although there is no point cloud in the dataset:

{
    "id": "Slide9",
    "annotations": [
        // ...
    ],
    "attr": {
        "frame": 5
    },
    "point_cloud": {
        "path": ""
    },
    "media": {
        "path": ""
    }
}

Expected Behaviour
The point_cloud field should be removed.
Current Behaviour
The point_cloud field exists.
Possible Solution

Context

While investigating https://github.com/openvinotoolkit/datumaro/issues/873, I found it.

Operating System and version (e.g. Linux, Windows, MacOS):
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs:
Logs from `cvat` container

Hi. I suppose, the reason is that CVAT uses an outdated version of Datumaro, which exports annotations in an old format version, if it has been modified in the later releases. Currently, CVAT is at the customized release 0.3 (available here).

Hi. I suppose, the reason is that CVAT uses an outdated version of Datumaro, which exports annotations in an old format version, if it has been modified in the later releases. Currently, CVAT is at the customized release 0.3 (available here).


See if we can use the conda version of imagecodecs (instead of installing using pip) (see code comment in satip/environment.yml)?

Nope. libjxl doesn't get installed with the conda version of imagecodecs:


Swagger API makes server to fail on panic

Description
When I use swagger page call:
http://localhost:3000/api/swagger#/issue/issueCreateIssue
operation is successful but server is terminated on panic.
JSONInput.txt
CLIOutput.txt
Gitea Version
1.18.0+rc0-23-gaf8b2250c
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
I cannot verify it on web site.
Git Version
git version 2.33.0.windows.2
Operating System
Microsoft Windows [Version 10.0.19044.2251]
How are you running Gitea?
Gitea downloaded from here:
https://dl.gitea.io/gitea/1.18
run via cmd command in console.
Database
SQLite

I am starting it without admin rights elevation

Does your executable's architecture match your own?

It could be a bug in blevesearch for 32bit code.
Golang i386 code can not do atomic operations on unaligned 64bit fields.
So, use 64bit (amd64) release and everything will be fine.

Looking at the logs we see a panic due to an unaligned atomic.
So I think we need to know a bit more about your architecture. As @yardenshoham says are you running the correct version for your architecture?
If so, if we look at https://github.com/blevesearch/zapx/blame/master/contentcoder.go. We see this:
type chunkedContentCoder struct {
	final     []byte
	chunkSize uint64
	currChunk uint64
	chunkLens []uint64

	w                io.Writer
	progressiveWrite bool

	chunkMetaBuf bytes.Buffer
	chunkBuf     bytes.Buffer

	chunkMeta []MetaData

	compressed []byte // temp buf for snappy compression

	// atomic access to this variable
	bytesWritten uint64
}

Now the bytesWritten here is used as an atomic, but if we look at the rest of the fields in the struct there's a bool above it. Which I could imagine might cause it to be misaligned.
If you're definitely using the correct architecture then this would constitute a bug in https://github.com/blevesearch/zapx/

See: https://github.com/blevesearch/zapx/pull/147

Hi, thanks.
I am using gitea-1.18-gogit-windows-4.0-386. I will try amd64 then. I think I have 64bit system. Then I will pass my result here.

@wxiaoguang , @zeripath , @yardenshoham :
I have downloaded amd64 package and tried the same action several times on previously existing database.
Behavior I have reported doesn't appears any more. Thanks again.

configuration problem on my side.


chore: bump zio-logging from 2.2.2 to 2.2.3

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

🔍 Files still referring to the old version number
The following files still refer to the old version number (2.2.2).
You might want to review and update them manually.
website/package-lock.json

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio", artifactId = "zio-logging" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio", artifactId = "zio-logging" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

Superseded by #438.


Move in swagger docs

https://github.com/decentralized-identity/sidetree/blob/master/www/swagger/api.yml

can add to existing route? or bundle this? https://swagger.io/docs/open-source-tools/swagger-ui/usage/installation/


Mention in readme that compileSdkVersion should be 25

Hi there,
Thanks for such awesome awesome modules!! Im still learning to write java component. I did my first edits here in react-native android prompt - https://github.com/shimohq/react-native-prompt-android/pull/31
But anwyays, for this module we have to update android/app.build.gradle compileSdkVersion 25. By default it is 23. I had to change to 25 otherwise I get the below errors:
:app:processDebugResources
C:\Users\Mercurius\Documents\GitHub\trustedplatform_android\android\app\build\intermediates\res\merged\debug\values-v24\values-v24.xml:3: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

C:\Users\Mercurius\Documents\GitHub\trustedplatform_android\android\app\build\intermediates\res\merged\debug\values-v24\values-v24.xml:4: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.

C:\Users\Mercurius\Documents\GitHub\trustedplatform_android\android\app\build\intermediates\res\merged\debug\values-v24\values-v24.xml:3: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

C:\Users\Mercurius\Documents\GitHub\trustedplatform_android\android\app\build\intermediates\res\merged\debug\values-v24\values-v24.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.

My build fails for that. Do you know how to fix?

yes, you need to use to use the compileSdkVersion 25 otherwise it won't work, i am not sure if there's a way to work with 23.
Do you have other problems using 25?

Thanks so much for super fast reply. Nope just that problem. :) I'll PR the update to readme soon. :)


[SPARK-17742][core] Fail launcher app handle if child process exits with error.

This is a follow up to cba826d0; that commit set the app handle state
to "LOST" when the child process exited, but that can be ambiguous. This
change sets the state to "FAILED" if the exit code was non-zero and
the handle state wasn't a failure state, or "LOST" if the exit status
was zero.

Test build #80940 has started for PR 19012 at commit d651487.

Test build #80941 has started for PR 19012 at commit 4d5cc53.

Test build #80940 has finished for PR 19012 at commit d651487.

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/80940/
Test PASSed.

Test build #80941 has finished for PR 19012 at commit 4d5cc53.

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/80941/
Test PASSed.

Test build #81009 has started for PR 19012 at commit afd122c.

Test build #81009 has finished for PR 19012 at commit afd122c.

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/81009/
Test PASSed.

It'd be nice to get reviews here (at least to get rid of the NPE during test runs). @srowen @jerryshao maybe

LGTM, I tried locally. Looks like now the NPE is gone in yarn UT, thanks for the fix.

Merging to master.


[WIP] Update all Orin boards to L4T 35.5.0

Commits in this PR will need to be re-worked to catch more changes per component.
For now we need to run automated tests on all boards

@resin-jenkins retest this please

test-jetson-agx-orin-devkit — OS tests have passed
test-jetson-orin-nano-devkit-nvme — OS tests have passed
Orin NX Seee: passed cloud and HUP

Replaced by https://github.com/balena-os/balena-jetson-orin/pull/451 , which is a cleaned-up version of this


Importing from wrong location

Code version and OS

Steps to Reproduce:

Bootstrap a new react application yarn create react-app
Install chakra-ui yarn add @chakra-ui/react @emotion/react@^11 @emotion/styled@^11 framer-motion@^4
Change App.js content to this:

App.js content
import logo from './logo.svg';
import './App.css';
import { ChakraProvider } from '@chakra-ui/react';

function App() {
  return (
    <ChakraProvider>
      <Box>
        <Heading />
        <RadioGroup>

        </RadioGroup>
      </Box>
    </ChakraProvider>
  );
}

export default App;

Try to auto import (ctrl+space or ctrl + . on linux)
See that corresponding components either not imported OR imported from "wrong" package (import { Box, Heading } from "@chakra-ui/layout" for example, should be imported from @chakra-ui/react package)

Here's a sandbox of correct import behavior: https://codesandbox.io/s/cranky-breeze-ixn86?file=/src/Damn.tsx
upd 28.11: rolled back to VSCode 1.56.2, import works perfectly
upd 2: on 1.56.2 import works correctly when there's already import from correct package (import { Component } from '@chakra-ui/react'), otherwise it imports from other packages (import { Component } from '@chakra-ui/layout' for example)

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

@mjbvz the issue is gone in the latest version. It was really annoying. Thanks for fixing it


Ability to Update Target Temp

I see in the readme that we're not able to get writing attributes to work yet, and separately that mugs can only connect to one device at a time and must be factory reset in order to connect to home assistant. So, does that mean it's completely impossible to change the target temp on a non-traveler mug? I prefer a lower temp than the default 135, but if I'm reading correctly, that's currently not possible? I'm not able to pair to HA, then add to phone to change target temp and then delete mug from phone? Nor am I able to set the target temp via HA?
Just wanted to make sure I'm understanding correctly or if there are any known workarounds for my baby mouth that likes a cooler coffee.

That is an excellent point, and I do completely understand that. I, too, would like the temperature to be a bit cooler on my mug.
I know that used to be the case, however I'm not 100% certain it is still required. I'll give it a try and confirm. However, I do know that you will have issues if you have two devices connected to it at the same time (otherwise you'll get frequent disconnects). However, you might be able to set it up in the app, and then unpair your device from your phone and pair it with home assistant. I'll try and test it.

Awesome! Thank you for making me double check. So, it does look like using the 0.4 beta which uses the new Bluetooth Integration, it does seem like you can set up your mug as you wish using the app, and then you can pair it with home assistant. And not only that, if the mug was set up in the app, the services I added in home assistant that I said don't work, work!
So, I will update the documentation to not only say that it does work, but that it is the better method.  You can change the temp, name and colour from home assistant after this :) The only issue is you shouldn't use both at the same time, so after the setup on your phone, you need to either forget the device on there or at least turn off your Bluetooth so the two systems don't fight over the mug.

well isn't that nice, a successfully closed ticket and the only thing to update is the readme. That's wonderful news, thank you for testing and for confirming!


Session stick anotation in ingress no work

Rancher versions:
rancher/rancher:v2.0.1
**Docker version:
Containers: 32
Running: 28
Paused: 0
Stopped: 4
Images: 26
Server Version: 18.03.1-ce
Storage Driver: aufs
Root Dir: /mnt/sda1/var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 246
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 773c489c9c1b21a6d78b5c538cd395416ec50f88
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 4.9.93-boot2docker
Operating System: Boot2Docker 18.03.1-ce (TCL 8.2.1); HEAD : cb77972 - Thu Apr 26 16:40:36 UTC 2018
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 3.858GiB
Name: k8s-ld-master-1
ID: BGLM:PGCY:H2Y4:CZWE:T7YB:P2NM:YJAP:BMSG:LYD4:KILX:2TWX:BMHK
Docker Root Dir: /mnt/sda1/var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
provider=vmwarevsphere
Experimental: false
Insecure Registries:
<IP_ADDRESS>/8
Registry Mirrors:
Live Restore Enabled: false
**Operating system and kernel:boot2docker 18.03.1-ce
**Type/provider of hosts: vSphere
**Setup details: single node rancher
**Environment Template: Kubernetes
Steps to Reproduce:
-Create a cluster
-Create a deployment with image tutum/hello-world (to see pods information)
-Create a service
-Create a ingress with annotations
nginx.ingress.kubernetes.io/affinity: "cookie"
nginx.ingress.kubernetes.io/session-cookie-name: "route"
nginx.ingress.kubernetes.io/session-cookie-hash: "sha1"
-Accessing the URL there is alternation between the PODs
Change the "nginx-ingress-controller" deployment image to quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.15.0 and manual delete the pods (no automatic update) the stick session works fine

If i use / in path works, but in official image this is'nt necessary

It still happens in v2.0.6

@loganhz @Itiho I think we fix it with next version of controller. rancher/nginx-ingress-controller:0.16.2-rancher1 would be fine. It is already applied to 1.9.7, 1.10.5 and 1.11.1 cluster in next release.

@orangedeng could you put the link to corresponding fix/pr?

Tested with latest build from master:
Create a workload.
Create an ingress pointing to the above workload with the following annotaions:
nginx.ingress.kubernetes.io/affinity: cookie
nginx.ingress.kubernetes.io/session-cookie-name: route
nginx.ingress.kubernetes.io/session-cookie-hash: sha1

Note - There should be no double quotes specified for the values.
When accessing ingress url from browser , it directs traffic to only instance as expected.
Ingress gets programmed with sticky options as expected.
/etc/nginx/nginx.conf :
        upstream sticky-default-ingress-bf95e7f08fa77dde6a62552e758378f3-80 {
                sticky hash=sha1 name=route path=/ httponly;

                keepalive 32;

                server <IP_ADDRESS>:80 max_fails=0 fail_timeout=0;
                server <IP_ADDRESS>:80 max_fails=0 fail_timeout=0;
                server <IP_ADDRESS>:80 max_fails=0 fail_timeout=0;

        }

        upstream default-ingress-bf95e7f08fa77dde6a62552e758378f3-80 {
                least_conn;

                keepalive 32;

                server <IP_ADDRESS>:80 max_fails=0 fail_timeout=0;
                server <IP_ADDRESS>:80 max_fails=0 fail_timeout=0;
                server <IP_ADDRESS>:80 max_fails=0 fail_timeout=0;

        }

This fix is available from 2.0.7 release that uses rancher/nginx-ingress-controller:0.16.2-rancher1.


Rust Support?

Does OpenFaas support rust, would there be a development pathway to make this work, and potentially make this work in production (or with production quality)?
Thanks!

Hey,
I don't know if this is still relevant to you anymore, but with there is a repository in the @openfaas-incubator org, with Rust support.
https://github.com/openfaas-incubator/rust-http-template
You can find the install instructions there.


Migrate to pydantic v2

The plugin should be migrated to support pydantic v2 - only then can OTEAPI Core >= v0.6 been used as well.

In #176 upper limits for pydantic, oteapi-core, and otelib have been set to exclude pydantic v2 for now.


[Feat]: I want to add my profile

What feature?
I have an idea
Add screenshots
Add screenshots
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Please add gssoc-ext and a level label


[BUG] commonmark dependency is unmaintained

The commonmark repository reads:

This repository has been archived by the owner. It is now read-only.

and

and

Warning: commonmark.py is now deprecated. We recommend using markdown-it-py for a commonmark parser going forward. See https://github.com/readthedocs/commonmark.py/issues/308 for background and discussion.

Which might mean it should be replaced at some point or another - unless the way it's used in rich makes this situation not a problem.
(took the freedom to delete the issue template - I usually don't do that, but here, nothing of it really applies)

We do have plans to replace it with a more modern parser, which supports tables and more features. commonmark seems a fairly solid bit of code, so I don't anticipate any problems in the short term.

Thanks for the quick answer! :+1:  FWIW I can second their recommendation of markdown-it-py - I've used it in a project for a bit of markdown parsing (calculating student grades based on a Markdown checklist, also using Rich by the way!), and I've been happy with it.

Will track it here. https://github.com/Textualize/rich/issues/2156