Julie MDSClient Timeout

Describe the bug
I use Julie in several environments. All were deployed in the same way with similar configuration. For some reason, on the newer environments, the MDSClient no longer works and times out during authentication.
However, sending the request manually via curl works. I have already tried different versions of java and julie. The broker and Julie run on the same VM
Runtime (please complete the following information):

OS: Red Hat Enterprise Linux release 8.4 (Ootpa)
JVM version: openjdk version "11.0.13" 2021-10-19 LT
Version 4.2.3

Additional context
[DEBUG] 2022-05-04 09:54:48.134 [main] AccessControlProviderFactory - Function get
[DEBUG] 2022-05-04 09:54:48.134 [main] AccessControlProviderFactory - Function get
[DEBUG] 2022-05-04 09:54:48.134 [main] AccessControlProviderFactory - Function apiClientLogIn create mdsclient
[DEBUG] 2022-05-04 09:54:48.134 [main] AccessControlProviderFactory - Function apiClientLogIn create mdsclient
[DEBUG] 2022-05-04 09:54:48.157 [main] MDSApiClientBuilder - Connecting to an MDS server at https://xyz:8090
[DEBUG] 2022-05-04 09:54:48.157 [main] MDSApiClientBuilder - Connecting to an MDS server at https://xyz:8090
[DEBUG] 2022-05-04 09:54:48.157 [main] MDSApiClientBuilder - Connecting to an MDS server at https://xyz:8090
[DEBUG] 2022-05-04 09:54:48.158 [main] MDSApiClient - Authenticate client
[DEBUG] 2022-05-04 09:54:48.158 [main] MDSApiClient - Authenticate client
[DEBUG] 2022-05-04 09:54:48.158 [main] MDSApiClient - Authenticate client
[DEBUG] 2022-05-04 09:54:48.165 [main] JulieHttpClient - method: GET request.uri: https://xyz:8090/security/1.0/authenticate
[DEBUG] 2022-05-04 09:54:48.165 [main] JulieHttpClient - method: GET request.uri: https://xyz:8090/security/1.0/authenticate
[ERROR] 2022-05-04 09:55:48.176 [main] MDSApiClient - java.io.IOException: java.net.http.HttpTimeoutException: request timed out
[ERROR] 2022-05-04 09:55:48.176 [main] MDSApiClient - java.io.IOException: java.net.http.HttpTimeoutException: request timed out
[ERROR] 2022-05-04 09:55:48.176 [main] MDSApiClient - java.io.IOException: java.net.http.HttpTimeoutException: request timed out
Exception in thread "main" java.io.IOException: java.io.IOException: java.io.IOException: java.net.http.HttpTimeoutException: request timed out
        at com.purbon.kafka.topology.AccessControlProviderFactory.get(AccessControlProviderFactory.java:64)
        at com.purbon.kafka.topology.JulieOps.build(JulieOps.java:90)
        at com.purbon.kafka.topology.CommandLineInterface.processTopology(CommandLineInterface.java:206)
        at com.purbon.kafka.topology.CommandLineInterface.run(CommandLineInterface.java:156)
        at com.purbon.kafka.topology.CommandLineInterface.main(CommandLineInterface.java:146)
Caused by: java.io.IOException: java.io.IOException: java.net.http.HttpTimeoutException: request timed out
        at com.purbon.kafka.topology.api.mds.MDSApiClient.authenticate(MDSApiClient.java:51)
        at com.purbon.kafka.topology.AccessControlProviderFactory.get(AccessControlProviderFactory.java:57)
        ... 4 more
Caused by: java.io.IOException: java.net.http.HttpTimeoutException: request timed out
        at com.purbon.kafka.topology.clients.JulieHttpClient.doGet(JulieHttpClient.java:132)
        at com.purbon.kafka.topology.clients.JulieHttpClient.doGet(JulieHttpClient.java:117)
        at com.purbon.kafka.topology.api.mds.MDSApiClient.authenticate(MDSApiClient.java:40)
        ... 5 more
Caused by: java.net.http.HttpTimeoutException: request timed out
        at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:559)
        at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:119)
        at com.purbon.kafka.topology.clients.JulieHttpClient.doGet(JulieHttpClient.java:128)
        ... 7 more

[root@xyz julie]# time curl  https://xyz:8090/security/1.0/authenticate -k -u 'user:password' --fail
{"auth_token":"aGVsbG8gZnJpZW5k","token_type":"Bearer","expires_in":3600}
real    0m0.213s
user    0m0.009s
sys     0m0.004s

which version of confluent platform you using?

Hi sorry it took me so long. The systems are airgapped and  it takes some time to get data in and out.

which version of the confluent platform you using?
6.2.0
can you share more information about your logs and reponse codes within your MDS?
As I said I can recreate the auth request with curl and it works just fine and the control center works as well.
I added the logs of two run one with the correct credentials and one time it tried to run it with wrong credentials.
It seems to me the answer of the MDS doesn't make it to julie.

[2022-05-06 07:02:21,646] DEBUG Login failed for julie_wrong (io.confluent.rbacapi.login.MdsLoginService)
[2022-05-06 07:02:21,651] INFO <IP_ADDRESS> - - [06/May/2022:07:02:21 +0000] "GET /security/1.0/authenticate HTTP/1.1" 401 101  25 (io.confluent.rest-utils.requests)
[2022-05-06 07:02:21,651] INFO <IP_ADDRESS> - - [06/May/2022:07:02:21 +0000] "GET /security/1.0/authenticate HTTP/1.1" 401 101  25 (io.confluent.rest-utils.requests)
[2022-05-06 07:02:21,651] INFO <IP_ADDRESS> - - [06/May/2022:07:02:21 +0000] "GET /security/1.0/authenticate HTTP/1.1" 401 101  25 (io.confluent.rest-utils.requests)
[2022-05-06 07:02:24,435] INFO <IP_ADDRESS> - - [06/May/2022:07:02:24 +0000] "GET /v1/metadata/id HTTP/1.1" 200 105  1 (io.confluent.rest-utils.requests)
[2022-05-06 07:02:24,435] INFO <IP_ADDRESS> - - [06/May/2022:07:02:24 +0000] "GET /v1/metadata/id HTTP/1.1" 200 105  1 (io.confluent.rest-utils.requests)
[2022-05-06 07:02:24,436] INFO <IP_ADDRESS> - - [06/May/2022:07:02:24 +0000] "GET /v1/metadata/id HTTP/1.1" 200 105  2 (io.confluent.rest-utils.requests)

[2022-05-06 07:08:32,485] DEBUG Login succeeded for julie (io.confluent.rbacapi.login.MdsLoginService)
[2022-05-06 07:08:32,486] INFO <IP_ADDRESS> - srv_de-odskaf-l-t-01 [06/May/2022:07:08:32 +0000] "GET /security/1.0/metadataClusterId HTTP/1.1" 200 22  194 (io.confluent.rest-utils.requests)
[2022-05-06 07:08:32,486] INFO <IP_ADDRESS> - srv_de-odskaf-l-t-01 [06/May/2022:07:08:32 +0000] "GET /security/1.0/metadataClusterId HTTP/1.1" 200 22  194 (io.confluent.rest-utils.requests)
[2022-05-06 07:08:32,486] INFO <IP_ADDRESS> - srv_de-odskaf-l-t-01 [06/May/2022:07:08:32 +0000] "GET /security/1.0/metadataClusterId HTTP/1.1" 200 22  194 (io.confluent.rest-utils.requests)
[2022-05-06 07:08:36,052] INFO <IP_ADDRESS> - - [06/May/2022:07:08:36 +0000] "GET /v1/metadata/id HTTP/1.1" 200 105  2 (io.confluent.rest-utils.requests)
[2022-05-06 07:08:36,052] INFO <IP_ADDRESS> - - [06/May/2022:07:08:36 +0000] "GET /v1/metadata/id HTTP/1.1" 200 105  2 (io.confluent.rest-utils.requests)
[2022-05-06 07:08:36,052] INFO <IP_ADDRESS> - - [06/May/2022:07:08:36 +0000] "GET /v1/metadata/id HTTP/1.1" 200 105  2 (io.confluent.rest-utils.requests)

I did run the latest release with the debug.mode but the logs mean me nothing to me.
log4j:WARN No appenders could be found for logger (org.apache.kafka.clients.admin.AdminClientConfig).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
shouldRetry: count=1
shouldRetry: count=2
shouldRetry: count=3
shouldRetry: count=4
shouldRetry: count=5
shouldRetry: count=6
shouldRetry: count=7
shouldRetry: count=8
shouldRetry: count=9
shouldRetry: count=10
shouldRetry: count=11
shouldRetry: count=12

I appreciate your help
thank you


Bugfix/115 analyse texts to cas returns results only after all data has been processed

Closes #115

Analyse_texts_to_cas now returns results as soon as they are available
Also fixed that client._analyse_text_xmi accepts a Path as input source.
Updated docstring with more detailed instructions on how to process documents in parallel
Tested it against a HD (code not commited)

Codecov Report

Merging #116 (e19d60c) into dev (b75ed31) will decrease coverage by 0.08%.
The diff coverage is 60.00%.

@@            Coverage Diff             @@
##              dev     #116      +/-   ##
==========================================
- Coverage   92.08%   91.99%   -0.09%
==========================================
  Files          16       16
  Lines        2008     2012       +4
==========================================
+ Hits         1849     1851       +2
- Misses        159      161       +2

Impacted Files
Coverage Δ

averbis/core/_rest_client.py
86.67% <60.00%> (-0.15%)
:arrow_down:

Continue to review full report at Codecov.

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


email should not receive footer

The Quarto email message should not contain any default context. When the user builds a custom email message, they should be given complete control of its content.
Using the Quarto document:
---
title: Something wonderful
format: email
email-preview: true
---

Some of the content in this document makes its way to the rendered HTML and
some of it is destined for a custom email message. The email message
customizes the subject and the body of the email, while the rendered HTML
contains only this paragraph.

::: {.email}

::: {.subject}
Buy groceries (quarto)
:::

Remember to pick up groceries on you way home. Tonight is "breakfast for
dinner" and we're having French Toast!

* Bread
* Eggs
* Butter
* Milk

:::

This produces an email message like the following (viewed using the gmail browser UI):

In contrast, a custom email from rmarkdown looks like the following:

Here is the R Markdown document for comparison:
---
title: Something wonderful
---

Some of the content in this document makes its way to the rendered HTML and
some of it is destined for a custom email message. The email message
customizes the subject and the body of the email, while the rendered HTML
contains only this paragraph.

```{r echo = FALSE}
rmarkdown::output_metadata$set(
  rsc_email_subject = "Buy groceries (plain rmarkdown)",
  rsc_email_body_html = paste0(c(
    "Remember to pick up groceries on you way home. Tonight is \"breakfast for
dinner\" and we're having French Toast!",
    "",
    "<ul>",
    "<li>Bread</li>",
    "<li>Eggs</li>",
    "<li>Butter</li>",
    "<li>Milk</li>",
    "</ul>",
    ""
  ), collapse = "\n"),
  rsc_email_suppress_report_attachment = TRUE)

```

Note: I tried to create an example R Markdown document using blastula, but ran into https://github.com/rstudio/blastula/issues/323

We could definitely remove the inclusion of default content. In a separate issue, we can go over some design ideas for how a user would add content to the email header and footer.

Would it be best for me to include examples of how to reference the links in documentation? We don't have any convention for a "message footer" in the document metadata, so whatever is handled as a footer needs to be specified directly in the HTML (and text) email messages.

Yes definitely, and I'm thinking about using a .header and .footer class to make these customizable (otherwise they will be empty). Other names which jive with our growing set might be .email-header and .email-footer (this aligns with the .email-text class).
Speaking of which, would an email-footer-default metadata option (defaulting to false) be useful in case people want the default content in the footer? In terms of behavior it could provide the default footer content only if true and if there isn't an .email-footer div.

And to answer the question above, yes, I think having some documentation on how to generate the reference links would be useful. It'll probably obviate the need for an email-footer-default option too.

Blastula incorporates a box containing the email message and some footer information when the secondary email.Rmd contains:
---
output: blastula::blastula_email
---

Quarto email is mimicking this behavior. We will eventually incorporate a "plain" format which lets folks have more control over the email message, but for now, will continue to add this surrounding context.


Non-title fields should also have language tags

When there are values in multiple languages/scripts, we should add language tags to make it easier for clients to differentiate them.  We do this for titles, but not for other fields such as creator.  For example, compare the title and creator fields in https://bibdata.princeton.edu/bibliographic/4746714/jsonld

Looking at the strategy for generating the existing titles with language tags, it looks like it depends on:

generating a separate vernacular field in the Solr document (which possibly impacts OL)
looking at the resource language field to figure out what language it probably is
adding -Latn to the non-vernacular/Latin script version of the field

So I think it makes sense to think carefully about what fields we want to bring over language tags for, and what functionality those language tags will drive in Plum and/or Pom.

we will use the language_iana_s field


Another Base Project (with server configuablity)

Hi, I've also been working creating Rocket.Chat.Android.
Why Another Base Project?
The main difference is:

PR#3 (called "Basic Project") has a server configuration in BuildConfig.
This app (called "Another Basic Project") has not server configurations in BuildConfig. End-users can use any with Rocket.Chat server.

Also "Another Base Project" has some features that "Base Project" doesn't have, such as

GitHub OAuth
rich Message UI
(just for reference. These features should be merged into "Basic Project" in future :laughing:  )

Pros. & Cons.
Basic Project
Pros

Push Notification using GCM/Parse/... is available
Twitter SDK / Facebook SDK can be embed depending on Rocket.Chat server host.

Cons

End-users cannot use multiple Rocket.Chat host.
Maybe the app cannot be published in Google Play Store

Another Basic Project
Pros

End-users can use multiple RocketChats by switching server and account.
Apps can be published in Google Play Store

Cons

Embedding native oauth SDKs (Google+, Twitter, Facebook, ...) is impossible. Should use WebView for OAuth.
Push Notification with GCM is impossible. Should use stream-notifications via DDP.

screenrecords

You guys were in stealth mode :+1:
We're going to take a look into both of these.  We went from nothing to two apps, with slightly different approaches.
@YusukeIwaki I think i've seen you on the demo server.  Is your nick the same?  So we can reach out and chat a bit?

@geekgonecrazy  Yes, I use the same nick name(YusukeIwaki) in demo.rocket.chat.
I watch the chat rooms in demo server regularly (except for working hours... :laughing:  )
Feel free to chat to me!


feat: add reactions block

Changes proposed in this Pull Request

Adds a Reactions block.

The readme.txt has an overview of the options and includes examples for styling the block. It can also be seen running here.
CC @dhanson-wp

@chrisbellboy Wanted to make sure you saw this review. It doesn't look like your recent changes address it, unless I'm missing something.

Hey @nate-allen Sorry for the super slow response, those other pushes were addressing a separate issue I spotted on Steve's site!
Re: table not getting created - ah I think I know why that may be. Did you test it via the monorepo plugin? Because if so, then that would be why. The reactions plugin currently uses register_activation_hook (in this file) to create the table, but the caveat is that this hook only fires when called from a file at the root level of a plugin.
In the monorepo setup, since reactions.php is located in a subdirectory, the hook doesn’t ever fire! However, when the reactions plugin is installed as a normal standalone plugin, the table should be created without issue.
I did run into this at one point when testing the monorepo and it had me stumped for a while until I learnt about it having to be in a root file. To account for monorepo users (and for sites that accidentally delete the table), I did also add a fallback notice that should appear if the table doesn’t exist, along with a button to create it manually. Did you happen to see that during testing?
With all that in mind, I’m happy to move the logic to the init hook if you still think it’s a better fit - as it would prevent any monorepo devs needing to create it via the fallback notice. The only tradeoff I see is that it would add a minor extra database check on every page load, although admittedly it would be negligible performance-wise. Could also move it to an admin hook so it only fires on admin page loads?
Let me know either way and I'll work on the changes 👍


( AnimatedCrossFade ) crossFadeState have wrong behaviour

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Hello everyone,
I have problems with the code below when I'm trying to show the firstChild. The state.user currently return null, but AnimatedCrossFade always show the secondChild. Thanks and have a nice day!
Flutter version: 3.10.5
Expected results
Show the firstChild when state.user == null
Actual results
Always show the secondChild when state.user == null
Code sample
Code sample
Container(
  padding: const EdgeInsets.symmetric(
    vertical: 60,
    horizontal: 16,
  ),
  width: context.screen.width,
  decoration: BoxDecoration(
    color: context.theme.colorScheme.background,
    boxShadow: [
      BoxShadow(
        color: context.theme.shadowColor,
      ),
    ],
  ),
  child: AnimatedCrossFade(
    secondChild: Column(
      crossAxisAlignment: CrossAxisAlignment.center,
      children: [
        CircleAvatar(
          radius: 60,
          backgroundImage: state.user!.image.isNotEmpty
              ? NetworkImage(
                  '${ApiEndpoint.baseUrl}/${state.user!.image}',
                  headers: Network.headers,
                )
              : null,
        ),
        const SizedBox(
          height: 16,
          width: double.infinity,
        ),
        Text(
          '${state.user!.firstName} ${state.user!.lastName}',
          style: TextStyle(
            fontSize: 18,
            fontWeight: FontWeight.bold,
            color: context.theme.colorScheme.primary,
          ),
        ),
        Text(
          state.user!.email,
          style: TextStyle(
            fontSize: 14,
            color: context.theme.colorScheme.secondary,
          ),
        ),
      ],
    ),
    firstChild: Column(
      crossAxisAlignment: CrossAxisAlignment.center,
      children: [
        const CircleAvatar(
          radius: 60,
        ),
        const SizedBox(
          height: 16,
          width: double.infinity,
        ),
        Text(
          'Guest',
          style: TextStyle(
            fontSize: 18,
            fontWeight: FontWeight.bold,
            color: context.theme.colorScheme.primary,
          ),
        ),
        OutlinedButton(
          onPressed: () => _navigateToPage(const LoginPage()),
          child: Text(context.language.loginTitle),
        ),
      ],
    ),
    crossFadeState: state.user == null ? CrossFadeState.showFirst : CrossFadeState.showSecond,
    duration: const Duration(milliseconds: 300),
  ),
 );

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.10.5, on Microsoft Windows [Version 10.0.19044.2486], locale en-US)
    • Flutter version 3.10.5 on channel stable at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 796c8ef792 (3 weeks ago), 2023-06-13 15:51:02 -0700
    • Engine revision 45f6e00911
    • Dart version 3.0.5
    • DevTools version 2.23.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at C:\Users\bvxia\AppData\Local\Android\Sdk
    • Platform android-UpsideDownCake, build-tools 33.0.2
    • ANDROID_HOME = C:\Users\bvxia\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio (version 2022.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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.6+0-b2043.56-9586694)

[√] IntelliJ IDEA Ultimate Edition (version 2023.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJUltimate
    • 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

[√] VS Code (version 1.79.2)
    • VS Code at C:\Users\bvxia\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.68.0

[√] Connected device (4 available)
    • sdk gphone x86 64 (mobile) • emulator-5554 • android-x64    • Android 13 (API 33) (emulator)
    • Windows (desktop)          • windows       • windows-x64    • Microsoft Windows [Version 10.0.19044.2486]
    • Chrome (web)               • chrome        • web-javascript • Google Chrome 114.0.5735.199
    • Edge (web)                 • edge          • web-javascript • Microsoft Edge 114.0.1823.67

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

! Doctor found issues in 1 category.

Hi @xiabui
Your sample code contains an undefined element (state.user). For the issue to be workable, it needs to be reproducible with a completed and minimal reproducible code sample that doesn’t include 3rd party plugins or complex production code. Please provide such a sample. Thank you!

Hi @huycozy,
Here is your sample code:
import 'package:flutter/material.dart';
class User {
  User({required this.name});
  final String name;
}

class BugReport extends StatelessWidget {
  BugReport({super.key});

  User? user; // null value

  @override
  Widget build(BuildContext context) {
    var mediaQuerySize = MediaQuery.of(context).size;

    return Scaffold(
      body: Container(
        padding: const EdgeInsets.symmetric(
          vertical: 60,
          horizontal: 16,
        ),
        width: mediaQuerySize.width,
        decoration: BoxDecoration(
          color: Colors.white,
          boxShadow: [
            BoxShadow(
              color: Colors.black26.withOpacity(0.4),
            ),
          ],
        ),
        child: AnimatedCrossFade(
          firstChild: Column(
            crossAxisAlignment: CrossAxisAlignment.center,
            children: [
              const CircleAvatar(
                radius: 60,
              ),
              const SizedBox(
                height: 16,
                width: double.infinity,
              ),
              const Text(
                'Guest',
                style: TextStyle(
                  fontSize: 18,
                  fontWeight: FontWeight.bold,
                  color: Colors.blue,
                ),
              ),
              OutlinedButton(
                onPressed: () => {},
                child: const Text('text'),
              ),
            ],
          ),
          secondChild: Column(
            crossAxisAlignment: CrossAxisAlignment.center,
            children: [
              const SizedBox(
                height: 16,
                width: double.infinity,
              ),
              Text(
                user!.name,
                style: const TextStyle(
                  fontSize: 18,
                  fontWeight: FontWeight.bold,
                  color: Colors.blue,
                ),
              ),
            ],
          ),
          crossFadeState: user == null ? CrossFadeState.showFirst : CrossFadeState.showSecond,
          duration: const Duration(milliseconds: 300),
        ),
      ),
    );
  }
}

Thanks for the update. Your code still has error so I complete it as below. And when I run the sample, it works as expected.  Please try below sample code and confirm this.

Demo

Complete sample code
import 'package:flutter/material.dart';
class User {
  User({required this.name});
  final String name;
}

void main() {
  runApp(
    MaterialApp(
      theme: ThemeData(useMaterial3: true),
      home: Scaffold(
        body: BugReport(),
      ),
    ),
  );
}

class BugReport extends StatelessWidget {

  User? user;

  BugReport({super.key}); // null value

  @override
  Widget build(BuildContext context) {
    var mediaQuerySize = MediaQuery.of(context).size;

    return Scaffold(
      body: Container(
        padding: const EdgeInsets.symmetric(
          vertical: 60,
          horizontal: 16,
        ),
        width: mediaQuerySize.width,
        decoration: BoxDecoration(
          color: Colors.white,
          boxShadow: [
            BoxShadow(
              color: Colors.black26.withOpacity(0.4),
            ),
          ],
        ),
        child: AnimatedCrossFade(
          firstChild: Column(
            crossAxisAlignment: CrossAxisAlignment.center,
            children: [
              const CircleAvatar(
                radius: 60,
              ),
              const SizedBox(
                height: 16,
                width: double.infinity,
              ),
              const Text(
                'Guest',
                style: TextStyle(
                  fontSize: 18,
                  fontWeight: FontWeight.bold,
                  color: Colors.blue,
                ),
              ),
              OutlinedButton(
                onPressed: () => {},
                child: const Text('text'),
              ),
            ],
          ),
          secondChild: Column(
            crossAxisAlignment: CrossAxisAlignment.center,
            children: [
              const SizedBox(
                height: 16,
                width: double.infinity,
              ),
              Text(
                user?.name ?? "",
                style: const TextStyle(
                  fontSize: 18,
                  fontWeight: FontWeight.bold,
                  color: Colors.blue,
                ),
              ),
            ],
          ),
          crossFadeState: user == null ? CrossFadeState.showFirst : CrossFadeState.showSecond,
          duration: const Duration(milliseconds: 300),
        ),
      ),
    );
  }
}

Hi @huycozy,
Thanks for your help. Your code can run perfectly. But can you take a little bit of your time to explain why my code got that exception. My previous code can run without any errors yesterday! Is that AnimatedCrossFade build 2 child before they check the crossFadeState?
Best Regards.

Hi,
Your initial sample code used state.user, which depends on state value change. Since it's not transparent, I can't verify it. But I would recommend you double-check the data source which could impact state data that leads to wrong behavior you have seen.
Closing the issue as it could be an implementation issue. If you disagree, please write in the comments with more information and I will reopen it for further discussion. Thanks!


Scenes with GPUParticle2D in compatibility mode crashes the editor on MacOS 14.2

Tested versions
4.2.2.stable.official [15073afe3]
System information
MacOS 14.2, Apple M1 Max
Issue description
When adding a GPUParticles2D node in any scene, in compatibility mode, the entire editor crashes.
Steps to reproduce

Clone this project
Go into Project Settings > Renderer
Change the Rendering Method from forward_plus to gl_compatibility
Restart the editor
Open the "gpu_particles_2d.tscn" scene
Editor crashes

Minimal reproduction project (MRP)
https://github.com/nubunto/godot-4.2-gpu-particles-crash

I can maybe try to fix this if I know where to start, I'm familiar with programming but not C++

Are you on 4.2 or 4.2.1 or 4.2.2?

Good, it's useful to be specific in the issue report, it's impossible to tell

yup, not able to reproduce my sample project with 4.3.dev6! although the font looks kinda funny, but this would be a separate topic

Then it seems some bug fix was added there, will see if I can identify some specific fix

Seems this is tracked here:

https://github.com/godotengine/godot/issues/72469

So consolidating there, and feel free to add any additional details you have there, including mentioning it seems to work on 4.3.dev6

amazing, I will do so. Thanks @AThousandShips for the quick response!!


Use a file recognition for the import sample so we can prechoose which types to load / warn if multiple types

resolve before 17

resolve before 17


Apply the hover effect to the links in the navbar

Hey! I am Shaad. I want to improve the navbar. I will apply the relevant hover effect and few more effects to the navbar to make it look more elegant and catchy.
Kindly assign me this issue so that I can work on it.
Thank you

@zbahati


[TextField] Add demo for color prop

[x] I have followed (at least) the PR section of the contributing guide.

It struck me as odd that there was no demo for this. Given that all color variation demos are done in the first demo, I've added them there.

Where should it be put on the page? Also, should the demo show both styles or only the non-default secondary?

@Studio384 I think that showing the secondary color would be enough. What do you think of having it right before "Customized inputs"?

@Studio384 Well done 👍


[CE-2800] Default to cwd with warning when .git is not located

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
When running the uploader in docker, or other places where there is no .git dir, it fails
Describe the solution you'd like
A clear and concise description of what you want to happen.
Default to cwd with warning when .git is not located
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Using the -R flag works
Additional context
Add any other context or screenshots about the feature request here.

I believe this is handled by https://github.com/codecov/uploader/pull/407


Get vs All

Lately I've come to an issue where due to lack of awareness and reading comprehension people in general call Database.prototype.get  instead of Database.prototype.all when they want to get all results for particular query. I suggest that get would be deprecated and renamed to Database.prototype.first to avoid this misconception.

Whilst I'd agree it'd make the library a little better to use, it's unlikely something we're going to do soon so I'm going to close this for now 🙂


Mac: Failed to resolve "WebP.Mac.WebPCodec"

Description
I'm going to use this excellent plugin in my cross-platform Xamarin Forms project for colortinted images.
I've added current stable versions of  Xamarin.FFImageLoading.Forms and Xamarin.FFImageLoading.Transformations from nuget.org.
Unfortunately, I can't build my project because of:
MMP: Error MM2002: Failed to resolve "WebP.Mac.WebPCodec" reference from "WebP.Mac, Version=1.0.6628.22309, Culture=neutral, PublicKeyToken=null" (MM2002)
In Debug I see launched app but then it immediately crashes:
Could not find WebP.Mac referenced by assembly FFImageLoading.Platform, Version=<IP_ADDRESS>0, Culture=neutral, PublicKeyToken=null.
Could not find WebP.Mac referenced by assembly FFImageLoading.Forms, Version=<IP_ADDRESS>0, Culture=neutral, PublicKeyToken=null.
Could not find WebP.Mac referenced by assembly FFImageLoading.Forms.Platform, Version=<IP_ADDRESS>0, Culture=neutral, PublicKeyToken=null.
Steps to Reproduce
Just try to use CachedImage with Xamarin.FFImageLoading.Transformations in Xamarin Forms on Mac
Basic Information

Version with issue: <IP_ADDRESS>0
Last known good version: unknown
Platform: Xamarin Forms 3.1.0 for Mac, in any Debug/Release x86/x64 modes

Hi @Papirosnik,
Are you sure you have WebP and FFImageLoading packages installed in platform specific project?

Hi!
I'm not sure I should have WebP installed separately.
At least I didn't install it on any other platform (ios, android, uwp) and all looks working properly (despite on other bugs :).

It should be installed automatically as it's a package dependency: https://github.com/luberda-molinet/FFImageLoading/blob/master/nuget/Xamarin.FFImageLoading.nuspec#L49
Could you mention other bugs? Thanks :)


xtensa: use CONFIG_ARCH_FPU macro for coprocossor and add up_fpucmp

Summary
In xtensa,  use CONFIG_ARCH_FPU instead of CP_NUM.
For Consistency with other archs
Impact
No.
Testing
Testing ostest in xtensa arch board.

the FPU on ostest is failing:
xtensa-esp32-elf-ld: /github/workspace/sources/nuttx/staging/libapps.a(fpu.c.github.workspace.sources.apps.testing.ostest.o): in function fpu_task': /github/workspace/sources/apps/testing/ostest/fpu.c:214: undefined reference to up_fpucmp'
xtensa-esp32-elf-ld: /github/workspace/sources/apps/testing/ostest/fpu.c:227: undefined reference to `up_fpucmp'

hi, @Ouss4 : I update a new patch. CONFIG_ARCH_FPU only used for xtensa_fpucmp.c now. Please review again @acassis


build with golang 1.22 - https://issues.redhat.com/browse/ACM-13102

/retest

/retest

/cc @sahare


change module names and move methods

Right now the module names are as follows:
Browser.Cookie
Browser.Cookies.Data

I think this package would be a little more usable if Browser.Cookies.Data was renamed to Browser.Cookie.  It is a little strange that there are two different (but similar) module namespaces from the same package.
Also, I think the Cookie and SetCookie types should just be exported from Browser.Cookie. This makes it slightly more usable.
When I want to use purescript-browser-cookies in my application, I end up importing it like the following:
import Browser.Cookie (getCookie)
import Browser.Cookie.Data (Cookie(Cookie))

But it would be nice if I could just do the following:
import Browser.Cookie (Cookie(Cookie), getCookie)

If a refactoring like this would be accepted, I'd be willing to send a PR for this.


HTYI: "Reveal" animation not playing, impossible to see who made up a hashtag

"Reveal" animation is now not playing at all, and the creator's icon never appears, so it's impossible to know who actually made the hashtag.

fixed


Set python version for build workflow

ref: #62
In code we use functional available since python 3.11 datetime.UTC

@yegor256 take a look please

@blablatdinov thanks!


Add Azure Cognitive Search Aspire Component

We should have an Azure Cognitive Search component. See https://learn.microsoft.com/azure/search/
See https://www.nuget.org/packages/Azure.Search.Documents/

@eerhardt I'd be interested in taking this up, thanks.

@levimatheri - that would be great! Our hope is that this should be a lot like the Azure OpenAI component - see https://github.com/dotnet/aspire/pull/1475.
@tg-msft @sebastienros - anything in particular to be aware for Azure AI Search?

I also think it should look like Open Ai. One difference might be the connection that we made up. If AI Search doesn't have a connection string then it will be the same.
Deployments in Open AI should be equivalent to Indexes in AI Search. And maybe AI Search has a package for provisioning, which would be extra compare to Open AI.

@sebastienros One thing I realized is that SearchClient requires an indexName. In terms of the ConnectionStrings for Aspire, was wondering how to define this. What do you think about the following:
With API Key
{
  "ConnectionStrings": {
    "aiSearchConnectionName": "Endpoint=https://{search_service}.search.windows.net/;IndexName={index_name};Key={account_key}"
  }
}

With TokenCredential:
{
  "ConnectionStrings": {
    "aiSearchConnectionName": "Endpoint=https://{search_service}.search.windows.net/;IndexName={index_name}"
  }
}

So I don't think we can have just the account endpoint since index name has to come along, i.e. this wouldn't be sufficient(?)
{
  "ConnectionStrings": {
    "aiSearchConnectionName": "https://{search_service}.search.windows.net/"
  }
}

@levimatheri That's fine assume this issue and the fact that we'll have to change it once it's implemented. And you confirm that AI search has no concept of connection string then?

@sebastienros One thing I realized is that SearchClient requires an indexName. In terms of the ConnectionStrings for Aspire, was wondering how to define this. What do you think about the following:

How does this play with applications that connect to multiple indexes? I believe this is a very common scenario (same as different models/deployments/instances with Azure OpenAI). Is Keyed DI Services now a thing in Aspire, or is every component still registered as a singleton in DI, without naming, hence blocking multiple connections to different services of the same type?

@pedershk There's an option to add Keyed component, see OpenAI component for example.

I think the initial version of the Aspire Azure AI Search component would just register a SearchIndexClient as a singleton in DI. Then users can grab that out and call GetSearchClient(string indexName) in their app to be able to interact with the specific index.
This gives the users the most flexibility - they don't put index names in the connection information. And they can use different indexes if need be.
If they want to build a Keyed DI service over top of this, it would be very simple. Something like:
builder.Services.AddKeyedSingleton(KeyedService.AnyKey, static (sp, key) =>
{
    var searchIndexClient = sp.GetRequiredService<SearchIndexClient>();
    return searchIndexClient.GetSearchClient((string)key);
});

And then in their app, they can just get a [FromKeyedServices("indexName"] SearchClient client when they want a SearchClient for the "indexName" index.

Makes sense, thanks

@eerhardt any idea why SearchIndexClient is not emitting any ActivitySource and failing this test? Is there something specific I'm supposed to add on Aspire to get it return exported activities? Here's my branch.

I encountered an issue trying to set up the provisioner for AI Search, it can't seem to find Azure.ResourceManager.Search in any of the feeds. Seeing the following error:
Unable to find package Azure.ResourceManager.Search. No packages exist with this id in source(s): dotnet-eng, dotnet-public, dotnet8

Fixing it, we need to add it to our internal feed. Should take a few minutes.

@sebastienros any luck? I'm still not able to find the package.

I added Azure.ResourceManager.Search version 1.2.1 and I can see that the pipeline worked, but I can't find it in the feed either. Will try again.

It should be ok now, I think I chose the wrong option the first time as it's a new package on the feed.
https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/azure.resourcemanager.search/index.json

Completed with #2070.


UML-1305: Show trust corporation in attorney list in the summary pages

Purpose
https://opgtransform.atlassian.net/browse/UML-1305
Fixes UML-1305
Approach
Explain how your code addresses the purpose of the change
Learning
Any tips and tricks, blog posts or tools which helped you. Plus anything notable you've discovered about the Use a Lasting Power of Attorney service
Checklist

[x] I have performed a self-review of my own code
[ ] I have added relevant logging with appropriate levels to my code
[ ] New event_codes have been documented on the wiki page
[ ] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[x] I have added tests to prove my work
[ ] I have added welsh translation tags and updated translation files
[ ] I have run an accessibility tool on any pages I have made changes to and fixed any issues found
[ ] I have notified the Interaction Designer of any content changes so that appropriate screenshots/flow diagram changes can be made
[x] The product team have tested these changes

I think there should also be a BDD test for the UI showing trust corporations?
Maybe something along the lines of :
Given I have an LPA added with a TrustCorporation as an attorney When I request to view the LPA Then I can see the trust corporation in the list of attorneys
?

@lukejolliffe  - Done

@SeemaMenon There's a missing update for the mock integrations nginx.conf file to map the new mock data you've added. This results in the mock returning a 404 for<PHONE_NUMBER>51. You've likely got it locally, or you can recreate it with the generate_example.sh script.

The messages.html is back 😅

Removed now.


how to install eTeak with stack

when i'm doing as the tutorial says first i cannot find any bootstrap file when you wrote to run ./bootstrap.
and then when i run stack install i got error like below:
any help would be appreciated.

savir@ubuntu:~/Soft/eTeak-master$ stack build
cairo-<IP_ADDRESS>: configure
glib-<IP_ADDRESS>: configure
--  While building package glib-<IP_ADDRESS> using:
/home/savir/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc --make
-odir
/tmp/stack18807/glib-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup
-hidir
/tmp/stack18807/glib-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup
-i -i. -package=Cabal-<IP_ADDRESS> -clear-package-db -global-package-db
-package-db=/home/savir/.stack/snapshots/x86_64-linux/lts-5.8/7.10.3/pkgdb
/tmp/stack18807/glib-<IP_ADDRESS>/Setup.hs -o
/tmp/stack18807/glib-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup/setup
Process exited with code: ExitFailure 1
Logs have been written to:
/home/savir/Soft/eTeak-master/.stack-work/logs/glib-<IP_ADDRESS>.log
[1 of 2] Compiling SetupWrapper     ( SetupWrapper.hs,

/tmp/stack18807/glib-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup/SetupWrapper.o
)
SetupWrapper.hs:86:16:
    Couldn't match expected type ‘IO (PackageIndex.PackageIndex

a0)’
with actual type ‘ProgramConfiguration
-> IO
PackageIndex.InstalledPackageIndex’
Probable cause: ‘getInstalledPackages’ is applied to too few
arguments
In a stmt of a 'do' block:
index <- getInstalledPackages verbosity usePackageDB conf
In the expression:
do { index <- getInstalledPackages verbosity usePackageDB conf;
let cabalDep
= Dependency
(PackageName "Cabal") (orLaterVersion
useCabalVersion);
case PackageIndex.lookupDependency index cabalDep of {
[]
-> die
$ "The package requires Cabal library version "
++
display useCabalVersion ++ " but no suitable
version is installed."
pkgs -> return $ bestVersion (map fst pkgs) } }
SetupWrapper.hs:86:47:
    Couldn't match expected type ‘Compiler’
                with actual type ‘[PackageDB]’
    In the second argument of ‘getInstalledPackages’, namely
      ‘usePackageDB’
    In a stmt of a 'do' block:
      index <- getInstalledPackages verbosity usePackageDB conf

SetupWrapper.hs:120:54:
    Couldn't match type ‘Distribution.Simple.Program.Db.ProgramDb’
                   with ‘[PackageDB]’
    Expected type: PackageDBStack
      Actual type: ProgramConfiguration
    In the second argument of ‘cabalLibVersionToUse’, namely

‘conf’
In a stmt of a 'do' block:
cabalLibVersion <- cabalLibVersionToUse comp conf
--  While building package cairo-<IP_ADDRESS> using:
/home/savir/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc --make
-odir
/tmp/stack18807/cairo-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup
-hidir
/tmp/stack18807/cairo-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup
-i -i. -package=Cabal-<IP_ADDRESS> -clear-package-db -global-package-db
-package-db=/home/savir/.stack/snapshots/x86_64-linux/lts-5.8/7.10.3/pkgdb
/tmp/stack18807/cairo-<IP_ADDRESS>/Setup.hs -o
/tmp/stack18807/cairo-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup/setup
Process exited with code: ExitFailure 1
Logs have been written to:
/home/savir/Soft/eTeak-master/.stack-work/logs/cairo-<IP_ADDRESS>.log
[1 of 2] Compiling SetupWrapper     ( SetupWrapper.hs,

/tmp/stack18807/cairo-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup/SetupWrapper.o
)
SetupWrapper.hs:86:16:
    Couldn't match expected type ‘IO (PackageIndex.PackageIndex

a0)’
with actual type ‘ProgramConfiguration
-> IO
PackageIndex.InstalledPackageIndex’
Probable cause: ‘getInstalledPackages’ is applied to too few
arguments
In a stmt of a 'do' block:
index <- getInstalledPackages verbosity usePackageDB conf
In the expression:
do { index <- getInstalledPackages verbosity usePackageDB conf;
let cabalDep
= Dependency
(PackageName "Cabal") (orLaterVersion
useCabalVersion);
case PackageIndex.lookupDependency index cabalDep of {
[]
-> die
$ "The package requires Cabal library version "
++
display useCabalVersion ++ " but no suitable
version is installed."
pkgs -> return $ bestVersion (map fst pkgs) } }
SetupWrapper.hs:86:47:
    Couldn't match expected type ‘Compiler’
                with actual type ‘[PackageDB]’
    In the second argument of ‘getInstalledPackages’, namely
      ‘usePackageDB’
    In a stmt of a 'do' block:
      index <- getInstalledPackages verbosity usePackageDB conf

SetupWrapper.hs:120:54:
    Couldn't match type ‘Distribution.Simple.Program.Db.ProgramDb’
                   with ‘[PackageDB]’
    Expected type: PackageDBStack
      Actual type: ProgramConfiguration
    In the second argument of ‘cabalLibVersionToUse’, namely

‘conf’
In a stmt of a 'do' block:
cabalLibVersion <- cabalLibVersionToUse comp conf

please try installing these headers before running the ./bootstrap command:
"apt-get install automake autoconf libgtk2.0-dev"

i already installed all of them.
but again i get error like below:
--  While building package eTeak-0.4 using:
/home/savir/Soft/eTeak-master/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup/setup --builddir=.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS> build exe:aschem exe:eTeak exe:eTeak-runtime --ghc-options " -ddump-hi -ddump-to-file"
Process exited with code: ExitFailure 2
do you have any tutorial video for this procedure?

You should have eTeak binary already built and ready to use at this directory:
/home/savir/Soft/eTeak-master/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/build/eTeak
this issue comes up due to failure in compiling /doc/manual. We'll address this problem asap.

i cannot run eteak using stack ecec command.and also there is not any executable file in the directory told.
what should i do?
Is there any virtual hard drive with eteak pre compiled on it?

Please try "stack build" now, just updated the setup procedure,
to check whether it's installed properly you'd need to try "stack exec -- eTeak [options]"

as seen below after again running the stack build i got these errors.and i also ran stack exec and the executable where not found.
savir@ubuntu:~/Soft/eTeak-master$ stack build
glib-<IP_ADDRESS>: configure
cairo-<IP_ADDRESS>: configure
Progress: 2/6
--  While building package cairo-<IP_ADDRESS> using:
/home/savir/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc --make -odir /tmp/stack5629/cairo-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup -hidir /tmp/stack5629/cairo-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup -i -i. -package=Cabal-<IP_ADDRESS> -clear-package-db -global-package-db -package-db=/home/savir/.stack/snapshots/x86_64-linux/lts-5.8/7.10.3/pkgdb /tmp/stack5629/cairo-<IP_ADDRESS>/Setup.hs -o /tmp/stack5629/cairo-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup/setup
Process exited with code: ExitFailure 1
Logs have been written to: /home/savir/Soft/eTeak-master/.stack-work/logs/cairo-<IP_ADDRESS>.log
[1 of 2] Compiling SetupWrapper     ( SetupWrapper.hs, /tmp/stack5629/cairo-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup/SetupWrapper.o )

SetupWrapper.hs:86:16:
    Couldn't match expected type ‘IO (PackageIndex.PackageIndex a0)’
                with actual type ‘ProgramConfiguration
                                  -> IO PackageIndex.InstalledPackageIndex’
    Probable cause: ‘getInstalledPackages’ is applied to too few arguments
    In a stmt of a 'do' block:
      index <- getInstalledPackages verbosity usePackageDB conf
    In the expression:
      do { index <- getInstalledPackages verbosity usePackageDB conf;
           let cabalDep
                 = Dependency
                     (PackageName "Cabal") (orLaterVersion useCabalVersion);
           case PackageIndex.lookupDependency index cabalDep of {
             []
               -> die
                  $ "The package requires Cabal library version "
                    ++
                      display useCabalVersion ++ " but no suitable version is installed."
             pkgs -> return $ bestVersion (map fst pkgs) } }

SetupWrapper.hs:86:47:
    Couldn't match expected type ‘Compiler’
                with actual type ‘[PackageDB]’
    In the second argument of ‘getInstalledPackages’, namely
      ‘usePackageDB’
    In a stmt of a 'do' block:
      index <- getInstalledPackages verbosity usePackageDB conf

SetupWrapper.hs:120:54:
    Couldn't match type ‘Distribution.Simple.Program.Db.ProgramDb’
                   with ‘[PackageDB]’
    Expected type: PackageDBStack
      Actual type: ProgramConfiguration
    In the second argument of ‘cabalLibVersionToUse’, namely ‘conf’
    In a stmt of a 'do' block:
      cabalLibVersion <- cabalLibVersionToUse comp conf

--  While building package glib-<IP_ADDRESS> using:
/home/savir/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc --make -odir /tmp/stack5629/glib-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup -hidir /tmp/stack5629/glib-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup -i -i. -package=Cabal-<IP_ADDRESS> -clear-package-db -global-package-db -package-db=/home/savir/.stack/snapshots/x86_64-linux/lts-5.8/7.10.3/pkgdb /tmp/stack5629/glib-<IP_ADDRESS>/Setup.hs -o /tmp/stack5629/glib-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup/setup
Process exited with code: ExitFailure 1
Logs have been written to: /home/savir/Soft/eTeak-master/.stack-work/logs/glib-<IP_ADDRESS>.log
[1 of 2] Compiling SetupWrapper     ( SetupWrapper.hs, /tmp/stack5629/glib-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup/SetupWrapper.o )

SetupWrapper.hs:86:16:
    Couldn't match expected type ‘IO (PackageIndex.PackageIndex a0)’
                with actual type ‘ProgramConfiguration
                                  -> IO PackageIndex.InstalledPackageIndex’
    Probable cause: ‘getInstalledPackages’ is applied to too few arguments
    In a stmt of a 'do' block:
      index <- getInstalledPackages verbosity usePackageDB conf
    In the expression:
      do { index <- getInstalledPackages verbosity usePackageDB conf;
           let cabalDep
                 = Dependency
                     (PackageName "Cabal") (orLaterVersion useCabalVersion);
           case PackageIndex.lookupDependency index cabalDep of {
             []
               -> die
                  $ "The package requires Cabal library version "
                    ++
                      display useCabalVersion ++ " but no suitable version is installed."
             pkgs -> return $ bestVersion (map fst pkgs) } }

SetupWrapper.hs:86:47:
    Couldn't match expected type ‘Compiler’
                with actual type ‘[PackageDB]’
    In the second argument of ‘getInstalledPackages’, namely
      ‘usePackageDB’
    In a stmt of a 'do' block:
      index <- getInstalledPackages verbosity usePackageDB conf

SetupWrapper.hs:120:54:
    Couldn't match type ‘Distribution.Simple.Program.Db.ProgramDb’
                   with ‘[PackageDB]’
    Expected type: PackageDBStack
      Actual type: ProgramConfiguration
    In the second argument of ‘cabalLibVersionToUse’, namely ‘conf’
    In a stmt of a 'do' block:
      cabalLibVersion <- cabalLibVersionToUse comp conf

make sure libgtk2.0-dev is installed, obviously the glib-<IP_ADDRESS> and cairo-<IP_ADDRESS> packages fail to build.
yes, we may provide Virtual Machine image down the line.

Please note that currently eTeak is installable on Ubuntu distribution of Linux OS. To install eTeak on Fedora or other distributions make sure the equivalent packages to libgtk2.0-devel are installed, otherwise you'd get glib-<IP_ADDRESS> and cairo-<IP_ADDRESS> build issues.

unfortunately i'm currently using ubuntu 16.04 and while checking the libgtk2.0-dev is already installed.i don't know what's going on.....

please let us know what errors you get while building stack using "stack build" command.

these are my errors.i did all you said.
savir@ubuntu:~/Soft/fromgit/eTeak$ stack build
cairo-<IP_ADDRESS>: configure
glib-<IP_ADDRESS>: configure
stm-<IP_ADDRESS>: download
system-filepath-<IP_ADDRESS>: download
stm-<IP_ADDRESS>: configure
stm-<IP_ADDRESS>: build
system-filepath-<IP_ADDRESS>: configure
stm-<IP_ADDRESS>: copy/register
system-filepath-<IP_ADDRESS>: build
system-filepath-<IP_ADDRESS>: copy/register
Progress: 4/31
--  While building package glib-<IP_ADDRESS> using:
/home/savir/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc --make -odir /tmp/stack5658/glib-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup -hidir /tmp/stack5658/glib-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup -i -i. -package=Cabal-<IP_ADDRESS> -clear-package-db -global-package-db -package-db=/home/savir/.stack/snapshots/x86_64-linux/lts-5.8/7.10.3/pkgdb /tmp/stack5658/glib-<IP_ADDRESS>/Setup.hs -o /tmp/stack5658/glib-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup/setup
Process exited with code: ExitFailure 1
Logs have been written to: /home/savir/Soft/fromgit/eTeak/.stack-work/logs/glib-<IP_ADDRESS>.log
[1 of 2] Compiling SetupWrapper     ( SetupWrapper.hs, /tmp/stack5658/glib-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup/SetupWrapper.o )

SetupWrapper.hs:86:16:
    Couldn't match expected type ‘IO (PackageIndex.PackageIndex a0)’
                with actual type ‘ProgramConfiguration
                                  -> IO PackageIndex.InstalledPackageIndex’
    Probable cause: ‘getInstalledPackages’ is applied to too few arguments
    In a stmt of a 'do' block:
      index <- getInstalledPackages verbosity usePackageDB conf
    In the expression:
      do { index <- getInstalledPackages verbosity usePackageDB conf;
           let cabalDep
                 = Dependency
                     (PackageName "Cabal") (orLaterVersion useCabalVersion);
           case PackageIndex.lookupDependency index cabalDep of {
             []
               -> die
                  $ "The package requires Cabal library version "
                    ++
                      display useCabalVersion ++ " but no suitable version is installed."
             pkgs -> return $ bestVersion (map fst pkgs) } }

SetupWrapper.hs:86:47:
    Couldn't match expected type ‘Compiler’
                with actual type ‘[PackageDB]’
    In the second argument of ‘getInstalledPackages’, namely
      ‘usePackageDB’
    In a stmt of a 'do' block:
      index <- getInstalledPackages verbosity usePackageDB conf

SetupWrapper.hs:120:54:
    Couldn't match type ‘Distribution.Simple.Program.Db.ProgramDb’
                   with ‘[PackageDB]’
    Expected type: PackageDBStack
      Actual type: ProgramConfiguration
    In the second argument of ‘cabalLibVersionToUse’, namely ‘conf’
    In a stmt of a 'do' block:
      cabalLibVersion <- cabalLibVersionToUse comp conf

--  While building package cairo-<IP_ADDRESS> using:
/home/savir/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc --make -odir /tmp/stack5658/cairo-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup -hidir /tmp/stack5658/cairo-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup -i -i. -package=Cabal-<IP_ADDRESS> -clear-package-db -global-package-db -package-db=/home/savir/.stack/snapshots/x86_64-linux/lts-5.8/7.10.3/pkgdb /tmp/stack5658/cairo-<IP_ADDRESS>/Setup.hs -o /tmp/stack5658/cairo-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup/setup
Process exited with code: ExitFailure 1
Logs have been written to: /home/savir/Soft/fromgit/eTeak/.stack-work/logs/cairo-<IP_ADDRESS>.log
[1 of 2] Compiling SetupWrapper     ( SetupWrapper.hs, /tmp/stack5658/cairo-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup/SetupWrapper.o )

SetupWrapper.hs:86:16:
    Couldn't match expected type ‘IO (PackageIndex.PackageIndex a0)’
                with actual type ‘ProgramConfiguration
                                  -> IO PackageIndex.InstalledPackageIndex’
    Probable cause: ‘getInstalledPackages’ is applied to too few arguments
    In a stmt of a 'do' block:
      index <- getInstalledPackages verbosity usePackageDB conf
    In the expression:
      do { index <- getInstalledPackages verbosity usePackageDB conf;
           let cabalDep
                 = Dependency
                     (PackageName "Cabal") (orLaterVersion useCabalVersion);
           case PackageIndex.lookupDependency index cabalDep of {
             []
               -> die
                  $ "The package requires Cabal library version "
                    ++
                      display useCabalVersion ++ " but no suitable version is installed."
             pkgs -> return $ bestVersion (map fst pkgs) } }

SetupWrapper.hs:86:47:
    Couldn't match expected type ‘Compiler’
                with actual type ‘[PackageDB]’
    In the second argument of ‘getInstalledPackages’, namely
      ‘usePackageDB’
    In a stmt of a 'do' block:
      index <- getInstalledPackages verbosity usePackageDB conf

SetupWrapper.hs:120:54:
    Couldn't match type ‘Distribution.Simple.Program.Db.ProgramDb’
                   with ‘[PackageDB]’
    Expected type: PackageDBStack
      Actual type: ProgramConfiguration
    In the second argument of ‘cabalLibVersionToUse’, namely ‘conf’
    In a stmt of a 'do' block:
      cabalLibVersion <- cabalLibVersionToUse comp conf

ok, you'll also need to install "Libglib2.0-dev, libcairo2.0-dev, libpango1.0-dev, libgtk2.0-dev, libglade2.0-dev" libraries to resolve the issue with glib and cairo libraries (from issue #2 )
If the problem still exsits after the fixures above try the Ubuntu-15.4 VMware with pre-installed eTeak at the following directory: https://github.com/balangs/eTeak-vmware

hi
a tried installing your recommended packages, a had all installed except "libglade2.0-dev" and after installing and trying i again got the same error.like below:
savir@ubuntu:~/Soft/eTeak-master$ stack build
cairo-<IP_ADDRESS>: configure
glib-<IP_ADDRESS>: configure
semigroups-0.18.1: download
mmorph-1.0.6: download
mmorph-1.0.6: configure
mmorph-1.0.6: build
semigroups-0.18.1: configure
semigroups-0.18.1: build
mmorph-1.0.6: copy/register
semigroups-0.18.1: copy/register
Progress: 4/23
--  While building package glib-<IP_ADDRESS> using:
/home/savir/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc --make -odir /tmp/stack14019/glib-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup -hidir /tmp/stack14019/glib-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup -i -i. -package=Cabal-<IP_ADDRESS> -clear-package-db -global-package-db -package-db=/home/savir/.stack/snapshots/x86_64-linux/lts-5.8/7.10.3/pkgdb /tmp/stack14019/glib-<IP_ADDRESS>/Setup.hs -o /tmp/stack14019/glib-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup/setup
Process exited with code: ExitFailure 1
Logs have been written to: /home/savir/Soft/eTeak-master/.stack-work/logs/glib-<IP_ADDRESS>.log
[1 of 2] Compiling SetupWrapper     ( SetupWrapper.hs, /tmp/stack14019/glib-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup/SetupWrapper.o )

SetupWrapper.hs:86:16:
    Couldn't match expected type ‘IO (PackageIndex.PackageIndex a0)’
                with actual type ‘ProgramConfiguration
                                  -> IO PackageIndex.InstalledPackageIndex’
    Probable cause: ‘getInstalledPackages’ is applied to too few arguments
    In a stmt of a 'do' block:
      index <- getInstalledPackages verbosity usePackageDB conf
    In the expression:
      do { index <- getInstalledPackages verbosity usePackageDB conf;
           let cabalDep
                 = Dependency
                     (PackageName "Cabal") (orLaterVersion useCabalVersion);
           case PackageIndex.lookupDependency index cabalDep of {
             []
               -> die
                  $ "The package requires Cabal library version "
                    ++
                      display useCabalVersion ++ " but no suitable version is installed."
             pkgs -> return $ bestVersion (map fst pkgs) } }

SetupWrapper.hs:86:47:
    Couldn't match expected type ‘Compiler’
                with actual type ‘[PackageDB]’
    In the second argument of ‘getInstalledPackages’, namely
      ‘usePackageDB’
    In a stmt of a 'do' block:
      index <- getInstalledPackages verbosity usePackageDB conf

SetupWrapper.hs:120:54:
    Couldn't match type ‘Distribution.Simple.Program.Db.ProgramDb’
                   with ‘[PackageDB]’
    Expected type: PackageDBStack
      Actual type: ProgramConfiguration
    In the second argument of ‘cabalLibVersionToUse’, namely ‘conf’
    In a stmt of a 'do' block:
      cabalLibVersion <- cabalLibVersionToUse comp conf

--  While building package cairo-<IP_ADDRESS> using:
/home/savir/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc --make -odir /tmp/stack14019/cairo-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup -hidir /tmp/stack14019/cairo-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup -i -i. -package=Cabal-<IP_ADDRESS> -clear-package-db -global-package-db -package-db=/home/savir/.stack/snapshots/x86_64-linux/lts-5.8/7.10.3/pkgdb /tmp/stack14019/cairo-<IP_ADDRESS>/Setup.hs -o /tmp/stack14019/cairo-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup/setup
Process exited with code: ExitFailure 1
Logs have been written to: /home/savir/Soft/eTeak-master/.stack-work/logs/cairo-<IP_ADDRESS>.log
[1 of 2] Compiling SetupWrapper     ( SetupWrapper.hs, /tmp/stack14019/cairo-<IP_ADDRESS>/.stack-work/dist/x86_64-linux/Cabal-<IP_ADDRESS>/setup/SetupWrapper.o )

SetupWrapper.hs:86:16:
    Couldn't match expected type ‘IO (PackageIndex.PackageIndex a0)’
                with actual type ‘ProgramConfiguration
                                  -> IO PackageIndex.InstalledPackageIndex’
    Probable cause: ‘getInstalledPackages’ is applied to too few arguments
    In a stmt of a 'do' block:
      index <- getInstalledPackages verbosity usePackageDB conf
    In the expression:
      do { index <- getInstalledPackages verbosity usePackageDB conf;
           let cabalDep
                 = Dependency
                     (PackageName "Cabal") (orLaterVersion useCabalVersion);
           case PackageIndex.lookupDependency index cabalDep of {
             []
               -> die
                  $ "The package requires Cabal library version "
                    ++
                      display useCabalVersion ++ " but no suitable version is installed."
             pkgs -> return $ bestVersion (map fst pkgs) } }

SetupWrapper.hs:86:47:
    Couldn't match expected type ‘Compiler’
                with actual type ‘[PackageDB]’
    In the second argument of ‘getInstalledPackages’, namely
      ‘usePackageDB’
    In a stmt of a 'do' block:
      index <- getInstalledPackages verbosity usePackageDB conf

SetupWrapper.hs:120:54:
    Couldn't match type ‘Distribution.Simple.Program.Db.ProgramDb’
                   with ‘[PackageDB]’
    Expected type: PackageDBStack
      Actual type: ProgramConfiguration
    In the second argument of ‘cabalLibVersionToUse’, namely ‘conf’
    In a stmt of a 'do' block:
      cabalLibVersion <- cabalLibVersionToUse comp conf

no worries, use the VMware then.

Please check and see if eTeak-VMware works for you. Hope the problem is fixed.

thanks for your supports now i can run eteak gui.but i have a question now : when i want to synthesis one of examples for instance adder example i can successfully create verilog file. but when i want to show the graphical view of the design it give an error of some file with the same name as design file and format of .dot1.what is this error related to?
i really appreciate your help.

try sudo apt-get install graphviz

hi
as you told by installing the graphviz package i could fix the problem with gui. thanks so much.
i have a couple of questions and i would appreciate it if you could answer:
1.when i'm using the harness file and i edited the top.v file and also installed iverilog and i get the output file(.out) by executing it i just get a .vcd file with bunch of dumped values and not the output.dat file which contains the simulations result.
2.can you elaborate on top file? what are "done" and "go" and "inout" sections for?
and how does a synthesised module's ports should be driven in general?
and how can i also make a simulation with altera modelsim tool?
thanks alot

1- Be sure that you have buffered the links, when there is no output, sth is wrong with the functionality. try" -L -l simple =1 " . In case of no outputs afterwards, there is sth wrong with your circuit OR test bench.
2- top.v file is just a test bench in which the input signals are set. If you take a look at the generated netlist, you can see your top module teak_(yourModule'sName) and it's parameters. top.v is just an example of a testbench and you can change it the way you desire, but make sure that you are using the right protocol which is 4-phase dual rail. The existing top.v is a great example and you just need to customize it for your own module.
you can use modelsim too, you just need to take your related files there.
Good Luck

thanks for your answer i have some questions:
1-how should i buffer the links?(you mean calling buffer after getting inputs and writing to outputs?)
2-i completely read the top.v file and i also edited it but there is some questions still; what is go pins in DUT module cause i don't see anything in my synthesised design.and what does "go" and "done" sections mean?
thanks alot

I think the topic is not related to installing eTeak anymore. Please make new issues related to the exact problem that could be easier for further use.
BTW, buffering maters in eTeak:   . if you use --help or --latch-usage, you would see that different buffering policies exist. I suggest "simple" at first. you can use GUI for buffering or from the command line, using -L -l simple=1 in your network generation or netlist generation command.
Go and Done signals initiate the start and completion of the circuit respectively. so you should consider them in your test bench with the right protocol. If you dont have go and done in your module, I suppose you have used a loop with I component which is the initiator component, so simply ignore go and done sections.


Package request: cosh

Project description
cosh is a concatenative command-line shell written in Rust.
Metadata

homepage URL: https://github.com/tomhrr/cosh
source URL: https://github.com/tomhrr/cosh
license: BSD
platforms: linux

Add a :+1: reaction to issues you find important.

i no longer work on nixpkgs, please do not assign issues to me


[5.10] Tests: disable foundation-and-std-module.swift on Mac Catalyst

Disabling test for rdar://121125636.
I'm not fully sure this syntax will work so it may need revisiting in a few days.

@swift-ci Please test


npm update

Running npm install on the previous package versions failed with this error:
npm ERR! peerinvalid The package karma does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>
I have updated the version numbers of all the packages except for express (patch level only), and also added karma to avoid this warning:
npm WARN peerDependencies The peer dependency<EMAIL_ADDRESS>included from grunt-karma will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.

Travis tests failed, we won't be able merge as is. Please fix tests and re-submmit

Version updates as proposed along with the fix for Jasmine v2.0 incompatibilities are included here


Is this the correct way of using client.del, as its not working for me!!!

var redis = require("redis"),
universalKey = "abcd_1234";
client = redis.createClient();
client.del(universalKey, function() {
console.log("Deleted the UNIVERSAL_KEY " + universalKey + "...");
client.end();
});
I tried everything but it doesn't work at all the way I am coding it. Let me know if I am doing something wrong with the coding part or the syntax.
Many Thanks.

In order to better support this project and its new group of collaborators under a new org we are trying to clean up and close issues older than 6 months. Your issue may have been fixed since the issue was open, however, if you are still experiencing a problem please re-open this issue and we will label it accordingly.


Use single ARO API/client version in pkg/util/cluster

Which issue this PR addresses:
Fixes no Jira
What this PR does / why we need it:
Updates pkg/util/cluster/cluster.go to use a single ARO API version and client, replacing the 4 different API versions previously in use.
This version is currently set to the in-progress v20240812preview API - this has some run-on benefit in that we'll be testing cluster creation/deletion on the newest/in-progress API version via E2E as a result of this change.
Test plan for issue:

[X] Local cluster creation kicked off successfully
[X] Local cluster deletion kicked off successfully
[ ] PR E2E cluster creation/deletion works as expected

Is there any documentation that needs to be updated for this PR?
No.
How do you know this will function as expected in production?
N/A (this functionality is only used during local development and when running E2E)
Additional notes
HOLD: This PR is dependent on fixes to the v20240812preview API, contained in #3563. E2E will fail during cluster creation otherwise.

/azp run ci,e2e

/azp run ci,e2e

/azp run ci,e2e

/azp run ci,e2e


Changing the UI and backend according to the wireframe [https://githu…

…b.com/wso2-dev-ux/product-is/blob/master/Wireframes/admin-portal/v4/3.30_Admin_forced_Reset_password.png]

@johannnallathamby Please take a look

https://github.com/wso2/product-is/pull/1214


Incorrect DPI scaling for font preview in shell properties dialog

Environment
Windows Build Number: 10.0.18362.207

This issue relates to the built-in conhost.
Tested on a single monitor system at 200% DPI.

Description
The font preview shown on the Fonts tab or Colours tab doesn't use the correct DPI scaling when accessed via a shortcut's property dialog. However, the same font preview shown on a console window's property dialog does use the correct scaling.

Steps to reproduce

Set the system DPI scaling to be higher than 100% (I use 200%). Sign in and out if changing.
Find or create a shortcut to a console app (e.g. Command Prompt).
Open the shortcut's property dialog and go to the Fonts tab or Colours tab.
See that the font preview is not correctly scaled for the DPI.
Run the console app and open the console window's property dialog.
Go to the Fonts tab or Colours tab, and see that the font preview is correctly scaled for the DPI.

For comparison, both dialogs appear correct at 100% DPI.

This is probably a quick fix, we just haven't had the time to look at it. To whomever does look at it: taking console.dll from the build system and replacing the one in %WINDIR%\system32 will work for testing plus or minus a reboot.


Add -no-examples flag to init

Per the spec (#277) and as a follow-up to #462, add a -no-examples flag to dep init that disables injecting commented examples/docs into the created Gopkg.toml.

Happy to pick this up!

Just pulled in the master branch, getting an issue with "github.com/Masterminds/semver" in constraints.go:
type semverConstraint struct {
	c semver.Constraint
}

semver.Constraint is not found, looking at that package, it's a private struct?

@EwanValentine

Happy to pick this up!

awesome! 🎉

semver.Constraint is not found, looking at that package, it's a private struct?

seems like your vendor isn't populated, for some reason - that arises with semver 1.x/master branch, but dep's Gopkg.toml constrains it to the 2.x branch.

@sdboyer I'm using the constraint "2.x" in the Gopkg.toml, but the lock's showing "v1.2.3". Does dep ensure honour what's in the Gopkg.toml?

@EwanValentine it does, as long as it also appears in the import set. Which...very interestingly...it appears we've recently eliminated, so the constraint is no longer being applied. This is not an uncommon case, but not warning about it makes for a big gotcha; we have #302 opened to address it.

So...to that end, I'm gonna push a quick change to dep's Gopkg.toml :smile:

Ahaaa gotcha! Cool, I'll take another look shortly :)

OK, master is updated. You shouldn't need to run a dep ensure -update for this PR (if you do, there'll be other problems, but they'll be less problem-y than before 😄 )

Awesome, thank you! That seems to have fixed that issue. I'm getting another issue with the internal package now:
context.go:14:2: use of internal package not allowed
cmd/dep/ensure.go:19:2: use of internal package not allowed

This is strange things - all of this is code that compiles now.
Oh, wait - are you working on a fork in github.com/EwanValentine/dep, rather than the canonical location of github.com/golang/dep? That'd cause this.

@sdboyer Spot on! Fixed it now, I'm just working in github.com/golang/dep but setting the origin to ewanvalentine/dep. Thanks again for your help!


There also needs to be a back to lobby button so the players can get to the lobby quicker.

duplicate


nixpkgs docs: Use SVGs for callouts

Replace the gif callout images with SVGs for higher quality rendering. Also works in the epub.
Note the now/before also shows some style / color changes to the text. These are NOT being changed, the docs build with one style and are changed when they deploy to nixos.org.
I'll backport this too.
Now:

Before:

Blocked, on deploy it'll look like this because nixos.org replaces the style:

Unblocked.


lib.d.ts Updates for TypeScript 4.6

Including

https://github.com/microsoft/TSJS-lib-generator/
Outstanding lib.d.ts PRs to TS

I'm suggesting Array.prototype.groupBy for 4.6 since it entered stage 3.


Entity classes not generated

I have created a simple android project with an empty Activity and a simple Person model. I am having problem generating the Entity class for my model. In build.gradle I have added the following dependencies:
compile 'io.requery:requery:1.1.0'
compile 'io.requery:requery-android:1.1.0'
annotationProcessor 'io.requery:requery-processor:1.1.0'

I have this at the top of the gradle build file for app module:
apply plugin: 'com.neenbedankt.android-apt'

In the project build gradle I have this:
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'

This is my model:
package test.requery.model;

import android.os.Parcelable;

import io.requery.Entity;
import io.requery.Generated;
import io.requery.Key;
import io.requery.Persistable;

@Entity
public interface Person extends Persistable, Parcelable {

    @Key
    @Generated
    int getId();

    String getName();
    int getAge();
}

In Android Studio 2.2.3 the PersonEntity class is not generated. When building from the command line with "./gradlew build" I get no errors.
If I change the build gradle script for my app module to:
apt 'io.requery:requery-processor:1.1.0'

It works, and the PersonEntity class is generated. However, this causes problems when adding the library "ButterKnife" to the project, which also uses annotation processing with "annotationProcessor". The view bindings in ButterKnife are not working when using apt with requery.
It is my understanding that I'm supposed to use annotationProcessor and not apt as this is done in the requery android example.
Do you have any ideas how I can get annotationProcessor to work with requery?

It seems it was a mistake on my part. I removed the apply plugin: 'com.neenbedankt.android-apt' and classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' and now it works.
I didn't realize I should remove that when using annotationProcessor.


Update google oauth and azure UI to work with vue UI

Google oauth and Azure AD auth flows need to be modified to allow both UIs to specify the same return route -- /verify-auth and /verify-auth-azure -- while configuring these providers. The state query param, currently used as a nonce, should be converted to a base64 encoded json object that tracks which UI the request originated from; the API will need to read this query param and redirect to /verify for the Ember ui and /dashboard/auth/verify for the Vue UI. Changes needed in Ember:

Move & combine existing /verify-auth and /verify-auth-azure routes into /verify

(note: /verify already exists but is for a SaaS flow that never got used and can be dropped)

On login send: state=urlencode(base64(stringify({ to: "ember", provider: "azure" })))
add nonce support to Azure while you're add it

related dashboard issues: https://github.com/rancher/dashboard/issues/2116 https://github.com/rancher/dashboard/issues/2340

On master-head - commit id: 5d2b7ac
Able to enabled Azure AD Auth


Not getting OPCUA info while running cpp examples

Hello Team,
I successfully ran quick_start example. But when I run the quick_start_full.exe I'm not getting OPCUA deivces info

While executing the quick_start_full.exe I've noticed some warnings  ( file attached )
WarningLog.txt

Version I used:
Open daq  version :
opendaq-3.3.0-win64_f1631c8.exe
Simulator version :
opendaq-3.3.0_device_simulator_f057af0.ova
I tried in Opendaq version of
opendaq-3.0.0-win64.exe
Simulator of version :
opendaq-3.0.0_device_simulator.ova
in this case also I'm not able to get any opcua device information
One more thing I need to add.
when I used opendaq-2.0.0-win64 and opendaq-2.0.0_device_simulator last time, I was able to get opcua  device info  like
Device Name : Device 1
string getconnection : daq.opcua://<IP_ADDRESS>.7420

can you please assist in this. any help would be really appreciated
Thank you.

Hello @irkahcp,
The changes you are seeing are a result of a change in the openDAQ device discovery system. A device might have multiple servers running - in particular the simulator starts up the Native and OPC UA servers. In discovery, a device with multiple servers will now appear only once, having its server information grouped within the device info list of "Server Capabilities".
We are working on providing more detailed documentation on these topics, but the recent iteration of the Quick Start guide also highlights this change and explains the behaviour.
Hope this answers your questions!

Thanks for your help. now I'm able to connect desired server.


Added interregional electricity flows

Interregional electricity flows are required to upload CS7 results (Danish electricity imports from and exports to neighbour countries). As far as I understand, the current Import|Electricity and Export|Electricity do not allow specifying two regions.

Tests reminded me that this variable was already added by #280, see here


MAX native ad

Feature Description
MAX native ad needed

Duplicate: https://github.com/AppLovin/AppLovin-MAX-Flutter/issues/26
Please describe how you imagine the native ad API to look like and we can consider it.


Is there a way to specify an alternative user for ssh via flag?

Atm it see there is a way to do it via config, but that isn't portable if multiple users are sharing the same sake file but different ssh user.

I'll add a flag similar to the identity file. In the meantime, you can set the user in your local ssh config (~/.ssh/config), for instance:
Host <host>
    User <user>
```


UI should make it clear if the DA does not support breakpoint conditions or logpoints

The UI allows us to click-set a breakpoint and then do "Edit Breakpoint" and set Expression, Hit Count or Log Message at any point before or during a debug session. However, not all debug adapters support these features. As soon as the debug adapter runs and supportsXXX capabilities are received on initialization, it should be clear if these will actually be supported.
Before the debug session starts, I can hover over the breakpoint and see its details.

Once debug session starts, breakpoint gets an exclamation point in the middle of it. At first, I thought that meant that the breakpoint was special - i.e. had conditions, but now I am realizing that it means the breakpoint has a problem. If I stop on entry and hover over the breakpoint or if I hover over it while the program is running, I do see "Breakpoints of this type are not supported by the debugger". I can no longer see all of the conditions on hover that I could see before the session started. The error message does not make it clear which of the features are not supported. That would be quite helpful as the debuggers might support different subsets.

If the debug session hits the breakpoint, then none of the hovers are available anymore for any breakpoint,  hit or not. At first I thought this was the only available behavior (see first version of this bug), not realizing that I could get more info if hovering in other conditions. It would be great if the same available information was displayed no matter when you hover over a breakpoint.

It would also be great if the unsupported options could be disabled in the UI as unavailable while the debug adapter is running.

What you are saying makes sense, however before a user starts debugging there is no debug adapter so we can not disalow setting log points function breakpoint etc even if they will not be supported - we do not know.
Yes we could disable some functionality while the debug adapter is running. For that I have decided to leave this issue open and assing to the backlog so we potentially tackle this in the future.

To clarify my original request: I am not asking for any modification before the DA runs. I understand that it is impossible and tried to make that clear in the first paragraph of my original post.
I do think that it is important to make this clear after the DA runs. Disabling functionality for new breakpoints is the the last suggestion I made and would be a cherry on top. Please do take a look at my thoughts in the middle of my original report. Depending on where you are in the program, you might or might not get a hover error message "Breakpoints of this type are not supported by the debugger", but even when you do (not always), it doesn't list any of the details. Is it the hit count that is not supported? The expression? Both? There is no way to tell.

Agree. We should improve this.

I can no longer see all of the conditions on hover that I could see before the session started... If the debug session hits the breakpoint, then none of the hovers are available anymore for any breakpoint, hit or not.

I will fix this this

It would also be great if the unsupported options could be disabled in the UI as unavailable while the debug adapter is running.

I don't want to do this, since the fact that one debug type is running does not mean that the user doesn't want other debuggers to be run as well.


fix some colors on metacity

titlebar is now darker to match the unity theme.
before (a2f9239), after (6c4fba6):

Looks good, but I would like to add the following :

Return of the rounded corners.
Test this with other apps.
Have one commit (will need squashing).

There weren't rounded corners before the change.
I tried to add the rounded corners (frame_geometry tag, rounded_top_left/right="2"), but when onfocused, there's a white jagged edge on the corner's outside edge.  I'll try some more when I have time.


⚠ Bofrost.lu has degraded performance

In 02c2bbc, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2550 ms

Resolved: Bofrost.lu performance has improved in 21df14e after 22 minutes.


RMT error, status 0x04000000 (IDFGH-1813)

Hello,
I've implemented a code which is able to decode RC5 protocole. It's working but sometimes, I've the following error.
E (468926) rmt: RMT[0] ERR
E (468926) rmt: status: 0x04000000
Can you please help me to know what it means ?
Thank you and best regards.
Vincent

@vgonet Thanks for reporting, will close this due to the issue template has been ignored. We suggest you could post your questions on our forum at https://esp32.com. Thanks.

@vgonet Will close this ticket due to short of feedback, feel free to reopen if you could help provide more details. Thanks.


Minor updates for Drupal Varnish tutorial

Checklist

[x] Affected Issues have been mentioned in the Closing issues section
[x] Documentation has been written/updated.
[x] Changelog entry has been written

Explain the details for making this change. What existing problem does the pull request solve?
Changelog Entry

Documentation - Fixed minor issues with the Varnish documentation
Closing issues
none - Documentation change

Hi @Leksat - Thanks for the Pull Request!
I shortly updated the PR request and added a Changelog entry.


SIL: Don't skip lowering obsolete decls

Cherry pick of https://github.com/apple/swift/pull/66353

@swift-ci please test


Choose Toolbar items in Area Chart

I dont want to show all toolbar items/icons. Is there away to get rid of some of them?
This removes everything:
Toolbar = new Toolbar
{
Show = false
},
But i want to keep some and remove some. Is there a way to do this?
If this doesn't work, how do i zoom out from my area chart if i have Toolbar.Show set to false?

Hello,
I added a sample here https://apexcharts.github.io/Blazor-ApexCharts/features/toolbar#hide icons
Documentation https://apexcharts.com/docs/options/chart/toolbar/

Thank you! Appreciate the fast support!


outline through quotes

im getting these outlines thru a block quote area. ..
with outline off...

with outline on...

... is there a way or fix to  have that outline surround the whole quote rather than each line individually?

furthermore i could see these internal quote line being useful if they were outline a nested level 2 or 3 quote.
if that not too much. wish i know how to code this stuff myself 😆
ive been trying a little bit but keep breaking the css

completly off topic... about learning style\skinning coding...
if you listen to music with musicbee. i made this  .xml skin for it. it took me 3+ weeks to figure out the xml. came out alright in the end. 😄

Thanks again for the feedback. In reading mode, no dotted lines. I had to use them in live preview and source mode because the way code is structured, they have the same class name, so it is not so easy to manipulate the elements using CSS only (without JavaScript). But I will see what I can do.
Congrats on the skin you made. Looks really good, in my opinion. Well done! Thanks for sharing 👍
Stay tuned because I will try to improve the appearance of blockquote. Update should be released later today or tomorrow.
All the best

Please check theme version 20.0.0. Let me know if it is working well for you.
I added the blockquote border and also added a blockquote indent indicator (live preview, source and reading modes).

If it is working well you can close this issue.
All the best

understood why the lines were there. im almost always in editing mode 98% of the time so it would have taken me a while to notice that.
and great idea on the block quote leveling, i wouldn't of thought of that. and it  looks great.
i do have 1 or 2 more requests ill put them in a new thread.
thanks again you rock!

Sure. If you have other suggestions just open another issue.
Take care, my friend


Setting http headers in plupload options?

Is it possible to set the headers option for the plupload? Otherwise i see no possibility to set authentication headers...

just use plMultiParamsModel attribute for achieve that (is an object)

pl-multi-params can be used for parameters.
OR
The pl-instance attribute on the element populates the plupload object in the scope. That plupload instance can be used to set the headers or anything.

thx, i oversaw it... (also here: https://github.com/sahusoftcom/plupload-angular-directive/blob/master/src/js/plupload-angular-directive.js#L105)


Remove package doc from stream.go

If it's specified repeatedly, it'll appear repeatedly in e.g. godoc.org/github.com/rakyll/portmidi.
Remove the copy in stream.go to let portmidi.go be canonical.

Thanks!!!


SRS SWHS With PCM and Without PCM New Section

Can you please add the new sections to the SRS for SWHS.  The latest version can be found at https://github.com/smiths/swhs.  The new sections are "Characteristics of Intended Reader"  and "System Scope."  The text of the introduction sections has been modified to reflect the presence of these new sections.
I tried to add the sections myself, but after several minutes of looking I could not find which files I should edit.
This change applies to both the PCM example and the no-PCM example.  I believe that @njericha is working on the PCM example and @AKM11 is working on the no-PCM example.  If this is incorrect, please let me know.
Modifications were also made to R2, R5 and R6.  I'm not sure these are currently in the Drasil examples, so this might not be relevant at the moment.

It's actually @danscime and @AKM11 working on these, so I've asigned them.

Thank you Dan.

@danscime and I found and added "Characteristics of Intended Reader" to the Body file but we were not sure where to find "System Scope" on the pdf.  Suggestions?

The System Context (I inadvertently said scope) is given in Section 3.1 of the original document.

Updated SWHS as of 9ef18b5

PCM was also updated last week.


Detailed steps for installing swix on a new project

Please give a detailed and working steps for installing swix on a new project.
I tried several times to follow the given steps.
First I found that OpenCV must be added as Framework in order to compile the project.
In this way the project compiles but the functions cannot be called in any swift file, how to make swix to work?
Many thanks

I do include some instructions on Installation. Theres no section on integrating with an existing project but I believe following step 4 under creating a new project that uses swix can link to the proper frameworks/etc.
I believe this is related to issue #23, reformatting for use with the Swift package manager -- I believe these compiler-linking parameters are specified in some text file. I'm not currently actively developing this (I'll probably fix #23 over the summer), so please feel free to ask further questions/post screenshots/etc. I'll do my best to answer.

Maybe I wasn't clear your instructions does not work.
The tutorial that you give is perfect I can tests everything in it. But I cannot create a new project because the library commands do not work.
I followed ALL the steps and the project does not compile.
You might miss some steps in your instructions. Such as adding OpenCV framework (only one I figured out) and maybe something else.
Adding OpenCV framework I can compile but I cannot call your functions

why my swix folder has a different color respect to the tutorial? Something is missing?

Hm, this sounds like the swix files aren't included in the project -- Xcode doesn't know where to look to find these functions. I'm pretty sure this issue is caused by the process of adding source files to an Xcode project. I normally follow this process: http://stackoverflow.com/a/15195403

I was all Xcode fault! I made a cache cleaning of the system and Xcode folders.
I manage to include your stuff in my custom project! Thanks for the support!!

I'll add a tip to the installation guide to clean the cache. Thanks for testing and using!

To be clear, you selected Product > Clean? That fixed your issue?

Nope. I deleted the 'Derived Data' folder of Xcode in the Library of my user.
Moreover I'd add the following pic to your instructions while you say to include the folder 'swix'.

Many thanks again for your support and your amazing work.
Please keep it up I'd like to see how is it going to develop.
Just to ask a thing, any change to have multi-dimensional arrays in the near future?

Thanks, I'll revise the swix docs with that picture.
Only 1D and 2D arrays (aka vectors and matrices) are currently supported. This is all I saw the need to develop. The code for 1/2D arrays is pretty stable and I don't plan on changing it anytime soon.
On Mar 19, 2016, 5:56 PM -0600<EMAIL_ADDRESS>wrote:

Nope. I deleted the 'Derived Data' folder of Xcode in the Library of my user.
Moreover I'd add the following pic to your instructions while you say to include the folder 'swix'.
Many thanks again for your support and your amazing work.
Please keep it up I'd like to see how is it going to develop.
Just to ask a thing, any change to have multi-dimensional arrays in the near future?
—
You are receiving this because you modified the open/close state.
Reply to this email directly orview it on GitHub(https://github.com/stsievert/swix/issues/24#issuecomment-198810583)

So if you had added swix while checking the "copy items if needed" the issue would have been avoided?

You must have "copy items if needed and "create groups".
In my case, if I don't do this at the first time I had to clean the "DerivedData" Xcode folder in my Library.
That is the main important step for the installation.

Thanks for the clarification.
On Mar 20, 2016, 2:09 AM -0600<EMAIL_ADDRESS>wrote:

You must have "copy items if needed and "create groups".
In my case, if I don't do this at the first time I had to clean the "DerivedData" Xcode folder in my Library.
That is the main important step for the installation.
—
You are receiving this because you modified the open/close state.
Reply to this email directly orview it on GitHub(https://github.com/stsievert/swix/issues/24#issuecomment-198870129)


Make the enum element comparison strict

The current check is matching numeric strings that are not equal ( like "604.1" == "604.10" because of PHP's == behavior that converts numeric strings to numbers and then performs a numeric comparison), even if type is checked before the comparison, the value should be identic

@loucho have you reviewed the failing unit test in the build for this PR?

Oh, hadn't thought of that, i just checked it, seems my change fails when comparing an object (I assume that this is because objects are not === unless they are a reference to the same object in memory or something).
Maybe add a check for objects before making the comparison? what do you think?

@loucho sorry for the late response. Would you please rebase for a clean build?

Rebased and made the change, waiting on the CI tests

@loucho solid improvement. I am inclined to suggest wrapping the returns in curlies for consistency sake, and a good rebase would distill this PR down to a single new commit, but it's all good.
+1
I will merge this with another :+1: from the community.
Would you mind helping review some other PRs for their community :+1:? I am sure they will return the favor :smile:
#105 needs review.

This is a bug fix so +1 !

Thanks for the review @onlinesid! Let's call this 1.4.1.

Sure, will do


add path that gets the truth gps yield value

Pull Request
Description
add path that gets the truth gps yield value
Fixes #77
How Has This Been Tested?
added a unittest

[ ] Yes

If your changes affect data processing, have you plotted any changes? i.e. have you done a quick sanity check?

[ ] Yes

Checklist:

[ ] My code follows OCF's coding style guidelines
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked my code and corrected any misspellings

Codecov Report

Merging #81 (4a8bc02) into main (02fef9d) will increase coverage by 0.29%.
The diff coverage is 100.00%.

:exclamation: Current head 4a8bc02 differs from pull request most recent head 4ce74d5. Consider uploading reports for the commit 4ce74d5 to get more accurate results

@@            Coverage Diff             @@
##             main      #81      +/-   ##
==========================================
+ Coverage   97.89%   98.19%   +0.29%
==========================================
  Files           9        9
  Lines         190      221      +31
==========================================
+ Hits          186      217      +31
  Misses          4        4

Impacted Files
Coverage Δ

src/database.py
91.17% <100.00%> (+2.28%)
:arrow_up:

src/gsp.py
100.00% <100.00%> (ø)

src/tests/test_gsp.py
100.00% <100.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


⚠ Bofrost.es has degraded performance

In 50ce414, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 3393 ms

Resolved: Bofrost.es performance has improved in 2da392f.


AUR Package

I'm the maintainer of hypr-git in the AUR and saw the note in the README about being out of date (as well as receiving a few emails). With -git packages in the AUR, it is expected that the latest revision be pulled when the package is built, which is how it is currently setup. The revision on the aur page does not change, but the latest code is always pulled. See here for more details.

@MoonKnight76 reported in #41 that it's broken. Cloning the repo works, the package doesn't.
I can see that the version is updated when doing a yay -S okay, false alarm.
Issue #41 persists still then, reopening that.


Default photo for when no image available

If the API doesn't return a favimg for a cart, the Slack formatting in a list of carts looks ragged. Need a default icon of some sort, as well as a sane place to store it (S3? Default Slack img/emoji?).

Fixed with bae166d