Remote Write Config issue

Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(Prometheus.spec.remoteWrite[0].basicAuth.username): invalid type for com.coreos.monitoring.v1.Prometheus.spec.remoteWrite.basicAuth.username: got "string", expected "map"
The remote_write spec configuration for Prometheus.
## ref: https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/api.md#remotewritespec
remoteWrite:
- url: https://prometheus-us-central1.grafana.net/api/prom/push
  basicAuth:
    username: "Grafana Cloud Username"
    password: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" (base64 encoded)

For now I was able to make it work using the following:
remoteWrite:
- url: https://prometheus-us-central1.grafana.net/api/prom/push
basicAuth:
username:
key: username
name: grafana-cloud
password:
key: password
name: grafana-cloud
apiVersion: v1
kind: Secret
metadata:
name: grafana-cloud
type: kubernetes.io/basic-auth
stringData:
username:
password:

Where did you put the config?


How can I modify the error source address

[Enter feedback here]
How can I modify the error source address in source ?
I did not find where the error source address have been set.
I would like to try other error addresses in source code and then run exe file.
If there any recommend ways?
Thanks

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

ID: 61c73017-14ce-7ec9-208f-95a162a64ba1
Version Independent ID: bbb12c01-2f4d-1285-ecbc-7b7ab4ad6f73
Content: Injecting a Hardware Error - Windows drivers
Content Source: windows-driver-docs-pr/whea/injecting-a-hardware-error.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @tedhudek
Microsoft Alias: tedhudek

Hi @ginginlay, thanks for the feedback.  Your feedback references https://docs.microsoft.com/en-us/windows-hardware/drivers/whea/injecting-a-hardware-error, but I do not see a reference to source address on that page.  Can you clarify your question?
You may have success posting your question in the following forums, where other driver developers and Microsoft engineers can be found. The community there is quite responsive.

Windows Hardware WDK and Driver Development
OSR's ntdev List

Closing out due to inactivity, please feel free to reactivate if still needed


Fails if phantomjs is not installed globally

I have this in my config, as specified in the docs:
config :wallabe, phantomjs: "./assets/node_modules/.bin/phantomjs"

However, the app still fails until I globally install phantomjs as well (npm install phantomjs -g)
Looking at the internal code, it seems that my custom path is still used, but the Wallabe.Phantom crashes if a global one does not exist, regardless of the configuration
Is this intended for some reason, or an oversight?
Changing this behaviour in Wallabe.Phantom.validate() seems to fix the issue, and my tests still work with only a local installation and not a global one, so I'd guess this is an oversight
(I'll probably open a pull request soon with a fix for this)

One other thing that you might need to do is change your spelling of wallaby from wallabe. Not sure if thats your issue though :smile:

@keathley I picked that up later on :smile:
but no, my issue was still valid regardless of the typo


Mm 38591 allow disabling status update

Summary
This pull request will introduce a per-playbook configuration that allows disabling the status update functionality for subsequent runs created using that playbook.

Added Enable status updates toggle to playbook edit form. When disabled, Default update timer and Status updates configurations for a playbook are disabled. Additionally, the When an update is posted actions are disabled altogether:

https://user-images.githubusercontent.com/4368372/143412197-6d4b47e9-225a-435e-a06b-fbf9bc41ae9a.mp4

Removed status update section on Playbook preview form, when status updates are disabled

https://user-images.githubusercontent.com/4368372/143412407-ffe75c26-d30f-4068-9334-2264874e2342.mp4

Removed RHS post update section, when status updates are disabled

https://user-images.githubusercontent.com/4368372/143412588-c24c9731-6448-409f-b63b-c9981d861167.mp4

Added special message to Playbook details form, when status updates are disabled

https://user-images.githubusercontent.com/4368372/143412712-61bec00c-633d-4061-8cb5-078beb96e377.mp4
Ticket Link
https://mattermost.atlassian.net/browse/MM-38591
Checklist

- [ ] Telemetry updated
- [ ] Gated by experimental feature flag

[ ] Unit tests updated

Hello @gbochora,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

@gbochora Oh, there's a conflict with the e2e files on master, just fyi.

Thanks again, @gbochora! I'll merge as soon as CI passes :)

@cpoile @agarciamontoro  Thanks for the feedback : )


MD files missing after installation to VS Code, Cody version v1.38.3

Version
v1.38.3
Describe the bug

Installed Cody extension
Clicked on "Getting started Guide"
All sections listed in guide are missing markdown docs.

Expected behavior
I would expect MD files to be present so it's possible to go through a guide.
Additional context
No response

Hey @freetrade7
Please update to the latest Cody version. Does this error still persists?
Thank you


Refactoring: split tests-api and suite-builder

split tests-api and suite-builder
simplify tests for suite-builder
few new tests for tests-api

Coverage increased (+0.05%) to 75.654% when pulling 8bca3cbb78cbd4e6201198598b87b775a7b48499 on refactoring/tests-api into f19b8c759600865022ad288ea8da6513873886fa on master.

@SwinX @sipayRT @eGavr JFYI


How to configure wifi to use a static IP address on Amazon Freertos for esp32

Hello, I checked the amazon freertos wifi library and I can't find anything on configuring the softAP with a static IP address, I don't want to modify the iot_wifi.c file in the ports folder for the esp32 to achieve this because I know I can achieve that using the esp_netif_set_ip_info(esp_softap_netif_info, &ipInfo) function in the iot_wifi.c file where ipinfo will contain the static IP address . Is there a way to achieve this in the aws_iot_network_manager.c file in the "demos/network manager" folder instead so that the demos are configured with a static IP address? Thanks.

Unfortunately, I don't think it's possible because iot_wifi.h does not have a function to set a static IP. It will be a lot of work to implement this as well because all board ports will need to be updated to support this functionality. Since you need this for esp32 only, is it enough for you to just modify iot_wifi.c with esp_netif_set_ip_info?


development for Hololens

I would like to know how unity project with map can be deployed on hololens using visual studio. How to view the project in hololens through unity?Is it compulaory to install windows insider ?

If you are using the sample project, it does require installing the insider SDK as explained in the docs. This is due to the inclusion of MRTK in the sample project. This new version of MRTK integrates with the HoloLens 2 related APIs from the newest version of Windows and thus requires the insider SDK to build.
If you are not using the sample project, i.e. you have just imported the Core package from the Releases page, then you don't need to worry about installing the preview version of the SDK. Just make sure your project is setup to target UWP and "Virtual Reality Supported" is enabled in the player settings.


Loki meta smith/adding pic team page

What kind of change does this PR introduce?
Adds my picture and bio info to the our team page

Does this PR introduce a breaking change?
Nope

What needs to be documented once your changes are merged?

Adding my picture to the team page.


Update Ghost 1.x to Ghost 2.x (unbreaks Heroku deployment)

Thanks for creating the original repo, it's been a great help in my project so I'd like to contribute this PR back. It should work to give a Heroku deployment that runs Ghost 2.x without encountering show stopping NodeJS errors mentioned in issue #1 (which I also experienced).
Please let me know what amendments I can make to get this merged, if any :)

Closed this because I am going to be making changes to master from that fork. I've created a new branch and a new PR from that branch which won't have my customizations.


[openCypher tck case]Comparability between numbers and strings

neo4j test:
neo4j@neo4j> return '1'>1;
+-------+
| '1'>1 |
+-------+
| NULL  |
+-------+

1 row available after 12 ms, consumed after another 0 ms
neo4j@neo4j> return '1'<1;
+-------+
| '1'<1 |
+-------+
| NULL  |
+-------+

1 row available after 25 ms, consumed after another 0 ms
neo4j@neo4j> return '1'=1;
+-------+
| '1'=1 |
+-------+
| FALSE |
+-------+

nebula test:

(czp@nebula) [nba]> yield '1'>1
+-------+
| (1>1) |
+-------+
| true  |
+-------+
Got 1 rows (time spent 23341/30454 us)

Wed, 20 Jan 2021 11:11:16 CST

(czp@nebula) [nba]> yield '1'<1
+-------+
| (1<1) |
+-------+
| false |
+-------+
Got 1 rows (time spent 19573/26201 us)

Wed, 20 Jan 2021 11:11:33 CST

(czp@nebula) [nba]> yield '1'==1
+--------+
| (1==1) |
+--------+
| false  |
+--------+

Fixed in https://github.com/vesoft-inc/nebula-common/pull/401


do we need strings

stop doing strings
strings have no place in music
eons of composing history and no real use for strings
you can represent anything if you have enough floats
ooo setting a Net32 from a string would be so epico!

come with me! i need you in #65

no, we can misuse the op if needed


Scrolling controls API renames according to offical API review

These are API renames that resulted from the API committee's review of the ScrollView control (https://github.com/microsoft/microsoft-ui-xaml-specs/pull/56). Just a bunch of find-and-replace operations with no functional changes.
I'm not going to list all the renames - the summaries are basically present in the 3 .idl files.
(I have another PR coming next, specifically for the addition of a CurrentAnchor property to align with the old ScrollViewer.)

/azp run

/azp run

@RBrid Looks like there are a few test failures.

/azp run


[Example 14] Fix return type of lambda

As commented with #334, there was an missing return type of the lambda function.

@mergifyio backport humble


Websocket connection error

Expected Behavior
Able to connect to websocket port 3002
Actual Behavior
Errors display in browser console, web app cannot connect to Message Broker
WebSocket connection to 'wss://DOMAIN_NAME:3002/ws' failed: Error in connection establishment: net::ERR_SSL_PROTOCOL_ERROR
Steps to Reproduce
Run the webapp and observe the console log
Hi,
I am setting up the web app on AWS, it is running fine except that it cannot connect to the message broker. Could you please help to point out where I did wrong?
THanks

@tuananh2311 It looks like the server is trying to use SSL but it is either not configured, or configured improperly. Does the website use HTTPS? Did you correctly configure the certificate if so?

@tuananh2311 It looks like the server is trying to use SSL but it is either not configured, or configured improperly. Does the website use HTTPS? Did you correctly configure the certificate if so?

I got a free cert from Let's Encrypt following this tutorial. Is there some additional config I need to do for websocket?
https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-18-04

My nginx config
server {
    listen 80;
    listen [::]:80;

    root /home/ubuntu;
    index index.html index.htm index.nginx-debian.html;
    server_name app.rasatechvn.com;

    location / {
        rewrite ^ https://$host$request_uri? permanent;
    }
}

server {
    listen [::]:443 ssl;
    listen 443      ssl;
    server_name     app.rasatechvn.com;
    ssl             on;

    ssl_certificate /etc/letsencrypt/live/app.rasatechvn.com/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/app.rasatechvn.com/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

    location /  {
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_redirect    off;
        proxy_pass        http://app.rasatechvn.com:3000;
    }
}

@tuananh2311 Our production servers use Heroku and CloudAMQP, which has a very different SSL configuration than your server.
My guess is that RabbitMQ needs to be configured to handle SSL. To do that, you will need to modify RmqConfigWriter::TEMPLATE found here. I would guess that RabbitMQ requires some sort of config change to be reverse proxied or use SSL.
I don't have time to help with NGinx-based setups right now, unfortunately. I am happy to answer any questions you have about the app or how we use docker-compose. If you find a solution, I would be willing to add it to our documentation to help users in a similar situation. I would also be willing to merge changes to RmqConfigWriter::TEMPLATE if you find it is necessary for NGinx-based setups. Please let me know.

I just found this in the RabbitMQ documentation. It may be of use to you in this situation.

Thanks Rick, will give it a try.

This issue has not had activity in the last 5 days. I am going to close the issue since this is out of scope for typical support requests. Members of the community are free to continue the discussion, however.


Implementing ASP.Net Identity

Hi everyone!
Is it possible to implement ASP.Net Identity? And would I still be able to use Serene tree-like permissions (and roles) management? What about the database schema? Any major modifications to be aware of? If you've already integrated Identity please share the best practices to follow.

It's something I've tried and have had some issues with. The problem I've seen is how to implement Serenity interfaces which expect return types like Boolean when all of the ASP.NET Identity classes and interfaces return Tasks, as everything is async/await. I would love to help out more with this.

Thanks for your reply @jsbUSMC. Implementing ASP.Net Identity would be a nice feature to have, especially for a public facing web site where security is a serious concern.

I agree. But I think that some of the interfaces will have to be rewritten. I wouldn't have a problem with this, except if I update Serenity code myself it will get overwritten by an update. I think perhaps we could integrate Serenity interfaces ourselves as separate namespaces and users can change how they auth depending on which solution they would like.

Another thing is that the storage provider will have to be rewritten to use Dapper instead of Entity Framework. The default implementation of Identity uses EF as the db provider. We should probably rewrite that since we use Dapper/Serenity and that might be a little bit above my head.

Regarding the Dapper thing, I  think that the two providers can co-exist in the same application. He're the [answer] (http://stackoverflow.com/a/29868481/6148378) of Mark Graver, a Stackoverflow developer and the primary author and maintainer of Dapper, to a similar question.

Well that's awesome. In this case, we really only would have to have Serenity interfaces be able to work with Identity. For example, the IAuthorizationService.cs interface:
public interface IAuthorizationService
{
    bool IsLoggedIn { get; }
    string Username { get; }
}

expects us to imlement an IsLoggedIn() method that returns a bool. However, the classes written for Identity that check for a user being logged in is:
public async Task<string> GetVerifiedUserIdAsync()
{
    var result = await AuthenticationManager.AuthenticateAsync(
        DefaultAuthenticationTypes.TwoFactorCookie);

    if (result != null && result.Identity != null
        && !String.IsNullOrEmpty(result.Identity.GetUserId()))
    {
        return result.Identity.GetUserId();
    }
    return null;
}

We are getting the user id of the UserIdClaimType as return, which is a string Guid.

You can run an async method synchronously, with Task.Run

It seems that @BolatovAlau has already integrated ASP.Net Identity in Serenity. Here's the corresponding thread.

I saw that awhile back. I did what he did and it worked, though you log in using the default ASP.NET login screen, and not Serenity's. Also, the permissions system in Serenity is separated because the interfaces aren't implemented. If we can implement the interfaces and the static class for authorization, then Identity could basically be a drop in replacement for the default Serenity scheme.

Integrating any authentication system is possible. But why ASP.NET identity? What it brings to table, i wonder. ASP.NET membership was their prior solution and it was not well designed and slow. I don't know much about ASP.NET Identity, but some Microsoft teams has a tendency to make things more complex and bloated then they should actually be. For example, Node being forced to async because of Javascript, doesn't mean .NET has to be async by default. Why force people to use async, if %99.9 doesn't need it at all.

Well it's just that with ASP.Net identity, you get the feeling that you're using a solution that's supported by a tech giant and designed by people who are supposed to know what they are doing security wise. My understanding is, unless you're 100% confident the implementation is robust (in terms of cryptography, choice of the password hashing function, salt length, sessions management, email verification, password reinitialization, ....), you shouldn't be using you're own authentication system. You'd be a little be more covered when things go south ("We're using the standard Microsoft implementation. It's not our fault the system got hacked" ;) )

Serenity uses standard ASP.NET authentication mechanism, e.g. forms authentication. Has no custom security system baked in. Having your own user tables doesn't change this fact.

Thanks for clearing that out, volkan. I was too paranoid, I guess :).

@awesomegithubusername I understand where you're coming from about rolling your own auth framework. But as @volkanceylan pointed out, Serenity uses forms auth, which I found out awhile ago digging through the source. I think the best part of using the ASP.NET Identity 2.0 is the ease of plugging in your own claims and extending the mechanism. For example, adding OAuth 2.0, SMS/Email verification, two-factor authentication, or altering the behavior of the authentication like lockouts and such. @awesomegithubusername you're not being too paranoid, caution rewards itself when investigating the mechanisms behind the authentication/authorization framework you're using, and understanding its methods and possible shortcomings. @volkanceylan Identity 2.0 has superseded Forms Auth, ASP.NET Membership, and provides one authentication system that can be used across MVC, Web API, and SignalR. I think it's a solid implementation, though I also totally agree that Identity forcing us to use async is a pain.

Ok, oAuth and two factor seems fair enough

Hi @awesomegithubusername and @volkanceylan
I created this gist of sample interfaces that could be implemented within a possible Serenity.Abstractions.Identity namespace.  Let me know if you guys think this is a good start, and I will continue to work on an implementation of ASP.NET Identity and associated wiki article.

Does anyone have an example of this yet? It's tagged with add sample then closed... A year ago.

I am also interested in an implementation. When possible, we always try to control Application Permissions via AD Users/Groups, if for no other reason than ease of administration and integration into the daily work flow of our IT Staff. We are a global Automotive Supplier, with limited IT Staff. Our Admins know AD and not only that, we have other systems and processes such as our Help Desk Ticketing system that already has integration (shortcuts/links/categories/solutions/help files/videos) based on AD. So, adding any sort of Security/Membership/Authentication other than AD, just adds a (mild) headache that I like to avoid when possible. (There's also the "Single Sign On factor". Avoiding any additional passwords that the user has to remember is a plus. Along with systems/places/interfaces the IT Staff has to know about and be trained on, even for simple things like "unlocking" accounts.)
Anyway, I'm just now going through all the threads related to this topic and this is one of the older ones, perhaps there is a newer one with samples/best practices/etc (maybe even a "full implementation", one can only hope). LOL  But so far, this one contains the most/best discussion on this topic that I have encountered. That's why I am adding my comment here, even though it's closed. (We also have a "Commercial License" of Serenity (StartSharp) and if I don't find a solution in the forums in the next few days, this may be worth burning one of my 10 "support incidents" that we get with that license.) :)


[WIP] - Multicam Display Support

Restructured the PRs for multicam into different feature branches.  Renamed a branch and modified some stuff to make it a bit more clear what is happening.
Closes #1094.

I need to update the resizing of the windows based on the control size modification.  Currently it is using a number from a frame behind.  You can see this by collapsing/expanding the timeline area.  If you collapse it and resize the window slightly you'll see it resize properly.  The resize Observer is not calculating the proper height it is using the height before the timeline panel collapses down.

Through TrackStore development found another issue:
Reloading datasets after import broke the geoViewer references.  Not exactly sure but I think it's because it calls a re-initialization of the cameras on top of existing values.  It seems throwing a clearing function into the useMediaController where all of the base references are reset to their default values fixes this.  I would like to know a bit more about what is going on and how it fixes it.

List of changes since the merge:

Modified using symbols back to using strings.  This has to do with typescript support for strings vs symbols and that we should have to update to a later version of TS for the symbol support for Record<symbol, data>
When doing a reload on a page by either importing new annotation data or when a piplined had finished the system would reload properly but the annotations wouldn't show up.  I believe this had to do with creating a new 'symbol' with the exact same name as the one before.  The clear() function which resets the geoViewer references and symbols seemed to fix this issue when the reload happened.  The other option would be to prevent reloading of the layers when we reload all of the annotation data.  This may be a bit difficult because reloading the annotation data means that the camera information is reloaded again.

Maybe do the easy stuff and let's resolve the harder stuff later?

'default' reserved keyword is an issue, but not critical.
trackMap is taken care of in your next PR
Can think about doing a schema migration for representing single and multi-cam data in a consistent way after the other stuff works.

I've switch to 'singleCam' for the identifier for a singleCamera.  Right now it will conflict if there is a multiCam with the name of 'singleCam'.  It will be easier to resolve after I re-base my trackstore PR.  There all trackMaps are within a camMap meaning I can default to camera easier.
I think in the next PR I can also modify the Loading mechanism to remove the duplicate logic because the change to have camMap: Map<string,<Map<trackId, Track>>> be the holder of all tracks instead of this ridiculous thing I did temporarily here to get something to work.


Nulll checking for navigation property in Bind expression

Is there any way to add null-checking in config.Bind?
public class CommonClassSource
{
public int Id {get;set;}
}

public class CommonClassDestination
{
public int Id {get;set;}
}

public class SourceClass
{
public CommonClassSource CommonSource {get;set;}
}

public class DestinationClass
{
public CommonClassDestination CommonDestination {get;set;}
}

For example: here, check if source.CommonSource is null
TinyMapper.Bind<SourceClass, DestinationClass>(config => {
config.Bind(source => source.CommonSource.Id,
                  target => target.CommonDestination.Id));
});

Hey @yeasin90, no, there's no this ability. it's just a mapping between fields


Winnebago County, Illinois NEW SOURCE!

requires a token, so pulled in qgis and saved out as shapefile.
https://agis.wingis.org/arcgis/rest/services/PublicPropertySearch/MapServer/
https://drive.google.com/open?id=1-0t9LErx5fwbJfYQYRFEc3acqKx9JI5_

uploading in a sec!

https://drive.google.com/file/d/1yny7s1V_nVbM9nm4YTUucdeNuH24Yr2m/view?usp=sharing

@ingalls i gave you a geojson here instead of shapefile, that work, or you want a shape?  Thanks!!


URGENT: GoogleMyBusiness API: v4.9 removed completely, although documentation still supports some endpoints that haven't been replaced yet

See:
https://developers.google.com/my-business/reference/rest/v4/accounts.locations/reportInsights
Also:
https://developers.google.com/my-business/reference/rest/v4/accounts.locations.reviews
And a couple of other endpoints are missing.
This endpoint has not been replaced by the new v1 API so far, but it has been completely removed from the PHP code base.

Moved to: https://github.com/googleapis/google-api-php-client-services/issues/580


[FEATURE] Add close old issue bot

Description
Proposal: Close Old Issue Bot
Description: The Close Old Issue Bot is an automated tool designed to identify and close inactive or resolved issues in a timely manner. It improves issue management efficiency by reducing clutter and ensuring active focus on relevant tasks.
Features:

Issue Tracking: Monitors issue activity and identifies those that have remained inactive for a specified period.
Automatic Closure: Closes old or resolved issues based on predetermined criteria, promoting a clean and organized issue tracker.
Customizable Settings: Allows users to define their own criteria for determining issue activity and closure, adapting to the specific needs of their project.

Screenshots
No response
Additional information
you can tell me the no. of days so i can customize it according to you
usually people prefer 30 days that if issue is not touched from 30 days it will be close automatically

@subhashis2204 please assign this to me under gssoc'23


Flutter Image.network does not load Firebase Storage images when compiled for WASM

Demo: https://flutter-firebase-image-wasm.netlify.app

Steps to reproduce

Load an image URL from Firebase Storage. Example: https://firebasestorage.googleapis.com/v0/b/codeless-dev.appspot.com/o/Qv1csB2UnHh6W3B2Xwmp68RXD642%2Fuploads%2Fimages%2Fcf92e490_3800_11ee_a495_c7bf96d67d4d_image_hotel_app_collage_tilt_right_1200x.png?alt=media
Load image via Image.network().
Run flutter build web --wasm.
Upload built files to server.
Set server headers to support returning Wasm.

Cross-Origin-Embedder-Policy = "credentialless"
Cross-Origin-Opener-Policy = "same-origin"

Open website and see that the Firebase image doesn't load. Instead, an exception is thrown.

Expected Result
Images from Firebase Storage should load.
For Wasm Web builds, images loaded from other sources such as Cloudflare or Vercel load correctly. Only Firebase Storage images fail to load.
Can reproduce in Chrome, Edge, and Opera.
Minimal Reproducible Example
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    //

    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Center(
        child: SingleChildScrollView(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              Image.network(
                'https://firebasestorage.googleapis.com/v0/b/codeless-dev.appspot.com/o/Qv1csB2UnHh6W3B2Xwmp68RXD642%2Fuploads%2Fimages%2Fcf92e490_3800_11ee_a495_c7bf96d67d4d_image_hotel_app_collage_tilt_right_1200x.png?alt=media',
                height: 300,
                fit: BoxFit.fitHeight,
                errorBuilder: (context, error, stackTrace) {
                  return SelectableText('$error, StackTrace: $stackTrace');
                },
              ),
              Image.network(
                'https://assets.codelessly.com/images/demo/hotel_app_collage_tilt_right_1200x.png',
                height: 300,
                fit: BoxFit.fitHeight,
              ),
              const Text(
                'You have pushed the button this many times:',
              ),
              Text(
                '$_counter',
                style: Theme.of(context).textTheme.headlineMedium,
              ),
            ],
          ),
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

Actual results
Web Wasm builds fail to load Firebase Storage images.
Logs

Logs
ImageCodecException: Image file format (.png) is not supported by this browser's ImageDecoder API.
Image source: https://firebasestorage.googleapis.com/v0/b/codeless-dev.appspot.com/o/Qv1csB2UnHh6W3B2Xwmp68RXD642%2Fuploads%2Fimages%2Fcf92e490_3800_11ee_a495_c7bf96d67d4d_image_hotel_app_collage_tilt_right_1200x.png?alt=media, StackTrace:     at https://66b1a11bbef9a96df6ae49cc--teal-fudge-a8bfab.netlify.app/main.dart.wasm:wasm-function[9010]:0x170b83

Flutter Doctor output

Doctor output
[√] Flutter (Channel stable, 3.22.3, on Microsoft Windows [Version 10.0.22631.3880], locale en-US)
    • Flutter version 3.22.3 on channel stable at D:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b0850beeb2 (3 weeks ago), 2024-07-16 21:43:41 -0700
    • Engine revision 235db911ba
    • Dart version 3.4.4
    • DevTools version 2.34.3

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

[!] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at C:\Users\AppData\Local\Android\sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11609105)
    ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses

[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.5)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.7.34202.233
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2024.1)
    • 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.10+0--11609105)

[√] VS Code (version 1.92.0)
    • VS Code at C:\Users\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension can be installed from:
       https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (2 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.3880]
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 127.0.2651.86

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

Hi @rayliverified, this has been fixed on the latest beta & master channels. I tested with your code sample locally on stable, beta & master and only stable reproduced the issue.
Per our triage policy, I'll be closing this since it has been fixed on the beta/master channels. If you do experience this issue on either of these channels, kindly leave a comment below and I will reopen this.
Thank you

master & beta
stable

flutter doctor -v
[!] Flutter (Channel stable, 3.22.3, on macOS 14.5 23F79 darwin-arm64, locale en-GB)
    • Flutter version 3.22.3 on channel stable at /Users/nexus/dev/sdks/flutter
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutter. Consider adding /Users/nexus/dev/sdks/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutter. Consider adding /Users/nexus/dev/sdks/flutter/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b0850beeb2 (3 weeks ago), 2024-07-16 21:43:41 -0700
    • Engine revision 235db911ba
    • Dart version 3.4.4
    • DevTools version 2.34.3
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[!] Flutter (Channel beta, 3.24.0-0.2.pre, on macOS 14.5 23F79 darwin-arm64, locale en-GB)
    • Flutter version 3.24.0-0.2.pre on channel beta at /Users/nexus/dev/sdks/flutter_beta
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutter_beta. Consider adding /Users/nexus/dev/sdks/flutter_beta/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutter_beta. Consider adding /Users/nexus/dev/sdks/flutter_beta/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7c6b7e9ca4 (7 days ago), 2024-07-30 14:26:44 +0700
    • Engine revision 6e4deceb38
    • Dart version 3.5.0 (build 3.5.0-323.2.beta)
    • DevTools version 2.37.2
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Flutter (Channel master, 3.24.0-1.0.pre.462, on macOS 14.5 23F79 darwin-arm64, locale en-GB)
    • Flutter version 3.24.0-1.0.pre.462 on channel master at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fc465348b9 (5 hours ago), 2024-08-05 21:10:56 -0700
    • Engine revision 376a853846
    • Dart version 3.6.0 (build 3.6.0-116.0.dev)
    • DevTools version 2.38.0

Confirmed fixed with Flutter v3.24.0.
Thank you for validating and great timing on the stable release :)


[Proposal] Add main in a2c example. "vector_envs_tutorial.py"

Proposal
I test example of LunaLander by a2c in documentation at MAC and ubuntu.
https://gymnasium.farama.org/tutorials/gymnasium_basics/vector_envs_tutorial/#sphx-glr-tutorials-gymnasium-basics-vector-envs-tutorial-py
It goes well in ubuntu, but error pops up in MAC
    raise RuntimeError('''
RuntimeError:
        An attempt has been made to start a new process before the
        current process has finished its bootstrapping phase.

        This probably means that you are not using fork to start your
        child processes and you have forgotten to use the proper idiom
        in the main module:

            if __name__ == '__main__':
                freeze_support()
                ...

        The "freeze_support()" line can be omitted if the program
        is not going to be frozen to produce an executable.

I searched, It can pop up on Window, also.
To avoid it, I insert  if __name__ == "__main__": , then It goes well.
Thus I suggest to add a line in documentation, also the source code file.
Thanks.
Motivation
No response
Pitch
No response
Alternatives
No response
Additional context
No response
Checklist

[X] I have checked that there is no similar issue in the repo

@lazybuttrying Ok, thanks for reporting that. Could you make a PR to solve that?


"pip install transgan-pytorch " not working

Hi , Can u please guide on how to run your code ? On running test.py ,  it gives the following error
"cannot import name 'TransGAN' from 'transgan_pytorch'"
on running pip install , it gives the following error
[8]
pip install transgan-pytorch
ERROR: Could not find a version that satisfies the requirement transgan-pytorch (from versions: none)
ERROR: No matching distribution found for transgan-pytorch

Hi, thanks for checking it out.
It's still a work in progress. I took it down for maintenance.


chore: 06-solomachine adding CheckForMisbehaviour and UpdateStateOnMisbehaviour

Description

Adding CheckForMisbehaviour to 06-solomachine
Adding UpdateStateOnMisbehaviour to 06-solomachine

ref: #878

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards.
[ ] Wrote unit and integration tests
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added relevant godoc comments.
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Review Codecov Report in the comment section below once CI passes

Codecov Report

Merging #1111 (0158c18) into damian/solomachine-update-state (51465ee) will decrease coverage by 0.04%.
The diff coverage is 46.66%.

@@                         Coverage Diff                         @@
##           damian/solomachine-update-state    #1111      +/-   ##
===================================================================
- Coverage                            79.70%   79.65%   -0.05%
===================================================================
  Files                                  151      151
  Lines                                10908    10923      +15
===================================================================
+ Hits                                  8694     8701       +7
- Misses                                1788     1795       +7
- Partials                               426      427       +1

Impacted Files
Coverage Δ

...dules/light-clients/06-solomachine/types/update.go
85.33% <46.66%> (-9.67%)
:arrow_down:

Needs basic tests

Added basic tests for CheckForMisbehaviour and put test function in place for UpdateStateOnMisbehaviour which will require more attention after storage updates 👍


Add variables for road transportation service demand

Per request by @gunnar-pik, this PR adds variables for energy service demand related to road transportation.
After a brief discussion with @vruijven, this PR replaces abbreviations with more descriptive terms to be more accessible to a wider audience. A mapping from NAVIGATE to the new form is included.

I spotted a small typo: it should  be  Fuel-Cell-Electric, not Fuel-Cell-ELectric
Looks very good otherwise, thanks!


Avoids installing CocoaPods on CI if cache is available #trivial

The type of this PR is: enhancement

Description
I noticed when merging a few PRs in a row that pod install was being ran every build, despite having manifest-style caching like our other dependencies. This isn't a huge deal but it takes a minute or two for CocoaPods just to download the podspecs to do dependency resolution. We already have cocoapods-check in our Gemfile, which compares Podfile.lock to Pods/Manifest.lock and returns the resulting exit code. This should shave some time off our builds.
I tried to think of a reason this wouldn't work, but I think it should be safe. Open to feedback here.
PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)

Nice one, thanks 🙏


Next.js global error page

I tried to set this up but it never shows the error page:
https://nextjs.org/docs/app/api-reference/file-conventions/error#global-errorjs
I also tried error.tsx inside src/app/[locale]/client and inside src/app/[locale], none are showing up
Tried all these, none show up:

Can you send a reproduction link? How are you triggering errors to render error.tsx / global-error.tsx?

Closing as no reproduction has been provided. Feel free to re-open if needed!


domination: make deterministic and clean up

Description of changes
This PR makes the build of the domination package deterministic by adding stripJavaArchivesHook to nativeBuildInputs, which resets the internal timestamps of the generated jar files.
It also does some minor cleanup in the installPhase
Other changes include adding meta.mainProgram and setting meta.license to a more specific license.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

It might be better to wait come up with a robust enough hook in https://github.com/NixOS/nixpkgs/pull/294516/files instead of always just using substituteInPlace, drafting for now

Now that there are so few changes, I put all of it into 1 commit. Should I still separate it?

It looks like there were some extra (mac-only?) metadata files generated while building. These also have a .jar extension, so the hook gets confused. I removed these, as I don't think they are required for running the program.


SNYK: github.com/docker/distribution Type Confusion

Summary of issue

Severity: medium
Affected versions of this package are vulnerable to Type Confusion. Documents that contain both “manifests” and “layers” fields can be interpreted as either a manifest or an index in the absence of an accompanying Content-Type header. If a Content-Type header changes between two pulls of the same digest, a client may interpret the resulting content differently.

Link to detailed description

Fixed in https://github.com/equinor/terraform-azurerm-service-bus/pull/26


feat(transform_conformance): drop all babel 7 specific tests

@Dunqing Is this correct?

#2982  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Boshen and the rest of your teammates on  Graphite

I think we don't need to drop all babel 7 tests. Because babel 8 doesn't break these tests. We just need to skip all "BABEL_8_BREAKING": true tests. (That's how it's done now.)


Object proxy

Finally have a working object-proxying RPC system. This has not yet been fully integrated, but now seems like a good time to stop, look at what we have, and decide how to proceed. The consequences of this design are much deeper than I had previously realized. Almost all of the work previously done by Host, NodeGroup, and Manager are now absorbed into the RPC system, leaving these classes rather bare (and possibly unnecessary). See NodeGroup and Host for example; I haven't worked on Manager yet.
I've added a new example pyaudio_oscope2.py that demonstrates acquiring audio data in a separate process and displaying it locally. It is almost identical to the original pyaudio_oscope.py.
To move on, we will need to decide whether to keep the old management classes and what their new purposes will be.
Update:

Manager, Host, and NodeGroup have very close to the same functionality as before (but with much less code).
All log messages are collected across hosts, processes, and threads and combined at the manager.
Additionally, stdout/stderr lines and unhandled exceptions are collected from all spawned processes and converted to log messages.
Log messages are sorted in time before they are printed such that the log records actually have a readable sequence (but this will require precise time synchronization between hosts; perhaps we can devise some network - or hardware-based strategy for this).
RPC requests re fully reentrant. For example, the manager may call a remote method on a Node, which directly calls back to the manager again.
RPC server can run in its own thread or in a Qt GUI thread

Waou. Awsome. this is a huge change!
I will need time to read and understand everything.
Before I read everything, could you also port test_node.py and example/local_or_remote.py.
So I am sure to not misanderstand.

Maybe you have push your latest ProcessSpawner I have this error :
AttributeError: 'ProcessSpawner' object has no attribute '_import'

OK. I read the main part of this.
Globaly I like this, this is pyqtgraph approach recoded with zmq.
I still have some doubt maybe we coul discuss this a phone call.
Here my very first feelings:

Are yousSure to leave this in pyacq and not in pyqtgraph ?

Are you sure that this new RPC is not too much python centric ?
How easy will it be to write some client and viewer nodes in javasciprt for instance ?
The old approach:
* pros:
* easly portable to other language
* contr:
* very verbose. need to write both server/client(proxy) side
* many methods at NodeGroup level.
The new approach: the opposite.

Could you make some drafty benchmark:
* how many per second : ping/pong (on local host)
* ow many per second  : simple metod that return None (on local host) synchronously

In NodeGroup : nodes =set() : how do we ensure unique name for nodes ? I guess it is only at manager level

What about JSON ? Can we have choice at ProcessSpawner level ?

QtPollThread.rpc_socket = server._socket
Is this safe ? because the thread access an attribute of its parent ? If yes I think that I put weakref everywhere for nothing. tell me.

Why this : ObjectProxy.reduce ? I guess you forgiot to remove. Are you palnning to use pickle ?

* RPCClient.process seems to be buggy (and unused??) because it call self.process_msg(name, msg)

Are yousSure to leave this in pyacq and not in pyqtgraph ?

I was thinking that it might make a nice standalone library. Perhaps we can think about publishing it on its own sometime.

Are you sure that this new RPC is not too much python centric ?
How easy will it be to write some client and viewer nodes in javasciprt for instance ?

I think, from a language-agnostic standpoint, this version is only a little more complicated than the last. Before we had to pass messages like
{'action': 'call', 'req_id': 1, 'method': 'start', 'args': [...], 'kwargs': {...}}

Now the only differences are that there are a few more actions ('get_obj' being the most important) and you have to keep track of proxies like {'rpc_id': 'tcp://<IP_ADDRESS>:5436', 'obj_id': 42}. From this standpoint, the proxy approach is more complex/powerful, but not any less language-agnostic.
It does look bit more Pythonic when I say
dev_proc = rpc.ProcessSpawner()
dev = dev_proc.client._import('pyacq.devices.audio_pyaudio').PyAudio()

..but this could be very easily wrapped in a way that does not require _import. Before NodeGroup and Manager shared this task of creating nodes based on their class name; we can bring this back with just a few lines of code.

Could you make some drafty benchmark:

Will work on these..

In NodeGroup : nodes =set() : how do we ensure unique name for nodes ? I guess that unicity is only at manager level

Previously we used these names to reference objects across machines/processes, and we needed the manager to keep track of the names to ensure they were unique. Now we reference all objects using ObjectProxy, which is always guaranteed to be unique. This means that it is no longer necessary to name these objects (although it might be helpful for logging).

What about JSON ? Can we have choice at ProcessSpawner level ?

We can, I just haven't implemented it yet. I started with msgpack because it is more efficient, especially for transferring array data. My temptation would be to have RPCClient decide what message format it wants to use, and then RPCServer can adapt accordingly. That way we can use the most efficient format internally, while still allowing MATLAB/others to connect by JSON if they want.

QtPollThread.rpc_socket = server._socket
Is this safe ? because the thread access an attribute of its parent ? If yes I think that I put weakref
everywhere for nothing. tell me.

It is safe because just below that I have server._socket = context.socket(zmq.PAIR). The original socket becomes unavailable to the server and belongs to the poller thread instead.

Why this : ObjectProxy.reduce ? I guess you forgiot to remove. Are you palnning to use pickle ?

ObjectProxy was originally just copied from pyqtgraph. This is just left-over.

RPCClient.process seems to be buggy (and unused??) because it call self.process_msg(name, msg)

Left-over again. I'll remove these.

Added a benchmarking script. Results on my laptop:
=========== inproc to thread ============
Ping rate: 4089/sec
Async ping rate: 4616/sec
=========== tcp to thread ============
Ping rate: 2972/sec
Async ping rate: 3987/sec
=========== TCP to spawned process ============
Ping rate: 2982/sec
Async ping rate: 16614/sec
=========== TCP to spawned Qt process ============
Ping rate: 2260/sec
Async ping rate: 6219/sec

This is cool. It is a bit slower than the previous RPC but not so much.

Updated description at the top of the PR.

class Node have not been changed by the PR. Is it a missing ?
I think many methods there can be removed:
get_input_names, get_output_names, connect_input, configure_output, get_output, get_input

This is really good!!
I think, TODO before merging :

fix some bugs (see some coments)
JSON again ?
clean class Node

Added JSON client support
Cleaned up Node class

Remaining issues:

Fix rpc test bug
Try to avoid double serialization

I don't anderstand this double serilization.
Could you explain ?

see https://github.com/pyacq/pyacq/pull/35#discussion_r45834212

Luke : You can merge when want (since travis get back to green!).
Congratulation for that PR.

Ok, I think this is ready! The only travis error is the size check, so we should be safe to merge. Anyone like to press the button?


Fix #21

Prevents non well formatted accept  header value

Awesome!
As you can see above one of the CS checks failed, apparently on some trailing spaces. Something you could perhaps take a look at as well?
Results are here: https://travis-ci.org/zendframework/zend-http/jobs/83107792

Done !

@Maks3w Is this something you could look at? I've been out of the game for quite some time (although I still feel for this particular component), so am I little uncomfortable merging it. As far as I'm concerned it's ready to go!

Well I have questions.

Because an abstract class has been modified then any child test should have a test and not only Abstract-Language

After take a look to http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html I don't see those headers should share the same ABNF so I think the abstract class should be split with trait functions and be deprecated

Errata: RFC2616 are expressed using EBNF
Accept-Header is defined individually on RFC3282

After reading RFC 7231 only the weight param (;q=[0,0.001-1]) is common to all those headers but the rest of parsing values are not.
This is the resume of ABNF rules from http://tools.ietf.org/html/rfc7231#appendix-D
Accept = [ ( "," / ( media-range [ accept-params ] ) ) *( OWS "," [OWS ( media-range [ accept-params ] ) ] ) ]
Accept-Charset = *( "," OWS ) ( ( charset / "*" ) [ weight ] ) *( OWS "," [ OWS ( ( charset / "*" ) [ weight ] ) ] )
Accept-Encoding = [ ( "," / ( codings [ weight ] ) ) *( OWS "," [ OWS ( codings [ weight ] ) ] ) ]
Accept-Language = *( "," OWS ) ( language-range [ weight ] ) *( OWS "," [ OWS ( language-range [ weight ] ) ] )

accept-params = weight *accept-ext
weight = OWS ";" OWS "q=" qvalue

OWS = Optional White Space

@Maks3w How is this all relevant for this particular pull request? Fwiw, the implementations that are included in zend\http for the various accept header types come with own regexes to support and validate the different formats.
Of course we can always refactor this class and deprecate parts of it. But that seems way beyond the scope of this particular issue: Ensuring no notices are thrown on invalid input.

Reading the RFC and the ABNF resume split languages with ; is not allowed. Should be ,. So the proposed solution is wrong. The header was malformed and there is nothing to fix.

Closed due inactivity.


Add support for docker-compose.yml

It would be nice to be able to deploy full apps with docker-compose.yml

I'm not sure if this is best for empire itself, or a separate command that made use of the empire API.  Going to leave this open for more discussion - though there are probably a few mismatches between docker-compose & empire's style of deployments.

By separate command you mean some sort of empire plugin (sorry, I am fairly new to empire)? I have also been taking a look at convox and it is quite nice the way they to keep the interface simple by leveraging docker-compose.yml. Empire seems to be much more mature as far as I can see.

Well, I could see it more like this relationship:
emp/empire -> docker
some other command -> docker-compose
So empire & the emp CLI are meant for the heroku style deployments that it currently does.  But there could be a new command, a sort of orchestration command, that does what docker-compose does for docker, but in an empire environment.
convox is awesome - one downside to the docker-compose interface being the main interface is that you can't scale individual processes in a project by themselves (there are ways around this, I think - not sure if you can have more than one docker-compose).  For example, in our API app @remind, we have workers & we have web processes.  We need way more web processes than workers, and there is no reason they should/need to be co-located.  Since all of that is separate in Empire, we can scale them independently - I think we have like 12 web processes and only 6 workers.

@phobologic Yes, that is a good point.

@phobologic One idea would be to use docker-composer (docker) labels to tag specific containers and then have deployment configuration parameters that are specific to those tags. Another idea is to reference a specific container: so if there is an docker-compose.yml for app1 and a web container, it should/could be possible to scale app1.web independently.

Yeah - my biggest concern with making it a core part of the emp CLI and not it's own tool is that it complicates the emp CLI.  Using docker-compose.yml isn't impossible.  Just not sure it's exactly the right format we would want or if it's the best for the project.  Anyway, it's not something that we're likely to work on for a bit - there's a lot of core stuff to focus on soon, but it sounds like a cool, perhaps complicated project :)

@phobologic got it!

Gonna close this for now. If someone submits a PR that adds support for docker-compose.yml files, we'll consider accepting it.


Is there a 'cancel' callback function?

Hi there,
For me, the callback function works fine for the 'options' but the cancel button does not seem to be working. Is this intentional or am I doing something wrong?
BottomSheet.showBottomSheetWithOptions({
            options: this.props.options,
            cancelButtonIndex: this.props.cancelButtonIndex,
            destructiveButtonIndex: this.props.destructiveButtonIndex,
            title: this.props.title,
        }, (value) => {
            console.log(value);
        });

Props being passed in (in case something is wrong there):
interface IActionSheetProps {
    options: string[];
    cancelButtonIndex: number;
    destructiveButtonIndex: number;
    title: string;
}

What is your output? Can I see your this.props.options ?

I'm facing the same issue. The callback is not implemented for Android.
On iOS, since it's using native ActionSheet, it works as expected and callback get called even when Cancel button is pressed.

Create PR to fix this issue: https://github.com/acaziasoftcom/react-native-bottomsheet/pull/16
// cc: @jpmasud

How to handle callback when I clicked outside a buttons ?  (just click on darkened screen of app)
In this case BottomSheet hide but I need to call some actions on this.

Closing this issue because original ActionSheet does not have this implementation as well.


Missing Xamarin.Forms.Core.fs

Just downloaded the source but am not able to compile:
Severity	Code	Description	Project	File	Line	Suppression State
Error	FS0225	Source file 'D:\Samples\Fabulous-master\src\Fabulous.Core\Xamarin.Forms.Core.fs' could not be found	Fabulous.Core	D:\Samples\Fabulous-master\src\Fabulous.Core\FSC	1	Active

@StefanBelo Yes, it's a generated file.
You need to run the command ./build.cmd RunGenerator at minimum, before being able to compile it in Visual Studio
https://github.com/fsprojects/Fabulous/blob/master/DEVGUIDE.md#dev-notes---building

Thanks Tim, I have tried, but:
Build started 30. 5. 2019 19:04:43.
1>Project "D:\Samples\Fabulous-master\tools\Generator\Generator.fsproj" on node 1 (Restore target(s)).
1>D:\Samples\Fabulous-master\tools\Generator\Generator.fsproj(2,1): error MSB4041: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored
in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the  element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.
1>Done Building Project "D:\Samples\Fabulous-master\tools\Generator\Generator.fsproj" (Restore target(s)) -- FAILED.
Build FAILED.
   "D:\Samples\Fabulous-master\tools\Generator\Generator.fsproj" (Restore target) (1) ->
     D:\Samples\Fabulous-master\tools\Generator\Generator.fsproj(2,1): error MSB4041: The default XML namespace of the project must be the MSBuild XML namespace. If the project is author
   ed in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2
   format, please convert it to MSBuild 2003 format.

0 Warning(s)
1 Error(s)

What is strange, when selecting the failed project in VS and clicking on Build, the project: Generator is built without errors.
So this Generator should generate from json the fs file for Fabulous.Core?

Do you have all the prerequisites installed, especially the dotnet SDK?
https://github.com/fsprojects/Fabulous/blob/master/DEVGUIDE.md#dev-notes---prerequisites

I have got following:
dotnet --info
.NET Core SDK (reflecting any global.json):
Version:   3.0.100-preview5-011568
Commit:    b487ff10aa
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.18362
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\3.0.100-preview5-011568\
Host (useful for support):
Version: 3.0.0-preview5-27626-15
Commit:  61f30f5a23
.NET Core SDKs installed:
2.0.2 [C:\Program Files\dotnet\sdk]
2.1.602 [C:\Program Files\dotnet\sdk]
2.1.700-preview-009597 [C:\Program Files\dotnet\sdk]
2.1.700-preview-009601 [C:\Program Files\dotnet\sdk]
2.1.700-preview-009618 [C:\Program Files\dotnet\sdk]
2.1.700 [C:\Program Files\dotnet\sdk]
2.1.800-preview-009677 [C:\Program Files\dotnet\sdk]
2.2.203 [C:\Program Files\dotnet\sdk]
3.0.100-preview5-011568 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0-preview4-19216-03 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0-preview5-19227-01 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0-preview4-27615-11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0-preview5-27626-15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.0.0-preview5-27626-15 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Does the generator builds when you run the command dotnet build "D:\Samples\Fabulous-master\tools\Generator\Generator.fsproj"?

Yes, it builds.

Could you try to run the command ./build.cmd RunGenerator in the Developer Command Prompt for Visual Studio?
I think there's a limitation when building Fabulous on Windows, the classic Cmd and PowerShell use the wrong version of MSBuild.

I am sorry Tim, the same result. I used Developer Command Prompt for VS2014, and the exactly same results.
My intention to test Fabulous was just to debug some code and see how the elmish approach is used.
Last two weeks I tried blazor, and fsbolero that uses elmish as well, and I wanted to get myself some answer on this question I asked on websharper forum:
https://forums.websharper.com/topic/86905
Today I tested Elmish.WPF, and I have got some answer, there he actually wrapped MVVM internally to bind to WPF controls.
In Fabulous you say you have got WPF support nut it is actually Xamarin Forms support not native WPF, right?
Couple years ago I built my desktop app using devexepress WPF libraries, and I do not think that could be replicated by Fabulos, as xamarin wrapper is actually used, so is fabulous really supporting WPF?
My app is built in F# and for UI I used MVC and great at that time FSharp.Desktop.UI:
http://bfexplorer.net/Products/Bfexplorer
so is Fabulous suitable for such kind of WPF apps?

VS2015 won't work. VS2017 or VS2019 are required.

In Fabulous you say you have got WPF support but it is actually Xamarin Forms support not native WPF, right?

Yes. Fabulous is built on top of Xamarin.Forms.
It's still the native WPF controls that are built, but they are used through the Xamarin.Forms APIs.

Couple years ago I built my desktop app using devexepress WPF libraries, and I do not think that could be replicated by Fabulos, as xamarin wrapper is actually used, so is fabulous really supporting WPF?

We're supporting WPF as much as Xamarin.Forms does.
Like any cross-platform framework, some choices have been made, and it might not be suitable for some heavy UI apps like yours.
So if your application is too complex to be ported to Xamarin.Forms, you won't have more success with Fabulous sadly...

Still the same results using:
Developer Command Prompt for VS 2019 Preview, or
Developer PowerShell for VS 2019 Preview
Thanks for your help Tim, I will try again in 1-2 weeks.

@StefanBelo
VS2017 is needed on Windows. Had the same problem when I set up my computer the last day.
Wanted to investigate on this issue but didn't have the time.
Normally this should be done with PR #390
@TimLariviere any suggestions?

@SergejDK I will try with a clean VM of Windows + VS2019 and document the exact things I do to make it compile.

It appears to be an issue with FAKE not correctly resolving MSBuild when both VS2017 and VS2019 are installed.
The current workaround is to either use the developer command prompt for VS2017 or uninstall VS2017.
https://github.com/fsharp/FAKE/pull/2344


Print the error output of swift package dump-package

Currently when swift package dump-package fails, its error output is not presented to the user, while the printed error message is confusing. In 0.4.1 it's
Error: No package found

while in main it's
Error: The `Package.swift` manifest file could not be found. Please
navigate to a directory that contains `Package.swift` and restart

Neither of these are valid error messages when Package.swift is present, but it has a typo or doesn't compile for some other reason.

I followed the instructions with MacOS 11 and Xcode 12 Beta 4 and got the same error. If try to execute the command, then I get following output:
$ /Users/stephan/.carton/sdk/wasm-DEVELOPMENT-SNAPSHOT-2020-06-12-a/usr/bin/swift package dump-package
/Users/stephan/Documents/Projects/TokamakApp: error: manifest parse error(s):
:0: error: invalid Darwin version number: macos11.0
:0: error: invalid version number in '-target x86_64-apple-macos11.0'
/Applications/Xcode12-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-macos.swiftinterface:1:1: error: failed to build module 'Combine' from its module interface; the compiler that produced it, 'Apple Swift version 5.3 (swiftlang-1<IP_ADDRESS> clang-1<IP_ADDRESS>)', may have used features that aren't supported by this compiler, 'Swift version 5.3-dev (LLVM b54b6b832e, Swift 4bb1458ec4)'
// swift-interface-format-version: 1.0
^
:0: error: invalid Darwin version number: macos11.0
:0: error: invalid version number in '-target x86_64-apple-macos11.0'

Thanks reporting this. Unfortunately, as specified in the "Requirements" section, Xcode 12 betas are not currently supported due to the bugs we see in those versions. We're waiting for those to be fixed in later beta or release versions and will apply workarounds if it's not fixed in Xcode 12 GM.
In the meantime, would you be able to use Xcode 11? Xcode 11.6 is well tested and worked for me on Catalina. I didn't test it on Big Sur as I don't have access to hardware for testing, but I'd expect it works there as well.

I installed Xcode 11. Yes, it doesn't report this error with Xcode.app 11. Unfortunately it has now other problems:
[...]
[302/306] Compiling TokamakDOM DOMRenderer.swift
[306/309] Compiling TokamakApp main.swift
/Users/stephan/Documents/Projects/TokamakApp/Sources/TokamakApp/main.swift:9:16: error: cannot find 'DOMRenderer' in scope
let renderer = DOMRenderer(ContentView(), div)
[307/309] Compiling TokamakApp ContentView.swift
Process failed, check the build process output above.

The template app needs to be updated. We only support the App protocol as the entrypoint now:
struct MyApp: App {
  var body: some Scene {
    WindowGroup("My App") { ... }
  }
}

Apologies, that's a change in the public API of Tokamak which broke the template in carton.
You can change main.swift in the generated template to the new App lifecycle:
import TokamakShim

struct Counter: View {
  @State var count: Int
  let limit: Int

  var body: some View {
    if count < limit {
      VStack {
        Button("Increment") { count += 1 }
        Text("\(count)")
      }
      .onAppear { print("Counter.VStack onAppear") }
      .onDisappear { print("Counter.VStack onDisappear") }
    } else {
      VStack { Text("Limit exceeded") }
    }
  }
}

struct CounterApp: App {
  var body: some Scene {
    WindowGroup("Counter Demo") {
      Counter(count: 5, limit: 15)
    }
  }
}

// @main attribute is not supported in SwiftPM apps.
// See https://bugs.swift.org/browse/SR-12683 for more details.
CounterApp.main()

We weren't able to restrict Tokamak dependencies in templates to a specific version due to the use of unsafe flags https://github.com/swiftwasm/JavaScriptKit/issues/6. Unfortunately, SwiftPM forbids depending on specific versions when unsafe flags are used. A workaround for that is available in latest SwiftWasm snapshots and we're working hard on making the onboarding experience more smooth in next carton and Tokamak versions that are going to be published soon.


⚠ Secret Website 3 has degraded performance

In a8dfb52, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 2195 ms

Resolved: Secret Website 3 performance has improved in d923682.


Disabling XDebug when not computing coverage

Woop woop!
Build time:

tests time down from 494s to 35s
job time down from 14m to 2.5m
build time down from 35m to 28m


⚠ Bofrost.at has degraded performance

In da0d686, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1988 ms

Resolved: Bofrost.at performance has improved in 937c80e after 8 minutes.


Custom track

No bug but a question. Is there a way to add trackImage or add a gradient to the track?
I have a design that im trying to reproduce:

Normally, you can try to use minTrackStyle and maxTrackStyle to do the gradient, but I didn't try.
You can use either a CustomThumb or thumbImage to do the thumb.

What do you mean by using minTrackStyle and maxTrackStyle?
As it is today i dont know a way to add gradient to a ViewProp.

That might work for web, but as long as it is not natively supported by RN, you'll need to rely on react-native-linear-gradient. The issue is that this component doesn't use that component to represent the tracks. What you could try is to apply a gradient over the track with absolute positioning.

You might also try to convince your designer that this gradient will increase the complexity of the project for not so much user benefits, and could be reconsidered.

True!! You can close this.

@MattinNajafi CustomTrack is now available in v9.1.0


Can't find protobuf compiler

@yajiedesign I want to build ps-lite in Windows.But I think the cmake\ProtoBuf.cmake is wrong in Windows.Could you give me some suggestions?

this fix Just merged an hour https://github.com/dmlc/ps-lite/pull/25, please update and try again,If there is a problem.tell me.

@yajiedesign I have build the mxnet project using your updated cmakelist.But I met some problems while building solution.
1.If I build protobuf configing x86,it will conflict between x64 and x86.
2.If I build protobuf configing x64,there are still 59 errors while compiling.
3.the error"Cannot open include file:'windows.hpp':"in project ZMQ file test_timers.cpp  always arises what ever x64 or x86 protobuf config.

@cupermanrose  what is you protobuf Version?what compiling errors?
the error"Cannot open include file:'windows.hpp':"  semel is zmq error.you can change  windows.hpp to "#include "../src/windows.hpp"


Create an intro

Add an intro about yourself: who are you, what is your strength, why are you here.

Added an intro about yourself


Initial 'flat build' script.

Still missing the sidecar pod (uses SHA in pilot), rest is built from head with latest versions.
NONE

I am assuming this is a script to help developers ? no to be used for release or something ?

To clarify on the goals: for 0.3 I would like to propose this as a PoC, possibly with repo (but should not require it), as a replacement for the SHA-based system. Developers are the initial target, if people
find this works better than shas - it can eventually replace the release scripts. I'm also hoping to add
more of the secondary artifact creation ( .deb, docker, etc ) to istio/istio and this script.
As was discussed, generating the debs in proxy/pilot/auth may not have been the best choice :-)

@costinm: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-cluster_wide-auth.sh
2ca25071200988e9aab929f90f873e84e1b5a8f0
link
/test e2e-cluster_wide-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
b7758e8f3b5ad2b4dfc12577a52c650ff86ea276
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

per offline conversation closing temporarily


test: getContainedResourceUrlAll ignores path traversal children

Adds a check for path traversal with getContainedResourceUrlAll to ensure future modifications don't miss this edge case.

Superseded by  #2119


Update case-study-using-the-stabilization-plane-to-reduce-holographic…

…-turbulence.md
Changed metadata

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/case-study-using-the-stabilization-plane-to-reduce-holographic-turbulence.md
:white_check_mark:Succeeded
View

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/case-study-using-the-stabilization-plane-to-reduce-holographic-turbulence.md
:white_check_mark:Succeeded
View

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


Fix typo

occured→occurred

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@JoanneHendrickson PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Binaries should be hosted on GitHub

Right now the README links to dropbox. Those binary files should be hosted on a "release" of the project (which corresponds to a tag in Git) on GitHub, both for association with the source code that produced them and for independence from the dropbox account hosting them.

Binaries are in the Releases section.


Typo in parameter option help menu

In the options you state -F is for parsimonious memory mode.
https://github.com/isovic/graphmap/blob/master/src/utility/program_parameters.cc#L616
I think you mean -P
https://github.com/isovic/graphmap/blob/master/src/utility/program_parameters.cc#L56

That's a nicely spotted mistake, thank you!
It will be fixed in the next relese - until then I'll leave this issue open to remind me.

Merged with master.


Build script in sub-project of a multi-project build can be edited with the correct classpath

Compute the classpath correctly for the current project in a multi-project build.

When you open a subproject build script in IDEA, it uses the classpath of the root project's build script. This issue is about providing IDEA with the correct classpath for each build scripts of a multi-project build.

This works fine when importing samples directly but I noticed some instability against gradle-script-kotlin itself. It seems related to the presence of the samples sub-directory (which contains a lot of build scripts).
Requires more investigation.


chore: release 4.2.4

:robot: I have created a release *beep* *boop*
4.2.4 (2021-05-28)
Bug Fixes

loop copy (a624773)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/mili-project-manager/mili/releases/tag/v4.2.4 :sunflower:


Ts tweaks

@cpacia Another round of tweaks I've made as I'm working on TS_tests. Each commit is self-containing but this seemed easier than creating 3 PRs.

Coverage remained the same at 59.894% when pulling aefbbbf09cf8ec4efedc0b4a55edce5ca27588aa on TS_tweaks into 275aa95b0ffcc103a2e18253217ebe2fd5208bd2 on master.


syscall: SysProcAttr.AmbientCaps fails when creating a new user namespace and creator is not root

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
1.9.2
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
Linux - amd64
What did you do?
cmd := exec.Command("/bin/sh")
cmd.Stdin = os.Stdin
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
cmd.SysProcAttr  = &syscall.SysProcAttr{
	Cloneflags : syscall.CLONE_NEWNS | syscall.CLONE_NEWIPC |
	             syscall.CLONE_NEWNET | syscall.CLONE_NEWPID |
                 syscall.CLONE_NEWUSER,
	UidMappings: []syscall.SysProcIDMap {
		{
			ContainerID: os.Getuid(),
			HostID: 	os.Getuid(),
			Size:		1,
		},
	},
	GidMappings: []syscall.SysProcIDMap {
		{
			ContainerID: os.Getgid(),
			HostID: 	os.Getgid(),
			Size:		1,
		},
	},
	AmbientCaps: []uintptr { 8, 21 },
}
    err := cmd.Start()

I ran this code as a non-root user and the process had no capabilities.
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
What did you expect to see?
I expected the shell started in my new namespace to have certain capabilities.
What did you see instead?
An error from cmd.Start() when calling prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, ...) stating that there was an EPERM error.

I do have a changeset that solves this issue:
https://github.com/Omnifarious/go/commit/5de289af7d366237c4aa3bd3f11a4ffc0bf1e539

CC @stapelberg

I indeed missed this use case when originally introducing the change.
I can confirm that the proposed change does not break things for me, so LGTM from my end.

@Omnifarious Would you be willing to submit the change through the contribution process, which is described at https://golang.org/doc/contribute.html?  Thanks.

Realistically speaking, there is no way I'll ever take the time to do all of that. This is the only thing I currently anticipate ever contributing to Go. It's about 40 lines of code. It simply adds capabilities that someone wants to be in the ambient set to the inheritable set. I expect, in fact, that I've done it wrong, even though the code works for my particular case.

So, I had a bunch of time on my hands, and went through the process described there. What do I use for a Change-ID?

Thanks for taking the time.
The change-id will be filled in automatically when you mail out the change.
You can also submit your change as a pull request, which will automatically import it into gerrit.

Having this would also alleviate the need for #12125 since it would allow execed process to retain the capabilities needed to do the bind mounts. Is there anything one can do to help moving this forward?


New Rule: Attachment: Hyperlinked false attachment image lure

I like this rule, but it's matching at a pretty low rate. Might be best to pair with NLU or other logic, closing for now.


ja_str_list_free attempts invalid free()

==28482== Invalid free() / delete / delete[] / realloc()
==28482==    at 0x483CA3F: free (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28482==    by 0x10B01E: ja_str_free (json-actor-boxed.c:37)
==28482==    by 0x115AC4: ntl_free (ntl.c:129)
==28482==    by 0x10B17E: ja_str_list_free (json-actor-boxed.c:64)
==28482==    by 0x10AD2D: load_search_params (test-reddit-api.c:53)
==28482==    by 0x10AE1B: main (test-reddit-api.c:73)
==28482==  Address 0x6a36158 is 24 bytes inside a block of size 40 alloc'd
==28482==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28482==    by 0x1157BD: ntl_malloc_init (ntl.c:27)
==28482==    by 0x1158BB: ntl_calloc_init (ntl.c:65)
==28482==    by 0x11625D: ntl_from_buf (ntl.c:342)
==28482==    by 0x11566D: orka_str_to_ntl (orka-utils.c:248)
==28482==    by 0x10B21A: ja_str_list_from_json (json-actor-boxed.c:78)
==28482==    by 0x112C5E: apply_extraction (json-actor.c:2182)
==28482==    by 0x112D13: extract_value (json-actor.c:2207)
==28482==    by 0x11312F: extract_access_path (json-actor.c:2280)
==28482==    by 0x113355: extract_object_value (json-actor.c:2319)
==28482==    by 0x113B97: json_vextract (json-actor.c:2453)
==28482==    by 0x113D6F: json_extract (json-actor.c:2474)

To replicate issue remove comment block from test-reddit-api.c:53

It's not clear why this free is invalid from this message. Can you please use stensal-c to build and report the error message?


fix(getClippingRect): ignore body for clipping elements

I just noticed this on the MacSelect demo - overflow: hidden (or any overflow) on the <body> should likely be ignored in the majority of cases. Maybe there is an edge case where it shouldn't, or a better technique here?
The previous code filtered out the body.
Without this change, the clipping rect would match the <body>, not the entire window (which is possible for the floating element to overflow to)
cc: @gavinxgu

@gavinxgu's change detected that it's related to containing blocks creating the "clipping" effect. So adding something like will-change: transform to the <body> will do that (or a containing block that's a child of it) in the screenshot.
This change seems to work fine when making the <body> a containing block itself (or the root) although the scroll arrows have the wrong position for some reason — that is a different issue though.


Clean Registry URL prefix before attempting a request

ACK. I think this is a good idea. When switching from dockerhub to rhcc it was unclear that I had to change the url from docker.io to http://registry.access.redhat.com. @dymurray explained why that is, and it makes sense, but I think this will save a lot of misery.


Subscribing to websocket API does not work after recent OKX API update

Based on this article https://www.okx.com/help-center/changes-to-v5-api-websocket-subscription-parameter-and-url
subscribing to websocket API now requires "instFamily" parameter instead of "uly".
Please adjust the app according to this update.

I've added this issue to my urgent program

Fixed in version 1.1.6 https://github.com/burakoner/OKX.Api/commit/efb456881f483f5b2012a694ede8768755e2df44 https://www.nuget.org/packages/OKX.Api/1.1.6


Include classes from external package

This could be related to #1336 & #1569 , but I've added a reproduction repo:
https://github.com/praburangki/unocss-scan-reproduce
The main goal is to make unocss read the classes that are defined within the external library.
Could this be specific within nuxt?

I'm also curious about support for this feature! In my case I am using Prime UI and would like to dynamically load only the icons I want using UnoCSS instead of loading the entire collection of icons that Prime provides.
I have already figured out a shortcut to rewrite pi- prefixed icons to i-prime-, but now I would like this to apply to components imported from Prime itself.

I found a solution to this myself! You can use the include option to have unocss watch for any files loaded via vite using regex. In my case, in order to have unocss scan primereact components, I added the following to my unocss config:
{
  include: [/(.*\/)primereact(.*)\.(c|m)?(js)(x?)$/, '**/*.{ts,tsx}']
}

You can of course adapt that regex to your use case by modifying it however you see fit, and you can check your browser's dev tools in the network tab to verify the regex matches on the format of the file names vite is serving from the external library. This is important because if you try matching on files using your local file system it won't work, unocss only scans files that are being served by vite to the browser. It's also important to make sure you explicitly include your project files as they are not inherited when defining the include option yourself, as I've done with the second entry in the include array.
Anthony might be able to clarify some points as some of my explanation is by observation without digging into the code myself!

thanks, the classes are generated at dev but not at build time. have you encountered this issue?

@sherif414 you may need to include classes from node_modules/.vite/... in dev mode and node_modules/.pnpm/... in build mode

@jbaubree  could you show some code?


Merge initial multi-field functionality into Master.

This PR fundamentally changes the way DOFs are added to the mesh. Now, the model file must contain information on the physics belonging to each element. Given this, the mesh::setupGlobalDof routine automatically calculates how many degrees of freedom to add to each mesh point. Since each point is treated independently, points representing coupling edges will include coupling degrees of freedom. For example, a 2D elastic-acoustic edge will contain 3 DOFs:

Two from the two vector components of the elastic field
One from the acoustic field

I've done a quick attempt to make sure this works with Max's 3D Hex additions as well. At first glance, it looks like it does (the tests pass locally). I'll be pleased as a peach if this merge works correctly.

Re-opening as SalvusData hadn't been pushed...

Merge complete. Please update your salvus_data repo!


K8s metadata decoration for Prometheus exporter

Adds K8s metadata decoration for the Prometheus metrics exported, similar to what we already do for the OTEL exporters.
This task also required some refactoring on the K8s integration tests, as now we need to span two different clusters (one configured for OTEL and another configured for Prometheus), but the metrics decoration test suite is exactly the same.

Codecov Report
Patch coverage has no change and project coverage change: -31.26% :warning:

Comparison is base (6b1d362) 78.76% compared to head (9911194) 47.51%.
Report is 12 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #285       +/-   ##
===========================================
- Coverage   78.76%   47.51%   -31.26%
===========================================
  Files          42       34        -8
  Lines        3254     2534      -720
===========================================
- Hits         2563     1204     -1359
- Misses        528     1253      +725
+ Partials      163       77       -86

Flag
Coverage Δ

integration-test
?

unittests
47.51% <0.00%> (-0.60%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

pkg/internal/export/otel/metrics.go
70.03% <0.00%> (-6.52%)
:arrow_down:

pkg/internal/export/otel/traces.go
79.59% <0.00%> (-5.87%)
:arrow_down:

pkg/internal/export/prom/prom.go
1.14% <0.00%> (-98.86%)
:arrow_down:

pkg/internal/request/span.go
100.00% <ø> (ø)

pkg/internal/transform/k8s.go
4.59% <0.00%> (-64.64%)
:arrow_down:

... and 26 files with indirect coverage changes

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


Cannot find class Android 2.3.7

I get this error when I try to show a dialog:
08-03 09:53:21.239: E/dalvikvm(2144): Could not find class 'com.simplealertdialog.SimpleAlertDialogFragment', referenced from method com.simplealertdialog.SimpleAlertDialogFragment$Builder.create
Can you help me to fix it?

@Signoo Did you include this class to your apk file?

I usually do Project-->Properties-->Libraries and add the library, but for android 2.3 there's a problem


"Failed to compute" error because of unexpected operation inside #if

Here is the problem (Ractive.js  v0.7.3): http://jsfiddle.net/Inversion/hLym2xcy/
See the comments under the code.
Is there a way to overcome these unexpected problems?
Thanks!

I'm fairly sure this is another example of https://github.com/ractivejs/ractive/issues/1924. The program isn't actually breaking, the 'failed to compute' error is simply a warning that ractive sends in debug mode. Like @martypdx said in the other thread, the message is harmless other than an annoying console log, and it will get cleaned up in 0.8 due to his work in #1740. For example, I set a new value to pros after four seconds, and there is no after-effects of the warning: http://jsfiddle.net/hLym2xcy/11/
I'm going to close this thread, but if you run into any other problems please don't hesitate to open an issue.

Actually I'm not talking about warnings in console, but that some code is being executed when logically it should not be (if and each iterations).
If it is the same problem then it's ok to close the issue.

Yep, that's what I was referring to. The console warnings are a symptom of the illogical code execution. 0.8 will be smarter about when to execute code and when not to.


various auth features in the golang package "authelia"

Have you seen this ?
https://github.com/authelia/authelia
as it says on the box "The Single Sign-On Multi-Factor portal for web apps"
I have not had a chance to really dig into it but its supports hardware yubikeys and OTP
I figured you might be interested in this.
The first thing i thought iof was " Caddy is not on the list of proxies". Bummer.

Opps looks like your already thinking about it: https://github.com/authelia/authelia/issues/1248

Hey @greenpau, I was reading your conversation at authelia/authelia#1248 and it is not clear to me how we can intergrate this plugin with authelia. Do you mind shedding some light into how that would exactly work?

Hey @greenpau, I was reading your conversation at authelia/authelia#1248 and it is not clear to me how we can intergrate this plugin with authelia. Do you mind shedding some light into how that would exactly work?

@samyak-jain , idk. I never installed authelia.

@samyak-jain , idk. I never installed authelia.


Choosing the option "global_abstain" does not show a button "global abstain"

In an assignment

works in current main branch


Duplicate lib Windows SDK library used at link time when both SDK8 & SDK10 are installed

Hi
Building the native-binaries/cpp project with both SDK 8.1 & SDK 10 installed, gradle 4.01 includes the
2 SDK x86 lib directory in the LIBPATH while only one should be used, as show by the output.txt
/DEBUG
/OUT:C:\Users\fandre\Documents\git\gradle\subprojects\docs\src\samples\native-binaries\cpp\build\libs\hello\shared\hello.dll
/NOLOGO
/DLL
"/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib"
"/LIBPATH:C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x86"
"/LIBPATH:C:\Program Files (x86)\Windows Kits\10\Lib\10.0.15063.0\ucrt\x86"
C:\Users\fandre\Documents\git\gradle\subprojects\docs\src\samples\native-binaries\cpp\build\objs\hello\shared\helloCpp\aqkdip9r4oh0soue6oadhmiqw\hello.obj

C:\Users\fandre\Documents\git\gradle\subprojects\docs\src\samples\native-binaries\cpp>gradlew -version

Gradle 4.0.1
Build time:   2017-07-07 14:02:41 UTC
Revision:     38e5dc0f772daecca1d2681885d3d85414eb6826
Groovy:       2.4.11
Ant:          Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM:          1.7.0_80 (Oracle Corporation 24.80-b11)
OS:           Windows 8.1 6.3 amd64

Thanks @zosrothko for this issue. The work to solve this issue will most likely be tackled with the more generalized way of defining SDKs.

@ghale can you see if this is an issue still?

@zosrothko So this is happening because we currently automatically add a windows sdk onto the lib path and, in previous versions of Gradle, we were not capable of discovering a windows 10 sdk.  So Gradle was looking for a windows sdk (any windows sdk) and finding the highest version that it could comprehend (windows 8.1 sdk).  So what you're seeing on the path there is the windows 10 UCRT (required by Visual Studio 2017) and then the windows 8.1 sdk (automatically discovered).
With Gradle 4.3, there is support for discovering windows 10 sdks, so what you would see in this scenario is both the UCRT and SDK being discovered for windows 10.
In the future, we also want to make this more declarative and remove the logic that blindly adds a windows sdk onto the lib path.  So when you define your component, you would also declare something to the effect of "this component needs windows 8.1 sdk" or "this component needs windows 10 sdk" and we would find an appropriate sdk that met your requirements.  If you did not declare anything, then we would just not add any windows sdk onto the lib path.
I believe this resolves the reported issue (with the release of Gradle 4.3).  If you feel like it does not, let me know and we can re-open.


Support more forecast models or data sources

Some interesting available datasets:

https://s3.eu-central-1.amazonaws.com/dwd-pds-help/dwd-icon-global-pds-help.html
https://en.ilmatieteenlaitos.fi/open-data-on-aws-s3
https://mf-models-on-aws.org/en/doc/

Closing in favor of more specific issues like https://github.com/weacast/weacast/issues/52


Machine configuration and Environments take about one minute to load

Dev Home version
No response
Windows build number
No response
Other software
No response
Steps to reproduce the bug
Open Dev Home and navigate to machine configuration/Environments
Expected result
No response
Actual result
After waiting for more than one minute, the page starts to display
Included System Information
No response
Included Extensions Information
No response

Closing as duplicate as pointed out by the bot.

Duplicate of #2736


loading hard-hat-workers-dataset

hello, and thanks for this great work.
i'm trrying to fine tune the model exactly like you descried in DETR Tensorflow -  Finetuning tutorial.ipynb, and with hard-hat-workers-dataset as a CSV format, but i get an error while load dataset:

from detr_tf.data import load_tfcsv_dataset

# Load the dataset and exclude the person class (for some reason not all person are labeled on the training set)
train_iterator, class_names = load_tfcsv_dataset("train", config.batch_size, config, augmentation=True, exclude=["person"])
valid_iterator, class_names = load_tfcsv_dataset("test", config.batch_size, config, augmentation=False, exclude=["person"])
print("class_names", class_names)

The error is :
TypeError                                 Traceback (most recent call last)
<ipython-input-11-d499c7a684e3> in <module>()
      2
      3 # Load the dataset and exclude the person class (for some reason not all person are labeled on the training set)
----> 4 train_iterator, class_names = load_tfcsv_dataset("train", config.batch_size, config, augmentation=True, exclude=["person"])
      5 valid_iterator, class_names = load_tfcsv_dataset("test", config.batch_size, config, augmentation=False, exclude=["person"])
      6 print("class_names", class_names)

TypeError: load_tfcsv_dataset() got multiple values for argument 'augmentation'

I have some tribles to understuand this line from detr_tf.data import load_tfcsv_dataset
the load_tfcsv_dataset function is in the file "tfcsv"
Am i missing something ?
Cheers,

The same issue in the DETR Tensorflow -  Finetuning tutorial notebook
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/tmp/ipykernel_30119/2733793415.py in <module>
      2
      3 # Load the dataset and exclude the person class (for some reason not all person are labeled on the training set)
----> 4 train_iterator, class_names = load_tfcsv_dataset("train", config.batch_size, config, augmentation=True, exclude=["person"])
      5 valid_iterator, class_names = load_tfcsv_dataset("test", config.batch_size, config, augmentation=False, exclude=["person"])
      6 print("class_names", class_names)

TypeError: load_tfcsv_dataset() got multiple values for argument 'augmentation'

Please resolve issue. Thanks


Confusing Info Printout about GFF and GTF

When I run the pipeline using an iGenomes genome, the pipelines informs me, that GTF is favoured over GFF and that the GFF will be ignored, although I never specified a GFF. Furthermore, iGenomes provides a GTF for EB1 as can be seen in https://github.com/nf-core/rnaseq/blob/master/conf/igenomes.config.
Nextflow start:
nextflow run nf-core/rnaseq -r dev --reads '*.fastq.gz' --genome EB1 -profile cfc --singleEnd

Confusing message:
...
Prefer GTF over GFF, so ignoring provided GFF in favor of GTF
...

I think one should either not print this message or at least I would like to know what is going on :)

I think that means to say whatever you provide as GTF is overruling any specified GFF file (as GFF -> GTF conversion loses some info in most cases..).

Was adjusted in V1.4 which was just now released 👍

The text was, but the message logic not ;-)

Yeah, this isn't optimal

Fixed in https://github.com/nf-core/rnaseq/pull/319