C# generator: Generate C# 8 Nullable Reference Type (NRT) attributes

Add new setting for this feature.

Good idea, however adding #nullable disable is probably a breaking change when not using C# 8, right?

Didn't think about that. Probably worth having an option to disable it, you're right.
We then have four states:

Disabled
Explicitely disabled
Enabled
Explicitely enabled

Or maybe it's better to have an option like "C# output language level" and use #nullable enable only for C#8 and above?
That would pave the way for C#9 records/init only, right?

Or maybe it's better to have an option like "C# output language level" and use #nullable enable only for C#8 and above?

Good idea but not sure about that, I think NRT would be the only thing which would check that - and then it's probably better to a have a specific option... for everything else i think we can just generate eg C# 6 code and there is just no downside (unlike in TS).

That would pave the way for C#9 records/init only, right?

I think it would be better to have another class style here:

I was thinking about it more as a safeguard to avoid using settings unavailable for the target language level, but OK for your NativeRecord suggestion.
About the #nullable disable, what would you suggest ? A drop down with the 4 options I described above? (Or 3 if we decide that implicitely Enabled option is useless)

What about a boolean setting "GenerateNullableReferenceTypes" (default: false) and for now it just generates #nullable disable and then we can just implement it? How bad is that?

Probably a bit misleading if NRT are not really implemented.
How hard would it be to implement NRT directly behind the flag ?

How hard would it be to implement NRT directly behind the flag ?

I think it should be quite simple to implement - we already have it for typescript.. at least for the public api contract - not sure whether we have problems “inside” the methods etc but there we could just disable the checks at the beginning

I think we only need to add a ? if the reference type is nullable and the setting is enabled here:
https://github.com/RicoSuter/NJsonSchema/blob/master/src/NJsonSchema.CodeGeneration.CSharp/CSharpTypeResolver.cs#L137
I think the others in this method use Nullable<> and are already handled correctly - or what do you think?

Not sure but this might already be enough:
https://github.com/RicoSuter/NJsonSchema/pull/1193

I don't see any other case where this might break something:

nullable parameters are probably already checked for nullability
nullable return is likely already handled as well
nullable properties : You don't handle them directly in the generated code, right? so no problem here.

Problems will arise when used in a project if the code using that doesn't match the intent, but that's the whole point of enabling that, and it's opt-in.
I don't see anything else problematic

My thinking was that if you have warnaserror enabled and the flow analysis within the method gives warnings it would turn them into errors and thus wont compile - but i think we disable all warnings in the generated code so this might also be fine...

I don't understand : If that's an opt-in feature, it would only break if you tell it to enable NRT, right ?
What kind of flow analysis would break anything?

My PR above probably is already enough because this resolver is used for method params, return param and POCO property types... the "problem" is - also with NRT in general - that it's only a compile time feature - so if the server returns wrong JSON (ie null but the property is not-nullable) then there will be no exception at runtime, this could be solved with this:
https://github.com/RicoSuter/Namotion.Reflection#validate-nullability-c-8
but this is a topic we won't cover in this issue probably.

What kind of flow analysis would break anything?

For example if NRT is enabled and your param is non nullable but in the generated method we still check it against null this might give a warning (eg check not needed) which might be a problem... but it's something we need to try out and improve over time I think...

Isn't there any check in the Json serializer that checks the [Required] and [JsonProperty] attributes and checks whether the deserialized json is valid w.r.t the specified attributes?

Can you check my PR above (i.e. go through the changed class).
Does it look good?
Would you be willing to add some unit tests for that later?

Isn't there any check in the Json serializer that checks the [Required] and [JsonProperty] attributes and checks whether the deserialized json is valid w.r.t the specified attributes?

I was thinking about own written code where you dont have JsonProperty attributes but only the NRT info - there you'd have this problem... in our generated code the NRT and JsonProperty attribute would be in sync and the serializer even checks - so probably all good.

Should we go with this PR? As its a new, experimental setting (opt-in) I can merge and release that now and you can try it out and then we add tests + improve on that... what do you think?

I've read your PR and didn't find anything wrong, but I don't have your knowledge of this project, and I don't know what impact it has.

Should we go with this PR? As its a new, experimental setting (opt-in) I can merge and release that now and you can try it out and then we add tests + improve on that... what do you think?

OK, but I won't be able to test before Monday.

Also, for my use case (NSwag code gen), would I need a new release of NSwag too ?

I can't find a better name, and "Nullable Reference Types" is the way that feature is named in the C# language. I'm ok with that naming.

Ref: https://github.com/RicoSuter/NJsonSchema/issues/1195

Oops, I completely missed that the PR you were sending didn't include #nullable annotations, sorry

Since this has been released, can it be closed now ?

I get a whole bunch of compiler warnings from the generated ConvertToString method enabling this (happy to raise this as a separate issue if you prefer).
Almost all of them can be resolved as marking the method with [return: NotNullIfNotNull("value")], and adding a little sanity check within the method to default to the empty string for the rare case when value is non-null but the method otherwise returns null because value.ToString() is null.
The rest of them are when there's a query parameter list of nullables, eg. IEnumerable<string?>. It tries to URI-escape each of the strings but fails when one is null. Probably sensible to default to QueryNullValue from the NSwag config file in this case.

@adamjones1 : The ConvertToString issues are covered by #2959

Great, thanks. For the list ones, I get code generated like this for a method:
public async System.Threading.Tasks.Task<System.Collections.Generic.ICollection<MyResultDto>> GetResultsAsync(System.Collections.Generic.IEnumerable<string?>? ids = null)
{
    var urlBuilder_ = new System.Text.StringBuilder();
    urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/getResults?");
    if (ids != null)
    {
        foreach (var item_ in ids) { urlBuilder_.Append(System.Uri.EscapeDataString("ids") + "=").Append(System.Uri.EscapeDataString(ConvertToString(item_, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); }
    }

    ...
}

Here what's going in to ConvertToString is nullable so the output is legitimately nullable and there's still a warning at EscapeDataString. Would be great if you could add a null-coalesce to that in your PR!

Implemented in the PR. Do you have the ability to try in my PR and tell me if it work ?
There's the NSwag.ConsoleCore that you can run with the nswag.json file you want.

Just tried it, I get compiler errors because item_ and "" are of different types in some cases (in my example it was an IEnumerable<string?> but it could in general be an enumerable of anything). An upcast to object? should fix it.

You're right, might have missed that. Let me fix that

Does it work better now ?

Looks good, no compiler or runtime errors/warnings for me 👍

Closed as implemented and released, please create new issues if there are bugs/problems with the current implementation.


update source

Dependencies / Libaries for current adurino studio (v higher then 2)  no successful build possible
webserver not work when use the fix for arduino higher v3 which deployed on https://github.com/me-no-dev/ESPAsyncWebServer
change from spiffs to littlefs possible ? so upload is over the littlefs uploader plugin possible

Hi BlackScript,
thanks for your interest in my APEROLiker firmware!
I am running into the same problem to build the firmware with the latest dependencies.
I use the latest Arduino IDE:
Version: 2.3.2
Date: 2024-02-20T10:04:35.814Z
I use the latest version of arduino-esp32:
Using board 'esp32s2': 3.1.0-RC1  (Contains esp-idf v5.3)
Using core 'esp32':    3.1.0-RC1  (Contains esp-idf v5.3)
I use the latest version of each particular library:
-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-> [Adafruit ST7735 and ST7789<EMAIL_ADDRESS>-> [Adafruit GFX<EMAIL_ADDRESS>-> [Adafruit<EMAIL_ADDRESS>(Adafruit_I2CDevice.h)
-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS><------- Compile error on "undefined reference to `pxCurrentTCB'"
As my research has shown, this is because the new esp-idf v5.3 has updated the dependencies for FreeRTOS. Unfortunately, as always, this is typical for Espressif - no downward compatibility.
In the short term I sadly don't see any possibility of switching from SPIFFS to LittleFS for personal time reasons, as I'm not yet familiar with LittleFS.
Uncommenting the following lines in "ESPAsyncWebServer/src/AsyncWebSynchronization.h" will do the trick:
bool lock() const {
  /*extern void *pxCurrentTCB;
  if (_lockedBy != pxCurrentTCB) {
    xSemaphoreTake(_lock, portMAX_DELAY);
    _lockedBy = pxCurrentTCB;
    return true;
  }*/
  return false;
}

https://github.com/me-no-dev/ESPAsyncWebServer/blob/7f3753454b1f176c4b6d6bcd1587a135d95ca63c/src/AsyncWebSynchronization.h#L28
So now what's the best thing to do?
A bug fix should actually be sought for the ESPAsyncWebServer... But I don't know enough about FreeRTOS to say how to correctly replace the variable "pxCurrentTCB" in esp-idf v5.3.

Hi BlackScript,
thanks for your interest in my APEROLiker firmware!
I am running into the same problem to build the firmware with the latest dependencies.
I use the latest Arduino IDE:
Version: 2.3.2
Date: 2024-02-20T10:04:35.814Z
I use the latest version of arduino-esp32:
Using board 'esp32s2': 3.1.0-RC1  (Contains esp-idf v5.3)
Using core 'esp32':    3.1.0-RC1  (Contains esp-idf v5.3)
I use the latest version of each particular library:
-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-> [Adafruit ST7735 and ST7789<EMAIL_ADDRESS>-> [Adafruit GFX<EMAIL_ADDRESS>-> [Adafruit<EMAIL_ADDRESS>(Adafruit_I2CDevice.h)
-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS><------- Compile error on "undefined reference to `pxCurrentTCB'"
As my research has shown, this is because the new esp-idf v5.3 has updated the dependencies for FreeRTOS. Unfortunately, as always, this is typical for Espressif - no downward compatibility.
In the short term I sadly don't see any possibility of switching from SPIFFS to LittleFS for personal time reasons, as I'm not yet familiar with LittleFS.
Uncommenting the following lines in "ESPAsyncWebServer/src/AsyncWebSynchronization.h" will do the trick:
bool lock() const {
  /*extern void *pxCurrentTCB;
  if (_lockedBy != pxCurrentTCB) {
    xSemaphoreTake(_lock, portMAX_DELAY);
    _lockedBy = pxCurrentTCB;
    return true;
  }*/
  return false;
}

https://github.com/me-no-dev/ESPAsyncWebServer/blob/7f3753454b1f176c4b6d6bcd1587a135d95ca63c/src/AsyncWebSynchronization.h#L28
So now what's the best thing to do?
A bug fix should actually be sought for the ESPAsyncWebServer... But I don't know enough about FreeRTOS to say how to correctly replace the variable "pxCurrentTCB" in esp-idf v5.3.

Hey. i currently got a nearly working build when using this fork of ESPAsyncWebServer https://github.com/mathieucarbou/ESPAsyncWebServer
only thing is that there is a problem with webhook so it reboots when changing values over web ... but there seems already some possible fixes available in the fork issues. so this seems currently the best way with the newest ide and so on...

Ah nice. The fork from mathieucarbou actually seems to be much better maintained.
To be honest, the WiFi functionality of the APEROLiker is only a proof of concept and was intended as a gimmick (nice to have). This is why the build switch ‘#define WIFI_MIXER’ exists. Without WiFi the mixer is maximally stable.
https://github.com/flo199213/APEROLiker/blob/5fef622786bab3b6e0d7de520786b7b43c873128/ESP32S2_Aperoliker_V1.2/Config.h#L36
Of course, that doesn't mean that I wouldn't be interested in getting the firmware with WiFi just as stable... 👍

yes. already seen this ... but i like the gimmick :D which sure not mean this kills this cool device for me ... :)
esp32.esp32.esp32s2.zip
here is the build with the current arduino studio and newest board esp32 v 3.0.4 if you want to try this version


Customizable gravity fields

Feature
A gravity field that is not just a singularity, but rather say a short line would be nice. A planet which is elongated by one axis could benefit from this. At the same time, this would also allow for some funky orbits like those around elongated stars.
Of course, this probably wouldn't be code able.
Context
No response

this is much easier expressed than accomplished

Won't be doing this since it doesn't reflect the vanilla outer wilds experience. Neat idea though


What is the KEY and ENDPOINT in ms_api?

how can i get a key and endpoint in ms_api?

The project details of the FFHQ-UV dataset creation pipeline are available [here], including inverted faces' latent codes (latents.zip) and detected face attributes of inverted faces (lights.zip, attributes.zip, attributes_ms_api.zip).
With these files, one can directly run step3 (DataSet_Step3_Editing) and step4 (DataSet_Step4_UV_Texture) to generate final texture UV-maps.
In "attributes_ms_api.zip", we provide the object returned by MS Face API, where one can find other detected attributes (e.g., age, gender, headPose, smile, facialHair, glasses, emotion, hair, makeup, occlusion, accessories, blur, exposure, noise, qualityForRecognition).
Since 380 samples failed in the encoder4editing inversion task, we only provide information of the remaining 69620 samples.


Failed to initialize SiteSync

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior:
Hello,
When I first start up our AYON server instance, I encountered the following issue. Please advise.
2024-09-16 13:52:49 ERROR      server          Failed to initialize addon /addons/sitesync/1.1.2

    Traceback (most recent call last):
      File "/backend/ayon_server/addons/definition.py", line 84, in versions
        self.init_addon(version_dir)
      File "/backend/ayon_server/addons/definition.py", line 148, in init_addon
        module = import_module(vname, server_module_path)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/backend/ayon_server/addons/utils.py", line 18, in import_module
        spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 940, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "/addons/sitesync/1.1.2/server/__init__.py", line 10, in <module>
        from ayon_server.api import (
    ImportError: cannot import name 'dep_current_user' from 'ayon_server.api' (/backend/ayon_server/api/__init__.py)

Expected Behavior:
No response
Version
1.0.0
What platform you are running on?
Windows, Linux / Ubuntu
Steps To Reproduce:
Our server have all the original codes.
Are there any labels you wish to add?

[X] I have added the relevant labels to the bug report.

Relevant log output:
No response
Additional context:
No response

This will be sorted out with new release which should be available on the market hopefully today.
Or you could checkout develop, run create_package.py and upload created zip from ADDON_REPO/package manually in Studio Settings > Bundles > Upload Addons (restart server and adding newly installed addon to production bundle)

Thank you very much @kalisp. I have downloaded the newer version of sitesync from the Addon Market.


Remove Space Bar panel expansion

I think we've mainly come to agree that it's a bit awkward, and we'd be better off disabling it.
If we decide to move forward with this, we can cancel #201 and #202

Do you think it's enough to just remove it? I know it's a bit awkward, but I suspect some people would prefer to have something than nothing.

So you're suggesting a preference I take it?

I was more thinking of just doing #202 rather than cancelling it.

Closing - done in #2522.


Nullable reference types are not mentioned in the C# tutorial

The linked page instructs how to create a .NET 8.0 project and write code, but does not mention nullability or the NRT setting. When the tutorial is followed word for word, the code ends up having warnings because some methods (like Console.ReadLine) return string? and the tutorial assigns them to a string variable, all while the default project template for a .NET 8 console app enables NRT by default.
The warnings themselves are not very beginner friendly either, because VS does not have a code fix for any of them (besides suppressing the warning). The tutorial should take some approach to eliminate the warning before it is ever introduced, for example:

Instruct to swap the <Nullable> csproj setting to disabled.
Suppress the warning on some level. This may not be ideal because the 2nd part of the tutorial involves creating a new library project.
Rewrite the code examples to work with NRTs correctly (use string?) and explain this.

At the very least there should be an info block explaining the meaning of the warning.

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

ID: 8067c580-66bc-f2a2-49c8-e9990547db48
Version Independent ID: 8067c580-66bc-f2a2-49c8-e9990547db48
Content: Tutorial: Create a simple C# console app  - Visual Studio (Windows)
Content Source: docs/get-started/csharp/tutorial-console.md
Service: visual-studio-windows
Sub-service: general-ide
GitHub Login: @anandmeg
Microsoft Alias: meghaanand

@ineternet -- thank you for your feedback.
@anandmeg -- please look into this issue.


Add BitSearch tracker

Fixes #329

@naveen1hot as I mentioned in #329 I need more info from you:

I would need a full log file with debug enabled in elementum and kodi from you.
See http://elementum.surge.sh/contribute/log/ for a guide.

On a side note, for torrent files BitSearch uses iTorrents.org is a free service for caching torrent files online. and as I can see that sometimes it give us timeout when we try to download torrent file, so you need to try again. This is because of cloudflare protection against bots (burst is a bot). Nothing we can do here.
Does this issue happen all the time for you? I guess you need to try several times.

Try with this change (it uses magnet links instead of torrent files):
"torrent": "item(tag='a', select=('class', 'dl-magnet'), attribute='href', order=1)"
And tell me which approach works better. Create another log file if you will have issues.

(Note that because of cloudflare protection, sometimes BitSearch website itself does not accept connections - thus no results, so you have to run search again).

Hello!!! @antonsoroko .. its working very well now. thanks so much for your help and efforts.

@elgatito Hi. Can you please merge PRs? Thank you!


Add back button support to NavBar

Should also add support for long-pressing on the back button which is new in iOS 14

In our project I created this Element
struct BackBarButton: Element, Tappable {
    let id: String? = nil
    let index: Int = 0
    let parent: Element = NavBar()
    let type: XCUIElement.ElementType = .button
}


Define new geofencing subscriptions API with event subscription endpoint

What type of PR is this?
Add one of the following kinds:

enhancement/feature

What this PR does / why we need it:
Add CloudEvent subscription endpoints.
Which issue(s) this PR fixes:
Fixes #18
Note to reviewers
This PR is a clone to #74
In the fact that I am not allowed to add commits to Chia's repository and he is not part of the CAMARA project anymore.

Thanks for your review @bigludo7!
I will update the PR asap. 🚀

@jlurien I am using, e.g., a swagger editor to validate my written schemas.
For the discriminator used in the "Area" it seams to not work.
My expected behaviour is here that there should be an example for "area" in the subscription-POST-request.
But "area" ist here an empty object:
"area" : {}
Could you please check if this is at least it is specified good or not here:
{
  "webhook": {
    "notificationUrl": "https://application-server.com",
    "notificationAuthToken": "c8974e592c2fa383d4a3960714"
  },
  "subscriptionDetail": {
    "device": {
      "phoneNumber": "123456789",
      "networkAccessIdentifier"<EMAIL_ADDRESS>      "ipv4Address": {
        "publicAddress": "<IP_ADDRESS>",
        "publicPort": 59765
      },
      "ipv6Address": "2001:db8:85a3:8d3:1319:8a2e:370:7344"
    },
    "area": {},
    "type": "org.camaraproject.geofencing.v0.area-entered"
  },
  "subscriptionExpireTime": "2023-01-17T13:18:23.682Z"
}

Thanks in advance

Thanks for the contribution; Some very small corrections to fix the tag.
One question: Do you plan to provide the documentation in this PR or prefer to merge this one only with the yaml and have another for the documentation?

Thanks for the review.
Yes I will add the documentation asap in this PR

@maxl2287 Thanks for the corrections.
I will make another review once the documentation added but no hurry :)

@bigludo7 short question about "CreateSubscription".
I have here just the webhook required.
I saw it as well in your DeviceStatus PR.
But does it make sense?
I think SubscriptionDetail should be required too, shouldn't it?

@bigludo7 short question about "CreateSubscription". I have here just the webhook required. I saw it as well in your DeviceStatus PR.
But does it make sense? I think SubscriptionDetail should be required too, shouldn't it?

That's a fair question.
From a generic pattern the subscriptionDetail is not mandatory as nothing prevent to have one specific path for one type and the device could be identified by the network but this is a very specific case.
In the context of geofencing API, as it the device status API, I think that making createSubscription mandatory makes a lot of sense !
Let's do this way in both API and check team feedback.

@bigludo7 ready now to be rereviewed 🚀


Respect plugin list from baseline

Some of the plugins, in particular, entropy-based and keyword plugins, can generate a relatively high number of false positives. When some of our teams are using detect-secrets, they choose to exclude certain plugins (with or without the combination of excluding some files). Currently, if you run a scan with --no-xxx-scan option, the used plugin list would be persisted in the baseline file.
If some developer or automation system picks up the repo, have no pre-commit hook setup and also unaware of the exclude list, they could run into the issue that they issue detect-secrets --update baseline, then the baseline file is regenerated with all plugins used.
Would the community entertain the idea that detect-secrets --update baseline scan use the plugin list from baseline instead of all plugins (default setting)? Some additional options can be added if you want to use more plugins than baseline ones to scan the repo.
We have something implemented in our fork (offline in our GHE), we'd like to hear some feedback on the problem before submitting a big PR.

Hey @KevinHock , @domanchi thanks for looking into the issue.
So instead of using --update-all, how about using a new option called --use-all-plugins. It would be easier to align with detect-secrets-hook. Somehow the hook command is using --baseline <baseline> to update the baseline, instead of --update 😕
The updated behavior would be

created a new baseline with all plugins

detect-secrets scan

created a new baseline with fewer plugins

detect-secrets scan --no-xxx-scan

update baseline with detect-secrets with exact plugins in baseline

detect-secrets scan --update baseline

update baseline with detect-secrets with all plugins

detect-secrets scan --update baseline --use-all-plugins

update baseline with detect-secrets and use more plugins

detect-secrets scan --update baseline --use-all-plugins --no-xxx-scan
need to know the exact plugins to get rid of
the plugin to be removed will use all plugins as starting point.

update baseline with detect-secrets and use fewer plugins

detect-secrets scan --update baseline --no-xxx-scan
the plugin to be removed will use plugins in baseline as starting point.

update baseline with pre-commit to use all plugins

detect-secrets-hook --baseline baseline --use-all-plugins

update baseline with pre-commit to use exact plugins

detect-secrets-hook --baseline baseline

update baseline with pre-commit hook to use more plugins

detect-secrets-hook --baseline baseline --use-all-plugins --no-xxx-scan
the plugin to be removed will use all plugins as starting point.

update baseline with pre-commit hook to use fewer plugins

detect-secrets-hook --baseline baseline --no-xxx-scan
the plugin to be removed will use plugins in baseline as starting point.

For users who want to always stay at the latest, they can use detect-secrets-hook --baseline baseline --use-all-plugins and detect-secrets scan --update baseline --use-all-plugins
If you guys think this makes sense, I can put something together. It's a little bit different from our current implementation, but I think it's actually cleaner. Our current implementation introduces a bunch of --add-xxx-scan options which allows you to adjust plugins base on all plugins or baseline plugins. The main drawback is that it would hard for user to know when need to add new plugin and what are these new plugins.

SGTM. Looking forward to your improvements!

This issue is implemented through #124

Help me please.
how write # pragma: whitelist secret in java?
I have 2 false positive:
1)
this.clientSecret = clientSecret; //# pragma: whitelist secret
2)
String x =", clientSecret='" + this.clientSecret +"'";  //# pragma: whitelist secret


Ratchet is being upgraded to cake3

https://github.com/WyriHaximus/Ratchet
Started work on upgrading this and related plugins
/cc #121

Sure the alphabetic order is correct?
Note that commented out ones don't count.

Yeah the order is correct, it is the only one not commented out.
Travis is being worked on together with the rest of the plugin, want me to ping you once it has been resolved before you merge?

I didnt see that you removed the other ones.
Well, all right.

@WyriHaximus he meant you should move it above the ones that are commented out.
Please, ping when the plugin is ready for alpha at the very least so people don't use it pre-emptively.

@jadb aah doh, done :).
Will ping when it's alpha


yarn upgrade

related https://github.com/iterative/dvc.org/pull/2779
NB there are 50 warnings (but 0 errors) for yarn lint-ts

NB there are 50 warnings (but 0 errors) for yarn lint-ts

Looks like we need to update our eslint config, since almost all of these warnings are due to eslint using typescript rules on javascript files. I'll open a pull request!


add support for ipv6 addresses

Adds support for ipv6 addresses by issuing either A or AAAA records depending on the underlying ip version.
Fixes #40

Awesome, I was just looking how to solve this. 🙌
Would you mind also adding support in this PR for setting the ipFamilyPolicy and ipFamilies properties on the service when deploying using the helm chart? As this is related to adding ipv6 support.
i.e. in charts/k8s-gateway/values.yaml adding
service:
  # One of SingleStack, PreferDualStack, or RequireDualStack.
  # ipFamilyPolicy: SingleStack
  # List of IP families (e.g. IPv4 and/or IPv6).
  # ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services
  # ipFamilies:
  #   - IPv4
  #   - IPv6

and in charts/k8s-gateway/templates/service.yaml adding at the end:
  {{- if .Values.service.ipFamilyPolicy }}
  ipFamilyPolicy: {{ .Values.service.ipFamilyPolicy }}
  {{- end }}
  {{- with .Values.service.ipFamilies }}
  ipFamilies:
  {{- toYaml . | nindent 6 }}
  {{- end -}}

would allow to also expose the k8s-gateway service on an ipv6 address.

@dedene great catch, that I forgot that. I've added the required settings as proposed in your post.
PTAL

@tobiaskohlbau thanks a lot for adding it to the Helm chart!

@networkop PTAL

great work. thanks @tobiaskohlbau and thanks @dedene for the review!

I'll create a new release next

I'll create a new release next

Awesome, thank I'm able to deprecate my temporarily fork image and switch to official release on my cluster.
Thanks again for the fast and convenient way of handling the PR :)


[Bug] Scan command doesn't work in Redis plugin

Description
As a user I should be able to execute all Redis commands via the Appsmith platform. The scan 0 command doesn't work because it returns a list of lists. The RedisPlugin only handles plain objects or a list of objects. We need to add support for list of lists as well.
Steps to reproduce the behaviour:
Add steps to reproduce this behaviour, include console / network logs & screenshots

Create a Redis datasource
Create a query
Execute the action with the command scan 0
See error

Important Details

Version: [Cloud / Self-Hosted vx.x]
OS: [e.g.MacOSX]
Browser [e.g. chrome, safari]
Environment [production, release, deploy preview]

Closing in favour of https://github.com/appsmithorg/appsmith/issues/6185


add validate metrics

@FBzzh @yuanpcr you can list all potential metrics for the validate task in this issue. For more details about the validate task, you can refer to issue #13 .

Here are some metrics related to the answer groundness.

[ ] Knowledge F1. A lexical overlap metric used for knowledge-grounded dialogue, which checks the F1 score between the tokens of gold passages and model responses.
[ ] Knowledge F1 ++. A variant of K-F1 that discounts tokens from user question or the conversation history in the model response.
[ ] Faithfulness (RAGAS). Use LLM to extract the statements in the model response, and then determines whether these statements can be inffered from the given contexts.
[ ] FActScore.


[Compose] Options set via RoborazziRule are ignored

captureRoboImage function for Compose found here does not use RoborazziContext like View functions do here. Due to that, the change threshold set via rule is ignored by Compose tests.

Thank you for reporting this!


MvM difficulty doesn't display in main menu

https://github.com/rbjaxter/budhud/commit/16cbd64601bb78faab1eaa4dd60fdedd188dffa8


Fixed #29506 -- Added migrate error if app is invalid

https://code.djangoproject.com/ticket/29506#ticket

https://github.com/django/django/pull/10063 is a less repetitive solution.


Release/azure communication identity/1.1.2

/azp run java - communication

Thanks for the review. Merging this in.


initial work on #1483

This adds a cap named draft/utf8-only; my sense is still that this proposal belongs in the public draft process, as part of the conversation around the status of legacy encodings. If you have strong feelings, I can go back to a vendor prefix.
This also enforces that (websockets implies enforce-utf8), and cleans up some enforcement code.

Cool, looks good. Reserve the right to pull it back into being a vendor spec if it sits there for years without anyone else looking to implement it or if people try to tack on all sorts of useless garbage. If we submit it, submit it with the assumption that almost no new functionality will be added to it. it's tiny on purpose and does exactly what it is designed to do very cleanly, with language that lets other implementors handle the important bit how they want to.

Cool, looks good. Reserve the right to pull it back into being a vendor spec if it sits there for years without anyone else looking to implement it or if people try to tack on all sorts of useless garbage. If we submit it, submit it with the assumption that almost no new functionality will be added to it. it's tiny on purpose and does exactly what it is designed to do very cleanly, with language that lets other implementors handle the important bit how they want to.


API Link Path

i have upload API in http://abc.in website and give the following API Link into the Android Code
public static  String apilink = "http://abc.in";
but this i not working. Request please correct where i am wrong

Try using
public static String apilink = "http://abc.in/";
Also, I tried using
http://abc.in/users/login.php?contact=1234567834&password=123456
but this shows 404:Not found

I guess you are done with this issue?
I am closing this for now. If there is still some problem, you can reopen the issue.


(Question) obs proof

Can u add stream option like obs proof chams and esp ?

GoESP is obs-proof

Stream Spoof requires a recoded drawing.


lime-suite: connection registry development

The connection registry api:

Applications can discover and instantiate connections
And developers can extend it for new devices

Major interfaces:
ConnectionHandle represents a discovered device. It holds serials and addresses. It can also be filled in partially to narrow down the search for a specific device.
ConnectionRegistry is the application API that allows ConnectionHandles to be discovered, and IConnections to be instantiated with the ConnectionHandle.
ConnectionRegistryEntry is a class that the hardware developer overloads to implement discovering available devices and instantiating IConnections.
Runtime extending ConnectionRegistry:
The idea is to make ConnectionRegistry extensible without building the lime-suite for new devices or custom devices. Custom ConnectionRegistryEntry and associated custom IConnections can be registered with the ConnectionRegistry at runtime via LoadLibrary/dlopen(). We do this by building the ConnectionRegistryEntry into a library and installing it into a well known location to be loaded at runtime.

Update: connection registry is complete aside from "Runtime extending ConnectionRegistry".

New issue for remaining tasklet: https://github.com/limemicro/lms7suite/issues/33


Since carbon 2.10.0: The "Add-CIisDefaultDocument" function doesn't exist even though it should.

Our deployment-server (octopus) installs the carbon package automatically from powershell gallery. Now with 2.10.0 (since yesterday in powershell gallery) we are getting (reproducible) this bug
NotSpecified: Something unexpected happened. The "Add-CIisDefaultDocument" function doesn't exist even though it should. Here are all functions we know about:
(with a long list, can post if relevant)

2.10.0 fails to import on PowerShell 4. A fix is coming in the next hour. Sorry!

OK. 2.10.1 is out. Let me know if you still have problems.

Discovered that 2.10.1 didn't fix the issue, but figured out the root cause: Carbon fails to import if IIS isn't installed. 2.10.2 will fix this, out sometime today.

2.10.2 is out. Let me know if you still have an issue.

ok we'll try it in the next 2 days.
Thanks for your very fast response!

Haven't heard back. Assuming fixed.

Yes sorry, used the previous version longer than expected, than vacations, ...
Works for now, thanks for the fix!


The API needs to operate in terms of Unicode code points or scalars, not code units

Hi,
As far as I can tell, the internals of this library all use uint which is what one would expect since the tables contain code point values. However, the public UnicodeCalculator API only speaks char. This is a bit of a problem since a .NET char is a UTF-16 code unit, not a Unicode code point / scalar. Many code points that are contained in the tables here can't actually be looked up, severely limiting the usefulness (and correctness) of the library. (This is also out of line with other language ports of this library, including the Python one linked in the README.)
.NET Core 3.0 introduced the System.Text.Rune type (along with str.EnumerateRunes()) which would probably be ideal for the API to work with since an instance of Rune is guaranteed to be a valid Unicode scalar (i.e. a valid Unicode code point that isn't a surrogate). But since taking a dependency on that type is probably undesirable for this library due to targeting .NET Standard 2.0, simply accepting uint would work too.

Yes, I'm aware of this, but operating in code units was good enough for the problem I was solving. To be really usable it would need to use something like Rune like you mention.
If this is something you would need I'm happy to add it.

I'm working on a project that requires fairly accurate measuring of arbitrary input text, so this would indeed be very useful. I was looking around to see if anyone had done a C# port of wcwidth already and came across this project.
I'm also happy to put together a pull request if you happen to be busy with other things. 🙂

@alexrp Absolutely, a pull request is more than welcome!
You could add support for netcoreapp31 and net50, and perhaps adding a preprocess-directive if you want to support Rune in the library.

@alexrp Btw, gotten a lot of inspiration from your System.Terminal project for a new thing I'm building. Great work!

Admittedly there are some aspects of System.Terminal that I've been wanting to overhaul and I've kinda been putting that off for a while, but I'm happy to hear you found it inspirational. 🙂
Can you share more about the thing you're working on? I'm a bit of a terminal app enthusiast so I love to hear about things people are building in this area.

@alexrp I'm currently working on a project called Spectre.Console, and as part of that we're doing a lot of manipulation using ANSI/VT codes. As part of that project I want a bare bones terminal abstraction with a ANSI/VT emulation layer on Windows for "legacy" consoles that doesn't support ENABLE_VIRTUAL_TERMINAL_PROCESSING.
I just tweeted about it here: https://twitter.com/firstdrafthell/status/1398951276113711108?s=20

Aha, that sounds fun and challenging. The Windows console APIs have a lot of weird quirks and limitations so I'll be interested to see where that goes. 🙂 It would be fantastic for libraries like ours to work on older Windows versions though.


Datetime on X axis in not displaying 24 hour format

Datetime on X axis in not displaying 24 hour format:
ScottPlot Version:5.0.34
I am passing an Datetime array to X axis which consists of 24 hour format time but its displaying 12 hour format.
Ex : Given input DateTime : 05-09-2024 22:15:10 but its displaying as  05-09-2024 10:15 PM. Even further, if zoomed in 05-09-2024 10:15:10 ( it wont display AM / PM which leads to wrong display in time).

https://scottplot.net/cookbook/5.0/CustomizingTicks/CustomTickFormatter/

I tried with customizing ticks with date time format (mn:dd:yyyy hh:mm:ss:fff)
It’s working But here the x axis labels is getting overlapped one with the other when the grid lines are aligned closely while zooming

I tried with customizing ticks with date time format (mn:dd:yyyy hh:mm:ss:fff) It’s working But here, the x-axis labels is getting overlapped one with the other when the grid lines are aligned closely while zooming
Enclosed the screenshot for your reference

How to overcome from this issue?

Hi @kareem469, want to try sharing that picture one more time? It's not appearing for me...

Hi @kareem469, want to try sharing that picture one more time? It's not appearing for me...

oops, never mind - I see the missing picture is inside the quote and the original picture is above

Hopefully these resources can point you in the right direction!
Option 1: Custom DateTime tick label format
https://scottplot.net/cookbook/5.0/AxisAndTicks/DateTimeAxisCustomFormatter/
Option 2: Use manual ticks but create them at render time according to the present view using the RenderStarting event https://scottplot.net/faq/render-starting/
Option 3: Create a custom ITickGenerator according to your needs


Retrieve ALL properties/quantities of IfcObject

Hi,
Is it possible to get ALL properties (or quantities) that are related to a ifcObject ?
*I mean without need to know property names (or PropertySet names).
Thanks

Sorry, this isn't possible using the geometry gym ifc toolkit.  We haven't implemented all property sets or constraining a pset to specific predefined types.  You'll have to look at bSDD or ifcdoc as technology to achieve this.


upper bound pydantic version to 2.0

https://github.com/anthropics/anthropic-sdk-python/issues/49

Thank you for this!

Great! When will you release a new version?

v0.3.2 has been released!


Update v1.2.2 patch file with RHTAP compliant labels.

This is a backport of https://github.com/securesign/rekor/pull/72 to the midstream release branch.
/cc @JasonPowr ptal

This will have to be changed to match https://github.com/securesign/rekor/pull/76, sorry about all the changes :)

No longer needed. Instead of patching we just overlay.


feat: Create a section for User Onboarding and adding Reown

Description
This PR creates a "User Onboarding" section under the "Ecosystem" section of ZKsync Era's docs. It also adds Reown as one of the tools available on ZKsync Era for user onboarding.
Linked Issues
N/A
Additional context
N/A

@rohit-710 thanks for the contribution! Could you please run bun fix:prettier and then make sure that bun ci:check passes locally?

Hey @popzxc, the prettier check passes and I made a minor spelling fix as well. However, Cspell tags "Reown" as an unknown word. And I cannot bypass it unless I edit cspell.json file.
 Please let me know

@rohit-710 you can add it to the cspell-blockchain.txt


Please see Issue 19

Apologies if this is not the right format. Its my first pull request.
Below changes are made with the ability to intercept the response prior to it being served in mind.
Changed classes: BrowserMobHttpClient.java and ClonedOutputStream.
BrowserMobHttpClient:
Moved the check for ResponseInterceptor from execute(BrowserMobHttpRequest req)  to    execute(BrowserMobHttpRequest req, int dept).
Added code to write from the ClonedOutputStream after interception.
ClonedOutputStream:
Removed the pairing of OutputStream and ByteArrayOutputStream operations, storing in the array until later. This allows us to make a change to the stream before forwarding it.
Notes:
This only works for text code now.
Please send back any feedback or suggestions to me, I havent really worked in this type of area before, so its all learning.
Thanks
Andrew

@afoleypp / @controllerface -- any chance you could update this PR against the 2.1 code in master and add unit tests? It does look like a useful change.
The good news is that LittleProxy is on the horizon and should obviate the need for this.

Since the LP implementation is out now, I'm going to close this PR. Interceptors should work much more smoothly with LittleProxy.


Add retries for apt-get in Travis

Not sure if it will help with the errors like below
Hit:31 http://ppa.launchpad.net/webupd8team/java/ubuntu trusty InRelease
Hit:32 http://ppa.launchpad.net/couchdb/stable/ubuntu trusty Release
Fetched 7,048 B in 1s (4,254 B/s)
Reading package lists...
W: http://dl.hhvm.com/ubuntu/dists/trusty/InRelease: Signature by key 36AEF64D0207E7EEE352D4875A16E7281BE7A449 uses weak digest algorithm (SHA1)
W: http://ppa.launchpad.net/couchdb/stable/ubuntu/dists/trusty/Release.gpg: Signature by key 15866BAFD9BCC4F3C1E0DFC7D69548E1C17EAB57 uses weak digest algorithm (SHA1)
E: Failed to fetch http://dl.hhvm.com/ubuntu/dists/trusty/main/binary-i386/Packages  404  Not Found [IP: <IP_ADDRESS> 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Error executing command, exiting

Coverage increased (+0.03%) to 100.0% when pulling 2ef479b3135b4a5c9923b4046911e70d8f28be51 on add-retries-for-apt-get into acfbf292e41856c8d2477dc84095dd0ac4ba8df3 on master.

Is it related to https://github.com/travis-ci/travis-ci/issues/8774?
restarting the build

looks like it's been resolved, https://www.traviscistatus.com/ on Nov 16


Redirect: False Not Affecting Behavior

I started using express as part of Angular Universal and started facing this issue: https://github.com/angular/universal/issues/2827

Request with no trailing slash (/welcome)
A 301 redirect returned to request with location including the trailing slash (/welcome/)
200 OK returned
Trailing slash stripped in the URL bar in browser

I see other people have brought it up and the answer is usually try redirect: false so that server-static doesn't add the trailing slash.
Problem is I tried using that using Angular Universal 10.1.1 and Express 4.15.2 and it had no effect.
Does Express / Node have any sort of caching that would cause this change to not show and if so anyone know how to prevent that? Is it working for everyone else still?

Hi @ewwwgiddings sorry for your issue. It is certainly possible that something else outside of serve-static is performing the redirect, which is why redirect: false there is having no effect; that answer would only apply if that is were your redirect is coming from. Express.js itself has no caching internally. We can help, but there are too many unknowns and we would need your complete application and reproduction steps in order to debug through it to determine where the redirect originates.

I checked everything else all through every file in the node_modules and I'm fairly certain it's serve-static. I didn't see any other code giving a redirect. I can get a basic app set up with the issue and attach it here when I do. Thank you!

Sounds good, I'm glad to help. If you're able to alter your node_modules contents for your app, another thing you can always try to validate that it is serve-static is you can comment out the actual code lines that send the redirect (or even just change them to send a 500 instead) that would indicate that indeed that is the source.

That's a great test. Thanks for that idea. The reason I started thinking cache and asking about that with Express/Node was that I started changing stuff and there didn't seem to be anything happening as a result. One thing was altering that file you linked for redirect to always be false. I'll give your idea a shot in a little bit here. Thanks again.

We can close this. I'm working on another way around this and I'm no longer thinking it's certain to be related to this. Thank you a ton for your help!


Add ARM64 versions of docker-compose files for nexus release

Adds ARM64 versions to be used by blackbox tests (and others).  Intended
to create a single source of truth for docker-compose file variants
across the entirety of EdgeX.
See https://github.com/edgexfoundry/blackbox-testing/issues/282, https://github.com/edgexfoundry/blackbox-testing/issues/295.
Fixes: https://github.com/edgexfoundry/developer-scripts/issues/154
Signed-off-by: Michael W. Estrin<EMAIL_ADDRESS>

docker-compose-nexus-arm64.yml = docker-compose-nexus.yml + "-arm64" suffixed images.
docker-compose-nexus-no-secty-arm64.yml = docker-compose-nexus-no-secty.yml + "-arm64" suffixed images.

Is there anyway we can reduce the "matrix" of individual docker-compose files here? While I am 100% on this change in that it gets us closer to having all the compose files in one place, it would be even better to have this one repo be the source of truth for compose files and also have shared definitions etc. that are shared across the different permutations.
for example, it seems like we're now getting to the point where we will have by my count 4 dimensions of docker-compose files:

one for security/no security
one for arm64/amd64
one for redis/mongo
one for nightly, one for each other release

Does docker-compose have some sort of concept of inheritance from other yaml files? I know you can do this within a single yaml document, but we are beginning to seriously duplicate definitions across files, hence my inquiry.
If there's not an easy way to do this, it's okay to just do it like this now and consolidate into less files later as well.

Rebased.  Made additional changes to take into account changes made to source docker-compose files since PR was originally created.

Rebased and addressed conflicts.  Updated rules-engine to use master label (see https://github.com/edgexfoundry/developer-scripts/pull/174).

Placing on hold pending resolution of what version of Kong security group wants to target for Fuji release.

Closing without merge.  There have been multiple changes to the original x86 files.  Have duplicated originals and added -arm64 suffix to image names.  Currently have an issue bringing the system up; docker-compose reporting:
ERROR: for edgex-proxy  Cannot start service edgex-proxy: OCI runtime create failed: container_linux.go:346: starting container process caused "exec: \"/bin/sh\": stat /bin/sh: no such file or directory": unknown
Unfortunately, I don't have a way to test/resolve arm64 issues.


🎯 🔁 Business Subscriptions

👀 What
Support subscribing as an organization to tiers of group "Pro" and "Business"; user can select org to subscribe as in a dropdown in connection with the subscription action for the tier. Granting access to benefits for their members (TBD - See decision log on this).

👥 Audience: Everyone
🚢 How
Must have

[x] Select organization to subscribe as in connection with "Pro" & "Business" tiers
[x] Show organization in maintainers "Subscribers"-view (including a count of members?)

Should have

[ ] Ability to set a maximum amount of supported members in the tier settings

Could have (See decision log re: team member access)

[x] Grant benefit access to all team members
[x] Revoke benefit access to all team members (unsubscribe)
[ ] Support to limit benefits to organization admins vs. all, e.g future benefits like logotype in README etc
[x] Incrementally update benefit access to users as team updates, e.g members join, leave etc.

📓 Decision log
🚨 How does team members access benefits, e.g premium posts?
Our solution is to grant the benefit to all members of an organization, i.e each member would get the premium posts in their own - personal - feed. Of course, this is up to each benefit and how it implements the grant logic for a subscribed organization and a particular organization member, e.g future benefits might only grant access in case the member is an admin (logotype placement management as an example). Nonetheless, this approach gives ultimate flexibility to each benefit how it's best surfaced and to whom within an organization, and avoids the user having to jump around multiple profiles to experience them all.
In the future, we might want to add clarifications in the feed/benefits that the user has access to them because their organization is a subscriber. Combined with ability to mute, hide etc. Or even that it would require more of an opt-in for the user, e.g "You can get premium updates from [developer] because your organization is subscribed. Opt-in". TBD and not a concern now at this early stage until feeds start getting out of hand 🙂

🚨 How does team members access benefits, e.g premium posts?
Early in our discussions of Feed, we had the idea of your personal feed including content/benefits from maintainers that you have access to because an org you're a part of has subscribed. However, I believe we decided on separating them. Having a feed unique per user/org, e.g making your personal feed truly personal and separate from your work feed for instance. I believe this is cleaner and more aligned with what users would expect. It also greatly simplifies benefit grants. Not having to automatically grant access to all team members, but the organization, and by consequence members would gain access when viewing the feed from the org.

Unless I'm mistaken, I think we changed our mind about this in our last demo meeting. A user should only have one feed and see all the posts they are directly or indirectly subscribed to. Can you confirm that it was our decision, @birkjernstrom?
In the future, we could maybe add filters to the feed so the user could hide content they don't want.

Unless I'm mistaken, I think we changed our mind about this in our last demo meeting. A user should only have one feed and see all the posts they are directly or indirectly subscribed to. Can you confirm that it was our decision, @birkjernstrom?
In the future, we could maybe add filters to the feed so the user could hide content they don't want.

You're not mistaken, but 100% correct. This was a reflection of an earlier conversation before we commenced work on the feed, posts etc. I'm happy we opted for benefits being granted each member and within their own feed. Agree that in the future we can add more controls to manage the feed accordingly, if this ever becomes a problem. I'll update the decision log now to reflect this.

@birkjernstrom @frankie567 I'd like to make a case for only allowing organizations to subscribe to business tiers. Allowing an organization to subscribe to Pro-tiers would likely become a way for groups of people to acquire subscriptions for a small amount of money, split between the organization members.

@emilwidlund In the current implementation, there is no restriction upon which tiers an organization can subscribe to (including Hobby).
I'm not sure it's necessary to add too many restrictions right now, without having seen abuse in the real-world.
Besides, I'm quite reluctant to add business logic to the tier types, which were primarily designed  as a way to display/group tiers rather than bearing specific logic (we are not even 100% sure if those groups are sensible). If we need to integrate features to prevent organizations abuse (again, not convinced it's necessary to tackle this now), I would say it's preferable to have dedicated feature for them (like limiting the number of members, as Birk suggested).


WIP: Ran basic formatting on code base based on extrapolated rules from existing code.

Note the following:

Tabs are used
Empty lines in functions will keep tab indentation belonging to the nesting of the function
negation operator for booleans in if is followed by a space
Comment indentation is aligned
Operators such as ++ or -- do not have a space in front

Note that files previously where touched by me seemed to have been using spaces which causes most of those pieces of code to have heavy changes in the diff.
Please comment with any corrections that are needed.

I was planning to have less use of spaces in the code. Could you see if you can remove the spaces before and after the parentheses for function calls, if statements, for-loops etcetera so that function x( arg1 ) becomes function x(arg1) and foreach( a in x ) becomes foreach(a in x).
Also there is no need for a space between ! and the value so ! empty( x ) can become !empty(x)


Problem solving the model

Dear Prof. Maih,
I'm trying to solve and estimate a small DSGE and I'm having problems trying to figure how to calculate the policy function of a variable, the variable is defined as follows m{+1} = exp(-(1/theta)*V{+1})/E[exp(-(1/theta)*V{+1})],  it should be the ratio between the exponential of the variable (without expectation) and the expected value of the same transformation.
How can I do something like this?
Also I the model has an occasionally bindng constraint on debt (with associated multiplier mu) but I don't want the constraint to be governed by the switching mechanism, can you tell me if the code I have written it's right?
Thanks in advance for your help.
ambig.txt
Andrea

Hi Andrea,
You can break the problem into several parts using auxiliary variables.
AUX{t}= E[exp(-(1/theta)*V{+1})]
m{+1} = exp(-(1/theta)*V{+1})/AUX{t};
That said, I am not sure whether what you want to do is correct anyway.
check whether the left-hand side is dated t or t+1.
Cheers,
J.
On Thu, Jun 6, 2024 at 2:43 PM Andrea Fratini @.***>
wrote:

Dear Prof. Maih,
I'm trying to solve and estimate a small DSGE and I'm having problems
trying to figure how to calculate the policy function of a variable, the
variable is defined as follows m{+1} =
exp(-(1/theta)*V{+1})/E[exp(-(1/theta)*V{+1})], it should be the ratio
between the exponential of the variable (without expectation) and the
expected value of the same transformation.
How can I do something like this?
Thanks in advance for your help.
Andrea
—
Reply to this email directly, view it on GitHub
https://github.com/jmaih/RISE_toolbox/issues/186, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AATKBT3FQWDORLZCZQ7CMB3ZGBKQDAVCNFSM6AAAAABI4U7IOCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZTQMJWHAYDAMY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Dear Prof. Maih,
Thank you very much for your answer! What I need to calculate is just the ratio between the exp transformation of the random variable V and the expected value of the same quantity both in t+1 which is the definition of m{+1}, but more in general, it's possible to explicitly as RISE to calculate the conditional expectation E_t [V]? So that I can calculate m = exp(-(1/theta)*V) / E_t [exp(-(1/theta)*V)].
Thank you again for your help!
Andrea

V{+1}  is interpreted as E_t(V{+1})I don’t know whether that’s what you mean. 6. juni 2024 kl. 23:22 skrev Andrea Fratini @.***>:
Dear Prof. Maih,
Thank you very much for your answer! What I need to calculate is just the ratio between the exp transformation of the random variable V and the expected value of the same quantity both in t+1 which is the definition of m{+1}, but more in general, it's possible to explicitly as RISE to calculate the conditional expectation E_t [V]? So that I can calculate m = exp(-(1/theta)*V) / E_t [exp(-(1/theta)*V)].
Thank you again for your help!
Andrea
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Dear Prof. Maih,
Thank you, that's the problem that I have, I need to calculate just the ratio between the random variable and its conditional expectation, is it possible to do in t instead of t+1?
Thanks!
Andrea

I am not sure I understand. E_t(V{t}) = V{t}Please express the mathematical problem more clearly.J. 6. juni 2024 kl. 23:47 skrev Andrea Fratini @.***>:
Dear Prof. Maih,
Thank you, that's the problem that I have, I need to calculate just the ratio between the random variable and its conditional expectation, is it possible to do in t instead of t+1?
Thanks!
Andrea
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>


[Bug] v0.0.31: daily adjusted runtime type

When upgrading to v0.0.31 suddenly the daily runtime was multiplied by 100. As you changed percentage i opened integration options, saw 100 as percentage and did a save. After that the daily runtime was restored. I rebooted HA again to make sure it is not a startup bug but it wasn't: after restart daily runtime values was OK.
But my irrigation automation is not running anymore. It fails with error:
2020-06-04 03:00:00 ERROR (MainThread) [homeassistant.components.automation] Automatische beregening: Error rendering Automatische beregening delay template: expected int for dictionary value @ data['seconds']
Here you see the multiply bug happened after upgrade to v0.0.31 and the current values which look good:

Code for delay which worked without issues until now:

delay:
seconds: '{{states("sensor.voortuin_daily_adjusted_run_time")}}'

interesting. what happens if you change {{states("sensor.voortuin_daily_adjusted_run_time")}} to `{{states("sensor.voortuin_daily_adjusted_run_time")|float}} ? Or was the error just temporarily?

nope doesn't work. Stanga as my used condition:
condition:

above: '0'
condition: numeric_state
entity_id: sensor.voortuin_daily_adjusted_run_time

Is working...

Ok, change it to:
seconds: "{{states.sensor.voortuin_daily_adjusted_run_time.state|int}}"
Now it works again.

ok, thanks.


OpenTelemetry Operator for Kubernetes - cert-manager required

A note at the top of the page stating that cert-manager is required and a link to install instuctions for that would be helpful.
https://opentelemetry.io/docs/kubernetes/operator/

It is not required ; the operator also supports self-signed certificates.


Y directive

I'm submitting a ...

[  ] bug report
[ * ] feature request
[  ] question about the decisions made in the repository
[  ] question about how to use this project

Summary
Implement the Y (year) directive as per the project roadmap documentation:

This sets the default year in journals that use the short form of dates (month and day only).
Documentation

This issue requires completion of #12.
Other information
(e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

Ensure that the year in the Y directive is used when completing shortened dates in the cooked journal. If the Y directive isn't present, then the year in the system datetime is used.

:tada: This issue has been resolved in version 2.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Vulkan memory allocator (VMA) support?

Hey, I have some questions. Why Wolf.Engine does not using VMA (Vulkan Memory Allocator)? Or you have so good memory allocator?

neither good nor bad. :)
But I'm going to integrate it with AMD's VulkanMemoryAllocator in the next release.

@elviras9t
w_buffer integrated with AMD's VulkanMemoryAllocator
#76f3743


Move Seiso UI theme into its own Bower package

Same thing we did with the seiso.io theme (it's now in seiso-samurai).

Closing. Not really clear that we want this. If we change our mind we can come back to it.


Popping out widget and maximising it does not change audio settings

Audio settings should remain the same regardless of how the user interacts with widget location or sizing.
(This needs to be tested to confirm that this is still an issue)

I'm assuming this is about the video player and not Jitsi.
Popping out the widget loads a completely new instance of the widget, which is why it resets. We might be able to remember the audio settings in localStorage.

localStorage only works while third party tracking is allowed, and only works for maximise.
Leaving this issue alone for now.

Filed the maximise issue as https://github.com/vector-im/element-web/issues/20596

Assigning to @jaywink as this has been fixed upstream and we just need to make sure it makes it into our downstream app

Fixed


uplift ci without JLab upgrade

separate from https://github.com/jpmorganchase/jupyter-fs/pull/162
temporary fix for https://github.com/jpmorganchase/jupyter-fs/issues/167
fixes https://github.com/jpmorganchase/jupyter-fs/issues/72

@timkpaine Since the pipelines are running with your account, e.g. here: https://dev.azure.com/tpaine154/jupyter/_build/results?buildId=3017&view=logs&jobId=cea277d1-520e-58b3-21c9-6f6931bd2abd , do you think you could give this SO answer a try?
https://stackoverflow.com/questions/58190985/how-to-completely-remove-azure-pipelines-from-github
Sorry if this is missing the mark, I don't know much about configuring Azure pipelines.

Thanks Tim! 👍


can you please add hot reload bundle

can you please add hot reload bundle for development?

What do you mean by that?
Yo can run npm start to serve and watch your project.


Make the project multi-modules

Instead of using a root project, using https://github.com/Kotlin/kotlinx-io project as reference.
Using modules allows a finer control of classes visibility and will be especially useful for a future db module containing a default sqldelight implementation (see https://github.com/sqldelight/sqldelight/issues/1333#issuecomment-544173941).
⚠ Merging this PR will create conflicts in all other PRs due to moving the src directory.

modules branch should be renamed to snapshot/modules. This will trigger our publishing workflow on github Actions and will let us publish snapshot versions to  https://oss.sonatype.org/content/repositories/snapshots/ (our publishing scripts will probably need to be updated too) so we can also test that downstream projects (phoenix, phoenixd) can still be built properly.

We could copy eclair, with publishes a top-level eclair module and also several artifacts like eclair-core or eclair-node.

Actually, linking the root eclair project will not pull all child dependencies. We could try to do that on lightning-kmp, but I'm not sure it's worth it.


Endless recursion hangs processes

Describe the bug
I enter some code that runs a simple recursion, making the mistake to forget a small part and thereby rendering the loop endless. I have tried this in C# and F#, like this:
let rec fact x = if x > 0 then x * (fact x) else 1

printfn "%d" (fact 5)

(Should be fact (x - 1) in the then part, of course.)
Problem is that when I run this, it starts counting execution time and never ends (or crashes - not even in C#).
I can't stop using the Stop button either -- it simply doesn't react at all to being clicked.
Even after quitting VS Code, there are dotnet processes hanging around in the system that need to be killed manually.
Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):
Version: 1.0.410202+fce65bd557e21539f9eb0ba3f9c6a64300386c94
Library version: 1.0.0-beta.23102.2+fce65bd557e21539f9eb0ba3f9c6a64300386c94
Build date: 2023-02-14T10:39:47.1022769Z

OS

[X] macOS

Frontend

[X] Visual Studio Code

Note sure if helpful, but I'm surprised it doesn't end in a stack overflow exception, since your function is not tail recursive. When run in F# Interactive, it does.

I just came here with the intention of reporting this same problem, since I encountered it again and I'd completely forgotten that I had reported it previously. Yes, it should be a stack overflow! Actually, I'm demonstrating some samples of this kind specifically with the intention of dying in a stack overflow...
I don't agree with the low impact assessment. This strange issue means that C# Interactive is completely useless for my C# language demonstrations since it just doesn't behave the same way any "normal" command line based method would.

Problems remains unresolved with this version info
Version: 1.0.522904+cdfa48b2ea1a27dfe0f545c42a34fd3ec7119074
Library version: 1.0.0-beta.24229.4+cdfa48b2ea1a27dfe0f545c42a34fd3ec7119074
Build date: 2024-05-16T07:32:39.7613154Z


Bonsai Tries: Respect account deletion across transacitons

PR description
In a block if another account is deleted vs self destruct the sstore
operation could get an incorrect original value, and if the new write is
the same as the value before delete a SLOAD cost will mistakenly be
applied.  Found in mainnet block 11905274 for account
0x7f150bd6f54c40a34d7c3d5e9f56.
Fixed Issue(s)

Changelog

[ ] I thought about the changelog and included a changelog update if required.

Looks good to me, would there be a way to have a test to back it up?


Deliverables [POs]: release plans

User story

As a {}
I want / need {}
So that {}

Acceptance criteria

Clean-up mid-project [release plan]
Create final project [release plan]
To be submitted as part of your planning documents

Definition of done (DoD)

Added only after week 5
The same for all features
Here goes the project specific part

DoD general criteria

Feature has been fully implemented
Feature has been merged into the mainline
All acceptance criteria were met
Product owner approved features
All tests are passing
Developers agreed to release

Done in sprint 5 https://github.com/amosproj/amos2022ss04-digital-identity/commit/8b9cdf974b0592bb76a4d87a3d35fe9834c38272


Fix 343

Resolves #343. There is no need of a conditional statement, as MATLAB will only accept existing paths and will ignore any other paths/text/arguments that do not exist. if SMP_DIR does not exist, this still works.

Looks fine to me. Did you test this when Matlab is present, but SPM isn't? Travis doesn't have Matlab support so we need to be extra sure before merging any Matlab changes!

I have tested it when MATLAB is there but not SPM, and by adding various real and fake paths interleaved and MATLAB will only take whichever paths exist.

ok. No point waiting for Travis as the code won't be tested.


Column size does not account for visual length of caracters

First of all, thanks for the project, it really makes life a bit easier.
I'm facing a problem that whenever the characters inside a table cell span multiple terminal cells (such as emojis, japanese and other unicode characters), the width of the cell counts it as only one character.
The problem here is probably the use of len to determine the length of the column, which works fine for most eastern characters. I'd suggest using something along the lines of https://github.com/jquast/wcwidth to find the visual column width.
Small example:
from columnar import columnar
data = ["👍", "another column"]
headers = ["A", "B"]
table = columnar(data, headers)
print(table)

and its output
|-----|--------------|
|A    |B             |
|====================|
|👍    |another column|
|-----|--------------|

Hey @Kasama, sorry for the wait and thanks for pointing that out! That's an interesting one. In addition to using something like wcwidth we will probably have to add a little extra logic for wrapping cells that contain characters that are wider than 1 column. I'll look into it.

So I did a little re-factoring and added support for double-width characters incorporating the wcwidth library in PR #7 . Things are looking good in testing but let me know if it is still giving you trouble. Support for double-wide characters will be included in version 1.3.0 which I will hopefully have up on pypi later tonight.


Outreachy guide: Link to bite-sized bugs issues is pointing to a non-existent label

https://github.com/zulip/zulip.github.io/blob/master/outreachy-round-15.md

Fixed via https://github.com/zulip/zulip.github.io/pull/46; thanks for the report @rosatamsen!


[AutoPR network/resource-manager] Updated network watcher swagger and examples for 2018-01-01 version

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/2508

Codecov Report

Merging #2004 into restapi_auto_network/resource-manager will increase coverage by 0.15%.
The diff coverage is n/a.

@@                            Coverage Diff                            @@
##           restapi_auto_network/resource-manager    #2004      +/-   ##
=========================================================================
+ Coverage                                  53.12%   53.28%   +0.15%
=========================================================================
  Files                                       4724     4724
  Lines                                     117256   117644     +388
=========================================================================
+ Hits                                       62293    62681     +388
  Misses                                     54963    54963

Impacted Files
Coverage Δ

...express_route_circuit_authorizations_operations.py
96.61% <ø> (+0.11%)
:arrow_up:

..._11_01/operations/network_interfaces_operations.py
43.28% <ø> (+2.09%)
:arrow_up:

...ons/network_interface_load_balancers_operations.py
26.47% <ø> (+2.22%)
:arrow_up:

...10_01/operations/public_ip_addresses_operations.py
12% <ø> (+3.28%)
:arrow_up:

...ions/express_route_service_providers_operations.py
26.47% <ø> (+2.22%)
:arrow_up:

..._11_01/operations/route_filter_rules_operations.py
17.76% <ø> (+2.79%)
:arrow_up:

...10_01/operations/connection_monitors_operations.py
13.52% <ø> (+3.02%)
:arrow_up:

...ons/load_balancer_network_interfaces_operations.py
26.47% <ø> (+2.22%)
:arrow_up:

.../operations/virtual_network_peerings_operations.py
20.33% <ø> (+2.79%)
:arrow_up:

...2017_10_01/operations/security_rules_operations.py
16.1% <ø> (+2.94%)
:arrow_up:

... and 142 more

Continue to review full report at Codecov.

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


Branch shadow prices

Do you plan to offer those for CAISO?

@Sparhiz Could you provide a link to the dataset you're interested in?

Is it the Nomogram/Branch Shadow Prices available on OASIS?

Yes.
On Sun, Jul 28, 2024 at 4:32 PM Will Koehrsen @.***>
wrote:

Is it the Nomogram/Branch Shadow Prices available on OASIS?
Screenshot.2024-07-28.at.19.31.52.png (view on web)
https://github.com/user-attachments/assets/c4227f23-93c1-4c62-b57d-bb3962854de4
—
Reply to this email directly, view it on GitHub
https://github.com/kmax12/gridstatus/issues/407#issuecomment-2254688945,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKDQY33MDMMZVAE7Z2ZUTW3ZOV5SPAVCNFSM6AAAAABLPFMHJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGY4DQOJUGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

@Sparhiz This dataset is on our radar but not on our immediate roadmap. You are welcome to add the dataset through a PR that we'll review.

How to do that?
On Thu, Aug 1, 2024 at 3:14 PM Will Koehrsen @.***>
wrote:

@Sparhiz https://github.com/Sparhiz This dataset is on our radar but
not on our immediate roadmap. You are welcome to add the dataset through a
PR that we'll review.
—
Reply to this email directly, view it on GitHub
https://github.com/kmax12/gridstatus/issues/407#issuecomment-2264104289,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKDQY37V4RL34CLRE4NRMZ3ZPKXNVAVCNFSM6AAAAABLPFMHJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRUGEYDIMRYHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Fork this repo
Create a new branch to add the branch shadow prices
Create a method in the caiso.py file that retrieves the branch shadow prices from OASIS. You can use other methods in that file as a template.
Write tests for the method in test_caiso.py
Open a PR in this repo
We'll review and if the code looks good and works, merge it


TypeError: TimeSeriesPredictor.fit() got an unexpected keyword argument 'skip_model_selection'

Same problem as in #4156, closing this issue.


IOS Push /!\

Hello , i have a problem with plugin ,
I can not get my token device while this plugin is implemented in my application since 1 month.
It work fine last last week.
someone has the same problem as me?

Hi there @jedofus, I am currently developing using this plugin and is currently facing the same issue as you.
I am testing on my iOS app and from the logs that I retrieved I got message as follows:
Jul 19 20:57:21 Device[1054] <Warning>: Ionic Core: plugins are ready
Jul 19 20:57:22 Device[1054] <Warning>: Push Plugin register called
Jul 19 20:57:22 Device[1054] <Warning>: PushPlugin.register: setting badge to false
Jul 19 20:57:22 Device[1054] <Warning>: PushPlugin.register: clear badge is set to 0
Jul 19 20:57:22 Device[1054] <Warning>: PushPlugin.register: better button setup
Jul 19 20:57:22 Device[1054] <Warning>: GCM Sender ID (null)
Jul 19 20:57:22 Device [1054] <Warning>: Using APNS Notification

I have placed alert inside and outside $cordovaPushV5.initialize and it works fine, however when I placed an alert inside $cordovaPushV5.register() to retrieve the registrationId nothing as replied.
Are you facing the same issue?

I've got exactly the same issue. On iOS, the registration callback is never called.
      push.on('registration', (data) => {
        console.log(data.registrationId);
      });

The really weird thing here is that it was working for me so far, looks like I didn't change anything in my code and it suddenly stopped working... The callback was called yesterday, and today is not anymore. I tried to uninstall the plugin and install it again, does not change anything.
My bundle ID is correct, same for certificates..
Xcode output:
2016-07-19 21:10:40.640 App[10894:5885195] DEVICE READY FIRED AFTER 1784 ms
2016-07-19 21:10:40.656 App[10894:5885226] Push Plugin register called
2016-07-19 21:10:40.656 App[10894:5885226] PushPlugin.register: setting badge to false
2016-07-19 21:10:40.656 App[10894:5885226] PushPlugin.register: clear badge is set to 0
2016-07-19 21:10:40.656 App[10894:5885226] PushPlugin.register: better button setup
2016-07-19 21:10:40.657 App[10894:5885226] GCM Sender ID (null)
2016-07-19 21:10:40.657 App[10894:5885226] Using APNS Notification

I tried a lot of different things but I am out of ideas right now... Any help would be really appreciated.
I am using Ionic2, using this plugin imported via ionic-native.
I repeat, it was working yesterday and I didn't change anything (Actually, I generate new app icons...), just rebuilt my app and it stopped.

We're having the same issue. Yesterday it suddenly stopped working on iOS 9.3.2. However, I was able to get it to work on 8.4 on an iPhone 4s.

@schankam I am having the same issues with u, managed to get it work last night 12am (GMT+8) (18/7)
But when I try to test it today I doesn't work anymore...

Same for me. Nothing has changed but the app does not fire the registration event.

Not sure what to tell you all as there aren't many details. If your app has stopped getting a registration ID then check to see if APSN is up https://developer.apple.com/system-status/

When we deployed a prod version and were able to register for a device token, so my guess is that it is related to the sandbox environment.

Same issue here. Yesterday the apps that use this plugin were able to register for tokens and receive push notifications, but today none happen anymore in development environment. I'm investigating the issue and will show up with more details as soon as I have them.

Getting this issue as well, It work perfectly since this morning (over 12 hours ago UTC+7) in production environment
It working on Android but iOS. I think this issue is related to GCM sanbox.

I don't use GCM and have the same issue. So if it's related to some sandbox, it should be related to APN's.

i had the exact same issue all day, when suddenly it worked again. Are you guys experiencing the same thing?
for what it's worth I was using phonegap-push-plugin v1.6.4, tried with v1.7.4 (latest), then it worked, but reverted to 1.6.4 to test again, and it worked also...
2 possible explanations :

either something was broken in my build and removing/adding again the plugin fixed it
or APNS sandbox was down, but it was not advertised on apple's site

if it does not work for you, try updating the plugin and retry.
@macdonst : isn't the on('error') callback supposed to fire at some point if the call to Apple's apns server times out?

In Testflight and production this is working.

Folks, I know this annoying but I don't think it has anything to do with the plugin. I believe it to be a problem with Apple's servers.

or APNS sandbox was down, but it was not advertised on apple's site

This ^

@macdonst : isn't the on('error') callback supposed to fire at some point if the call to Apple's apns server times out?

Let's suppose this happens again, specially in production. This is a good question.
Maybe a timeout for register could help?

I had encountered same issue yesterday, but it works for me now with the same code.
In my case, this problem was happened in GCM Notification and iOS.

I am not using GCM for iOS, I am using APN. Still not working yet for me this morning.

@macdonst is right, the cause was from the apple server. But the problem was apparently solved.
https://forums.developer.apple.com/thread/52224

It's working right now, I think we can close this topic :smiley:

or APNS sandbox was down, but it was not advertised on apple's site

This ^

@macdonst : isn't the on('error') callback supposed to fire at some point if the call to Apple's apns server times out?

Let's suppose this happens again, specially in production. This is a good question.

I really think this issue is worth something.

Maybe a timeout for register could help?

@macdonst if you agree, I can work on some code so that the plugin do that.

@panaggio yeah, if you want to send a PR that fires an error event when registration takes too long that'd be great.


Add color to Advanced Search query blocks to indicate nesting levels.

Problem Description:
The current advanced search interface does not provide a clear indication of the different levels within a search query.
Which causes users to get lost/overwhelmed within the search as there are many vertical and horizontal patterns.
Expected Behavior/Solution:
Add color indicators to differentiate which queries are a part of - or not a part of a certain level within the overall query.
Requirements:

Each use of a Multiple Field such as have all of, have none of, have any of will act as the head level with all single fields as their sub/children level.
Alternating colors will be used as the background for each new and existing Multiple Fields as well as the sub/children fields within the multiple field.
Colors will comply with accessibility standards.

Needed for promotion:
If an item on the list is not needed, it should be crossed off but not removed.

[ ] Wireframe/Mockup - Mike
[ ] Committee discussions - Sarah
[ ] Feasibility/Team discussion - Sarah
[ ] Backend requirements - TBD
[ ] Frontend requirements- TBD
[ ] Are new regression tests required for QA - Amy
[ ] Questions
List of questions for discussions. Answers should be documented within the issue.

UAT/LUX Examples:

Any Advanced Search example:

https://lux-front-tst.collections.yale.edu/view/results/objects?openSearch=false&q={"AND"%3A[{"OR"%3A[{"producedBy"%3A{"id"%3A"https%3A%2F%2Flux.collections.yale.edu%2Fdata%2Fperson%2F34f4eec7-7a03-49c8-b1be-976c2f6ba6ba"}}%2C{"encounteredBy"%3A{"id"%3A"https%3A%2F%2Flux.collections.yale.edu%2Fdata%2Fperson%2F34f4eec7-7a03-49c8-b1be-976c2f6ba6ba"}}%2C{"productionInfluencedBy"%3A{"id"%3A"https%3A%2F%2Flux.collections.yale.edu%2Fdata%2Fperson%2F34f4eec7-7a03-49c8-b1be-976c2f6ba6ba"}}]}]}

Dependencies/Blocks:
N/A
Related Github Issues:
N/A
Related links:

Bugherd: https://www.bugherd.com/projects/284041/tasks/2695
Resource: https://sparnatural.eu/

Wireframe/Mockup:
Place wireframe/mockup for the proposed solution at end of ticket.

Possible ideas include:

have the blocks highlighted to a certain color depending on the nesting level.
add a spacing between the multiple fields and single fields within each container. This way you can see the container of which single fields live within the multiple fields.

Next steps:
@kamerynB to create a mockup and bring to IT team meeting. (possibly 12/13?)

@kamerynB - After, reviewing with accessibility on Thursday, can the mockup reviewal be added to the January IT team meeting? (01/10)
or would you prefer @miketullo95 to create the mockup for this?


Any plans to support Grafana 8.x ?

Any plans to support Grafana 8.x ?

Great plug-in working fine on Grafana 7.5.4 but the click scripting seems to break with Grafana 8.x.  Java console shows errors related to this.partial not being a function...so, any plans for Grafana 8?

I am looking forward also to upgrade this panel to support grafana 8 and 9.


improve error message

Codecov Report

Merging #77 into master will increase coverage by 0.12%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master      #77      +/-   ##
==========================================
+ Coverage    54.8%   54.92%   +0.12%
==========================================
  Files           7        7
  Lines         354      355       +1
==========================================
+ Hits          194      195       +1
  Misses        149      149
  Partials       11       11

Impacted Files
Coverage Δ

service/job.go
76.25% <100%> (+0.3%)
:arrow_up:

service/client.go
70.37% <50%> (ø)
: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 9d48119...b0288a0. Read the comment docs.


Deprecate insets-ui?

https://android-review.googlesource.com/c/platform/frameworks/support/+/2667875

Already done in #1693 😄

this migration guide stll states
Continue using the non-deprecated [insets-ui](https://google.github.io/accompanist/insets/#inset-aware-layouts-insets-ui) for now.
at https://google.github.io/accompanist/insets/#migration-steps though...
and is there any migration guide for migrating away from insets-ui?

We should remove that line from the migration steps, it is out of date.
Both material3 and material2 have support built-in to components now, as documented here: https://developer.android.com/jetpack/compose/layouts/insets#material3-components


fix( PERSISTENT_CONFIG.MD):  Looking for easier name

We could rename it to an easier topic like "Programmeinstellungen dauerhaft speichern"

@IngolfSchmitt  @DevVersion I think we should search for a shorter name for this topic. Let me know any suggestions!


Handle the case of a faulty node saying that an invalid tx is valid?

I'm not sure this is really an issue, but I'm including it here in case someone disagrees with me.
It seems to me that if there is a faulty node (or several), and it's falsely saying that an invalid transaction is valid, then we still have nothing to worry about because once the transaction gets into a block, a majority of the nodes will deem it invalid.
(We assume that a majority of nodes are not faulty. That's not a limitation of BigchainDB: it's something that all similar systems must assume—there's no way to achieve consensus if more than a majority of the nodes are faulty.)

I don't think this is an issue. Assuming that the majority of nodes is not faulty the block would be voted invalid and this is already implemented.
relates to #354

Yeah, this is just one example of Byzantine behavior to report as per issue #354 (which was created after this issue). I'll close this issue as suggested.


qcschema_input and qcschema_molecule updating

Description

[x] From discussion in #59, adds req'd fields {'schema_name': 'qcschema_molecule', 'schema_version': 2} within molecule schema. closes #59 . qcelemental 0.2.7 will understand this as dtype=2.
[x] Effectively in the QCA software stack, qc_schema_[in|out]put has been moving to qcschema_[in|out]put, so this PR expresses the patterns in regex. Also removes the possibility to say sldkfjsl_qc_schema, which I've never actually seen encoded. Postfix still allowed.

Status

[x] Ready to go

ok, passing. do squash. and if I've completely messed up the versioned testing by editing the test cases, let me know.

Any reason to allow postfix? I think it was always the intent that exact match was required.

postfix is what's allowing qcschema_input and qcschema_out at the moment.

The base_schema is an implementation detail in this repo and is overridden per schema molecule/input/output at the moment (or should be). Might be worth removing this line from the base schema.

so long as neither input/output try to validate against base_schema, I think this'll do.


Passing scalars by reference

Think this is a feature request. Though it could be I've just missed something. So pointers welcome. :)
It would be nice to be able to pass scalars by reference. The value being if they need to be updated within the function in question. This is particularly useful if multiple values need to be returned from a function (and one would like to use njit). Here's a simplistic example (& signifying the value to pass by reference) where b's value should be equivalent to a type cast version of a's.
from numba import jit

@jit("void(intc, float64&)")
def make_float(a, b):
    b = float(a)

One workaround that I came up with is to simply make the reference object a 1-D scalar array (as shown below).
from numba import jit

@jit("void(intc, float64[::1])")
def make_float(a, b):
    b[0] = float(a)

This seems to work ok. Though maybe there are better options that I'm unaware of.

Yeah, we've struggled with how to represent the syntax for this.  When calling from the Python interpreter into nopython mode, there's no way to make pass by reference work unless we define our own scalar object types.  (Python numeric objects are immutable.)  If we created special syntax for pass by reference of scalars, it could only be used between nopython mode functions and would fail to work if the JIT was turned off, which is something we generally try to avoid.
That said, tuples are supported in nopython mode, so those are generally the preferred choice if you need to return more than one scalar value from a function, and a NumPy array is not appropriate.

Yeah I can see why this would be tricky.
Interesting, was not aware tuples were still valid. Will stick with tuples then. Are they being represented by some sort of C struct-like object or similar in LLVM?

Yeah, Numba turns them into a struct (each element can be a different type), and then LLVM can do whatever it wants with the representation during optimization.  (A function returning a tuple that is inlined might see the struct optimized away completely, as the scalar components are used directly.)

Thanks for the clarification.
What about the case of CUDA kernels?

Tuples should work there as well.

Ok, but not as a returned type, right?

In device=True functions (GPU functions called from GPU code), tuples should be fine.  CUDA kernels (call from the host, run on the GPU) do not support return values at all.  In those cases, you do still have to pass a NumPy array, or a CUDA device array as a function argument.

Closing this issue for now.  Syntactically, representing mutable scalars as length 1 arrays is about as good as it gets for Python.  (No way to overload assignment.)


External links in the menu from external source open 2 tabs

When you use an external file of links, each link opens the link twice.
You have target="_blank", so tried taking this out, which opens the target in the current tab - thought it might get rid of the extra tabs opening - but no.
Basically two tabs are opening instead of one new tab...

Well that's clearly annoying. I'm not really sure what's going on here, but I don't think has anything to do with reveal.js-menu itself (I'm happy for others to prove me wrong).
If I change the target for each of the external links to something different it works as expected for me across Chrome, Firefox and Safari under macOS, eg

Reveal.js-menu source

Reveal.js

I've removed the target attr from the examples for now. The argument could be made that it should be up to the user to decide on using new tabs anyway, although I see use cases for either way.

Cheers. It was a wee bit annoying....

Hi another thing...
Is there a way to make a menu item just a link to an external url?
By that I mean embed in the main menu structure a menu item that when clicked just opens the url (new tab preferably)?
Sounds easy but with the section structure I could not find a simple way to do this and do not want to load a list of links into another menu.


Documentation for the testCss

Added some explanations in the file IntegrationTest.ks for the function named testCss

Accepted

Please, do a pull to your repo to trigger the GitHub action at https://github.com/798523/lab1-git-race/actions/workflows/ci.yml


Feature Request: ::count() without expression

Hi,
this plugins is a very welcome addition to the kirby panel.
Just to get the count of elements, without filtering them, it would be great to be able to skip the expression between the apprentices.
In fact I don't seem to get the count at all even with items::count(true = true).

you could use items.length :)
items ::count(true = true) as well as items ::(true) should work however... Are you sure items is an array? Are there any messages in the console?
I've just written a test case and it completes.

Though I agree that ::count() could be quite idiomatic.

Should be fixed in v0.2 - could you test that?
You'd have to download the v0.2 tag: https://github.com/rasteiner/k3-whenquery/archive/refs/tags/0.2.0.zip

Working great!

you could use items.length :)

Neither this nor ::count(true = true) was not working, because I was testing it within the builder field (see #4).
Everything looking good now in v0.2

Should be available now.
(After many, many many many commits because packagist didn't want to update because of a version mismatch between files and tags - then I realized I was updating the version in package.json instead of composer.json 🤦)


Add missing RPCs to audit logs

We only track RPCs in audit logs when we tag the RPC with [ (modal.options.audit_target_attr) = true ]. This add that tag to a number of missing RPCs.

I wonder if there's any good way to automatically check that relevant fields have this added.

@mwaskom me too. The rule of thumb I use to add these is to track only "relevant mutation RPCs". That's the case because we don't want to track calls to "get" or "list" objects for the most part.


missing Azure terms

There are a lot of other unique terms for Azure that are missing from this list such as "Resource Type".  The Resource Types reported by Azure are not descriptive and do not truly identify the resource to an asset or resource manager.

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

ID: f9d5b3f1-0d66-0abc-3114-6fc51c707271
Version Independent ID: ba3beb78-6546-8154-41b9-b7fd20156666
Content: Azure glossary - Azure dictionary
Content Source: articles/azure-glossary-cloud-terminology.md
Service: architecture-center
Sub-service: cloud-fundamentals
GitHub Login: @MonicaRush
Microsoft Alias: monicar

@syseng1
Thanks for your feedback! We will investigate and update as appropriate.


[Release] sdk/resourcemanager/playwrighttesting/armplaywrighttesting/0.1.0

https://github.com/Azure/sdk-release-request/issues/4517

/azp run prepare-pipelines

/azp run go - armplaywrighttesting - ci

/check-enforcer override


Azure Functions Socket Error

Hi everyone,
I'm trying to deploy an Azure Function (Event Hub Triggered), but after starting the pod crashes with the following error:
System.Net.Sockets.SocketException (13): Permission denied
Event Hub is connected via Private Endpoint and all ports are open.
Keda operator is the latest.
Has anyone ever had the same problem?
Originally posted by @Fillo22 in https://github.com/kedacore/keda/discussions/1589

This looks more like an issue for Azure Functions team than for KEDA since we just spin up the instances, but don't handle what's inside of it. Makes sense?

It seems to be related with container's permissions. I'm investigating on the cause.

Even if an http trigger is not used, the dotnet core runtime tries to expose a reserved port (1 - 1024), however it does not have the permissions to do this, so it fails. To work around the problem I added an environment variable
ENV ASPNETCORE_URLS=http://*:8080
and exposed a non-root port.


MacOS is not supported by Bruker Daltonic

Basic information

My operating system and version: MacOS Sonoma
My mzmine version: mzmine 4.3.0

What happened

Please describe what happened and how it differs from what you expected to happen.
Please include all parameter values for the mzmine modules you used.
Please upload screenshots of any errors and your log/mzmine.log file.
Please upload a standalone mzmine project file (or a batch + raw files) that demonstrates the problem you are reporting. You can use Google Drive, Dropbox, or a similar repository to upload the project.
Issues opened without an example project are unlikely to be processed
I tried to import Bruker tims TOF .tdf file but it failed and got error message "MacOS is not supported by Bruker Daltonic". I used mzmine for Windows before, and it worked fine with Bruker vendor format data. Any suggestion about how to import Bruker vendor format raw data to mzmine on Mac?

QC1 -rep4_2_1_4836.d.zip

raw data: https://drive.google.com/drive/folders/141OeYlswrCLCThY8f0WfY8Lpe2YfOSCy?usp=drive_link

Hi,
as the message indicates, it is simply not supported for macOS by Bruker, nothing we can do.
You can run windows in a VM in parallel on your mac. I do that as well for Bruker data on my mac.


Support @-webkit-keyframes

It's recommended for some old browsers to use  @-webkit-keyframes (Safari 8.0 is still actual)

I came up against this.
Work in progress PR https://github.com/japgolly/scalacss/pull/106


CASMCMS-8720: Update docs for CFS v3 and paging (1.5)

Description
Updates the CFS docs for the v3 api and paging.  Also re-organizes and cleans up the CFS docs in general.
Relates to:

CASMCMS-8720

Checklist

[X] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[X] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[X] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

This is a scaled down back-port of the changes in https://github.com/Cray-HPE/docs-csm/pull/4283 and can be merged anytime.


improve ss3 binary updating

continuation of #6.
Currently, the workflow should only be run manually when we know there are changes, as the version will be modified regardless of if there are changes are not. It would be nice to modify this so that no PR is opened if there is no difference between the current exe in ss3sim/SSMSE and the ones marked as the github latest release of ss3. That way, this can be run on a schedule instead of manually.

moved to https://github.com/ss3sim/ss3sim/issues/409