Cannot trust self signed certificate

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[X] 💥 Microsoft Edge
[ ] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

browser version
SPFx version 1.14.0
Node.js version v14.19.1
etc

Describe the bug / error
I am trying to run the base Hello World project and I continually get this
Build target: DEBUG
[11:33:13] Using gulpfile ~\Documents\hw\gulpfile.js
[11:33:13] Starting 'trust-dev-cert'...
[11:33:13] Starting gulp
[11:33:13] Starting subtask 'trust-cert'...
[11:33:15] [trust-cert] Attempting to trust a dev certificate. This self-signed certificate only points to localhost and will be stored in your local user profile to be used by other instances of debug-certificate-manager. If you do not consent to trust this certificate, click "NO" in the dialog.
[11:33:15] Error - [trust-cert] Error: root "Trusted Root Certification Authorities"
,Signature matches Public Key
,CertUtil: -addstore command FAILED: 0x80070005 (WIN32: 5 ERROR_ACCESS_DENIED)
,CertUtil: Access is denied.
[11:33:15] Error - [trust-cert] Certificate trust failed with an unknown error.
[11:33:15] Error - 'trust-cert' sub task errored after 1.95 s
Error trusting development certificate.
[11:33:15] 'trust-dev-cert' errored after 1.95 s
[11:33:15]
About to exit with code: 1
Process terminated before summary could be written, possible error in async code not continuing!
Trying to exit with exit code 1
At first I thought this was a UAC/group policy issue, however I tried to import the certificate file manually and the certificate file in ./rushstack doesnt exist
Steps to reproduce

Run "Build your first Sharepoint Client Side web part 1"
Run gulp trust-dev-cert
Experience Crash

Expected behavior
Self signed certificate authentication crash

Few questions:

What OS version are you using?
Are you using docker or nvm/nvs?
Could you try re-installing the generator?
What permissions does the current user have?

Thanks!


Firebase Remote Config - Switch Environment at runtime not pulling the right values

Description
We have an iOS app that allows users to pick target environment at runtime. Each environment has the each own plist file, ie GoogleService-Info-Staging.plist or GoogleService-Info-Prod.plist.
Whenever user switch environment, I teardown the FIrebase
private(set) var remoteConfig: RemoteConfig?

public func tearDownFirebase() async {
    if let app = FirebaseApp.app() {
      Crashlytics.crashlytics().setCrashlyticsCollectionEnabled(false)
      remoteConfig = nil
      await app.delete()
    }
  }

Then reinitiate the Firebase and RemoteConfig
public init(plist: Plist) {
    if FirebaseApp.app() == nil {
      guard let plistPath = Bundle.module.path(forResource: plist, ofType: "plist"),
        let firebaseOptions = FirebaseOptions(contentsOfFile: plistPath)
      else {
        BP.Log.log(Events.firebaseStartedWithoutOptions(env: plist))
        FirebaseApp.configure()
        return
      }

      FirebaseApp.configure(options: firebaseOptions)
    }

    remoteConfig = RemoteConfig.remoteConfig()
  }

  public func startRemoteConfig(environment: EnvironmentName) async throws
    -> RemoteConfigFetchStatus
  {
    guard let remoteConfig else { throw BPFirebaseError.remoteConfigInstance }

    remoteConfig.setDefaults(RemoteConfigKey.defaults as? [String: NSObject])
    remoteConfig.configSettings = RemoteConfigSettings()

    let expirationDuration =
      self.isDeveloperMode(environment: environment)
      ? 0
      : RemoteConfigValues.shared.cacheExpiration

    do {
      let result = try await remoteConfig.fetch(withExpirationDuration: expirationDuration)
      try await remoteConfig.activate()

      return result
    } catch {
      throw BPFirebaseError.remoteConfigFetch
    }
  }

I am able to see that the .plist file for the target environment is being properly passed in and invoked. The FirebaseApp.app() also has different address after the environment is switched.
The problem is with the remote config. It always shows the first values being pulled. So for example, if I start with "Staging" env, and then trying to switch to "Production, after the re-initialization process is complete, it keeps showing Staging remote config values.
Questions:
• Did I do the correct steps and procedures to teardown the Firebase?
• Is there specific steps I need to perform to "reset" the previous RemoteConfig.remoteConfig() to make sure it pulls in the correct value when users switch environment?
• Does Remote Config support switching environment at runtime?
Reproducing the issue
• Make sure you have different .plist file for each target environment
• Allow users to switch environments
• When the switch is requested, make sure the proper plist is used to create the FirebaseApp.app()
• Check that remote config pulls in the right values for a specific environment
Firebase SDK Version
10.24.0
Xcode Version
15.3
Installation Method
Swift Package Manager
Firebase Product(s)
Crashlytics, Firestore, Remote Config
Targeted Platforms
iOS
Relevant Log Output
-- INITIAL ENVIRONMENT --
BP.app/BPFirebase_BPFirebase.bundle/GoogleService-Info-NPD.plist
2024-04-30 21:42:45.944081-0600 BP[74735:36948440] [Firebase/Crashlytics] Version 10.24.0
RemoteConfig activated: Optional(<FIRRemoteConfig: 0x600002aff960>) | app: <FIRApp: 0x600000082c70>
RemoteConfig fetched

-- SWITCH TO STAGING ENVIRONMENT --
BP.app/BPFirebase_BPFirebase.bundle/GoogleService-Info-Staging.plist
RemoteConfig activated: Optional(<FIRRemoteConfig: 0x600002aff960>) | app: <FIRApp: 0x60000023a580>
RemoteConfig fetched

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

{
  "pins" : [
    {
      "identity" : "abseil-cpp-binary",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/abseil-cpp-binary.git",
      "state" : {
        "revision" : "748c7837511d0e6a507737353af268484e1745e2",
        "version" : "1.2024011601.1"
      }
    },
    {
      "identity" : "app-check",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/app-check.git",
      "state" : {
        "revision" : "c218c2054299b15ae577e818bbba16084d3eabe6",
        "version" : "10.18.2"
      }
    },
    {
      "identity" : "firebase-ios-sdk",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/firebase/firebase-ios-sdk.git",
      "state" : {
        "revision" : "42eae77a0af79e9c3f41df04a23c76f05cfdda77",
        "version" : "10.24.0"
      }
    },
    {
      "identity" : "googleappmeasurement",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/GoogleAppMeasurement.git",
      "state" : {
        "revision" : "51ba746a9d51a4bd0774b68499b0c73ef6e8570d",
        "version" : "10.24.0"
      }
    },
    {
      "identity" : "googledatatransport",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/GoogleDataTransport.git",
      "state" : {
        "revision" : "a637d318ae7ae246b02d7305121275bc75ed5565",
        "version" : "9.4.0"
      }
    },
    {
      "identity" : "googleutilities",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/GoogleUtilities.git",
      "state" : {
        "revision" : "26c898aed8bed13b8a63057ee26500abbbcb8d55",
        "version" : "7.13.1"
      }
    },
    {
      "identity" : "grpc-binary",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/grpc-binary.git",
      "state" : {
        "revision" : "e9fad491d0673bdda7063a0341fb6b47a30c5359",
        "version" : "1.62.2"
      }
    },
    {
      "identity" : "gtm-session-fetcher",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/gtm-session-fetcher.git",
      "state" : {
        "revision" : "9534039303015a84837090d20fa21cae6e5eadb6",
        "version" : "3.3.2"
      }
    },
    {
      "identity" : "interop-ios-for-google-sdks",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/interop-ios-for-google-sdks.git",
      "state" : {
        "revision" : "2d12673670417654f08f5f90fdd62926dc3a2648",
        "version" : "100.0.0"
      }
    },
    {
      "identity" : "promises",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/promises.git",
      "state" : {
        "revision" : "540318ecedd63d883069ae7f1ed811a2df00b6ac",
        "version" : "2.4.0"
      }
    },
    {
      "identity" : "servicecontext",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/ribtiago/ServiceContext.git",
      "state" : {
        "revision" : "f3ebe4fd8374ecdb8e31201d493772dc6eaab7c3",
        "version" : "2.0.1"
      }
    },
    {
      "identity" : "snapkit",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/SnapKit/SnapKit",
      "state" : {
        "revision" : "d458564516e5676af9c70b4f4b2a9178294f1bc6",
        "version" : "5.0.1"
      }
    },
    {
      "identity" : "swift-collections",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/apple/swift-collections.git",
      "state" : {
        "revision" : "94cf62b3ba8d4bed62680a282d4c25f9c63c2efb",
        "version" : "1.1.0"
      }
    },
    {
      "identity" : "swift-package-manager-google-mobile-ads",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/googleads/swift-package-manager-google-mobile-ads.git",
      "state" : {
        "revision" : "5ff977255c2ba5844e7e9da779f1f2a5a00e0028",
        "version" : "11.2.0"
      }
    },
    {
      "identity" : "swift-package-manager-google-user-messaging-platform",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/googleads/swift-package-manager-google-user-messaging-platform.git",
      "state" : {
        "revision" : "cfe8b2ae16b9bc81f4cdf1d1a12a01a452489c32",
        "version" : "2.3.0"
      }
    },
    {
      "identity" : "swift-protobuf",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/apple/swift-protobuf.git",
      "state" : {
        "revision" : "9f0c76544701845ad98716f3f6a774a892152bcb",
        "version" : "1.26.0"
      }
    },
    {
      "identity" : "swiftuibackports",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/shaps80/SwiftUIBackports.git",
      "state" : {
        "revision" : "dfc492b9907d1c9b78f3ef928add759b798c464d",
        "version" : "1.0.9"
      }
    },
    {
      "identity" : "swiftuiextras",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/ribtiago/SwiftUIExtras.git",
      "state" : {
        "revision" : "b40c865b2756a0c07145e065f078d5a4c591d08f",
        "version" : "1.9.3"
      }
    }
  ],
  "version" : 2
}

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

It looks like you need to use the remoteConfig(app:) API

@paulb777 .. I tried using this
guard let app = FirebaseApp.app() else { return }
remoteConfig = RemoteConfig.remoteConfig(app: app)

and I am still not getting the right remote config values for the intended environment (after the runtime switch)

Here's an example of configuring a non-default app:
https://github.com/firebase/firebase-ios-sdk/blob/auth-swift/FirebaseAuth/Tests/SampleSwift/AuthenticationExample/AppManager.swift#L40

@paulb777 I did some testing using the non-default implementation. Following the sample codes however I am still not getting the remoteConfig values after switching environment.
public init(plist: Plist) {
    guard let plistPath = Bundle.module.path(forResource: plist, ofType: "plist"),
          let firebaseOptions = FirebaseOptions(contentsOfFile: plistPath)
    else {
      fatalError("💥 Invalid GoogleService plist info")
    }

    FirebaseApp.configure(name: appName, options: firebaseOptions)

    guard let app = FirebaseApp.app(name: appName)
    else {
      fatalError()
    }

    Self.firebaseApp = app
    self.firestoreConfiguration = FirestoreConfiguration(app: app)
    Self.config = RemoteConfig.remoteConfig(app: app)
  }

The iOS app is pointing to the correct Firestore environment, only the remoteConfig is having the issue.
The other thing that I read from the remoteConfig(app:) API, this will cause FirebaseAnalytics to not working with non-default app. We use FirebaseAnalytics on our app. Is there no workaround for this?

That is a bummer on the FirebaseAnalytics.
As for the remoteConfig itself, has it ever been proven to be working if we use remoteConfig(app:) it can support changing environment at runtime?

Sorry about the trouble here. Looking at the code in more detail, it seems that a single namespace - FIRNamespaceGoogleMobilePlatform is used for all apps.
I'll follow up with the team to clarify if this is a bug or a missing feature.

Yes, it turns out that Remote Config manages all Firebase apps in a single namespace, so that the functionality does not work as it would be expected.  Changing the behavior would be a large task and not something we can prioritize now. Also, it might break apps relying on the current behavior.  I'll rename the issue and we can use it to track thumbs-up requests for proper multi-Firebase app support.

@paulb777 Thank you for the clarification. It would be great if Firebase can support multi environments (especially for switching environment at runtime) for both Remote Config and Analytics. Sounds like this is a feature that have been requested before as well. It would be a very welcome addition.


fix: Guard against removing package while uploading to it

Resolves #57

On Anaconda Cloud as of 2024-01-04, if a wheel is being uploaded to a package, but the package only has one wheel in it and is of the same name as the uploaded wheel, Anaconda Cloud will overwrite the file by removing the file from the package index. However, when this happens it removes the entire package, and then the wheel that is in the process of being uploaded has no destination and the upload fails. To guard against this, ensure for each package that has a wheel being uploaded if:

there is only one release for the package
and only 1 file for that release
and the upload target wheel has the same name as the file
that the file (and so the package) is removed in advance of the
upload.

To make filtering names and versions from wheels easier, add a get_wheel_name_version function that uses as regex to lazily capture the package name as well as the version and then return these.

Examples of this working:

"matplotlib-3.9.0.dev0-pp39-pypy39_pp73-win_amd64.whl"
matplotlib 3.9.0.dev0

"scikit_learn-1.5.dev0-cp39-cp39-win_amd64.whl"
scikit_learn 1.5.dev0

"scipy-openblas64-<IP_ADDRESS>-py3-none-macosx_10_9_x86_64.whl"
scipy-openblas64 <IP_ADDRESS>

"awkward_cpp-29-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
awkward_cpp 29

"awkward-2.6.1-py3-none-any.whl"
awkward 2.6.1

As this requires curl and jq also add these to the environment and relock.

Add a extra upload in CI to thest this behavior.

In the future there will hopefully be a fix on Anaconda Cloud's side given https://github.com/Anaconda-Platform/anaconda-client/issues/702 but we need a solution now.

@kenodegard @dholth as you know the Anaconda Cloud web APIs better than I do, if you would have time to review the changes to cmd.sh and let me know if there are better API calls to be making that would be excellent and much appreciated.

@scientific-python/nightly-wheels-developers If it would be possible to get a review early this week it would be great to get this in so that I can create a new patch release with this.

@scientific-python/nightly-wheels-developers Ping again on this, as given that apparently merging now requires a minimum of 1 review this can't get merged until someone reviews.

Thanks @jarrodmillman! I'm going to merge and then prep a new minor release as this add behavior without introducing breaking changes.


Made all of the background blue on the Options window

This is the same style as most of the other dialog windows. Fixes #269.

:white_check_mark: Build ServiceBusExplorer 4.1.0-PullRequest0273.280.build.494 completed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/b4bf685107 by @ErikMogensen)

Good morning @ErikMogensen , can you please add a picture to see the final look and feel, then I'll approve the PR. Thanks :)

Certainly.
This is how it looks like before this PR:

and this is how it looks like after the PR:

Looking at it more closely I see that it would look better if there was slightly more distance between the top of the Setting group control and the controls inside it.

Definitely approved. Thanks!


md5 and sha1 checksum mismatch

I use mvn-up to upload portlet jar artifact to nexus.
The file of the hash (md5 and sha1) uploaded into nexus does not match with the hash computed by nexus itself.
In jar attributes I see the correct hash;

Checksum

sha1
1ff0114697293b768f39e3488c9f877231f170e0

md5
e6413df561e21d9e64dd7daccab98ed2

The sha1 file uploaded contains a9ceab9748921246b5dc46ded5835e7e9b948d3e and md5 file contains ace03f005c056a89bd2cc4d5f8c174ed.

Hi!
Thanks for using the package, and thanks for reporting this issue!
I've created a branch https://github.com/Auo/mvn-up/tree/sum-fixes could you please clone that and see if it resolves your issue?
Thanks!

It WORKS!
Da:     Andreas Lindgren @.>
Per:    Auo/mvn-up @.>
Cc:     mturra-Pro @.>, Author @.>
Data:   15/06/2021 22:04
Oggetto:        Re: [Auo/mvn-up] md5 and sha1 checksum mismatch (#5)
Hi!
Thanks for using the package, and thanks for reporting this issue!
I've created a branch https://github.com/Auo/mvn-up/tree/sum-fixes could
you please clone that and see if it resolves your issue?
Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Questa e-mail ed i suoi allegati sono ad uso esclusivo di coloro ai quali è indirizzata e potrebbe contenere informazioni riservate, la cui diffusione, copia e/o distribuzione è proibita. Qualora riceveste questo messaggio per errore, scusandoci per l'accaduto, Vi preghiamo di avvertirci immediatamente, distruggendo quanto ricevuto.

When you'll merge this branch and release a new version?

Released!

@Auo I see nexus add by itself the checksums when I upload artifacts. Why don't you simply remove the checksum computation and upload?


More examples needed

At the beginning of the topic, it says that Report extensions can add columns to existing dataitems in the report dataset, but no example of how to do that is given.
Thanks

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

ID: fedbf190-9d38-889f-4158-0d06e88d8b87
Version Independent ID: 369fde2e-6cfc-cdae-b2f3-dc2a95a6d7a9
Content: Report Extension Object - Business Central
Content Source: dev-itpro/developer/devenv-report-ext-object.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

After playing around a bit, I was able to add some formatted date columns as below.
reportextension 50100 "Standard Purchase - Order ext." extends "Standard Purchase - Order"
{
dataset
{
add("Purchase Header")
{
column(DocumentDateFormatted; Format("Document Date", 0, '<Day,2>/<Month,2>/'))
{
}
column(DueDateFormatted; Format("Due Date", 0, '<Day,2>/<Month,2>/'))
{
}
}
add("Purchase Line")
{
column(PlannedReceiptDateFormatted; Format("Planned Receipt Date", 0, '<Day,2>/<Month,2>/'))
{
}
column(ExpectedReceiptDateFormatted; Format("Expected Receipt Date", 0, '<Day,2>/<Month,2>/'))
{
}
column(PromisedReceiptDateFormatted; Format("Promised Receipt Date", 0, '<Day,2>/<Month,2>/'))
{
}
column(RequestedReceiptDateFormatted; Format("Requested Receipt Date", 0, '<Day,2>/<Month,2>/'))
{
}
}
}
}
As an aside, I have searched high and low and cannot find an example of formatting a date in a Word document when the date is bound to a Text Content Control from Custom Xml Mapping. You can format the date by reacting to Content Control events but SaaS will not accept anything other than a .docx as a Word layout document for reports.

Do I really have to write a Report Extension every time I want a decently formatted date?
The default date layout in the reports appears to be Format(Date, 0, 4) which is full Month Name Day, Year. This is absurd given how long some of the month names are and all of the wasted wrapping space will be needed to accommodate them.

Hello, thanks for the feedback. The referenced page actually does illustrate the column syntax.
reportextension 50110 MyExtension extends "Customer - Top 10 List"
{
dataset
{
add(Integer)
{
// add existing field from base table to dataset
column(fromBaseTable; Customer.GLN) { }
// add field from table extending Customer
column(fromBaseTableExt; Customer.MyField) { }
}
}

Yes, that seems to be the only option at this point - to create a new report ext object.
For this issue, I'd suggest that you go to Ideas to suggest a product feature. Thanks


Component-level routing

Wow! I really like your library, but I'm having trouble using component level routes something like that, I don't know if I'm wrong but I can't find any documentation for it.
const App = () => {
  const { activeSong } = useSelector((state) => state.player);

  return (

      <Sidebar />

        <Searchbar />

            <Routes>
              <Route path="/" element={<Discover />} />
              <Route path="/top-artists" element={<TopArtists />} />
              <Route path="/top-charts" element={<TopCharts />} />
              <Route path="/around-you" element={<AroundYou />} />
              <Route path="/artists/:id" element={<ArtistDetails />} />
              <Route path="/songs/:songid" element={<SongDetails />} />
              <Route path="/search/:searchTerm" element={<Search />} />
            </Routes>

            <TopPlay />

      {activeSong?.title && (

          <MusicPlayer />

      )}

  );
};```

If there is no way to do that, it would be great if you could add it, thanks in advance.

Thanks @Undead34 , could you please provide a reproducible example?

Hi @daltonmenezes , I try to use your library with the Routes component, did you have more informations since ?

@csanchez-jetdev an example of right usage: https://github.com/daltonmenezes/electron-app/blob/main/src/renderer/routes.tsx

@daltonmenezes Thanks ! I solve my problem. I'm developping an app with electron and router. The problem was on windows on build package. I was using an ui lib and the routing was not correct. It add an "C:/" on each route ...
Thanks for your lib !


fix test failure incorrectly treated as success

Description
For the driver tests, PRE_COMMAND, TEST_COMMAND and POST_COMMAND are different ps1 scripts. But in the reusable-test.yml the 3 commands are part of the same job. So if the TEST_COMMAND fails but the POST_COMMAND succeeds, the task is treated as a success.
Fix is to split it into 3 jobs.
Testing
CI.
Documentation
N/A.

@shankarseal please look at test failures


fix InfiniteQuery stuck bug

I will test this out, give me a few shots

Interesting enough it prooves the bug, unfortunatly the call stack is unusable:

Let me do real quick one or two more tests, but I think it solves the issue

YES its fixed with your proposal, should I create a new PR or do you add this into source?

Okay updated this PR to only modify query_base.dart - I used dart format src/query_base.dart but it said 0 changes, I guess it was alright then.


gap between tiles when use gcj02 projection

I wanted to fix the offset of map in china, and I saw @tschaub's https://github.com/openlayers/openlayers/issues/3522#issuecomment-222769406 so
I use projzh to create gcj02 projection, but I found gap between tiles:

Source: https://jsfiddle.net/8sdjo67v/7/
Sorry for my pool English.

Make sure you also set the Baidu projection on the view:
new ol.View({
  center: ol.proj.transform([121.4538, 34.465], 'EPSG:4326', 'GCJ02MC'),
  zoom: 7,
  projection: 'GCJ02MC'
})

Here is an update of your fiddle: https://jsfiddle.net/tjrnu8yd/

Thank you，avoid raster reprojection，I got it。


Incorrect view-only limits?

This seems incorrect.
After July 1st 10K overflow limit will be in effect, right?
This text states that the temporary 20K limit will last "through the end of this year". Meaning Dec 31st 2021
Please double check this:

If your meeting or webinar hits capacity, Teams will seamlessly scale to accommodate a 10,000-person view-only broadcast experience. Plus, during this time of increased remote work, take advantage of even larger 20,000-person broadcasts through the end of this year.

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

ID: 2bf705c2-1f24-bdb5-e712-e8408b941aca
Version Independent ID: ddedd7e0-7d85-06e0-7f20-8b83b3dccec7
Content: View-only meeting experience - Microsoft Teams
Content Source: Teams/view-only-meeting-experience.md
Service: msteams
GitHub Login: @cichur
Microsoft Alias: v-cichur

Hi @Erithano, thank you for your feedback.
It was extended until Dec 31st 2021 because the date limit was updated 3 months ago from June 30, 2021 to end of this year.

Then the message center post about this feature hasn't been updated.
MC250956 · Published 16 Apr 2021
Up to 20,000 view-only attendees may join a meeting from late February through the end of June in order to accommodate heightened remote work scenarios. After July 1, 2021 we will support only 10,000 view only attendees.


Update templateRenderTest.md

They (@dsyer) was using JMustache which is like 5 classes.. maybe 10 and not Mustache.java.
Had you inspected the article closer they even say JMustache:
https://spring.io/blog/2016/11/21/the-joy-of-mustache-server-side-templates-for-the-jvm

There’s a JStachio version of the sample app from that article in a branch if you’re interested.

Valid points.  Will adjust.


SCORM 1.2 - bug in function getCMIValue

Hi @gabrieldoty,
First off, cheers for this amazing package. You are genius!!
I wanted to point out a bug I have been getting from some SCORM packages that are running this code.
The following line in scormAPI.js
https://github.com/gabrieldoty/simplify-scorm/blob/2f60c3c26d6f415f331e93c26dd84a4cb878f39e/src/scormAPI.js#L295
I get cannot read hasOwnPropery of undefined. Turns out, some SCORM packages would request to get value of random objective or interactions if there is no value with that ID.
I suggest the following fixes:
Change L295 to:
if (typeof refObject === 'object' && !refObject.hasOwnProperty(structure[i])) {
and change L300 - https://github.com/gabrieldoty/simplify-scorm/blob/2f60c3c26d6f415f331e93c26dd84a4cb878f39e/src/scormAPI.js#L300 to:
refObject = typeof refObject === 'object' ? refObject[structure[i]] : undefined;
This seems to work for nearly all the 50+ packages I have tested so far.
Again, awesome work on this and cheers!!!!

Good find!
While investigating this, I found that there is an ever bigger underlying problem that affects both 1.2 and 2004 APIs, where it is impossible to get the value of an interaction (or anything else that has a childArray). For example, window.API.LMSGetValue("cmi.interactions.0.type") will always return an error, even when there is data there.
I will look into this.

I pretty sure cmi.interactions.n.id and others are write only. Only the cmi.interactions._count is RO. So this is not bug, i guess..

Hi @gabrieldoty and @xob , any update on this, when you are plan to resolve this issue ?

Hi @schryised ,
Can you please provide your working solution for scorm 2004 version API ?
It would great help for me.

cmi.interactions.n.type (“true-false”, “choice”, “fill-in”, “matching”, “performance”, “sequencing”, “likert”, “numeric”, WO) Which type of interaction is recorded
If you want to recover the interaction you need to use: cmi.interactions._children (id,objectives,time,type,correct_responses,weighting,student_response,result,latency, RO) Listing of supported data model elements

@xob any suggestions on how to quickly fix that? I have the same problem while executing window.API.LMSGetValue("cmi.objectives.0.id")


Add Versioning to Verification Key

Motivation
Right now we only keep a single verification key and will overwrite it with the latest on request. We want the cli validator to be able to manage many verification keys as they can change with new protocol versions.
Acceptance Criteria

Adapt the cli tool to add versioning to the verification keys stored so we do not overwrite the old ones.
Use the relevant vk depending on what protocol version the batch was created under.

Callouts
It might be easier to use the verification key hash as a way to do versioning and pin a vk to a proof since we can query the hash from the verifier contract at a given block number.

closed by https://github.com/matter-labs/era-boojum-validator-cli/pull/33


fix(@angular/cli): add a flag to let assets outside of outDir

On top of #7778
Fixes #8122

@filipesilva PTAL.

So the whole project cannot be built outside anymore (using ../ in apps outDir)?
That's a breaking change. :/

@dzonatan, The change you are referring to occurred in #7778. This change adds a flag to .angular-cli.json to allow the original behavior (allowing assets to be output outside outDir).

@BnSmth, I'm not talking about assets. Instead about entire application. That change in #7778 only checks the asset paths against outDir. There is no limitation here to use ../ in outDir.
Simple steps to reproduce:

ng new example
add ../ for apps[0].outDir in .angular-cli.json
ng build

Do that with both cli versions and you will see in 1.5.3 it builds and in 1.5.4 doesn't.
If this was not intentional then I'll create an issue.

@dzonatan I have created one #8613, this change caught us by surprise 😢

@dzonatan Sorry, my bad. I misunderstood the issue and agree that a fix needs to be put in place. Also, as you said, given this is a breaking change, a note should have been added to the release.


/bin/sh: syno_clear_drive_error.sh: command not found

Hello everyone,
After reporting an error I am having with one of the disk on Reddit, I was recommended to try the syno script.
All goes well until I try to run and meet an error.
I tried again after install Z shell, but still the same error.
Any idea what I can do?
Thanks

If you've cd'd to the folder containing the script you need run the script you need to run the script with
sudo ./syno_clear_drive_error.sh
If the path to the script contains spaces you need to enclose the path/file in double quotes
sudo "/volume1/your folder/syno_clear_drive_error.sh"
If the script is located in your home folder you need to make it executable like.
sudo chmod +x /volume1/homes/donnit/scripts/syno_clear_drive_error.sh

Thanks Revad,
I put the Synology folder into Homes.
It worked with "sudo ./syno_clear_drive_error.sh"
Or kinda
It says

sh-4.4# sudo ./syno_clear_drive_error.sh
Synology_Clear_Drive_Error v1.0.3
0 status_critical entries found

Yet if I go to "Storage manager" the first thing I see is big red logo with "Critical" written next to it.
"Issues have occurred to Storage Pool 1. Please go to Storage page..."
I attach screenshots for more details
https://i.ibb.co/Dg0xCwC/photo-2024-05-29-11-27-39.jpg
https://i.ibb.co/zXT4S4L/photo-2024-05-29-11-27-40.jpg

I had the same "0 status_critical entries found" when I had recently had a drive's status change to critical due to dust in the SATA connector. I didn't have time to work out where DSM was hiding the critical status so I did these steps instead:

Open Storage Manager and select the drive.
Click on Actions then select Deactivate.

Remove the drive from the NAS.
Boot the NAS.

Insert the drive.
Boot the NAS.
Open Storage Manager and click on Repair.
Select the drive, click Next then Repair.

From the "Action" button I can only deactivate drive1 which is the one that worked. When I select disk 2 the option to deactivate is not there.
For more info, the first time I encountered the error, DSM recommended me to deactivate the disk, which I did. Rebooted and reactivated it. Before I do that health statut was "Critical" which it is not now.
Also as recommended on Reddit, I plugged disk2 on a computer and erase all partitions.

Can you show me a screenshot of  Storage Manager > HDD/SSD

Both HDDs are showing as healthy. But only HDD 1 is assigned to storage pool 1. If you go to to storage pool 1 and click on the "repair now" link in this image https://i.ibb.co/zXT4S4L/photo-2024-05-29-11-27-40.jpg it should repair the storage pool, and volume.

I did that several times with no success
Here are a few screenshots of the procedure:
https://ibb.co/xzX5n6g
https://ibb.co/sbJn31T
https://ibb.co/wLQ7QjF
https://ibb.co/2vXsNxF
https://ibb.co/fpjBVyz


Update call template and sequence template docs with new features

Description:
Update documentation with the new features introduced with
https://github.com/wso2/micro-integrator/issues/1673
https://ei.docs.wso2.com/en/latest/micro-integrator/references/mediators/call-Template-Mediator/

PR: https://github.com/wso2/docs-ei/pull/2413


Allow configuring maven snapshots repository mirrors

Not sure if this is the best approach, but I need a way to be able to specify an internal repo for building against Lucene snapshots without depending on the state of the last published Apache snapshots.

I ended up with a few other workarounds, the one that worked is I think that users can define another maven repository with the same name in their init.gradle and it will overwrite the URL value we set. I had a bunch of other things I tried so I'm not 100% sure that's the one that worked, but I'm afraid to change things now because it was such a pain.


Update index.md

Clarify some winui 2 details which were wrong

#label:"aq-pr-triaged"

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

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


recommendations for reuse

I have read the Code of Conduct and I hereby accept the Terms

I have read the CLA and I hereby accept the Terms


Propagating long times does not converge

🐞 Problem
Propagating long times fails in different ways:
In [5]: iss.propagate(100 * u.year)
---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
<ipython-input-27-503eb53e62e7> in <module>()
----> 1 iss.propagate(100 * u.year)

~/Personal/poliastro/poliastro-library/src/poliastro/twobody/orbit.py in propagate(self, epoch_or_duration, rtol)
    245             time_of_flight = time.TimeDelta(epoch_or_duration)
    246
--> 247         return propagate(self, time_of_flight, rtol=rtol)
    248
    249     def sample(self, *, num_points=None, time_values=None):

~/Personal/poliastro/poliastro-library/src/poliastro/twobody/propagation.py in propagate(orbit, time_of_flight, method, rtol, **kwargs)
    156                   time_of_flight.to(u.s).value,
    157                   rtol=rtol,
--> 158                   **kwargs)
    159     return orbit.from_vectors(orbit.attractor, r * u.km, v * u.km / u.s, orbit.epoch + time_of_flight)
    160

~/Personal/poliastro/poliastro-library/src/poliastro/twobody/propagation.py in kepler(k, r0, v0, tof, rtol, numiter)
    139     f, g, fdot, gdot = _kepler(k, r0, v0, tof, numiter, rtol)
    140
--> 141     assert np.abs(f * gdot - fdot * g - 1) < 1e-5  # Fixed tolerance
    142
    143     # Return position and velocity vectors

AssertionError:

In [6]: halleys[0].propagate(73 * u.year)
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-26-9dcacad8e904> in <module>()
----> 1 halleys[0].propagate(73 * u.year)

~/Personal/poliastro/poliastro-library/src/poliastro/twobody/orbit.py in propagate(self, epoch_or_duration, rtol)
    245             time_of_flight = time.TimeDelta(epoch_or_duration)
    246
--> 247         return propagate(self, time_of_flight, rtol=rtol)
    248
    249     def sample(self, *, num_points=None, time_values=None):

~/Personal/poliastro/poliastro-library/src/poliastro/twobody/propagation.py in propagate(orbit, time_of_flight, method, rtol, **kwargs)
    156                   time_of_flight.to(u.s).value,
    157                   rtol=rtol,
--> 158                   **kwargs)
    159     return orbit.from_vectors(orbit.attractor, r * u.km, v * u.km / u.s, orbit.epoch + time_of_flight)
    160

~/Personal/poliastro/poliastro-library/src/poliastro/twobody/propagation.py in kepler(k, r0, v0, tof, rtol, numiter)
    137     """
    138     # Compute Lagrange coefficients
--> 139     f, g, fdot, gdot = _kepler(k, r0, v0, tof, numiter, rtol)
    140
    141     assert np.abs(f * gdot - fdot * g - 1) < 1e-5  # Fixed tolerance

RuntimeError: Maximum number of iterations reached

🎯 Goal
One thing is that the long term errors of propagation are big. But nonetheless, the propagator should always give an answer, instead of an internal error (at least for a full period, see the failure of the Halley's comet). I wonder if this is possible at all?
💡 Possible solutions
The propagator of poliastro uses the universal variables approach, which is popular but has several limitations. Perhaps for long propagation times it should be replaced with a Newton-Raphson iteration and a good starting point as suggested by http://dx.doi.org/10.1007/s10569-013-9476-9.
📋  Steps to solve the problem

Comment below about what you've started working on.
Add, commit, push your changes
Submit a pull request and add this in comments - Addresses #<put issue number here>
Ask for a review in comments section of pull request
Celebrate your contribution to this project 🎉

Related: #253

This would be a great moment to validate against SPICE or GMAT. The problems of validating against such complex software is that some parameters are difficult to control, but there is no alternative since we are already stepping outside of the "comfort zone" of easy problems that can be validated using textbook assignments, or even research papers (which don't always provide enough information themselves, see https://github.com/Juanlu001/pfc-uc3m).

I will try to investigate this issue too. I'm specialized in numerical analysis, maybe I fill figure it out.

@Juanlu001 , I have a question on how to implement this.
Given Cartesian elements (\vec{r}, \vec{v}) at the initial moment, I first calculate all the orbit parameters. Then, using (4) from the paper I get M_E at time (t + Delta_t) and iteratively solve E - e \sin E = M_E. After that, I have (E, M_E) and all the orbit parameters. And I use some formulae (that of course are written somewhere) to get back to (\vec{r}, \vec{v}). Is this logic OK?

Actually, in (4) there is t_p, the time at which the body passes nearest point to attractor. Is there an efficient or already implemented in this package way to find it?

The conversion between cartesian elements and Keplerian elements is in the coe2rv/rv2coe functions. You could also create an Orbit from one set of elements and then retrieve the other.
Regarding the time of pericenter passage, it's not implemented but it would be a good addition to the Orbit object. Perhaps you could start there.

Well, I realized there is no need to find the pericenter passage time. The rv2coe gives current true anomaly $\nu(t_0)$, which can be recalculated into current mean anomaly $M(t_0)$. Then, I recall that mean anomaly grows linearly with time, which gives me mean anomaly at the time $t_0 + \Deltat$: $M(t_0 + \Delta t) = M(t_0) + \sqrt{\mu (1 - e)^3 / q^3} \Delta t$. As I have $M(t_0 + \Delta t)$, I iteratively solve $E - e \sin E = M$, get $\nu$ (this is actually already implemented within M_to_nu) and thus new r, v.
I think I'll do it this way.

This was addressed in #322, can someone take a screenshot of a dense sampling of the Halley orbits as seen here http://docs.poliastro.space/en/latest/examples/Using NEOS package.html?highlight=halley#DASTCOM5-module to check that this actually works?

I confirm that the original iss.propagate(100 * u.year) example works. I'm adding some regression tests in a pull request.

Notice that the original convergence issues of kepler were addressed in #362.


Plugin doesn't show up on the marketplace

Describe the bug
The plugin isn't showing in the Jetbrains plugin Marketplace. Doki Theme Icons plugin is showing up tho.
To Reproduce
Search for it I guess ?
Expected Behavior
I mean in the readme you have a section about installation, and it tells you to use the built-in plugin system, so I would expect it to show up. For now, I use the "install from" disk method, but it's less convenient, it doesn't sync with my other plugins, and it doesn't update automatically.
Environment
CLion / Idea Ultimate (2023.2.X)
Runtime version: 17.0.7+7-nixos amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 6.1.54
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 12
Registry:
run.processes.with.pty=TRUE
ide.experimental.ui=true
debugger.attach.dialog.enabled=true
ide.balloon.shadow.size=0
editor.minimap.enabled=true
Non-Bundled Plugins:
systems.fehn.intellijdirenv (0.2.8)
e.v.discord-companion (1.1.2)
com.github.copilot (<IP_ADDRESS>72)
com.duartbreedt.movementprogressbars (1.0.5)
io.github.tgeng.latexsymbol.LatexSymbol (0.3)
com.intellij.bigdatatools.core (232.9921.47)
com.intellij.tide (232.8660.88)
nl.rubensten.texifyidea (0.9.1)
izhangzhihao.rainbow.brackets (2023.3.7)
ru.adelf.idea.dotenv (2023.2)
n.v.k.Qt6Renderer (1.0.0)
com.almightyalpaca.intellij.plugins.discord (1.12.0)
com.mallowigi (93.1.0)
nix-idea (<IP_ADDRESS>)
com.firsttimeinforever.intellij.pdf.viewer.intellij-pdf-viewer (0.15.0)
Current Desktop: KDE
Screenshots

I noticed that 2023.2 versions of the theme are only really available in the Canary Plugin Repo. You should be able to install the latest theme from there.

If you check the website rather than the built in marketplace it will usually tell you that the plugin is not updated for the version of the program you're running Plugins Marketplace

I resolved it by downgrading my webstorm version.
Webstorm versions


DynamoDb TablePrefix only works when BasicAWSCredentials object passed in.

I am trying to get some code setup to read from my DynamoDb. I am trying to use let the process create my credentials using the profile I setup in the web.config. However, as soon as I change the code to do this the tablePrefix property no longer is applied.
Here is the code that works:
var credentials = new BasicAWSCredentials("<MINE>", "<MINE>");
var client = new AmazonDynamoDBClient(credentials, RegionEndpoint.USEast1);
var context2 = new DynamoDBContext(client);

var db = new DynamoDBOperationConfig();
db.TableNamePrefix = "dev_";

IEnumerable<InventoryItem> queryResults = context2.Query<InventoryItem>(clientIdentifier, db);

Here is the code that does not work. When I run this I get an error because it is looking for the table without the prefix. All I removed was the credential object so now it uses the profile from the SDK.
 var client = new AmazonDynamoDBClient(RegionEndpoint.USEast1);
 var context2 = new DynamoDBContext(client);

 var db = new DynamoDBOperationConfig();
 db.TableNamePrefix = "dev_";

 IEnumerable<InventoryItem> queryResults = context2.Query<InventoryItem>(clientIdentifier, db);

The base of the tablename is coming from my InventoryItem entity that has this on it. The key and secret are the same in my profile as the one I hard code into the first sample.

Can you post your web.config?

sure. This is not all of it but I think the parts you care about seeing.
<configSections>

<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<sectionGroup name="dotNetOpenAuth" type="DotNetOpenAuth.Configuration.DotNetOpenAuthSection, DotNetOpenAuth.Core">

</sectionGroup>

<appSettings>
   ...
    <add key="AWSProfileName" value="MyAWSProfileName" />
</appSettings>

No luck reproducing this issue so far.
I've created a public repo which contains the second block of code you showed - the non-working code - in the Test method. It's working for me right now. Can you try changing the test app to reproduce the error you are seeing and submit a pull-request to the repo?

Thanks for your help on this. It looks like it is something to do with my profile setup as it looks like it can't find it. I have verified the creds file is being saved and has my profile in it. I also made sure IIS (which is running the code) has rights to that file.

Closing for lack of activity. Feel free to reopen if you have more information.


Windows installation issue

I m trying to install Superset in Windows 7 and i have completed up to creating admin successfully. I am failing in running the "superset db upgrade", "superset load_examples" and "superset runserver" . Any help

Hi,I,m meet the same problem,when I run the superset db upgrade,it said it is not internal command，how do you solve it ?

you can use the following command:
python .\venv\Scripts\superset load_examples


Add extension description toggle button

This PR is not ready yet.
When it is ready, the PR should fix #164.
This PR adds a button on the top right that toggles the extensions selection list. The button's colours are different for a dark and light theme.

 The VS Code api does not provide a clear way to fix this.
This PR also introduces a user config setting to set whether or not the descriptions should appear or not.
Signed-off-by: David Kwon<EMAIL_ADDRESS>

This PR is ready for review.
As an aside: the icon's SVG was from this website: https://feathericons.com/?query=info

@fbricon thank you! Fixed


Provide a means to getTransaction()

Assuming the goal of bodhi is to have parity with Ethers / Evm's JSON RPC (docs), the current implementation of getTransactionByHash() is effectively returning a transaction receipt which is a different data structure from TransactionResponse.

https://github.com/AcalaNetwork/bodhi.js/pull/478/files#diff-e68a81189d23520dc51b8e302e17cf74521831f685c1710a1fdfbc297792e3d0R87
It seems that only cached data can be queried, not historical data. @shunjizhan

Our goal is to make eth-rpc-adapter serves RPC requests that are exactly  compatible with ETH JSON RPCs, since that's most frameworks/tools rely on, including metamask, truffle, hardhat, etc.
On the other hand, our provider doesn't aim to provider exactly what the ethers.Provider does (however we try to make it as close as possible), it's main purpose is to be used by the eth-rpc-adapter mentioned above. So the the current implementation of getTransactionByHash() is for the RPC eth_getTransactionByHash.

I think you actually mean provider.getTransaction? That one is not implemented yet, https://github.com/AcalaNetwork/bodhi.js/blob/master/eth-providers/src/base-provider.ts#L1672-L1673, since it's not helpful for the RPC yet. We could be able to implement it in the future if necessary/useful

@zjb0807 in order to query historical data, we can pass subql url when initialize it
https://github.com/AcalaNetwork/bodhi.js/blob/master/eth-providers/src/rpc-provider.ts#L5

but we need to fix subquery return same data first, after we support multiple events

Thanks for the PR! It'd be nice if bodhi provider also enabled passing a a subquery url to provide historical data.


Distinguished figure caption

Distinguished the caption text visually from the body text and added a bit of whitespace between the figure and the image.
After the fix:

Fixes #161.

Thanks @PaarthAgarwal love his is looking nice. Thank you!

Glad that you liked it😄
Also, this happens to be my 20th PR in Wagtail. Cheers!

yay congrats!

yay congrats!

Thanks, LB!🎉


Improve Server

move validation of offset and limit to a middleware
Better logging

Here's an example line:
1|hscHisto | 2024-01-27T02:51:52: GET | - | /accountHistory?account=golem.overlord&limit=500&offset=0 | 2001:db8::1 | 2.03 ms | {"account":"golem.overlord","limit":500,"offset":0}

Morgan just made getting the data from the request easier. I added this while Hive-Engine was under attack and I didn't have too much time on my hands to debug, and was just the quickest way I saw rather than writing a custom middleware. Adding the app instance will be an easy change I can get done. For testing purposes, I assume you are starting using pm2 start X -i 24?

Okay makes sense and seems like a good approach.  The log format is fine, so just needs to have the app instance added.

For testing purposes, I assume you are starting using pm2 start X -i 24?

I have an ecosystem.config.js file for starting up the processes with pm2, with the following contents (which is basically an equivalent method of doing it):
module.exports = {
  apps : [{
    name: 'parser',
    script: 'parser.js',
    cwd: 'ssc_tokens_history/',
    watch: false,
    exp_backoff_restart_delay: 1000,
    log_file: '../logs/parser.log',
    time: true
  },
  {
    name: 'server',
    script: 'server.js',
    instances: "max",
    cwd: 'ssc_tokens_history/',
    watch: false,
    exp_backoff_restart_delay: 1000,
    log_file: '../logs/server.log',
    time: true,
    exec_mode : "cluster"
  }],
};

One other question:  why did the package-lock.json file change to "lockfileVersion": 3 ?  Does this imply that a certain minimum version of Node must be used to support the morgan package?

Thanks for the pm2 file, i'll get that added and tested. As for the lockfile version, that's a npm thing. lockfile version 3 is compatible with npm version 7+. npm v7 was shipped with node15 back in 2020, so upgrading is probably the best move. I'm using
root@kc1:~# node -v
v18.19.0
root@kc1:~# npm -v
10.2.3

on my history node(and for local development) and it's why the lockfile version changed.


Text Chat via WebRTC Data Channel is unusable [PART 2]

How can I receive messages on the server from the channel? What's the purpose of such a channel if it can't be accessed on the backend? Also, please don't close the issue unilaterally in order to assist the person.

Hey @cpp-pilot, you are raising some good points. Some of which are beyond the capabilities of the current system.
The chat system today is a demonstration of how you can achieve real-time message delivery by leveraging LiveKit's data capabilities. It's not currently a full-blown chat product. The key feature that's missing is persistence.
You can build the following workflows in order to persist messages.

Set up a webhook for when rooms are created
When received, join the room with either Go or Python SDKs as server-side participants

Ensure you include the hidden attribute in their token, they would not be visible to others in the room.

Persist messages received to a database
When a new user joins, load from your database for existing chat messages

We realize this is not trivial to accomplish today, and will aim to make this much easier in the future.


Added toString to ResponseMetadata

Added toString to ResponseMetadata, as it hugely improves debugging (by default it's serialised as ResponseMetadata@hashcode).
I decided not to include headers, as I was not sure if they wouldn't contain some auth secrets which shall not be logged (however wasn't sure, can change if you want).

@adamw pls take a look at this minor ;)

Released in 2.0.8, thanks!


test: use environment secrets

Replacing repository secrets with environment secrets.

Already covered by this PR: https://github.com/SAP-samples/cf-routing-samples/pull/31


Make internal image with Cypress included

For demo / example purposes, have temp image cypress/internal:cy-0.19.2 with Cypress already installed

Done, used in https://gitlab.com/bahmutov/cypress-ts-example


Initialize joint states variables

This is the fix for issue #409

Your commits make sense.
Thank you for your contribution :)


versions: Update kubernetes and cri-o to 1.16

Update k8s supported version from 1.15.3 to 1.16.2
and cri-o from 1.15.0 to 1.16.0
Fixes: #2166.
Signed-off-by: Salvador Fuentes<EMAIL_ADDRESS>

/test

/test


cli: refactor "stage management" sub-commands

Related to #1163, but specifically about two particular commands.
From #1163:

Some commands are of the form <verb> <resource>, while others are of the form <resource> <verb>

The stage sub-command is one specific area where there is room for improvement.
The stage sub-command has the following sub-commands of its own:

disable-auto-promotion
enable-auto-promotion
promote
promote-subscribers

A major theme of the v0.4.0 release is "project management" and calls for both the creation of a Project CRD and additional PromotionPolicy options. (See roadmap.
I foresee PromotionPolicy collapsing into the new Project CRD, in which case, dedicated disable-auto-promotion and enable-auto-promotion commands begin to make even less sense than they do already. This is done. The ability of Freight to be auto-promoted to any given Stages in a given project to would simply be managed through edits to Project resources. i.e. These sub-commands will likely go away in this development cycle.
That leaves promote and promote-subscribers. There is room for two improvements here:

They could be collapsed into a single sub-command, which could be used as follows:
kargo promote --freight <freight> --stage <stage>
OR
kargo promote --freight <freight> --subscribers-of <stage>
Where precisely one of --stage or --subscribers-of must be specified.

They can be lifted out from under the stage sub-command to fix a violation of our verb-first approach.
Besides improving overall consistency, this also just makes more sense... promotions always involve a piece of Freight being promoted to a Stage and it was arbitrary that these commands were buried under "stage management" when Freight is an equally important part of the promotion process.

The ability of Freight to be auto-promoted to any given Stages in a given project to would simply be managed through edits to Project resources. i.e. These sub-commands will likely go away in this development cycle.

Should this be removed as part of this refactor, or is there something else which should go first before it can actually be removed?

Oh... now, looking at #1535, I am wondering if you were actually inquiring about removing the corresponding endpoints as well.
Yes... still totally fine with that.

I was initially just wondering about the commands, but then figured this would result into dead endpoints which did not appear to be used anywhere -- so I took the liberty to remove those as well.


New package: mmozeiko.wcap version 2022.11.06

Pull request has been created with komac v2.2.1 :rocket:
Microsoft Reviewers: Open in CodeFlow

Verify:


about the prompts_subprocesses.py file

there seems to be some issue with line 7 of the file prompts_subprocesses.py - from openai_query import chat. the function chat does not exist in said file. i suspect because of exactly this i am getting this message while trying to run LeanAide:

A lot of the python code is not maintained. Only gemini_structured and its dependencies have been used recently.

As I see from git, this was created by Ayush Agrawal, a collaborator in an earlier phase, for his use. The current way to use models is scripts/queries.py (this may also have issues but is worth maintaining).

As I see from git, this was created by Ayush Agrawal, a collaborator in an earlier phase, for his use. The current way to use models is scripts/queries.py (this may also have issues but is worth maintaining).


focus messes with custom events or values

When using :focus in here https://github.com/MikeHardIce/vocabulary/blob/main/src/vocabularytrainer/gui.clj#L34
The event doesn't seem to work properly anymore.
I think the issue is that all widgets are considered. I should have a focused? state per widget, and only update the widgets which are focused.

Should be fixed with https://github.com/MikeHardIce/strigui/commit/08ed52b85d837b3b3e475b45b432c45bbe4fcc2a


Radius sampling

Draw planet radii following Zink+ 2023: https://iopscience.iop.org/article/10.3847/1538-3881/acd24c#ajacd24cs4.
This starts with a simple power law.
Then we partition using the Van Eylen+ 2018 planet radius-period relation: https://academic.oup.com/mnras/article/479/4/4786/5050069
We do not yet offer size ordering within systems.

I currently draw slightly different radius valleys at the system level, as a final check to decide whether to re-draw radii from the simple power laws. Should I be assigning the radius valley at the population level?
Also, I'm currently saying to re-draw 95% of radii that land in the valley. Is that reasonable? Does that reflect the radius valley occurrence rate?

Resolved


Question: When is the next release (in Typescript)?

Hi @rtheunissen,
First of all, thank you for the awesome package! It has really changed the way we code Vue in my company! Now API communication is much more a breeze, and components are loosely coupled with these logics.
I wonder what is the plan for the next release of vue-mc in Typescript?
Regards from the Netherlands,
Albert

+1 on this one, I'm waiting for a long time now. Is the project is still maintained ? would be a shame not to do so....


Update dependencies

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (15e6568) 90.93% compared to head (1ff990e) 90.77%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
- Coverage   90.93%   90.77%   -0.16%
==========================================
  Files          60       58       -2
  Lines        4776     4739      -37
==========================================
- Hits         4343     4302      -41
- Misses        318      326       +8
+ Partials      115      111       -4

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Make the JWT claim to get client_id configurable

Various IDPs store the client_id in different claims of the JWT.
We need to make this configurable, so we can be compatible with different IDPs.
Options include:

hardcoded claim name
liquid templating

Do you think liquid templating is needed? Any example of liquid expression that could be helpful in this case?

I'd imagine those from the top of my head:

get the first element of an array (aud | first)
get Nth element of an array (aud[3])
fall through several values if empty (azp | default: appid | default: ...)

:+1:


#6537 add null protection

Signed-off-by: David Radley<EMAIL_ADDRESS>
Description

Related Issue(s)

Testing

Release Notes & Documentation

Additional notes

Most of the code in that module already does use spaces but that segment had tabs introduced back in 2018


ToggleButton border radius and fill gets inverted only in Flutter Web with HTML renderer

Steps to reproduce

Create a Flutter project with web enabled
Use the provided code in the project as a widget
Run the app with following: flutter run -d web-server --web-renderer html --web-port 3000 --debug
Open browser in localhost:3000 and see the result

Expected results
The radius and fill should be symmetric.
Actual results
The radius is inwards and the fill is inverted resulting in a asymmetric radius and fill
Code sample
Code sample
class Example extends StatefulWidget {
  const Example({super.key});

  @override
  State<Example> createState() => _ExampleState();
}

class _ExampleState extends State<Example> {
  List<bool> isSelected = [true, false];

  @override
  Widget build(BuildContext context) {
    final ThemeData(:textTheme) = Theme.of(context);

    return ToggleButtons(
      borderRadius: BorderRadius.circular(30),
      textStyle: textTheme.bodySmall,
      constraints: const BoxConstraints(maxHeight: 40),
      isSelected: isSelected,
      onPressed: (index) {
        setState(() {
          for (var i = 0; i < isSelected.length; i++) {
            isSelected[i] = i == index;
          }
        });
      },
      children: const [
        Padding(
          padding: EdgeInsets.all(8.0),
          child: Text("Asset (e.g. bank account)"),
        ),
        Padding(
          padding: EdgeInsets.all(8.0),
          child: Text("Liability (e.g. credit card)"),
        ),
      ],
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.22.3, on macOS 14.6.1 23G93 darwin-arm64, locale en-BD)
    • Flutter version 3.22.3 on channel stable at /Users/krtirtho/fvm/versions/3.22.3
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b0850beeb2 (8 weeks ago), 2024-07-16 21:43:41 -0700
    • Engine revision 235db911ba
    • Dart version 3.4.4
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/krtirtho/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Brave Browser.app/Contents/MacOS/Brave Browser

[✓] Android Studio (version 2024.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)

[✓] VS Code (version 1.93.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.84.0

[✓] Connected device (3 available)
    • macOS (desktop)                 • macos                 • darwin-arm64   • macOS 14.6.1 23G93 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin         • macOS 14.6.1 23G93 darwin-arm64
    • Chrome (web)                    • chrome                • web-javascript • Brave Browser <IP_ADDRESS>

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Reproducible using the code sample provided above. It seems to only happen with the one on the right. It works as expected with the other renderers.

https://github.com/user-attachments/assets/e644a0d2-eb93-4ae2-bf04-2cfb4ff0fbbf

complete sample
import 'package:flutter/material.dart';

void main() => runApp(const ExampleApp());

class ExampleApp extends StatelessWidget {
  const ExampleApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Example(),
    );
  }
}

class Example extends StatefulWidget {
  const Example({super.key});

  @override
  State<Example> createState() => _ExampleState();
}

class _ExampleState extends State<Example> {
  List<bool> isSelected = [false, true];

  @override
  Widget build(BuildContext context) {
    final ThemeData(:textTheme) = Theme.of(context);

    return Center(
      child: ToggleButtons(
        borderRadius: BorderRadius.circular(30),
        textStyle: textTheme.bodySmall,
        constraints: const BoxConstraints(maxHeight: 40),
        isSelected: isSelected,
        onPressed: (index) {
          setState(() {
            for (var i = 0; i < isSelected.length; i++) {
              isSelected[i] = i == index;
            }
          });
        },
        children: const [
          Padding(
            padding: EdgeInsets.all(8.0),
            child: Text("Asset (e.g. bank account)"),
          ),
          Padding(
            padding: EdgeInsets.all(8.0),
            child: Text("Liability (e.g. credit card)"),
          ),
        ],
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 3.24.3, on macOS 14.6.1 23G93 darwin-arm64, locale en-US)
    • Flutter version 3.24.3 on channel stable at /Users/deanli/dev/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (4 days ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[!] Flutter (Channel master, 3.26.0-1.0.pre.129, on macOS 14.6.1 23G93 darwin-arm64, locale en-US)
    • Flutter version 3.26.0-1.0.pre.129 on channel master at /Users/deanli/dev/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b4903228eb (5 hours ago), 2024-09-15 22:29:13 -0400
    • Engine revision 9aaea5a4bd
    • Dart version 3.6.0 (build 3.6.0-255.0.dev)
    • DevTools version 2.40.0-dev.1


[#149945364] Provision user provided Compose service

What
This script will provision a provided type of database for you using
exported Compose token and later will use returned credentials to create
user provided service and make it accessible for a specific org.
How to review

Code review

Who can review
Neither @combor nor @paroxp

Added some flags, to support user provided name.
Added the missed cf target which also implements the coma separated value for spaces.
Added warning message to remind user of whitelist changes has been added.
Didn't add the deployment.note field, as I wasn't sure if generated message would be sufficient and having it as a flag would be an overkill IMO.

Added some flags, to support user provided name.
Added the missed cf target which also implements the coma separated value for spaces.
Added warning message to remind user of whitelist changes has been added.
Didn't add the deployment.note field, as I wasn't sure if generated message would be sufficient and having it as a flag would be an overkill IMO.

I'm reviewing the script while @alext is busy.

@paroxp @combor I've code reviewed and left a couple of comments, but I don't think either is very important. Let me know what you'd like to do.

LGTM.

I reran the script with a duplicate service name to check it failed nicely, and the reminder to deprovision wasn't output 😞
michaelmokrysz@gds6196:paas-cf ∴ ./scripts/compose-user-provided-service.sh -n 46bits-compose-service -o govuk-paas -s 46bit -t elastic_search
INFO: Targeting organisation 'govuk-paas' and space '46bit'.
api endpoint:   https://api.mmokrysz.dev.cloudpipeline.digital
api version:    2.92.0
user:           admin
org:            govuk-paas
space:          46bit
Creating user provided service 46bits-compose-service in org govuk-paas / space 46bit as admin...
FAILED
Server error, status code: 400, error code: 60002, message: The service instance name is taken: 46bits-compose-service

Yes you're right. Good catch. This is due to set -e at the top of the file. I took different approach. Thanks.

Given we've already started work on the broker support for Redis, I don't think it's worth merging this. We've already spent much more time on this story than anticipated, and at this point it's unlikely we'll need to create any more instances manually.
I'm therefore going to close this PR, and create the instance for trade-tariff manually.


pull request for e2e test at 02/02/2017 05:26:12

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


feat: include semantic-release-circleci-orb in package.json template

What this PR does / why we need it
On the tin. This is required by devbase.

Jira ID
[XX-XX]

Notes for your reviewers

We decided not to go this route, so closing


Remove version number from kernel source files

The only directory touched in this commit is FreeRTOS/Source.
A second PR will remove version number in other directories.

This is mostly for dry run. Replacing with a better PR.


Chef supermarket.

Hello,
Could you please update files at Chef Supermarket. There  is old commit.
Thank You.

The version on Chef Supermarket has been updated today: https://supermarket.chef.io/cookbooks/dynatrace/versions/1.0.4


prowlarr: <IP_ADDRESS>5 -> <IP_ADDRESS>8

Motivation for this change
New functionality upstream (See https://github.com/Prowlarr/Prowlarr/releases/tag/v<IP_ADDRESS>8) & https://github.com/Prowlarr/Prowlarr/releases/tag/v<IP_ADDRESS>6 for announcements)
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Please update to https://github.com/Prowlarr/Prowlarr/releases/tag/v<IP_ADDRESS>8.

@mweinelt done :-) (the only changelog is on the tag release page)

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

1 package built:

prowlarr


Add changes to enable multiple Privilege Modes in Trap Handler

Co-authored-by: allenjbaum<EMAIL_ADDRESS>To test a core with hardware misaligned support:
Add --enable-misaligned to the execute command on line 148 in riscof-plugins/sail_cSim/riscof_sail_cSim.py

Having a single arch_test.h file is becoming difficult to maintain and make changes to. Its better to have the trap handler in a separate file and add an include in arch_test.h to include it. That way all changes to the trap handler are localised. Can you split it into different files?

Yes; the changes I've made will accommodate that. All new tests must also
define rvtest_sig_begin: explicitly in the test, immediately after
RVMODEL_DATA_BEGIN, else we can't properly relocate even unpriv tests (e.g.
store tests that store directly into the signature area to be safe, and I
think that will make it easier for new cores to interface to the tests. (we
can argue whether it should be signature_begin (which is recommended in the
spec) or rvmodel_sig_begin: or rvtest_sig_begin:, but the spec will need to
be updated.
On Sun, Jul 3, 2022 at 10:45 PM S Pawan Kumar @.***>
wrote:

@.**** commented on this pull request.
In riscv-test-suite/env/arch_test.h
https://github.com/riscv-non-isa/riscv-arch-test/pull/267#discussion_r912643897
:

+#endif

+#define REGWIDTH (XLEN>>3)	// in units of #bytes
+#define MASK ((1<<(XLEN-1))-1) + (1<<(XLEN-1))	// XLEN bits of 1s
+.set MMODE_SIG,3   /* FIXME why don't the #defines work if they're evaluated first?? */
+.set VMODE_SIG,2
+.set SMODE_SIG,1

//#define MMODE_SIG 3
//#define VMODE_SIG 2
//#define SMODE_SIG 1
/* these macros need to be defined because mode is uppercase in mode specific macros */
/* note that vs mode uses smode return */
+#define MRET	mret
+#define VRET	sret
+#define SRET	sret
+#ifndef rvtest_sig_end

I think that all the tests in the privilege directory will need to undergo
a change. It is best to require all tests which use the trap handler to use
RVTEST_SIG_* macros instead of RVMODEL_SIG_* macros while letting the
unprivileged tests use either(to ensure backward compatibility).
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/pull/267#discussion_r912643897,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJQJGDYF6LCP77KRHHTVSJ3BJANCNFSM52LQQI3Q
.
You are receiving this because you commented.Message ID:
@.***>

closing this PR as the modified version is there in PR #277


[Feature Request]: Add options to add to FS when using writeFile etc..

It would be great if we can access / update the provided vfs json object when files are wrote so we can get new content / files created within the runtime etc...
Possibly a flag or function to get updated vfs / memory etc...
This possible relates to #39

Pls see the branch for the upcoming release:
https://github.com/sebastianwessel/quickjs/tree/28-feat-add-multiturn-support
Here, you should be able to access the virtual file system before and after each execution of custom scripts


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-k8s-22-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1179

Questions ?
Please refer to the Backport tool documentation


Process path

Dear Friend! Can you create method, then return exe file path by pid or struct robotgo.Process

I will consider whether to add.

Fixed by code updated, use robotgo.FindPath(pid).


Docker build on Windows

Thank you a lot for contributing to Cosmos Voyager!

Issue

closes: #608
❤ Thank you!

Unless I'm not understanding something correctly, path.resolve should do the right thing on Windows automatically.  The bug here may be that not all of the paths are being sent through path.resolve (such as builds).  I tightened this up in another PR: https://github.com/cosmos/voyager/blob/436119a146005eb50de57701625d840a1afd0aac/tasks/build/index.js#L17-L22

It resolves to a Windows path. But Docker takes Unix paths.


Multiple subsequent components jumps to minute when clicked

I get this behaviour also with material-ui and material-ui-pickers and I see that all share the same base code.
Debugging I get that event TimePicker.handleClockChangeDone is not called by first Time Picker, but for the others is being called when dialog is opened.

This only occurs for Mobile.

@leMaik I'm actually using different variables for every state, this behaviour also occurs on material-ui timepicker, and for the same reason, calling 2 events (onMouseUp and onTouchEnd) on Mobile, see below (but they closed also):
https://github.com/mui-org/material-ui/issues/10945#issuecomment-379529692
Only difference is default value that in your case is not changing.

@wggley I'd like to help you, but I can't do so without any code. :crystal_ball: Please prepare a demo on Code Sandbox so that I can reproduce your issue.


ci(Travis): Set Xenial as os image

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Release/v9.0.8

That is a lot of commits that aren't actually from this release. Not sure whats going on there but it seems the last couple of releases have been this way.

That is a lot of commits that aren't actually from this release. Not sure whats going on there but it seems the last couple of releases have been this way.

Agreed; I noticed that, too, and was confused. I thought I knew just enough about git, but I can't explain this.


Unable to get providers or players to show up

What version of Music Assistant has the issue?
Latest beta
The problem
Last week after resetting my Spotify password and changing my plan I had to reset the Spotify ad on and Integration. After removing the player with the bad password I was unable to load it back up even though I was absolutely positive I was using the same password I had copied and pasted in the past 2 Spotify HA needs. I was told to delete and reinstall the beta and give it a few hours for the database to convert. I had other projects so I left it for a week. When I came back I again verified that the Add On and Integration were working properly. I then went to MA to attempt to readd Spotify and my internal mp3s. It gave a blank page under settings with nothing listed and no way to add. I check the MA Add On Logs and get the below
How to reproduce
Unaure
Relevant log output
2023-12-10 09:19:50.546 DEBUG (MainThread) [music_assistant.server.controllers.config] Loaded persistent settings from /data/settings.json
2023-12-10 09:19:50.548 DEBUG (MainThread) [music_assistant.server.controllers.config] Started.
2023-12-10 09:19:50.548 INFO (MainThread) [music_assistant] Starting Music Assistant Server (24dffc82dfe74751bc902f3f9bd53084) version 2.0.0b78 - uvloop: False
2023-12-10 09:19:51.164 INFO (MainThread) [music_assistant.webserver] Starting server on  <IP_ADDRESS>:8095 - base url: http://<IP_ADDRESS>:8095
2023-12-10 09:19:51.180 INFO (MainThread) [music_assistant.music] Performing database migration from 25 to 27
2023-12-10 09:19:51.180 WARNING (MainThread) [music_assistant.music] DATABASE MIGRATION IN PROGRESS - THIS CAN TAKE A WHILE
2023-12-10 09:19:51.181 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-1' coro=<run..new_coro() done, defined at /usr/local/lib/python3.11/site-packages/aiorun.py:209> exception=OperationalError('duplicate column name: external_ids')>
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/aiorun.py", line 219, in new_coro
await coro
File "/usr/local/lib/python3.11/site-packages/music_assistant/main.py", line 174, in start_mass
await mass.start()
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/server.py", line 139, in start
await self.music.setup(await self.config.get_core_config("music"))
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/music.py", line 106, in setup
await self._setup_database()
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/music.py", line 665, in _setup_database
await self.database.execute(
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/helpers/database.py", line 151, in execute
return await self._db.execute(query, values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiosqlite/core.py", line 190, in execute
cursor = await self._execute(self._conn.execute, sql, parameters)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiosqlite/core.py", line 133, in _execute
return await future
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiosqlite/core.py", line 106, in run
result = function()
^^^^^^^^^^
sqlite3.OperationalError: duplicate column name: external_ids
Additional information
From what I can tell is it’s trying to rebuild the sql table and is finding duplicate ids
What version of Home Assistant Core are your running
2023.12.1
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Linux

@LordNex I'm facing the same issue. Unable (dunno how?) remove the addon and CACHE to bare metal so I could reinstall completely from scratch. Would you be so kind to point me at some howto? I'm on HA VM (docker) and the latest MASS beta

If you delete the MA container and start again that will remove everything.

You mean remove container using docker command over the HA console?

If you are using HAOS then all you need to do is remove the addon. Once that has completed you just install it again and you are back to square one.

@LordNex I'm facing the same issue. Unable (dunno how?) remove the addon and CACHE to bare metal so I could reinstall completely from scratch. Would you be so kind to point me at some howto? I'm on HA VM (docker) and the latest MASS beta

I removed the integration, uninstalled the add on, used the File Editor to explorer my config directory and deleted the contents of /custom_components/MusicAssistant or anything I could find in the config directory related to MASS or Music Assistant. Then rebooted, redownloaded the beta from HACS and just walked back through the install process. Then just let it sit for an hour or so while it builds its indexes. That seemed to do the trick for me. Sorry for the late response. Someone wanted to get cute and mark me as spam and it took a bunch of BS to get resolved.

Interesting. If you had a directory under custom_components then sounds like you may have previously used MA v1?


run.sh for linux

You have to modify this to have something like "username" instead of "ale" in "/home/ale/peviitor/..."

pr #9 solved it


tangentmode is obsolete

Getting an obsolete warning
Summary:
TangentMode is deprecated. Use AnimationUtility.SetKeyLeftTangentMode or AnimationUtility.SetKeyRightTangentMode instead.
[Obsolete("Use AnimationUtility.SetKeyLeftTangentMode, AnimationUtility.SetKeyRightTangentMode, AnimationUtility.GetKeyLeftTangentMode or AnimationUtility.GetKeyRightTangentMode instead.")]
public int tangentMode { get; set; }
https://github.com/hai-vr/combo-gesture-expressions-av3/blob/9cf75a0e69a239596ff0f77203b6e8a3b6c5e2c9/Assets/Hai/ComboGesture/Scripts/Editor/Internal/CgeAnimationNeutralizer.cs#L398

Having the same problem and thought i fixed it, I changed it to Animation utility but the the itemcount was not being used in a seperate script, so I made it in use and there was no errors, yet I still couldn't use the product? reloaded the project and the vrc sdk broke, lol


CI/CD rebuild from scratch

AppVeyor is no longer the only player on the market that can do the job.  In fact GitHub has been able to handle this for some time.
While this IS a C# project, I did add a veneer of NodeJS Typescript tooling to work with the CI/CD systems. It'd be a fun mental exercise to rebuild all the scripts in C#, but not one I have time for ATM.

This not only looks great but there are several points of good cleverness within.
I'm probably not the best to review GitHub Actions or the GH CI/CD, but I'm familiar enough and take a good look at every line and absolutely nothing stood out, other than the following two comments (which aren't problems with the PR):

the package.json specifies "private": true (which may be irrelevant here) as the repo is public and you aren't intending to publish it on npmjs.org, but for my understanding of it, ideally it should match unless you're specifically trying to prevent publishing.
FYI, I believe any build on Ubuntu 20.04 won't load on RHEL 7 or CentOS 7 (the most recent LTS version) due to newer CXXABI requirements. In some enterprise environments, this can be a showstopper, but for Halcyon I don't see this as a problem, a.k.a. "tough" :)

Looks good, and pretty extensive work here!

specifically trying to prevent publishing.
That.

CXXABI
Good thing this is DotNet.

:D

Haha, good point.

Released in v0.9.42.


Disallow passwords that are too short

Complain if a user tries to set a password that is too short (<10 chars) on several API endpoints and in the central CLI. Includes creating and updating a user password and specifying a passphrase when enabling managed encryption on a project.

Going to go ahead and merge so that we can get this out to QA.


unable to follow tutorial (Windows asks me which application it should use to open file)

Hello,
I am trying to follow the tutorial at [https://nbdev.fast.ai/01_Tutorials/01_tutorial.html] on Windows with conda.
I am in a kupyter terminal in the browser.
Every time I try to run a command, like  nbdev_install_quarto or nbdev_new, I get the Windows popup asking "How do you want to open this file?"..
I have tried to open with a text editor and it appears to be a .py file, however I don't know if it is appropriate to select a Python interpreter and which one.
I don't know if this is the reason why I am unable to follow the tutorial (I fail anyway as I am not able to add files to git repository)

Hi,
try:
conda remove nbdev
pip install -U nbdev
Somehow conda installs a file without extension and pip installs them as .exe

Wow, thanks for the super fast reply, but now I get the error:
nbdev_install_quarto : The term 'nbdev_install_quarto' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

nbdev_install_quarto

  + CategoryInfo          : ObjectNotFound: (nbdev_install_quarto:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException

Windows is not supported - please use WSL.

Thanks, I had missed it!
I have tried using WSL and it is still failing, should I open a new issue or post here?

New issue please


Publish Docs

New

restructured docs folder to publish doc pages
Add link to document page in README

Publish docs


RHOAIENG-12697: Fix Run/Debug on Python editor extension

https://issues.redhat.com/browse/RHOAIENG-12697
https://github.com/user-attachments/assets/34c08acd-76fd-4a6b-855b-0edf596dc77f
Note: As stated in Elyra's docs, the debug support is an experimental feature with some known issues (see here and here).

@caponetto feel free to merge this as soon as the tests pass

Great work!


fix: interfaces export

Closes https://github.com/ollama/ollama-js/issues/26
Closes https://github.com/ollama/ollama-js/issues/27

How long will it take to fix this issue ?

A maintainer needs to approve and merge it

Can you tell me what exactly is the isse ?

Thanks for fixing this, I was just going through testing it to make sure I covered the different types of imports that people have merged so far. I'm gonna ship this out in v0.4.3 right now, so it'll be available in the next 15 minutes or so.


Zero-shot performance is not reproduceable

Dear Authors,
Thanks for your work! Following your zero-shot setting (with the lookback length as 672 and the forecast length as 96), my results do not match those reported in Table 18 in your paper, though running your official codes.
Below are the MSEs:
| Timer (reproduced) | Timer-1B | Timer-16B | Timer-28B
-- | -- | -- | -- | --
ETTh1 | 0.454 | 0.438 | 0.364 | 0.393
traffic | 0.479 | 0.458 | 0.399 | 0.414
weather | 0.190 | 0.181 | 0.203 | 0.243
electricity | 0.210 | 0.192 | 0.139 | 0.147
Could you provide more information about your released Timer_forecast_1.0.ckpt?

Same question: Could you please clarify the dataset size that the provided checkpoint was pretrained on?

@MogicianXD
Hi, we have released the model at HuggingFace, where you can evaluate the model following the provided pipeline.

@iapcal
Hi, please refer to the appendix of our paper, where the details of datasets and configurations are provided.

Is there any different hyperparameter for the new checkpoint? Besides, could you update the metrics?


chore: Replace 'description' with 'markdownDescription' in config schema

description
Use markdownDescription[^1] instead of description to get backticks and links to render as
markdown.

[^1]: Visual Studio Code Extension API

was looking for this, thanks!


Config will not work

i was customizing the amount of loot that would spawn keep in mind this has worked before but now it will not spawn anything even with saving and launching with modded version

You have to enable the scrap config for that particular moon in the LethalQuantities/Global/Configuration.cfg file. You can delete any configs that you are not using to cut down on the amount of files that show up.

Alright did that now im having a new problem. when ever i go onto a map for example vow, it just keeps me on a waiting for crew screen

Can you provide a profile code, and what are the errors in the console, if there are any?

sure
[Error  : Unity Log] ArgumentException: An item with the same key has already been added. Key: BottleBin (Item)
Stack trace:
System.Collections.Generic.Dictionary2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <787acc3c9a4c471ba7d971300105af24>:IL_015A) System.Collections.Generic.Dictionary2[TKey,TValue].Add (TKey key, TValue value) (at <787acc3c9a4c471ba7d971300105af24>:IL_0000)
LethalQuantities.Patches.RoundManagerPatch.onLoadNewLevelPrefix (RoundManager __instance, SelectableLevel& newLevel) (at <223bad60ee114d889151ca750c087f5b>:IL_04A1)
(wrapper dynamic-method) RoundManager.DMDRoundManager::LoadNewLevel(RoundManager,int,SelectableLevel)
StartOfRound+d__245.MoveNext () (at :IL_007F)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :IL_0026)

This is a duplicate of #30, which will be fixed next update.

Alright great! is there an time estimate for the next update?

Yes, once I fix #33 and am able to implement better comments for each option I will release a new update, which is hopefully tomorrow at the latest.

great thanks for the help 👍


The user guide of registry extension template

Hi @strogonoff, I am studying on how Paneron save data, and I was suggested by Ronald to study the example of  registry extension template repository
And I found out that I cannot open change request, as the image shown below, I have already added Stakeholder information but I still cannot open change request, what's the reason?

Thank you again for asking all the questions we have asked 🙏🏻🙏🏻🙏🏻

Extension template docs are upcoming; sorry for the delay!

Extension template docs are upcoming; sorry for the delay!

Thanks a lot! 🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻

Hello @strogonoff, any follow up for the docs? 🙏🏻🙏🏻 Thank you.


[SPARK-11463] [PYSPARK] only install signal in main thread

Only install signal in main thread, or it will fail to create context in not-main thread.

Merged build triggered.

Merged build started.

Test build #45405 has started for PR 9574 at commit 1885ecb.

Test build #45405 has finished for PR 9574 at commit 1885ecb.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

cc @JoshRosen


Put frequently used stuff into top-level namespace

Typical TF import:

import tensroflow as tf

Typical lucid import:

import lucid.misc.io.showing as show
from lucid.misc.io.loading import load
from lucid.optvis import objectives
from lucid.optvis import render
from lucid.optvis import style
from lucid.optvis.param.random import image_sample

I just gave this a try and had a hard time finding a reasonable approach. I'd be happy for suggestions!
I agree that the current state is very fragmented and uses more modules than needed, but importing just everything into one top-level namespace also seems excessive. I feel like the biggest win could be to effectively hide the optvis module, but keep the hierarchy around:

params for all parameterizations
objectives for all optimization objectives
transforms for all tranforms
models for all modelzoo models (?)