AnimationStarted signal fires twice in AnimationTree when using a StateMachine in a OneShot node

Tested versions

Reproduced in v4.2.1.stable.mono.official [b09f793f5]

System information
Godot v4.2.1.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2080 (NVIDIA; <IP_ADDRESS>44) - AMD Ryzen 7 3700X 8-Core Processor (16 Threads)
Issue description
If a StateMachine is used in the "shot" of a OneShot node in an AnimationTree and a function is linked to the AnimationStarted signal then the function will fire twice despite only occurring once.

public partial class main : Node3D
{
	[Export] public AnimationTree MyAnimationTree;
	public override void _UnhandledKeyInput(InputEvent @event)
	{
		if (@event.IsActionPressed("enter"))
		{
			MyAnimationTree.Set("parameters/OneShot/request", (int)AnimationNodeOneShot.OneShotRequest.Fire);
		}
	}

	private void AnimationStarted(string animationName)
	{
		GD.Print($"Animation Started: {animationName}");
	}

	private void AnimationFinished(string animationName)
	{
		GD.Print($"Animation Finished: {animationName}");
	}
}

Steps to reproduce
Using an AnimationNodeBlendTree as the Tree Root for an Animation Tree, add a OneShot node and feed it into the output. For the "In" node of the OneShot feed a default/idle animation. For the "Shot" node of the OneShot feed in a StateMachine.
The StateMachine just needs to transition to an animation automatically then transition to the End "At End" of the triggered animation.
In the AnimationTree Node's tab, link animation_started and animation_finished to functions that will print to the console to keep track of when they occur. Also add a function to trigger the OneShot request to fire. Code I used is above in the description
Minimal reproduction project (MRP)
AnimTest.zip

Please try 4.2.2, this might already be fixed

Just tested in v4.2.2.stable.mono.official [15073afe3], problem still occurs. Good call though, I should have tested on the latest from the beginning.

OneShot time progression has been rewritten in 4.3, so please test 4.3 if possible

OneShot time progression has been rewritten in 4.3 by #87171, so please test 4.3 if possible.

Just tested in v4.3.dev6.mono.official [89850d553] and as far as I can tell this is functional! I converted my 4.2 MRP to 4.3 and loaded it up, ran it and only saw one notification for the animation starting. Looks like I can close this - thanks!


make progit in text-format accessible on the site?

I read following notice:
"

the contents of the Pro Git book (i.e. anything with a URL starting with https://git-scm.com/book or its PDF versions), which should be raised at progit/progit2.
"

I miss a non-graphical version of the ProGit -book on the site. Would you upload such a version, if there was one?
greetings,
utonsal

hey @utonsal.
At https://git-scm.com/book/en/v2 there are many book formats available (pdf, epub, mobi) and the HTML version (by clicking on the chapters). None of these versions work for you?
Still, I guess we could include the non-graphical version. This should be considered in #1185

well,
i don't want to be forced having graphics on my computer. Even if i at
the moment do have it and could read pdf.
html could be alright.
Am 20.03.2018 um 11:33 schrieb Pedro Rijo:

hey @utonsal.
At https://git-scm.com/book/en/v2 there are many book formats available (pdf, epub, mobi) and the HTML version (by clicking on the chapters). None of these versions work for you?
Still, I guess we could include the non-graphical version. This should be considered in #1185

a related question:
who actually does the job of building the actual progit-formats, and by
whom are they then uploaded on git-scm.com?

"I miss a non-graphical version of the ProGit -book on the site": What do you mean by "non-graphical"?
The books are compiled automatically from the source projects on GitHub and uploaded in the release section of projects.

Am 20.03.2018 um 15:06 schrieb Jean-Noël Avila:

"I miss a non-graphical version of the ProGit -book on the site": What do you mean by "non-graphical"?

I mean, that you are able to read the book without having X or something
graphical like this installed.

The books are compiled automatically from the source projects on GitHub and uploaded in the release section of projects.

The text format from the sources is '.asc'. It would associate 'ascii'
with this ending, but it looks formatted.
Does somebody know how to transform these different chapters in
.asc-format into one single text-file?
greetings,
kalle

Ok, this is more a question to be asked at https://github.com/progit/progit2 .
The source text is in fact in asciidoc format and we're using asciidoctor to make the conversion to other formats. The asciidoc format is supposedly quite readable as is.
What we have more approaching is to target a pure html output that you could render in text using w3m or links. See https://github.com/asciidoctor/asciidoctor/issues/1636 for a discussion about your options. As for Pro Git, apart from the text, I'm not sure the text replacement for the images are helpful.

Am 23.03.2018 um 23:01 schrieb Jean-Noël Avila:

What we have more approaching is to target a pure html output that you could render in text using w3m or links. See https://github.com/asciidoctor/asciidoctor/issues/1636 for a discussion about your options. As for Pro Git, apart from the text, I'm not sure the text replacement for the images are helpful.

that would be fine.

I think this issue can be closed as it is being followed on https://github.com/progit/progit2/issues/1030 @jnavila ?

Yes, let's close it. Even a progit/progit2, I don't think anybody will pour effort in it.


How to set the graphRAG with local ollama

Description
How to set the graphRAG with local ollama?
Reproduction steps
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Screenshots
![DESCRIPTION](LINK.png)

Logs
No response
Browsers
No response
OS
No response
Additional information
No response

I briefly look through code noticed explicit reference to OpenAI, it might not be ready for local llms

Another issue is that graphrag is a separate program with own configuration. Which could be configured to other llm but it's a separate question https://github.com/microsoft/graphrag/issues/657

I briefly look through code noticed explicit reference to OpenAI eg
https://github.com/Cinnamon/kotaemon/blob/8be8a4a9d048d551aaf79b98e235ea41ec94b695/libs/ktem/ktem/index/file/graph/pipelines.py#L232
, it might not be ready for local llms

I stuck here
Entity count: 318
2024-09-09 19:15:38.962 - openai._base_client/DEBUG - Sending HTTP Request: POST https://api.openai.com/v1/embeddings

Error embedding chunk {'OpenAIEmbedding': "Error code:

I think it should pick default configured embeddings instead.

@mkhludnev thanks.  I can build the graphRAG and run the pipeline successfully with my local ollama after a investigation about graphrag component.
But I got error which point to the mismatch of embedding between openai and ollama during the query stage. This error is hidden in the kotaemon pipeline, seems a lot of work to fix it.

if someone can run ollama for graphrag. Please share the steps to us :）

Finally, it works. I will make a PR to this repo

@kksasa You can try my Gist here: https://gist.github.com/MortalHappiness/7030bbe96c4bece8a07ea9057ba18b86

Please check the latest version and instruction for setting up GraphRAG here https://github.com/Cinnamon/kotaemon#setup-graphrag.


refactor(FromEventObservable): remove needless type parameter from FromEventObservable & FromEventPatternObservable

Description:

By this change, the consumer does not simplify the type to specify to use them
BREAKING CHANGE: FromEventObservable<T> & FromEventPatternObservable<T> are no longer take type parameter R.
You don't have to pass 2nd type parameter.

Coverage remained the same at 97.217% when pulling 050b0e86b9301a51c1fcc5a9309d07b5351c8490 on saneyuki:unused-type-param-FromEventObservable into 260d335f497a2de223b164ea9705699e7f306d7d on ReactiveX:master.

update commit messages.

Coverage remained the same at 97.217% when pulling 2b62e83a83727ca49e1533550c38a95418ef6680 on saneyuki:unused-type-param-FromEventObservable into 260d335f497a2de223b164ea9705699e7f306d7d on ReactiveX:master.

Coverage remained the same at 97.217% when pulling fe333048059a0c88bc147175b2e79f5a116aa5fe on saneyuki:unused-type-param-FromEventObservable into 0271fab2f435d21fc64187a39143237208a54163 on ReactiveX:master.

Coverage remained the same at 97.217% when pulling 9b74d6d0bc629da6b9fc8446bb03769dafd07a55 on saneyuki:unused-type-param-FromEventObservable into 89612b2914fe0f48123ceaa66e3e63b5f7975873 on ReactiveX:master.

Coverage remained the same at 97.217% when pulling 9b74d6d0bc629da6b9fc8446bb03769dafd07a55 on saneyuki:unused-type-param-FromEventObservable into 89612b2914fe0f48123ceaa66e3e63b5f7975873 on ReactiveX:master.

:shipit:


Question: Leaflet.js & OpenStreetMaps vs. Google maps pros/cons?

Hey guys, this is a very interesting project and thank you for making it open source!
I'm curious if there are any downsides in using Leaflet.js + OpenStreetMaps instead of Google maps for such project?

Thanks.
Regarding switching to more open map alternatives - there are no objectives not to do so, just google products were chosen as we are aiming for minimal viable product, to speedup development.
However it should be possible to switch to other map providers - just they have to assure maps and routing functions.


graalvm feature is broken due to old default values

Current versions of graalvm are 21 and 23.
from version 21 onwards ther graalvm Updater is removed. With version 21 the last step in install.sh fails because "gu" ist not part of graalvm anymore.
For graalvm users it might be worth to check https://github.com/devcontainers/features/pkgs/container/features%2Fjava using  "version": "21-graalce"

Thanks for the PR! it's probably time to deprecate the feature..


Cannot tab backwards through a snippet choice

Type: Bug
Here's a test snippet that shows the problem:
	"Print to console": {
		"prefix": "log",
		"body": [
			"console.log('$1');",
			"$2",
			"${3|one,two,three|}",
			"$4"
		],
		"description": "Log output to console"
	},

You can still click out of order to edit but, even then, the tab order doesn't recover.
For a stronger test, put stop 3 between two stop 2s (not that it currently matters).
VS Code version: Code 1.76.2 (ee2b180d582a7f601fa6ecfdad8d9fd269ab1884, 2023-03-14T17:55:54.936Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 x 2592)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
15.77GB (4.51GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

wikitext
Row
3.7.0

I assume by "tab backwards" you mean Shift+Tab, right? Please enable keybindings debug mode (F1 > Toggle Keyboard Shortcuts Troubleshooting) and check what command gets executed

What?  The standard procedure here is to close an issue before testing example code that someone goes to the trouble of narrowing down and reporting???
All I saw before that was a comment that looked like it was from a troll.
Well, whatever.  Since no one here cared to try my test snippet before closing the issue, here's a peek under the hood in case any curious persons come along: It's running acceptAlternativeSelectedSuggestion instead of jumpToPrevSnippetPlaceholder most of the time when tab reversing through a snippet choice (not all the time, weirdly, due to other factors like when interrupting the navigation with some other action).  Really, though, not a single surprise there given what I already reported, and not nearly as useful as the test snippet I already gave.


[TASK] HPC Inferfaces

Issue Description
Currently RAVEN is defaulted/hard-wired to run on a particular HPC machine (currently FALCON at INL). An interface structure for other HPCs would make it more portable and modular.

For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.

[x] 1. Is it tagged with a type: defect or task?
[x] 2. Is it tagged with a priority: critical, normal or minor?
[x] 3. If it will impact requirements or requirements tests, is it tagged with requirements?
[x] 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[x] 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.

[ ] 1. If the issue is a defect, is the defect fixed?
[ ] 2. If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[ ] 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[ ] 4. If the issue is a defect, does it impact the latest release branch? If yes, is there any issue tagged with release (create if needed)?
[ ] 5. If the issue is being closed without a pull request, has an explanation of why it is being closed been provided?

archived.


'required' does not exist in type 'ScalarArgConfig'

Hello,
I have the following code that was working in @nexus/schema 0.18.0 before.
import { mutationField, stringArg } from "@nexus/schema";

export const do_something = mutationField("do_something", {
  type: "String",
  args: {
    name: stringArg({ required: true }),
  },
  resolve: async (root, args, context) => {
    const { name } = args;
    return name;
  },
});

After upgrading @nexus/schema to 0.19.0 or 0.19.1, I get the following error with ts-node 9.0.0 :
/home/ash/nexus_test/node_modules/ts-node/src/index.ts:500
    return new TSError(diagnosticText, diagnosticCodes)
           ^
TSError: ⨯ Unable to compile TypeScript:
src/GraphqlServer/Types/Mutation/index.ts:6:23 - error TS2345: Argument of type '{ required: boolean; }' is not assignable to parameter of type 'ScalarArgConfig<string>'.
  Object literal may only specify known properties, and 'required' does not exist in type 'ScalarArgConfig<string>'.

6     name: stringArg({ required: true }),

Could anyone explain what might be the issue?  Did some syntax change in the newest version making the code invalid?
Thank you for your time and consideration.

I see, those options are gone and replaced with these functions.
https://nexusjs.org/docs/api/list-nonNull

These should be available again if you install the declarativeWrappingPlugin.


Responsive Toggle Navigation not working on Official ZURB Template build

Manually set up the Official ZURB Template. Everything works fine during development but the build version breaks the Responsive Toggle Navigation. As in: the tab bar is always visible, no matter the screen size. Here's an live test from a fresh install.

Found the culprit, it's uncss. now to figure out why...

I was looking at this too and also found that I could make my site functional if I skipped uncss, but then found out later that if I skipped minifyCss but kept uncss it also works fine. The file size is not much smaller for my test code though. I might try a different css minify system.

I found a fix to this by adding  into the head section of the layout file. This seems avoid to uncss problem but I'm not sure if this is a good idea.


iOS notification don't arrive when app is in background mode

Dear @dpa99c ,
thank you for this plugin, we use it on our app and everything work almost perfect.
We have some problem with receiving notification on iOS device. When app is on in the background mode (or killed) and we send notification through Firebase Console in most terms notification doesn't arrive.
We have enable capabilities in Xcode for Push Notification and Background mode -> Remote notification. Also in Firebase we have imported APNs Authentication Key.
We use this code for obtain token (same for Android):
this.firebaseX.hasPermission().then((hasPermission: boolean) => {
    if(hasPermission){
        this.firebaseX.getToken().then((token: string) => {
            // SAVE TOKEN ON FIRESTORE
        })
    } else {
        this.firebaseX.grantPermission().then((hasPermission: boolean) => {
            if (hasPermission){

                this.firebaseX.getToken().then((token: string) => {
                    // SAVE TOKEN ON FIRESTORE
                })
            }
        });
    }
})

My question is are we using these methods the right way? Do we need to use getAPNSToken() for iOS?
Thanks

You can build and run the example project to verify your APNS configuration with Firebase. Misconfigured APNS in Firebase or provisioning profile without APNS permission are the most common cause of this issue.


Connecting to the data citation service

From @MartinaST
From: Martina Stockhause
Date: Friday, May 19, 2023 at 2:52 AM
To: Durack, Paul J.
Subject: CMIP6Plus - input4MIPs
Hi Paul,
I have thought about CMIP6Plus and input4MIPs a bit more:

DOI granularity/-ies: For CMIP6-input4MIPs DOIs on two granularities were registered. The easiest is to do it for CMIP6Plus in the same way and have two new DOIs for your AMIP-1-1-9 data. However, if the CMIP6Plus period is to be short, it might be better to have only a DOI on the finer granularity (with the possibility to relate it to the coarser one for CMIP6). I guess an example makes these options clearer:

2 new DOIs on data collections 'input4MIPs.CMIP6Plus.CMIP.PCMDI' and 'input4MIPs.CMIP6Plus.CMIP.PCMDI.PCMDI-AMIP-1-1-9'
1 new DOI on data collection 'input4MIPs.CMIP6Plus.CMIP.PCMDI.PCMDI-AMIP-1-1-9' with the possibility to relate it to 'input4MIPs.CMIP6.CMIP.PCMDI'

Data Access Links: I will use links into the CoG and change them together with all the others for CMIP6 when ESGF moves to MetaGrid.

CV/citation service workflow: Currently, the ESGF publication of the input4MIPs data is first, then the insert into the citation DB and the DOI publication. For some cases, this leads to DOI registrations before the citation manager could adjust the citation metadata. I don't want to change this for a rather short period of CMIP6Plus but rather live with the inconvenience: writing an email to me in case this has happened.

Errata/Versions: Yes, that is something we should improve. There will be a delay for displaying this information on the DOI landing pages.

Which option under 1. would you prefer?
Best wishes,
Martina

DKRZ will not support DOI minting for this project, so will convert to a discussion to get this out of the issue list


adding Sarah to index

Docs Build status updates of commit 2263c65:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

advocates/index.html.yml
:white_check_mark:Succeeded
View

advocates/toc.yml
:white_check_mark:Succeeded
View

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


Support

This script does not work anymore, is this still supported?

ERROR:spleeter:ffmpeg binary not found

Traceback (most recent call last):
File "X:\Downloads\Animate to BPM\audio_keyframe_deforum_DD_0.5\advanced_audio_splitter_keyframes.py", line 675, in
final_dict = service.process(args.stems,args.file, zoomspeed=args.zoomspeed, speed=args.speed)
File "X:\Downloads\Animate to BPM\audio_keyframe_deforum_DD_0.5\advanced_audio_splitter_keyframes.py", line 307, in process
dirs = os.listdir(f"{stems_dir}/" + filedircalc)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'outputs/audio'

Create the folder named outputs and put a folder named audio inside it


recognize ansible playbooks as commands

Mk should be able to expose any files found under playbooks/*.yml as commands.

fixed on master


Merge of AnalogSignal and AnalogSignalArray, etc.

This is a first attempt at the next step in the API-breaking changes intended for Neo 0.4.
Changes:

Renamed AnalogSignalArray and removed the original AnalogSignal class (cf #124). All signals are now represented by 2-dimensional arrays, even if there is only a single channel. For convenience, objects can still be constructed using a 1-D array.
Matched the behaviour of IrregularlySampledSignal to that of the new AnalogSignal, i.e. it can now contain multiple channels, with all channels sampled at the same, explicitly-stored time points.
Removed the RecordingChannel class. With most of the data types now being 2D arrays (except SpikeTrain), this class now seems superfluous. Its function is replaced by a channel_indexes attribute on RecordingChannelGroup.
For consistency, the AnalogSignal.channel_indexes and Unit.channel_indexes attributes are now properties pointing to the channel_indexes attribute of the parent RecordingChannelGroup. This removes a redundancy in which there were two independent ways of keeping track of channels.

With these changes, the object model looks rather simple and elegant, but I'm concerned I've missed something obvious, so please check these changes don't break important use cases.
Note: I modified the tests in a rather ad hoc fashion to get them to pass, so this PR is not intended for merging yet, rather for discussion. I'll clean things up and improve the tests if the general principles are agreed upon.
Also note that of course none of the IO classes have been updated yet.

@samuelgarcia @rproepp @toddrjen  any comments?

Hi Andrew, thank you for starting this big clean.
I will read carrefully in next week.
2 fast comments:

sure to keep RecordingChannelGroup and not change it to RecordingChannel ? I have no idea about that.
In OpenElectrophy I lost a simple way to slip up set a of channel in a new subset of channel. It is not a big problem but I need to figure out carrefully ebout consequencies in some codes.

@samuelgarcia : have you had any time to look at this again?
Concerning the name "RecordingChannelGroup", we could change it to "RecordingChannelIndex". I think that might be a more accurate name.

I am very happy about the change with AnalogSignal, this is also very much in line with what users in our lab would prefer.
Regarding the change in the RecordingChannel, in principle I agree that this could be a step forward. I frequently notice puzzled looks when trying to explain the hierarchy of RecordingChannel and RecordingChannelGroup to others (although in principle, it was pretty clear as such). In addition, Andrew is right that the channel_index had always caused confusion due to its ambiguity with the hierarchy.
I find that it is difficult to foresee the problems that might arise due to this change, and I could not come up with any particular scenario that might be super problematic. I think that almost any recording (even simulation) will be able to distribute a meaningful index number per "channel", so that creating a fitting data structure to match up almost any data set should be straightforward.
What is important in my opinion is to provide (by and by) an API for all common use-cases to traverse the hierarchy and the array-like data structures by channel_index. For instance, what are the AnalogSignals that belong to my SpikeTrain/Unit. Furthermore, I guess it would be good to have Neo check that the tree hierarchy is always consistent with respect to channel indices (e.g., duplicate channel indices, etc...), and that Neo provides functions such as "get_all_channel_indices()" for easy access.
In short I support to give this simplification of the structure a try.
In terms of the name, I like "RecrodingChannelIndex" because it avoids confusion with the existing object. But how about shortening this object to "ChannelIndex"? I would image that in ephys, the concept of "channel" is pretty clear even without attaching "Recording".

I like the idea of "ChannelIndex"

@samuelgarcia @mdenker I've now adapted most of the IO classes, at least partially. The biggest changes are to BlackrockIO - it now puts signals into a pair of 2D AnalogSignals rather than into a list of 1D AnalogSignals, but I only had the one test file to look at, so I'm not sure how general it is. Please take a look at all of the changes, but in particular Michael could you test the updated BlackrockIO with a wider selection of files?

Hi Andrew,
sorry to not be reactive on this task. Thank you doing this hard job.
Before merging this would it be possible to make a release neo 0.3.4 from the master ?
I don't anderstand your comment on BlackrockIO. I don't see 2D analogSignal in BlackrockIO.read_nsx but still a list of 1D AnalogSignal. Did you need some help to do this ?

I don't anderstand your comment on BlackrockIO. I don't see 2D analogSignal in BlackrockIO.read_nsx but still a list of 1D AnalogSignal

See this line: https://github.com/apdavison/python-neo/blob/analogsignal/neo/io/blackrockio.py#L398
channel_filter is an array, which picks out all the channels with id < 129. Therefore in general sig will be a 2D array.

Before merging this would it be possible to make a release neo 0.3.4 from the master ?

This PR is anyway for merging into the apibreak branch, not into master. We should definitely make an 0.3.4 release before we merge apibreak into master, but before then I want to improve the documentation, add a "migrating from 0.3 to 0.4" guide, and fix the HDF5IO.

OK thanks I have not seen it.

I'm going to merge this now, and then finish the work in the apibreak branch.


BZ-1265604, BZ-1266138: Now PriorityDisposables need register itself …

…due a WAS issue.

Looks ok other than missing licenses :-(

@manstis license will come in a new PR for all codebase.

Other than missing licenses; +1 to merge.

Thanks.
master: 2f00ec0efc0313afbeadc6108659d522c793968e


Does not work without internet connection

Describe the bug
Does not work without internet connection
Environment:

Operating system: Windows 10
Nodejs Version: v18.15.0
Package Version: 0.5.1

To Reproduce
Steps to reproduce the behavior:

Close internet connection
Observe behavior

Expected behavior
Should work with internet connection

Nevermind, Langchain uses Openai Embeddings over the wire


Add string as possible propType for 'systemIcon'

Fixes #2361

@facebook-github-bot shipit

O . M . G. It worked!

:O :O :rocket:

Help! So how to get rid of the warning message??


Listing keys in json format returns only short ids

Output of restic version
restic 0.16.4 compiled with go1.21.6 on windows/amd64
What backend/service did you use to store the repository?
local folder
Problem description / Steps to reproduce
Running command "restic key list --json" on a repository, the json returned contais ids of keys, but these ids are sort ids (8 chars), not full length ids (as from sha256 hash).
Example of output:
[{"current":true,"id":"94da42a0","userName":"******","hostName":"*****","created":"2024-03-30 20:50:53"}]
Other commands, like restic snapshots --json returns long ids.
This is not a critical bug, because keys are few and collisions are very rare, but anyway the id is not a full id.
I use restil key list, restik key add and restic key remove to rotate passwords.
Expected behavior
Json contains long ids of keys.
Actual behavior
Ids are short.
Do you have any idea what may have caused this?
No, sorry.
Did restic help you today? Did it make you happy in any way?
Every day happy! :-)

Short IDs in the JSON output only exist for historic reasons, I've opened a PR to correct the output of key list. I've also checked all calls to id.Str() and the remaining usages seem to be limited to error messages. So hopefully, all JSON output now uses full IDs by now.


Re-Design Service-Center UI and fix multiple bugs

Co-Author  : @vibakar
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Format the pull request title like [SCB-XXX] Fixes bug in ApproximateQuantiles, where you replace SCB-XXX with the appropriate JIRA issue.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
 A more thorough check will be performed on your pull request automatically.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Codecov Report

Merging #393 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #393      +/-   ##
==========================================
- Coverage   71.71%   71.69%   -0.03%
==========================================
  Files          39       39
  Lines        4130     4130
==========================================
- Hits         2962     2961       -1
  Misses       1002     1002
- Partials      166      167       +1

Impacted Files
Coverage Δ

server/service/instance.go
68.55% <0%> (-0.2%)
:arrow_down:

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 2501f98...881e41e. Read the comment docs.

Coverage decreased (-0.1%) to 74.443% when pulling 881e41e20a1a6ba5345626457b57f3d876eff961 on asifdxtreme:master into 2501f9860ad9f1b23c36460f198de5ce4ace331a on apache:master.


Mealie API

Does the API Interface work for the Mealie Add-on?
Using http://xxx.xxx.xx.xx:9925/api/meal-plans/today/image?group_name=Home responds with {"detail":"Not Found"}

Hi, which architecture are you on? This impacts the version of mealie running. Thanks

I'm running a hassos virtual box image.
Thanks for your great work on this add on.

64 bit

Thanks! Mmh... It should work but I don't have an amd64 install to test and it's the only architecture which is on the latest version... I'll think about it

When I use /docs I get a HTTP error 502? Perhaps related? This should bring up the API documentation...

That's strange... I guess 502 would point to an issue with the caddy proxy but I only do minimal modif (port and ssl). Key issue is that I don't have a working amd64 system : whenever I start a virtual box with HA my computer reboots... And now with holidays coming I won't have much time to fix my amd64 setup

Actually the only true solution I see is to move back to mealie's official images but then there will be two addons : one with the api, one with the front end

That sounds fine to me. Its great to have the add-on with HA. Cheers for looking into this.

Hi there I did a few experiments with the latest Mealie builds in Docker on another machine. I got similar issues with the API call above except for the /doc  which works. I wounder if the latest version uses a different call to get the meal of the day picture? Cheers.

Just read that : "API Integration Will Break
Several of the endpoints in the API have changed. This means that you will need to update your code to use the new endpoints."
https://nightly.mealie.io/documentation/getting-started/migrating-to-mealie-v1/

You are right. There is thread on The Mealie Git about HA integration. I found a integration that has been put together that works with your addin so all good. Not sure why /docs does not work though.

https://github.com/hay-kot/mealie/issues/1626

I though Id leave this here for  future reference.
To integrate Mealie addon information;
Create a restful sensor
sensor:

platform: rest
resource: 'http://###.###.#.#:9090/api/groups/mealplans/today'
method: GET
name: Mealie todays meal
headers:
Authorization: Bearer
value_template: "{{ value_json.value }}"
json_attributes_path: $..recipe
json_attributes:

name
id
totalTime
prepTime
performTime
description
slug

Create template sensors from attributes
- name: TodaysDinner
unique_id: sensor.TodaysDinner
state: "{{ state_attr('sensor.mealie_todays_meal', 'name') }}"
- name: TodaysDinnerDescription
unique_id: sensor.DinnerDescription
state: "{{ state_attr('sensor.mealie_todays_meal', 'description') }}"
- name: TodaysDinnerSlug
unique_id: sensor.DinnerSlug
state: "{{ state_attr('sensor.mealie_todays_meal', 'slug') }}"
- name: TodaysDinnerID
unique_id: sensor.DinnerID
state: "{{ state_attr('sensor.mealie_todays_meal', 'id') }}"
Add a generic camera for image
http://###.###.#.#:9090/api/media/recipes/{{ state_attr('sensor.mealie_todays_meal', 'id') }}/images/min-original.webp


fix: add support for repeated record query parameters

Add support for array of struct query parameters which are used to query repeated record fields
Fixes #2485 ☕

@Neenu1995 I've made some changes:

The toTypePb method now only peeks at struct array values if they exist, otherwise it defaults to generating an empty struct array type
Added two additional integration tests:

testUnnestRepeatedRecordNamedQueryParameter: tests UNNESTing a struct array query parameter
testEmptyRepeatedRecordNamedQueryParameters: tests creating an empty struct array query parameter. Creating the query parameter itself works but executing IN UNNEST for said parameter should result in an exception

Also there's something to note: the toTypePb is only used for query parameters, returned query results only go through toValuePb which wasn't touched in this PR.

String query = "SELECT string, arrayOfStruct FROM `playground-argolis.demo.allTypeTable`, "
          + "UNNEST(arrayOfStruct) as TEMP WHERE TEMP IN UNNEST(@states);";

      // states - Parameterized query type of Array of Struct
      // arrayOfStruct - Field of type Array of Struct

This is the exact statement we want to verify. Verify if a named parameter type of Array of struct exists in a struct field.
Please create a table and try querying from there.


Some messages are hardcoded in places other than messages.h

Implies that either they should be moved, or messages.h should be removed.

Pros and cons to each approach?

I do like messages.h being a thing, but I also see scope for there being "literal" messages that are too specific for the file, like from each audio source.
With that in mind, the only message that I think should be merged into messages.h is "Unknown file format" from player.cpp


Ubuntu 16.04: pip install reports success but fails on hello.py compilation

On Ubuntu 16.04 (i.e. Python 3.5) –
$ sudo pip3 install transcrypt
The directory '/home/vagrant/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/vagrant/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting transcrypt
  Downloading Transcrypt-3.6.95.tar.gz (16.7MB)
    100% |████████████████████████████████| 16.7MB 109kB/s
Collecting mypy (from transcrypt)
  Downloading mypy-0.560-py3-none-any.whl (1.2MB)
    100% |████████████████████████████████| 1.2MB 1.2MB/s
Collecting psutil<5.5.0,>=5.4.0 (from mypy->transcrypt)
  Downloading psutil-5.4.3.tar.gz (412kB)
    100% |████████████████████████████████| 419kB 2.4MB/s
Collecting typed-ast<1.2.0,>=1.1.0 (from mypy->transcrypt)
  Downloading typed_ast-1.1.0-cp35-cp35m-manylinux1_x86_64.whl (724kB)
    100% |████████████████████████████████| 727kB 1.7MB/s
Installing collected packages: psutil, typed-ast, mypy, transcrypt
  Running setup.py install for psutil ... done
  Running setup.py install for transcrypt ... done
Successfully installed mypy-0.560 psutil-5.4.3 transcrypt-3.6.95 typed-ast-1.1.0

All seems fine (and other sudo pip3 installs are fine). However following the demo...
$ transcrypt -b -m -n hello.py

Transcrypt (TM) Python to JavaScript Small Sane Subset Transpiler Version 3.6.95
Copyright (C) Geatec Engineering. License: Apache 2.0

[Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/transcrypt/modules/org/transcrypt/__javascript__/extra'Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/transcrypt/__main__.py", line 153, in main
    compiler.Program (transpilationDirs, __symbols__)
  File "/usr/local/lib/python3.5/dist-packages/transcrypt/modules/org/transcrypt/compiler.py", line 141, in __init__
    Module (self, ModuleMetadata (self, self.baseModuleName))
  File "/usr/local/lib/python3.5/dist-packages/transcrypt/modules/org/transcrypt/compiler.py", line 309, in __init__
    self.generateJavascriptAndMap ()
  File "/usr/local/lib/python3.5/dist-packages/transcrypt/modules/org/transcrypt/compiler.py", line 480, in generateJavascriptAndMap
    self.modMap.save ()
  File "/usr/local/lib/python3.5/dist-packages/transcrypt/modules/org/transcrypt/sourcemaps.py", line 286, in save
    with utils.create (self.mapPath) as mapFile:
  File "/usr/local/lib/python3.5/dist-packages/transcrypt/modules/org/transcrypt/utils.py", line 94, in create
    os.makedirs (os.path.dirname (path), exist_ok = True)
  File "/usr/lib/python3.5/os.py", line 231, in makedirs
    makedirs(head, mode, exist_ok)
  File "/usr/lib/python3.5/os.py", line 241, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/transcrypt/modules/org/transcrypt/__javascript__/extra'

Aborted

That extra file does not exist.
Note I can download the zip, and get compilation working using python3 __main__.py -b -n ../../hello.py
Thanks for all the development. No demand here, this is just feedback =]

@tobyspark Thanks for the detailed report. At the moment Transcrypt requires write access to its own folder. See these issues:
https://github.com/QQuick/Transcrypt/issues/390
https://github.com/QQuick/Transcrypt/issues/189
A simple approach to this is to install Transcrypt using virtualenv (or python 3's built in venv).
For example, on windows, you'd do this in cmd.exe:
mkdir myproject
cd myproject
# uses windows py launcher to find system python3 binary path
# then uses python3's venv to create a new virtual folder.
py -3 -m venv myvirtualfolder
# activates the virtual environment which means when you
# type 'python' at the prompt it will be the version that is
# in your virtualenv folder, not the system version.
myvirtualfolder\Scripts\activate
# maybe not needed, this is just to upgrade pip and setuptools
# in case the system versions are outdated and works around a windows
# issue where just running pip install --upgrade doesn't work
python -m pip install --upgrade pip setuptools
pip install transcrypt

From then on, whenever you want to use the virtual environment, just cd into the project folder and type 'myvirtualfolder\Scripts\activate' to activate it. Any pip packages you install will then go into the virtual env folder and not be installed system wide, which can make your life easier.

Ah, gotcha. Thanks for the reply.
Right now, I'm running a VM for (just) this project, so haven't been using venv. Thinking about it, your documentation does say to use venv, but I interpreted that as best practice rather than requirement of enforcing user-space.

@tobyspark
Since this is a problem that many people run into, if you find the time could you please repeat your question on https://stackoverflow.com/ using the tags [transcrypt] and [python].
This enables other developers to benefit from the answer as well.
(no obligation of course)
Kind regards
Jacques

Jacques – I don't have a StackOverflow account. Hopefully search will bring at least some of those people here. Thanks all, again, for the time.


Volume for IT lang

I notice that there are several missing dimensions for the IT language: this patch is for the Volume dimension
Regards
Matteo

Done

Thanks @matteoredaelli!
For the record, I made a few changes:

added tests/Duckling/Volume/IT/Tests.hs
updated tests/Duckling/Volume/Tests.hs
fixed litros -> litr(i|o)
fixed galo, galon(e|i) -> gal, gallon(e|i)

Make sure to include the new tests and run them next time ;-)


JobsubCmd classad attribute needs to be a string

Not tested, but doesn't get much simpler.

I ran condor_qedit on a job replacing JobsubCmd with a quoted version, and that did indeed work:
$ jobsub_q -G fermilab<EMAIL_ADDRESS>JOBSUBJOBID                             OWNER       	SUBMITTED     RUNTIME   ST PRIO   SIZE  COMMAND
<EMAIL_ADDRESS>       kretzke   	12/06 10:51   0+00:10:07 C    0    0.0 simple.sh

$ condor_q kretzke af:r jobsubcmd
testinfo.sh

$ condor_qedit kretzke JobsubCmd '"testinfo.sh"'

$ condor_q kretzke -af:r jobsubcmd
"testinfo.sh"

$ jobsub_q -G fermilab<EMAIL_ADDRESS>JOBSUBJOBID                             OWNER       	SUBMITTED     RUNTIME   ST PRIO   SIZE  COMMAND
<EMAIL_ADDRESS>       kretzke   	12/06 10:51   0+00:10:07 C    0    0.0 testinfo.sh


Can't upload via AWS CloudFront

Type of issue
Bug report
Uploader type
S3
I am using a CloudFront distribution with origin set to AWS S3. As S3 does not provide SSL, I had to enable CloudFront. When I try to upload file I have the following error:

InvalidRequestThe authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.676FC5F89859FFECzOXcEk5cmjIR5+eIx9LWO/WVYd32ilSjN/efBHdRRiIYh9XH7E6ijpGw8k9+cetQk6QxwNjAHyk=
But the same code works OK if I use direct to S3 uploads.
Fine Uploader version
"fine-uploader": "^5.15.0",
"react-fine-uploader": "^1.0.3",
Browsers where the bug is reproducible
{example: "Firefox" and "IE11"}
Tested with Chrome and Mozilla
Operating systems where the bug is reproducible
{example: "iOS 9.1.0" and "Windows 8.1"}
Windows 10
Exact steps required to reproduce the issue
Standard steps.
I use JAVA server side code, which is available here https://github.com/FineUploader/server-examples/tree/master/java/s3
Uploader code is:
uploader = new FineUploaderS3({
    options: {
      debug: true,
      deleteFile: {
        enabled: true,
        endpoint: `${config.environment.api_baseUrl}/s3`,
        customHeaders: {
          'Authorization': 'Basic ' + btoa(config.WS_USERNAME + ':' + config.WS_PASSWORD)
        }
      },
      request: {
        endpoint: `${config.AWS_S3_END_POINT}`,
        accessKey: `${config.AWS_S3_ACCESS_KEY}`
      },
      signature: {
        endpoint: `${config.environment.api_baseUrl}/s3/signature`,
        version: 4,
        customHeaders: {
          'Authorization': 'Basic ' + btoa(config.WS_USERNAME + ':' + config.WS_PASSWORD),
        }
      },
      uploadSuccess: {
        endpoint: `${config.environment.api_baseUrl}/s3/success`,
        customHeaders: {
          'Authorization': 'Basic ' + btoa(config.WS_USERNAME + ':' + config.WS_PASSWORD)
        }
      },
      validation: {
        sizeLimit: 5000000,
        itemLimit: 10
      },
      callbacks: {
        onComplete: (id, fileName, responseJSON) => {
          const { submittedFiles } = this.state;
          let newFile = {
            name: responseJSON.name,
            s3Bucket: responseJSON.s3Bucket,
            s3Key: responseJSON.s3Key,
            size: this.uploader.methods.getSize(id),
            uuid: responseJSON.uuid
          }

          submittedFiles.push(newFile);
          this.setState({ submittedFiles });
        },
        onDeleteComplete: (id) => {
          const { submittedFiles } = this.state;
          let newUuid = this.uploader.methods.getUuid(id);
          let removeElement = arrayObjectIndexOf(submittedFiles, newUuid, 'uuid');

          submittedFiles.splice(removeElement, 1);
          this.setState({ submittedFiles });
        }
      },
      messages: {
        tooManyItemsError: 'You can only add 10 files'
      },
      chunking: {
        enabled: true
      },
      objectProperties: {
        region: `${config.AWS_S3_REGION}`
      }
    }
  })

The error suggests you need to use version 4 signatures. This is covered throughout the library documentation. With the current formatting, it's too difficult for me to determine if you have initialized the library correctly

@rnicholus
Thanks for the response, I shall add formatting, I missed that.
In the signature block I put
     signature: {         endpoint:${config.environment.api_baseUrl}/s3/signature,         version: 4,         customHeaders: {           'Authorization': 'Basic ' + btoa(config.WS_USERNAME + ':' + config.WS_PASSWORD),         }       },
Also, the code works with no changes OK when I do not use CloudFront and instead directly upload to S3.

@rnicholus Is there some testing environment, where I could reproduce the issue?

Sounds like a configuration issue with your CloudFront distribution. If you find a specific issue in the fine uploader codebase, let me know and I can reopen this.

This is strange, do you happen to know if there are any recommendations to setup cloudfront? All the settings seem to be default, except the ssl.

On Sep 10, 2017, at 9:01 AM, Ray Nicholus<EMAIL_ADDRESS>wrote:
Sounds like a configuration issue with your CloudFront distribution. If you find a specific issue in the fine uploader codebase, let me know and I can reopen this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I have created an S3 bucket in different region, which supports v2 signature and pointed CF to this, newly created S3. The upload works, so it seems to be not CF settings issue.

If you find a specific issue in the fine uploader codebase, let me know and I can reopen this.


Adds priorityClassName and cluster autoscaler daemonset eviction to charts

This PR adds:

a way to specify priorityClassName (either per plugin or globally)
a way to configure Cluster Autoscaler DaemonSet eviction setting (either per plugin or globally)

Both of these configs can help to prevent Kubernetes or Cluster Autoscaler from evicting Datashim plugins pods before workload pods that may rely on it to work properly.

Thanks! I'll review this PR soon. Can I ask what is the driver for these changes (i.e. what problems are solved by this PR ? )

lgtm. Thanks @CaptainPatate !


KOGITO-7311: Mocking HTTP CloudEvents sink with Wiremock

JIRA:: https://issues.redhat.com/browse/KOGITO-7311

Description:
Testing Serverless Workflow application that uses HTTP CloudEvents and sink binding

@hbelmiro added you since you wrote the other guide. These two must complement each other. Thanks!

@nmirasch can you please rebase?

@ricardozanini updated!

Merging this PR to create a patch PR with doc improvements.


client ID and client secret sections are mandatory for Oauth2 secured endpoint feature (password grant)

Describe your problem(s)
The client ID and the client secret sections are mandatory for the feature [1] in wso2 apim 3.2.0. But the client authentication is optional for token generation as per the spec [2].
Therefore, need to consider client ID and client secret as optional values.

https://apim.docs.wso2.com/en/3.2.0/learn/design-api/endpoints/endpoint-security/oauth-2.0/
https://datatracker.ietf.org/doc/html/rfc6749#section-4.3.2

Describe your solution
Consider client ID and client secret as optional values.

Master fix  :https://github.com/wso2/carbon-apimgt/pull/11788


Slightly more informative message.

This might be a slightly better message that suggests to not pass large elements across a fusion boundary.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

Given that fusion boundaries are an implementation detail outside the users direct control IMHO I don't think it's worth putting that detail here. Better to avoid large elements in general than to try and reason where they may or may not be OK for a particular optimization of a pipeline.

makes sense, thanks.


INS API Server

Checklist

[ ] Deploy API Server
[ ] Swagger for API Server
[ ] Using slate for the API document

Issue changed, using https://icon-project.github.io/docs/icon_network.html#testnet-for-dapps for API endpoint and server


More avahi problems..

Mar 22 11:38:39 maverick-raspberry avahi-daemon[7040]: Found user 'avahi' (UID 108) and group 'avahi' (GID 113).
Mar 22 11:38:39 maverick-raspberry avahi-daemon[7040]: Successfully dropped root privileges.
Mar 22 11:38:39 maverick-raspberry avahi-daemon[7040]: avahi-daemon 0.7 starting up.
Mar 22 11:38:39 maverick-raspberry avahi-daemon[7040]: Successfully called chroot().
Mar 22 11:38:39 maverick-raspberry avahi-daemon[7040]: Successfully dropped remaining capabilities.
Mar 22 11:38:39 maverick-raspberry avahi-daemon[7040]: No service file found in /etc/avahi/services.
Mar 22 11:38:39 maverick-raspberry avahi-daemon[7040]: *** WARNING: Detected another IPv4 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***
Mar 22 11:38:39 maverick-raspberry avahi-daemon[7040]: Joining mDNS multicast group on interface wman0.IPv4 with address <IP_ADDRESS>.
Mar 22 11:38:39 maverick-raspberry avahi-daemon[7040]: New relevant interface wman0.IPv4 for mDNS.
Mar 22 11:38:39 maverick-raspberry avahi-daemon[7040]: Network interface enumeration completed.
Mar 22 11:38:39 maverick-raspberry avahi-daemon[7040]: Registering new address record for fe80::dea6:32ff:fe0a:583b on wman0.*.
Mar 22 11:38:39 maverick-raspberry avahi-daemon[7040]: Registering new address record for <IP_ADDRESS> on wman0.*.
Mar 22 11:38:39 maverick-raspberry avahi-daemon[7040]: Withdrawing address record for fe80::dea6:32ff:fe0a:583b on wman0.
Mar 22 11:38:39 maverick-raspberry avahi-daemon[7040]: Host name conflict, retrying with maverick-raspberry-2
Mar 22 11:38:39 maverick-raspberry avahi-daemon[7040]: Registering new address record for fe80::dea6:32ff:fe0a:583b on wman0.*.
Mar 22 11:38:39 maverick-raspberry avahi-daemon[7040]: Registering new address record for <IP_ADDRESS> on wman0.*.
Mar 22 11:38:41 maverick-raspberry avahi-daemon[7040]: Server startup complete. Host name is maverick-raspberry-2.local. Local service cookie is 74790528.

This only seems to happen on raspberry.  reflectors are all turned off, other maverick installs on the same network work fine without conflicts.
Only a single (wifi) interface is active on the rpi.  ipv6 is disabled for avahi.

Think this is a local issue with a conflicting record, not a wider problem.

Ah no, @SamuelDudley this is caused by the new zeroconf in visiond.  If you stop visiond, avahi gets a hostname conflict when starting up, stop visiond and it goes away.

Sigh. Do you think setting this to True could help?
https://github.com/jstasiak/python-zeroconf/blob/master/zeroconf/__init__.py#L2204

The odd thing is -api doesn't seem to cause the problem, just visiond.

Hmm perhaps keeping the thread alive in visiond is the problem..? It’s really the only difference.

Perhaps keeping self.zeroconf() alive by keeping the class instance alive is enough?

If it's not kept alive in -api, how does -api respond to the mdns requests?

That is a good question! The self.zerconf() object is kept alive by the module instance in -api but there is no seperate thread. Pretty sure self.zeroconf() makes its own threads and starts them so as long as the containing object is alive it will respond to men's requests.

Are the logs posted from the system journal? Should my pi have the same problem to reproduce? I'll check tomorrow morning.

Oh no, this is happening with -api instances as well.  For some reason sometimes it conflicts with avahi and forces it to make up a different hostname.  Stopping all -api instances allows avahi to startup as expected.
Related: https://github.com/goodrobots/visiond/issues/21

Removing the ServiceInfo.server property seems to fix this problem:
https://github.com/goodrobots/maverick-api/commit/80181708cf3129ebd1d09a5b0db42ce969651911

Fixed in visiond as well:
https://github.com/goodrobots/visiond/commit/6ddf8b526eb99c3a4b5e86910c41653a0f8393d7
Just need to fix warning caused by -discovery:
https://github.com/goodrobots/maverick-discovery/issues/3

Think we're good with avahi now.


Add join support

Closes #128.
This one was really frustrating. I couldn't get LuckyInflector to work inside a macro so I could pluralize the belongs_to table reference.

This is really nice 👍


Wrong output for hexadecimal numbers input in PowerToys Run

Microsoft PowerToys version
0.75.1
Installation method
GitHub
Running as admin
No
Area(s) with issue?
PowerToys Run
Steps to reproduce
The hex support to calculator doesn't fully work.
The number 0xFFFFFFF works ok:

But 0xFFFFFFFF is wrong:

✔ Expected Behavior
The output decimal number should be<PHONE_NUMBER>.
❌ Actual Behavior
The output decimal number is currently<PHONE_NUMBER>3709600000.
Other Software
No response

This appears to be fixed in 0.78.0


Overlapped Tiles Feature?

Feature request, Waterfront facility levels feature overlapped thick beams and pillar segments
Holding F while correct geometry but incorrect tiling is present should allow you to place a tile overlapped with another one

it might actually be better to have it completely ignore geometry, the ECNIUS rooms have wall vents partly overlapped with the geo

Will be added in next release


Adds aws CCM presubmits

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


Feature Request - Vehicle Disconnect

https://smartcar.com/docs/api/#delete-disconnect

Resolved in #6


[hotfix][engine][checkpoint] fix state restoring error

Purpose of this pull request

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs

Can you merge this pr https://github.com/apache/incubator-seatunnel/pull/3115 after it merged and enable the test case in ClusterFaultToleranceIT ?


On-demand instances get terminated all together

Currently, all on-demand instances in an ASG get terminated together when the minion-manager decides to use spot instances. This has it's pros and cons. The benefit of this is that new instances all come-up in parallel shortening the time for which on-demand instances run (and therefore keeps costs low). However, this can lead to service disruption.
Ideally, it should be possible to chose what termination strategy is to be used.
Maybe, add another tag?
k8s-minion-manager/num-simultaneous-terminations: 1 will terminate one instance at a time.
k8s-minion-manager/num-simultaneous-terminations: all will terminate all instances together.

When instances are scheduled for termination but not terminated, we might consider tainting them as well so we don't schedule new pods on them.

Commit f6517bb added functionality to terminate one instance at a time.
Cordon and draining of nodes is being tracked by https://github.com/argoproj/k8s-minion-manager/issues/19.
Closing this one.


Recurring issues in Spyder

Description
What steps will reproduce the problem?

When I click on the "x" or "x_test" or "x_train" variables from the variable explorer in spyder

What is the expected output? What do you see instead?
Instead of displaying the values of the independent variable "x" and its sets,
"ValueError: cannot set WRITEABLE flag to True of this array" this is shown and the app asks me to submit a report to GitHub.
Please provide any additional information below
File "C:\Users\RAJIV WALIA\Anaconda3\lib\site-packages\spyder\widgets\variableexplorer\collectionseditor.py", line 449, in createEditor
if not editor.setup_and_check(value, title=key, readonly=readonly):
File "C:\Users\RAJIV WALIA\Anaconda3\lib\site-packages\spyder\widgets\variableexplorer\arrayeditor.py", line 619, in setup_and_check
self.data.flags.writeable = True
ValueError: cannot set WRITEABLE flag to True of this array
Version and main components

Spyder Version: 3.2.6
Python Version: 3.6.4
Qt Versions: 5.6.2, PyQt5 5.6 on Windows

Dependencies
pyflakes >=0.6.0 :  1.6.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.22.0 (OK)
numpy >=1.7      :  1.18.1 (OK)
sphinx >=0.6.6   :  1.6.6 (OK)
rope >=0.9.4     :  0.10.7 (OK)
jedi >=0.9.0     :  0.11.1 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
sympy >=0.7.3    :  1.1.1 (OK)
cython >=0.21    :  0.27.3 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
IPython >=4.0    :  6.2.1 (OK)
pylint >=0.25    :  1.8.2 (OK)

This is fixed in our latest version Spyder 3. Please update by opening the Anaconda Prompt and running there
conda install spyder=3.3.6


Mail Units arent working as intended

Description
Mail units arent working at all as intended.  They also accept anything other than live things. I could send my whole backpack through it, potentially filled with 120 worth of stuff.
Reproduction
Step 1: replace any two garbage units with mail units, place them properly on the chute trunks. Or just make a test system as seen below in the screen shots.
Step 2: name them with the multi tool
Step 3: watch your items disregard the mailing system and just follow normal disposal chutes routing, sending your stuff just into disposals or through whatever routing the pipes are set to
Screenshots

With this specific setup, the mail always ended up in the left unit. we tested multiple configurations of this setup and the mail just went where the pipes sent them.
Additional context
If the mail units are intended to use a separate line, distinct from the garbage chute system, I can see several issues.
Firstly, that's a lot of coveted tile space that mappers are going to have to reserve just for this mailing system, adding a whole other network of pipes running through the entire station. Secondly, there is no non-directional Y or T disposal pipe units, meaning these would either be forced direct 1 to 1 mail units, or your stuff will just get routed where the pipes say they do.

What did you think how the mailing units are supposed to work? Of course you can put your backpack in.
Did set the routers filters properly?

nothing about this shows that it isn't working as intended? The issue that you are having either needs to be clarified more or this issue needs to be closed.

Well i thought that these werent supposed to be used for large items, about the back pack thing, and the use of the disposal router was not stated or mentioned anywhere. Regardless, I apologize for the post if it is as intended.

I will add a sentence to the routers description that tells you to click on it for changing its filter.


Migrate LCOV parser

Description
With this change the action will use the "@friedemannsommer/lcov-parser" instead of "lcov-parse".
Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[x] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

Hi there, thanks for your contribution! Could you maybe give a little insight into why we would want to switch to your package here? Thanks in advance :)

Heya @timcreatedit, i've seen that this package had the "@friedemannsommer/lcov-parser" dependency but wasn't using it. I thought that it this was replaced with the "lcov-parser" library due to an earlier bug (https://github.com/friedemannsommer/lcov-parser/commit/4ffc4392de90e15f3357d779310eee21a9399788) in the library?
Apart from that, there are not many differences between the two libraries (as LCOV is a fairly simple schema) except that the new parser handles larger amounts of data better as it parses the data incrementally.


Complete built-in function support for GLSL ES 3.20 Vector Relational Functions

Section 8.7 of the GLSL ES 3.20 specification defines Vector Relational functions.
Support for these functions should be made complete.

TyperHelper::getBuiltinsForGlslVersion should get the builtins of this kind by invoking a helper function, getBuiltinsForGlslVersionVector Relational

This new method should return templates for all of the functions specified in Section 8.7 of the GLSL ES 3.20 specification if the shading language version is ESSL_320.

If the shading language version is different from ESSL_320, templates for all of the GLSL ES 3.20 builtins from Section 8.7 that are available in the particular shading language version should be returned.

The test functions, "testBuiltins[shadinglanguageversion]" in TyperTest should already serve to ensure that inappropriate builtins for a shading language version are not generated.

Fixed by #528.


[SPARK-44195] Add JobTag APIs to SparkR SparkContext

What changes were proposed in this pull request?
Add APIs from https://github.com/apache/spark/pull/41440 to SparkR:

addJobTag(tag)
removeJobTag(tag)
getJobTags()
clearJobTags()
cancelJobsWithTag()
setInterruptOnCancel(tag)

Why are the changes needed?
SparkR parity.
Does this PR introduce any user-facing change?
Yes, introduce the APIs introduced in Scala in https://github.com/apache/spark/pull/41440 to SparkR
How was this patch tested?
Added test.

> addJobTag("foo")
> getJobTags()
Java ref type scala.collection.convert.Wrappers$SetWrapper id 7

will need to investigate how to unwrap it to an R type...

CI finished with 1 unrelated flake:
https://github.com/juliuszsompolski/apache-spark/actions/runs/5392816496/jobs/9792933924
[info] - SPARK-38187: Run SparkPi Jobs with minMemory *** FAILED *** (3 minutes, 2 seconds)
[info]   The code passed to eventually never returned normally. Attempted 190 times over 3.015093976666667 minutes. Last failure message: 0 did not equal 2. (VolcanoTestsSuite.scala:331)
...
[info] *** 1 TEST FAILED ***
[error] Failed tests:
[error] 	org.apache.spark.deploy.k8s.integrationtest.VolcanoSuite

Merged to master.


chore(package.json): simplify chained npm scripts

Description:
This PR introduces small npm cli tool named npm-run-all (https://www.npmjs.com/package/npm-run-all) allows to chain npm scripts without chaining it via && everytime. It's just small cosmetic changes, but simplifies npm script to read. Few more fancy features like parellel execution is also supported but not using it for now.
npm-run-all works on Windows/*nix both.
Related issue (if exists):
none

Coverage remained the same at 95.982% when pulling 26b24838ac0a38b90b51557e57ff25da1ac48b67 on kwonoj:npm-run-all into 82cd6d998b50f67626b25f43fab925e6ec54a0eb on ReactiveX:master.

@kwonoj also, once linting (and perhaps one of the compilation steps) is done, we could use parallelshell to run the  rest of the compilation steps in parallel to speed up the total build time.

@trxcllnt thanksfully npm-run-all has parallel option (npm-run-all clean --parallel "build:* -- --watch") :) I'd like to test parallel execution bit more thoroughly before introduce it.

I'll check this in later today to tomorrow if there isn't other suggestion.

Merged with 6f7c767. @blesh @staltz @trxcllnt @david-driscoll @luisgabriel @saneyuki , may need trigger npm install .


Ignore generated bin/ directories

R: @davorbonaci
Please make the corresponding change to src.xml, which is an input to the source assembly.

Done.

LGTM (please self-merge).


Support Postgres

Me too

What are the plans to make this library Postgres-compatible? I could really use this for a project based on Laravel Nova.

Our team could use the postgres support as well.  Happy to help but we might need a little direction.

Hi guys, I don't plan to implement the support for Postgres as I don't need it at the moment, but I will be happy to accept PRs.

It's not difficult to implement. I tested it locally a little, I’ll try to do it soon when I have some free time.

I'll try to prepare PR this weekend.

I started in my fork, first commit here (wthout tests yet):
https://github.com/zartdinov/laravel-eloquent-spatial/commit/44ab50922a41605f133f01707c61f1d31f719581
I am going to update workflow soon. Need some tests for different versions of postgres.

Can you guys please help me and review #109?

Code looks very nice for me.
Better than my try ;)
I think we can fix it later after some feedback from postgres users. For example, we are using postgis-15.3.3 for now.
Thank you. It was difficult to find time to configure and fix all existing workflow, sorry.


Fix Sphinx apidoc and ReadTheDocs issue

As reported elsewhere (many issues: ...) RTD does not run apidoc before generating html.
I've tried a few workarounds to fix this but none seem to be working with Sphinx 1.7.

Finally managed to sort this out - by mocking every import.
This leads to a minor issue with RTD output: the parameter defaults that use NumPy are rendered as Mock objects.
I'm willing to tolerate this for now... Easy solution would be to hard-code defaults like +/- 1.57.


should in_browser_session return the result of the given function?

in_browser_session always returns the id of the default session, im wondering if theres a reason for this, as it took me by surprise, i would have expected the result of applying the given function to be returned.

I think it would indeed be more useful, @HashNuke what do you think?


I2C ACK error counter makes the next i2c session timeout  (IDFGH-8295)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
What I want to do
My application is going to check if a slave device is plugged to the I2C bus by send a write byte operation. My expectation is that if there is no ack from slave after the app calling the address, the app gets to know there is not the specific slave device   plugged.
What is the issue
The issue is that after the bus get a I2C_STATUS_ACK_ERROR, the SCL wire is pull down to GND. It makes the next I2C session occurs a timeout error. And only after then the I2C SCL can recover to high level and the bus can properly work. In addition, if there is no more i2c communication after a I2C_STATUS_ACK_ERROR, SCL line is going to be low level permanently.
Maybe I found the cause of the issue, but I'm not sure
I found that there is a RESET COUNTER mechanism dealing with the I2C_STATUS_ACK_ERROR, which is in driver/i2c.c, line 1153 to 1161. The Macro I2C_ACKERR_CNT_MAX, as shown below, is defined as 10 in the same file, which means that only if I2C_STATUS_ACK_ERROR appears 10 times, i2c hardware FSM can be reset. And I think that is why the i2c session next to a I2C_STATUS_ACK_ERROR is always timeout.
} else if (p_i2c->status == I2C_STATUS_ACK_ERROR) {
    clear_bus_cnt[i2c_num]++;
    if (clear_bus_cnt[i2c_num] >= I2C_ACKERR_CNT_MAX) {
        clear_bus_cnt[i2c_num] = 0;
        i2c_hw_fsm_reset(i2c_num);
    }
    ret = ESP_FAIL;
} else {

I changed this part to:
} else if (p_i2c->status == I2C_STATUS_ACK_ERROR) {
    clear_bus_cnt[i2c_num]++;
    if (clear_bus_cnt[i2c_num] >= I2C_ACKERR_CNT_MAX) {
        clear_bus_cnt[i2c_num] = 0;
    }
    i2c_hw_fsm_reset(i2c_num);
    ret = ESP_FAIL;
} else {

in which i totally ignore the RESET COUNTER by reset the FSM whenever I2C_STATUS_ACK_ERROR comes out. And this solve the problem.
What I want to ask
What is the RESET COUNTER for? I wonder whether it is fine to simply reset FSM once a ACK ERROR occurs. Will it cause any other problem with out RESET COUNTER mechanism?

Hi @weblqb ,
Can you please provide a bit more details? Which ESP-IDF version are you using? If master, which commit? On which target are you encountering this issue? Can you provide a small reproductible example?
The reset counter is necessary because the I2C hardware bus can get stuck, thus, if we detect an arbitrary amount of ACK error, it is necessary to perform a hardware reset on the bus.

Hi @weblqb ,
Can you please provide a bit more details? Which ESP-IDF version are you using? If master, which commit? On which target are you encountering this issue? Can you provide a small reproductible example?

It must be the master tree because 75ede16b3872b4989bad52728eee4d1dcfd6f46f is only available in master.

The reset counter is necessary because the I2C hardware bus can get stuck, thus, if we detect an arbitrary amount of ACK error, it is necessary to perform a hardware reset on the bus.

Then v4.x and v5.0 need fix.

Hi @weblqb ,
Can you please provide a bit more details? Which ESP-IDF version are you using? If master, which commit? On which target are you encountering this issue? Can you provide a small reproductible example?

@weblqb Could you provide more details? (see above questions)

we are facing the same issue.
We have 2 devices on our bus, and depending on the manufacturing board one is populated and the other is not.
the code is

    error_t err = dac121_init();
    if (err == SYS_OK) {
        dac.model = DAC_MODEL_DAC121;
    } else {
        error_t err = max580x_init(0, MAX580X_I2C_ADDR_DFLT);
        if (err == SYS_OK) {
            dac.model = DAC_MODEL_MAX580X;
        } else {
            return SYS_ENODEV;
        }
    }

With the current I2C code we have
                } else if (p_i2c->status == I2C_STATUS_ACK_ERROR) {
                    clear_bus_cnt[i2c_num]++;
                    if (clear_bus_cnt[i2c_num] >= I2C_ACKERR_CNT_MAX) {
                        clear_bus_cnt[i2c_num] = 0;
                        i2c_hw_fsm_reset(i2c_num);
                    }
                    ret = ESP_FAIL;
                } else {

when failing to find the first DAC, the I2C will not be able to find anymore the second DAC because the state machine is fucked up somehow.
by reducing
#define I2C_ACKERR_CNT_MAX             (1)

The second DAC is correctly seen on the I2C bus.
@o-marshmallow here is the I2C sequence.
W (00:00:00.227) hw: Detected hw type 2
READ 0                         -> DEVICEA  OK
READ 0                         -> DEVICEB OK
WRITEREAD 0               -> DEVICEA  OK
WRITEREAD 0               -> DEVICEB  OK

READ -1                        -> DAC1 ESP_FAIL ON NACK -> DEVICE NOT PRESENT
WRITEREAD 263            -> DAC2 ESP_TIMEOUT

Please either fix the I2C fsm
or change the I2C_ACKERR_CNT_MAX retries to 1.

we are facing the same issue.

Which esp-idf version? ("git describe --tags" output)

we are facing the same issue.

Which esp-idf version? ("git describe --tags" output) And which SoC/module are you using?

updated

@o-marshmallow i confirm you patch works as well.
I'll migrate our baseline to your implementation.
Cheers.

@KonssnoK Thanks for the confirmation! I am going to create an internal merge request for this fix then.

@KonssnoK Thanks for the confirmation! I am going to create an internal merge request for this fix then.

The fix is not yet available in any branch, is there anything wrong?

@o-marshmallow I still cannot find the fix in any branches. What's wrong for this fix?

@o-marshmallow Any update?

@AxelLin Sorry for the delay of response, other high priority tasks came in.
Further tests are required from our side to determine whether this is a hardware issue or a software issue. In fact, this problem doesn't appear on the ESP32 and ESP32-S2 but does appear on other targets I tested, even though the driver is the same.
Once I have determined for sure where the issue is, I will make a "real" fix.

@o-marshmallow
Just wondering if this is related: https://github.com/espressif/esp-idf/pull/10811

@AxelLin Sorry for the delay of response, other high priority tasks came in.
Further tests are required from our side to determine whether this is a hardware issue or a software issue. In fact, this problem doesn't appear on the ESP32 and ESP32-S2 but does appear on other targets I tested, even though the driver is the same.

@o-marshmallow
Did you check https://github.com/espressif/esp-idf/pull/10811 ?
SOC_I2C_CMD_REG_NUM is 16 for esp32 and esp32s2, 8 for other SoCs.

Further tests are required from our side to determine whether this is a hardware issue or a software issue. In fact, this problem doesn't appear on the ESP32 and ESP32-S2 but does appear on other targets I tested, even though the driver is the same. Once I have determined for sure where the issue is, I will make a "real" fix.

@o-marshmallow
So do you have further finding? How is the status?

Hello @AxelLin ,
This was not on my priority list anymore as other tasks came in. I am prioritizing it again, currently checking this could be a hardware issue or not. I will keep you informed.

@o-marshmallow I presume it's it's just a software issue, then? Also ETA on the backports? (Especially release/v5.{0,1}?

Hi @KaeLL ,
Fortunately yes! It was a bug in the I2C timing configuration, backports have been created, they will come soon (v5.0, v4.4, v4.3)

@o-marshmallow
commit  a0f8434 causes new issue: https://github.com/espressif/esp-idf/issues/11249

we are still using the following patch:

should we consider removing it after updating to 3cec3a0026098d1b027f2103ec154a15baf97318 ?

@o-marshmallow
v4.3 branch supports esp32C3, so I think it needs backport fix as well.

@AxelLin The fix is on the way, the internal MR has been created already.
@KonssnoK If the patch is working for you, you can keep it, but ideally, it would be better to integrate the new fix as it used to but to I2C hardware module into an "undefined" behavior.


add description and name to IBAN analyzer

Were forgotten in the last PR for #35

Great, thanks a lot.


Fix impossible type arguments with static methods

Okay, so I had enough time to play around with it during my lunch break and the situation is quite nasty. When you put the relevant sections of our definitions into the TypeScript playground, you'll get a more helpful error message:
Static members cannot reference class type parameters.

Seems fair, so I switched to using new type arguments for our static functions:
abstract class Component<P, S> {
  static getDerivedStateFromProps?<P2, S2>(props: Readonly<P2>, state: Readonly<S2>): Partial<S2>;

  // ...
}

With this the definition won't show any errors anymore, but still remains impossible to employ when extending Component. TS doesn't recognise any type parameters and keeps complaining that they don't match. At this point it's getting deeper and deepr into the rabbit hole!
So I had a hard look again to what the @types/react package does and it turns out they leave both getDerivedStateFromProps and getDerivedStateFromError untyped. The only mention is an interface which is similarly used like our ComponentConstructor interface.
But instead of leaving it completely untyped this PR loosens the types a bit making it possible for the language server to use it for autocompletion and other IDE features 👍 This the best compromise we can make, because this issue can only be properly fixed in TS.
Fixes #1356 .

Coverage remained the same at 100.0% when pulling a8b0740b036360d74bfc6d9d182119555520d4ca on fix_static_typing into 15d4d07d93ff5846e825da4ea81a14fb03327bbd on master.

There doesn't seem to be any plan to fix this in TS, unfortunately: Microsoft/TypeScript#24018

@ascorbic Thanks for the context 👍


Reference blog article on how to expose services to host

It would be good to both document binding services to host and reference your blog article on how to expose dse-docker services to host in the README.md.

Closing this to archive this repository. Check out the new official Docker images from DataStax. Thanks!


Spyder Debugging

Hi,
I'm new to spyder, so I'm sorry if the questions are silly, but this are things I couldn't find answers to yet -

Is there a way in the debugging to display the variables in the callback function, the same as in matlab ?
how can I tell , while debugging, if the console is busy ?
Is there a way to start the debugger at a certain line and not at the beginning of the file ?
How can I debug a function, that i call from the console ?
Thanks !

My answers:

I don't know what you mean exactly by this. Could you clarify it a bit?
There's no way to tell if it's busy or not. We plan to fix that in a future release.
You need to set a breakpoint to do that (by double clicking on the line number area on a non-empty line). Then when you start your debugging session, the debugger will jump to your first breakpoint.
If you defined your function in the console itself, there's no way to debug it. Else you can call it on the debugger, as when calling it in the console.

Thank you for the answers !
I'll try to be more specific. I am referring to the questions in the first post:
Q1. suppose I have the following code stored in the script temp.py
def Ziv ( x, y):
print x+y
def callZiv():
z=20
zz=30
Ziv (z,zz)
callZiv()
I have a breakpoint in the function Ziv in the line print x+y. I want to know who called the function , and also wants to view variables values currently in the caller function(like zz). In matlab, you can see the entire call stack in a listbox, and you can select to change your scope, to the scope of any of the caller functions in the stack, and then the variable explorer will show you the values in the caller function you selected. This is very useful.
Q4. I mean for example, to debug a function in a script. Consider  again the example from Q1,
I want to be able to write in the console :
callZiv ()
and if I have a breakpoint in print x+y, the debugger will stop. (When I try this the function is called in normal mode and not in debug mode, and the breakpoint is not activated). Is there a way to call the function in debug mode from the console ?
Thank you. sorry for many words, I hope it is more clear now.

@freundzi it would really help on our side, if you could style your comments using Github markdown.
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code-and-syntax-highlighting
Thanks

@freundzi, thanks for the detailed answers. My answers:
For Q1.

You asked

I want to know who called the function

I think this is not possible in Python. At least, I'm not aware of that functionality.

You also asked

[I] want to view variables values currently in the caller function(like zz)

For that to happen you need to set a breakpoint inside callZiv, not in Ziv. When the debugger reaches that breakpoint, you need to focus our Variable Explorer, and you'll see what the values of z and zz are.

For Q4.: I think you're looking for something similar to keyboard in Matlab. There are some things like that in Python, but they don't work very well in Spyder.

Also for Q4: there's no way to automatically enter a debugging session after creating a breakpoint and running a file.
In Python, running and debugging are two different operations, and can't be combined at all.

For question 1 and 2, introspection capabilities from python should provide the information, but I don't know how in practice.

For example: http://stackoverflow.com/questions/7272326/introspect-calling-object
But be aware that it can be implementation dependant. I'm not sure that it will work outside of CPython. See https://docs.python.org/3/library/inspect.html#inspect.currentframe

Closing, as this was a request for help more than bug per se.

Cordoba, the debugger don't stop when the breakpoint is marked in the other file (not main file) that is called from the main.
It is a bug ?
Or we can fit this behavior by changing configs ?


Implement topic vs (lengthy) description for organizations

Feature Request
Desired behaviour
User should be able to specify a short topic that shows up in searches, listings, etc.
A longer description would be for when you are viewing the actual organization page, similar to a readme on github
┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Fix Versions: Dockstore 1.6
┆Sprint: Seabright Sprint 5 Electric
┆Issue Number: DOCK-272

Topic is visible in organizations page, searchable in organizations page, visible in organization page.
Description is visible in organization page


Need explanation of $LicenseSKU parameter of Add-WpALicense.ps1

Please see the step 3 in "Script Execution" section. $LicenseSKU parameter is missing in the command sample.
Acutual: C:\Scripts\Add-WpALicense.ps1 -CSV
Expected: C:\Scripts\Add-WpALicense.ps1 -CSV <CSVLocation> -$LicenseSKU <Something>
Additionally we aren't sure how to idetify the value giving $LicenseSKU parameter, so explanation is necessary.

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

ID: efd0452b-0749-f944-84eb-1ffafb152528
Version Independent ID: 0a88d1d5-18fd-4e3d-dba5-0d0db39eebe2
Content: Assigning Workplace Analytics licenses with PowerShell - Workplace Intelligence
Content Source: WorkplaceAnalytics/Use/Assigning-licenses-with-powershell.md
Product: wpa
GitHub Login: @madehmer
Microsoft Alias: v-midehm

@taisino -So sorry for the delayed response. Thank you so much for asking about this! You are right. The team is testing an updated PowerShell script now and as soon as it's approved, I'll update the docs accordingly. Do you still need help or the updated script? I can push to get it to you sooner, in case you're stuck waiting for this.

@madehmer
Thank you very much for your reply. I solved by myself, and my customer doesn't have problem regarding this.
But this update would also help other customer. I'm not push you, but looking forward to the update.

@taisino -This doc is now updated with new PowerShell script that's been tested and approved. Thank you again for your feedback!


MM-10888 Hide parts of combined system messages that don't affect the current user

The redux changes filter out combined system messages that don't relate to the current user while this makes combined system messages for the current user only show the parts that affect the current user. This only affects users that have join/leave messages turned off in Account Settings.
User adding and removing people:

User being added and removed:

Redux PR: https://github.com/mattermost/mattermost-redux/pull/532
Ticket Link
https://mattermost.atlassian.net/browse/MM-10888
Checklist

Added or updated unit tests (required for all new features)

Device Information
This PR was tested on: iOS Simulator

@enahum This is waiting on the Redux PR, but since the Redux PR only has one commit, this can probably be merged once that PR is without updating the package.json.

Are you sure? i would prefer to update it just in case

@enahum You were right. Turns out it did change


Azure Static Website

https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blob-static-website-how-to?tabs=azure-portal

https://github.com/obrienlabs/obrienlabs-dev-website/issues/1


Issue #7

Added demo questions and updated README.md

Superb, thanks @rht6226  ,Happy Hacktoberfest!


latest release - identified as Trojan

Attempt to download and extract latest release (v<IP_ADDRESS>) triggers security warnings from Windows 11. It may be a false-positive issue for a part/segment of code or the EXE package has been compromised.
Windows identifies threat as Trojan, with severe classification.
Any help in determining if downloadable EXE is safe, please reply.

.

Hi Uhuru7050!
Thank you for your post.
The virus warning is false.
The application had a very special logic (for more info see MonitorProcess.cs and WeekNumberMonitor project sources) to clear up they tray icon residing in the tray area after the application has been terminated - I believe that this logic might be what triggered the false classification. I have removed this code and created a new release.
Please report if a virus / trojan threat is still reported on this new version (v<IP_ADDRESS> and onwards).

False positive.


Created a second data structure example

This data structure would allow the "none" directories (that simulate document directories) to be stored in an appropriate manner. Dockets/documents/comment directories are separated to allow for separate downloads of data, and each json file of a document/comment contains pointers that indicate the origin of that document/comment. Attachments are stored alongside the comment of origin.

This pull request will be closed in favor for a new and revised structure.


Fixes : Dailychallenge spam bug

Codecov Report

Merging #28 (7f0fe10) into main (412da13) will decrease coverage by 0.56%.
The diff coverage is 16.66%.

@@             Coverage Diff              @@
##               main      #28      +/-   ##
============================================
- Coverage     49.79%   49.24%   -0.56%
+ Complexity      329      327       -2
============================================
  Files            87       87
  Lines          1990     1994       +4
  Branches        196      197       +1
============================================
- Hits            991      982       -9
- Misses          936      950      +14
+ Partials         63       62       -1

Impacted Files
Coverage Δ

...acter/server/user/public_user/PublicUserService.kt
34.85% <0.00%> (-1.35%)
:arrow_down:

...er/server/daily_challenge/DailyChallengeService.kt
81.81% <33.33%> (-3.55%)
:arrow_down:

... and 4 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


WSO2 APIM 2.6.0 publishing APIs using RestAPIs gives API authentication failure due to No matching resource found in the API for the given request

Using restAPIs, I am creating APIs in publisher and then I am publishing the APIs. Both of the functionalities are working fine. But, I do see one issue while invoking the API.
So to test it, I am subscribing to the API which is published and using correct token I am invoking it. While invoking the API for the first time, I am getting below error
TID: [-1234] [] [2019-10-08 14:58:16,370]  WARN {org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler} -  API authentication failure due to No matching resource found in the API for the given request {org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler}
TID: [-1234] [] [2019-10-08 14:59:29,462]  WARN {org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler} -  API authentication failure due to No matching resource found in the API for the given request {org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler}
This is response when I am getting when I am hitting API
<ams:fault xmlns:ams="http://wso2.org/apimanager/security">
ams:code900906</ams:code>
ams:messageNo matching resource found in the API for the given request</ams:message>
ams:descriptionAccess failure for API: /updatedroles/1.0.0, version: 1.0.0 status: (900906) - No matching resource found in the API for the given request. Check the API documentation and add a proper REST resource path to the invocation URL</ams:description>
</ams:fault>
After pressing Save button from /publisher node, API gets updated and the same resource paths are accessible

Can you please mention the API Manager version that you are using?

@tmkasun : APIM version 2.6.0

@tmkasun :
Any update on this issue? is this valid scenario or am I missing anything?

@malinthaprasan here is the API creation payload used
APICreate_payload.json.txt

@malinthaprasan @tmkasun : can you please share some update?


Support for Python 3.12

We are targeting python 3.12.

https://docs.python.org/3/whatsnew/3.12.html


prisma migrate dev --create-only asks for RESET DB

Bug description
i have an existing database. Created the schema for it with prisma db pull. But then when trying to create a migration baseline running prisma migrate dev it asks to reset the database... adding --create-only doesn't seem to work as espected.
How to reproduce
have a simple database (mysql)
do npx prisma db pull
then prisma migrate dev --name initial-migration --create-only
Expected behavior
since the schema was created from the already existing database, calling migrate dev with --create-only should create a migration.sql file with all the table creations necesary based on the schema. But instead it says it needs to wipe all data from the existing database...
Prisma information
do npx prisma db pull
then prisma migrate dev --name initial-migration --create-only
Environment & setup

OS: win 10
Database: MySQL
Node.js version: v14.18.3

Prisma Version
prisma                  : 4.2.0
@prisma/client          : 4.2.0
Current platform        : windows
Query Engine (Node-API) : libquery-engine 2920a97877e12e055c1333079b8d19cee7f33826 (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 2920a97877e12e055c1333079b8d19cee7f33826 (at<EMAIL_ADDRESS>Introspection Engine    : introspection-core 2920a97877e12e055c1333079b8d19cee7f33826 (at<EMAIL_ADDRESS>Format Binary           : prisma-fmt 2920a97877e12e055c1333079b8d19cee7f33826 (at<EMAIL_ADDRESS>Default Engines Hash    : 2920a97877e12e055c1333079b8d19cee7f33826
Studio                  : 0.469.0

Are you following https://www.prisma.io/docs/guides/database/developing-with-prisma-migrate/baselining?

Are you following https://www.prisma.io/docs/guides/database/developing-with-prisma-migrate/baselining?

i can't get to that point, to baseline you need to have the initial migration files created.
Im trying to create that initial file using a database i have in development that has data in it... i was asuming that calling migrate dev with --create-only would indeed create this migration.sql without touching the data, but it asks to do a hard reset for some reason.
I have read it has something to do with the shadow database being empty and the dev database being populated with tables... so they have diferences so it asks to do a reset... but i would espect the flag "--create-only" to be interpeted by prisma like "just do the sql and leave the databases alone"

So you are currently following https://www.prisma.io/docs/guides/database/developing-with-prisma-migrate/add-prisma-migrate-to-a-project#update-the-development-environment and getting stuck?

These two assumptions are both not correct. Usage of migrate dev is unfortunately currently expected to ask for resets for various reasons. Optimally you can just turn your data into a seed script, and then resetting would not be a problem any more.

Yes but No. I didn't called migrate dev alone... i bringed our little friend called --create-only to the party. That flag should just see the diff between the shadow db and the one pointed in the .env do the SQL with the diffs and shut up...
in a way it feels like the current implementation opted to go for the lazy route... just do a reset if shadow and front db dont look the same... but it is not taking into account the flag and the implications of using it (the developer not wanting to do anything on the db)
if i didn't used the flag then yes, like you said. But using it, it should generate the .sql and end it there.

What I wrote applies to all parameters of migrate dev.
The important part of the question was here though:

So you are currently following prisma.io/docs/guides/database/developing-with-prisma-migrate/add-prisma-migrate-to-a-project#update-the-development-environment and getting stuck?

i read all the docs. What im saying is that it is not correct how it is behaving. The flag name is "create only", not "reset also"... the portion of code in your implementation responsable of resetting should run only if that flag doesn't exist and run once the developer removes the flag and re-runs the prisma migrate dev
Even in the docs it says:

Run the following command to create the first migration without applying it, in case you need to modify the initial migration
prisma migrate dev --name initial-migration --create-only

So in that scenario, the developer want's to see the sql file just for review. Makes no sense to ask for a reset when the intention of the dev was to review BEFORE doing anything.

We are aware of that. See the other issues under the label: https://github.com/prisma/prisma/issues?q=is%3Aopen+label%3A"topic%3A+prisma+migrate+dev+--create-only"+sort%3Aupdated-desc I can not magically make it work different than how it currently works though.
I'll ask again:

So you are currently following prisma.io/docs/guides/database/developing-with-prisma-migrate/add-prisma-migrate-to-a-project#update-the-development-environment and getting stuck?

yes i read that, i read all docs.
The work arround im currently using is:

run npx prisma migrate db pull on the existing db on my dev enviroment
switch the db on .env to point to an empty db
run npx prisma migrate dev --create-only and agree to "reset" -_-
switch the db on .env to point to the db i initially had
"resolve" the initial migration created on step 3 npx prisma migrate resolve --applied ...

and that solves the issue, then i continue normally...


[BUG] - Transaction accepted by node and removed from mempool without being processed

External
Area
Native Tokens    Related to Native Tokens (Mary).
Summary
Minting transaction was accepted by cardano node and removed from mempool without actually being processed.
Steps to reproduce
Cannot reproduce
Expected behavior
Transaction should be rejected when submitted or processed.
System info (please complete the following information):

Running the node and cli inside docker container
HOST OS Name: Ubuntu
HOST OS Version  20.04

cardano-node 1.27.0 - linux-x86_64 - ghc-8.10
git rev 6264c6c6805039625362f3ca5ecd9c24bcb56c24
cardano-cli 1.27.0 - linux-x86_64 - ghc-8.10
git rev 6264c6c6805039625362f3ca5ecd9c24bcb56c24
Screenshots and attachments
P.S. cli_commands.txt contains all the commands and results that were run at the time
P.P.S. For the metadata and tx files, I had to change the extension from .json to .txt to be able to upload to github.
cli_commands.txt
node_logs.txt
5a68bf1b-97ad-44ca-a5cf-350b62f5a0a1_metadata.txt
5a68bf1b-97ad-44ca-a5cf-350b62f5a0a1_tx_not_signed.txt
5a68bf1b-97ad-44ca-a5cf-350b62f5a0a1_tx_raw.txt
5a68bf1b-97ad-44ca-a5cf-350b62f5a0a1_tx_signed.txt

Worth mentioning that all the commands were done via a kotlin wrapper that I've used for a long time already with no issues (for thousands of NFTs minted). That's the first time I had this issue.

In the node_logs.txt, you can see the following transaction: 9ca69efe02469614f349673ce93a46a04a9b955aa9c0325cfb000cb153561929. I searched for it in cardanoscan and it cannot be found at all.

Closing this. If this is still relevant please reopen.


Fix stdlib goto definition for new keyword

Purpose

Fix stdlib goto definition for new keyword

Fixes #21790
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[x] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #22252 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #22252   +/-   ##
=======================================
  Coverage   14.59%   14.59%
=======================================
  Files          51       51
  Lines        1411     1411
  Branches      219      219
=======================================
  Hits          206      206
  Misses       1189     1189
  Partials       16       16

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 5926016...8e69629. Read the comment docs.


Add "Clear and paste" button (or change paste to clear by default)

What's the Problem?
Common workflow when using something like number base converter is to try several values in succession. When pressing "paste", the clipboard contents are added next to existing contents, causing issues. Extra work is necessary to first clear the text box and then paste.
Solution/Idea
Add a button to "clear and paste", or change paste button to clear text box by default
Alternatives
Add a setting for "paste clears text box first"
Priorities
No response
DevToys Version
Version <IP_ADDRESS> | X64 | RELEASE | db9b428 | db9b428
Comments
No response

Hello,
Thanks for this suggestion.
I like better the alternative idea you suggested: Add a setting for "paste clears text box first".
I think I can do that. :)

Hi @soumya92 ,
I added an option to the settings :D
Here is the PR: https://github.com/veler/DevToys/pull/580
It will be shipped in the next update.
Cheers :)