'save_cog_with_dask' fails with numpy > 2

Hello,
With numpy <2, save_cog_with_dask fails because illegal casting.

With numpy < 2, everything works fine.
With numpy 2.0.1, I have the following error: OverflowError: Python integer 999999 out of bounds for uint8
With numpy 2.1.0, this one: TypeError: Cannot cast scalar from dtype('int64') to dtype('uint8') according to the rule 'same_kind'

This issue is based on this discussion: https://discourse.pangeo.io/t/save-cog-with-dask-cannot-convert-fill-value-999999-to-dtype-uint8/4713/9
As @maxrjones said there:

This is most likely coming from NumPy’s defaults for masked arrays - numpy.ma.default_fill_value — NumPy v2.1 Manual.

Minimal working example:
import numpy as np
import rioxarray as rxr
from odc.geo import cog, xr  # noqa
xds = rxr.open_rasterio(r"not_cog.tif", chunks=True)
nodata = 0
cog.save_cog_with_dask(
    xds.copy(data=xds.fillna(nodata).astype(np.uint8)).rio.set_nodata(
        nodata
    ),
    r"cog.tif",
).compute()

Data : not_cog.zip
I'm on Windows, maybe this doesn't help...

Looks like the error is in the part of the logic that deals with "stats" computation, min/max/avg pixel statistics. Error itself seems to be coming from numpy implementation of masked arrays, or possibly the interaction with Dask DataArray and numpy2
You can disable stats computation with stats=False parameter, that way COG generation succeeds, at least on my system, however without those stats large images might take long time to load up in QGIS for the first time.


MailChimp API v3.0 integration

Hi,
Any a plan to migrate it to  v3.0 api?

I would be interested in knowing this as well.  I think you have a great api and love it.   Thanks.

Pull requests are welcome! At the end of 2016 the old API can't be used anymore..

I think we should branch it from master and start doing some tests on the new api from MC... I'll give it a try and will post some results on how to move forward.

Thanks @balexandre!  I'd really like to move away from ServiceStack (if possible) as well.  It has given us quite a few headaches.

I love SS, I use it every day in several fronts (REST, Message Queue, etc) let me know if I can help.

@danesparza @balexandre I would be really interested in helping to migrate to v3. I will be doing an MC integration projection this year and would love to have a stable v3 wrapper to use

@danesparza I'm starting to look on how to accomplish this, and I think we would be better to start from scratch though, maintaining the same flow idea as current (then again, I use NUnit for my unit tests and never VS testing)... but will find something common :)
MC API 3.0 has a nice json schema that we can easily create and update our POCO library, without the need to write anything for this, maybe we could use this feature.
I've forked and updated a Gist (https://gist.github.com/balexandre/e8cd6a965cdc532cb6ae) and you can see it runs fine even on LinqPad ...
using the ApiRoot schema I end up with this:
public class MailChimp_Account_Contact {

/// <summary>
/// Company
/// The company name assocated with the account.
/// </summary>
/// <readonly>True</readonly>
/// <example>MailChimp</example>
public string company { get; set; }

/// <summary>
/// Address Line 1
/// The street address for the account contact.
/// </summary>
/// <readonly>True</readonly>
/// <example>675 Ponce de Leon Ave NE</example>
public string addr1 { get; set; }

/// <summary>
/// Address Line 2
/// The street address for the account contact.
/// </summary>
/// <readonly>True</readonly>
/// <example>Suite 5000</example>
public string addr2 { get; set; }

/// <summary>
/// City
/// The city for the account contact.
/// </summary>
/// <readonly>True</readonly>
/// <example>30308</example>
public string city { get; set; }

/// <summary>
/// State
/// The state (if available) for the account contact.
/// </summary>
/// <readonly>True</readonly>
/// <example>GA</example>
public string state { get; set; }

/// <summary>
/// Zip Code
/// The zip code (if available) for the account contact.
/// </summary>
/// <readonly>True</readonly>
/// <example>30308</example>
public string zip { get; set; }

/// <summary>
/// Country
/// The country for the account contact.
/// </summary>
/// <readonly>True</readonly>
/// <example>US</example>
public string country { get; set; }
}
public class MailChimp_API_Root {

/// <summary>
/// User ID
/// The id associated with this account. Used for things like subscribe forms.
/// </summary>
/// <readonly>True</readonly>
/// <example>8d3a3db4d97663a9074xxxx16</example>
public string account_id { get; set; }

/// <summary>
/// Login Name
/// The name of the login for this account.
/// </summary>
/// <readonly>True</readonly>
/// <example>freddiesjokes</example>
public string account_name { get; set; }

/// <summary>
/// Email
/// The email address tied to the account
/// </summary>
/// <readonly>true</readonly>
///<EMAIL_ADDRESS>public string email { get; set; }

/// <summary>
/// Role
/// the role assigned to the account
/// </summary>
/// <readonly>true</readonly>
/// <example>owner</example>
public string role { get; set; }

/// <summary>
/// Account Contact
/// </summary>
public MailChimp_Account_Contact contact { get; set; }

/// <summary>
/// </summary>
/// <readonly>True</readonly>
/// <example>True</example>
public bool pro_enabled { get; set; }

/// <summary>
/// Last Login Date
/// The date and time of the last login for this account.
/// </summary>
/// <readonly>True</readonly>
/// <example>2015-07-10 15:05:24</example>
public string last_login { get; set; }

/// <summary>
/// Total Subscribers
/// The total number of subscribers across all lists in the account.
/// </summary>
/// <readonly>True</readonly>
/// <example>42</example>
public int total_subscribers { get; set; }
}

requires only a small update on some types, like DateTime instead of string...
what's your input?

further more...
this is what I'm doing to move into MC API 3.0
in the MailChimpManager I use the amazing and free to sue RestSharp, like:
    private RestClient _restClient;

    //  Default constructor
    public MailChimpManager()
    {
        Lists.MergeVar.RegisterMergeVarFieldValuesJsonConversion();
        _restClient = new RestClient(string.Format(_httpsUrl, GetDatacenterPrefix(this.APIKey)));
    }

then, and for example only, the GetCampaignContent call would be like:
public async Task<CampaignContent> GetCampaignContent(string cId, string view = "archive", EmailParameter emailParam = null)
{
    //  Our api action:
    var apiAction = $"campaigns/{cId}";
    var apiMethod = Method.GET;

    //  Create our arguments object:
    object args = new
    {
        apikey = this.APIKey,
        cid = cId,
        options = new
        {
            view = view,
            email = emailParam
        }
    };

    //  Make the call:
    return await MakeAPICall<CampaignContent>(apiAction, apiMethod, args);
}

and the new generic api call as:
private Task<T> MakeAPICall<T>(string apiAction, Method method, object args) where T : new()
{
    // inistializes request
    var request = new RestRequest(apiAction, method)
    {
        JsonSerializer = new Utilities.JsonSerializer()
    };

    // add arguments
    request.AddObject(new StringContent(JsonConvert.SerializeObject(args), Encoding.UTF8));

    // async task holder
    var taskCompletionSource = new TaskCompletionSource<T>();

    // executes request
    _restClient.ExecuteAsync<T>(request, (response) => taskCompletionSource.SetResult(response.Data));
    return taskCompletionSource.Task;
}

This way, we can maintain the same call names, and move to async calls in just one go...
any other thoughts?

To be honest, I'm not sure I'm interested in maintaining the codebase for the Mailchimp 3.x API at this point.  If I were, I'd like it to use as much native .NET functionality as possible, including any built-in serialization.
Trying to troubleshoot ServiceStack.Text versioning issues has been a real pain -- I'm not sure that RestSharp would be a panacea.  @balexandre: I encourage you to begin your own effort.  I may be completely off-base and you might be right.  Why not start your own repo?  :smile:
To anybody else interested in supporting the 3.x API, I suggest you start on the Mailchimp site, here.


AlertIOS.prompt() breaks when passing in type or defaultValue

It looks like AlertIOS.prompt() is fundamentally broken in 0.18.0.
This breaks:
AlertIOS.prompt(
  'The Title',
  'The Message',
  [
    {text: 'Cancel'},
    {text: 'Ok'},
  ],
  'secure-text'
)

You'll get the following error:
"Must provide either a button list or a callback, but not both" (AlertIOS.js @ 119:0)
It works fine if you don't pass in a type.
All of the prompt examples are also failing on the example page.

@coderdave Is this still an issue on 0.19?

@christopherdro I don't see anything about it in the patch notes
https://github.com/facebook/react-native/releases

Tested on 0.22 and the examples work fine. There was a pretty big refactor of AlertIOS in 0.20 so that probably fixed it.

@facebook-github-bot close


Can't login (Android/iOS)

Hello,
Since some days, i can't login with the LinkedIn Login, also with my app who is on the store..
I saw that LinkedIn announced that all developers needs to migrate to V2 to their API by March 1.
My app is still OK in the linkedin developer dashboard.

Code side :
this.linkedin.login(this.scopes, true).then((data) => {
    console.log('Logged in!', data);
    this.linkedin.hasActiveSession().then((active) => {
      console.log("LINKEDIN SESSION", active);
    });
 });

Console returns :

Logged in!, Ok
LINKEDIN SESSION, false

Does anyone has a solution to get my LinkedIn Login back ?

@antgel I think it'd be a waste to update this plugin, I think the other could work or using the InAppBrowser to redirect and capture the oauth tokens.

@0x15f Thanks for the input. What's the workaround (or better - correct solution moving forward)? Fix the plugin to use OAuth2 instead of the mobile SDKs? Or move to https://github.com/nraboy/ngx-cordova-oauth (we're using Angular 2+).

That library doesn't support Google any more


Tests are failing

When I try to run tests, they fail:

><EMAIL_ADDRESS>test
> bron test.js

✔ should throw for missing changelog file
✔ should throw for missing "unreleased" section
✖ should write changelog
Error: Missing section for previous release ("undefined") in CHANGELOG-FULL.md.
    at KeepAChangelog.getChangelog (/home/user/keep-a-changelog/index.js:47:13)
    at module.exports.runTasks (/home/user/keep-a-changelog/node_modules/release-it/test/util/index.js:59:35)
    at async /home/user/keep-a-changelog/test.js:71:3
✖ should not write changelog in dry run
Error: Missing section for previous release ("undefined") in CHANGELOG-DRYRUN.md.
    at KeepAChangelog.getChangelog (/home/user/keep-a-changelog/index.js:47:13)
    at module.exports.runTasks (/home/user/keep-a-changelog/node_modules/release-it/test/util/index.js:59:35)
    at async /home/user/keep-a-changelog/test.js:93:3
✖ should not write changelog with keep unreleased option
Error: Missing section for previous release ("undefined") in CHANGELOG-DRYRUN.md.
    at KeepAChangelog.getChangelog (/home/user/keep-a-changelog/index.js:47:13)
    at module.exports.runTasks (/home/user/keep-a-changelog/node_modules/release-it/test/util/index.js:59:35)
    at async /home/user/keep-a-changelog/test.js:100:3
✖ should find changelog even if less new lines is used
Error: Missing section for previous release ("undefined") in CHANGELOG-LESS_NEW_LINES.md.
    at KeepAChangelog.getChangelog (/home/user/keep-a-changelog/index.js:47:13)
    at module.exports.runTasks (/home/user/keep-a-changelog/node_modules/release-it/test/util/index.js:59:35)
    at async /home/user/keep-a-changelog/test.js:107:3
✖ should write changelog with different EOL
Error: Missing section for previous release ("undefined") in CHANGELOG-EOL.md.
    at KeepAChangelog.getChangelog (/home/user/keep-a-changelog/index.js:47:13)
    at module.exports.runTasks (/home/user/keep-a-changelog/node_modules/release-it/test/util/index.js:59:35)
    at async /home/user/keep-a-changelog/test.js:114:3
✖ should write changelog and add unreleased section
Error: Missing section for previous release ("undefined") in CHANGELOG-UNRELEASED.md.
    at KeepAChangelog.getChangelog (/home/user/keep-a-changelog/index.js:47:13)
    at module.exports.runTasks (/home/user/keep-a-changelog/node_modules/release-it/test/util/index.js:59:35)
    at async /home/user/keep-a-changelog/test.js:125:3
✖ should add links to the end of the file
Error: Missing section for previous release ("undefined") in CHANGELOG-VERSION_URL.md.
    at KeepAChangelog.getChangelog (/home/user/keep-a-changelog/index.js:47:13)
    at module.exports.runTasks (/home/user/keep-a-changelog/node_modules/release-it/test/util/index.js:59:35)
    at async /home/user/keep-a-changelog/test.js:143:3
✖ should add links with custom head to the end of the file
Error: Missing section for previous release ("undefined") in CHANGELOG-VERSION_URL_HEAD.md.
    at KeepAChangelog.getChangelog (/home/user/keep-a-changelog/index.js:47:13)
    at module.exports.runTasks (/home/user/keep-a-changelog/node_modules/release-it/test/util/index.js:59:35)
    at async /home/user/keep-a-changelog/test.js:161:3
✖ should add unreleased section and links to the end of the file
Error: Missing section for previous release ("undefined") in CHANGELOG-VERSION_URL_UNRELEASED.md.
    at KeepAChangelog.getChangelog (/home/user/keep-a-changelog/index.js:47:13)
    at module.exports.runTasks (/home/user/keep-a-changelog/node_modules/release-it/test/util/index.js:59:35)
    at async /home/user/keep-a-changelog/test.js:181:3
✖ should throw for empty "unreleased" section
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /There are no entries under "Unreleased" section in CHANGELOG-EMPTY\.md/. Input:

'Error: Missing section for previous release ("undefined") in CHANGELOG-EMPTY.md.'

    at async /home/user/keep-a-changelog/test.js:52:3 {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: Error: Missing section for previous release ("undefined") in CHANGELOG-EMPTY.md.
      at KeepAChangelog.getChangelog (/home/user/keep-a-changelog/index.js:47:13)
      at module.exports.runTasks (/home/user/keep-a-changelog/node_modules/release-it/test/util/index.js:59:35)
      at async waitForActual (node:assert:792:5)
      at async Function.rejects (node:assert:913:25)
      at async /home/user/keep-a-changelog/test.js:52:3,
  expected: /There are no entries under "Unreleased" section in CHANGELOG-EMPTY\.md/,
  operator: 'rejects'
}
✖ should throw for missing section for previous release
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Missing section for previous release \("1\.0\.0"\) in CHANGELOG-MISSING\.md/. Input:

'Error: Missing section for previous release ("undefined") in CHANGELOG-MISSING.md.'

    at async /home/user/keep-a-changelog/test.js:58:3 {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: Error: Missing section for previous release ("undefined") in CHANGELOG-MISSING.md.
      at KeepAChangelog.getChangelog (/home/user/keep-a-changelog/index.js:47:13)
      at module.exports.runTasks (/home/user/keep-a-changelog/node_modules/release-it/test/util/index.js:59:35)
      at async waitForActual (node:assert:792:5)
      at async Function.rejects (node:assert:913:25)
      at async /home/user/keep-a-changelog/test.js:58:3,
  expected: /Missing section for previous release \("1\.0\.0"\) in CHANGELOG-MISSING\.md/,
  operator: 'rejects'
}
✔ should find very first changelog with disabled strict latest option
✔ should write changelog even with `strictLatest: false`
✔ should add link to the end of a new changelog

✖ 11 test(s) failed
✔ 5 test(s) passed

I cloned the repository and did npm install and npm run test.

OK, this broke it: https://github.com/release-it/release-it/commit/f31868e74837a8d21b12838ec64e3e791fae50de

This was reverted, but not fully: https://github.com/release-it/release-it/commit/824558f50cd3ba53166f29e571e860ba9b47b72a

Installing npm install<EMAIL_ADDRESS>fixed running tests for me. :-)

Yeah, plugins can be tightly coupled to release-it versions. Apologies for the inconvenience.


CLOUDP-179279: Watch create cluster

Proposed changes
Add --watch flag to atlas clusters create.

Jira ticket: CLOUDP-179279

Checklist

[x] I have signed the MongoDB CLA
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added any necessary documentation in document requirements section listed in CONTRIBUTING.md (if appropriate)
[ ] I have addressed the @mongodb/docs-cloud-team comments (if appropriate)
[ ] I have updated test/README.md (if an e2e test has been added)
[x] I have run make fmt and formatted my code

Further comments

The [atlas_clusters_flags_e2e](https://spruce.mongodb.com/task/mongodb_atlas_cli_master_e2e_atlas_clusters_atlas_clusters_flags_e2e_patch_748e1c401590c48af9280e235243698fac808af7_64822a560ae60661be29b7dc_23_06_08_19_21_59?execution=1) test seems to be failing, but I don't think this is due to the changes in this PR. Created CLOUDP-183459


fix parsing of spir-v.xml with non-ASCII code points

This is causing the roll of SPIRV-Headers to fail:   https://github.com/KhronosGroup/SPIRV-Tools/pull/5307
Then ndk-build is failing.  Its python-based XML parsing step is breaking.

The ndk-build is failing because it is using python 2.7 to run the parsing script. We expect python 3 in our python scripts. The solution is to upgrade the version of the ndk we are using in our bots. We will start to use the latest android NDK LTS release, which is r25.


Bug: Setting url: to https in config.js causes a redirect loop

Issue Summary
Creating a blog which only uses https requires that the links generated by blog.url to be https however I am not able to set this in config.js
If I enter the url: to my blog in config.js as http, then all of my internal links point to http causing users and search engines to get redirected unnecessarily.
Steps to Reproduce
Apache/2.2.22 (Debian) using the following options
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://example.com$1 [R=301,L]
ProxyRequests off
ProxyPass / http://<IP_ADDRESS>:2368/
ProxyPassReverse / http:/<IP_ADDRESS>:2368/
Ghost is running as http but needs to be able to write blog.url as whatever the user wants to specify.
Technical details

Ghost Version: 0.4.2
Client OS: Win 7
Server OS: Debian 7.5
Node Version: v0.10.28
Browser: Chrome
Database: sqlite3

I can confirm I had the redirect loop and with proxy_set_header X-Forwarded-Proto $scheme; on my nginx virtual conf it now works.

I can confirm I had the redirect loop and with proxy_set_header X-Forwarded-Proto $scheme; on my nginx virtual conf it now works.

@jorge-3, would you know how to make this work on a DO droplet? Ubuntu 14.04. Thanks!

@jorge-3, would you know how to make this work on a DO droplet? Ubuntu 14.04. Thanks!

@dustinmatlock, are you using Apache or Nginx?

@dustinmatlock, are you using Apache or Nginx?

@drmyersii, it's Nginx, thanks.

@drmyersii, it's Nginx, thanks.

@dustinmatlock sorry, haven't worked with Digital Ocean. But if you're using nginx, the config that I'm using is similar to what you posted.
Here's what I have:
server {
    listen       443;
    server_name  jorge3.com;

    ssl                  on;
    ssl_certificate      ssl/jorge3_com.crt;
    ssl_certificate_key  ssl/jorge3.key;

    ssl_session_timeout  5m;

    ssl_protocols  SSLv2 SSLv3 TLSv1;
    ssl_ciphers  ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
    ssl_prefer_server_ciphers   on;

    access_log /var/log/nginx/jorge3.access.log;
    error_log /var/log/nginx/jorge3.error.log;

    location / {
        proxy_pass http://<IP_ADDRESS>:8000;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        # 2 lines below are to avoid Ghost https redirect bug
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_buffering off;
    }
}

The blog is live at https://jorge3.com

@dustinmatlock sorry, haven't worked with Digital Ocean. But if you're using nginx, the config that I'm using is similar to what you posted.
Here's what I have:
server {
    listen       443;
    server_name  jorge3.com;

    ssl                  on;
    ssl_certificate      ssl/jorge3_com.crt;
    ssl_certificate_key  ssl/jorge3.key;

    ssl_session_timeout  5m;

    ssl_protocols  SSLv2 SSLv3 TLSv1;
    ssl_ciphers  ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
    ssl_prefer_server_ciphers   on;

    access_log /var/log/nginx/jorge3.access.log;
    error_log /var/log/nginx/jorge3.error.log;

    location / {
        proxy_pass http://<IP_ADDRESS>:8000;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        # 2 lines below are to avoid Ghost https redirect bug
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_buffering off;
    }
}

The blog is live at https://jorge3.com

Redirect loop confirmed on openshift. Reverting the protocol from https to http in config stopped the loop.

@ErisDS this is a bug, not a configuration issue.

@MostDev if You want to enable native https in Ghost on Azure You must enable X-Forwarded-Proto for iisnode. There is an directive You must put into /site/wwwroot/iisnode.yml:
enableXFF: true

and remove all https redirection rules from web.config. Next change the configuration of Ghost in config.js:
production: {
        url: 'https://someaddress.azurewebsites.net',

        mail: {
            transport: 'SMTP',
            options: {
                service: 'SendGrid',
                auth: {
                    user: 'user',
                    pass: 'pass'
                }
            }
        },
        database: {
            client: 'sqlite3',
            connection: {
                filename: path.join(__dirname, '/content/data/ghost.db')
            },
            debug: false
        },
        server: {
            // Host to be passed to node's `net.Server#listen()`
            host: '<IP_ADDRESS>',
            // Port to be passed to node's `net.Server#listen()`, for iisnode set this to `process.env.PORT`
            port: process.env.PORT
        },
        forceAdminSSL: true
    },

Change to https in url if You want to have whole website with https or  forceAdminSSL: true if You want just admin panel with https.

When generating static sites. (For example- with buster)  How should I deal with https.

I can confirm that this fixed this issue for me as well. I was running this with Docker & Nginx. Changing the config in Ghost to https caused a redirect loop. Adding proxy_set_header X-Forwarded-Proto https; fixed that.

For those who are using apache, this is a sample working configuration to avoid the loop redirect
<VirtualHost *:443>
    RequestHeader set X-Forwarded-Proto "https"

    ServerName ghost.example.com:443

    SSLEngine on
    SSLProtocol all -SSLv2
    SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5:!SEED:!IDEA
    SSLCertificateFile /home/user/.ssl/certificate.pem
    SSLCertificateKeyFile /home/user/.ssl/private_key.key

    <Location "/">
        ProxyPreserveHost On
        ProxyPass http://<IP_ADDRESS>:2368/
        ProxyPassReverse http://<IP_ADDRESS>:2368/
    </Location>
</VirtualHost>

Thanks @gabrielepmattia This solved it for Apache.

Newcomers, using the droplet image on digital ocean, check cloudflare configuration before messing with the nginx conf.
The correct configuration for cloudflare is to select Full (strict) in SSL settings and Disable Universal SSL (at the bottom of the page)
Once I disabled universal SSL and set my configuration to Full (strict) ghost was able to redirect the site to https:// every time without fault
If you need to reset your nginx configuration to the default, delete your domains configuration in /etc/nginx/sites-available and /etc/nginx/sites-enabled and rerun ghost setup nginx 👍

I had the same issue, doing what @glcheetham suggested fixed it!

Any ideas how to accomplish that with an haproxy?

I've have an instance in an LXC container with Nginx as front proxy while proxy_set_header X-Forwarded-Proto https; is present.
While it works for other services I've been struggling with this issue for 2 evenings and finally solved.
in config.production.json, I just had to remove the s of https in my url:
  "url": "https://read.anonym.dev/", ->   "url": "http://read.anonym.dev/"
This stopped looping nginx redirections 🎉

This solve the Problem for me:
Enable Header:
a2enmod headers
Add to the Apache site config:
Without this, ghost infinitely redirects:
RequestHeader set "X-Forwarded-Proto" "https"
ProxyPreserveHost Off
ProxyPass / http://localhost:2368/
ProxyPassReverse / http://localhost:2368/
Look at: https://blog.schenck.online/ghost-with-apache-and-https/

It's 2020, and the problem still hasn't been fixed.

If you receive a redirect loop after setting your URL to HTTPS, it means your proxy is misconfigured.
Ghost is setup to receive and correctly handle proxy headers, including X-Forwarded-Proto, X-Forwarded-Host and X-Forwarded-For. If your proxy is misconfigured and sends the wrong headers, you'll end up in a redirect loop.
If you aren't using Ghost CLI and are configuring your proxy yourself, then there are several excellent sources of information available to you:

The first is to use the nginx templates inside Ghost CLI as reference material: https://github.com/TryGhost/Ghost-CLI/tree/master/extensions/nginx/templates
The second is our documentation on reverse proxying for Pro, which has several example configurations and explains what different headers do.
Google the correct configuration for an HTTPS reverse proxy config for whatever tool you are using

If all that fails, we have https://forum.ghost.org where you can request support with configuring you proxy.


Randomly evict mempool transactions based on their eviction weights

Motivation
ZIP-401 specifies weighted random mempool transaction evictions:
https://zips.z.cash/zip-0401#specification
Design
rand::distributions::weighted::WeightedIndex is a weighted random implementation from a very popular crate.
It supports any collection type with continuous integer indexes. (Like Vec or VecDeque.)

Hey team! Please add your planning poker estimate with ZenHub @conradoplg @dconnolly @jvff @oxarbitrage @upbqdn

This ticket's dependencies conflict with the NU5 block validation code freeze, so it needs to be done after NU5 testnet activation in sprint 19.


Is it able to separate multiple voices?

For example, if a man and a women sing together, is it possible to extract two tracks?

This really is an amazing new world.  I have seen the Whisper Library can recognise and separate different speakers and turn them to text - so I can't see why this couldn't do the same thing.

Actually there are two difference scenarios: 1.Multiple voices at the same time. 2.Multiple voices at different time. I'm wondering the scenario 2 should be easier.


Support generation/metageneration flags?

Do we support the ifGenerationMatch / ifGenerationNotMatch / ifMetagenerationMatch / ifMetagenerationNotMatch flags on the following API calls?

[ ] Bucket delete
[ ] Bucket get
[ ] Bucket patch
[ ] Bucket update
[ ] File copy
[ ] File delete
[ ] File get
[ ] File insert
[ ] File patch
[ ] File update

I don't see any explicit support for these flags in gcloud-node or gcloud-python.

The more I think about this, the more I think this is something we could use in gcloud-ruby without exposing it directly in the API. We could add the flags to the update/patch calls to make sure the record isn't stale.

Buckets don't have generations. Objects have both. If you don't use patch, but rather manual read/modify/write via get/update, the update should necessarily use ifMetagenerationMatch so that you don't clobber intervening edits.

Right, buckets have metageneration parameters on their crud API calls, and files/objects have both generation and metageneration.

Let me know if this needs to be in gcloud-ruby for release and I'll assign it to the appropriate milestone.

In order of priority:

Being able to specify an object generation for read, copy, compose
Being able to specify an object generation & metageneration, and bucket metageneration for CRUD.

ifGenerationMatch=0 is the equivalent of "don't overwrite", which ends up being useful.

Hi Mike, closing this.  Please reopen with more description if still relevant.  Thanks.  Dan


EC property(CustomField) for processor VPD is not consistent.

Machine:- Barreleye.
EC property on processor VPD is not consistent.
EC property sometimes comes as CustomProperty2 or CustomProperty3.
Could be the difference is some time host boot sends the ECID and sometimes not.
First Instance
_append_to_dict: VPD Key = [Manufacturer] : Type Code=[ASCII+Latin] : Len = [3] : Val = [IBM]
_append_to_dict: VPD Key = [Name] : Type Code=[ASCII+Latin] : Len = [16] : Val = [PROCESSOR MODULE]
_append_to_dict: VPD Key = [Serial Number] : Type Code=[ASCII+Latin] : Len = [12] : Val = [YA3932647569]
_append_to_dict: VPD Key = [Part Number] : Type Code=[ASCII+Latin] : Len = [7] : Val = [00UL864]
_append_to_dict: VPD Key = [FRU File ID] : Type Code = [BINARY] : Len = [2] : Val = [0x2020]
_append_to_dict: VPD Key = [Custom Field 1] : Type Code = [BINARY] : Len = [0] : Val = []
_append_to_dict: VPD Key = [Custom Field 2] : Type Code=[ASCII+Latin] : Len = [5] : Val = [EC:20] #<---
_append_to_dict: VPD Key = [Custom Field 3] : Type Code = [BINARY] : Len = [0] : Val = []

Another Instance
_append_to_dict: VPD Key = [Manufacturer] : Type Code=[ASCII+Latin] : Len = [3] : Val = [IBM]
_append_to_dict: VPD Key = [Name] : Type Code=[ASCII+Latin] : Len = [16] : Val = [PROCESSOR MODULE]
_append_to_dict: VPD Key = [Serial Number] : Type Code=[ASCII+Latin] : Len = [12] : Val = [YA3932647569]
_append_to_dict: VPD Key = [Part Number] : Type Code=[ASCII+Latin] : Len = [7] : Val = [00UL864]
_append_to_dict: VPD Key = [FRU File ID] : Type Code = [BINARY] : Len = [2] : Val = [0x2020]
_append_to_dict: VPD Key = [Custom Field 1] : Type Code = [BINARY] : Len = [0] : Val = []
_append_to_dict: VPD Key = [Custom Field 2] : Type Code=[ASCII+Latin] : Len = [37] : Val = [ECID:0196183141201596090D000000A42C87]
_append_to_dict: VPD Key = [Custom Field 3] : Type Code=[ASCII+Latin] : Len = [5] : Val = [EC:20] #<----
_append_to_dict: VPD Key = [Custom Field 4] : Type Code = [BINARY] : Len = [0] : Val = []
_append_to_dict: VPD Key = [Custom Field 5] : Type Code = [BINARY] : Len = [0] : Val = []
_append_to_dict: VPD Key = [Custom Field 6] : Type Code = [BINARY] : Len = [0] : Val = []
_append_to_dict: VPD Key = [Custom Field 7] : Type Code = [BINARY] : Len = [0] : Val = []
_append_to_dict: VPD Key = [Custom Field 8] : Type Code = [BINARY] : Len = [0] : Val = []

Can you provide some context here?  Where is all of that code you pasted coming from?  It isn't Hostboot so I'm guessing maybe OpenBMC?  Or some external tool that is processing the FRU inventory?

Could be the difference is some time host boot sends the ECID and sometimes not.
This is exactly the case.  Early in the boot we do not have the ECID information for the processor yet.  That cannot be read from the chip until midway through boot.  Once we read that, we resend the inventory with that additional info.

@dcrowell77 :- you are correct that these are the traces on the openbmc.
what is the custom field for EC?

First of all, EC != ECID, which are you referring to?
For ECID there is a custom property that starts with the ASCII string "ECID:".  As mentioned above, that isn't filled in during the initial data population since the data is not available until later in the IPL.
For EC there is a custom property that starts with the ASCII string "EC:".  This should be present for all FRUs that contain chips.

@dcrowell77 : I was more interested in which custom property ,host boot sends the EC?

I understand that EC and ECID is not same,I am more interested to know in which custom property host boot send the EC data?

I'm still confused about what you are asking.  The custom property is literally "EC: 10".  If you are expecting that the value is always in the same order, that is not a good assumption.  We add the custom fields as we find them so the orders are not consistent.
Maybe @wghoffa can help translate the mess that is IPMI FRU Inventory...

Working as designed.


Post-release v1.2.0

Description of the change: post release v1.2.0
Motivation for the change: post release
Note: I need to add add a separate sanity check for release tags that takes into account annotation version changes.
Checklist
If the pull request includes user-facing changes, extra documentation is required:

[ ] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] Add or update relevant sections of the docs website in website/content/en/docs

/cc @jmrodri

Superseded by #4213


Other ajax api

checked from https://azkaban.readthedocs.io/en/latest/ajaxApi.html#, I found that there were several api that were not included in this python cli, such as fetchProjectLogs, fetchprojectflows, fetchflowgraph. I thinks they're also important. So why we don't have them and is there any plan to add them?

These APIs didn't exist at the time this project was created. No plans to add them at this time, but PRs are welcome!

thanks! I'm trying to pull request, but it returns 403 when i push to master.
could you please help to check this?
remote: Permission to mtth/azkaban.git denied to ruor.
fatal: unable to access 'https://github.com/mtth/azkaban.git/': The requested URL returned error: 403

Yes, you should fork the repo.This article has a nice overview of the process.

thanks! I pulled a request, could you please help to review it when you have time?
https://github.com/mtth/azkaban/pull/37


Agregar definicion de componentes

Buenas practicas y técnicas
DRY y OOCSS, BEM, SMACSS, MCSS

Sounds like a good idea, but sadly this is too wide and vague to address. If further details are provided we could re-open this.


Use Git dep for Prost

Use a Git dep for Prost so we get some optimisations which are not present in the current release.
PTAL @ice1000 @overvenus

0.38s$ cargo build
The command "cargo build" exited with 101.
0.22s$ cargo test --all
The command "cargo test --all" exited with 101.
before_cache
0.11s$ find $TRAVIS_BUILD_DIR/target/debug -maxdepth 1 -type f -delete
cache.2
store build cache
216.50serror: failed to parse manifest at `C:\Users\travis\build\pingcap\grpc-rs\proto\Cargo.toml`
Caused by:
  Dependency 'prost' has different source paths depending on the build target. Each dependency must have a single canonical source path irrespective of build target.
error: failed to parse manifest at `C:\Users\travis\build\pingcap\grpc-rs\proto\Cargo.toml`
Caused by:
  Dependency 'prost' has different source paths depending on the build target. Each dependency must have a single canonical source path irrespective of build target.

Maybe need to modify proto's dependency as well

Let's see what does the CI say this time

FYI travis_wait can let travis ci to wait a longer period of time

Pre-emptive LGTM pending ci

CI is green, PTAL @ice1000

@brson ping to make your review official so this can be merged :-)


Solumate Support on Heroku

Reading redistogo url from ENV to support soulmate on heroku

I'm not opposed to supporting the setting of the redis url through the environment, but I'd prefer the env variable to just be REDIS_URL. Then in an initializer/bootstrap type location, you could just copy REDISTOGO_URL to REDIS_URL. Does that make sense?

Sure thing. Changed the commit.

Cool, thanks a lot!


Use shared memory

Would be better to share jdomain state among all workers in order to save on redundant DNS queries and also keep all workers in sync when an update  occurs.

I too think this would be really good as it would prevent the inrush of DNS queries after daemon reload.
Any chance @nicholaschiasson that you are going to look into this. I'm happy to help (although I'm not super familiar with nginx).

I would be happy to make some contributions on other matters however, like getting the tests working again

Hi @splitice , unfortunately I haven't had the time to address this. I would appreciate some help for sure. I realized right away with my last change that I broke tests and had been trying to fix that but got sidetracked. If you are willing to help with that of course that would be super appreciated! Just drop a merge request whenever you like.

Won't the zone directive present in upstream module do the job here?
http://nginx.org/en/docs/http/ngx_http_upstream_module.html#zone
If you check the function ngx_http_upstream_zone_copy_peers in ngx_http_upstream_zone_module.c, in the end it sets pointer of peers in ngx_http_upstream_srv_conf_t to a pointer backed by shared memory pool.
We don't have to do much on our end. Just need to store the address to the shpool from ngx_http_upstream_rr_peers_t
during ngx_http_upstream_init_jdomain (in instance struct I would say)  and then use something like ngx_http_upstream_rr_peers_wlock and ngx_http_upstream_rr_peers_unlock for the stored shared pool during ngx_http_upstream_jdomain_resolve_handler while updating the peers.

Looks like shared memory pool has init after the modules configuration init where upstream module called upstream_init. So the pointers copied by jdomain won't be the shared ones.


histogram metric for lustre_disk_io_total...

I'm not sure where to put this request, or I can submit a PR for discussion, but lustre_disk_io_total would be nicer if it was histogram'med instead of having it as a counter, but I guess it depends on what people are using the metric for

@jcftang This is a perfectly fine place to put it. We appreciate the feedback for sure. I think we avoided histograms in general for this first-ish pass through Lustre data, but if you think it'd be more valuable as a histogram it's absolutely something we can investigate.

There's use cases that I am looking for this..
The first one is to see the frequency of block sizes, which this metric sort of has already but it doesn't really seem to fit in with what prometheus's histogram_quantile() function does (I may be doing something wrong with my query), this would help in identifying if the system is reasonably setup on the OST side.
The second use case is to get a histogram of the latencies related to each block size, though I'm not sure if this data is available or not from lustre. This could be used as an indicator of some sort to validate if the system is running in an expected way.
Having those two things would help quite a bit in tuning/identifying behaviours on the OST side and also seeing roughly what users are doing


React to security changes

Also fixes https://github.com/aspnet/Mvc/issues/2590
cc @rynowak

:shipit:


MODE-2350 OracleDdlParser update for multi-op ALTER TABLE

Method parseAlterTableStatement now supports basic chained ADD and/or
MODIFY commands. The existing functionality should be the same (ran
tests without issues).
Will do some more coding later to add complete column definitions as
ALTER TABLE MODIFY currently only detects changes that include datatype
modifications.

modified parseAlterTableStatement

modified parseColumns and overloaded for compatibility

created Oracle local parseColumnDefinition

hopefuly not broken things (... much)

superseded by https://github.com/ModeShape/modeshape/pull/1383


[DevOps Vagrant VMs] IPXE / Vagrant Support For AirGap Integration With Single Rancher Instance

This is a linking issue to link to:
https://github.com/harvester/ipxe-examples/pull/45

Currently in review - pending some issues with vm creation & rke - currently been working on v1.1.1 issues


Adjusted consistency with other pages regarding display of [smartscreen.microsoft.com]

Adjusted display consistency with MDE's Communication Requirements page and other pages.
Before change: .smartscreen.microsoft.com
After change (Removed trailing [*]): *.smartscreen.microsoft.com
Pages that currently display as [*.smartscreen.microsoft.com]
https://learn.microsoft.com/en-us/windows/privacy/windows-endpoints-20h2-non-enterprise-editions https://learn.microsoft.com/en-us/windows/privacy/windows-endpoints-2004-non-enterprise-editions https://learn.microsoft.com/en-us/windows/privacy/windows-endpoints-1909-non-enterprise-editions https://learn.microsoft.com/en-us/windows/privacy/windows-endpoints-21h1-non-enterprise-editions https://learn.microsoft.com/en-US/defender-endpoint/configure-environment#enable-access-to-microsoft-defender-for-endpoint-service-urls-in-the-proxy-server https://learn.microsoft.com/en-US/defender-endpoint/network-protection#configuring-network-protection https://learn.microsoft.com/en-us/deployedge/microsoft-edge-security-endpoints#microsoft-defender-smartscreen-services

Why

Closes #[Issue Number]

Changes

@mts-2021  Thanks for catching that. We missed that when we made the other smartscreen changes last week. We've submitted a separate pull request to fix this, so we're closing this pull request.


Insert a new section containing list of Programing Language

I would like to introduce a section named "Sharpen you skills" below About us section, which will include a list of different programming languages for user to make easy choice for practise.
As a GSSOC'21 participant I would like to work on this issue .Please assign me this task.
A brief idea is given in picture.

for each of the language
we use differnrent icon
so it will easy to understanf  and familiar with user
allow me to make the changes

Hey, I'm gssoc'21 participant, I would like to give my hand in this project. Please assign this issue to me.

Hey, I'm also gssoc'21 participant, I would like to give my hand in this project. Please assign this issue to me


marquee

Because the  tag is deprecated - but still usable - it would be good to have a list of browsers that still support it and how deeply it is supported.

Tested on Windows 10: Edge, Opera, Chrome, Firefox all still support it.

Also on iOS

Not here but in the page itself..!

For now I have included this in the "obsolete elements" list at http://caniuse.com/#search=marquee
As authors are advised not to use these tags I'm not in a rush to include support data, but if eventually it gets enough votes I'll reconsider.

caniuse is not shouldiuse!

Which is why I'm leaving this open. But considering the size of http://caniuse.com/issue-list/ it makes sense to prioritize features browsers are adding support for and that developers are interested in rather than ones that are losing support.

-1

HTML 5.2
https://www.w3.org/TR/html52/rendering.html#the-marquee-element-rendering

Now available at https://caniuse.com/#feat=mdn-html_elements_marquee


Add gRPC PHP dependencies to Travis/Docker

The PHP lib for gRPC requires PHP 5.5+.

Updated Travis to PHP 5.5 by building with phpenv.
Updated Docker to PHP 5.6 by switching from wheezy to jessie.

Using Composer to download other dependencies, as instructed in gRPC docs.

Cool stuff, LGTM

This change almost doubled the space of our cache: From ~140 MB to ~255 MB.
I prefer to keep the cache as lean and minimal as possible.
Can you please look into caching less things? My guess is that currently all build output of the php compilation + its source files get cached. We don't need any of that :)
To reduce the cache further, have a look at the internal documentation I created. I described how to find out the minimum set of files which must be cached for a specific command. Here's an example of it for the "make proto" command:
strace -o logfile -e trace=file -f make proto
grep -vE "(stat\(|= -1 ENOENT)" logfile | grep -o -e 'dist/[^"]*' | sort -u


Exclude .so files from exe copy

@pikajude do you know in what situations cargo generates sos? I thought it mostly produced rlibs. Also, should we also filter out .dylibs?

They're generated when a crate in the workspace exports a proc macro. Is naersk designed to be a first-class Rust crate builder or is it just meant to be a top-level wrapper to produce binaries/libs from a Rust project? If 1), we should keep the shared objects since they would break exported proc macros. If 2), they should all be deleted.

Thanks!


TypeError: c.scale is undefined

...is,b=a.config,c=a.d3,d=b.data_colors,e=v(b.color_pattern)?b.color_pattern:c.scal...

<link href="c3/c3.css" rel="stylesheet" type="text/css">

I have the same problem (with the same example).
The error message changes to d3.scale is undefined (c3.js:5783:22) when we replace the c3.min.js file by c3.js.

I had with both, c3.js and c3.min.js the same behavior.
After some investigation and code changing it figured out d3 is the problem.
var chart = c3.generate({
	bindto: '#chart',
	data: {
		columns: [
			['data1', 30, 200, 100, 400, 150, 250],
			['data2', 50, 20, 10, 40, 15, 25]
		]
	}
});

Gave me the error TypeError: d3.scale is undefined c3.js:5504:23
c3 version: 0.4.10 - not minified - local copy
d3 version: 4.0.0 - also not minified - local copy
after changing to d3 version 3.5.17 (loaded from http://d3js.org/d3.v3.js) the chart renders flawleslly.

which version of c3 and d3 am I supposed to take?

Tested locally and it works ...


Issues with datatypes in .yaml

The datatype checks miss out on certain np types.
They need to be extended to reliably check for np.floating and np.integer on top of only native int and float

Closed with #72


Add LICENSE.md to RELEASE

These files seem redundant wrt readme.txt that's already included in the archive (which is why they were left out) - can you clarify why they are necessary?

The file LICENSE.md looks like the obvious "license file" of pugixml. "License files" are frequently packaged together with the source. Furthermore, the file LICENSE.md is referenced from README.md:

This library is available to anybody free of charge, under the terms of MIT License (see LICENSE.md).

So I guess it would make sense to distribute both, LICENSE.md for the license file and README.md for some initial reading/information.

But readme.txt already includes initial reading  information as well as the full license text (and license boilerplate is also duplicated in headers/sources).
I guess my point is that not including this into the release archive is not an oversight, it’s a conscious choice to minimize the amount  of redundancy (which readme do you open? If readme.txt is omitted, what do novice users do with the fact that .md doesn’t have a default Windows file association? etc).
So including this requires that to solve some problem that’s more important than having two readme files in the archive.

From a packaging point of view it’s preferable to have the README and LICENSE separate. For low space devices (arm) the license file is installed by necessity but other documentation is not.

I am probably missing some context here. If having a license file be separate from readme is a packaging requirement I am up for including LICENSE.md into the release archives but it doesn’t seem like this necessitates inclusion of README.md.

OK, I have updated the PR now, so that only LICENSE.md is added to RELEASE.

It's not a hard requirement but is typical. Pretty much all of the 150 packages I maintain for Fedora have a LICENSE or COPYING file. It gets marked as a license file in the RPM spec file while the rest get marked as documentation.

Thanks!


Header shadow rendered unnecessarily on first paint

The header drop shadow is incorrectly rendered on first paint, when the scroll position is at the top. Scrolling down and back up correctly removes the shadow.
The shadow should also only be applied when scrollTop is bigger than 0, in other words not when the scrollTop is zero or negative (which can happen when over scrolling):
https://github.com/Saulis/iron-data-table/blob/master/iron-data-table.html#L695

Just tested, and changing the check from !== 0 to > 0 fixes the first paint also.


Merging raw coverage files fails with "Argument list too long" on macOS

I have a corpus of about 3483 different samples. Merging fails when running llvm-profdata because it lists each profraw file in the arguments. I believe llvm-profdata supports specifying a directory instead of individual file names. Doing that would probably solve this.

Ah that's no good!
I don't personally have the cycles to fix this right now, maybe @amaurremi does?

@jrmuizel Does #336 fix your issue?
You can check by running cargo install --git https://github.com/silvergasp/cargo-fuzz.git cargo-fuzz


Cannot find module '../node_modules/generator-jhipster/generators/generator-constants.js'

Look closed and opened issues to check if it isn't already tracked.
Please follow the issue template below for bug reports and feature requests.
For bug reports its mandatory to paste the result of command yo jhipster:info run in your project root folder.
Tickets opened without any of these pieces of information will be closed without any explanation.

Overview of the issue
xxxxx@xxxxxx ~/spike/testjhipster (master) $ yarn add generator-jhipster-db-helper
yarn add v1.22.10
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/5] Validating package.json...
[2/5] Resolving packages...
warning @angular-builders/custom-webpack > @angular-devkit/build-angular > webpack-dev-server > chokidar ><EMAIL_ADDRESS>fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning generator-jhipster-db-helper ><EMAIL_ADDRESS>Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
[3/5] Fetching packages...
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>- 3".
warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning "@angular-builders/jest ><EMAIL_ADDRESS>has unmet peer dependency "<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has unmet peer dependency "webpack@^1 || ^2 || ^3 || ^4 || ^5".
warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| ^5.0.0".
warning "generator-jhipster ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| ^2.0.0".
[5/5] Building fresh packages...
success Saved lockfile.
success Saved 44 new dependencies.
info Direct dependencies
└─<EMAIL_ADDRESS>info All dependencies
├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>└─<EMAIL_ADDRESS>Done in 59.88s.
xxxx@xxxx ~/spike/testjhipster (master *) $ yo jhipster-db-helper
(node:833566) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
Error jhipster-db-helper

Cannot find module '../node_modules/generator-jhipster/generators/generator-constants.js'
Require stack:
- /workspaces/spike/cshipster/node_modules/generator-jhipster-db-helper/generators/dbh.js
- /workspaces/spike/cshipster/node_modules/generator-jhipster-db-helper/generators/app/index.js
- /home/xxx/.nvm/versions/node/v14.17.1/lib/node_modules/yo/node_modules/yeoman-environment/lib/util/esm.js
- /home/xxx/.nvm/versions/node/v14.17.1/lib/node_modules/yo/node_modules/yeoman-environment/lib/store.js
- /home/xxx/.nvm/versions/node/v14.17.1/lib/node_modules/yo/node_modules/yeoman-environment/lib/environment.js
- /home/xxx/.nvm/versions/node/v14.17.1/lib/node_modules/yo/lib/router.js
- /home/xxx/.nvm/versions/node/v14.17.1/lib/node_modules/yo/lib/cli.js

Motivation for or Use Case
Following the steps in order to install generator in a fresh jhipster app
Reproduce the error

Related issues
Didnt found any
Suggest a Fix
no idea Im not good at JS
JHipster & JHipster-db-helper Version(s)

JHipster configuration
{
  "generator-jhipster": {
    "applicationType": "monolith",
    "baseName": "testjhipster",
    "jhipsterVersion": "7.1.0",
    "skipClient": false,
    "skipServer": false,
    "skipUserManagement": false,
    "skipCheckLengthOfIdentifier": false,
    "skipFakeData": false,
    "jhiPrefix": "jhi",
    "entitySuffix": "",
    "dtoSuffix": "DTO",
    "testFrameworks": [],
    "blueprints": [],
    "otherModules": [],
    "pages": [],
    "creationTimestamp":<PHONE_NUMBER>814,
    "serviceDiscoveryType": false,
    "reactive": false,
    "authenticationType": "session",
    "packageName": "com.myown.testjhipster",
    "serverPort": "8080",
    "cacheProvider": "ehcache",
    "enableHibernateCache": false,
    "databaseType": "sql",
    "devDatabaseType": "h2Disk",
    "prodDatabaseType": "mysql",
    "buildTool": "gradle",
    "serverSideOptions": [],
    "websocket": false,
    "searchEngine": false,
    "messageBroker": false,
    "enableSwaggerCodegen": false,
    "clientFramework": "angularX",
    "withAdminUi": true,
    "clientTheme": "minty",
    "clientThemeVariant": "primary",
    "enableTranslation": false,
    "nativeLanguage": "en",
    "packageFolder": "com/myown/testjhipster",
    "rememberMeKey": xxx,
    "devServerPort": 4200,
    "clientPackageManager": "npm",
    "languages": ["en", "fr"],
    "lastLiquibaseTimestamp":<PHONE_NUMBER>000,
    "entities": ["Product"]
  }
}

Entity configuration(s) entityName.json files generated in the .jhipster directory

Browsers and Operating System
Linux/Ubuntu
unrelated to browsers

[X] Checking this box is mandatory (this is just to show you read everything)

Does anyone have a solution and/or workaround for this?


Raise an error when calling custom matcher without using .and

Subject of the issue
Hi there folks 👋 ,
First of all, thank you for this great gem! I created this issue here just to offer a small idea, I encountered a small scenario when using custom matchers.
Let's say we have this custom matcher
RSpec::Matchers.define(:create_some_model) do
  chain(:method1) {}
  chain(:method2) {}
  chain(:method3) {}
  ...
end

describe do
  it do
    expect { some_action }.to create_some_model(Model).method1.method2.method3.create_some_model(Model2)
  end
end

As you can see, it is easy to make mistake as we sometime might forget to add .and between create_some_model and this could create false-positive test result as it will only run create_some_model(Model2). I understand that this is more human error but I would love to prevent it.
My idea is in RSpec::Matchers::DSL::Matcher, we also define
class RSpec::Matchers::DSL::Matcher
  define_method(method) do
    raise "You did not use .and between your 'create_some_model' test expectation"
  end
end

So calling create_some_model twice will resulting in error like that. There is one catch with this approach is you cannot call the same create_some_model inside the matcher itself but IMHO, I don't think it is a good idea to do such
RSpec::Matchers.define(:create_some_model) do
  chain(:method1) {}
  chain(:method2) {}
  chain(:method3) {}

 def something
   expect { }.to create_some_model <-- this doesn't work
 end
  ...
end

I can create a PR to apply this idea, please let me know what do you guys think. Thank you for reading!
P/S:
There is 1 more approach besides that is to get rid of the defined custom matcher method from RSpec::Matchers::DSL::Matcher but if we do that we also have to get rid of the method_missing as well which I don't think it is a good idea.
Your environment

Ruby version: 2.7.5
rspec-expectations version: 3.13.0.pre

Thanks for reporting! It’s certainly accidental behaviour.
Wondering if it’s possible to play with access levels to disallow explicit receiver.
I’m pretty sure there were cases where yhe matcher was called recursively. If it would be possible to keep this and issue a warning, that would be perfect.
A PR to fix this is welcome!

Thanks for reporting! It’s certainly accidental behaviour.
Wondering if it’s possible to play with access levels to disallow explicit receiver.
I’m pretty sure there were cases where yhe matcher was called recursively. If it would be possible to keep this and issue a warning, that would be perfect.
A PR to fix this is welcome!

Hello there!
Surely, I would play around with access levels to see if I can somehow do that, otherwise if it is too complicated then I believe we can raise it as a warning instead of error

Hello there @pirj 👋  I hope you are doing well, I have opened a PR for this issue. Thank you!

Hey folks, I hope you are all well!
I have left a comment here https://github.com/rspec/rspec-expectations/pull/1428#issuecomment-1681781748, could you guys have a look ? Thank you


Nuxt with AntDV Throws Error: yarn and pnpm

I followed the settings using the link below:
https://nuxt.com/modules/ant-design-vue
1.  pnpm add -D @ant-design-vue/nuxt

2. Add @ant-design-vue/nuxt to the modules section of nuxt.config.ts
my nuxt.config.ts
export default defineNuxtConfig({
  modules: ["@ant-design-vue/nuxt"],
  devtools: { enabled: true },
});

3. App.vue
<script lang="ts" setup>
const handleMessage = () => {
  message.info("This is a normal message");
};
</script>
<template>
  <a-button @click="handleMessage"> button </a-button>
</template>

4. result

Attempts to Resolve the Issue

Reinstalling Dayjs

Not working

Changed the Package Manager  pnpm to npm

Worked!
yarn, pnpm is not working. only npm is working

After deleting the node_modules and reinstalling with npm, it worked properly. I am curious as to why this issue occurs. Since the version management tools preferred by modern developers are yarn and pnpm rather than npm, I will keep the issue open.

try  npx nuxi@latest module add ant-design-vue

Thank you!!!


Ability to pass a list as filters instead of range

We need to have the ability to pass a list as filters instead of just minimum and maximum values.

This is available in the RealisticLoadTestTool. See either DemoLoadTest1 or 2.

or if you want to generate the range with some code, JavaScript code is acceptable:
https://github.com/microsoft/PowerBI-Tools-For-Capacities/issues/12

Thanks @furmangg - I will also have a look at RealisticLoadTestTool. I did a quick hack on the PowerShell and Javascript to accommodate my use case.


Bug getBoundary() for PHP 8 and CASE error.

There is an error in getBoundary() for PHP 8. str_replace will change a null into a empty string.
This will break the rest of the code flow for example find_parts():
if (($boundary = $this->getBoundary()) === null)  {
    throw new MessageContentFetchingException("no content found", 0);
}

There are also mails with case boundary example:
Content-Type: MULTIPART/RELATED; BOUNDARY="1530194440-19055-1609978869=:57168"
This can be solved by making the regex pattern case insensetive.
Fixes Webklex/laravel-imap#385

HI @mennovanhout ,
many thanks for your pull request!
Best regards,

HI @mennovanhout ,
many thanks for your pull request!
Best regards,


Rock Paper Scissors

Create a Rock Paper Scissors game using React

hey @Shreyaar12, I want to create this game. I have experience in react. Please assign it to me.

I have created game using react and I would like to work on this issue.

I have created game using react and I would like to create this game.

I would like to work on this issue, please assign this issue to me under GSSoC'23.

@aniketburman014 Kindly complete this within 1 week

@Shreyaar12 sir i want to work on this issue under gssoc'23


Add dialect-specific extension point to Expr

Currently, Expr is closed, and subtypes of the Sql module cannot add new expressions. This is inconvenient as different dialects of SQL support different constructs.
To support extensibility, we can add a new constructor for Expr that holds a module-defined type, e.g:
type DialectSpecificExpr[Features, -Input, Output]

...

object Expr {
  ...
  sealed case class DialectSpecific[F, -A, B](dialectSpecific: DialectSpecificExpr[F, A, B]) extends Expr[F, A, B]
}

This way, a dialect that has no extension can define type DialectSpecificExpr[F, I, O] = Nothing, while others can define it to be a custom type.

An initial approach was proposed in https://github.com/zio/zio-sql/pull/309, but it had to be closed for now due to conflicts.


[fix][security]security optimize for executable binary file doris_be …

…access should be restricted #29301
Proposed changes
Issue Number: close #29301

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


[FEATURE REQUEST] Filebeat DaemonSet

Is your feature request related to a problem? Please describe.
We need to be able to start Filebeat as DaemonSet to gather logs from machines on managed Kubernetes services.
Describe the solution you'd like
We would like to install it using helm locally from our container.
This task should be implementation of findings in task #1608 tested with AKS and (if possible) EKS.
Describe alternatives you've considered
We could also install the DaemonSets using manifests files.
Additional context
No context.

Filebeat as DaemonSet added to Epiphany code but still it needs to be tested using helm locally. Blocked by #1640.

FIlebeat as DaemonSet for "k8s as cloud service" using Helm and archived chart file - Done in PR #1730


Augment Toolkit Not Recognizing Config.yaml with Ollama Mistral 7B Locally

I’m running Ollama with Mistral 7B locally on http://localhost:11434 (ollama is running). My config.yaml file is valid and paths are correct, but Augment Toolkit fails to recognize it.
Steps Taken:
Verified file existence (ls -l, cat ./config.yaml).
Updated permissions (chmod 644 config.yaml).
Forced config load (augment run --config ./config.yaml).
Confirmed Ollama is serving.
Switched paths twice to check if that was the case in config.yaml:
PATH:
DEFAULT_PROMPTS: ./original/prompts
INPUT: ./original/input
OUTPUT: ./original/output
PROMPTS: ./original/prompts
PATH:
DEFAULT_PROMPTS: ./prompts
INPUT: ./input
OUTPUT: ./output
PROMPTS: ./prompts
d.txt': No such file or directory
(augment311) me@DESKTOP:~/augment$ ls -lh ./original/input/HAC2_cleaned.txt
-rw-r--r-- 1 grq79 grq79 17K Dec 10 22:49 ./original/input/HAC2_cleaned.txt
Is there an additional flag, environment variable, or file loading behavior specific to local LLMs?

Got it fixed. I forgot to run nohup ollama run mistral > ollama_output.log 2>&1 &, which got augment to start processing. Will leave this here for future reference.


sample fix for o(n!) of combinatorial complex

@mhajij  Combinatorial_complex has  an attribute named ' _aux_complex ' , that is an object of simplicial_complex. Adding a cell into the  combinatorial_complex , basically involves creating a simplex , and then  passing it to add_cell method of '_aux_complex'. I had to change all the three in order to add a cell of order 17 or above .However  for combinatorial complex  the coadjacency does not work after modification, and for sure it have consequences for simplicial_complex.

@bahramiramazan  since the problem you raised above is in the combinatorialcomplex class, then why are you modifying the simplicialcomplex class?

@bahramiramazan all checks have failed (see above): they would need to pass before we can merge. Thanks!

@bahramiramazan all checks have failed (see above): they would need to pass before we can merge. Thanks!

well noted ! thanks


Format testimonial on customer breakthroughs

Format customer testimonials text in blue, bold, and italics globally for customer breakthroughs.
Like this-

Example URLs -
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/img/mimetas
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/img/yashraj-biotechnology
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/img/turner-labs
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/cns/university-of-michigan

IHMO we should use the https://github.com/hlxsites/moleculardevices/tree/main/blocks/quote block for this. We already use that in blog and it supports quotes with & without authors. Tagging this as post go-live as this is only about styles.

@MeghnaTewari could you confirm if the quote here is good? https://846--moleculardevices--hlxsites.hlx.page/en/assets/customer-breakthrough/dd/img/mimetas
Could you please provide all the customer breakthrough URLs with quotes? or the 4 above are all?

@duynguyen The quote looks good. Here are all the URLs with quotes.
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/img/qorium
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/img/yashraj-biotechnology
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/img/turner-labs
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/cns/university-of-michigan
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/cns/york-university
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/img/seattle-children-hospital
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/br/university-of-rouen
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/img/university-of-leeds
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/img/3d-imaging-of-disease-models
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/br/etap-lab
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/img/mimetas
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/flipr/towards-personalized-medicine
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/img/gustave-roussy-cancer-center
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/img/university-of-zurich
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/img/sens-research-foundation
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/br/university-of-liege
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/br/iteos-therapeutics

thank you @MeghnaTewari . appreciate the effort to compile the list. I will add quote block to those.

@duynguyen I am not able to see the quote changes on the below URLs. Can you please check?
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/cns/university-of-michigan
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/cns/york-university
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/img/seattle-children-hospital
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/br/university-of-rouen
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/img/university-of-leeds
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/img/3d-imaging-of-disease-models
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/br/etap-lab
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/flipr/towards-personalized-medicine
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/img/gustave-roussy-cancer-center
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/img/university-of-zurich
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/dd/img/sens-research-foundation
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/br/university-of-liege
https://franklin.moleculardevices.com/en/assets/customer-breakthrough/br/iteos-therapeutics

@MeghnaTewari that's correct, the ticket got automatically closed as code merged, but content is yet to be updated (I'm on it)

Oh okay. Thanks

@duynguyen Looks good now.


Add snowflake_stage resource

@ryanking This PR is great! Should it warrant a new 0.9.3 (or 0.10.0) release? My vote: 👍

@doctoryes just released 0.9.3

Thanks, @ryanking !


Broken 0.10 Server Pack from Curseforge/Twitch

Zipfile contains a duplicate older LittleTiles "LittleTiles_v1.5.0-pre199_34_mc1.12.2.jar" causing a startup crash. deleting file fixes crash. Also it seems as if "patchouli_books" was updated for the client but not the server. i dont know if this is intentional.

Oops missed one. Uploading new version now. As for patchouli_books, wasn't deliberate, but I think that is mostly client anyway.


Removed API specifiers for private classes

Fixes #517

Thanks for the pull request @javagl!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

Reviewers, don't forget to make sure that:

[ ] Cesium for Unreal Samples works.


Cleanup intertx e2e tests

Description

closes: #4592
This PR:

Removes all references to intertx in tests.
Removes the specification of chain-image and chain-binary from the compat tests. (these were only required so we could pass icad)
Remove icad references in READMEs.

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.

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

Codecov Report

Merging #4715 (7312684) into main (3db1681) will increase coverage by 0.04%.
Report is 5 commits behind head on main.
The diff coverage is 100.00%.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #4715      +/-   ##
==========================================
+ Coverage   79.65%   79.70%   +0.04%
==========================================
  Files         187      187
  Lines       13195    13204       +9
==========================================
+ Hits        10511    10524      +13
+ Misses       2253     2251       -2
+ Partials      431      429       -2

Files Changed
Coverage Δ

modules/apps/27-interchain-accounts/types/keys.go
100.00% <ø> (ø)

...27-interchain-accounts/controller/keeper/keeper.go
90.74% <100.00%> (+0.11%)
:arrow_up:

.../apps/27-interchain-accounts/host/keeper/keeper.go
87.12% <100.00%> (+1.73%)
:arrow_up:

modules/apps/27-interchain-accounts/module.go
49.50% <100.00%> (+0.50%)
:arrow_up:

modules/apps/transfer/keeper/keeper.go
93.28% <100.00%> (+1.45%)
:arrow_up:

modules/core/keeper/keeper.go
92.00% <100.00%> (+0.33%)
:arrow_up:

🪦💀

https://github.com/cosmos/ibc-go/assets/25233464/e9f53983-123b-4c50-8356-f1a913e834f9

I broke upgrade tests somehow! Will fix before I merge


Jd/refactor sim sequence

Pending

[ ] Address inconsistency between Operations Results
[ ] Figure out serialization of OperationsProblem
[x] Use temp path in tests for operation model
[x] Add tests for templates

Note this issue with mktempdir() in windows https://github.com/JuliaLang/julia/issues/39457. This is why I removed the cleanup flag


[HOLD for payment 2024-05-06] [$250] [Search v1] Create Search widget

Section from design doc
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~013bed533d17650a06
Upwork Job ID:<PHONE_NUMBER>886089216
Last Price Increase: 2024-04-19

@Kicu please comment on this issue so I can assign it to you :)

hey, I confirm I will be working on this :)

https://www.upwork.com/freelancers/zaryabhayatkhan

@Kicu is still working on this

@Kicu , @dukenv0307 can you please submit a proposal or accept the job and reply here once you have?
https://www.upwork.com/jobs/~013bed533d17650a06

@mallenexpensify Unsure what you mean, this issue was already done and PR for it is merged.

The PR has been in prod for 7 days now. @Kicu is from SWM and worked on the implementation.

@dukenv0307 can you please accept the job and reply here once you have?
https://www.upwork.com/jobs/~013bed533d17650a06

Contributor+: @dukenv0307 paid $250 via Upwork
@dukenv0307 can you propose the steps for the TestRail update? We def want one for the new feature. Thx

The search feature is not yet fully complete so Im not sure how useful it is to write these test steps. Perhaps we should do these later?
For example:

Go to Settings > Troubleshoot > New Search Page

This is not how the actual navigation will work, this is temporary for developing the feature.

As @Kicu said, no tests needed at this time. We'll add them as part of the project wrap-up.

Groovy, closing out then. Thx y'all.


pypi badge added

closes #275

noticed some indentation errors in the docs because of my pr on #266 . Fixed them.

thanks!


Player invisble - Heigth problem

Browser: Firefox 70.0b11
OS: Windows Server 2019 Standard
Clappr Version: 0.3.8
Steps to reproduce:

Set heigth to 100% and width to 100%
Look at webbrowser.
I expect a full height of the window player. But instead the player is a height of 0px.

Did you try to reproduce this issue at http://cdn.clappr.io/
No, I didn't

ps: you can attach images, logs or whatever you think might be helpful.
ps: feel free to clean this if your issue is different.

@KingHorse2015 it is not a bug. When you set percentage for width and heigth, the player instance adjust his size to the "container" element. (in your case, the container may have a 0px height value).
Take a look at this example, (not the same issue, but it give an idea of how it works).

This code has solved the problem.
`body, html {
height: 100%;
}
.player {
width: 100%;
height: 100%;
}`


Collaboration Syncplay 1.6.4a - VLC 3.0.8 on MAC shows problem

I'm new in this forum, so be kind and help me solve my problem 🙏
To synchronise external sound for Zoom-Meeting I wanted to use Syncplay in combination of VLC, both latest versions  1.6.4a resp. 3.0.8, on my MacBook Pro Mid 15 (MAC OS 10.14.6) and at friends with Mac and Win PCs.
I use VLC for long time and use actual updates. Syncplay was downloaded from Syncplay.pl homepage and installed as recommended by drag-drop the button on the programs button.
Trying to run Syncplay  opened the settings windows and asked for the file source.
When giving a local mp4-file and starting Syncplay connects to the desired server, starts the VLC app and the file is processed, but after short time two error messages appear (see screenshots) and no commands are taken any more.
In the documentation I found that Syncplay works with VLC 2.X.
Can anyone give me a hint how to run Syncplay 1.6.4a and VLC 3.0.8 for synchronisation over internet ?
Regards  Wolfgang

Hello, thanks for reporting this. I am not completely sure that I understand your use case.
Anyway, I would check if the helper LUA script was copied correctly in the right location by the app. Could you check the content of the folder /Users/wolfgangloth/Library/Application Support/org.videolan.vlc/lua/intf and post it here? You can use either the Terminal or the Finder Go to Folder menu to access this folder.

THX for the quick reply.
I checked for the path but in Application support is no folder "org.videolan.vlc/lua/intf"
I've checked for vlc.lua and found it  in
wolfgangloth/Applications/ VLC/ Contents/MacOS/share/lua/inf/syncplay.lua
syncplay.lua size is 20 kb
Is this the wrong place ?

Interesting... Could you take a screenshot of the first dialog that opens when you start Syncplay (the Syncplay Configuration window)? Thanks

Ok, it seems that you have two instances of VLC installed in your system, one in /Applications/VLC.app (the one recognized by Syncplay) and another in /Users/wolfgangloth/Applications/VLC.app. Apparently, by default, Syncplay opens VLC from the former path but tries to copy the syncplay.lua script in the other path.
I would just delete one of the two VLC apps, if possible. Otherwise, you can select the copy installed in your home folder from the Syncplay configuration dialog (Path to media player) and try to run Syncplay in any case.

So in the /Applications/VLC.app path there is no syncplay.lua ; but all modules end with ".luac"
Should I transfer the synplay.lua to this place and delete the other path ?

I have renamed the second path from "Application Support" and copied the syncplay.lua to the "Applications" path ... but got the same results.
One strange thing: When I downloaded  syncplay.lua it appeared in the download folder as "syncplay.lua.html". I guessed that this was a download failure and renamed it to syncplay.lua.
Was this a mistake ????

I would recommend deleting both the VLC apps from /Applications and /Users/wolfgangloth/Applications/, then reinstalling VLC, then trying again with Syncplay.

I have reinstalled both, but can't find syncplay.lua in my vlc.app container !
As I understand it should be installed automatically to VLC.app, right ?
I have found it and copied it to VLC.app , ... but running syncplay gives the same results !
" Can't find syncplay.lua "

Did you reinstall both instances of VLC? That could be part of the problem.

I would just download the syncplay.lua file from here https://raw.githubusercontent.com/Syncplay/syncplay/master/syncplay/resources/lua/intf/syncplay.lua (be careful with the extension) and put it here /Users/wolfgangloth/Library/Application Support/org.videolan.vlc/lua/intf. Create all the subfolders needed if they are not there.

So sorry, it doesn't work !
What does the message mean ?
syncplay.lua: 542 : Cannot listen on localhost: 29071
Is there some other player for MAC and WIN you propose that will not give this problem ?

Seems to me as if there is only one way connection syncplay --> vlc , but the return path is missing !
So Syncplay starts VLC, i can hear the music and see the VLC window and Syncplay says at the same time in the right up window "no file being played" , i.e. the listening channel of Syncplay is not assigned or wrong assigned  ???

Alberto, I have uninstalled VLC completely.  Downloaded and installed VLC new.
Running Syncplay always gives me the same error messages
... and each start of Syncplay starts a new VLC session shown as icon in the task bar.
And ... I can't drag a file to the "share list window"

I was so full of hope and joy giving my chorus some possibility to sing together even though they can't hear it simultaneously because of the internet delay.
Don't have any idea how to get it work ?  Please 🙏

mpv has macOS release: https://mpv.io/installation/
Though I don't have any macOS device or experience to tell how well it works there. As far as Syncplay goes it's the player that integrates very nicely without need for any extra layers (which are needed for VLC).

Thank you Daniel, I read about MPV in the syncplay docu.
But I i'm out of programing (FORTRAN) since 30 years - odd user 😔
and doesn't know how to install it .

There's no need to be a programmer for installing mpv, you can get the latest app from https://laboratory.stolendata.net/~djinn/mpv_osx/mpv-latest.tar.gz . Just open the archive, move the mpv app it in /Applications and open it once. Then close it, try to open Syncplay and select mpv from the Path to media player field in the configuration dialog.

Thanks a lot Alberto 🙏
This works w/o error messages 👍
The Win version is as simple to install at my colleagues ?
Which Win installation would you prefer/propose ?

In line with the suggestion from @bobismijnnaam I have now now made commit ff6a6ad5a50180838fbd84c8f110d0b11495ff87 which will hopefully fix everything. Please try out the latest release from https://bintray.com/syncplay/Syncplay/Syncplay/v1.6.5#files and let me know if that fixes VLC support.
In terms of mpv on Windows, I personally use the latest stable releases from https://sourceforge.net/projects/mpv-player-windows/files/stable/ - for now Syncplay only supports up to mpv 0.32.0 due to a breaking change, so avoid the GIT HEAD releases for the time being. you may need to get the 7-Zip utility to extract the files. x86_64 is for 64-bit versions of Windows and  i686 means is for 32-bit versions of Windows.

EtOh, so sorry ... gives the same error message as 1.6.4a to me 😢
I deleted SyncPlay from "Programs" and installed new version via dmg-file.
But today we had my first synchron trial playing a "mp4" via WIN - SP / VLC and MAC - SP / mpv and it  worked as expected 🤩
Hope that we get MAC-SP / VLC also running, cause it is the most common player for my friends and already on their PCs.
Thank you very much for your commitment 🙏
If I can do something to help you find and eleminate the bug pls let me know !

It says it can't listen on a specific port. Is this a permission issue, e.g. you need to run it as administrator or change your firewall rules?

But the port number changes with every Syncplay start  o-) !
Tried to ping the localhost, but " cannot resolve localhost ... unknown host !"
I'm running the MacBook as Admin !

Hi friends, got a new problem :
When playing mp3  on MAC 10.14.6 (syncplay 1.6.5 / mpv) and WIN10 (Syncplay 1.6.4a /VLC) we could try to start the file playing, but my system always stepped back some seconds,  played 3 sec stepped back etc.  w/o touching the mpv-window ! ??? How can I avoid this ? mp4 is fine !
Sorry, forgot screenshot 🙏

Tried solo playing "mp3" on MAC and found the same situation ! With screenshot !
What to do ???

@Wol-Loth The latest build at https://bintray.com/syncplay/Syncplay/Syncplay/v1.6.5#files should hopefully fix playing music files on mpv. Please let me know how if it works!

@Et0h , SyncPlay-mpv on MAC-OS with mp3 and mp4 works well, thanks a lot 🙏 !
... the connection to VLC on MAC is still not working see screenshot

Glad to hear mpv is working. In terms of VLC the issue seems to be on the VLC side, not the Syncplay side. VLC is saying it can't listen on a port, but it isn't saying why. It could for example be a permission issue (is it being run as administrator/root?) or a firewall issue.

I seem to recall that on Linux if you are running Syncplay as root then you had to run VLC via vlc-wrapper to drop the privileges to allow access to listening on a socket. There might be a similar issue for macOS.

I run the MACBook as admin and don't think it's a permission problem, 'cause the "port number" changes with every  program start. How to give a permission, when the port changes ?

I'll put the question in the VideoLAN-Forum, let's wait and see 😉

For anyone wanting to keep track, the relevant thread on the VLC forums is: https://forum.videolan.org/viewtopic.php?f=29&t=111639&sid=dd3c4dab81e39bad07aabd448774024a

@Et0h : What is the Windows Mobil version good for ?
Is it for Windows-Laptops or for Mobile Pads with WIN ?
... and is there a "mobil" version for iPads underway ?
and   ....
Just learned in a ZOOM meeting that the media player with WIN 10 is mp2 and so seems compatible with SyncPlay  she told me :o)
Have to check it with the participant tomorrow and tell you the result (on an other thread ?)

@Wol-Loth What Windows Mobile version? We have only ever released Syncplay for PCs (inc. Windows, Mac, Linux and *BSD).
There are no plans for any official releases on other platforms, but Syncplay is open source so anyone is free to create their own unofficial iPad version if they wished (so long as they don't pretend it is an official Syncplay release).

Closing this as we did not manage to identify (let alone reproduce) the underlying bug. Please feel free to reopen this anytime.


Add htaccess rules to cache static content for webpage loading performance

Hi There,
We've just launch our first Grav website, upon checking the website through webpagetest.org to test loading performance it gives us a big RED F for caching. Coming from Drupal CMS background there's a htaccess rules that Drupal is using to work around with this. I copy pasted the htaccess rules and it fixes the problem. I am suggesting it to be added and be shipped with Grav htaccess files, following are the rules i've added
# Requires mod_expires to be enabled.
<IfModule mod_expires.c>
  # Enable expirations.
  ExpiresActive On

  # Cache all files for 2 weeks after access (A).
  ExpiresDefault A1209600

  <FilesMatch \.php$>
    # Do not allow PHP scripts to be cached unless they explicitly send cache
    # headers themselves. Otherwise all scripts would have to overwrite the
    # headers set by mod_expires if they want another caching behavior. This may
    # fail if an error occurs early in the bootstrap process, and it may cause
    # problems if a non-Drupal PHP file is installed in a subdirectory.
    ExpiresActive Off
  </FilesMatch>
</IfModule>

Regards,
Danreb

Is this better set in a way that adds allowed filetypes instead of any file except .php?
I'm using this for fonts on http://www.smartgravity.com and image types could easily be added by the user.
<filesMatch "\.(eot|svg|ttf|woff|woff2)$">
    Header set Cache-Control "max-age=604800, public"
</filesMatch>


RFC: meson: add mesonbuild support

I recognize there's enough complexity trying to maintain both CMake and Makefile, but meson has a few benefits including trivial support for Google Test and doxygen, and better provision of dependencies in pkgconfig than CMake.
Using AMQP-CPP as a subproject in a meson-based application becomes a simple matter of dropping something like the following as subprojects/amqpcpp.wrap:
[wrap-git]
directory = amqpcpp
url = /mnt/devel/external/RabbitMQ/AMQP-CPP
revision = dd00810f7fa3cc88470c52b274ea65c333cb5d66

and adding this to the project meson.build:
amqp_dep = dependency('amqpcpp',
                      default_options: [
                        'linux-tcp=true',
                      ],
                      fallback: ['amqpcpp', 'amqpcpp_dep'])

I've only tested this on Linux and with linux-tcp set.
If this is something that could be merged, I'd be happy to add some documentation.  The primary value to this project of merging it is Google Test support; secondarily it might help with #208.  If it's not wanted I'll maintain it myself or submit it to wrapdb.

I'm happy to merge this if that helps you, but the problem that I have with these kind of PR's is is that I do not use this technology, and I am also not familiar with it. I can therefore not maintain it or can judge what the quality of it is.
So I wait a little while to see if there are others who think this is helpful too before I press the merge-button.


404 error when reloading page

Hello all,
I created a website using React and Django (for backend). In development mode my website is working perfectly but on my apache server, in build mode, I have some issues with my router.
I had issues when i try to access to an url directly from url bar or when i'm reloading.
An other trouble is when i try to access to my website writting the IP adress in the url bar, i have the folder content displayed on the screen and i must to click on build to access to the website.
After that i can navigate inside it using the links but not reloading the page.
I already did some researchs but I can't solve my problem.
My project is hosted on a vm under "var/www/html/frontendProject/"
I have a .htaccess in the public folder:
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.html [QSA,L]

My homepage in package.json is set on "./"
index.html is the default file created at project start
My frontend/conf file in /etc/httpd/conf.d/ frontendFolder looks like that:
DocumentRoot /var/www/html/frontendFolder
<Directory "/var/www/html/frontendFolder">
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
</Directory>

And in my React code I have:
In src/index.js:
BrowserRouter surrounding my  Component
src/containers/App.js:
class App extends Component {
  render() {
    return (
      <div className="App">
        <Header />
        <Switch>
          <Route exact path={`/`} component={Carnet}/>
          <Route path={`/saisie/`} component={SaisiePage}/>
          <Route path={`/carnet/`} component={Carnet}/>
          <Route component={Page404} />
        </Switch>
        <Footer />
      </div>
    );
  }
}

scr/components/Header.js
class Header extends React.Component {
   componentDidMount() {
   }

   render () {
     return (
       <Navbar>
           <Navbar.Header>
             <Navbar.Brand>
               <Link to="/carnet/">ThermoLigne</Link>
             </Navbar.Brand>
           </Navbar.Header>
           <Nav>
             <NavItem eventKey={1}>
              <Link to="/saisie/" className="btn btn-link">Saisie des lignes</Link>
             </NavItem>
             <NavItem eventKey={3}>
              <Link to="/carnet/" className="btn btn-link">Tableau de bord</Link>
             </NavItem>
           </Nav>
       </Navbar>
      )
   }
}

If anyone has an idea to help me, i'll be thankful.
Thanks in advance

How is this a CRA issue? You should post this question on StackOverflow.

The React docs have a list of community resources where you can get help with general React questions: https://reactjs.org/community/support.html
I'm closing this as it's not directly related to Create React App.


Extra FTP details

Please add more info with regards to the type of FTP endpoint required. In what format should the endpoint be? How should the FTP site be secured? Is a self-signed certificate ok? Why is there linked info to an Azure storage account? How can we troubleshoot connection issues?

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

ID: 42b87d2b-70ca-e69c-80df-8128b5190918
Version Independent ID: 3604d7a8-97aa-c647-63d5-08795dbad316
Content: Configure the payroll integration between Talent and Dayforce - Talent | Dynamics 365
Content Source: articles/talent/configure-payroll-integration.md
Service: dynamics-365-talent
GitHub Login: @andreabichsel
Microsoft Alias: anbichse

@gregboyko and @andreabichsel - Can you take a look at this one? Thanks.

Bug 328760 created to track this issue.


PF cleanup: remove hardcoded CSS values

In custom CSS files, colors should never be hardcoded (some examples of non-recommended practices are here and here.
Alternatively, it'd be better to use PF semantic tokens (this will keep the styles dark theme compatible).
I am absolutely happy to help you find the correct semantic tokens. They all live in this css file. Any by default, a semantic token is one with NO number at the end of the token name.
i.e.  --pf-t--global--color--brand--100 is NOT a semantic token and should not be used.
Instead --pf-t--global--color--brand--default is a semantic token and would be better to use when trying to use the brand color.
Some semantic tokens I think you'll use often based on looking at your code:

instead of white for a background color use var(--pf-t--global--background--color--primary--default)
instead of white for an inverse text color, use var(--pf-t--global--text--color--inverse)
instead of black for an inverse background color, use var(--pf-t--global--background--color--inverse--default)
instead of red for a text color, use var(--pf-t--global--text--color--required)

It's also easy to identify code that is overriding the PF API's colors incorrectly is to add class="pf-v6-theme-dark" to the html or root element. Anything that does not flip to dark mode correctly is something to investigate.

Is this still relevant?  I would love to take a look at this to get familiar with the code base. I see there are several pull requests open and not sure if anyone else has started on it.


How to invite, convert or activate users in bulk?

I have imported many users. Now I would like to invite, convert to registered user or activate multiple users in het backend, but these bulk actions are not available from the drop down menu.
How do I add extra bulk actions in the in plugins/rainlab/user/controllers/users/_list_toolbar.htm ?
How do I add extra bulk actions in the users controller (plugins/rainlab/user/controllers/Users.php) to the bulk action method \RainLab\User\Controllers\Users::index_onBulkAction ?
Any help would be appreciated.

Interesting, must've missed this one. You can submit a Pull Request if you like! 😃

Hello @daftspunk , I've created a small Pull Request to add the activation option. Please see https://github.com/rainlab/user-plugin/pull/267
I did not add the options to invite or convertToRegistered users, because they require parameters, which makes it a bit more complicated than necessary for my direct needs.

Fixed by #267


No keyboard access to expandable section at bottom of sidebar

Describe the bug
A keyboard user cannot access the versioning links in the bottom of the sidebar.
To Reproduce
Steps to reproduce the behavior:

https://openfl.readthedocs.io/en/latest/index.html
Press TAB repeatedly to navigate between interactive elements.

Notice: Keyboard focus skips the versioning links section and goes from sidebar to main content.
Expected behavior
Ability to put keyboard focus on versioning section.
Screenshots

Desktop:
This issue is not OS or browser specific, but for tracking purposes, testing was done on Win11, in Edge Version 114.0.1823.58 (Official build) (64-bit).
Smartphone:
This issue is not device, OS, or browser specific.
Additional context
This is an accessibility issue, please annotate this bug with the 'accessibility' label.

This is an issue with the Read The Docs platform.

Closing. As mentioned by @fstrr, this is an issue with Read The Docs platform.


Replace usages of nu7hatch/gouuid with satori/go.uuid

Duplicate sequentially generated V4 UUIDs https://github.com/nu7hatch/gouuid/issues/28

I've rebuild the tip builds several time but they're still problematic. Not sure why.

Merging. As it passes the tests on 1.4 and 1.5.


Remove unnecessary JSON payload from UI object

For some reason whole JSON payload is stored in the model objects, but it's just wasting browser memory. If there's no special reason, store all required properties into individual value and remove JSON payload cache.
https://github.com/atlasmap/atlasmap/blob/1908dc0212b8d17458add0908fc37beb81d40cb1/ui/src/app/lib/atlasmap-data-mapper/models/field-action.model.ts#L24
https://github.com/atlasmap/atlasmap/blob/1908dc0212b8d17458add0908fc37beb81d40cb1/ui/src/app/lib/atlasmap-data-mapper/models/field-action.model.ts#L39
https://github.com/atlasmap/atlasmap/blob/1908dc0212b8d17458add0908fc37beb81d40cb1/ui/src/app/lib/atlasmap-data-mapper/models/field.model.ts#L34

Field could be an exception, if it contains children and delaying to parse children until it's needed. Need to investigate.


Export KnownStorageErrorCode

Is your feature request related to a problem? Please describe.
I would like the KnownStorageErrorCode enum to be exported, such that error codes can more safely be checked against.
Specifically, I re-implement ContainerClient.createIfNotExists using the following because I don't like that createIfNotExists logs an error if the container already exists:
  public async ensureContainerExists(containerClient: ContainerClient) {
    // Using `containerClient.createIfNotExists` results in errors in the logs
    const exists = await containerClient.exists();
    if (exists) {
      return;
    }

    try {
      await containerClient.create();
    } catch (error) {
      if (error instanceof RestError && error.code === "ContainerAlreadyExists") {
        return;
      }
      throw error;
    }
  }

Describe the solution you'd like
I would like to be able to do:
      if (error instanceof RestError && error.code === KnownStorageErrorCode.ContainerAlreadyExists) {

Describe alternatives you've considered
My current workaround is to "hard-code" the ContainerAlreadyExists string in my code, as in the first snippet above.

@selimb can you clarify what you mean by the method "logging an error"? Is it that the OpenTelemetry span is being marked as failing?
I feel like we shouldn't be marking the span as "Error" here, since as you mention this operation "succeeded" trivially:
https://github.com/Azure/azure-sdk-for-js/blob/400de15e02c40fe2bc3520545bb0188b6c9a7e0b/sdk/storage/storage-blob/src/ContainerClient.ts#L834

We're on datadog but not using OpenTelemetry yet. There's 2 things:

I instrument @azure/logger such that its logs are sent through "mine". See the arrow in red below.
Datadog's auto-instrumentation instruments http, and responses with an "error" status code (specifically in the range [400, 500)) are marked as failing. See arrow in blue below.

Note that this was just an example though, the main request was just to expose the error codes. I can imagine the error codes would be useful in other scenarios.


notification show up for few seconds  when  exit app

hello guys
i need help  about   this issue. when  i close ( exit)app   background mode notification show up for few seconds and  hide . how i can fix this  issue ?
thanks

anyone please help

+1 same problem

Not sure what's the reason for it. But if I will see it I will try to fix it.


Allow user to change their own password

Would it be possible to let user reset their own password if they have knowledge of their username and email?
I would like the reset of pw not use any reset link via email but within the UI itself.

Hello, the new version now supports this feature.