How to set a time buffer to the synth

Documentation Confirmation
I have not found an answer on the documentation
Question's Topic
spessasynth_lib
The Question
I'm using Spessasynth in order to create metronome sounds (i m using noteOn/noteOff, not a sequencer). But I have a hard time to produce a consistent rhythm.
the calls are made on time (i have verified that) BUT sometime the lib need a little bit of time to process the request and, at random, i hear a delay.
I looked at the code and i couldn't find a place where introduce a buffer time in order to give time to process data.
Thanks for your great work
PS, i can help modifying the lib if you need help.

Hi Fanelia,
Can you provide the metronome code you mentioned so I can reproduce this issue?

Hi Fanelia,
Can you provide the metronome code you mentioned so I can reproduce this issue?

Hi
the code is a little complicated...
you can test the issue here
www.nuzic.org/App/
the project is open source and can be found here:
gitlab.com/nuzic/nuzic_app
the sequencer  (part) used is from Tone.js and is in the file APP_Player_controller and is something like this:
part = new Tone.Part(function(time, value){
  //stuff here
  SF_manager.synth.noteOn //etc
   //other stuff here
}

compas_sequence.forEach(item=>{
	let pulseN = Math.round(item[0]*(PPM/60))
	part.add({ time: item[0], note: item[1], durationHz: 10, pulse: pulseN})
})

the entire logic is a little bit more complicated, because the app is doing other things other than processing sounds.
In the app I'm using a modified minimized version that I'm testing.
The modifications consist in accepting note frequencies or midinote+cents on the calls noteON / noteOff.
I'm currently testing the minimized version of the lib here: gitlab.com/nuzic/sf_lib
the "sequencer" here is simpler but still give some lag (randomly)
function TEST_play_a_sequence(PPM){
	let midiNote=36
	let cents=0
	let dt=Math.trunc((60000/PPM)*Math.pow(10, 5))/Math.pow(10, 5)
	let deltas=[]
	let max=10//milliseconds
	console.log("PPM:"+PPM+" dT:"+dt+" acceptable delay:"+max)
	_wait_play(0)
	function _wait_play(iter){
		if(iter<15){
			iter++
			//mod noteOn(channel, midiNote, cents, velocity)
			SF_manager.synth.noteOn(0,midiNote,cents,80)
			d = new Date();
			let s = d.getSeconds();
			let ms = d.getMilliseconds();
			//console.log(s+"."+ms)
			TEST.push((s*1000+ms))
			setTimeout(function () {
				SF_manager.synth.noteOff(0,midiNote,cents)
				_wait_play(iter)
			}, dt)
		}else{
			console.log("delta times")
			for(let i=0;i<TEST.length-1;i++){
				deltas.push([TEST[i+1]-TEST[i]])
				console.log("delta : "+deltas[i])
			}
			let max_dt=deltas.reduce((prop,item)=>{return (item>prop)?item:prop},0)
			let min_dt=deltas.reduce((prop,item)=>{return (item<prop)?item:prop},dt)
			let max_delay=((max_dt-dt)>(dt-min_dt))?(max_dt-dt):(dt-min_dt)
			let pass=(max_delay<max)
			console.log("max delay : "+max_delay+" ----> Pass : "+pass)
		}
	}
}

I know i have made a sort of a mess,our project originally used only Tone.js (no delay problem with only this) to both produce sounds and DOM events.
In order to add more instruments i tried various soundfont libs and i stumbled on your. I started testing and modifying on a local copy of my app in order to understand if we can work with your lib, so i ended putting the mod lib in a gitLab repo instead of properly forking from your repo. Sorry about that.
Still, if you are interested on my mods, i can help and merge with your code.
Again, Thanks for your time!

Hi,
Here's the MIDI Tuning standard specification.
Look into the section called "[SINGLE NOTE TUNING CHANGE (REAL-TIME)]"
To use it, simply use the systemExclusive method.
Here's a helper function I made for you:
/**
     * Tunes a given note to another one
     * @param originalNote {number} the MIDI note that will be affected, 0-127
     * @param program {number} program that the channel must be set to in order for tuning to apply 0-127
     * @param newNote {number} the new note tuning, will effectively replace the value provided at noteOn
     * @param cents {number} the additional cent tuning applied to the new note, 0-100
     */
    function tune(originalNote, program, newNote, cents)  {
        newNote += Math.floor(cents / 100);
        cents %= 100;
        const preciseCents = Math.floor(cents * 163.83);
        synth.systemExclusive([0x7F, 0x10, 0x08, 0x02, program, 1, originalNote, newNote, (preciseCents >> 7) & 0x7F, preciseCents & 0x7F])
    }

And here's a more complete example of using that function:
import { Synthetizer } from "spessasynth_lib"

document.getElementById("go").onclick = async () => {
    const context = new AudioContext();
    const sf = document.getElementById("sf").files[0];
    await context.audioWorklet.addModule(new URL("worklet_processor.min.js", import.meta.url));
    const synth = new Synthetizer(context.destination, await sf.arrayBuffer());

    /**
     * Tunes a given note to another one
     * @param originalNote {number} the MIDI note that will be affected, 0-127
     * @param program {number} program that the channel must be set to in order for tuning to apply 0-127
     * @param newNote {number} the new note tuning, will effectively replace the value provided at noteOn
     * @param cents {number} the additional cent tuning applied to the new note, 0-100
     */
    function tune(originalNote, program, newNote, cents)  {
        newNote += Math.floor(cents / 100);
        cents %= 100;
        const preciseCents = Math.floor(cents * 163.83);
        synth.systemExclusive([0x7F, 0x10, 0x08, 0x02, program, 1, originalNote, newNote, (preciseCents >> 7) & 0x7F, preciseCents & 0x7F])
    }
    await synth.isReady;
    synth.setLogLevel(true, true, true, true);

    let i = 0;
    synth.programChange(0, 80);
    setInterval(async () => {
        i += 10;
        tune(64, 80, 64, i);
        synth.noteOn(0, 64, 127);
        await new Promise(r => setTimeout(r, 10));
        synth.noteOff(0, 64);
    }, 100)
}

Thanks for your time,
still i think this metod will substitute a midi note with another shifted (i can be wrong, i need still to try this solution).
That is ok but in reality what my program do is giving the user the capability to redefine what a note is, so it is possible to define a midinote 36[0 cent] and a 36[50] and a 36[80] and play them all together(strange, yes but...)
well, i will mess around next week.
Thank you very much for your help.

That is ok but in reality what my program do is giving the user the capability to redefine what a note is, so it is possible to define a midinote 36[0 cent] and a 36[50] and a 36[80] and play them all together(strange, yes but...)

tune(1, 0, 36, 0);
tune(2, 0, 36, 50);
tune(3, 0, 36, 80);

synth.noteOn(0, 1, 127);
synth.noteOn(0, 2, 127);
synth.noteOn(0, 3, 127);

will work ;-)

Hi!
regarding my rythm problem, sadly using the new lib didn't change my issue.
the calls for the noteOn functions were done in time, but the sound is randomly delayed.
can it be a problem of the lib time resolution (TICS)?

HI!
regarding my problem, it was a compatibily problem between this lib and the lib Tone.js.
i solved the problem simply not using Tone.js part in order to create a sequence of events.
i have created a specialized sequencer for my app, able to process note and cents, loops etc... and included in the minimized/nmodified version of the spessasynth lib that i'm currently using.
thanks for your advice @spessasus , your work is amazing!!!
PS: nuzic.org/App is available in english (see in app the settings) and the website too (i think). It is a project with the objective to explain music theory with numbers and simple arithmetic. The app is a tool for develop the theory further and for composers to create music without the classical limitation of music theory: for example it is great for creating unconventional rhythms, scales and even modify TET and using microtonal notes (in development)

Glad to hear that your problem was resolved!


Add fontawesome

Thanks! (:

Nice! Seems to be hard to test at this stage.. I think we can merge, though.

Current coverage is 76.30% (diff: 100%)

Merging #40 into master will not change coverage

@@             master        #40   diff @@
==========================================
  Files            29         29
  Lines           325        325
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            248        248
  Misses           77         77
  Partials          0          0

Powered by Codecov. Last update a8596f0...561de11


Export Option to include/produce XML and GUID with exporting scene for Scenery use in MSFS

Current Behavior
No settings for including an XML and GUID on export of models that will be used for Scenery objects in MSFS, such as airport, scenery objects.
Expected Behavior
There should be two option boxes you can tick on to create the XML and GUID's for things exported that will be used for scenery.  From tutorials I have seen online, this existed in the Blender 2.8 exporter system.  I do not see this in the newest Asobo 1.3.3 Exporter.  Am I perhaps missing it?
Steps To Reproduce
Go to export a Cube and go through the selection options in the export settings window.  On mine that I installed today, latest Asobo exporter 1.3.3 and in Blender 3.3.x, I see no options for XML and GUID exporting.  They should be near the top.
Environment
- OS:  Windows 10
- Blender:  3.3.x
- glTF-Blender-IO-MSFS:  1.3.3

Anything else?
No response

Ah soooo....!  Many thanks.  Clicking the LOD button reveals those bits.  Thanks Pyscen312.  Very grateful.
When you export scenery, would you do it all from that small export center?  Just put in the Folder export target and export?  (My apologies, totally new to me.  Usually I am only exporting planes).

Hello,
Yes, you should use the objects panel to export your scenery objects, you can find more information here : https://docs.flightsimulator.com/html/Asset_Creation/Blender_Plugin/The_Blender_Exporter.htm
Thank you for your report


[Improvement] SEO optimization and caching

Hey there!
A few comments what I discovered during my testing today:

Using HTTP/1.1 301 Moved Permanently to redirect content instead of HTTP/1.1 302 Found would be a better choice. Search engines will honor 301 better than 302 (read here for example). This will make Google happier.

Cache control could be improved to avoid reverse proxies will behave uncontrolled and absorb requests that won't end up in the statistics. This would indeed be a requirement to force browser to not cache 301 responses as they would usually do in comparison to 302.

To achieve this, these response headers can easily be added to the Azure Function like this:

I could provide a patch for these lines of code, if desired.
┆Issue is synchronized with this Trello card by Unito

The Azure Function v4 don't have proxies anymore. The Doc of AzUrlShortener currently suggest using Cloudflare rules. However, we could update the doc for 302...

Hi, Can you assign this issue to me? I  would like to work on this.


The suggested extension does not work on modern versions of visual studio.

The suggested extension (https://marketplace.visualstudio.com/items?itemName=ms-devlabs.msdevlabs-pte) does not work on modern versions of visual studio.

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

ID: 79a9c3fe-7f7a-6050-cc6b-79b1882478c0
Version Independent ID: 7680f29b-c977-0c83-bbd5-c9ed35372527
Content: witAdmin Customize and manage objects for tracking work - Azure DevOps
Content Source: docs/reference/witadmin/witadmin-customize-and-manage-objects-for-tracking-work.md
Service: azure-devops-boards
GitHub Login: @chcomley
Microsoft Alias: chcomley

Thanks for your feedback, @jeffersoneagley, I've removed the reference to that extension.


azblob: Added support for getSASURL from specialized clients

[x] The purpose of this PR is explained in this or a referenced issue.
[x] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[x] Tests are included and/or updated for code changes.
[x] Updates to module CHANGELOG.md are included.
[x] MIT license headers are included in each file.

This PR contains the following fixes/features -

Expose GetSASURL on specialized clients - This will let customers call getSASUrl without creating outer BlobClient
client.BlobClient() should pass the credential as well.

/azp run go - azfile


removed import bindings which are not used

Fixes #1813
It resolves the problem of different imports not used in various components.

CONTRIBUTOR checklist (do not remove)
Please complete for every pull request

[x] First-time contributors should sign the Contributor License Agreement.  If you haven't before, wait a few minutes and a bot will comment on this pull request with instructions.
[x] npm run lint:fix has been run and linting passes.
[ ] Mocha, Jest (Storyshots), and components/component-docs.json CI tests pass (npm test).
[ ] Tests have been added for new props to prevent regressions in the future. See readme.
[x] Review the appropriate Storybook stories. Open http://localhost:9001/.
[x] The Accessibility panel of each Storybook story has 0 violations (aXe). Open http://localhost:9001/.
[x] Review tests are passing in the browser. Open http://localhost:8001/.
[ ] Review markup conforms to SLDS by looking at DOM snapshot strings.

REVIEWER checklist (do not remove)

[ ] TravisCI tests pass. This includes linting, Mocha, Jest, Storyshots, and components/component-docs.json tests.
[ ] Tests have been added for new props to prevent regressions in the future. See readme.
[ ] Review the appropriate Storybook stories. Open http://localhost:9001/.
[ ] The Accessibility panel of each Storybook story has 0 violations (aXe). Open http://localhost:9001/.
[ ] Review tests are passing in the browser. Open http://localhost:8001/.
[ ] Review markup conforms to SLDS by looking at DOM snapshot strings.

Required only if there are markup / UX changes

[ ] Add year-first date and commit SHA to last-slds-markup-review in package.json and push.
[ ] Request a review of the deployed Heroku app by the Salesforce UX Accessibility Team.
[ ] Add year-first review date, and commit SHA, last-accessibility-review, to package.json and push.
[ ] While the contributor's branch is checked out, run npm run local-update within locally cloned site repo to confirm the site will function correctly at the next release.

Good find! Adding to the review backlog for this sprint.

@interactivellama This looks good to me, I pulled the branch and verified locally. I left 2 comments to remove two extra imports that were not necessary.

@davidlygagnon I will remove these imports.

Yes - please do, thanks!

@davidlygagnon I have made the commit for the change you suggested.

Thanks @devgopesh for cleaning the codebase up!


Added Typescript typing

Changes Unknown when pulling 1fc2e031aba47c65817949da2c0fd912e4661cfa on onderceylan:master into ** on pbastowski:master**.

Looks fine to me

Thanks guys.

Thanks!


Optimize important code, add distance interaction check.

Hey! I'm happy to be moving off from Citizens to this plugin, but I realized there were some minor issues, so I'm fixing them.
The issues fixed:

Drastically reduced memory allocation in packet listeners. This is really important, since hanging here from GC can cause lag-spikes for players. It was precautionary, since I haven't actually profiled it yet, but I've had problems with plugins that did this in the past, so I've gone ahead and handled that.
There was no distance-check or world-check on player-interaction. This means Freecam or other hacked client features could let you interact with an entity you are nowhere near. I've fixed it so you have to be within 8 blocks to interact with the entity.

Thanks!

Just a heads up, I'm going to submit a few more commits later, when I get to a computer, so, hold off until I say I'm ready for this to be merged.

Alright, all of my optimizations are ready. You can accept the PR now, and make sure it's all good.

Hey! Thanks for opening this PR. I really appreciate the work you've done.
Have you tested the additions you've made? I'll double check before I merge the PR.

Yes! Changes have been tested.

Wonderful! Merging PR. 👍


Release intl4x: 0.9.2

.

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

Contribution guidelines:

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

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

Hmm doesn't work

Hmm doesn't work

Yeah I saw that the tests didn't run for #874, should be fixed now.


fix: Add guard for phantom event

It has to go through captureEvent to have all the context for the event. I am going to ship this and lets see.


Docs: updated names for deprecated streams constants

Description
Docs update: Streams Developer Guide

KEY_SERDE_CLASS_CONFIG and VALUE_KEY_SERDE_CLASS_CONFIG were deprecated in https://kafka.apache.org/11/javadoc/deprecated-list.html and replaced by DEFAULT_KEY_SERDE_CLASS_CONFIG and DEFAULT_VALUE_KEY_SERDE_CLASS_CONFIG

Replaced deprecated constants in example code with up-to-date ones in 11 and all subsequent versions

Related
PR on apache/kafka-site:  https://github.com/apache/kafka-site/pull/191
cc, please review/merge:

@joel-hamill , @JimGalasyn, @guozhangwang

Signed-off-by: Victoria Bialas<EMAIL_ADDRESS>

@londoncalling! Come comment as in kafka-site/191 -- can we update timestamp.extractore to default.timestamp.extractor, too?

Hi Matthias .. sure I can make all those updates. Will get to it tonight .
On Mon, Mar 18, 2019 at 5:24 PM Matthias J. Sax<EMAIL_ADDRESS>wrote:

@londoncalling https://github.com/londoncalling! Come comment as in
kafka-site/191 -- can we update timestamp.extractore to
default.timestamp.extractor, too?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/kafka/pull/6466#issuecomment-474151267, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALHuA5SgkKfmPOhKCU4ZFaOlj8oogOECks5vYC5VgaJpZM4b601X
.

@mjsax , on the most recent commit, I replaced TIMESTAMP_EXTRACTOR_CLASS_CONFIG with DEFAULT_TIMESTAMP_EXTRACTOR_CLASS_CONFIG in the code example for defining a custom timestamp extractor in Developer Guide topic on Configuring a Streams Application
(Same as for https://github.com/apache/kafka-site/pull/191, only on that one multiple versions updated)
If all is good, feel free to merge, or let me know if you need anything else!

Thanks a lot for the PR @londoncalling!

Merged to trunk and cherry-picked to 2.2 and 2.1. Cherry-picking to 2.0 resulted in conflicts.
Might be worth to do a new PR for 2.0 ?


More complete stop words (from Veronis)

See http://clu.uni.no/corpora/1999-1/0042.html

I am assuming @fuhrmanator knows what he's doing, and I'd like to merge his commit before I update cue.language to a mavan build and to jdk8

Here's the original stop-word list: https://web.archive.org/web/20091215150501/http://torvald.aksis.uib.no/corpora/1999-1/0042.html. The previous link is gone so I had to fire up the wayback machine. The source is a linguist from France (Jean Veronis).

Thanks for link I, had already seen it, but not being a Francophone (well failed 'O' level) I just took it as more evidence that you were right. In my experience Jonathan Feinberg is either probably too busy or not too concerned. I suspect the main reason he published the cue.language was he was unhappy with IBM, fortunately Dan Bernier ran with his suggestion and created WordCram essentially an open source version of Wordle, that I've been able to update.


Update to Gradle 4.10.3

This allows the plugin to be build on java 11

Thanks! I truly appreciate the PR and have replicated the changes in the 5.0.0-M2 branch.  I am not actually going to merge this PR - but all the changes were made.  Call me paranoid - but I don't plan on merging compiled code (what a great way to subvert developers workstations? Here I'm helping - you should upgrade the gradle wrapper to this one I provided...  Yeah I could have checked the hash - but running ./gradlew wrapper --gradle-version 4.10.3 is easier).  ;)


Models with the same weights but different graphs have the same hash

EDIT: I had the cause of the problem wrong in the original copy
For example, LLaMA with KV-caching enabled vs. disabled has the same compute graph, and therefore the same mlagility hash. However, those two invocations of LLaMA have completely different compute because the input shapes are completely different (the former has 1D inputs and the latter has 2D inputs). So they should have different mlagility hashes and appear separately in the benchit status.
Giving the two ONNX graphs different model weights does not help the problem because weights are not considered in mlagility hashing.
cc @danielholanda @ramkrishna2910

Proposed fix: consider model's inputs when coming up with the hash:
if hash_inputs:
            hashable_inputs = str(model.graph.input)
            hashable_model = hashable_model + hashable_inputs

I agree that taking the shape of model inputs into account when calculating the hash.
Note: The temporary solution could be potentially dangerous, since the same model might be detected multiple times when weights are loaded/changed. Not sure if we have a way of avoiding that.


Changing number to string in example yaml

This example shows supplying go-version as a number 1.15, this works for version up to 1.19, but with 1.20, it will turn it into a number (1.2) and then back into a string "1.2" making the action use Go 1.2 instead of 1.20.

Why:
I saw someone face this issue and realized the problem came from this example on the docs.
Closes: #25145

What's being changed (if available, include any code snippets, screenshots, or gifs):
Go version type from 1.5 to '1.5' to prevent wrong version after conversion to number.

Check off the following:

[x] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

@SHA65536 Thank you for opening a PR and linking it to your issue! ✨
I'll get this triaged for review! :zap:


Primary use cases?

Hey, I stumbled on this library and I'm really curious about understanding the rationale behind this part of the readme:

The primary goal of DNMD is to explore the benefits of a rewrite of the metadata APIs found in dotnet/runtime.

What are the primary use cases you have in mind to use this library?
I could infer that we have lots of C++ code in dotnet/runtime that is parsing the metadata (mainly in the JIT?). Is it for this particular case first?
Thanks! 🙂

What are the primary use cases you have in mind to use this library?

The clearest non-dotnet/runtime related use case is to fold it into a profiler, code coverage tool, or perhaps debugger that requires being written in unmanaged code. The runtime does provide all interfaces for these tools, but this library permits creation of more self contained tools. I have been asked by tool authors that are restricted to unmanaged code for these types of projects.

have lots of C++ code in dotnet/runtime that is parsing the metadata (mainly in the JIT?).

The JIT defers to the VM, where it is exposed through the JIT interface. You can find the source under src/coreclr/md, which is very old. The VM itself does a lot of metadata reading during type loading.
@jkoritzinsky and I are exploring the feasibility of replacing the current dotnet/runtime implementation. If you read the constraints in the readme, it aligns not only with coreclr but could also potentially apply to mono.

Makes senses, thanks for the details!


cmake: explicitly set language as C

Otherwise CMake looks for both C and C++ compilers, but some embedded environments may not have a C++ compiler available.

Yea, makes sense. Looks good to me. I'll merge it


Add specs for index and subcollections for every route

Depends on:

[x] https://github.com/ManageIQ/topological_inventory-api/pull/142
[x] https://github.com/ManageIQ/topological_inventory-core/pull/111

Not sure why hakiri says it is red, looks like no warnings to me when I click through

@agrare yeah, probably some error in the evaluation. It should be unrelated to this


Example code resulted in error.

[Enter feedback here]
**When entering the 'Set-AdfsSslCertificate -thumbprint []' command an error is returned: errorcode 0x80090322 'while using Negotiate authentication: an unknown security error occurred.'
This is while running elevated PS as admin user and attempting to update our ADFS server as localhost.
Is there a step missing from the instructions?
-Stephen**

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

ID: d8733a32-8eef-bdb8-673f-065e8a5f1e0f
Version Independent ID: f111b377-0dce-d7a6-9483-8830533cacba
Content: Managing SSL Certificates in AD FS and WAP in Windows Server 2016
Content Source: WindowsServerDocs/identity/ad-fs/operations/manage-ssl-certificates-ad-fs-wap.md
Product: windows-server
Technology: ad-fs
GitHub Login: @jenfieldmsft
Microsoft Alias: billmath

#assign:xelu86

Hey @stephenregisterTJT,
Thanks again for contacting Microsoft. We value your feedback.
As we understand it, you're describing an issue with the product compared to an issue with the documentation. GitHub isn't quite the right location if searching for technical support, deeper specifics of the product or feature requests as it is completely outside our scope. If there are any issues within the content itself, please let us know.
Looking into our tech forums, other users experienced the same error but there could be several factors as to why:

The user name or password specified are invalid.
Kerberos is used when no authentication method and no user name are specified.
Kerberos accepts domain user names, but not local user names.
The Service Principal Name (SPN) for the remote computer name and port does not exist.

setspn -D HTTP/SERVERNAME <domain account>
setspn -D HTTP/SERVERNAME.DOMAINAME.COM <domain account>

The client and remote computers are in different domains and there is no trust between the two domains.
Check the Event Viewer for events related to authentication.
Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or use HTTPS transport.
Note that computers in the TrustedHosts list might not be authenticated.

Also came across this:

Installation of "Microsoft BitLocker Administration and Monitoring" has broken PS Remoting.
Solution: https://social.technet.microsoft.com/Forums/en-US/cb71e431-5c4d-4597-b035-2380580a1a95/mbam-25-spn-issue-with-dns-alias-and-reporting?forum=mdopmbam -> Created a DNS Alias for MBAM
Reason for the problem:
SPN has been registered to the user from th MBAM Application Pool:
setspn -l DOMAIN\USER
->http/myserver
->http/myserver.mydomain.ch

We recommend that you engage with the product community or open a ticket with Microsoft Support as not every producible error will be documented in this page.
If the mentioned above does not work, we have additional support forums below:

TechNet: https://social.technet.microsoft.com/Forums/en-US/home
MSDN: https://social.msdn.microsoft.com/Forums/en-US/home
Microsoft Community: https://answers.microsoft.com/

Hopefully one of the community experts may be able to better assist. We will now be closing this thread. Thank you and have a most pleasant day.
#please-close


rethink bus (use/emit) api

emit does not need to be the same as use.
emit does not need multiple events at once.
use might also become cleaner if the multi event support is dropped.

app acts as single bus with send and on methods.
the use method becomes a convenience to send blob events and handle multi-events.
emit is no longer needed.


"createsiteusers" with a CSV file returns the error "line X for user ''Invalid value for 3: Explorer'': '''' Too many errors encountered in CSV file."

Following the "createsiteusers" command documentation here and the CSV Import File Guidelines here, I attempted to create a new user using a CSV file with the following entry:
email address,,,Explorer,None,true
Running the command tabcmd createsiteusers "path to CSV file" resulted in the error:
line email address for user ''Invalid value for 3: Explorer'': ''''
Too many errors encountered in CSV file
None
Exiting...
This was reproduced in v2.0.11 of tabcmd 2.0

This issue is affecting us, too. We've been unable to automate user creation in our Cloud environment with TABCMD 2.0 for three-four weeks now. This is causing a lot of confusion for our users who expect to have access but do not because of this bug. Is there any ETA? Thank you.

I am affected by the same issue. I have found out after trying a bunch of things that you need to submit the arguments in lower case.
"Explorer" will be returned as invalid value, but "explorer" will work. Same with "None" and "none". I ended up using 1 instead of TRUE as well.
The script will now process every line but will also skip them all, returning a "Payload is either malformed or incomplete" error message, so we are still unable to create users.

Any updates?


Add directions for testing self-signed certificates

Self-signed certificates have the benefit of not relying on a CA but can still provide certain security of the control plane network. This document describes the steps needed to test if a switch supports self-signed certificates.

This is good and very useful info.
Is storing certs under /tmp good?  /tmp is cleaned out at reboots.
Also, other things to consider:

OVS stores certs under /var/lib/openvswitch and /etc/openvswitch
directories.  Would storing these under those be good?
When Controller certs are provided to Faucet, they must have the same
permission of user who is running faucet service - normally, this could be
"root" or "faucet".  If faucet, then chowm cert files to facuet:faucet (if
faucet is user and faucet is group)
One other thing to add is if we have more than 1 switch connecting
via TLS to the same controller, how to add certs to the 2nd switch so that
it can work with the already running controller.

Thanks
On Thu, Jul 13, 2017 at 6:04 PM, Josh Bailey<EMAIL_ADDRESS>wrote:

Merged #756 https://github.com/REANNZ/faucet/pull/756.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/REANNZ/faucet/pull/756#event-1163570955, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABmf82YJ9A9lTWECwxeoR6Bf8LoafEL1ks5sNr6CgaJpZM4OXr4X
.

Thanks for the comments.
I've made another PR to make some improvements.

Is storing certs under /tmp good? /tmp is cleaned out at reboots.
My original intention was to write the guidelines as instructions for
testing purpose. I realized somebody may want to run this for real.
Yes It's good to support those as well. I updated the paths in the PR.

Also, other things to consider:

OVS stores certs under /var/lib/openvswitch and /etc/openvswitch
directories. Would storing these under those be good?
Instead of using OVS folders I used /etc/ryu folder instead as this is
not strictly related to OVS.

When Controller certs are provided to Faucet, they must have the same
permission of user who is running faucet service - normally, this could be
"root" or "faucet". If faucet, then chowm cert files to facuet:faucet (if
faucet is user and faucet is group)
Added a comment reminding the user doing that.

One other thing to add is if we have more than 1 switch connecting
via TLS to the same controller, how to add certs to the 2nd switch so that
it can work with the already running controller.
Added a section with the instructions to support that.

Zhiwei
On Thu, Jul 13, 2017 at 10:47 PM, shivarammysore
<EMAIL_ADDRESS>wrote:

This is good and very useful info.
Is storing certs under /tmp good? /tmp is cleaned out at reboots.
Also, other things to consider:

OVS stores certs under /var/lib/openvswitch and /etc/openvswitch
directories. Would storing these under those be good?
When Controller certs are provided to Faucet, they must have the same
permission of user who is running faucet service - normally, this could be
"root" or "faucet". If faucet, then chowm cert files to facuet:faucet (if
faucet is user and faucet is group)
One other thing to add is if we have more than 1 switch connecting
via TLS to the same controller, how to add certs to the 2nd switch so that
it can work with the already running controller.

Thanks
On Thu, Jul 13, 2017 at 6:04 PM, Josh Bailey<EMAIL_ADDRESS>wrote:

Merged #756 https://github.com/REANNZ/faucet/pull/756.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/REANNZ/faucet/pull/756#event-1163570955, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABmf82YJ9A9lTWECwxeoR6Bf8LoafEL1ks5sNr6CgaJpZM4OXr4X
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks Zhiwei.

On Jul 14, 2017, at 3:44 PM, zhiweicen<EMAIL_ADDRESS>wrote:
Thanks for the comments.
I've made another PR to make some improvements.

Is storing certs under /tmp good? /tmp is cleaned out at reboots.
My original intention was to write the guidelines as instructions for
testing purpose. I realized somebody may want to run this for real.
Yes It's good to support those as well. I updated the paths in the PR.

Also, other things to consider:

OVS stores certs under /var/lib/openvswitch and /etc/openvswitch
directories. Would storing these under those be good?
Instead of using OVS folders I used /etc/ryu folder instead as this is
not strictly related to OVS.

When Controller certs are provided to Faucet, they must have the same
permission of user who is running faucet service - normally, this could be
"root" or "faucet". If faucet, then chowm cert files to facuet:faucet (if
faucet is user and faucet is group)
Added a comment reminding the user doing that.

One other thing to add is if we have more than 1 switch connecting
via TLS to the same controller, how to add certs to the 2nd switch so that
it can work with the already running controller.
Added a section with the instructions to support that.

Zhiwei
On Thu, Jul 13, 2017 at 10:47 PM, shivarammysore
<EMAIL_ADDRESS>wrote:

This is good and very useful info.
Is storing certs under /tmp good? /tmp is cleaned out at reboots.
Also, other things to consider:

OVS stores certs under /var/lib/openvswitch and /etc/openvswitch
directories. Would storing these under those be good?
When Controller certs are provided to Faucet, they must have the same
permission of user who is running faucet service - normally, this could be
"root" or "faucet". If faucet, then chowm cert files to facuet:faucet (if
faucet is user and faucet is group)
One other thing to add is if we have more than 1 switch connecting
via TLS to the same controller, how to add certs to the 2nd switch so that
it can work with the already running controller.

Thanks
On Thu, Jul 13, 2017 at 6:04 PM, Josh Bailey<EMAIL_ADDRESS>wrote:

Merged #756 https://github.com/REANNZ/faucet/pull/756.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/REANNZ/faucet/pull/756#event-1163570955, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABmf82YJ9A9lTWECwxeoR6Bf8LoafEL1ks5sNr6CgaJpZM4OXr4X
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


TempFile

im getting
expected str, bytes or os.PathLike object, not _TemporaryFileWrapper
when i use tempfile
im using pysubs2 1.4.2
is there any fix with this? thanks

Sure, can you post the part of your code where you get the error?Dne 11. 4. 2022 6:12 napsal uživatel viperxx01 @.***>:
im getting
expected str, bytes or os.PathLike object, not _TemporaryFileWrapper
when i use tempfile
im using pysubs2 1.4.2
is there any fix with this? thanks
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>


@maierlars :heart_eyes:

Scope & Purpose
Port some small VelocyPack improvements from arangodb/velocypack to arangodb/arangodb

[x] Bug-Fix for devel-branch (i.e. no need for backports?)
[x] Strictly new functionality (i.e. a new feature / new option, no need for porting)
[x] The behaviour change can only be verified via automatic tests

Testing & Verification
This change is already covered by existing tests, such as velocypack tests.

[x] There are tests in an external testing repository (velocypack)
[x] I ensured this code runs with ASan / TSan or other static verification tools

https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/5041/

https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/5049/

https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/5059/


item_height not implemented causes Dropdown selected Option to render outside of control element if height < item_height

https://user-images.githubusercontent.com/82219871/193192844-62dac2bc-ff4a-4ac2-afe7-bd5cccc96f15.mov

what's the corresponding Flutter's widget property?

itemHeight, (and maybe also iconSize)

FYI: in the video I tried to demonstrate 2 issues:
-1- if the app window is "flat", the option list gets cut off,
and more urgent:
-2- how a selected option isn't shown due to itemHeight > Height

1 - that's expected as the dropdown cannot be drawn outside the application window. Flutter dropdown is not a native OS dropdown which has its own "window" - it's just "painted" on a canvas.
2 - have you tried reducing Dropdown's content_padding?

I'll check if I can work with content_padding on this matter; will report back.

Thank you for the update!


session state transition with "depend on" directly to down rather than graceful restart on link loss

While looking at improving the transition speed of bgpd on a link-down event, we found that even when using the "depend on" keyword for a peer relationship, the session would be retried using graceful restart. Only after the timeout of the graceful restart,
the session would transition to down.
It appears that this is unnecessarily delaying the session state transition - while the interface, upon which the seesion depends is
down, it is counter-intuitive to be trying to gracefully restart the session all over again, and not transitioning the state directly to down.
In our case, as we trigger subsequent actions based on the FSM transitions, this unnecessarily delayed these actions by 30 seconds.
The current behavior (graceful restart after session loss) can be retained for normal peering configurations without the "depend on" keyword - as alternate routes may be available to re-establish the session. However, when it is known to the admin, that no alternate routes will be available, doing a faster transition to session down, and skipping the graceful restart, appears to be useful (lower overhead, faster state transition).

There have been some changes to the capability negotiation and graceful restart capability handling. This has been released in 7.0.
You may need to add 'announce restart no' to your config to enforce that GR is off.


Un-managed Disk default set delete disks?

I would recommend that the script in this article be set to just locate the details of the disks rather than delete.  If a person hits this page and doesn't read the details they would delete data.
Set deleteUnattachedVHDs=1 if you want to delete unattached VHDs
Set deleteUnattachedVHDs=0 if you want to see the details of the unattached VHDs

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

ID: 30c2f82a-5f70-ae5e-3e60-9a3146dba1c5
Version Independent ID: 2d8a9a15-1cf6-5624-4cd1-0065f3088f37
Content: Find and delete unattached Azure managed and unmanaged disks
Content Source: articles/virtual-machines/linux/find-unattached-disks.md
Service: virtual-machines-linux
GitHub Login: @ramankumarlive
Microsoft Alias: ramankum

@deltadan Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

CC @cynthn as well. This might be a good thing to consider for other types of docs too. Just food for thought :)

#reassign: @MicahMcKittrick-MSFT

At this point in time we have opted to leave the document as is.
#please-close


What's a good setting for "asyncLoadConcurrency" when rendering the entire world

I'm trying to render a world with around 1.5 million chunks what would be an optimal setting for "asyncLoadConcurrency"? I currently have it set to 1000 but I don't know what's considered "too high" by the documentation.

The server will generally schedule that thing itself. For reference, when a player joins a server it instantly starts asynchronously loading all (10+10+1)^2 = 441 chunks when view distance is 10. If you were to use an async load concurrency of 441, it would mean its as if a player is spawning all the time every tick always keeping 441 chunks queued for loading.
The server will generally handle that fine, but it will cause other loads scheduled such as other players moving around/spawning to slow down.
I think 1000 is as far as you want to take it. Diminishing returns as the server throttles this anyway.

Hey, thanks for elaborating on how it functions! It makes a lot more sense now.


Replace syscall with /x/sys/unix in execution code

Codecov Report

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

@@           Coverage Diff           @@
##           master     #712   +/-   ##
=======================================
  Coverage   62.46%   62.46%
=======================================
  Files           5        5
  Lines         682      682
=======================================
  Hits          426      426
  Misses        160      160
  Partials       96       96

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 a17c105...9e1acba. Read the comment docs.

LGTM


use aiohttp server in the tests

Coverage increased (+0.09%) to 99.82% when pulling 17ebcf03854ac350b8da16e789dc513165c54667 on force_close into c89942e370e33f069b91458b0e645f8ace2735d0 on master.


orthonormalize subblocks when multiple species are present

@arthur-lin1027 have you verified this works?

@arthur-lin1027 have you verified this works?

This works, but still need to confirm how to contract the two different species, and to see if it can learn the energies well

Is this still active?


feat: Support injection of ethereum logs for transactions.

Ethereum logs could be injected for currently running Ethereum transactions or without running an Ethereum transaction.
It could be used to emit ERC721 events while executing substrate transaction for example.

There is an assertion in on_finalize that asserts that CurrentLogs value is not stored at the end of the block; it never leaves memory.
It also affects execution time only a little, as DbWeight measures actual writes, which don't happen there.
The only real overhead is: checking CurrentLogs storage the first time it is accessed, wasm-to-host memory copy on append call, and host-to-wasm copy on the transaction end.
Also, unbounded log data is a problem with the current approach too.

There is an assertion in on_finalize that asserts that CurrentLogs value is not stored at the end of the block; it never leaves memory.

Ah I see missed that part, sounds good then. Still, there are projects not using pallet-ethereum that will pull this change from the Runner, so the CurrentLogs assertion needs to happen in pallet-evm's on_finalize.

It is for production. You can see use case here https://github.com/UniqueNetwork/unique-chain/blob/b86b27d80045514c2aa82c2d28b4251b17fc71b2/pallets/nonfungible/src/lib.rs#LL524C22-L524C22. Substrate call is emitting substrate and ethereum events.

This function is callable from both precompile
https://github.com/UniqueNetwork/unique-chain/blob/develop/pallets/nonfungible/src/erc.rs#L555
And from extrinsic
https://github.com/UniqueNetwork/unique-chain/blob/develop/pallets/unique/src/lib.rs#L926
It is not always run in the precompile context.

@CertainLach Have you ever considered constructing a standalone ethereum transaction and invoke Pallet::<T>::apply_validated_transaction(source, transaction), for example: https://github.com/darwinia-network/darwinia/blob/main/pallet/message-transact/src/lib.rs#L125-L167
You can invoke apply inside your burn substrate call.

@boundless-forest
I don't understand how apply_validated_transaction will help us in this case.
In our chain, NFT/Fungible/Refungible collections are implemented in pallets, and those pallets are exposed as extrinsics.
However, we provide an EVM compatibility layer: every native collection is also represented as a evm contract.
Thus, both substrate users and ethereum users/contracts may manipulate tokens.
We want all token manipulations to be represented as logs on ethereum side, both in the case of ethereum call and in the case of substrate extrinsic call.
The problem is, during plain extrinsic execution, there is no transaction receipt available on ethereum side to attach logs to, and we need to create one.
Or, in case this method was called during ethereum transaction execution, we want to attach this Log to the currently executing transaction.
The other problem this PR solves is substrate event order in case of precompile call.
Let's imagine this precompile:
    #[pallet::event]
    enum Event {
        TestEvent(i32),
    }

    fn precompile_test() {
        deposit_event(Event::TestEvent(2));
    }

   event TestEvent(int value);
   function test() {
       emit TestEvent(1);
       precompile.precompileTest();
       emit TestEvent(3);
   }

The expected order of events on the substrate side is
PalletEvm::Log(encoded(TestEvent(1)));
Precompile::TestEvent(2);
PalletEvm::Log(encoded(TestEvent(3)));

However, because of current event processing (They are stored in memory and only stored after evm execution: https://github.com/paritytech/frontier/blob/master/frame/evm/src/runner/stack.rs#L264), the resulting event order is
Precompile::TestEvent(2);
PalletEvm::Log(encoded(TestEvent(1)));
PalletEvm::Log(encoded(TestEvent(3)));

I don't understand how apply_validated_transaction will help us in this case.

Note that this only works in our specific case, as we use sp_io::transaction. In Ethereum, logs are always supposed to only get appended at the end of the transaction, because anywhere in the middle it can be rolled back.

They are handled the same way as storage access, so this PR unifies storage and log manipulations, they are now both reverted at the same time.

If you don't want the overhead of running EVM, you can also just insert a fake transaction into Pending, like how it did in apply_validated_transaction. I would be more happy to merge a PR adding a function apply_fake_validated_transaction than this PR.

Sometimes we are already in the context of precompile execution, as this function can be called from both substrate extrinsics and ethereum transactions. We can have Option<impl PrecompileHandle>, and either create a new transactions, or append logs to the existing handle, but this becomes a mess, quick.
You don't like automatic flushing done by SignedExtenstion, or the problem is in storing current logs in in-memory storage?

Will this be merged into the master branch? We are experiencing the same situation, any suggestions or reference code?


Details of the deployed application and its URL not getting displayed when executing the command in the terminal

Tutorial: https://developers.sap.com/tutorials/appstudio-fioriapps-mta-build-deploy.html
Hi Colleagues,
While executing "Step 4 Access the application on SAP BTP, Cloud Foundry environment" of this tutorial, when I enter the command cf html5-list -di FioriDemo-destination-service -u -rt launchpad in the terminal to get the details of the deployed application and its URL, it is not fetching any values.
Actual Result in the UI:

Expected Result :

Labels to be added:
Scenario label: SCPTest-fbizapp
Sprint Label: SCPTest-2308A
Landscape Label: Trial3 (AP Region)
Priority: High
Many thanks & regards,
Baskar

Hi Baskar,
I tested this as well. For me it worked without any issues. Could you please re-test, if it works for you now? If not, can we please sync? Might be you are missing some entitlements.
Many thanks,
Birgit

Hi Birgit,
I tried to execute this scenario multiple times in different new accounts in AP Region by following the tutorial.
But the issue remains. Kindly check this issue.
Many thanks & regards,
Baskar

Hi Baskar,
Many thanks for following up. Could you please send me some further information like screenshots, log files, debugging information? Unfortunately I can’t reproduce the issue. 😢
Might be this is also caused by missing BTP entitlements. Could you please send me a screenshot of your entitlements?
Many thanks,
Birgit
Von meinem iPhone gesendet
Am 15.09.2023 um 17:41 schrieb BaskarThambiayah @.***>:

Hi Birgit,
I tried to execute this scenario multiple times in different new accounts in AP Region by following the tutorial.
But the issue remains. Kindly check this issue.
Many thanks & regards,
Baskar
—
Reply to this email directly, view it on GitHubhttps://github.com/sap-tutorials/Tutorials/issues/23160#issuecomment-1721487125, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4J4WJ4JWFR7BHRHKNFX5WLX2RZK3ANCNFSM6AAAAAA3O2K5WI.
You are receiving this because you were assigned.Message ID: @.***>

Hi Birgit,
Thank you so much for your swift response.
cf deploy mta_archives/FioriDemo_0.0.1.mtar was successful and the required services and the relevant keys have got created successfully.
Service key "FioriDemo-repo-host-key" for service "FioriDemo-html5-srv"
Service key "FioriDemo-uaa-key" for service "FioriDemo-xsuaa-srv"
Service key "FioriDemo-dest-content-FioriDemo-destination-service-credentials" for service "FioriDemo-destination-service"
Please find the screenshots attached herewith for your reference.

But while executing the following command in the terminal to get the details of the deployed application and its URL to access the application on SAP BTP, Cloud Foundry environment, it is not loading the details of the deployed application and its URL.
Instead, we are getting the below screen.

Please find the screenshots of entitlement below.

I have also given access your user<EMAIL_ADDRESS>in my subaccount.
https://account.hanatrial.ondemand.com/trial/#/globalaccount/ba7a5e5e-0f30-4cb8-bdc7-5630f2c0777d/subaccount/0ae3c8a6-083c-426d-b0b3-1049d3f7bc92/subaccountoverview
Many thanks & regards,
Baskar

Hi Baskar,
Thanks for adding me to your account. Unfortunately I can’t access the same dev space as you. But at least I can check for the entitlements 😊
When trying to do so I realized my trial account got deleted. Thus I started with a new one. Here are some observations I made. Perhaps this can help to solve your issue. If so I would update the tutorial accordingly.
In my Singapore Subaccount I found the following:
In tutorial Build and Deploy Your SAP Fiori App to SAP Business Technology Platform | SAP Tutorialshttps://developers.sap.com/tutorials/appstudio-fioriapps-mta-build-deploy.html
In step2 4 I found I have several subaccounts and had to choose the correct one. (I can add a note that leaners need to make sure to choose the correct one.)
@.***
With this I was able to execute all steps as described in the tutorial. Then I compared your HTML5 Applications entry in the trial subaccount: It seems your app was deployed to somewhere else – at least I can’t find it under he HTML5 applications. Here is how this should look like:
@.***
In your case it shows an error
@.***
Please check this question: Destination points to the html5-apps-repo instance, which does not contain any HTML5 applications | SAP Communityhttps://answers.sap.com/questions/13620104/destination-points-to-the-html5-apps-repo-instance.html Perhaps it answers your question.
I will now try with a US account. How did you proceed for thisß Did you create a new global account in trial or did you create a new subaccount under your trial account?
Many thanks,
Birgit
From: BaskarThambiayah @.>
Sent: Saturday, 16 September 2023 08:36
To: sap-tutorials/Tutorials @.>
Cc: Selbach, Birgit @.>; Assign @.>
Subject: Re: [sap-tutorials/Tutorials] Details of the deployed application and its URL not getting displayed when executing the command in the terminal (Issue #23160)
Hi Birgit,
Thank you so much for your swift response.
cf deploy mta_archives/FioriDemo_0.0.1.mtar was successful and the required services and the relevant keys have got created successfully.
Service key "FioriDemo-repo-host-key" for service "FioriDemo-html5-srv"
Service key "FioriDemo-uaa-key" for service "FioriDemo-xsuaa-srv"
Service key "FioriDemo-dest-content-FioriDemo-destination-service-credentials" for service "FioriDemo-destination-service"
Please find the screenshots attached herewith for your reference.
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268432678-74131a58-93d8-4edd-b3ec-d9824364666d.png
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268432709-a745f862-e2ee-4da6-8cc8-60dfb13c3093.png
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268432737-4fa712ef-981e-4ff6-8d45-ab4495bc7474.png
But while executing the following command in the terminal to get the details of the deployed application and its URL to access the application on SAP BTP, Cloud Foundry environment, it is not loading the details of the deployed application and its URL.
Instead, we are getting the below screen.
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268432901-f892f7bf-0adb-4059-8b9b-ca097988c30c.png
Please find the screenshots of entitlement below.
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268432960-787f0809-93ea-4f7b-9623-f6a0e78996b0.png
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268432991-f54afb46-6cb1-40e3-8bfa-e3dec3b0229f.png
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268433020-62780913-3429-4534-a8c6-358c77104fb2.png
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268433047-2b6a98f4-ff51-4fb0-8892-48dfdae993e5.png
I have also given access your user<EMAIL_ADDRESS>in my subaccount.
https://account.hanatrial.ondemand.com/trial/#/globalaccount/ba7a5e5e-0f30-4cb8-bdc7-5630f2c0777d/subaccount/0ae3c8a6-083c-426d-b0b3-1049d3f7bc92/subaccountoverview
Many thanks & regards,
Baskar
—
Reply to this email directly, view it on GitHubhttps://github.com/sap-tutorials/Tutorials/issues/23160#issuecomment-1722152996, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4J4WJYXLLM5EHUFK6EDCZDX2VCGVANCNFSM6AAAAAA3O2K5WI.
You are receiving this because you were assigned.Message ID: @.***>

Hi Baskar,
I now also tested it in a US subaccount. I manually created this as a subaccount. If someone uses the default trail account, which is auto created those issues should not appear.
A couple of things, which I noticed we should add:
Cloud Foundry is not enabled by default and a dev space is needed (I will add a remark that this might need to be done.)
The SAP Business Application Studio entitlement needs to be added. Only then it is possible to find it in the service market place. (I will add a remark to the tutorial.)
Same for SAP Build workzone.
In this case I was able to reproduce your issue – it can be resolved by adding the following service plan (under entitlements):
Authorization and Trust Management Service (technical name XSuaa) This should look as follows:
@.***
After adding the service plan I was able to proceed.
I will add a remark in github to try to add the missing service plan I was able to deploy the mtar.
Please let me know, if this helps for you as well.
Many thanks,
Birgit
From: Selbach, Birgit
Sent: Wednesday, 20 September 2023 11:39
To: sap-tutorials/Tutorials @.>; Thambiayah, Baskar @.>
Subject: RE: [sap-tutorials/Tutorials] Details of the deployed application and its URL not getting displayed when executing the command in the terminal (Issue #23160)
Hi Baskar,
Thanks for adding me to your account. Unfortunately I can’t access the same dev space as you. But at least I can check for the entitlements 😊
When trying to do so I realized my trial account got deleted. Thus I started with a new one. Here are some observations I made. Perhaps this can help to solve your issue. If so I would update the tutorial accordingly.
In my Singapore Subaccount I found the following:
In tutorial Build and Deploy Your SAP Fiori App to SAP Business Technology Platform | SAP Tutorialshttps://developers.sap.com/tutorials/appstudio-fioriapps-mta-build-deploy.html
In step2 4 I found I have several subaccounts and had to choose the correct one. (I can add a note that leaners need to make sure to choose the correct one.)
@.***
With this I was able to execute all steps as described in the tutorial. Then I compared your HTML5 Applications entry in the trial subaccount: It seems your app was deployed to somewhere else – at least I can’t find it under he HTML5 applications. Here is how this should look like:
@.***
In your case it shows an error
@.***
Please check this question: Destination points to the html5-apps-repo instance, which does not contain any HTML5 applications | SAP Communityhttps://answers.sap.com/questions/13620104/destination-points-to-the-html5-apps-repo-instance.html Perhaps it answers your question.
I will now try with a US account. How did you proceed for thisß Did you create a new global account in trial or did you create a new subaccount under your trial account?
Many thanks,
Birgit
From: BaskarThambiayah<EMAIL_ADDRESS>Sent: Saturday, 16 September 2023 08:36
To: sap-tutorials/Tutorials<EMAIL_ADDRESS>Cc: Selbach, Birgit<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [sap-tutorials/Tutorials] Details of the deployed application and its URL not getting displayed when executing the command in the terminal (Issue #23160)
Hi Birgit,
Thank you so much for your swift response.
cf deploy mta_archives/FioriDemo_0.0.1.mtar was successful and the required services and the relevant keys have got created successfully.
Service key "FioriDemo-repo-host-key" for service "FioriDemo-html5-srv"
Service key "FioriDemo-uaa-key" for service "FioriDemo-xsuaa-srv"
Service key "FioriDemo-dest-content-FioriDemo-destination-service-credentials" for service "FioriDemo-destination-service"
Please find the screenshots attached herewith for your reference.
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268432678-74131a58-93d8-4edd-b3ec-d9824364666d.png
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268432709-a745f862-e2ee-4da6-8cc8-60dfb13c3093.png
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268432737-4fa712ef-981e-4ff6-8d45-ab4495bc7474.png
But while executing the following command in the terminal to get the details of the deployed application and its URL to access the application on SAP BTP, Cloud Foundry environment, it is not loading the details of the deployed application and its URL.
Instead, we are getting the below screen.
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268432901-f892f7bf-0adb-4059-8b9b-ca097988c30c.png
Please find the screenshots of entitlement below.
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268432960-787f0809-93ea-4f7b-9623-f6a0e78996b0.png
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268432991-f54afb46-6cb1-40e3-8bfa-e3dec3b0229f.png
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268433020-62780913-3429-4534-a8c6-358c77104fb2.png
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268433047-2b6a98f4-ff51-4fb0-8892-48dfdae993e5.png
I have also given access your user<EMAIL_ADDRESS>in my subaccount.
https://account.hanatrial.ondemand.com/trial/#/globalaccount/ba7a5e5e-0f30-4cb8-bdc7-5630f2c0777d/subaccount/0ae3c8a6-083c-426d-b0b3-1049d3f7bc92/subaccountoverview
Many thanks & regards,
Baskar
—
Reply to this email directly, view it on GitHubhttps://github.com/sap-tutorials/Tutorials/issues/23160#issuecomment-1722152996, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4J4WJYXLLM5EHUFK6EDCZDX2VCGVANCNFSM6AAAAAA3O2K5WI.
You are receiving this because you were assigned.Message ID<EMAIL_ADDRESS>

Hi Baskar,
Before this gets lost: did you have a chance to try this out?
Many thanks,
Birgit
From: Selbach, Birgit
Sent: Wednesday, 20 September 2023 14:57
To: 'sap-tutorials/Tutorials' @.>; Thambiayah, Baskar @.>
Subject: RE: [sap-tutorials/Tutorials] Details of the deployed application and its URL not getting displayed when executing the command in the terminal (Issue #23160)
Hi Baskar,
I now also tested it in a US subaccount. I manually created this as a subaccount. If someone uses the default trail account, which is auto created those issues should not appear.
A couple of things, which I noticed we should add:
Cloud Foundry is not enabled by default and a dev space is needed (I will add a remark that this might need to be done.)
The SAP Business Application Studio entitlement needs to be added. Only then it is possible to find it in the service market place. (I will add a remark to the tutorial.)
Same for SAP Build workzone.
In this case I was able to reproduce your issue – it can be resolved by adding the following service plan (under entitlements):
Authorization and Trust Management Service (technical name XSuaa) This should look as follows:
@.***
After adding the service plan I was able to proceed.
I will add a remark in github to try to add the missing service plan I was able to deploy the mtar.
Please let me know, if this helps for you as well.
Many thanks,
Birgit
From: Selbach, Birgit
Sent: Wednesday, 20 September 2023 11:39
To: sap-tutorials/Tutorials<EMAIL_ADDRESS>Thambiayah, Baskar<EMAIL_ADDRESS>Subject: RE: [sap-tutorials/Tutorials] Details of the deployed application and its URL not getting displayed when executing the command in the terminal (Issue #23160)
Hi Baskar,
Thanks for adding me to your account. Unfortunately I can’t access the same dev space as you. But at least I can check for the entitlements 😊
When trying to do so I realized my trial account got deleted. Thus I started with a new one. Here are some observations I made. Perhaps this can help to solve your issue. If so I would update the tutorial accordingly.
In my Singapore Subaccount I found the following:
In tutorial Build and Deploy Your SAP Fiori App to SAP Business Technology Platform | SAP Tutorialshttps://developers.sap.com/tutorials/appstudio-fioriapps-mta-build-deploy.html
In step2 4 I found I have several subaccounts and had to choose the correct one. (I can add a note that leaners need to make sure to choose the correct one.)
@.***
With this I was able to execute all steps as described in the tutorial. Then I compared your HTML5 Applications entry in the trial subaccount: It seems your app was deployed to somewhere else – at least I can’t find it under he HTML5 applications. Here is how this should look like:
@.***
In your case it shows an error
@.***
Please check this question: Destination points to the html5-apps-repo instance, which does not contain any HTML5 applications | SAP Communityhttps://answers.sap.com/questions/13620104/destination-points-to-the-html5-apps-repo-instance.html Perhaps it answers your question.
I will now try with a US account. How did you proceed for thisß Did you create a new global account in trial or did you create a new subaccount under your trial account?
Many thanks,
Birgit
From: BaskarThambiayah<EMAIL_ADDRESS>Sent: Saturday, 16 September 2023 08:36
To: sap-tutorials/Tutorials<EMAIL_ADDRESS>Cc: Selbach, Birgit<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [sap-tutorials/Tutorials] Details of the deployed application and its URL not getting displayed when executing the command in the terminal (Issue #23160)
Hi Birgit,
Thank you so much for your swift response.
cf deploy mta_archives/FioriDemo_0.0.1.mtar was successful and the required services and the relevant keys have got created successfully.
Service key "FioriDemo-repo-host-key" for service "FioriDemo-html5-srv"
Service key "FioriDemo-uaa-key" for service "FioriDemo-xsuaa-srv"
Service key "FioriDemo-dest-content-FioriDemo-destination-service-credentials" for service "FioriDemo-destination-service"
Please find the screenshots attached herewith for your reference.
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268432678-74131a58-93d8-4edd-b3ec-d9824364666d.png
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268432709-a745f862-e2ee-4da6-8cc8-60dfb13c3093.png
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268432737-4fa712ef-981e-4ff6-8d45-ab4495bc7474.png
But while executing the following command in the terminal to get the details of the deployed application and its URL to access the application on SAP BTP, Cloud Foundry environment, it is not loading the details of the deployed application and its URL.
Instead, we are getting the below screen.
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268432901-f892f7bf-0adb-4059-8b9b-ca097988c30c.png
Please find the screenshots of entitlement below.
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268432960-787f0809-93ea-4f7b-9623-f6a0e78996b0.png
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268432991-f54afb46-6cb1-40e3-8bfa-e3dec3b0229f.png
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268433020-62780913-3429-4534-a8c6-358c77104fb2.png
[Image removed by sender. image]https://user-images.githubusercontent.com/60343237/268433047-2b6a98f4-ff51-4fb0-8892-48dfdae993e5.png
I have also given access your user<EMAIL_ADDRESS>in my subaccount.
https://account.hanatrial.ondemand.com/trial/#/globalaccount/ba7a5e5e-0f30-4cb8-bdc7-5630f2c0777d/subaccount/0ae3c8a6-083c-426d-b0b3-1049d3f7bc92/subaccountoverview
Many thanks & regards,
Baskar
—
Reply to this email directly, view it on GitHubhttps://github.com/sap-tutorials/Tutorials/issues/23160#issuecomment-1722152996, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4J4WJYXLLM5EHUFK6EDCZDX2VCGVANCNFSM6AAAAAA3O2K5WI.
You are receiving this because you were assigned.Message ID<EMAIL_ADDRESS>

Hi Birgit,
I tried creating a new Glabal Trial Account -> Subaccount in AP region again and verified that all the required entitlement are in place. Then, tried this scenario execution. But I am getting the same issue in AP Region. Deployment is passed but the cf command  "html5-list -di FioriDemo-destination-service -u -rt launchpad" in the terminal doesn't return any value.
I get the same error again in HTML5 Applications page.

And i have only one subaccount in which i deployed the mtar file. During the deployment, it has created "Destination Service", "HTML5 Application Repository Service" and "Authorization and Trust Management Service" and the relevant service keys successfully.
But i don't know why i get the error in HTML5 Applications page in AP Region only.
I tried adding the Code-Snippet mentioned in the link "https://answers.sap.com/questions/13620104/destination-points-to-the-html5-apps-repo-instance.html" at the end of manifest.json. But sap.cloud is not available.

Kindly check this issue.
Many thanks & regards,
Baskar

Hi Baskar,
Many thanks for your feedback. This seems not to be related to SAP Business Application Studio, but to something in BTP. Could you please open a support ticket for this issue?
Best regards,
Birgit
From: BaskarThambiayah @.>
Sent: Thursday, 5 October 2023 09:07
To: sap-tutorials/Tutorials @.>
Cc: Selbach, Birgit @.>; Assign @.>
Subject: Re: [sap-tutorials/Tutorials] Details of the deployed application and its URL not getting displayed when executing the command in the terminal (Issue #23160)
Hi Birgit,
I tried creating a new Glabal Trial Account -> Subaccount in AP region again and verified that all the required entitlement are in place. Then, tried this scenario execution. But I am getting the same issue in AP Region. Deployment is passed but the cf command "html5-list -di FioriDemo-destination-service -u -rt launchpad" in the terminal doesn't return any value.
I get the same error again in HTML5 Applications page.
[image]https://user-images.githubusercontent.com/60343237/272790570-e0f696e0-9ea6-4c31-b34b-58199456f6b4.png
And i have only one subaccount in which i deployed the mtar file. During the deployment, it has created "Destination Service", "HTML5 Application Repository Service" and "Authorization and Trust Management Service" and the relevant service keys successfully.
But i don't know why i get the error in HTML5 Applications page in AP Region only.
I tried adding the Code-Snippet mentioned in the link "https://answers.sap.com/questions/13620104/destination-points-to-the-html5-apps-repo-instance.html" at the end of manifest.json. But sap.cloud is not available.
[image]https://user-images.githubusercontent.com/60343237/272810495-ecd39e6b-aa7e-432e-a97e-a78ff153dc84.png
Kindly check this issue.
Many thanks & regards,
Baskar
—
Reply to this email directly, view it on GitHubhttps://github.com/sap-tutorials/Tutorials/issues/23160#issuecomment-1748214457, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4J4WJYU2DGT2X2GMDOJNLLX5ZMB5AVCNFSM6AAAAAA3O2K5WKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBYGIYTINBVG4.
You are receiving this because you were assigned.Message ID<EMAIL_ADDRESS>

Hi Birgit,
Many thanks for the feedback.
I compared this scenario execution in US and AP regions.
Below are my observations in US and AP Regions after the deployment of FioriDemo_0.0.1.mtar file.
In US Region:
3 Service Instances got created.

Generated Key for each Service Instance in US Region:

Deployed Application in HTML5 Applications:

In AP Region:

5 Service Instances got created. (2 extra with name undefined-destination-service and undefined-html5-srv)

Generated Key for each Service Instance in AP Region:

Deployed Application in HTML5 Applications:
This page is showing configuration issue.

Also i have observed that in AP Region, it is adding only 61 entitlements. But in US region, there are 72 entitlements got added while creating the subaccount. So i tried to add the missing entitlements in AP Region, but i am getting the error as "This service is not available for new assignments in this subaccount's region."

Below entitlements are missing in AP region.
Business Entity Recognition Trial
Continuous Integration & Delivery
Data Attribute Recommendation
Document Information Extraction Trial
Document Translation
Master Data Integration
Personal Data Manager
PostgreSQL, Hyperscaler Option
SAP Build Apps
SAP Build Process Automation
SAP Graph
SAP Hana Cloud
SAP HANA Schemas & HDI Containers Trial
Service Ticket Intelligence Trial
So i am not sure if this could be the reason for the failure of this scenario execution in AP region.
If you still feel that i want to create a support ticket, please share me the component so that i will create a ticket.
Many thanks & regards,
Baskar

Hi Birgit,
Many thanks for the BCP Component detail. I have raised the BCP Ticket https://support.wdf.sap.corp/sap/support/message/2380141151 against the mentioned component now.
Kind regards,
Baskar

Hi Birgit,
Update: During the validation of this scenario in Jan'24 month, we are facing the same issue in US region as well. Until last month cycle, this scenario was working fine in US region, we faced this issue in AP region only. Now, this issue is occuring in both AP and US Regions.

Kind regards,
Baskar


Broken syncs?

For attention of @mdoering (@gdower)
I have kicked off syncs for World Plants & Ferns yesterday (2021-12-01). Today, I don't see that any processes running. However, about 158 sectors from these GSDs marked with a status "waiting". Is something wrong there?
https://data.catalogueoflife.org/catalogue/3/sector/sync?limit=25&offset=0

Well... there are related interface issues (@thomasstjerne):
Sectors labelled as "waiting" have no option to be re-synced. Button "stop sync" gives error message 404:

I don't know if it is related or not, but the importer hit the database deadlock issue yesterday probably while those syncs were running, so they may have failed and the sync status was not updated from waiting to failed. So this is really issue #793 with dead jobs not leaving the sync queue.

This happened when I had to redeploy/restart the backend some days ago. There was a bug that these syncs did not get marked as canceled, but instead linger on as ghosts. I have changed them to canceled now, please resubmit them if you need to.


[DLRMv2] Compliance checker for new recommender benchmark model for MLPerf Training v3.0.0

Author: Jan Lasek, Nvidia (jlasek_at_nvidia_dot_com)
This pull request add necessary changes to make compliance checker work for the new DLRMv2 benchmark. It also lays the groundwork for 3.0.0 library version.

Prerequisite: https://github.com/mlcommons/logging/pull/297

it might be better to add all the 3.0 rulesets in a stand alone commit, would you like to take a stab at that? a previous example can be found here #263 or let us know if you'd prefer others to do it and you can modify your patch to just add the new benchmark

it might be better to add all the 3.0 rulesets in a stand alone commit, would you like to take a stab at that? a previous example can be found here #263 or let us know if you'd prefer others to do it and you can modify your patch to just add the new benchmark

Hi. I can add this in a separate PR (if anyone hasn't started working on that yet).

Hi @xyhuang and @pgmpablo157321. After merging https://github.com/mlcommons/logging/pull/301 I rebased the PR here and it is ready now. @erichan1 please stamp it if it looks good to you.

@pgmpablo157321 please merge


Switch to pytest from nose

In response to issue https://github.com/letmaik/rawpy/issues/156.
Kept the changes to a minimum and tried to mimic the setup as closely as possible.

As this is my first time contributing, please tell me if I'm doing something out of convention. I held back the urge to reformat the python files with black as that wasn't part of the issue I was resolving :D

There is one last reference to nose in setup.py which I'm uncertain about:
https://github.com/letmaik/rawpy/blob/6dd8d8b21821012e5a94c9984b0efb6acb6fb256/setup.py#L264-L267
Should I just remove 'nosetests' from the list?

There is one last reference to nose in setup.py which I'm uncertain about:
https://github.com/letmaik/rawpy/blob/6dd8d8b21821012e5a94c9984b0efb6acb6fb256/setup.py#L264-L267
Should I just remove 'nosetests' from the list?

Yes, just remove that. It's some left-over cruft from the past...
Looks good otherwise, thanks!


Issue with Before Button Visibility in Slider

Current Behavior
The "Before" button on the website does not satisfies to the requirement of hiding when a scrollbar is above it.
You can find it here
Desired Behavior
The "Before" button should be modified to hide when a scrollbar is above it.
Screenshots / Mockups

Contributor Guides and Resources

🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🖥 Contributing to Meshery Website
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

This is a bug. Thanks for calling this out, @surajvast1. Are you wanting to work on this one or are you opening it for general help?

I would like to open it for general help

@hardikn13 someone will surely assign you this !!


Use email as field name instead of username

Hello, Frankie!
First, I want to thank you for this fantastic job; it has helped me a lot in a few projects (both personal projects and for school). I'm posting this issue because in auth/jwt/login, I want to keep using email authentication, but I want to use "email" as the name of the corresponding field, instead of the current name, which is "username". I would like to accomplish the following:
POST /auth/jwt/login HTTP/1.1
Content-Type: application/x-www-form-urlencoded
accept: application/json
Host: <IP_ADDRESS>:8000
Connection: close
User-Agent: Paw/3.1.10 (Macintosh; OS X/10.15.4) GCDHTTPRequest
Content-Length: 39

email=example%40uc.cl&password=hellohello123

Instead of the current:
POST /auth/jwt/login HTTP/1.1
Content-Type: application/x-www-form-urlencoded
accept: application/json
Host: <IP_ADDRESS>:8000
Connection: close
User-Agent: Paw/3.1.10 (Macintosh; OS X/10.15.4) GCDHTTPRequest
Content-Length: 39

username=example%40uc.cl&password=hellohello123

What should I overload in the source code to rename the "username" field to "email" on that login request?
Any help would be much appreciated.

Hello 👋
Glad it helps 😃
Well the issue with this is that it internally uses the OAuth2 flow provided by FastAPI with the OAuth2PasswordRequestForm class: it closely follows the OAuth2 spec and so defines the field as username. From my experience, it has never caused any particular issue, but I would be interested why you specifically need the field to be named email 🙂
Now, to solve this, I fear there is no easy way. You best bet is to reimplement the get_auth_router method. I think you can write something like this (not tested):
from fastapi import APIRouter, Depends, Form, HTTPException, Response, status
from fastapi.security import OAuth2PasswordRequestForm

from fastapi_users import models
from fastapi_users.authentication import Authenticator, BaseAuthentication
from fastapi_users.db import BaseUserDatabase
from fastapi_users.router.common import ErrorCode

def get_auth_router(
    backend: BaseAuthentication,
    user_db: BaseUserDatabase[models.BaseUserDB],
    authenticator: Authenticator,
) -> APIRouter:
    """Generate a router with login/logout routes for an authentication backend."""
    router = APIRouter()

    @router.post("/login")
    async def login(
        # Ask for the two fields in the request
        response: Response, email: str = Form(), password: str = Form()
    ):
        # Manually instantiate an `OAuth2PasswordRequestForm` with their values
        credentials = OAuth2PasswordRequestForm(email=email, password=password)
        user = await user_db.authenticate(credentials)

        if user is None or not user.is_active:
            raise HTTPException(
                status_code=status.HTTP_400_BAD_REQUEST,
                detail=ErrorCode.LOGIN_BAD_CREDENTIALS,
            )

        return await backend.get_login_response(user, response)

    if backend.logout:

        @router.post("/logout")
        async def logout(
            response: Response, user=Depends(authenticator.get_current_active_user)
        ):
            return await backend.get_logout_response(user, response)

    return router

Then, you'll have to call this custom method instead of the one provided:
# Before
auth_router = fastapi_users.get_auth_router(jwt_authentication)

# After
auth_router = get_auth_router(jwt_authentication, user_db, fastapi_users.authenticator)

Note that you'll loose the Swagger authentication integration by doing this.
Hope it helps 👍

Amazing! Thanks for your detailed answer. Will try to implement this! Thanks again!

Well the issue with this is that it internally uses the OAuth2 flow provided by FastAPI with the OAuth2PasswordRequestForm class

But why is that so? Is the OAuth2PasswordRequestForm sent somewhere outside? I tried to track it and it looks like the form is passed to user_manager.authenticate where it is torn down to username and password.
The problem with this form is that Swagger shows login endpoint form with extra fields (grant_type, scope, client_id and client_secret) and it looks untidy.

It comes from the OpenAPI specification, which only supports a few security schemes: https://swagger.io/docs/specification/authentication/ Using Using the OAuth2 Password flow is the only way of getting username/password fields into Swagger.


Update kubectl to latest version

Change kubectl to use latest GA version and not alpha version.

Awesome, thanks!


Epic: Pageserver internal catalog

Motivation
Currently in pageserver we have to maintain some amount of metadata. Metadata is used to properly load tenants and timelines and deal with non-atomic actions (such as bootstrapping a timeline from scratch using initdb).
There are two parts of the problem. If we take a look on a pageserver with 100k tenants on it then loading process has to open ridiculous number of files. Pageserver is supposed to operate with high number of tenants attached to it, but with most of them not being active (i e without running compute).
It has to list <data_dir>/tenants directory, load tenant config which is a separate file. Then for each tenant we list its timelines directory to learn which timelines are there. Then for each timeline we load metadata file and list the directory to learn which layer files are there.
The second part of problem are so-called mark files. When we need to perform some non atomic actions we use specially named files which indicate that some operation had started so we know if this file is still present then the operation must've been interrupted. So if the operation was interrupted by a crash restart we can clean up the traces of unfinished operations, or resume it whatever is more appropriate.
Examples of mark files include TimelineUninitMark which is used during timeline creation, Tenant ignore mark file which is used to temporarily exclude tenant from working set, Tenant attaching mark which is used to continue interrupted attach operations. There are also temporary tenant directories which are used during tenant initialization.
Working with mark files is non trivial and cumbersome. Tenant timeline deletion is another example of that.
DoD
Problems above are solved. There are no mark files, and metadata is stored in a way that allows to quickly load it
Implementation ideas

We can use Timeline kv store to store metadata. This has the downside that currently this kv store is tied to postgres semantics. GC and compaction desnt work for anything except postgres pages.
Store a log, much like timeline manifest mentioned in the first link below. Needs some truncation strategy. We can groom it once in a while
Use SQLite or some other embedded solution. This particular one allows for cool introspection method. We can have an API method that allows to query this internal SQLite database. This can help for debugging/investigations

Note that there also needs to be some migration strategy. Whichever option we pick will need to have some gradual adoption plan.
The idea might be to concentrate needed apis in some struct Catalog first, and then modify implementation of the Catalog struct so it writes metadata into two places, and after that completely switch it so it uses only new solution.
### Tasks

Other related tasks and Epics

Timeline Manifest
RFC on how to perform tenant/timeline operations atomically
Slack discussion

This has the downside that currently this kv store is tied to postgres semantics. GC and compaction desnt work for anything except postgres pages.

KV storage consists of two parts - first one perform mapping of Postgres key (pgdatadir_mapping) and another one is pure KV storage where key and value are opaque.
Also GC and compaction has nothing to deal with Postgres pages - them operate with layers, not with pages.
The main drawback of using KV storage for storing this data is that this data is more or less temporary, while KV storage is persistent, including eviction to S3. But may be it is not so big problem...

Use SQLite or some other embedded solution.

There may be problems with concurrent access if hundreds of active tenants will try to access the same embedded engine. SQLite is very primitive concurrency control mechanism. But once again - it may be not a problem, if operation requiring access to this engine are quite rare.

and another one is pure KV storage where key and value are opaque.

They are sort of opaque. The storage operate with Lsn's and updates will keep history which needs compaction which has different meaning from our current compaction. Our compaction expects postgres specific keys to be present in the keyspace, I think gc also does that.
We can make it work, but this will require changes to make our kv storage truly opaque. I wouldnt underestimate the amount of required changes. Imagine how many edge cases it will create because iof two significantly different modes (catalog vs usual tenant)

SQLite is very primitive concurrency control mechanism

Yes, I dont think this can be a problem. I would implement this as a Catalog actor which processes messages one by one. This should be pretty simple to reason about and load shouldnt be that high. This is all metadata after all

We are adding a tenant-wide manifest as part of #8088 -- this can perhaps be extended in future to track non-archived timelines as well if we choose.


Fix parallel test run failure for devfile integration test

What type of PR is this?
/kind bug
What does does this PR do / why we need it:
It supports parallel test run on kubernetes cluster.
Which issue(s) this PR fixes:
Fixes #2954
How to test changes / Special notes to the reviewer:
Kubernetes job should pass on travis.

prow failure
/retest

prow failure
/retest

Created issue for the error https://travis-ci.com/github/openshift/odo/jobs/323318598#L1078 in https://github.com/openshift/odo/issues/2997

Tracked the failure in https://github.com/openshift/odo/issues/2998
/retest

Error :
[odo]  ✗  Waiting for component to start [4m]
[odo]  ✗  waited 4m0s but couldn't find running pod matching selector: 'deploymentconfig=nodejs-701733464-idsm-app'
Deleting project: juehwrzamz
Running odo with args [odo project delete juehwrzamz -f]
[odo] This project contains the following applications, which will be deleted
[odo] Application app
[odo] This application has following components that will be deleted
[odo] component named nodejs-701733464-idsm
[odo] No services / could not get services
[odo]  •  Deleting project juehwrzamz  ...
[odo]
 ✓  Deleting project juehwrzamz [6s]
[odo]  ✓  Deleted project : juehwrzamz
Deleting dir: /tmp/701733464
• Failure [251.976 seconds]
odo debug command tests
/go/src/github.com/openshift/odo/tests/integration/cmd_debug_test.go:17
  odo debug on a nodejs:latest component
  /go/src/github.com/openshift/odo/tests/integration/cmd_debug_test.go:40
    should expect a ws connection when tried to connect on different debug port locally and remotely [It]
    /go/src/github.com/openshift/odo/tests/integration/cmd_debug_test.go:41
    No future change is possible.  Bailing out early after 241.601s.

    Running odo with args [odo push --context /tmp/701733464]
    Expected
        <int>: 1
    to match exit code:
        <int>: 0

Issue already tracked in https://github.com/openshift/odo/issues/2877
/retest

/approve

prow failure.
retest

level=error msg="Attempted to gather ClusterOperator status after installation failure: listing ClusterOperator objects: Get https://api.ci-op-v7c54631-34074.origin-ci-int-aws.dev.rhcloud.com:6443/apis/config.openshift.io/v1/clusteroperators: dial tcp <IP_ADDRESS>:6443: connect: connection refused"
level=info msg="Pulling debug logs from the bootstrap machine"

/retest


OrderDetails should include all available data from an order

Is your feature request related to a problem? Please describe.
When getting all the open orders through orders = await Order.get_remote_orders(session, acct), the returned list of orders is missing a lot of the useful information from each order like the underlying, the legs information, the date and time it was placed, etc. that are present in the order_data dictionary that is being pulled in get_remote_orders.
Describe the solution you'd like
The returns orders list should include all the information pulled from the API or at least the ones related to the order and that could be used for order management for example, especially the 'legs' information would be very useful.
I will try to work on it if I can figure it out. If I understand this correctly, the OrderDetails dataclass has to be updated (?).
Misc
Why is there a need for OrderDetails in the first place? Can't all this be stored in the Order class directly? Or was that a structure to allow for other functionality that I have not yet seen or have not yet been developed?

I haven't looking into the actual call results, so just a fresh answer here.  I definitely see why leg's are missing, they never get instantiated within Order.from_dict.  Looks like it was just accidentally left off - just a guess here.
I'm not sure why the date's are missing, those look fine to me.  My best guess without digging deeper is that it may have been a limitation of the API or they changed something.  The API is pretty good, but there are still areas with mismatching keys.

I add some more of the details locally, it add more data to the details of the Order object. Not sure how to do the PR now. got to learn how to do that properly... ;)


Add more user administration capabilities

Should be able to remove a user from a team at least.
Also useful -- edit user roles, add/remove system admins.

Resolved by #183


BZ-1296017 - IllegalAnnotationsException 'JAXB can't handle interface…

…s.' in kie-server

@etirelli please take a look

+1, looks good!


making a request on behalf of someone else.

we need to enable this scenario - the person complaining/ making a request on behalf of someone else.
For both registered users and guest users
Process:
[ ] Reporter information
Fields:

Name
Individual/ Org
Primary Contact/ Mobile
Secondary Contact/ Landline
Email
Address
Location Description/ Landmarks
City
District
GN

- [ ] Recipient information

[x] Include radio button - on behalf of someone else
[x] Include instruction:
If the location where help is required differs from the address given, please fill in this section w/ the recipient's address details

Fields:

Individual/ Org
Primary Contact/ Mobile
Secondary Contact/ Landline
Email
Address
Location Description/ Landmarks
City
District
GN

tested and merged


docs: replace docker with podman

I mistakenly assumed that all options in docker is the same as podman, turns out it wasn't the case

Then I will have to edit it tomorrow, using the multi staged build suggested by one comment in the thread. But for now, the docs contains a misinformation.

ok, I guess we can have a separate page for podman too.


Independent EDA member jobs

Commit descriptions
096757f
Changes from using relative directories to absolute directories in namelist.atmopshere, streams.atmosphere, and most YAML files.  The purpose is to allow for applications (only Variational for now) to be run in a different directory than the run directory.  This facilitates extending the Variational application to an ensemble of running tasks more simple.
57109f0
Several scripts are renamed for clarity, and the changes are cascaded through the rest of the workflow

clean-hofx.csh -> CleanHofX.csh
clean-variational.csh -> CleanVariational.csh
hofx.csh -> HofX.csh
jediPrep.csh -> PrepJEDI.csh
variationalPrep.csh -> PrepVariational.csh
variational.csh -> Variational.csh

cc33314
Addresses third bullet of #20.
Move background state preparation from Variational (formerly variational) to PrepVariational (formerly variationalPrep) to reduce wall-time in CyclingDA task.
e2b0799
Very small clarification to a comment
2ca1535
Small refactoring in HofX and RTPP that will also be used in the Variational scripts in the next commit
b43fc56 + ddc2a46
Closes #30.
Enables the Variational application to operate on a single member of an ensemble cycling setup OR a standalone single-state cycling setup.  Each member has its own job in a separate run directory under CyclingDA/DATEDIRECTORY/run.  Adds an EnsembleOfVariational application that carries out the single EDA executable when useEnsembleOfVariational is True, the default choice being False.
0d883bd
Fixed a bug in config/modeldata.csh, which only would have triggered of nEnsDAMembers is set larger than 80.
Testing
Currently running 2 full cycles with the following 4 setups.  All 4 setups have completed at least 1 cycle.  Will update when the suites finish.

OIE120km

DAType: 3denvar
DAType: eda_3dvar

useEnsembleOfVariational: False

(1) nEnsDAMembers: 5
(2) nEnsDAMembers: 80

useEnsembleOfVariational: True

(3) nEnsDAMembers: 5

O30kmIE120km

(4) DAType: 3denvar

Note that the base branch is feature/variationalPrep, because this PR depends on #31.


GDExtension: Use correct return pointer for validated calls that return Variant

Fixes https://github.com/godotengine/godot/issues/83016
Fixes https://github.com/godotengine/godot/issues/83097
Since I don't presently have a way to reproduce the bug, this will need some testing.

Thanks!


Add bootstrap-retry-max-attempts flag.

Closing in favor of https://github.com/ava-labs/avash/pull/141


distilled module

Hello,
Thank you for the nice work!
In detectors_template.py, I could not import distilled_modules file
Where can I find distilled_modules?

Thank you!

Hello,
I have update the code, it should be under pcdet/models/distilled_modules/.

Thank you for the swift reply!


[FEATURE] Could we please have Claude 3 Support

Describe the feature you'd like
I would like to request that Flowise add support for Anthropic's latest language model, Claude 3. Claude 3 was released in August 2023 and offers significant improvements over previous versions, including more reliable and insightful responses, expanded knowledge, and enhanced safety features. Some key capabilities of Claude 3 that would be valuable in Flowise include:

Improved reasoning abilities for answering complex questions and analyzing information
Expanded knowledge cutoff of August 2023 for more up-to-date information
More nuanced and careful handling of sensitive/controversial topics
Enhanced ability to engage in open-ended conversations and provide thoughtful opinions
Stronger safety constraints to avoid harmful or biased outputs

Adding support for Claude 3 would allow Flowise users to leverage the latest advancements in language AI to build more capable and robust conversational flows and knowledge bases. It would help keep Flowise on the cutting edge as an AI-powered automation platform.
Additional context
Some additional details and considerations for this feature request:

Claude 3 has a similar API to previous Claude models, so integration may be relatively straightforward from a technical perspective. However, there may be some new API parameters or usage guidelines to implement.

Anthropic's usage policies and pricing for Claude 3 may need to be reviewed to ensure compliance and assess feasibility/cost of supporting it in Flowise.

User documentation and templates may need to be updated to cover Claude 3 specific features, best practices, and examples.

It would be ideal to allow users to easily switch between different Claude model versions (Claude 1, 2, 3) on a per-flow basis, to allow flexibility for different use cases and cost/performance tradeoffs.

Please let me know if you need any other information to consider this feature request. I believe Claude 3 support would be a valuable addition to keep Flowise at the forefront of practical AI technology. Thank you for your consideration!

in work! it takes a little bit longer as we are also bringing the multi modal capability as well

Released to v1.6.2


Integrate User dashboard with server api

Describe the bug/feature
Feature to be added :-

User can get his profile data from the database and will be shown on user's dashboard
Update or upload his/her profile informations including profile pic, badges, bio , description, social links etc.

Additional context
@rockingrohit9639 @kanak22, please assign, I'd like to work on it :)

I have assigned you this issue. You are given 6 days to complete it.

go ahead :))