Thank you Note 2017

Hi @volkanceylan . I am writing this issue to say how much i appreciate the software that you created! Really man, i can't thank you enough!
I am using Serenity for almost a year now with the only purpose to help Bulgarian people with their medical appointments because in that case the country is real sh-t,
and as a fellow developer that is trying to work on full time job, to keep his knowledge up to date, to have a personal life and to help a little bit on other people, i can only say Thank You Man, you are the best!
Happy New Year if you see this late, and if some day i make any money of this i will buy a ticket to have a drink with you with the Best Bulgarian Rakia that i can find!

Thanks Svet I appreciate you and your support as far:) Happy New Year and looking forward to meet, really happy to hear that thing works!

Agreed, we very much appreciate the work you and the other contributors have done!

Thank you @volkanceylan , Happy new year to you too
Serenity ......... Excellent work.

Totally agree too! The software is visionary and your dedication is wonderful.  I look forward to renewing the support contract next year.

@volkanceylan
Thank you for the great tool and support.... Happy new year.

Wait!!
My case is a little selfish. You @volkanceylan and your team not only gave us an awesome platform, but in my case you gave me back the confidence to go back to programming.
As an employee in a software company, I started as a programmer and I move my way to manager, project manager, even a little sales, but in that transition I had to give up programming in favor of other, more manage-y, skills.
At some point with so much new technology I felt really out of place (Yay! I'm old!) but with Serenity I finally understand many of the concepts that were completely different from VB6, and how all these technologies comes together.
I don't have Serenity in any production app just because I'm not there yet (too risky), but with a little more of swimming in the code, I will be ready.
Thank You @volkanceylan and your team for this, for giving me back my hobby and my passion.
Happy New Year for all or you!
Gus.

Yes,, it's a great framework, thank you @volkanceylan. A healthy 2018 for everybody here. Technically spoken, I am wondering if the ASP.NET MVC webservices provided by the Serene platform actually can be re-used in a Xamarin mobile context.  (or with some minor additional programming effort)

Happy new year.
In my opinion, Serenity is an unique ASP.NET MVC platform. There is no alternative to Serenity at the moment (I believe).
Thank you @volkanceylan  and others who contributes.

I would also like to leave my thanks and wish everyone and @volkanceylan in particular a very Happy New Year. I appreciate the patience you have all shown and appreciate the support from everyone over 2017. May you all have a prosperous and productive 2018.


Using the speech API always produces an OPTIONS request causing additional latency

Confirm this is a feature request for the Node library and not the underlying OpenAI API.

[X] This is a feature request for the Node library

Describe the feature or improvement you're requesting
I use the client API in the following way:
const response = await openai.audio.speech.create({
  model: "tts-1",
  voice: "Nova",
  speed: 1,
  input: "Some sentence",
});

const arrayBuffer = await response.arrayBuffer();
const blob = new Blob([arrayBuffer], { type: 'audio/mpeg' });
const url = URL.createObjectURL(blob);
// ...

In the network tab of the Chrome Dev Tools, I saw that this always results in two  requests, one OPTIONS request and one subsequent POST with the actual payload and the audio response. The OPTIONS request introduces an additional latency of about 200ms. My question is if there is no way around that. "Options" sounds a bit like its result should be cached, but I have no clue.
Thanks!
Additional context
No response

The SDK is just issuing a POST request with the built-in fetch API, so I don't believe this is specific to this library?
If you can show that it only happens with this library (and would be helpful to check if it's only that endpoint), I'd be happy to reopen.

I'll try to reproduce in a minimal example. Hopefully I won't take too long...


seq: v3 support

@alainjobart @michael-berlin let me know what you think about this approach.
The grammar change allows us to treat all FROM clauses
uniformly. Additionally, we also address the awkard
requirement of adding 'from dual' for sequence constructs.

This change is

PTAL
This is the v3 work for sequences.
I found one limitation wrt legacy inserts: One cannot insert arbitrary values into a table. In MySQL, the autoinc value gets automatically updated. But in our case, the sequence remains unaffected.
I think this is something we can live with. We'll see.
This is a fairly big change involving:

vschema
planbuilding
vindexes
execution
tests and example

I still need to add support for the 'FOR' construct. That will be in a new PR.

And... next value for is also done.


Could not install the app on the device, read the error above for details.

Scanning 551 folders for symlinks in E:\gz\App\node_modules (19ms)
Starting JS server...
Building and installing the app on the device (cd android && gradlew.bat installDebug)...
java.lang.NullPointerException
at org.gradle.api.internal.classpath.DefaultModuleRegistry.getExternalModule(DefaultModuleRegistry.java:69)
at org.gradle.api.internal.DefaultClassPathProvider.findClassPath(DefaultClassPathProvider.java:46)
at org.gradle.api.internal.DefaultClassPathRegistry.getClassPath(DefaultClassPathRegistry.java:34)
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:47)
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:36)
at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html

This question has plagued me for a whole day, even if I make a new project

Hey, thanks for reporting this issue!
It looks like your description is missing some necessary information. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported.
I am going to close this, but feel free to open a new issue with the additional information provided. Thanks!


Managed classes

Issue: https://github.com/ChrisDill/Raylib-cs/issues/121
Pls give me some feedback!

I think Init should be private and be automatically called when the window is constructed

I think Init should be private and be automatically called when the window is constructed

I updated it already, what you think now?

Or should we do everything static?
Just with a managed class... so it is not a mess in 1 class (Raylib)?
Because doing that to an object makes not much scenes because it would not possible to get more then one of them.

Or should we do everything static?
Just with a managed class... so it is not a mess in 1 class (Raylib)?
Because doing that to an object makes not much scenes because it would not possible to get more then one of them.

I would not make it static if you want to be able to use IDisposible and a finalizer. Unfortunately both of those cannot be used with a static class.

Or should we do everything static?
Just with a managed class... so it is not a mess in 1 class (Raylib)?
Because doing that to an object makes not much scenes because it would not possible to get more then one of them.

I would not make it static if you want to be able to use IDisposible and a finalizer. Unfortunately both of those cannot be used with a static class.

Well but is that importand that they have IDisposible and a finalizer?

Or should we do everything static?
Just with a managed class... so it is not a mess in 1 class (Raylib)?
Because doing that to an object makes not much scenes because it would not possible to get more then one of them.

I would not make it static if you want to be able to use IDisposible and a finalizer. Unfortunately both of those cannot be used with a static class.

Well but is that importand that they have IDisposible and a finalizer?

Its importent if you dont want to have to make sure to close the window when your done with it.

But you need to get sure all the time.
Main file:
    public virtual void Dispose() {
        if (!this.Headless) {
            if (this.Settings.IconPath == string.Empty) {
                ImageHelper.Unload(this.Logo);
            }

            this.Content.Dispose();
            this.Window.Dispose();
            this.AudioDevice.Dispose();
            GuiManager.ActiveGui?.Dispose();
        }

        SceneManager.ActiveScene?.Dispose();
    }
    ```

##Vote!
should it get converted to static? (it make not much scenes to convert that to a non static class)
Yes = Thumb up! (Pls give some feedback to!)
No = Thump down! (Pls give some feedback to!)

That is how it looks in static:
public static class Window
{
    /// <summary>
    /// Initializes the application window with the specified width, height, and title if not already initialized.
    /// </summary>
    /// <param name="width">The width of the window.</param>
    /// <param name="height">The height of the window.</param>
    /// <param name="title">The title of the window.</param>
    public static void Init(int width, int height, string title)
    {
        if (IsReady()) return;
        Raylib.InitWindow(width, height, title);
    }

    /// <inheritdoc cref="Raylib.WindowShouldClose"/>
    public static bool ShouldClose() => Raylib.WindowShouldClose();

    /// <inheritdoc cref="Raylib.TakeScreenshot(string)"/>
    public static void TakeScreenshot(string path) => Raylib.TakeScreenshot(path);

    /// <inheritdoc cref="Raylib.IsWindowReady"/>
    public static bool IsReady() => Raylib.IsWindowReady();

    /// <inheritdoc cref="Raylib.IsWindowFullscreen"/>
    public static bool IsFullscreen() => Raylib.IsWindowFullscreen();

    /// <inheritdoc cref="Raylib.IsWindowHidden"/>
    public static bool IsHidden() => Raylib.IsWindowHidden();

    /// <inheritdoc cref="Raylib.IsWindowMinimized"/>
    public static bool IsMinimized() => Raylib.IsWindowMinimized();

    /// <inheritdoc cref="Raylib.IsWindowMaximized"/>
    public static bool IsMaximized() => Raylib.IsWindowMaximized();

    /// <inheritdoc cref="Raylib.IsWindowFocused"/>
    public static bool IsFocused() => Raylib.IsWindowFocused();

    /// <inheritdoc cref="Raylib.IsWindowResized"/>
    public static bool IsResized() => Raylib.IsWindowResized();

    /// <inheritdoc cref="Raylib.IsWindowState"/>
    public static bool IsState(ConfigFlags state) => Raylib.IsWindowState(state);

    /// <inheritdoc cref="Raylib.SetWindowState"/>
    public static bool SetState(ConfigFlags state) => Raylib.SetWindowState(state);

    /// <inheritdoc cref="Raylib.ClearWindowState"/>
    public static void ClearState(ConfigFlags state) => Raylib.ClearWindowState(state);

    /// <inheritdoc cref="Raylib.ToggleFullscreen"/>
    public static void ToggleFullscreen() => Raylib.ToggleFullscreen();

    /// <inheritdoc cref="Raylib.MaximizeWindow"/>
    public static void Maximize() => Raylib.MaximizeWindow();

    /// <inheritdoc cref="Raylib.MinimizeWindow"/>
    public static void Minimize() => Raylib.MinimizeWindow();

    /// <inheritdoc cref="Raylib.RestoreWindow"/>
    public static void Restore() => Raylib.RestoreWindow();

    /// <inheritdoc cref="Raylib.SetWindowIcon"/>
    public static void SetIcon(Image image) => Raylib.SetWindowIcon(image);

    /// <inheritdoc cref="Raylib.SetWindowIcons"/>
    public static unsafe void SetIcons(Image* images, int count) => Raylib.SetWindowIcons(images, count);

    /// <inheritdoc cref="Raylib.SetWindowTitle(string)"/>
    public static void SetTitle(string title) => Raylib.SetWindowTitle(title);

    /// <inheritdoc cref="Raylib.SetClipboardText(string)"/>
    public static void SetClipboardText(string path) => Raylib.SetClipboardText(path);

    /// <inheritdoc cref="Raylib.SetWindowPosition"/>
    public static void SetPosition(int x, int y) => Raylib.SetWindowPosition(x, y);

    /// <inheritdoc cref="Raylib.SetWindowMonitor"/>
    public static void SetMonitor(int monitor) => Raylib.SetWindowMonitor(monitor);

    /// <inheritdoc cref="Raylib.SetWindowMinSize"/>
    public static void SetMinSize(int width, int height) => Raylib.SetWindowMinSize(width, height);

    /// <inheritdoc cref="Raylib.SetWindowSize"/>
    public static void SetSize(int width, int height) => Raylib.SetWindowSize(width, height);

    /// <inheritdoc cref="Raylib.SetWindowOpacity"/>
    public static void SetOpacity(float opacity) => Raylib.SetWindowOpacity(opacity);

    /// <inheritdoc cref="Raylib.EnableEventWaiting"/>
    public static void EnableEventWaiting() => Raylib.EnableEventWaiting();

    /// <inheritdoc cref="Raylib.DisableEventWaiting"/>
    public static void DisableEventWaiting() => Raylib.DisableEventWaiting();

    /// <inheritdoc cref="Raylib.GetScreenWidth"/>
    public static int GetScreenWidth() => Raylib.GetScreenWidth();

    /// <inheritdoc cref="Raylib.GetScreenHeight"/>
    public static int GetScreenHeight() => Raylib.GetScreenHeight();

    /// <inheritdoc cref="Raylib.GetRenderWidth"/>
    public static int GetRenderWidth() => Raylib.GetRenderWidth();

    /// <inheritdoc cref="Raylib.GetRenderHeight"/>
    public static int GetRenderHeight() => Raylib.GetRenderHeight();

    /// <inheritdoc cref="Raylib.GetMonitorCount"/>
    public static int GetMonitorCount() => Raylib.GetMonitorCount();

    /// <inheritdoc cref="Raylib.GetCurrentMonitor"/>
    public static int GetCurrentMonitor() => Raylib.GetCurrentMonitor();

    /// <inheritdoc cref="Raylib.GetMonitorPosition"/>
    public static Vector2 GetMonitorPosition(int monitor) => Raylib.GetMonitorPosition(monitor);

    /// <inheritdoc cref="Raylib.GetMonitorWidth"/>
    public static int GetMonitorWidth(int monitor) => Raylib.GetMonitorWidth(monitor);

    /// <inheritdoc cref="Raylib.GetMonitorHeight"/>
    public static int GetMonitorHeight(int monitor) => Raylib.GetMonitorHeight(monitor);

    /// <inheritdoc cref="Raylib.GetMonitorPhysicalWidth"/>
    public static int GetMonitorPhysicalWidth(int monitor) => Raylib.GetMonitorPhysicalWidth(monitor);

    /// <inheritdoc cref="Raylib.GetMonitorPhysicalHeight"/>
    public static int GetMonitorPhysicalHeight(int monitor) => Raylib.GetMonitorPhysicalHeight(monitor);

    /// <inheritdoc cref="Raylib.GetMonitorRefreshRate"/>
    public static int GetMonitorRefreshRate(int monitor) => Raylib.GetMonitorRefreshRate(monitor);

    /// <inheritdoc cref="Raylib.GetWindowPosition"/>
    public static Vector2 GetPosition() => Raylib.GetWindowPosition();

    /// <inheritdoc cref="Raylib.GetWindowScaleDPI"/>
    public static Vector2 GetScaleDpi() => Raylib.GetWindowScaleDPI();

    /// <inheritdoc cref="Raylib.GetMonitorName_"/>
    public static string GetMonitorName(int monitor) => Raylib.GetMonitorName_(monitor);

    /// <inheritdoc cref="Raylib.GetClipboardText_"/>
    public static string GetClipboardText() => Raylib.GetClipboardText_();

    /// <inheritdoc cref="Raylib.CloseWindow"/>
    public static void Close()
    {
        if (!IsReady()) return;
        Raylib.CloseWindow();
    }
}

We could do even something like:
public static class Window
{
    public const string NativeLibName = "raylib";

    [DllImport(NativeLibName, EntryPoint = "InitWindow", CallingConvention = CallingConvention.Cdecl)]
    public static extern void Init(int width, int height, string title);

    [DllImport(NativeLibName, EntryPoint = "WindowShouldClose", CallingConvention = CallingConvention.Cdecl)]
    public static extern bool ShouldClose();

^^ That is my favorite solution.

I do not think the Window class should be static.
Some static helper methods for common use cases I think are a good idea, but applications can have more then one window. I am concerned about going down one path and then, (for example), raylib improve multi window support and we have to refactor everything.

I do not think the Window class should be static. Some static helper methods for common use cases I think are a good idea, but applications can have more then one window. I am concerned about going down one path and then, (for example), raylib improve multi window support and we have to refactor everything.

Well then lets add mutli window support in this PR too.

looks not really like you can impliment Mutliple windows, well you can create more then 1 but you can just manage 1.

The larger the scope of this PR, the harder it is to merge. All code has a maintenance burden. All changes incur risk.
My point about multi-window was an example, not a new requirement for merging.

i wanna change it laiter back, but idk if it makes that much scenes to do the Window for now not static

I think Init should be private and be automatically called when the window is constructed

Id rather have the constructor privated and Init be static and return the new window.

in think something like this should be implemented in separate package and keep Raylib-cs just binding to raylib, but that just my opinion i don't know if anyone would agree

@anggape,
I agree, and if it is going to be implemented here, it should be done very carefully and minimally.

@anggape, I agree, and if it is going to be implemented here, it should be done very carefully and minimally.

A own project some like Raylib-cs.Managed.csproj

I close this pull request, because i think we should move to a own project that handle that.


V1.4 update immutability

closes #132
Create getter methods copy within the following classes:

Participation
Tutorial
Person
Attendance

Used stream to copy List and List in Tutorial/Person class and Participation

Team decision to make the classes involved mostly mutable


Update failed

Microsoft PowerToys version
<IP_ADDRESS>
Running as admin

[ ] Yes

Area(s) with issue?
Installer
Steps to reproduce

2021-12-01.txt
✔ Expected Behavior
to install the update succesfully
❌ Actual Behavior
It didnt
Other Software
No response

Duplicate of #14701

Thanks for reporting this. This issue is a duplicate.
I'm linking this issue to #14701 to centralize the discussion thread for tracking.
Thanks for your help to make PowerToys a better piece of software!

Hi @brent-schulze  ,
What method did you use for the original installation? Windows Store?
Could you please send a bug report?
Right-click on the PowerToys icon in the tray menu and select Report Bug

Drag and drop report into a GitHub comment.

After sending the bug report, so we can analyze what's going on, there's something you can do to fix this:
1 - Uninstall PowerToys.
2 - See if the PowerToys install directory (default: C:\Program Files\PowerToys) is still there. If it is, delete it manually.
3 - Install PowerToys. (Please use the Github release for this)
Please let us know if this works for you.


⚠ Beulah Revival Network has degraded performance

In df84a65, Beulah Revival Network (https://beulah.clicki.digital) experienced degraded performance:

HTTP code: 200
Response time: 6699 ms

Resolved: Beulah Revival Network performance has improved in 5a6f812.


Uncaught TypeError: jatos.jQuery.Deferred is not a function

A subject could not submit some survey results on button click. I was able to have them send a screenshot of the error, but couldn't get any system info (other than Chrome 90).

Looks like jatos.js was not yet finished initializing. What version of JATOS are you running? And do you use jatos.onLoad in your experiment?

I'm running v3.5.6.
Good catch, I don't have jatos.onLoad in this specific component. Here's a minimal example of the component:
jatos.showBeforeUnloadWarning(true);

// Function used to check if all questions were filled in survey after submit button clicked.
function checkInfo() {
    var values = $("#grid-survey").serializeArray();

    jatos.addJatosIds(grid_survey);
    jatos.startNextComponent(grid_survey);

  return true;
}

If jatos.onLoad() is needed for jatos.showBeforeUnloadWarning(true); then this makes sense and you can close this. It's mostly odd because this is the only report of the issue out of 150+ participants.

Yes, this can happen if one doesn't use jatos.onLoad. jatos.onLoad's responsibility is mostly to provide a way to ensure that jatos.js is properly initialized and this means mostly that it received some additional data from the JATOS server (e.g. IDs, session data). Only then it calls the callback function in jatos.onLoad. The thing is jatos.js initializes anyway with or without provided jatos.onLoad callback. But if you do not use jatos.onLoad you can't be sure that jatos.js is already initialized, but you need it for calling other functions like jatos.addJatosIds or jatos.startNextComponent. Since the initialization is pretty fast under normal circumstances your study will still work in most cases (in your case 149 out of 150) - but then you have an participant with a internet hiccup and it fails. If you can be sure that none of your code in your study uses jatos.js in the first couple second that it takes for initialization of jatos.js it's probably fine to not use, but as a general rule I recommend strongly to always use jatos.onLoad.

Awesome, thank you for the detailed response! I appreciate your work on this project.


Showcase Submission for challenges/166-image-to-ascii

Thank you Aryan Pahade for your contribution! A member of the Coding Train team will review it shortly.

Python ASCII
Aryan Pahade

Cool!


Help with troubleshooting "gRPC keepAlive support"

I apologize for this issue, but: the Flutter project is moving forward very fast (congratulations on closing the "Unfork Flutter for web" project). Since March, blocking issues for me is implementation of protobuf and gRPC.
Without perfect gRPC client it is difficult to create robust Flutter mobile applications:

protobuf 3 JSON serialization incompatibility (just now SOLVED in https://github.com/dart-lang/protobuf/pull/274, thanks a lot)
missing gRPC client KeepAlive support. Please treat this issue as lobbying to solve the https://github.com/grpc/grpc-dart/issues/157.

These issues are already filled on the grpc repo, which is the appropriate place for them. tracking them here isn't necessary.


Different theme style when compared to demo site

Thanks for this awesome theme! I installed it on my ghost instance and the style is very different when compared to your blog. Only system font is available, the image inserted does not fit all the way to the edge of the card.

I'm also seeing 404 errors for bulma css

The text in mobile site is very small when compared to your blog

I had to use the full URL to the font files in the font.css for my site using Fizzy... like this...

I'm also seeing 404 errors for bulma css

I'm seeing a .map at the very end of each asset file, I am assuming the relative file path is broken. You may want to check the actual file path as well as the asset files referencing in the template.

Thanks for the information


spec/lex.dd: Remove HexString from grammar

Hex strings have been obsolete since 2.086.

I suggest at least adding a link in the \x string escape docs:
See also: $(REF hexString, std,conv)

Actually I can do it in another pull, I'm working on the escape sequence docs now anyway ;-)

Now done in #3245.


[WIP] Test Changes Needed for EventSource Nuget Package

This PR is to validate that changes being made to CoreCLR in support of the EventSource nuget package will not break CoreRT when they are mirrored.

These changes will be merged into CoreCLR and then will come in as a mirror PR.


security: add size limit to file uploads and lobbies

Feature:

add limit to file upload
add limit to lobby

I'm not a huge fan of the DiscordContext being passed as context parameter

This also contains a memory leak fix.


No convenient way for accessing image labels

Image labels can be created within the Dockerfile with the LABEL instruction.
Although not officially documented, we could get these via the already implemented manifests:

V2 S1 they are stored in the first element of the history array, and
V2 S2 they are stored in the config array.

On quay.io there's an API endpoint for getting labels, which requires a manifestref that must be fetched via the listRepoTags endpoint first.

Although not officially documented...

For forward-looking images, it's probably best to look at the OCI docs.  For labels/annotations, the relevant spec sections are here, here, here, and here (although the spec doesn't have much to say about how to assemble annotations from those sources (see this comment).

Thanks for those pointers. I got the above information from a the Quay team directly, which is currently the source of truth. Of course this might change in the future but for now this is what we're working with.
Since Quay currently emits V2 S1 manifests I started implementing the V2 S1 label parser. It's pretty straight forward as the v1compat struct history array is already part of what we have. See how the Label is stuff into that from this fixture example.


Fixed the name of the menu item

The menu item was incorrectly listed as "Expose Application", corrected it to "Expose an API" and also included the link where the full instructions can be found.

@ajafry : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Generate deno_versions.bzl from GitHub API data

@alexeagle I already have a script that can do all of the heavy lifting with the API and checksums, but not sure on how it should be used. My thinking is something like this:

GitHub Actions workflow automatically runs the script on a normal schedule (e.g. weekly)
Script gets updated release and hash info and regenerates deno_versions.bzl file
(possibly exit early if last version added to repo is same as current version)
If there are changes to the file, commit the changes to the repository

Things I'm not sure about:

How many versions should we let the file accumulate, and how often should it add new ones?
How should the changes be committed? Maybe git-auto-commit?
Should this also create a new release/tag whenever it commits a change? Using an untagged version of Bazel rules is awkward.

In other repos I manage like rules_nodejs we have a bot send us PRs when there's a new version to mirror, e.g. https://github.com/bazelbuild/rules_nodejs/blob/stable/.github/workflows/update-nodejs-versions.yml
I think this works well enough, the volume of PRs is low enough that it's not much burden.
I think the mirroring should be orthogonal to the release process for this ruleset.

Awesome! This is super similar to the deno script I have, so I could make some small modifications to it to have behave exactly the same.

Migrated to https://gitlab.com/aspect-build/rules_deno/-/issues/12


Release v0.5.0

Changes

Breaking Change: Renamed Controller to VolumeManager, to better describe what it does.
Breaking Change: Renamed SdMmcSpi to SdCard
Breaking Change: AcquireOpts now has use_crc (which makes it ask for CRCs to be enabled) instead of require_crc (which simply allowed the enable-CRC command to fail)
Breaking Change: SdCard::new now requires an object that implements the embedded-hal DelayUs trait
Breaking Change: Renamed card_size_bytes to num_bytes, to match num_blocks
More robust card intialisation procedure, with added retries
Supports building with neither defmt nor log logging

Added

Added mark_card_as_init method, if you know the card is initialised and want to skip the initialisation step

Removed

Breaking Change: Removed BlockSpi type - card initialisation now handled as an internal state variable

Hey @rust-embedded-community/all, can I get a look over this new release? Thanks!

@thejpster looks good, I've migrated my code to this new version and will test tomorrow.
PS: Maybe the team is not public but I don't see if you tagged the rust-embedded-community/all team

Pinging @rust-embedded-community/all

Ahh, https://doc.rust-lang.org/rustdoc/write-documentation/the-doc-attribute.html#inline-and-no_inline is a good idea, yes. I'll open a ticket for that.

Did you merge the missing field fix before merging the release?
Also: someone needs to tag the main branch and do a cargo publish.

@eldruin did you merge the unused field fix before merging the release?

yes, I did.

Ah but this release branch targets main and not develop. So changes that appear after the branch is cut need merging into the release as well otherwise they are missed. It allows you to have experimental work going on but still have a relatively stable release branch for pre-release testing.

I see. I did not notice the branch difference, sorry about that.


Fix memory leak caused by a typo in RoundTrip()

There was a typo in the RoundTrip() function, the function called by onEOFReader was using the wrong parameter "rc" instead of "r".
This should fix #1, the memory leak was reproduceable in the application im working on and was fixed by this.

Oh wow. Thanks a lot.


Remove stylelint-config-standard (temporarily)

... while waiting for stylelint webpack v4 compatibility.

Nevermind ... I just removed stylelint-webpack-plugin in 65366db ; we still have stylelint in general, though.


Fix keyboard overlaying modalBottomSheet

Description
If a TextField is inside a modalBottomSheet, once the keyboard is displayed, it overlays the modal. The expected behaviour would be the modal to move above the keyboard, so it would be fully visible.
Original commit from @crimsonsuv (https://gist.github.com/crimsonsuv/b25d5ebd04236f9be2aa66accba19446). I just port it to the newest bottomSheet widget.
Related Issues
This PR fixes #18564
Tests
I tested it with a personal project. Before the bottomSheet was covered by the keyboard and after this commit it was over the keyboard as expected. I even test it with some margin and no issue was found.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read Handling breaking changes). Replace this with a link to the e-mail where you asked for input on this proposed change.
[x] No, this is not a breaking change.

Does this work if the combined height of the bottom sheet and the soft keyboard is greater than the available height, and the bottom sheet's content isn't scrollable? That would be a typical problem to crop up in landscape mode.

It looks like the associated issue has been closed since this was last updated. I am going to close this PR then, but if you would like to revisit it and discuss this change further, please feel free to reopen. Thanks! :)


Feature/add styling

Adds some basic styling and moves a couple components around a little bit in preparation for turning the projects into image cards. Open to thoughts and suggestions.
Potential future improvements

move away from global styles toward using css modules
new project name :satisfied:

@NimaBoscarino
I want to keep this PR from getting too big, so I'm submitting this one as is and will continue in a new branch.

This looks SOOOO much better than it used to. Thanks so much Taylour!!

Really good calls on all these UI/UX decisions 👍


Check for TLS1.3 in CMake build

This sets the CMake variable TS_USE_TLS13 appropriately.

[approve ci]


Update docs for environment variables

Describe your changes

Please include a summary of the changes and the related issue/task. Please also include relevant motivation and context. List any dependencies that are required for this change, including links to other pull requests/branches in other repositories if applicable.

Issue ticket number and Jira link

Please include the Jira Ticket Number and Link for this issue/task.

https://jira.mitre.org/browse/REMS-595
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] Ensure the target / base branch for any feature PR is set to dev not main (the only exception to this is releases from dev and hotfix branches)

Checklist for conducting a review

[ ] Review the code changes and make sure they all make sense and are necessary.
[ ] Pull the PR branch locally and test by running through workflow and making sure everything works as it is supposed to.

Workflow
Owner of the Pull Request will be responsible for merge after all requirements are met, including approval from at least one reviewer. Additional changes made after a review will dismiss any approvals and require re-review of the additional updates. Auto merging can be enabled below if additional changes are likely not to be needed. The bot will auto assign reviewers to your Pull Request for you.

Playwright tests failed due to node dependencies, which were not touched in this PR


It seems to add unnecessary white space after math to stem conversion

Some weird and unnecessary (?) space is added before and after stem[...]:
https://github.com/metanorma/reverse_adoc/blob/99ec3a1164289f9fc2736d770406d9b09e20f787/lib/reverse_adoc/converters/math.rb#L14
For example:
require "reverse_adoc"
s = "Converted <math><mi>x</mi></math>, but some odd spacing was added."
ReverseAdoc.convert(s, mathml2asciimath: true).strip
# => "Converted stem:[x] , but some odd spacing was added."
ReverseAdoc.convert(s, mathml2asciimath: false).strip
"Converted stem:[<math><mi>x</mi></math>] , but some odd spacing was added."

I have strong suspicion that this is an intentional tradeoff to avoid gibberish in situations like something<math></math> which would be otherwise converted to somethingstem:[]. But for short inline formulas this is somewhat harmful, as illustrated above. That space before a comma is not only ugly, but may also cause a line break.
I have two ideas how to fix the issue:

Using a different delimiter, perhaps zero width space, or zero width non-break space, or zero width joiner. Note that these aren't actually spaces, they belong to formatting (Cf ) rather than space (Zs) category. I'm not sure of implications. See: https://jkorpela.fi/chars/spaces.html
Some smart detection whether space is really needed or not. If this is difficult at parse time, then we can temporarily insert some private-use characters or sentinels, and replace them during post-processing.

@opoudjis Thoughts?

We could apply a similar logic to what we have here:
https://github.com/metanorma/coradoc/blob/main/lib/coradoc/reverse_adoc/converters/a.rb#L27-L34
Ie. add spaces only when they are really needed.


strange pigeon log

pigeon v.1.9.1 logs and after some time got jailed
time="2023-10-05T20:37:58Z" level=info msg="signer loop"
time="2023-10-05T20:37:58Z" level=info msg="attester loop" x-correlation-id=ckfht9jusabhtbe25qo0
time="2023-10-05T20:37:58Z" level=info msg="checking if validator is staking"
time="2023-10-05T20:37:58Z" level=info msg="event watcher loop" x-correlation-id=ckfht9jusabhtbe25qq0
time="2023-10-05T20:37:58Z" level=info msg="validator is staking"
time="2023-10-05T20:37:58Z" level=error msg="couldn't get events" action=handle-gravity-batch-send-events chain-reference-id=base-main error="block range too large" x-correlation-id=ckfht9jusabhtbe25qq0
time="2023-10-05T20:37:58Z" level=error msg="error returned in process loop" err="block range too large"
time="2023-10-05T20:37:59Z" level=info msg="attester loop" x-correlation-id=ckfht9rusabhtbe25qr0
time="2023-10-05T20:37:59Z" level=info msg="relayer loop"```

@andrii1890 will you add your .pigeon/config.yaml settings to this ticket?

loop-timeout: 5s
health-check-port: 5757

paloma:
  chain-id: messenger
  call-timeout: 20s
  keyring-dir: /home/paloma/.paloma
  keyring-type: os
  keyring-pass-env-name: PASSWORD
  signing-key: wallet
  base-rpc-url: http://<IP_ADDRESS>:10657
  gas-adjustment: 3.0
  gas-prices: 0.01ugrain
  account-prefix: paloma

@andrii1890 Do you still have access to the logs for this? If so, can you post a full log dump from Pigeon during this time and | grep ckfht9jusabhtbe25qq0?
Also, which endpoint provider are you using for base-main?

Closing as fixed.


hintOid should just be a hint, pickle format should be able to decide whether or not to share.

Currently, hintOid gives the pickler carte blank approval to not pickle any fields (and just say beginEntry/endEntry).  This leads to an issue where sharing may not be supported on a given format, and the pickle format just breaks.
Instead: Optional object id sharing

hintOid should JUST be a hint
A PickleFormat which support Refs and oid hints should manually elide the object field calls by NOT executing any field-related pickle calls.

e.g. a Pickler should always be:
builder.hintTag(internal.lookupPicklee(picklee))
builder.hintTag(tag)
builder.beginEntry(picklee)
   // These nested functions can simply not be called if builder supports sharing.
   builder.putField("name", r => ...)
builder.endEntry()

Currently, all generated picklers must look as follows:
val oid = internal.lookupPicklee(picklee)
builder.hintTag(oid)
builder.hintTag(tag)
builder.beginEntry(picklee)
if(oid == -1) {
   builder.putField("name", r => ...)
}
builder.endEntry()

I think this would be a simple change to the generated picklers, but a much more flexible result for creating new pickling formats.

Fixed in 0.11.x


Split azure/cli/command_modules/keyvault/vendored_sdks into it's own python package

Related command
az keyvault security-domain download
Is your feature request related to a problem? Please describe.
This request is to split the vendored_sdks into a separate python package which can be used by both azure-cli and the azure ansible package (https://github.com/ansible-collections/azure/).
I'm unable to find if this code lives in any other repository or python library.
Describe the solution you'd like
Splitting the vendored_sdks into a subpackage will allow us to share this code without conflicting.
Describe alternatives you've considered
I'm also unable to simply depend on azure-cli package since the two projects have conflicting requirements on the azure-mgmt-* packages
Additional context
My PR in the azure ansible collection:
https://github.com/ansible-collections/azure/pull/1717
Thanks

Thank you for opening this issue, we will look into it.

@chlowell from Python SDK team for awareness

It would be better if it was packaged separately from the azure-cli since installing the azure-cli pulls in so many azure-mgmt-* requirements.  The azure ansible package also pulls in azure-mgmt-* requirements and we may not always be in sync.  If this was part of the azure-sdk-for-python it would make it much easier.
Thanks

If this hypothetical separate package didn't contain the encoding helpers you're using in the linked PR, would you still import them from azure-cli?

We could duplicate the azure.cli.command_modules.keyvault.security_domain.utils file in the ansible module since it's fairly small.  So no, we would not import them from azure-cli.

I've updated the PR https://github.com/ansible-collections/azure/pull/1717 to not use security_domain/utils.py from the cli.  So I really just need the vendored_sdks to be packaged in the azure-python-sdk or some other package that can be pip installed.
Thanks

I've updated the PR ansible-collections/azure#1717 to not use security_domain/utils.py from the cli. So I really just need the vendored_sdks to be packaged in the azure-python-sdk or some other package that can be pip installed.
Thanks

@mccoyp is working on security-domain track2 SDK

Looking forward to when this will release.
Thanks!


Question about page request fault report related to iommu_mode in model

From the handle_page_request in libiommu/src/iommu_ats.c, when ddtp.iommu_mode is OFF or Bare, the response code is missing here. According to the spec, Response Failure response should be added when ddtp.iommu_mode is OFF  and  Invalid Request response should be added when ddtp.iommu_mode is Bare.
Additionally, in such case, is fault report still needed? From the spec, such case is not listed in the conditions described in Chapter 2.7.
If fault report is needed, similar with Chapter 2.3, would the cause be like
(1) ddtp.iommu_mode is OFF -> cause 256,
(2) ddtp.iommu_mode is Bare -> cause 260 ?
Please help to check.

The missing check in handle_page_request is added by PR #301 . The section 2.7 notes the 3 cases where faults are not logged - for all other cases the faults are logged. Added the cause code to the list in https://github.com/riscv-non-isa/riscv-iommu/pull/243/commits/2f57efc7a715130487e1feeee8df99abe3cb1a2d


Create documentation for how to use meshdb

probably important to ease the learning curve as much as possible for people. This will be a totally new web UI for them, hopefully it's as simple and intuitive as possible, but some basic stuff like "how do I create a node number?" or "how do I do XYZ moderately complex thing through the admin UI?" or "what's the difference between an admin and an install leader?" or "how do I connect this to other services?" might be pertinent.

Where do you want this documentation to live? Wiki?

We might end up hosting the docs for this on the site itself, just because that lets us do things like dynamically generate docs based on code content (javadoc style), it also lets you require doc changes in PRs that change the code, etc. However we can always link this content from the wiki, and certainly we should have some basic information over there

TODO: Add help text on each of our fields.

Looks like the API docs are live: https://db.grandsvc.mesh.nycmesh.net/api-docs/swagger/#/
and no longer loading infinitely.
Need to remove nonsense api tab and add Legacy Query Form

Added a bunch of "helpdesk" style articles to the wiki: https://wiki.mesh.nycmesh.net/books/6-services-software/chapter/meshdb
I think this issue is good to resolve. We can supplement with additional information as we encounter gaps


Draft for create related tables Off chain data

@Sotatek-QuanLeA I think we should separate a table "....fetch_error"

@Sotatek-QuanLeA I think we should separate a table "....fetch_error"
one "fetch_error" table for all the above tables?

@Sotatek-QuanLeA I think we should separate a table "....fetch_error"

I have added off_chain_vote_fetch_error table, can you check it again for me ?


Correction for raw affiliation UMR TETIS - CNRS

Correction needed for raw affiliation UMR TETIS - CNRS
raw_affiliation_name: UMR TETIS - CNRS
new_rors: ;0458hw939
previous_rors:
works_examples: W4393726090;W4393422798
contact: 2670d0a4e0a27024287b891220681891:f28955835eaf0852828d246e1dca3d806f92 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


Helper class not work on node 6?

Issue Summary
I tried the helper class which described in README on node 6.5.0, it seemed not to work.
In the case of mine, it got stuck at the following step:
var request = sg.emptyRequest({
  method: 'POST',
  path: '/v3/mail/send',
  body: mail.toJSON(),
});

While when I used the API without the helper class, it worked fine.
I am trying to read the source codes to find it out.
Steps to Reproduce

Just run the example with helper class on node v6.5.0.

Technical details:

sendgrid-nodejs Version: 4.3.0 (found from npm)
Node.js Version: 6.5.0

Hello @lrcry,
We don't currently test against 6.5. Could you please let us know what the error is, so we can help troubleshoot?
Thanks!

G'day @thinkingserious ,
As far as I could see, it just got stuck there instead of giving me anything in a few minutes I waited.
I will do some deeper investigation to find out what is happening. At present it seems okay to use the API without the helper class in my case.
I am a newbie to nodejs actually. Just wondering what more details I can provide to help resolve it?
Warm regards,

FWIW, I'm using the helper class with Node v6.6 and it's working fine for me.

Thanks for the confirmation @fyockm.
@lrcry,
Could you please give me the full source you are running so I can try to duplicate your error? You can send it to<EMAIL_ADDRESS>if you prefer.


Error when using with typing-extensions v4.1.1

psygnal version: 0.9.1
Python version: 3.7/3.8
Operating System: Windows 10

Description
Got an error when using psygnal in an environment with typing-extensions 4.1.1:
File "C:\...\lib\site-packages\psygnal\_evented_model.py", line 94, in <module>
    @dataclass_transform(kw_only_default=True, field_specifiers=(Field, FieldInfo))
TypeError: dataclass_transform() got an unexpected keyword argument 'field_specifiers'

However, in another environment with typing-extensions v4.7.1, it ran without error.
I think this package needs to add a minimum version dependency for typing-extensions
What I Did
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

For quite a while I avoided pinning typing extensions because of an annoying issue with tensor flow pinning an old version of typing extensions, it's a long story... 😅
I'll see if I can accomplish this by guarding the import in a type checking block while retaining the same functionality.  And if not will pin.
Thanks for letting me know :)

fix coming in #221 (not pinning typing extensions to 4.7.1, but making sure we can run all the way back to typing-extensions==<IP_ADDRESS>


test_eigh filters too much (FailedHealthCheck)

FAILED array_api_tests/test_linalg.py::test_eigh - hypothesis.errors.FailedHealthCheck: It looks like your strategy is filtering out a lot of data. Health check found 50 filtered examples but only 9 good ones. This will make your tests much slower, and also will probably distort the data generation quite a lot. You should adapt your strategy to filter less. This can also be caused by a low max_leaves parameter in recursive() calls
See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for more information about this. If you want to disable just this health check, add HealthCheck.filter_too_much to the suppress_health_check settings for this test.

Haven't seen this recently. If it shows up again, we should look into it. Otherwise, as long as it doesn't happen, it's not a problem.

Added a quick fix in https://github.com/data-apis/array-api-tests/pull/325.


ROCM 1.8.2 with kernels 4.15+

Who can tell me if the new ROCM 1.8.2 works with kernels 4.15+? And with ubuntu 18.04?

It works

omg, my dreams came true

ROCm1.8.2 supports Ubuntu16.04 with the 4.15 kernel.
The official Ubuntu18.04 support will be available in the ROCm1.9 release.


IDES Response file - Decryption  Failed

Hi,
I am getting "the specified key is not a valid size for this algorithm" error while decrypting.
It was running perfectly last year.
Few days back  our company certificate has been expired.
So we brought new certificate DegiCert SSL Plus. By using that (.pfx) format I have encrypted our files.
Same certificate after changing to DEP (.cer) format we have uploaded into IDES.
and then we have uploaded our FATCA XML packet into IDES outbox/840 folder.
We received some file in IDES inbox/840, we tried to decrypt we got below error
"the specified key is not a valid size for this algorithm"
I didn't think any code changes required as it is running fine last year and up to last month.
Can anybody can guide me on this issue please..
I am using   .Net application posted by Github for both encrypting and decrypting

That happens when you use ECB mode on a CBC packet. If you haven't updated your code, you will need to. IDES started using CBC mode instead of ECB mode back on July 9. So any notification that comes to you will be encrypted with CBC. The newest release in the repository has a radio button to select CBC (default) or ECB mode.

Thanks Daniel,
I will follow your instructions and update you,
Please tell me one point do we need to change anything in our encryption part ?

Yes, the encryption and decryption both require CBC now. The application is updated to send in CBC as well. You don't have to do anything different with the keys or certificates, just make sure the CBC radio button is selected when creating a data packet and when decrypting the notification.

Thanks Dear,  Do you know the link where can I download the .net source code which works for CBC ?
kindly share me if you know. Thanks in advance.

The walkthrough with instructions is located at http://irsgov.github.io/IDES-Data-Preparation-Dot-Net/. This page also has a .zip file that will pull the code.
The releases page also has .zip download links and is located at https://github.com/IRSgov/IDES-Data-Preparation-Dot-Net/releases.

@karthik33 I recommended you subscribe to the FATCA newsletter so you find out about these sort of changes in plenty of time.
https://www.irs.gov/individuals/international-taxpayers/subscribe-to-the-fatca-news-and-information-list

sure MrGeneric , Thanks Daniel Crouch


Not sure "Take App Offline" is working

Hi, i'm trying to deploy a WebApp using VSTS "Release" tab in web Portal.
I've tried the default template with the step "Azure Web App Deployment" wich fails with a wonderfull :
"FILE_IN_USE" wich point to the infamous "Take offline" feature that is still to be implemented
So I tried the "AzureRM Web App Deployement (Preview)" Step
I've created the SPN (blablabla ...)
and since I checked "Specific Spot" everytime I load a page on the portal that reference my Release definition I got the wonderfull popup :
`Error(s):
500: Block Helper 'extractResource' not found for expression 'extractResource slots'
TFS.WebApi.Exception: Block Helper 'extractResource' not found for expression 'extractResource slots'
at d (https://cdn.vsassets.io/bundles/vss-bundle-common-1867691122-vi12yNBMeXLDU4KHScOVXHg==:135:393)
at https://cdn.vsassets.io/bundles/vss-bundle-common-1867691122-vi12yNBMeXLDU4KHScOVXHg==:135:3268
at g (https://cdn.vsassets.io/bundles/vss-bundle-common-1867691122-vi12yNBMeXLDU4KHScOVXHg==:135:653)
at https://cdn.vsassets.io/bundles/vss-bundle-common-1867691122-vi12yNBMeXLDU4KHScOVXHg==:135:3201
at l (https://cdn.vsassets.io/bundles/vss-bundle-common-1867691122-vi12yNBMeXLDU4KHScOVXHg==:34:8126)
at https://cdn.vsassets.io/bundles/vss-bundle-common-1867691122-vi12yNBMeXLDU4KHScOVXHg==:34:8352
at t.when (https://cdn.vsassets.io/bundles/vss-bundle-common-1867691122-vi12yNBMeXLDU4KHScOVXHg==:34:3784)
at t.u.promiseDispatch (https://cdn.vsassets.io/bundles/vss-bundle-common-1867691122-vi12yNBMeXLDU4KHScOVXHg==:34:2828)
at https://cdn.vsassets.io/bundles/vss-bundle-common-1867691122-vi12yNBMeXLDU4KHScOVXHg==:34:1653
at MessagePort.t (https://cdn.vsassets.io/bundles/vss-bundle-common-1867691122-vi12yNBMeXLDU4KHScOVXHg==:34:5777)
Session Id: bdeeb7af-9fa9-4372-beed-a42e00c22b15`
I can still Save & run (same failure)
I also tried to do without specific slot (same failure)
Is there any existing way to deploy a Web App (.net core RC2) on Azure using Release Managment ?
FYI :
It seems that my ResourceGroup is located in WestUs whereas my Resources inside are located in WestEurope (that might be the cause of the error 500)
But can anyone explain why the "take offline" is not taking offline the app ?

@tebeco  Are you still facing above issue ?

I'll try in two/three hour
I'll have to remove custom task from release managment

It seems to be the same as before,
I use "Deploy Website to Azure", I did not tried AzureRM this time (Last time i think I tried both)
I'm deploying on a specific slot (if it help)

I'll see if I can recreate the AzureRM task, i've deleted it instead of disable it -_-'

For AzureRM Deploy :
I still got an issue but my guess is that my configuration is wrong

2016-08-23T20:11:07.3609898Z ##[error]Error: Source does not support parameter called 'IIS Web Application Name'. Must be one of (). Error count: 1.

the command line looks like :
"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:package="C:\AgentPath_w\r1\a\MySlot\drop\website.zip" -dest:auto,ComputerName="https://MyWebApp-MySlot.scm.azurewebsites.net:443/msdeploy.axd?site=MyWebApp(MySlot)",UserName="$MyWebApp__MySlot",Password=****,AuthType="Basic" -setParam:name="IIS Web Application Name",value="MyWebApp(MySlot)" -enableRule:AppOffline -userAgent:"VSTS_SomeWonderFullIdRemoved_release_1_26_45_1"
I can see :
-setParam:name="IIS Web Application Name"
I'm looking where does it comes from and how to "fix" it

@tebeco
For AzureRMWebApp Task  , in current task you are using there is one issue if you have content zip ( ASP Core ) without parameter file  it will fail since it will not be able to override "IIS Web Application Name" because this parameter is never being declared. You can make it working by adding parameters.xml in root directory of you zip but this solution is just a work around not recommended.
I have fixed this issue as following PR -
Parameters file optional
In recent deployments you will be able to get it working without adding parameters file.
second Issue that when you are deploying ASP.NET Core "Deploy Website to Azure" you are facing that some dlls are get locked. This behavior I observed with ASP.NET core first time it get deployed over new website but next time you deploy it complains few dlls are locked. Workaround it stop webapp and then deploy and then start webapp again but I am looking for some better solution will update you as soon as I get solution corresponding to it.

@Ajay-MS
I'm not sure to understand but it should now work without the XML file ?
I'm still getting
2016-08-25T13:55:51.8785614Z ##[error]Error: Source does not support parameter called 'IIS Web Application Name'. Must be one of (). Error count: 1.

I probably miss configured it

@tebeco
This will work without XML file it's right but this feature is not yet deployed. so you will not face this issue after build will be deployed ( approx time after one week ).

@Ajay-MS
Ok for the PR, the override will work, but tell me if i'm wrong you told me that the "SetParameters.xml" should work it I specify it, right ?
Did anything looks bad ?

Msdeploy is still called like with both:

-setParam:name="IIS Web Application Name",value="MyWebApp(DevCi)"
-setParamFile:"C:\Vsts\MyWebApp_w\r1\a\Dev_CI\drop\MyWebApp.SetParameters.xml"

Full line :
2016-08-26T09:52:02.7640471Z Running msdeploy command:

"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe"
-verb:sync
-source:package="C:\Vsts\MyWebApp_w\r1\a\Dev_CI\drop\Main.277.zip"
-dest:auto,ComputerName="https://AzureScmOfMyWebApp:443/msdeploy.axd?site=MyWebApp(DevCi)",UserName="xxxxxx",Password=****,AuthType="Basic"
-setParam:name="IIS Web Application Name",value="MyWebApp(DevCi)"
-enableRule:DoNotDeleteRule
-enableRule:AppOffline
-setParamFile:"C:\Vsts\MyWebApp_w\r1\a\Dev_CI\drop\MyWebApp.SetParameters.xml"
-userAgent:"VSTS_SomeGuid_release_1_46_85_1"

@tebeco  Yes, it should work.

Ok so the error message is still going on :

Error: Source does not support parameter called 'IIS Web Application Name'. Must be one of (). Error count: 1.

Funny question :
I can read : "Must be one of ()" why this list is empty ?

Does your setParameters.xml contains 'IIS Web Application Name' parameter ?

@Ajay-MS
I copied and pasted it just above tour post, i've just replaced the name of the azure web app and the slot

Can you email me your  parameters.xml at<EMAIL_ADDRESS>, I will explain you complete steps .

@Ajay-MS
Even using :

parameters.xml <== inside the Zip package at the root level
SetParameters.xml <== outside & specify it to the Taks in VSTS GUI

Seem to fire the same error
I'll post detail at lucnh here about files contents just like indicated on the mail

@tebeco  As you are unblocked on this issue can i close this issue or you want me to open this till permanent fix of issue get deployed.

You seem confident that the fix is going to make "optional" these two files so I let you choose :

to close it either now
or at the deployment of the update (more accurate if other developer have the same issue)

Thx a lot anyway for the help

@tebeco  - Closing this issue feel free to reopen if you again face.


merge from arlac77/template-arlac77-github,arlac77/template-esm-only

package.json

chore(deps): add ^3.13.0 remove ^3.12.1 (devDependencies.ava)

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Enable travis builds with webpack 3

Currently, only webpack 1 and 2 are tested on travis.

Awesome!

Can you change devDep as webpack 3 so it's the default for people trying to contribute?

Done!

Thx you!


Open PRs automatically to the EB and Spack repos when a new release of ReFrame is made

I have added the 3.4 https://github.com/spack/spack/pull/21540#event-4304236980


⚠ Mobitopup has degraded performance

In 439491b, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 12008 ms

Resolved: Mobitopup performance has improved in 51c0c7c after 12 minutes.


up.sh does not accept relative paths for cmd line params

up.sh does not follow relative paths for any command line parameters.  if a relative path is passed into up.sh, up.sh should either fail or correctly follow the path.

PEBCAK,  go away.


Create a Login page using HTML CSS JAVASCRIPT !!!

Create a Simple Sign up Sign in Page using HTML CSS JS

email id text box
password
brand/company
you can use your own idea and edit some style

can you plzz assign this to me

in which folder should i make this

in which folder should i make this

Task-Html CSS Js

Folder name - TASK html css js

hey can you assign me this

I would like to work on this

assign me


Copy client reports all failures

The storage.copy_client context manager previously threw an exception upon exit if any number of copies failed, leaving some errors unreported.
This causes it to save, log, and report all copy errors.

Codecov Report

Merging #207 into dev will decrease coverage by 0.05%.
The diff coverage is 97.91%.

@@            Coverage Diff             @@
##              dev     #207      +/-   ##
==========================================
- Coverage   86.65%   86.59%   -0.06%
==========================================
  Files          16       16
  Lines        1019     1022       +3
==========================================
+ Hits          883      885       +2
- Misses        136      137       +1

Impacted Files
Coverage Δ

ssds/storage.py
93.82% <97.22%> (-0.66%)
:arrow_down:

ssds/__init__.py
87.06% <100.00%> (+0.46%)
:arrow_up:

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 ddeb551...0f770c7. Read the comment docs.


automatically set .status=200 when a content-ish header is set

right now this won't work:
    ctx.response.etag = yield* calculate(path)
    ctx.response.lastModified = stats.mtime
    ctx.response.length = stats.size
    ctx.response.type = extname(path)
    if (ctx.request.fresh) ctx.response.status = 304

because this.response.status === 404 until we set the body or a status. thus, i have to set this.response.status = 200 before doing the fresh checking.
ideally, setting any content- header or fresh-ness header should automatically set .status=200 since that means you're setting a response. i'm sure there are a lot of edge cases though...

What's the rationale behind this? Feels strange having to set the status to 200 beforehand. Logically, the freshness is completely determined by the if-modified-since request header and last-modified respond header, why do we need the status to be set?


Http2 #3

Implement http2layer

Coverage decreased (-4.5%) to 50.682% when pulling 41301140eaebaf9f3205c734348de469c34f5c35 on http2-#3 into 0f1ebe71d855351074845deb5694c440a88ef4cc on master.

Coverage decreased (-4.5%) to 50.682% when pulling 06cd1c7caf233f63eb1367e87e4a2bef22a3623f on http2-#3 into 0f1ebe71d855351074845deb5694c440a88ef4cc on master.


Resynchronize dune-universe#duniverse-master with dbuenzli#master

A simple PR to resynchronize this repository with upstream.

Plus this synchronization, cmdliner.1.1.0 needs a patch:
From 2e2d455b4045d1198c83c57d5341d047efe29a65 Mon Sep 17 00:00:00 2001
From: Romain Calascibetta<EMAIL_ADDRESS>Date: Sat, 12 Mar 2022 17:12:09 +0100
Subject: [PATCH] Fix ambigious comments on cmdliner.mli when we compile with
 dune

---
 src/cmdliner.mli | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/cmdliner.mli b/src/cmdliner.mli
index f242953..3cf61c8 100644
--- a/src/cmdliner.mli
+++ b/src/cmdliner.mli
@@ -571,10 +571,8 @@ module Cmd : sig

     (** {1:info Environment variable information} *)

-    [@@@alert "-deprecated"]
-    type info = Term.env_info (* because of Arg. *)
+    type[@alert "-deprecated"] info = Term.env_info
     (** The type for environment variable information. *)
-    [@@@alert "+deprecated"]

     val info : ?deprecated:string -> ?docs:string -> ?doc:string -> var -> info
     (** [env_info ~docs ~doc var] describes an environment variable
@@ -797,13 +795,11 @@ module Arg : sig
   type 'a printer = Format.formatter -> 'a -> unit
   (** The type for converted argument printers. *)

-  [@@@alert "-deprecated"] (* Need to be able to mention them ! *)
-  type 'a conv = 'a parser * 'a printer
+  type[@alert "-deprecated"] 'a conv = 'a parser * 'a printer
   (** The type for argument converters.

       {b Warning.} Do not use directly, use {!val-conv} or {!val-conv'}.
       This type will become abstract in the next major version of cmdliner. *)
-  [@@@alert "+deprecated"] (* Need to be able to mention them ! *)

   val conv :
     ?docv:string -> (string -> ('a, [`Msg of string]) result) * 'a printer ->
--
2.35.0

From the tag v1.1.0 to be able to dune build the project correctly then. Unfortunately, it seems required that this patch be applied to this repository (dune-universe/cmdliner) (instead of taking advantage of the patch mechanism offered by opam - see ocamllabs/opam-monorepo#113).

We don't use the master branch on the dune-universe forks. See https://github.com/dune-universe/opam-overlays/pull/138 for the newly documented workflow for dune ports.
I'll push a fresh branch for the port of 1.1.0 and you can then open a PR there with your port!


Setting Pane location within a DockPanel

I've been playing with the 3.0 dev builds and really like the VS2012 theme.  One question I had was whether it's possible to set the pane explicit location of a tab within a DockPanel AutoHideStrip.  For example, in the attached example I would like the "Trace Console" DockContent tab to display on the right side of the AutoHideStrip.
Thanks!

After implementing VS2012/2013 recently, I can conclude that to achieve what you wanted, the only way is to write your own VS2012AutoHideStrip and change how it renders itself.


Change to derive ThreadJob from Job2, to allow proper handling of terminating error

I also removed binaries from this repo, since they don't seem to be necessary.

This was included in a newer PR


Something else you may want to debloat about this chat exporter

For some weird reason, there is no mode in the default program to simply export the raw JSON data. Instead, with JSON formatting, the data gets transformed to the point where some fields are missing. Attached is an example message, one transformed by the chat exporter and one that is completely raw from Discord's servers.
msg.json
msg-normal.json
You can see that some fields are not present (author's premium type, author's flags, tts) or transformed (type, author's avatarurl, the names of fields like "isBot" which should be "bot") or are even incorrect ("0000" is not the same discriminator as "0")
I would do this myself, but I have no experience with C# so I couldn't understand how to skip the formatting and just output the response to a file directly. However the JSON data being transformed in some weird way always confused me why it's even a thing and it's why I don't use this program.
This SHOULD be a decently easy task, but I'm not sure because, again, I don't have experience with C#.

I packed and published it on the Rutracker, if you don't mind :)


Allow unused generics in structs; Introduce strong TypeId type; Allow generic traits (monomorphization of trait methods)

WIP
closes #1143
closes #814
closes #948
closes #1103
In order to allow unused generics in structs, we need a way to monomorphize a custom type when it has no generic fields. To accomplish this, this PR stores the type parameters within the custom type definition. In order for type inference to work in a reasonable way, we have to improve the type inference through the impl block. This previously relied on the monomorphized field/variant types, but now must rely on the generic parameters specified for the impl block. That is, the first T in impl<T> MyStruct <T> {. This, in turn, allows generic traits and generic impl selfs.

Why was this closed?


Updated for Swift 4 and iPhone X Layout

• Migrated to Swift 4
• Suppressed compiler warnings
• Updated layout to support iPhone X layout
• Updated minimum deployment to iOS 9.0

Very useful, thank you!


Fix CopyImage verification for 1D/2D images

The verification uses a common function with nested loops to verify the result of the copy operation. The upper loop limits thirdDim and SecondDim should be set according to the image type under test. Previously for 1D/2D they were set from dstImageInfo->depth and dstImageInfo->height. The issue is that the depth and height are set to 0 when unused. This caused the verification loop to be skipped.

Merging as discussed in the October 3rd teleconference.


Revert "Deprecate kubescape-windows-latest"

Reverts kubescape/kubescape#1213
We need to release Kubescape immediately, and I suspect this depreciation broke the smoke tests.
I'm reverting this for now, so we can fix it properly.

cc: @HollowMan6

Ah, I forgot to modify this line as it uses the kubescape-${{ matrix.os }} and didn't catch my eye: https://github.com/kubescape/kubescape/blob/master/.github/workflows/b-binary-build-and-e2e-tests.yaml#L169
Will open another PR to fix this.


[WIP] Added temporary solution by working with deprecated API for new Hawkular-Inventory

Lint report for commit 48c2031a16f777a01f9ea564082d79c506ce7e4f:
Everything seems all right :smile: .
CFME QE Bot

@psav changed and squashed

Lint report for commit f030fcf859d4e7054137a16d41f9ecd0670055ff:
Everything seems all right :smile: .
CFME QE Bot

Lint report for commit 95efc061690c91a67ddf47b3b92e3e56ad5d9515:
Everything seems all right :smile: .
CFME QE Bot

Lint report for commit 3a88b4ff34af1b955d49a93ea02ed4935a5aa95c:
Everything seems all right :smile: .
CFME QE Bot

@psav I have updated PR and tests are pass, could you please review my PR?

Conflicts will need resolving

Rebased.

Lint report for commit cb7011cc8dd59fbc4aba9b53af1e6212c7e28219:
mgmtsystem/hawkular.py:

:heavy_exclamation_mark: Line 378:52: W291 trailing whitespace

Please, rectify these issues :smirk: .
CFME QE Bot

Lint report for commit 1b7873b640a79f40e12c18e57e1620925ad2bd46:
Everything seems all right :smile: .
CFME QE Bot

@psav I have committed the changes.


Copilot Chat SideBar

Implementing a feature to quickly navigate to previously asked questions in the chat would be beneficial. An indexing system that pairs each chat request with a link to its response could enhance the user experience by eliminating the need to scroll through the conversation. Additionally, it could discourage users from repeating questions, thereby reducing resource usage.

It looks like you’re working on implementing a new feature to add a chat sidebar for navigating chat history. Here’s a brief summary of the pull request:
Feature: Add Chat Sidebar for Navigating Chat History
Key Changes:
ChatSidebar Component:
Created ChatSidebar.tsx to display indexed questions and responses.
Added click events to navigate to the corresponding response.
Export ChatSidebar:
Added index.ts to export the ChatSidebar component.
Chat Component:
Modified Chat.tsx to import and integrate the ChatSidebar component.
Implemented logic to index each chat request and response.
Documentation:
Updated README.md to include information about the new indexing feature.
Tests:
Added ChatSidebar.test.tsx to ensure the ChatSidebar component works correctly.
Steps to Follow:
Contributor License Agreement:
Make sure you have agreed to the Contributor License Agreement (CLA) with the required details. If you’re making submissions in the course of work for your employer, include the company name.
Review and Merge:
Ensure that all required checks and reviews are completed.
Address any comments or requested changes.
Approval and Merge:
Once all reviews are approved, proceed with merging the pull request.
Example Implementation:
Here’s an example of what your ChatSidebar.tsx might look like:
tsx
import React from 'react';
interface ChatSidebarProps {
history: { question: string; response: string }[];
onNavigate: (index: number) => void;
}
const ChatSidebar: React.FC = ({ history, onNavigate }) => {
return (

Chat History

{history.map((item, index) => (
<li key={index} onClick={() => onNavigate(index)}>
{item.question}

))}

);
};
export default ChatSidebar;
This feature will enhance the chat experience by allowing users to quickly navigate to previous questions and responses. Keep up the excellent work! 🌟🚀
If you have any specific questions or need further assistance, feel free to let me know! 😊💪🏽

This issue does not satisfy the minimal quality standards for an issue that we would like to see in this repository.
Reproducible steps using English with latest VS Code are what helps us a lot. So please feel free to open a new issue with steps.
Thus I will go ahead and close this one.
Thank you


[spike] DCOS-48015: [1.13] Adding Package Repository with priority 0, does not push all packages 1 priority down

Fix repository priority when adding a new repository.
Closes https://jira.mesosphere.com/browse/DCOS-48015
Thanks to @nLight for helping me realize that priority is called index in the API.
Once this is approved, I will create the backports.
Testing

Go to Settings > Package Repositories
Add a new Package Repository with priority 0, for example using the name "Universe2" and the uri "https://downloads.mesosphere.com/universe/repo/repo-up-to-1.13.json.gz"
Verify that the new package was added at the top

Trade-offs
None.
Dependencies
None.
Screenshots
Before

After

To test the PR Stub Universe can be used as a repo link:
https://universe-converter.mesosphere.com/transform?url=https://dcos-ui-universe.s3.amazonaws.com/oss/dcos-ui/latest/stub-universe-dcos-ui.json

We gonna need 1.12 backport :)

I can do the backport now or during the next spike day.

:tada: This PR is included in version 2.54.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fixed line trim

Fixed line trim causing issue #9 with sub-list

Pull request #16 should be reviewed before this one (#18 has been forked from the other)


Updated TargetFrameworks, added some const strings, fixed some typos and add default value for GetExtension method

Fixed some typos
Lower TargetFramework to net40 and netstandard1.1
Added TargetFramework dependency netstandard2.x
Remove TargetFramework netcoreapp2.0 (not needed because netstandard2.x is enough)
Add some const strings
Used nameof in throwing exceptions
Added a default value for method GetExtension

@StefH Thanks for the great additions and corrections. Everything in the map file is perfect.
I can't accept the project file changes though. Some people are dependent on that specific targeting. If you can undo just that change for the PR I'll be grateful to merge the rest of the changes.

Hello @samuelneff,
I can revert the TargetFrameworks change, however I would like to explain why I did this: all I did was lower the dependencies, which is good because more projects / people can use it.

net45 --> I lowered this to net40
netcoreapp2.0 --> I removed this because netstandard2.0 is enough, there is no need to support netcoreapp2.x or 3.x
netstandard2.0 --> I kept this one, and also lowered to 1.1 and included 2.1

I you still would like to keep the TargetFrameworks as-is, no problem, I'll revert this in the PR.

Thanks for explaining. I haven't programmed in .NET myself in years so I don't know enough to discuss the impact of the project change. I'd prefer if you left the project as is simply to maintain status-quo.
I appreciate your understanding.
Sam

OK. I've reverted the changes on TargetFrameworks. Maybe I'll create a new issue on this and let other users comment on this.
When do you plan to release a new NuGet ?

@StefH Thanks for the updates. I don't control the NuGet packages. A few other people have published them but it's not something I've been involved with.


Azure Templates property does not indicate available values

Describe the bug
This Azure templates doc page: Microsoft.Web serverfarms indicates the kind Property but does not articulate the accepted values for this Property. As such I can't populate this field with a degree of confidence that will result in a successful deployment. My only recourse that I have found to date is to deploy the resource manually via the portal in different configurations and manually look up the various values for kind which is not an ideal experience.
To Reproduce
Steps to reproduce the behavior:

Go to Microsoft.Web serverfarms
Scroll down to Property values
Reference the kind property.

Expected behavior
When referencing this docs page I should be setup for success and armed with accepted values for the kind property.
Additional context
In some cases intellisense in various editors can help populate this field, but in some cases - like this one, it does not.

@techthoughts2  Thanks for the question! We are investigating and will update you shortly.

@techthoughts2, This is great feedback. Thanks for taking time to share your valuable feedback.
Your feedback has been shared with the content owner (Azure templates doc) internally for further review and update the doc as appropriate.

techthoughts2, Since the feedback is specific to Azure templates doc, we will close this thread for now (on Azure docs space). If you have any questions, you can tag me in your reply. The feedback is noted and is shared with the content author for further review. We appreciate your feedback on this topic.


Implement a wave generator

The wave generator should be able to generate digital waves with a frequency and amplitude given as input.
The shape/sample of the wave should also be selectable.

Note: The envelope comes after the wave generation, and should serve as a separate module

Output
Illustration of some output given by the current module when switching frequency, amplitude and shape

We have to exchange the division for fixed point multiplication, because division is not synthesizable.
The inverse of the division should come from the MCU and should not be required to be calculated more often than the control-signals.


Errors with Multithreaded Server (Puma)

Hi,
i declared a partial, which includes some javascript files. I also use puma, cause i want to use some streaming via ActionController::Live.
But some of these assets gets served with their HTTP header in the file, which isn't correct javascript and fails.
I tested various things, but came to the conclusion that comfortable-mexican-sofa seems to be the problem.
Do you have any ideas for this problem?
(made also a stackoverflow questien http://stackoverflow.com/questions/23758264/http-header-in-javascript-files-with-puma-on-development)

Gonna close this one as it's more of a Rails/Puma issue.


Added a foreign key in migration utils

no issue

This makes it easy to add/remove foreign key in both mysql and sqlite

@naz this is a work in progress and hasn't been tested yet, but I wanted to make it available to you as soon as possible.

this is awesome direction. I'd park this PR for now as we are not dropping/creating any FKs within current goals for the cycle. but 1000% will become handy once we pick up the metadata table work again!

I'll have to use this to add a foreign key to webhook.integration_id so the mysql version is gonna be used for the 4.0 release ;)

@tpatel cool, let's test it properly then ;)

Merging this so that I can test it on a migration that actually needs mysql foreign key changes.


configuration for hosted geth implemented

this fixes #318
Two temporary successful workflow run, which run integration test on hosted geth settings
https://github.com/EYBlockchain/nightfall_3/runs/4348622337?check_suite_focus=true
https://github.com/EYBlockchain/nightfall_3/runs/4341132049?check_suite_focus=true

latest temporary workflow create to run integration test on hosted environment
https://github.com/EYBlockchain/nightfall_3/runs/4689994277?check_suite_focus=true

Hey, great work @LijuJoseJJ  just wondering if we can also update the documentation on the root folder, since we're updating the start-nightfall script?

Hey, great work @LijuJoseJJ just wondering if we can also update the documentation on the root folder, since we're updating the start-nightfall script?

readme updated

for latest changes temporary workflow create https://github.com/EYBlockchain/nightfall_3/runs/4813004305?check_suite_focus=true


How to add program arguments to native-iamge like "-port=10800"

public class Hello {     public static void main(String[] args) {         System.out.println(args);     } }

On desktop you can run your native image with the arguments:
./myapp -port=10800
Duplicate of https://github.com/gluonhq/client-maven-plugin/issues/120


8/02 Publish

Docs Build status updates of commit 1cf4826:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

rd/index.yml
:white_check_mark:Succeeded
View

rd/karl-ots.yml
:white_check_mark:Succeeded
View

rd/map.yml
:white_check_mark:Succeeded
View

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


Overwriting values after submit affecting redux form fields store while using FormSection.

Please check this example - https://codesandbox.io/embed/6w3mw20q8n - I created demo version.
// If i overwrite first_name after onSubmit function. its affecting and changing redux field store. how i can control this ? . Also its happening only while using FormSection.

@narensprinter can you provide more information, following our template?

@renatoagds Type any first name and last name then click submit button .form registered values automatically changing if i overwrite values inside onSubmit function call. https://codesandbox.io/embed/6w3mw20q8n

@narensprinter That the expected behaviour, since you're changing the deeper object, and still pointing for same reference in memory. The Values component didn't update, because it's listening for store dispatch, and it didn't happen, since you mutate direct. If you don't want to get that happen, you need to deep clone (https://lodash.com/docs/4.17.11#cloneDeep) or use Immutable.


TSMessage appears below navigationBar - looks awkward

I tried displaying a notification above the navigation bar (in a modal view embdedded in uinavigationviewcontroller). used:
TSMessage.setDefaultViewController(self.navigationController)
that doesn't help, notification appears below the bar instead above it.
is that a bug?

did you set atPosition:TSMessageNotificationPositionNavBarOverlay?
it worked for me with that..
[TSMessage showNotificationInViewController:self.messagesViewController.navigationController
title:localNotificationTitle
subtitle:localNotificationText
image:localNotificationImage
type:TSMessageNotificationTypeMessage
duration:TSMessageNotificationDurationAutomatic
callback:nil
buttonTitle:nil
buttonCallback:^{
NSLog(@"User tapped the button");
}
atPosition:TSMessageNotificationPositionNavBarOverlay
canBeDismissedByUser:YES];


feat: return spied module when calling spy

Description
jest.spy now returns the spied on module
Changes

jest.spy now returns the spied on module
Update readme to specify spy usage

Checklist

[x] This PR has updated documentation
[x] This PR has sufficient testing

Comments
N/A

:tada: This PR is included in version 0.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


adding toolslib.net to the list.

We should add toolslib.net as well to the list.
source: https://toolslib.net/blog/viewpost/2017/03/14/55-toolslib-switches-minio-scale-and-performance/

closing it. We have it added in our awesome-tools


Add utilities to manage ConfigMaps for operators

This introduces some utility functions to create and find ConfigMaps consumed by operators.
It supports the 'scope' label to determine whether the config should be exposed to all operators or only one specific operator. This allows us implement inter-operator interactions by creating the ConfigMap using the specific label.

@kajinamit Do you have an example where and how this is expected to be used? I especially interested where implement inter-operator interactions by creating the ConfigMap using the specific label use case will be used.
Is this expected to replace the EnsureConfigMaps lib-common helper?

@kajinamit Do you have an example where and how this is expected to be used? I especially interested where implement inter-operator interactions by creating the ConfigMap using the specific label use case will be used.
There are some user cases where we should update configurations of one service according to ones in a different service.
For example

* we can enable ovn provider in octavia only when ovn ml2 driver is used

* we should enable image conversion in glance when glance, cinder and nova uses rbd backend

This aims to implement that dependency without adding more and more complicated logic in top-level meta operator.

Could you please use one of the examples above to describe the interactions of the operators and config maps? Who creates which config map, who reads which config map?
Also based on the examples, how this relates the extraMounts work that feels like also targeting config injection to operators? Pinging @fmount about it to see if this can be solved already with that.

@kajinamit Do you have an example where and how this is expected to be used? I especially interested where implement inter-operator interactions by creating the ConfigMap using the specific label use case will be used.
There are some user cases where we should update configurations of one service according to ones in a different service.
For example

* we can enable ovn provider in octavia only when ovn ml2 driver is used

* we should enable image conversion in glance when glance, cinder and nova uses rbd backend

It's not that easy making sure that a component (glance) is using the RBD backend: in theory you have ExtraMounts with the ExtraVolumeType label set to Ceph, but you still need to extract the Service config information, parse the enabled_backend section and make sure it's RBD. This is not the same for Cinder (the syntax is slightly different), and things are even more complicated if you have multiple backends (more cinder-volumes or multistore in case of GlanceAPI).
Not saying we can't do that, but the current approach is documenting what we need:

the Ceph secret(s)
the ExtraMounts bits
the pvc
the config snippet required to enable this feature (overrides provided via customSeriviceConfig

We're also going to provide samples, so the use cases associated to a feature are properly covered, but there are no plans to have automation (like TripleO) that covers this.
However, what I find interesting is that multiple operators can watch specific configMaps and change their behavior accordingly: this would be a nice basic feature that can be used in many operators (e.g. I have cinder deployed and I want in glance the ability to set it as a backend).
I'd like to see a design document around this feature and the purpose and review before having comments in the code.

This aims to implement that dependency without adding more and more complicated logic in top-level meta operator.

Could you please use one of the examples above to describe the interactions of the operators and config maps? Who creates which config map, who reads which config map?
Also based on the examples, how this relates the extraMounts work that feels like also targeting config injection to operators? Pinging @fmount about it to see if this can be solved already with that.

For what I read atm I miss some context on the design behind this feature: in particular, the concept of scope and consumer is something we already implemented with ExtraMounts and the Propagation feature. In particular, we are able to propagate Volumes and VolumeMounts (they can be anything: Secrets, ConfigMaps, etc) to the "group" or to the "single instance" of the component defined in the service CR, and there's a POC with the Ceph bits [1][2] (you can easily replace ceph files with a generic configmap).
This is also the approach adopted  by the ansible-operator, and in general it's the basic building block for all the storage operators to implement additional features without writing ad-hoc code for each backend.
For instance (because you mentioned), if glance have to enable image_conversion because the rbd backend is used,  we plan to document the code snipped that should be injected via customServiceConfig to the GlanceAPI service, and the Ceph bits, as well as the path of the PVC where the conversion happens, are provided via ExtraMounts, so definitely the Glance use case is a wrong example to apply to this feature.
We adopted the same approach to cinder-operator and there's a pending Doc patch [3] that explains how it works in details (something similar is coming in the next few weeks for both Glance and Manila), but I can point you to the design document we discussed and agreed on during the last sync in Nov.
Being that said (forgive my lack of context), I'd like to properly understand the purpose here: my goal is to make sure we adopt the same pattern across the operators and avoid redesigning something we're proposing and documenting.
[1] https://asciinema.org/a/533951
[2] https://asciinema.org/a/545776
[3] https://github.com/openstack-k8s-operators/cinder-operator/pull/77/files#diff-49aed142e7dd55db379a04beee938abdf7efa02273e9470ba922e4c6a8347f24R112-R130

I've spent some time on thinking more about use case and alignment with current approach, but I'm now feeling like this might be just overkilling.
The initial goal of this PR is to let openstack-operator create  ConfigMap to present global status such as enabled services. That might be just enough based on our current overall design and in that case we can use the hard-coded name instead of looking up config maps using label.
https://github.com/openstack-k8s-operators/openstack-operator/pull/175
The intention of using label is to add capability to implement logic to ensure correct configuration across services. However if we don't aim to add automation and expect users give every single option they need to all services then this is not needed. That would allow us to avoid parsing low-level options a user provides(or implementing parameters at operator levels), though we likely have to pay more effort to review individual config options to find out misconfigurations.

I've spent some time on thinking more about use case and alignment with current approach, but I'm now feeling like this might be just overkilling.
The initial goal of this PR is to let openstack-operator create ConfigMap to present global status such as enabled services. That might be just enough based on our current overall design and in that case we can use the hard-coded name instead of looking up config maps using label. openstack-k8s-operators/openstack-operator#175
The intention of using label is to add capability to implement logic to ensure correct configuration across services. However if we don't aim to add automation and expect users give every single option they need to all services then this is not needed. That would allow us to avoid parsing low-level options a user provides(or implementing parameters at operator levels), though we likely have to pay more effort to review individual config options made by every different user to find out misconfigurations.

Consistency is not a bad idea, I actually like it, but I think we should come up w/ a design document to define what "consistency across the operators means" and "which is the best strategy" to get values and process them (I suspect labels is not sufficient). A part from that I'm thinking we should invest in validation: each operator can define validations (via webhooks maybe?) to parse and give the green light to the applied CR  where configs are injected.
@gibizer not sure webhook is the right way of doing it, but maybe validation can be one of the next big chapters.

I've spent some time on thinking more about use case and alignment with current approach, but I'm now feeling like this might be just overkilling.
The initial goal of this PR is to let openstack-operator create ConfigMap to present global status such as enabled services. That might be just enough based on our current overall design and in that case we can use the hard-coded name instead of looking up config maps using label. openstack-k8s-operators/openstack-operator#175
The intention of using label is to add capability to implement logic to ensure correct configuration across services. However if we don't aim to add automation and expect users give every single option they need to all services then this is not needed. That would allow us to avoid parsing low-level options a user provides(or implementing parameters at operator levels), though we likely have to pay more effort to review individual config options made by every different user to find out misconfigurations.

Consistency is not a bad idea, I actually like it, but I think we should come up w/ a design document to define what "consistency across the operators means" and "which is the best strategy" to get values and process them (I suspect labels is not sufficient).

I agree that we need to define our strategy here.

A part from that I'm thinking we should invest in validation: each operator can define validations (via webhooks maybe?) to parse and give the green light to the applied CR where configs are injected. @gibizer not sure webhook is the right way of doing it, but maybe validation can be one of the next big chapters.

If you want to give feedback to the user as part of the API requests that creates the CR then the only tool you have is the validation webhook. But if it is OK to give the feedback via the Status fields of the CR in an async way then we can let the Reconciler do the validation. Technically both the validation webhook and the reconciler can do any level of validation. I personally would draw a line though to limit what a webhook does. I would say the webhook should only look at the CR Spec to decide on validity and it should never try to do extra API requests to the cluster (e.g. read other CRs). If the latter is needed then such validation should be done as part of the reconciler.


Update offering-ISO-27001.md

Added translator to the list as per https://www.microsoft.com/en-us/translator/blog/2019/02/06/microsoft-translator-is-now-certified-compliant-to-meet-your-needs/

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

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

@robmazz - PR has been copy edited and is ready for final review. This is based on issue #2001.
Thank you.


DragQueryFileW doesn't write into a vector

I have setup my application to accept dropped files, which I implemented via the WM_DROPFILES message. This code doesn't write anything into vector, I don't know why.
let mut filename_bytes = vec![]; // TODO: Doesn't work if this is a Vec<u16>, fix!

unsafe {
   DragQueryFileW(hdrop, 0, filename_bytes.as_mut_slice());
}

println!("{:#?}",filename_bytes);

let filename = utf16_to_string(filename_bytes.to_vec())?;

However, when I change the vector Vec<u16> to an array [u16; 256], the problem is fixed:
let mut filename_bytes = [0; 256]; // TODO: Doesn't work if this is a Vec<u16>, fix!

unsafe {
   DragQueryFileW(hdrop, 0, filename_bytes.as_mut_slice());
}

println!("{:#?}",filename_bytes);

let filename = utf16_to_string(filename_bytes.to_vec())?;

And some bytes are successfully printed out. Could anyone point me in the right direction, as to why this is happening? Maybe this is a thing I haven't understood with Rust, but this shouldn't happen?

DragQueryFileW expects a buffer that it can write to as lpszfile and it needs to know how much it can write to the buffer. It does this through the slice.
In Rust, slices basically are a memory-location (a start) and a length, basically a view into some data. If it's a mutable slice, then you can change the items of the slice. A Vec is a dynamic heap allocation of a certain length where you can add and remove items. If you give out a slice of the vector, then you give out a view into the vector where the length of the slice is the length of the vector. Notably, you can't add items to the slice or remove some, however you can change items (in the case of &mut).
In your first snippet, you initialize filename_bytes as a vec![]. This creates an empty vector. So a slice of this vector will be of length 0. Now if you call DragQueryFileW, you're basically telling it: "Give me zero bytes of the filename".
In your second snippet, filename_bytes is an array of length 256. There, if you give out a slice, it will have the length of your array (256), so you get the expected filename.
Now, to make it work with a Vec, you need to make the vector as big as you want the buffer to be. If you initialize filename_bytes as vec![0; 256], you'll get the expected result, since the vector has enough elements.
Though if you already know the size, you should use an array, since you don't need to dynamically resize the buffer.


Atomics stabilisation

I'm not sure if this is the correct repository to ask, but was wondering about the wasm32 atomics stabilisation. Multithreading in wasm was introduced almost 2 years ago with this blogpost, however, compiling the example still requires not only nightly rust, but also rebuilding std lib.
So I was wondering what is the current progress on wasm threads and when will we be able to use them in stable rust?

AFAIK no progress has been made on shipping this in the standard library. The best idea we've had (which is the same as two years ago) is to have a second target (naming TBD) which is wasm-with-atomics. Other than -Zbuild-std, though, everything should be ready to go.

Thanks for the explanation! Is there anything I could help with to make this move forward?

Unfortunately I don't know of a great way to move it forward. The next step is probably for a concrete proposal to be made, so the best help would be to come up with a proposal yourself, but that's no light undertaking.

I've opened https://github.com/rust-lang/rust/issues/77839 to continue discussion on this on the Rust side of things.


Refactor server.js

use new Value(config, 'staticGeneratorsDirectory') instead of as('config') in OnStaticGeneratorsChangeEvent, OnTemplatesChangeEvent.
So these classes also needed to be refactored.

#77 done.


Error when loading batches of scenarios

F, [2017-10-05T15:31:58.176149 #24338] FATAL -- : [aca49b5c-fca6-42a4-a264-b5f3036971e1]
F, [2017-10-05T15:31:58.176838 #24338] FATAL -- : [aca49b5c-fca6-42a4-a264-b5f3036971e1] NoMethodError (undefined method `map' for #<HTTParty::Response:0x007fa03d2292e8>):
F, [2017-10-05T15:31:58.176939 #24338] FATAL -- : [aca49b5c-fca6-42a4-a264-b5f3036971e1]
F, [2017-10-05T15:31:58.177029 #24338] FATAL -- : [aca49b5c-fca6-42a4-a264-b5f3036971e1] app/models/api/scenario.rb:20:in `batch_load'
[aca49b5c-fca6-42a4-a264-b5f3036971e1] app/models/saved_scenario.rb:24:in `batch_load'
[aca49b5c-fca6-42a4-a264-b5f3036971e1] app/controllers/scenarios_controller.rb:34:in `index'

Airbrake doesn't notify this btw.

What error is ETEngine returning?
I expect this one: Could not find a dataset with the key "barendrecht"

Airbrake doesn't notify this btw.

Here's the ETModel Airbrake notification.

Aha, it's ETEngine that's receiving the error not ETModel. Was looking into the wrong project on Airbrake

Related: https://github.com/quintel/etengine/issues/951

@ChaelKruip should we remove the 9 Barendrecht scenarios or? I don't know if they're actually used in any way?

@ChaelKruip should we remove the 9 Barendrecht scenarios or? I don't know if they're actually used in any way?

I think this is a question for @AlexanderWirtz and @DorinevanderVlies (I have no idea)

I do not use them

I take that as a 'yes'. I'll export the 'scenarios' table first and then I'll delete them. If you feel you need them anytime soon, come ask me 👍

Closing


Update links from travis-ci.org to travis-ci.com

Description:
Update links from travis-ci.org to travis-ci.com
Merge checklist:

[ ] All reviewers approved
[ ] CI build is green
[ ] Changelog record added
[ ] Documentation updated (not only docstrings)
[ ] Commits are squashed

FYI, we have unrelated failures on master right now.