SMA calculation is wrong

I noticed that the SMA calculations are incorrect. Here's my code:
ClosePriceIndicator closePrice = new ClosePriceIndicator(ts);

SMAIndicator smas = new SMAIndicator(closePrice,10);
            for (int x = 0; x < ts.getTickCount(); x++) {
                Decimal ind = smas[i].getValue(x);
                Tick t = ts.getTick(x);
       System.out.println(""+t.getEndTime().toLocalDate().toString(fmt)+","+t.getClosePrice().toDouble()+"," + ind);
            }
        }

The results appear in this CSV file (first column is the date, closing price and then SMA value): https://gist.github.com/jvence/388650586a3b63bb33fba4cdcad364c1 - The SMA values are wrong.

Can you please show the input data?

I copied your data and pasted it into OO_Calc (spreadsheet). I created a simple AVERAGE of the previous 10 lines, and pasted that cell down the list, and the data matches exactly. Items before your 10 period mark are not actually a 10 period SMA, because they do not yet have 10 data points. Please check out the pasted results here:
https://www.pastebucket.com/558375
You may want consider the following:
ClosePriceIndicator closePrice = new ClosePriceIndicator(ts);
SMAIndicator smas = new SMAIndicator(closePrice,10);
for (int x = 0; x < ts.getTickCount(); x++) {
Decimal ind = smas[i].getValue(x);
Tick t = ts.getTick(x);
if(x>10)
System.out.println(""+t.getEndTime().toLocalDate().toString(fmt)+","+t.getClosePrice().toDouble()+"," + ind);
}
}

Thank you @sirajperson !
@jvence
It's a well-known problem. In the first periods, any indicator is in a stabilization phase. The results of our calculations may differ from other calculators for those first ticks.
BTW next tome please try to explain why you think the results are wrong (instead of just saying they're wrong). It would help US a lot (and may avoid a question because, in this case, they aren't... in our context).

This definitely should not be closed yet.
Firstly, the data I gave you are listed from most recent dates so the first
10 SHOULD have a 10-day moving average (BTW, this is data for $AAPL stock).
The correct SMAs are as follows:
22-Sep-16
114.62
111.41
21-Sep-16
113.55
110.50
20-Sep-16
113.57
109.98
19-Sep-16
113.58
109.39
16-Sep-16
114.92
108.81
15-Sep-16
115.57
107.99
14-Sep-16
111.77
107.04
13-Sep-16
107.95
106.47
12-Sep-16
105.44
106.35
9-Sep-16
103.13
106.50
8-Sep-16
105.52
106.95
7-Sep-16
108.36
107.20
6-Sep-16
107.7
107.25
2-Sep-16
107.73
107.33
1-Sep-16
106.73
107.49
31-Aug-16
106.1
107.73
30-Aug-16
106
108.04
29-Aug-16
106.82
108.38
26-Aug-16
106.94
108.64
25-Aug-16
107.57
108.77
24-Aug-16
108.03
108.80
23-Aug-16
108.85
108.80
22-Aug-16
108.51
108.80
19-Aug-16
109.36
108.78
18-Aug-16
109.08
108.59
17-Aug-16
109.22
108.27
16-Aug-16
109.38
107.93
15-Aug-16
109.48
107.44
12-Aug-16
108.18
107.10
11-Aug-16
107.93
106.70
10-Aug-16
108
106.34
9-Aug-16
108.81
105.84
8-Aug-16
108.37
104.62
5-Aug-16
107.48
103.52
4-Aug-16
105.87
102.64
3-Aug-16
105.79
101.99
2-Aug-16
104.48
101.41
1-Aug-16
106.05
100.95
29-Jul-16
104.21
100.33
28-Jul-16
104.34
99.78
27-Jul-16
102.95
99.23
26-Jul-16
96.67
98.62
25-Jul-16
97.34
98.70
22-Jul-16
98.66
98.66
21-Jul-16
99.43
98.46
20-Jul-16
99.96
98.11
19-Jul-16
99.87
97.67
18-Jul-16
99.83
97.18
15-Jul-16
98.78
96.79
14-Jul-16
98.79
96.47
13-Jul-16
96.87
96.03
12-Jul-16
97.42
95.70
11-Jul-16
96.98
95.16
8-Jul-16
96.68
94.81
7-Jul-16
95.94
94.75
6-Jul-16
95.53
94.71
5-Jul-16
94.99
94.75
1-Jul-16
95.89
94.76
30-Jun-16
95.6
94.70
29-Jun-16
94.4
94.90
28-Jun-16
93.59
95.17
27-Jun-16
92.04
95.56
24-Jun-16
93.4
96.09
23-Jun-16
96.1
96.63
22-Jun-16
95.55
96.99
21-Jun-16
95.91
97.33
20-Jun-16
95.1
97.64
17-Jun-16
95.33
97.99
The issue is that the library is assuming that the TimeSeries is sorted
from oldest to most recent. Wondering if system should sort the time series
before calculation.
On Thu, Oct 6, 2016 at 5:07 AM, Marc de Verdelhan<EMAIL_ADDRESS>wrote:

Closed #107 https://github.com/mdeverdelhan/ta4j/issues/107.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mdeverdelhan/ta4j/issues/107#event-814218410, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABAzIeuJh2Lnt6UCekUEdddsDE0n8NMHks5qxHQPgaJpZM4KPNgu
.

Yes, ta4j is assuming the TimeSeries is "sorted" from oldest to most recent, because we assume that time goes from past to present.
There is no chance that we implement a way to "revert" the order of the series before the calculation. Because:

In an ideal world the "order" must not change the result of the calculation.
Numerous indicators are recursive and use the results of the previous ticks to get calculated (see the EMA for instance).
With the most recent first, in particular circumstances, some recent results may be less accurate than the oldest (not sure about this one).

If you present the most recent first I suggest you to calculate your results, then get them in reverse order by calling sma.getValue(series.getTickCount()), sma.getValue(series.getTickCount()-1), ...


update k8s.io/client to 0.24.2

Codecov Report

Merging #132 (b97df12) into master (1277ee4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #132   +/-   ##
=======================================
  Coverage   62.36%   62.36%
=======================================
  Files          16       16
  Lines         938      938
  Branches      115      115
=======================================
  Hits          585      585
  Misses        322      322
  Partials       31       31

Continue to review full report at Codecov.

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


OctoberCMS deployment error

OctoberCMS deployment error, error details are as follows:
11:55:57.022  Retrieving list of deployment files...
11:55:59.059  Downloading 8613 deployment files...
11:56:36.179  Installing build runtime...
11:56:39.304  Build runtime installed: 3125.472ms
11:56:39.641  Looking up build cache...
11:56:39.679  Build cache not found
11:56:44.229  FetchError: request to https://dmmcy0pwk6bqi.cloudfront.net/72fa93338474b73727a4d70b0c643da5286a38f8 failed, reason: getaddrinfo EBUSY dmmcy0pwk6bqi.cloudfront.net
11:56:44.229      at ClientRequest.<anonymous> (/var/task/sandbox-worker.js:85863:11)
11:56:44.229      at ClientRequest.emit (events.js:310:20)
11:56:44.229      at ClientRequest.EventEmitter.emit (domain.js:482:12)
11:56:44.229      at TLSSocket.socketErrorListener (_http_client.js:426:9)
11:56:44.229      at TLSSocket.emit (events.js:310:20)
11:56:44.229      at TLSSocket.EventEmitter.emit (domain.js:482:12)
11:56:44.230      at emitErrorNT (internal/streams/destroy.js:92:8)
11:56:44.230      at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
11:56:44.230      at processTicksAndRejections (internal/process/task_queues.js:84:21) {
11:56:44.230    message: 'request to https://dmmcy0pwk6bqi.cloudfront.net/72fa93338474b73727a4d70b0c643da5286a38f8 failed, reason: getaddrinfo EBUSY dmmcy0pwk6bqi.cloudfront.net',
11:56:44.230    type: 'system',
11:56:44.230    errno: 'EBUSY',
11:56:44.230    code: 'EBUSY'
11:56:44.230  }
11:56:44.238  [bld_i9i60y1sk] [now] retrying to patch after FetchError: request to https://api-pdx1.vercel.com/v2/now/deployments/dpl_AnxCrBTB9XtBFm8Ews4ZZvGB9rju/builds/bld_i9i60y1sk failed, reason: getaddrinfo EBUSY api-pdx1.vercel.com
11:56:44.238      at ClientRequest.<anonymous> (/var/task/sandbox-worker.js:4408:11)
11:56:44.238      at ClientRequest.emit (events.js:310:20)
11:56:44.238      at ClientRequest.EventEmitter.emit (domain.js:482:12)
11:56:44.238      at TLSSocket.socketErrorListener (_http_client.js:426:9)
11:56:44.238      at TLSSocket.emit (events.js:310:20)
11:56:44.238      at TLSSocket.EventEmitter.emit (domain.js:482:12)
11:56:44.238      at emitErrorNT (internal/streams/destroy.js:92:8)
11:56:44.238      at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
11:56:44.238      at processTicksAndRejections (internal/process/task_queues.js:84:21) {
11:56:44.238    message: 'request to https://api-pdx1.vercel.com/v2/now/deployments/dpl_AnxCrBTB9XtBFm8Ews4ZZvGB9rju/builds/bld_i9i60y1sk failed, reason: getaddrinfo EBUSY api-pdx1.vercel.com',
11:56:44.239    type: 'system',
11:56:44.239    errno: 'EBUSY',
11:56:44.239    code: 'EBUSY'
11:56:44.239  }
11:56:45.241  [bld_i9i60y1sk] [now] retrying to patch after FetchError: request to https://api-pdx1.vercel.com/v2/now/deployments/dpl_AnxCrBTB9XtBFm8Ews4ZZvGB9rju/builds/bld_i9i60y1sk failed, reason: getaddrinfo EBUSY api-pdx1.vercel.com
11:56:45.241      at ClientRequest.<anonymous> (/var/task/sandbox-worker.js:4408:11)
11:56:45.241      at ClientRequest.emit (events.js:310:20)
11:56:45.241      at ClientRequest.EventEmitter.emit (domain.js:482:12)
11:56:45.241      at TLSSocket.socketErrorListener (_http_client.js:426:9)
11:56:45.241      at TLSSocket.emit (events.js:310:20)
11:56:45.241      at TLSSocket.EventEmitter.emit (domain.js:482:12)
11:56:45.241      at emitErrorNT (internal/streams/destroy.js:92:8)
11:56:45.241      at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
11:56:45.241      at processTicksAndRejections (internal/process/task_queues.js:84:21) {
11:56:45.241    message: 'request to https://api-pdx1.vercel.com/v2/now/deployments/dpl_AnxCrBTB9XtBFm8Ews4ZZvGB9rju/builds/bld_i9i60y1sk failed, reason: getaddrinfo EBUSY api-pdx1.vercel.com',
11:56:45.241    type: 'system',
11:56:45.242    errno: 'EBUSY',
11:56:45.242    code: 'EBUSY'
11:56:45.242  }
11:56:47.244  [bld_i9i60y1sk] [now] retrying to patch after FetchError: request to https://api-pdx1.vercel.com/v2/now/deployments/dpl_AnxCrBTB9XtBFm8Ews4ZZvGB9rju/builds/bld_i9i60y1sk failed, reason: getaddrinfo EBUSY api-pdx1.vercel.com
11:56:47.244      at ClientRequest.<anonymous> (/var/task/sandbox-worker.js:4408:11)
11:56:47.244      at ClientRequest.emit (events.js:310:20)
11:56:47.244      at ClientRequest.EventEmitter.emit (domain.js:482:12)
11:56:47.244      at TLSSocket.socketErrorListener (_http_client.js:426:9)
11:56:47.244      at TLSSocket.emit (events.js:310:20)
11:56:47.244      at TLSSocket.EventEmitter.emit (domain.js:482:12)
11:56:47.244      at emitErrorNT (internal/streams/destroy.js:92:8)
11:56:47.244      at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
11:56:47.244      at processTicksAndRejections (internal/process/task_queues.js:84:21) {
11:56:47.244    message: 'request to https://api-pdx1.vercel.com/v2/now/deployments/dpl_AnxCrBTB9XtBFm8Ews4ZZvGB9rju/builds/bld_i9i60y1sk failed, reason: getaddrinfo EBUSY api-pdx1.vercel.com',
11:56:47.244    type: 'system',
11:56:47.244    errno: 'EBUSY',
11:56:47.244    code: 'EBUSY'
11:56:47.244  }
11:56:51.247  FetchError: request to https://api-pdx1.vercel.com/v2/now/deployments/dpl_AnxCrBTB9XtBFm8Ews4ZZvGB9rju/builds/bld_i9i60y1sk failed, reason: getaddrinfo EBUSY api-pdx1.vercel.com
11:56:51.247      at ClientRequest.<anonymous> (/var/task/sandbox-worker.js:4408:11)
11:56:51.247      at ClientRequest.emit (events.js:310:20)
11:56:51.247      at ClientRequest.EventEmitter.emit (domain.js:482:12)
11:56:51.247      at TLSSocket.socketErrorListener (_http_client.js:426:9)
11:56:51.247      at TLSSocket.emit (events.js:310:20)
11:56:51.247      at TLSSocket.EventEmitter.emit (domain.js:482:12)
11:56:51.247      at emitErrorNT (internal/streams/destroy.js:92:8)
11:56:51.247      at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
11:56:51.247      at processTicksAndRejections (internal/process/task_queues.js:84:21) {
11:56:51.247    message: 'request to https://api-pdx1.vercel.com/v2/now/deployments/dpl_AnxCrBTB9XtBFm8Ews4ZZvGB9rju/builds/bld_i9i60y1sk failed, reason: getaddrinfo EBUSY api-pdx1.vercel.com',
11:56:51.247    type: 'system',
11:56:51.247    errno: 'EBUSY',
11:56:51.247    code: 'EBUSY'
11:56:51.247  }
11:56:51.248  [bld_i9i60y1sk] [now] retrying to patch after FetchError: request to https://api-pdx1.vercel.com/v2/now/deployments/dpl_AnxCrBTB9XtBFm8Ews4ZZvGB9rju/builds/bld_i9i60y1sk failed, reason: getaddrinfo EBUSY api-pdx1.vercel.com
11:56:51.248      at ClientRequest.<anonymous> (/var/task/sandbox-worker.js:4408:11)
11:56:51.248      at ClientRequest.emit (events.js:310:20)
11:56:51.248      at ClientRequest.EventEmitter.emit (domain.js:482:12)
11:56:51.248      at TLSSocket.socketErrorListener (_http_client.js:426:9)
11:56:51.248      at TLSSocket.emit (events.js:310:20)
11:56:51.248      at TLSSocket.EventEmitter.emit (domain.js:482:12)
11:56:51.248      at emitErrorNT (internal/streams/destroy.js:92:8)
11:56:51.248      at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
11:56:51.248      at processTicksAndRejections (internal/process/task_queues.js:84:21) {
11:56:51.248    message: 'request to https://api-pdx1.vercel.com/v2/now/deployments/dpl_AnxCrBTB9XtBFm8Ews4ZZvGB9rju/builds/bld_i9i60y1sk failed, reason: getaddrinfo EBUSY api-pdx1.vercel.com',
11:56:51.248    type: 'system',
11:56:51.248    errno: 'EBUSY',
11:56:51.248    code: 'EBUSY'
11:56:51.248  }
11:56:52.249  [bld_i9i60y1sk] [now] retrying to patch after FetchError: request to https://api-pdx1.vercel.com/v2/now/deployments/dpl_AnxCrBTB9XtBFm8Ews4ZZvGB9rju/builds/bld_i9i60y1sk failed, reason: getaddrinfo EBUSY api-pdx1.vercel.com
11:56:52.249      at ClientRequest.<anonymous> (/var/task/sandbox-worker.js:4408:11)
11:56:52.249      at ClientRequest.emit (events.js:310:20)
11:56:52.249      at ClientRequest.EventEmitter.emit (domain.js:482:12)
11:56:52.249      at TLSSocket.socketErrorListener (_http_client.js:426:9)
11:56:52.249      at TLSSocket.emit (events.js:310:20)
11:56:52.249      at TLSSocket.EventEmitter.emit (domain.js:482:12)
11:56:52.249      at emitErrorNT (internal/streams/destroy.js:92:8)
11:56:52.249      at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
11:56:52.249      at processTicksAndRejections (internal/process/task_queues.js:84:21) {
11:56:52.249    message: 'request to https://api-pdx1.vercel.com/v2/now/deployments/dpl_AnxCrBTB9XtBFm8Ews4ZZvGB9rju/builds/bld_i9i60y1sk failed, reason: getaddrinfo EBUSY api-pdx1.vercel.com',
11:56:52.249    type: 'system',
11:56:52.249    errno: 'EBUSY',
11:56:52.249    code: 'EBUSY'
11:56:52.249  }
11:56:54.251  [bld_i9i60y1sk] [now] retrying to patch after FetchError: request to https://api-pdx1.vercel.com/v2/now/deployments/dpl_AnxCrBTB9XtBFm8Ews4ZZvGB9rju/builds/bld_i9i60y1sk failed, reason: getaddrinfo EBUSY api-pdx1.vercel.com
11:56:54.251      at ClientRequest.<anonymous> (/var/task/sandbox-worker.js:4408:11)
11:56:54.251      at ClientRequest.emit (events.js:310:20)
11:56:54.251      at ClientRequest.EventEmitter.emit (domain.js:482:12)
11:56:54.251      at TLSSocket.socketErrorListener (_http_client.js:426:9)
11:56:54.251      at TLSSocket.emit (events.js:310:20)
11:56:54.251      at TLSSocket.EventEmitter.emit (domain.js:482:12)
11:56:54.251      at emitErrorNT (internal/streams/destroy.js:92:8)
11:56:54.251      at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
11:56:54.251      at processTicksAndRejections (internal/process/task_queues.js:84:21) {
11:56:54.251    message: 'request to https://api-pdx1.vercel.com/v2/now/deployments/dpl_AnxCrBTB9XtBFm8Ews4ZZvGB9rju/builds/bld_i9i60y1sk failed, reason: getaddrinfo EBUSY api-pdx1.vercel.com',
11:56:54.251    type: 'system',
11:56:54.251    errno: 'EBUSY',
11:56:54.251    code: 'EBUSY'
11:56:54.251  }
11:56:58.255  worker main FetchError: request to https://api-pdx1.vercel.com/v2/now/deployments/dpl_AnxCrBTB9XtBFm8Ews4ZZvGB9rju/builds/bld_i9i60y1sk failed, reason: getaddrinfo EBUSY api-pdx1.vercel.com
11:56:58.255      at ClientRequest.<anonymous> (/var/task/sandbox-worker.js:4408:11)
11:56:58.255      at ClientRequest.emit (events.js:310:20)
11:56:58.255      at ClientRequest.EventEmitter.emit (domain.js:482:12)
11:56:58.255      at TLSSocket.socketErrorListener (_http_client.js:426:9)
11:56:58.255      at TLSSocket.emit (events.js:310:20)
11:56:58.255      at TLSSocket.EventEmitter.emit (domain.js:482:12)
11:56:58.255      at emitErrorNT (internal/streams/destroy.js:92:8)
11:56:58.255      at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
11:56:58.255      at processTicksAndRejections (internal/process/task_queues.js:84:21) {
11:56:58.255    message: 'request to https://api-pdx1.vercel.com/v2/now/deployments/dpl_AnxCrBTB9XtBFm8Ews4ZZvGB9rju/builds/bld_i9i60y1sk failed, reason: getaddrinfo EBUSY api-pdx1.vercel.com',
11:56:58.256    type: 'system',
11:56:58.256    errno: 'EBUSY',
11:56:58.256    code: 'EBUSY'
11:56:58.256  }
11:56:59.587  Done with "api/index.php"

Hello @fydy. Could you show me MVP repository?

@f3l1x The repository is https://github.com/fydy/oc

Could you keep there only must-have files? I mean remove all unused or unrelated stuff? Also include now.json.

I set up a website locally by laragon , An error occurred while trying to deploy through zeit. My build logs https://vercel.com/fydy/oc/43cdz7n96

Hi @fydy. Thanks for tryout.
I see a few problems:

Vendor should be ignored in nowignore or vercelignore file.
Vendor has over 70MB, lambda limit is 50MB.
OctoberCMS needs DB, right?
I don't think that OctoberCMS fits great to lambda. My point of view.

However, I prepare a PR to my vercel-examples repo.
https://github.com/juicyfx/vercel-examples/pull/12


Messenger page is never loaded in case when site's push notification is enabled but site's options are not filled

The same https://github.com/unaio/jot-client-una/issues/83


Detail how to override lint warnings when compiling tests

alternative to #5403

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

Excellent, thanks @dwijnand !
@bors r+

:pushpin: Commit 63b72f8 has been approved by matklad

:hourglass: Testing commit 63b72f8dd3c63e6ffcee2fe1693c4c36b3692bfb with merge 65e690af0d48e585d0893e876be40ebe1d284288...

pipe Aleksey and Alex to docs, as a service :D

:sunny: Test successful - status-appveyor, status-travis
Approved by: matklad
Pushing 65e690af0d48e585d0893e876be40ebe1d284288 to master...


"Incorrect Kibana version in plugin [logtrail]. Expected [5.1.1]; found [5.1.2]"

Hi,
I'm trying to install the plugin and I'm having this error:

./kibana-plugin install file:///tmp/logtrail-5.x-0.1.7.zip
Attempting to transfer from file:///tmp/logtrail-5.x-0.1.7.zip
Transferring 63520 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Plugin installation was unsuccessful due to error "Incorrect Kibana version in plugin [logtrail]. Expected [5.1.1]; found [5.1.2]"

It supposed to be compatible with 5.x
Thanks for you help!

Unfortunately Kibana has a strict restriction on the version supported for a plugin. I would recommend you to upgrade Kibana to 5.1.2 to use 0.1.7 logtrail.
If you are forced to use Kibana 5.1.1, you can install logtrail 0.1.6 from https://github.com/sivasamyk/logtrail/releases/download/0.1.6/logtrail-5.x-0.1.6.zip
I would recommend upgrading Kibana to 5.1.2


Unexpected token import in old browser

Environment

Operating System: Darwin
Node Version:     v16.17.0
Nuxt Version:     3.0.1-rc.0-27863365.da6fa9a
Nitro Version:    2.0.0-27860563.409fe2b
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      vite
Runtime Modules:  -
Build Modules:    -

Reproduction
https://github.com/rafifn/repro-nuxt-issue

https://user-images.githubusercontent.com/34232700/210149125-5e1c985b-caf2-4527-840f-b06d03c874a7.mov
Describe the bug
HTML rendered with perfect but can't do anything in client side even console.log not show when button is click
Additional context
No response
Logs
No response

I'm glad someone else has noticed this. There are still browsers, mainly Android based, that use NetFront with WebKit, and are stuck on EcmaScript 5.

I'm seeing Unexpected token 'else' and Unexpected identifier 'https' from Chrome Mobile WebView 76 in Sentry...

@bradley-varol I also got those errors on Chrome Mobile WebView v87. But I did not use Nuxt.js.


Popup showing both on the requestor and the target

Hi, not sure if this is a feature or a bug, or if I'm missing an option, but when using the popup to send a request to only one user, the popup also appears for the requestor, and does not disappear if the target clicks on the request, so the requestor has to manually close the popup as well.

A chat message always appears for the author of it, so this is expected behavior.


Add an explicit NuGet source for NuGetPush

As of NuGet client 3.4.something, performing a NuGet push requires a source to be specified (it used to use a default source if none was provided). See NuGet/Home#2504 for more information.
At first glance, I would assume this should go in NuGetPusher (https://github.com/cake-build/cake/blob/develop/src/Cake.Common/Tools/NuGet/Push/NuGetPusher.cs#L74) as an alternate branch if NuGetPushSettings.Source isn't specified. The bigger question is probably what the default should be...

I've confirmed that the previous default was (and should probably continue to be) https://www.nuget.org/api/v2/package. I'll go ahead and write up a PR to get the ball rolling.

@daveaglick I wanted to touch base on this issue.
We, the @cake-build/team have spoken about this at length, and we have come to the decision that we are not going to implement this suggestion.  What it comes down to is that there is no real way to cover all the requirements of this "breaking" NuGet change, without inversely affecting build scripts that are already in place.
The approach that we have decided to follow is this:

Leave aliases as is
Add verbose warning if no source specified
Add remarks to docs.

As a result, I am going to go ahead and close the PR that you opened for this issue.  If you would like to talk about this some more, then please feel free to reach out to the team.

Sounds good - I've already patched my own builds to supply sources on push, so this no longer affects me personally.
Anyone else who has a build script that doesn't supply a source will break when they update NuGet and try to push. I'm guessing at this point most folks have probably already updated NuGet and encountered this if they were going to. The verbose warning should help point out what they need to do to get back up and running.

@daveaglick re-opening this, as I have an open PR that will add documentation for this scenario.

Fixed by #1113


Infinite loop when parsing HTML document with curly brackets

Hey, I'm using the Super Dark Mode browser plugin that injects a fake stylesheet link without href into the HTML (see example below). This causes cqfill to parse the main HTML document as CSS.
And for some reason, if the HTML contains Mustache/Handlebars templating tags in a specific order, cqfill lands in an infinite loop.
Minimal example to reproduce:
<html>

<!-- Added by browser plugin -->
<link type="text/css" id="dark-mode" rel="stylesheet" href="">

<head>
</head>
<body>
abc

<script type="text/x-handlebars">
    {{#foo}}
    {{/foo}} <!-- Infinite loop when looking at first { on this line -->
    {{#foo}}
    {{/foo}}
</script>

<script src="https://unpkg.com/container-query-polyfill/cqfill.iife.min.js"></script>
</body>
</html>

So I guess there's two misbehaviors that don't cause issues on their own but result in a big problem together:

If the HTML contains a stylesheet link tag with no href, then cqfill will attempt to parse the current HTML document as CSS.
If the string-to-be-parsed contains curly braces (and perhaps other symbols) in a specific way, then cqfill will land in an infinite loop.

Should be fixed in v0.1.2 :)


PROCESS: Planning & user scenario driven development

Planning process - moving from PDD to user scenario driven development.  Help the dev team focus on user-centric development.
How would you suggest we improve this process?
ASK: Could folks on the UXD team add some comments to this item to start kicking around ideas for this topic?

Do we have examples of documentation or guides they could reference to see what following user scenario driven development is like? I know some kind of quick tips or a guide would be helpful for me when meeting with devs.

This is part of the audience/personas thing, but figuring out ways to interject the personas into everything we create and figuring out a non-obnoxious way to talk about it frequently might be good.

Some initial thoughts on the gaps in the existing process and the process related suggestion I have noted down here - https://docs.google.com/presentation/d/1ByPJy0dVN4b2lccWg6tANnzkLlQcGVJspH5Aawv-hlQ/edit#slide=id.g1e123f28d1_0_117

Apart from the tools we use, there are certain process elements which which should be re-looked at ..
For example the whole process flows from the system engineering perspective and mostly the epic created from the use-case perspective - mostly the epics are drilling down from the PDD and are defining the user stories. I believe that is where we need to re look at . The use-case based PDD driven approach to define the stories is though good for the agile approach , it is mostly needs refine to be a UCSD (User Centred System Design ) . Basically once we have the highlevel product vision is ready, the stories should be created from user goals, and then mapped to the high-level product vision via the Information Architecture. By this time the user segmentation should have been done, based on the persona sets that trigger the user goals.


[Issue] Calling rsBridge.listItems() while someone is in the an rs grid causes the grid to freeze

Describe
If a script calls listItems on a rsBridge while someone is in an access grid for refined storage (I was using a crafting grid) the grid freezes and is unable to have items pulled out.
Auto-recipies from JEI still work, I just can't manually pull any items out.
Reproduce
Steps to reproduce the behavior:

Make a computer and rsBridge
Place them such that the computer accesses the rsBridge and the rsBridge access some Refined Storage network
Ensure that the RefinedStorage network has some drive, some contents, and a grid for access
Enter the computer and enter lua
Enter the following code:

rb = peripherial.find('rsBridge')
while true do rb.listItems() sleep(3) end

Run the code and then exit the computer
Go into rs access grid
Observe that you can click on items to grab them from the rs system and click again to put them back
After 3 seconds, try to click on an item in the rs system again

Expected: I should not be interrupted by the script and still be able to grab items from the rs system
Result: I cannot grab items from the rs system after listItems is called
Versions:

Forge version: 36.1.16
AdvancedPeripherals version: 0.5.4b
Refined Storage: 1.9.12
Refined Storage Addons: 0.7.2

Yea, we already fixed that in version 0.6b. I recommend to update the mod.


add animation mixer for glb files

So that animation can be viewed inside the canvas.
Eg. -
https://github.com/MrForExample/ComfyUI-3D-Pack/assets/15684222/53e22e9f-1601-4678-84b8-064d7417c980

Awesome, thanks for your contribution👍


[CodeCompletion] Don't suggest keywords after decl introducer

If any decl introducers (e.g. func, let, typealias, etc.) are included in parsed keywords, don't emit any keywords in completion.

@swift-ci please smoke test

@swift-ci Please smoke test


Error messages location

I'm using a form that looks like this:

        <form name="signupForm">

                    <input type="text"
                        name="name"
                        ng-model="household.users[0].name"
                        placeholder="Your First Name"
                        ng-minlength="3"
                        ng-model-options="{updateOn: 'blur'}"
                        required
                        ng-click="inputClicked()"/>
                    Your First Name

        </form>

[error messages are showing up here]

The auto-validate is working fine, but the error messages are being appended to after the div containing the form. Is there a way to specify where the error messages appear? I see them working properly on the demo site but don't see how that's being specified. Thanks

Ah, I see it is to register a new Element Modifier. I misunderstood what that terminology meant. Feel free to close


n00b question

I am not how to actually use the extension. Current setup is on a mac, jython installed, install burpsmartbuster from bapp store, and added targers to scope. refreshed the page, but no cigar ... now what?
Thanks!

Hi,
In the extender tab, you will see the output of the plugin. I suggest that you choose output to file to make sure you don't lose data.
Let me know if there's anything else.

Thanks! It now works... I will play around with it a bit to see if i can add http verb detection to it.

Awesome, please submit your pull request for the verb detection seems like a good addition and should not be to hard. Thanks again.


Pencil2D moved to "Design Tools" category.

Pencil2D moved to "Design Tools" category from "Screencapturing software"

@hazar-e thx!


Movies with Netflix category not working

For whatever reason, Netflix movies don't work. I think it might have something to do with IMDB ids not matching up, interfering with the search algorithm.

Fixed in update 1.6.0.


Add documentation and warnings related to using different regions for Redshift and S3

Redshift throws extremely confusing errors when the Redshift cluster and S3 bucket are in different AWS regions. This patch expands the documentation to discuss how to fix these errors and adds logic to attempt to automatically detect and warn users when this case occurs.
Fixes #87.

Current coverage is 88.23% (diff: 68.00%)

Merging #285 into master will decrease coverage by 0.77%

@@             master       #285   diff @@
==========================================
  Files            12         12
  Lines           655        680    +25
  Methods         526        545    +19
  Messages          0          0
  Branches        129        135     +6
==========================================
+ Hits            583        600    +17
- Misses           72         80     +8
  Partials          0          0

Powered by Codecov. Last update bdf4462...4e3d6d9

Going to merge this into master.


Support new 'imply' keyword

With the v4.10 Linux Kernel (and commit 237e3ad0f195d8fd34f1299e45f04793832a16fc) a new "imply" keyword has been added.  Quoting from the commit message:

The "imply" keyword is a weak version of "select" where the target
config symbol can still be turned off, avoiding those pitfalls that come
with the "select" keyword.
This is useful e.g. with multiple drivers that want to indicate their
ability to hook into a secondary subsystem while allowing the user to
configure that subsystem out without also having to unset these drivers.

Hello,
Finally got around to this (fffd30e6ea060b2abebb7ba9cdf881da00ca4cb). Sorry for letting it take way too long!
Along with (35ea8d5f1d63bdc9f8642f5ce4445e8f7c914385), all tests now pass again
in obsessive test suite mode with Linus' latest tree (4.13).


adding onesignal service

updating readme.m adding onesignal push notification service

Thanks for the PR! This is a great service I did not know :100:
I just slightly modified to remove uppercase so it aligns with other descriptions.


Type definitions in the arrow functions of the TypeScript are not highlighted

Issue Type
Bug
Description
If you use a regular function, then the syntax is highlighted normally, and if it is a pointer, then the type definitions are not highlighted in green.
I mean the code from 27 to 32 line
VS Code Info
VS Code version: Code 1.20.0 (c63189deaa8e620f650cc28792b8f5f3363f2c5b, 2018-02-07T17:02:34.244Z)
OS version: Darwin x64 17.4.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz (8 x 2900)

Load (avg)
3, 3, 3

Memory (System)
16.00GB (0.89GB free)

Process Argv
/Applications/Visual Studio Code.app/Contents/MacOS/Electron

Screen Reader
no

VM
0%

Extensions (16)

Extension
Author (truncated)
Version

vscode-generate-getter-setter
DSK
0.4.2

material-icon-theme
PKi
3.2.2

vscode-eslint
dba
1.4.5

prettier-vscode
esb
1.1.3

bem-expand
luk
0.1.4

code-beautifier
mic
1.7.2

dotenv
mik
1.0.0

HTMLHint
mka
0.4.0

vscode-pugbeautify
mrm
1.0.2

cpptools
ms-
0.14.6

node-debug2
ms-
1.19.3

sass-indented
rob
1.4.6

gi
rub
0.2.11

es6-mocha-snippets
spo
0.0.5

language-stylus
sys
1.8.0

vscode-react-native
vsm
0.5.7

(1 theme extensions excluded)

Reproduces only with extensions

Duplicate of https://github.com/Microsoft/TypeScript-TmLanguage/issues/540
This is a known limitation of how our typescript textmate grammar works

Released VS Code Extension version 0.0.33 that contains #552 which should address issues reported here. After letting it bake in that extension for 2-3 weeks, I could merge #552


added root ./docs to book.json

Fixes

None

Changes proposed

Book.json file to allow this repo to serve as the source for the GitBook

Hang on sir - I think I have this working directly from Gitbook.


[6.0] Don’t reload package manifest when a header is added

Cherry-pick of https://github.com/apple/swift-package-manager/pull/7691.
Explanation: Currently, any new header file causes a package reload. This means that while background indexing is writing header files into the index build directory, the package will get reloaded, which is unnecessary.
Scope: isolated to known clients using this function, primarily SourceKit-LSP
Risk: low, the function itself is not used in SwiftPM
Testing: added a new unit test
Issue: rdar://128573306
Reviewer: @ahoppen @bnbarham

@swift-ci test


Highlight: RDP properties for target AAD

Hi @BenMartinBaur can u please provide more info on this one?


Resource type list is outdated.

This is a Bug Report
Problem:
The resource type list on https://kubernetes.io/docs/reference/kubectl/overview/#resource-types
is about v1.13.3 which is too old.
We are not obliged to keep the list updated on every release, but having the list updated
to a supported version is still desireable.
Proposed Solution:
Update the list to reflect what we have today.
Page to Update:
https://kubernetes.io/docs/reference/kubectl/overview/#resource-types

ref: #23922

/assign

fixed.
/close


react: Components

Is this issue not taken yet?

It is different @aroyan

It is different @aroyan

Sorry didn't notice the "dom" before. So this one isn't taken by anyone yet?


ChainerX's split is wrong for one element np.array

Apparently, chx.split seems to think np.array([2]) is a scalar. Repro:
import numpy as np
import chainerx as chx

def test(split):
    a = [x.shape for x in np.split(np.zeros((6,)), split, axis=0)]
    b = [x.shape for x in chx.split(chx.zeros((6,)), split, axis=0)]
    if a == b:
        print('OK', a, b)
    else:
        print('ERR', a, b)

test(np.array([2]))  # Error
# OK for the rest.
test(2)
test([2])
test(np.array(2))
test(np.array([2, 3]))

@shinh this issue should now have been fixed by #5788.


test KO after creating the API

I just installed the API and added 1 entity,
After following the steps in the video, I cant run any thing
I tried to do npm test
Test Suites: 6 failed, 6 total
Tests:       83 failed, 83 total
Snapshots:   0 total
Time:        28.513s
Ran all test suites.

can someone help me please?
GET /broadcasts/:id 200

  Timeout - Async callback was not invoked within the 10000ms timeout specified by jest.setTimeout.Error: Timeout - Async callback was not invoked within the 10000ms timeout specified by jest.setTimeout.

    at mapper (node_modules/jest-jasmine2/build/queueRunner.js:27:45)

Are you following the instructions on https://github.com/diegohaz/rest#playing-locally?

Are you following the instructions on https://github.com/diegohaz/rest#playing-locally?

I did follow the instructions but I'm getting the same error.
So just to clarify, I have mongo running in the background, then in a terminal, I run npm run dev and in another one, I run npm test and It doesn't work.
I tried to run just npm test, without the npm run dev and I get the same result.
my node version is 12.4.0

Should be fixed with this pr: https://github.com/diegohaz/rest/pull/246

Should be fixed with this pr: #246

That was fast hahaha.
Thank you so much for that, it solved the problem.


Jesse: Watch ultragenius.club

Jesse requests the watch of the watch_keyword ultragenius\.club. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

ultragenius\.club has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


New version: Discord.Discord.Canary version 1.0.423

Created by 🥟 Dumplings in workflow run #6932.

Log
Updated: 1.0.422 → 1.0.423
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

/azp run

/azp run

/azp run


Replace Honeybadger with team Shield ownership

Checklist

[ ] Update changelog in CHANGELOG.md.

❤ 🙇🏻


flocking issues - Screen boundry

MissingComponentException: There is no 'Rigidbody' attached to the "ScreenBoundary" game object, but a script is trying to access it.
You probably need to add a Rigidbody to the game object "ScreenBoundary". Or your script needs to check if the component is attached before using it.
UnityEngine.Rigidbody.get_position () (at C:/buildslave/unity/build/artifacts/generated/common/modules/Physics/DynamicsBindings.gen.cs:1536)
Cohesion.getSteering (ICollection`1 targets) (at Assets/unity-movement-ai/Scripts/Movement/Cohesion.cs:28)
FlockingUnit.Update () (at Assets/unity-movement-ai/Scripts/FlockingUnit.cs:35)
No such issue exists for other Example scenes. I am using unity 5.3.4

Are you using ScreenBoundary inside of your own project? I think the master branch version of unity-movement-ai relies on Physics project settings to make sure the screen boundary is not sensed.
In the dev branch (which is vastly different from the master branch) I have made my code just ignore any collider without a MovementAIRigidbody (which is basically just a wrapper class for the library to be able to work with Rigidbody2D and Unity's 3D Rigidbody).


fix: Fix dropdown bug issue

The saas datasource editor page re-renders whenever the name of the datasource is changed causing selected options to be cleared off. This PR fixes that issue.
PR fixes following issue(s)
Fixes #22576
Media

A video or a GIF is preferred. when using Loom, don’t embed because it looks like it’s a GIF. instead, just link to the video

Type of change

Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)

[ ] Manual

[ ] Jest

[ ] Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/build-deploy-preview

/ok-to-test

/build-deploy-preview skip-tests=true

/build-deploy-preview skip-tests=true

/ok-to-test

No ads review necessary

/ok-to-test


SimdMaskArray::toInt overflows int return type for large N

Yeah, I guess. Another good reason not to exceed N = sizeof(int) * CHAR_BIT (i.e. 32 on x86). I won't change this for Vc 1.x anymore. But please don't use N > 32. I can't guarantee correctness or even useful performance for such values.

Odd, I provided more info when I submitted the issue, wonder where that went, anyway.
If > 32 is unsupported then maybe a (static) assert somewhere might be in order?

There was only the empty "more info template". Since it was empty I removed it.
Yes, maybe a static_assert is necessary in at least the toInt function.

The real solution seems to be that no function returning int should be part of mask. Instead it could return std::bitset<N>, which can scale to arbitrary number of bits. I'm currently implementing this for Vc 2.0


 Self signed certificate in certificate chain

Hey,
After successfully connecting to MongoDB, I tried to registrate a new "test" account, and it appears on MongoDB:

{
"_id": {
"$oid": "5ae8a1304957d7239caf912a"
},
"salt": "3941bcaa418250550afc9d2b9ec46901c0b8a036f3dd8086118d9b9b5161b785",
"hash": "8765e04e42defc7316cb9f5ddbf71c83ab5b62c52d4f935ba6ba5bda335598a0b40017f7fab9e22c4dff84973fc38359eef59beb82b91f3beda97c025a5af05bcd46505f36af8a8f9bd02e48521f77d47ebc8aa4ab2faf5602df9a0a013c34c559f47e773085ecd040b10a278f0ef4eab31ae318a9c5062f06d512379b2460dbf638ad54f8255eaa49ebb53a3f7f98fe07b1fa5ab90b90cca4ff6748cb4d1673cd8cbd61127ae8f73646fcf27d90e8b3ea892676ea6149014c4488670dde16150e157fb934e9479dc4e6cf70b535adbe9d81e9c7dad3a726f6697152be8a1cf647f3344f048228d248360c4b4b400cc5a41ca2fbd2d6880b3cee4e13887ec926d0b10ecde1b7a9b858d1820aebd869bfeaded738c9cb9f0b9a41c540f61afa0120e5878a92966ebf8248ee872d5d6c0c96477635072c370da489f61afdd9262c300944c4c675cc7003fb4675989e33d19ca3c071efb50650b234ca9919082188f8ca4cc727d533694af3c501fa404ac40f185a8bd0c04b9d31a18b762d0a3caeef16c4a7b916ef7692936c87bd9bfccfa747239a708ae1b5cf733cd1d6bfd1aad9cfa44243114daa717cb5453f28b594bbcd76efde44594dc336590fe420a142be4a90e9ad64629d8b4c9a0e23b08b78c499e292785da509af96c512721c284752075c489ffecef990d596bb5e584a72df005c4fd5b7b05d9421182bad19f034",
"username": "pba2",
"email"<EMAIL_ADDRESS>"activated": false,
"actCode": "3a8abddef44e0a9b65f72edaa1002c96557d6cd4",
"socketId": null,
"rank": 0,
"__v": 0
}

Apparently, the account isn't activated yet, but I never got any activation mail (BTW, I already tried registrating a Gmail account). I use GMail as mailFrom, and already allowed unsafe apps and Unlockcaptcha.
This is what the console shows me after trying to register:

POST /register 200 2636.495 ms - 78
12:38:41.19  { Error: self signed certificate in certificate chain
at TLSSocket. (_tls_wrap.js:1105:38)
at emitNone (events.js:106:13)
at TLSSocket.emit (events.js:208:7)
at TLSSocket._finishInit (_tls_wrap.js:639:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:469:38) code: 'ECONNECTION', command: 'CONN' } (in login_routes.js:71)
Call Stack:
at C:\Users\Usuario\Desktop\MV_Online-master\server\api_routes\login_routes.js:71:21
at transporter.send.args (C:\Users\Usuario\Desktop\MV_Online-master\server\node_modules\nodemailer\lib\mailer\index.js:224:21)
at SMTPConnection.connection.once.err (C:\Users\Usuario\Desktop\MV_Online-master\server\node_modules\nodemailer\lib\smtp-transport\index.js:174:24)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:116:13)
at SMTPConnection.emit (events.js:211:7)
at SMTPConnection._onError (C:\Users\Usuario\Desktop\MV_Online-master\server\node_modules\nodemailer\lib\smtp-connection\index.js:596:14)
at TLSSocket._socket.on.err (C:\Users\Usuario\Desktop\MV_Online-master\server\node_modules\nodemailer\lib\smtp-connection\index.js:265:18)
at emitOne (events.js:116:13)

What am I doing wrong? Do you need anything else?

I know for a fact gmail does work, but google constantly changes the workaround for this.  Google would be much accurate with the how-tos.


🖐2024-03-15T12:00/13:00+09:00: Pacific and Strategy meeting

🖐2024-03-15T12:00/13:00+09:00: Pacific and Strategy meeting
Follow the meeting link to join!
https://ucla.zoom.us/j/93540731519?pwd=OG91Q2FPQktpUWF1YldVNVRMT294UT09
Recently we are meeting to do show-and-tell and chat. Any agenda items welcomed.

hfu

I am preparing for https://github.com/UNopenGIS/7/issues/385.
I created https://github.com/UNopenGIS/7/issues/429.

Global Observer

You do not need a server. These Global OSM Tiles are hosted by @smellman's team in OSMFJ.
You do not need a development environment. You can code on Observable.
Related project: https://github.com/UNopenGIS/7/discussions/426.
I and @yohman will create data package (in the form of PMTiles hosted on GitHub).

https://forkify-k96mz.netlify.app/
JavaScriptの練習のため、レシピ検索アプリを作成。HTML, CSSは講座のものを使用。JSのみ自分で作成。
To study JavaScript, Created a web app to search cooking recipes. I used HTML and CSS from the course, only JavaScript was created by myself.
〇使い方

検索窓で「pasta」などと検索するとレシピが表示される。
レシピをクリックすると、レシピ詳細が表示される。
人数変更をすると自動で材料の量に反映される。
ブックマークが出来る。

〇How to use

Search for "pasta" or other words in the search window to display recipes.
Clicking on a recipe will display the recipe details.
When the number of people is changed, it is automatically reflected in the amount of ingredients.
Bookmarks can be made.

〇使用した技術

Web API（非同期通信）
ビルド（parcelを使用)
npm
Netlify（静的ウェブサイトのためのホスティングサービス）を使ってみた。

〇Used Technology

Web API (asynchronous code)
Build (using Parcel)
npm
Netlify (hosting service for static websites)

I update valhalla api demo.
Using openmaptiles vector tile server and valhalla api locally.
Web application uses parcel.

asahina

GTFS event

I participated in #393 , It was introduced by @albertkun
I could learn of a case study using GTFS data, I’ｍ interested in GTFS data!

Another successful session particiated by @albertkun, @asahina820, Cloe, @smellman, @k96mz and @hfu. By the way do you know Cloe has a GitHub account? If she has, I would like to invite her to this repository.

I shared my

Supa-basemap realtime app: https://albertkun.github.io/supabasic-map/

Repository: https://github.com/albertkun/supabasic-map

Judging details for the 7th Annual Humanitarian Mapathon


Install on Laravel Homestead can't view wpack.io server

Hello,
I am a first time user trying to use wpack and my existing setup consists of using Laravel Homestead as the development server for Wordpress site. My homestead YAML configuration is pretty standard as you can see below.
---
ip: "<IP_ADDRESS>"
memory: 2048
cpus: 2
provider: virtualbox
ssl: true

folders:
    - map: ~/homestead-sites/site1
      to: /home/vagrant/code/site1

    - map: ~/homestead-sites/ssl-certs
      to: /home/vagrant/code/ssl-certs

sites:
    - map: site1.test
      to: /home/vagrant/code/site1
      php: "7.3"
      type: "apache"

databases:
    - site1

# ports:
#     - send: 50000
#       to: 5000
#     - send: 7777
#       to: 777
#       protocol: udp

& in my hosts file
<IP_ADDRESS>	site1.test
I have an existing WordPress install in the root of this site (with trusted SSL) and I have followed the steps to install in the theme dir.

npx @wpackio/cli
npm run bootstrap
composer require wpackio/enqueue
npm start

✔ startup: .
✔ project config: wpackio.project.js
✔ server config: wpackio.server.js

✔ wpack.io server is running at.

    ❯ http://<IP_ADDRESS>:3000

and BrowserSync UI running at

    ❯ http://<IP_ADDRESS>:3001

Press r to recompile and q to force quit.
To create production build, run

    ❯ npm run build

No files are written on disk during development mode.

｢wpack.io 21:56:08｣ ✔ compiled successfully
｢wpack.io 21:56:08｣ ✔ bundle was built in 422ms.
｢wpack.io 21:56:08｣ ℹ watching for changes…

http://<IP_ADDRESS>:3001 displays the BrowserSync page, but http://<IP_ADDRESS>:3000 seems to just loop/timeout loading.
I can run $ npm run build also with no issues.
✔ startup: .
✔ project config: wpackio.project.js
✔ wpack.io build successful.

 OUTPUT

                      Asset       Size  Chunks                         Chunk Names
       app/main-47e86c11.js    2.6 KiB       0  [emitted] [immutable]  main
   app/main-47e86c11.js.map   7.71 KiB       0  [emitted] [dev]        main
          app/manifest.json  409 bytes          [emitted]
    app/runtime-3d015d32.js   1.87 KiB       1  [emitted] [immutable]  runtime
app/runtime-3d015d32.js.map    8.1 KiB       1  [emitted] [dev]        runtime

wpack.io production build was successful.

So it just the wpack.io server on port 3000 not loading for me. Any guidance would be appreciated
Tony

Hello,
I am thinking you have https://site1.test in your wpackio.server.js file. Note the https. If this is the case, then kindly access the development server from https://<IP_ADDRESS>:3000, ie from https link.
Possibly related to #454

With the info provided by @swashata I got it working like this:
host: "site1.test",
proxy: "https://site1.test",
bsOverride: {
        https: {
            key: "/Users/<user>/.config/valet/Certificates/site1.test.key",
            cert: "/Users/<user>/.config/valet/Certificates/site1.test.crt",
        },
 },

Replace <user> in this example for the certificates


Fix scheme field validations for ELB

Fixes #392

Shouldn't this be updated in the example file as well? https://github.com/perfectsense/gyro-aws-provider/blob/master/examples/elb/elb.gyro


Mute not working in multichannel

when i use the mute code like this

I am getting an error like this on webgl

is there a way to mute only one channel when connected to multiple channels ?

The js code may need to be updated.  We will check this and come back to you.

This is now solved with PR #12 https://github.com/AgoraIO-Community/Agora_Unity_WebGL/pull/12


Allow using pointer-tap event for clicking in GUI

Test PG - #XCPP9Y#22137
This allows GUI users to use the POINTERTAP type to for click events. The difference here is that a tap will not be triggered if the pointer has moved. So a click will only be triggered if the pointer pressed down, up and no movement in between.
In the PG above, try clicking on one of the buttons and see the console. then try moving while holding the pointer and then release - a click will not be triggered. The standard behavior is to trigger a click even in this scenario.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/15436/merge
Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15436/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15436/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15436/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15436/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15436/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15436/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15436/merge#BCU1XR#0

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15436/merge/testResults/webgpuplaywright/index.html

WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15436/merge/testResults/webgl2playwright/index.html


Pagination is not working

Expected Behavior

When I click on next page data table has to fetch next page data but it is not happening and also the screen is getting frozen.

Current Behavior

Next page link not working.

Your Environment

Tech
Version

Material-UI Core
4.11.2

MUI-Datatables
3.7.3

React
17.0.1

browser
Chrome

Console Error Screenshots

If you provide a codeSandBox, i will check it.
ref : https://codesandbox.io/s/muidatatables-custom-toolbar-forked-h3p7p?file=/index.js

If you provide a codeSandBox, i will check it.
ref : https://codesandbox.io/s/muidatatables-custom-toolbar-forked-h3p7p?file=/index.js

Same sanbox with this configuration not working:
@emotion/react 11.4.0
@emotion/styled 11.3.0
@material-ui/core 5.0.0-alpha.34
@material-ui/icons 5.0.0-alpha.34
mui-datatables 3.7.7
react 17.0.2
react-dom 17.0.2
Same sandbox just downgrading
@material-ui/core 5.0.0-alpha.10
its working.
Hope it helps!


GDB.ZIP (.Zip) automatically starts downloading. I want to prevent downloading....

@abdulrehmanch112 Did you solve this issue? I'm greatly in need of this.. The shapefile just downloads instead of displaying in the map.
@calvinmetcalf Please help me to solve this issue. I'm using leaflet.shapefile to display a shapefile in my map. The shapefile just downloads by default instead of displaying in the map.

see https://github.com/calvinmetcalf/leaflet.shapefile/issues/11#issuecomment-305253771


[AutoDiff] delete some upstreamed tests

Deletes some tests that have been upstreamed for a long enough time that they have been merged back into tensorflow.
This isn't meant to be exhaustive. It's just some incremental cleanup.

@swift-ci please test tensorflow


Feature Request: Ability to run a single test

Being able to run a single test by clicking the gutter test diamonds.

This works for me. Do you a repro where it doesn't?

Odd. I think this feature is controlled by indexing. I wonder if you are getting indexing errors. A shareable repro would help me debug it more. I don't believe any of the example projects have this issue.

@thii I assume you're on Xcode 13.x? I think some of our developers have ran into this but in Xcode 14 (and we haven't debugged it yet).

Yes, 13.4.1.

There is an error in the indexing log:
ATests.swift:4:8: error: no such module 'XCTest'

Did you try this in the example project on your machine? Just to rule that out.
bazelisk run //:xcodeproj and there are some test targets in the generated project.

I can't reproduce the error with the example project.
I think I see the difference now, the test target doesn't build in the "xcode" mode - there are no system framework search paths and testing framework search paths in the compile command.

Can you add test_only = True to the library targets? I thought the latest rules_swift would require this, but maybe some still don't. Is it the primary library target of the test target? If so, I'll see if there is something I can force to work on our end.

I figured it out. It's because we have something like this in the test target's deps, but didn't link it with XCTest (the primary library target is linked with XCTest). Removed that dependency and it worked.
Since there's apple.swizzle_absolute_xcttestsourcelocation feature now, we'll use that instead.
You can close this now.

If you added test_only = True to that, did it fix it? I want to make sure the underlying error can't happen for others.

Adding testonly = True to that didn't fix it.

https://github.com/buildbuddy-io/rules_xcodeproj/pull/1039

Do you use Quick? I think that might not work correctly for some reason.

No, we don't use Quick.

Okay, with that repro, I understand what was happening. By having two targets, it couldn't merge the library target into the top-level target, leaving it as a static library. Xcode will only place the checkboxes in the gutter next to tests that are part of a test target directly.


Provide multicast/subscription capabilities

Problem
Currently there are no explicit multicast/subscription capabilities in Goomerang. But they could be achieved in the following way:
func main(){
    // Server instantiation ...
    // User creates a map for holding multicast groups
    groups := sync.Map{}
    s.Handle(&protos.SubscriptionV1{}, message.HandlerFunc(func(s message.Sender, msg *message.Message) {
               subs := msg.Payload.(*protos.SubscriptionV1)

		val, ok := groups.Load(subs.SubscribeTo)
		if !ok {
			var senders []message.Sender
			senders = append(senders, s)
                        // User saves the sender, into the new multicast group.
			groups.Store(subs.SubscribeTo, senders)
			return
		}
		senders := val.([]message.Sender)
		senders = append(senders, s)
		groups.Store(subs.SubscribeTo, senders)

}

In the above code example, the user prepares a especial handler listening for the protos.SubscriptionV1 message,  which would carry the topic to subscribe to. Then the handler adds the current message.Sender to the previously created map. Each message.Sender, has the pointer of the underlying connection from which the subscription message arrived from.
Then, at the server, if the user wants to sends a multicast message, the code could be:
func main() {
        // Recovering the group of connections ...
        senders, ok := groups.Load("group1")
	if !ok {
		panic("cannot found subscription group")
	}
	msgS := message.New().SetPayload(&protos.MessageV1{Message: "a message for group1"})
	ss := senders.([]message.Sender)
    // Sending through all the senders.
	for i := range ss {
		_, _ := ss[i].Send(msgS)
	}
}

That could work !! Now, what happens if the user wants to unsubscribe for a group for a specific connection ? Yes, the user could create another handler for unsubscribing a specific sender (using the pointer address).
However, the above trick have some problems:

Not enough intuitive for users.
The user is on the wild. Needs to create all the logic externally to the library.
The library is not providing other utilities around it, like metrics.

Goals
The server and client should provide multi-cast and subscription capabilities in the public API. That will provide users ability to create interesting subscription models, without needing to build too much external logic.
Currently theres a Broadcast feature. Take it into account as some parts could be probably re-used.
Documentation should be written.
To not be invasive with the current design. The feature should be provided as a tool. Thus optional for the user.

All right ! Lets start with this one. Initially looks like we would need to extend the goomerang internal protocol, by adding the following messages:

SubscribeV1
UnsubscribeV1
PublishV1

The above messages would be the transport of the commands needed by the server. From the client public API perspective, having two methods Subscribe(topic string) and Unsubscribe(topic string) which would send the commented messages to the server, looks like the natural approach.
Initially, all internal messages would be send asynchronously. If a client its already subscribed to a topic, a second call to Subscribe(topic string) would have no effect. The same would happen for Unsubscribe(topic string).
The client and the server will implement a Publish(topic string, msg *message.Message) , which can be used to publish messages in a topic , reaching all the subscribed clients. In case of being called from the client API, the publish command will be sent to the server (using PublishV1 internal message), which would do the multicast operation for the subscribed clients. In case of being called from the server API, the server will directly do the multicast operation, as it will have direct access to the connection map/grouping.
Talking about the server side, three built-in handlers would be needed for handling the commented messages SubscribeV1 and UnsubscribeV1  and also the PublishV1. This handlers need to be available from the start.
This could a first happy path scenario. A first proposal. Lets see how it goes !

Good ! looks like we can share the first protobuf representation of the internal messages:
message SubscribeCommand {
  string topic = 1;
}

message UnSubscribeCommand {
  string topic = 1;
}

message PublishCommand {
  string topic = 1;
  string kind = 2;
  bytes message = 3;
}

In case of the PublishCommand ,  we are embedding the user message in the message field. The kind field is necessary, it represent the protobuf FQDN, so the server can decode the user message to the concrete type.
The headers of the message payload, will be copied to the PublishCommand headers, with the string message- as key prefix. When received by the server, headers would need to be extracted and added again to the original user message. In this way we can preserve the original headers.
A first test with commented interfaces is ready. Lets try to implement a basic POC !

More progress on this :tada: . Looks like we have a quite good, harmonised implementation. Following up the previous comments, we finally created the internal protocol buffers commands, so clients can perform subscribe, publish and unsubscribe operations. Such internal commands are not visible to the users of the library. Users of the library now have the following interfaces in the client public api:

func (c *Client) Subscribe(topic string) (err error) {
	//...
}

func (c *Client) Publish(topic string, msg *message.Message) (payloadSize int, err error) {
	//...
}

func (c *Client) Unsubscribe(topic string) (err error) {
	//....
}

One decision that was made: Topics can transport multiple kind of messages. Although probably the normal use cases would not publish more than one kind of messages per topic. The reason for this is to not limit the user of the library. We leave that decision on their hands.
Before a client subscribes to a topic, all the messages need to have a defined handler or they will be ignored by the processing loop. This was made clear in the documentation.
The server side also has a Publish interface for server side publications. That would be helpful in case the server is connected to another source of data and wants to publish messages in the respective topics, which would be received by subscribed clients.
Okay, we talked about the public API surface. Lets now talk about the internal pub/sub engine. The initial idea is simple. We are going to hold a map of maps. The first level map will have the topic as key, and another map as value, which will use the connection slot as key and the respective sender as value:
type pubSubEngine struct {
	csMap map[string]map[*conn.Slot]message.Sender
	L     *sync.RWMutex
}

The idea is to reduce the time spent in, as an example, removing a connection from the engine, as we will use the pointer address as a key for the map, probably reducing the domain in which the underlying hash function of the map needs to work. The problem could come when we try to iterate over the second level map for publishing messages, as it can be not as performant as we can imagine. Anyway, all of this are just dangerous assumptions. Another question would be how much time takes to write in a socket per each sender in the topic. Multiple improvements could be probably done in this area in a future.
Heres a PR holding this feature: https://github.com/eloylp/goomerang/pull/6

Merged in develop and staged for release ! closing this !


The supplied data appears to be in the OLE2 Format

org.apache.poi.openxml4j.exceptions.OLE2NotOfficeXmlFileException: The supplied data appears to be in the OLE2 Format. You are calling the part of POI that deals with OOXML (Office Open XML) Documents. You need to call a different part of POI to process this data (eg HSSF instead of XSSF)

I got this exception  when I loaded file of type XLS
and this is my code

File inputWorkbook inputWorkbook = new File(fileName);
Streaming reader reader = StreamingReader.builder()
.rowCacheSize(100)
.bufferSize(4096)
.sheetIndex(0)
.read(inputWorkbook);

XLS is not supported by this library. It cannot be streamed because the format is not XML. It's some custom format Microsoft came up with back in the 90s.


Move methods from subclasses to Camera2Base

The subclasses of com.pedro.library.base.Camera2Base all have a method getStreamClient(), but they all have different return types, depending of the protocol: RTSP, RTMP or SRT. But these return types all extend StreamBaseClient. If the return type of getStreamClient() would be StreamBaseClient, the method could be moved to Camera2Base.
This would make it easier to use a Camera2Base and for example check for congestion. Now I have to do this:
val congestion =  when (camera) {
    is RtmpCamera2 -> {
        camera.streamClient.hasCongestion(50.0f)
    }
    is RtspCamera2 -> {
        camera.streamClient.hasCongestion(50.0f)
    }
    is SrtCamera2 -> {
        camera.streamClient.hasCongestion(50.0f)
    }
    else -> {
        false
    }
}

If getStreamClient() would return StreamBaseClient, I could just do:
val congestion = camera.streamClient.hasCongestion(50.0f)
The same is true for the other public method of e.g. RtmpCamera2: public void setVideoCodec(VideoCodec videoCodec), where even every Camera2 has a different VideoCodec class, with the same values.
Moving these methods to Camera2Base would make the use of these two public methods more elegant.

Hello,
Solved here:
https://github.com/pedroSG94/RootEncoder/commit/59e50539c29b73d5b02e7d8159661a93716ca597
But it is only usable for commons methods. If you want to use other methods like setWriteChunkSize of RTMP you will need cast to RtmpCamera2

setVideoCodec method moved to base in all classes:
https://github.com/pedroSG94/RootEncoder/commit/0d35e08fa854c4310a8c707c7d87d8c2a5e41b87

Thanks, Pedro! That was fast!
I have been thinking a bit more about the implementation and I think what would be even better is to have a generic Camera2 class, independent of protocol. In that class, only when you start streaming, the appropriate streaming client is selected, based on the URL.
That way you could already have a preview, before you know how you will stream it.
Now the protocol to use is hardcoded by the user (developer, i.e. me) of the library by hardcoding for example the  RtmpCamera2 class. But a generic Camera2 class could be used by all protocols, and only have a different streaming client when streaming.
I think that this would need some refactoring, because also the ConnectChecker classes are different for all protocols, even though they have the same methods.
What do you think about this idea? I could try to implement it later this week, when I have time. Or do you see problems with this approach? I think if you still want to call some protocol specific method, you could get the stream client from the camera object, and cast the stream client object to some protocol specific class.

Hello,
Yes, your idea is good but at same time we need to find a way to handle with specific rtmp, rtsp and srt methods like setWriteChunk of rtmp or setProtocol of rtsp provided by RtmpStreamClient or RtspStreamClient. Since you don't know which protocol you will use until startStream you can't return the right class. This is the only problem I can see.
We must keep old classes for backward compatibility (RtmpCamera1, RtspCamera1, SrtCamera1, etc. Remove ConnectCheckers could be fine) but for this case we can create a new class that contain all protocols and startStream only with the protocol that match with the url. Basically clone RtmpCamera1 (for example) and add RtspClient and SrtClient.
About ConnectChecker. We can create a generic one but keep in mind 2 requirements:

Keep rtsp, rtmp and srt usable without dependencies because other users maybe only need to use the protocol
Use code usable for java and Kotlin so use an interface with default methods to avoid implements other methods like here is not a solution because it is not usable in java. Maybe we can solve it creating a common module and add it as dependency in all protocols.

If you have a better idea. Let me know it and we can find the best solution.
Also, we should close this issue and open a new one since it is not related with the original case

Hi Pedro,
I will see what I can do and close this issue.
Regards,
Erik.

Hello,
I did a branch for this case:
https://github.com/pedroSG94/RootEncoder/pull/1323
For now, I moved ConnectChecker to a new module. With this we can create the new class that include all protocol without implement all ConnectCheckers.


Break down rules per operation api types for containers

Description
It would be desirable to create 2 different rules for containers-kubernetes as typically different sources will be calling them
One for api-type:cluster, and another one for api-type:management.

https://github.com/terraform-ibm-modules/terraform-ibm-cbr/pull/336 merged


fix(curriculum): clarify OR operator

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #52765

This updates the instructions of step 58 in the Learn Basic String and Array Methods by Building a Music Player challenge.
The instruction now specifies the use of the or operator to assign a value to the song variable.
Before

After

Hi @BKM14. Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 📝

Note for future - it is recommended to make changes on a separate branch, than the main branch. See more about it in point 3 at https://contribute.freecodecamp.org/#/how-to-contribute-to-the-codebase?id=contributing-to-the-codebase.


CI/CD integration

Is it possible to create workflow using GitHub Action for this project?
Can you solve it?

Please take a look on latest workflow.

Good job

Link which can help you to prepare for today interview https://www.linkedin.com/posts/oleksandr-moskovko_python-interview-questions-activity-6876966118825705472-0aHQ


Responsive

Other SDK than JS/jQuery can generate responisves images http://cloudinary.com/blog/how_to_automatically_create_images_for_responsive_design#api_example_1
But if I try with the JS library :
myCloudinary.image('v0c05biaesv6huoq4ayl', { width: 'auto', 'dpr': 'auto', responsive_placeholder: "blank" })

it returns
<img src="http://res.cloudinary.com/****/image/upload/dpr_2.0/v0c05biaesv6huoq4ayl">
And in any way whatever I do width: 'auto' should add w_auto to the URL, like upload/w_auto but width: 'auto' never create w_auto.
Besides if I create an img with data-src, w_auto (I modifiy  by myself with a DOM explorer) and a class cld-responsive myCloudinary.responsive() does not create a proper image...
Is there a specific reason of such differences between this SDK and the other ?

You must add a crop parameter to the transformation when using the width parameter.
myCloudinary.image('v0c05biaesv6huoq4ayl', { width: 'auto', crop: 'scale', dpr: 'auto', responsive_placeholder: "blank" })

(The documentation link you mention does not include a JavaScript example. We are aware of it and working on improving the documentation for the javascript libraries.)

Okay but shouldn't work on having the same behaviour as with other SDK ? And Yeah the fact that there is specific behavior just with this library and that it's not documentated make it really hard to guess.

PS : I still need help on #99 @tocker

I'm disappointed that there's no answer to why is there such discrepancies between js version and other and to the fact that JS version has an huge lack of documentation.

Hi @NitroBAY,
I apologize for our response delay.
AFAIK, all our SDKs are actually consistent about this matter, in other words, the crop parameter is obligatory on all SDKs when generating transformed URLs.
Regardless, thank you for your feedback, and we'll do our best to make this clearer in our docs.


requestAnimationFrame(logPitch) outputs infinite frame count

When requestAnimationFrame(logPitch) is called while detecting pitch from the mic, it outputs infinite frame count and doesn't stop even after tuner.stopUpdatingPitch() . How to stop the frame count?
Additionally, how may pitch recognition start only when the input reaches a certain threshold and end instantly when the microphone receives no input?

I swear I was going to look into this, but it seems like the issue has resolved itself?


doc: enhance FAQ about AV software on Windows

As discussed in #1840, realtime protection of AV software can cause serious performance degradation on Windows OS.
What is the purpose of this change? What does it change?
Add entry to the FAQ.
Was the change discussed in an issue or in the forum before?
No.

Checklist

[x] I have read the Contribution Guidelines
[ ] I have added tests for all changes in this PR
[ ] I have added documentation for the changes (in the manual)
[ ] There's a new file in changelog/unreleased/ that describes the changes for our users (template here)
[ ] I have run gofmt on the code in all commits
[ ] All commit messages are formatted in the same style as the other commits in the repo
[x] I'm done, this Pull Request is ready for review

Codecov Report

Merging #1845 into master will decrease coverage by 4.71%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1845      +/-   ##
==========================================
- Coverage    51.4%   46.69%   -4.72%
==========================================
  Files         168      168
  Lines       12966    12966
==========================================
- Hits         6665     6054     -611
- Misses       5300     5971     +671
+ Partials     1001      941      -60

Impacted Files
Coverage Δ

internal/backend/b2/b2.go
0% <0%> (-78.54%)
:arrow_down:

internal/backend/swift/swift.go
0% <0%> (-78.45%)
:arrow_down:

internal/backend/gs/gs.go
0% <0%> (-73.61%)
:arrow_down:

internal/backend/azure/azure.go
0% <0%> (-69.46%)
:arrow_down:

internal/backend/swift/config.go
36.95% <0%> (-54.35%)
:arrow_down:

internal/checker/checker.go
63.82% <0%> (-3.83%)
:arrow_down:

internal/archiver/blob_saver.go
92.59% <0%> (-2.47%)
:arrow_down:

Continue to review full report at Codecov.

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


Setting height to 100% is breaking when doctype is missing

See vaadin/vaadin-dropdown-menu#126

Discussed once again with @tomivirkki and decided to close in favour of vaadin/vaadin-element-mixin#2 as we do not support "quirks mode" in our components anyways.


DAAS - Support API - Correct Code to start the DaaS webjob properly

This need not be done as just putting the job in the continous folder should cause the job to start so this work is not really needed.


GraphQL @auth with Cognito Pool and apiKey

Describe the bug
Looks pretty much the same as https://github.com/aws-amplify/amplify-cli/issues/4314
I had no luck trying to make the combined auth work. In the end I can push changes (by doing the api update first and then amplify push). But then directives are not taken into account.
Changing default mode would not help. When using ApiKey as default and Cognito user pools as secondary, I can query but not create anything with a registered user. When using default Cognito user pool and secondary ApiKey, I can query and mutate when registered but I can't do and of these when unregistered.
Amplify CLI Version
amplify -v => 4.27.1
To Reproduce
Just follow the step by step in the workshop https://github.com/dabit3/aws-appsync-react-workshop Then add combined auth to the model as shown below.
Expected behavior
Unregistered users should be able to query and registered to mutate.
Desktop (please complete the following information):

OS: Mac
Node Version: v14.15.0

Additional context
type TestTalk
  @model
  @auth(
    rules: [
      { allow: owner }
      { allow: private, operations: [read] }
      { allow: public, operations: [read] }
    ]
  ) {
  id: ID!
  clientId: ID
  name: String!
  description: String!
}

type TestComment
  @model
  @auth(
    rules: [
      {
        allow: owner
        ownerField: "createdBy"
        operations: [create, update, delete]
      }
      { allow: private, operations: [read] }
    ]
  ) {
  id: ID!
  message: String
  createdBy: String
}

Hi @philohelp. I was able to reproduce this on 4.32.0. I'm not sure if this is intended behavior or not so I'll bring this up with the team for triaging.

@philohelp Are you still having issues with this? I'm not able to repro on v4.49.
I was able to create an owner and do create and mutate. For your second case where you can't create as a unregistered user, does this mean they are not signed in with cognito user pools and they are using api_key? If so then this is expected as the rules only allow signed in cognito users to create talk and comment.

Closing issue due to inactivity.


Remove optional field from selectors

The selector-level optional argument has been superseded by the command-level optional argument in #1946.
This PR is a follow up of #1946 (specifically, this comment)

(for @mobile-dev-inc employees only)
I did a quick search of "optional" in our monorepo (LINK). Didn't find many usages.
The list of Maestro commands visible in this view:

is returend by GetLiveScanRoute (example url: https://api.mobile.dev/scan/5e53f184-7cca-4239-b756-5497cb23f538


thread safe function helpers

fixes https://github.com/rails/sprockets/issues/581 https://github.com/sass/sassc-rails/issues/121
I think there should be a better way to define custom functions, but unfortunatelly that would require changes in the API.
sprockets redefines functions which is super hacky
https://github.com/rails/sprockets/blob/1bcee8ebc03489eb7e42ee5c258a712443a6df3c/lib/sprockets/sassc_processor.rb#L58
https://github.com/rails/sprockets/blob/0cb3314368f9f9e84343ebedcc09c7137e920bc4/lib/sprockets/utils.rb#L126

Thanks!

thanks @bolandrm !
It might be also related to https://github.com/sass/sassc-ruby/issues/133 .
should it be even possible to use different functions in a different context?
https://github.com/rails/sprockets/blob/1bcee8ebc03489eb7e42ee5c258a712443a6df3c/lib/sprockets/sassc_processor.rb#L58
I think that code should be deprecated (functions shouldn't be mutated during runtime) or we have to figure out a better api to do this.
@schneems @glebm any thoughts on this?


Closes softlayer/sl-ember-components#743

I have reviewed this and it looks good to merge

Reviewed 1 of 1 files at r1.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from the review on Reviewable.io

Looks good.

Reviewed 1 of 1 files at r1.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from the review on Reviewable.io


Accept git+ prefix in tool.uv.sources

Summary
Right now, this fails, because we later try to do git+git+https://.... It seems nice to have this "just work".

This change meant that uv 0.4.18 can't sync --frozen from a lock file created with 0.4.17.
I don't know if backwards compatibility is desired at this point, but mentioning it just in case.

(We use minor versions for breaking changes so this wasn’t intended to be breaking!)

The important thing is to run uv cache clean. Otherwise, it won't attempt to re-fetch the repository from the URL that's in a format it no longer understands.
I used this on a random repository. It will work with anything you have git access to.
$ cat pyproject.toml
[project]
name = "project"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
	"apns2",
]

[tool.uv.sources]
apns2 = {git =<EMAIL_ADDRESS>rev = "httpx_cert_auth"}

$ curl -LsSf https://astral.sh/uv/0.4.17/install.sh | sh
$ uv --version
uv 0.4.17
$ rm -rf .venv
$ uv sync
# Worked successfully. Important bit:
#  + apns2==0.7.5 (from git+git+ssh://github.com/salty-horse/PyAPNs2.git@9ce3e36a8bbed52e5e48d66ce2fe80eee0b9f702)

$ curl -LsSf https://astral.sh/uv/0.4.18/install.sh | sh
$ uv --version
$ rm -rf .venv
$ uv cache clean
$ uv sync --frozen
[...]
Creating virtual environment at: .venv
Updating git+ssh://github.com/salty-horse/PyAPNs2.git (httpx_cert_auth)                                                                                error: Failed to prepare distributions
  Caused by: Failed to fetch wheel: apns2 @ git+git+ssh://github.com/salty-horse/PyAPNs2.git@9ce3e36a8bbed52e5e48d66ce2fe80eee0b9f702
  Caused by: Git operation failed
  Caused by: failed to clone into: /home/ori/.cache/uv/git-v0/db/a4d58569fd76b658
  Caused by: failed to fetch commit `9ce3e36a8bbed52e5e48d66ce2fe80eee0b9f702`
  Caused by: process didn't exit successfully: `git fetch --force --update-head-ok 'git+ssh://github.com/salty-horse/PyAPNs2.git' '+9ce3e36a8bbed52e5e48d66ce2fe80eee0b9f702:refs/commit/9ce3e36a8bbed52e5e48d66ce2fe80eee0b9f702'` (exit status: 128)
--- stderr
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.

Thanks! I don’t understand why this worked in the 0.4.17 case — that was the whole point of the commit hah. I must’ve overlooked something. I’ll look into it when I’m back from vacation.

I may be commenting on the wrong PR :flushed: - it seemed relevant.
The old version recorded the URL with git+ in uv.lock:
source = { git =<EMAIL_ADDRESS>
The newer version records it without it:
source = { git =<EMAIL_ADDRESS>
So when it reads the file from the old version, it assumes git+ isn't there, and adds it, which causes problems down the line. It should check before adding the prefix.
Enjoy your vacation!

Ahh ok, I think I understand. Prior to that change, we allowed source = { git =<EMAIL_ADDRESS>} but errored on source = { git =<EMAIL_ADDRESS>}. So this likely was subtly breaking for git+ssh usages.

Should I open a new issue about the regression?


barometric_press is NOT a core field

the mixs-source output says
  barometric_press:
    is_a: core field

But barometric_press is in the MIxS6 packages - Final_clean, not the MIxS6 Core- Final_clean sheet

I think these lines are to blame:
        section = row['Section'] if 'Section' in row else 'environment'
        if section == '':
            # logging.warning(f'No section: {s_id}')
            section = 'core'

There are section='environment' slots on the core sheet, but I don't think if 'Section' in row else 'environment' ever gets triggered

I illustrated the consequences of those section assignments in this commit, which I accidentally did in in branch issue-nmdc-19-copied-gsheets, so it became part of PR #20, "Issue nmdc 19 copied gsheets"


Use custom version of vue-i18n-extract package

https://github.com/pixari/vue-i18n-extract/pull/51
https://github.com/pixari/vue-i18n-extract/pull/50

For me only warnings left is only on startup of the app. But spamming of other warnings gone.


Allow null instance overrides

If a null instance if trying to be overridden, return null instead of throwing an exception.

Codecov Report

Merging #476 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##             master    #476      +/-   ##
===========================================
+ Coverage      99.7%   99.7%   +<.01%
- Complexity     1146    1149       +3
===========================================
  Files           182     182
  Lines          3753    3759       +6
  Branches        196     196
===========================================
+ Hits           3742    3748       +6
  Partials         11      11

Impacted Files
Coverage Δ
Complexity Δ

...va/com/quorum/tessera/config/cli/OverrideUtil.java
100% <100%> (ø)
59 <13> (+3)
:arrow_up:

Continue to review full report at Codecov.

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


Possibility of adding Slots.

Wondering is it possible to add slots into the vue-pdf-embed.vue. I still need to test out which would be best but possibly an option of having a slot inside and outside of the v-for.
Currently using a wrapper over the top of the vue-pdf-embed which highlights text based on the position of text using textract positioning geometry. However only one page will work at a time. Would possibly be more straight forward to use a slot in order to import my component to sit on top of each page and i can pass each texttract options based on each page

Hi dougieled,
Could you possibly share your code on how you are tackling this? I have a use case and am curious.

Hi @dougieled,
There is no slots available right now, could you describe the possible use cases for them?

Slots were added in #157 and are available in v1.2.0


Make the favorites call on show

@keybase/react-hackers

[ ] Once approved remake this PR against master since the original branch was merged in already

moved here after rebasing: https://github.com/keybase/client/pull/1653


Add tests for issue 144 - pickling tuples

Make sure that tuples are pickled/unpickled correctly even if they're
nested on the right and the left.

LGTM


How to construct such SQL？

eg：
SELECT
*
FROM
tablea
LEFT JOIN tableb b ON tablea.field1 = b.field1
LEFT JOIN tablec c ON b.field2 = c.field2
php code：
$join['[>]tableb (b)'] = array('field1'=>'field1');
$join['[>]tablec (c)'] = array('field2'=>'field2');

Did you read the chapter on Table Joining under Select in the documentation?
http://medoo.in/api/select

@Jervelund I have the same problem and I don't know how to join tables which aren't directly connected to the first FROM table.
My code:
$datas = $database->select("Tags", [
		"[><]ID_Links_Tags" => ["id" => "tag"],
		"[><]Links" => ["ID_Links_Tags.link"=>"id"]
	], [
		"Links.link",
	], [
		"Tags.tag"=>"NodeJS"
	]);

That generates this query:
SELECT "Links"."link" FROM "Tags" INNER JOIN "ID_Links_Tags" ON "Tags"."id" = "ID_Links_Tags"."tag" INNER JOIN "Links" ON "Tags"."ID_Links_Tags.link" = "Links"."id" WHERE "Tags"."tag" = 'NodeJS'

Where you have to delete all the "
SELECT Links.link FROM Tags INNER JOIN ID_Links_Tags ON Tags.id = ID_Links_Tags.tag INNER JOIN Links ON Tags.ID_Links_Tags.link = Links.id WHERE Tags.tag = 'NodeJS'

The problem is Tags.ID_Links_Tags.link which should be ID_Links_Tags.link.
Is there a way using Medoo to such queries? Should be really easy to implement.

Could you join it as the following?
$datas = $database->select("ID_Links_Tags", [
    "[><]Tags" => ...,
    "[><]Links" => ...
], [
    "Links.link",
], [
    "Tags.tag"=>"NodeJS"
]);

Maybe but that doesn't solve the problem with more than 3 tables

Thanks for all your help!

https://github.com/Wikunia/Medoo/commit/127fa545d7c88463da7ee004ac051d3592734814


Add skydns module

I will merge this as this was a dependency for latest kubernetes update i already merged, and will cause problems, still feel free to review and i will patch later.


aws beanstalk releaser plugin

Description
https://github.com/jenkinsci/aws-beanstalk-releaser-plugin
https://issues.jenkins-ci.org/browse/HOSTING-844

Submitter checklist for changing permissions

Always

[x] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[x] Add link to resolved HOSTING issue in description above

For a new permissions file only

[x] Make sure the file is created in permissions/ directory
[x] artifactId (pom.xml) is used for name (permissions YAML file).
[x] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[x] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] All newly added users have logged in to Artifactory at least once

Merge permission to GitHub repository

[x] Check this if newly added person also needs to be given merge permission to the GitHub repo.

See comment inline with source

I fixed the pom.xml and replied to the comment inline


[json] when downloading JSON Schema files, do Conditional GETs

The requests coming in for JSON Schema files to SchemaStore.org don't check if the remote files have changed before downloading them. This puts unneeded pressure on the SchemaStore.org servers and it downloads more data than needed which will cost money for users that pay bandwidth by the megabyte.
By supporting Conditional GETs (HTTP 304) using either If-Modified-Since or If-None-Match request header, these issues are fixed.

@aeschli I was hoping this could get a higher priority. I've gotten the VS team to prioritize this as well on their end. The reason is that I pay for server traffic and the free tier is no longer enough to handle the growing load from VS, VSCode and other editors.

I need to plan time for this, as it requires implementing http caching on the vscode/node side.
If you have any tips, let me know.

Thanks. I understand.
One way to implement this could be this flow:

VS Code was just installed. No cache exist yet
User opens JSON file triggering a download of schema file
Schema downloaded and HTTP Last-Modified response header is timestamped into the file when it was saved
User opens the JSON file again within 7 days. VS Code never downloads new schemas if the current cached one is younger than 7 days (or however many days are appropriate for VS Code users)
User opens JSON file again 10 days later, this time VSCode sends If-Modified-Since header containing the file's timestamp
SchemaStore.org sends HTTP 304 Not Modified empty response because schema didn't have an update
VS Code uses the schema on disk instead

You can send these headers using fetch from node.js and then check the HTTP status code from the response.
I believe this is the same conceptual pattern implemented by VS as well. Right @jimmylewis?

Yes, that pretty much summarizes the VS implementation.  Should note that:

for an expired local cache, we'll load the local copy, make the request, then reload JSON schema evaluation when we get a response.  This keeps user responsiveness high for slow/flaky connections.
getting the 304 back should reset the local cache expiration for another 7 days.  This minimizes bandwidth usage.
we also have a gesture to forcibly clear the local cache and force all schemas to download again the next time they are used.

I added a cache with a local cache expiration of 3 days (for now). After the cache expiration we check the content again with the last known etag.

Thank you!! Much appreciated

To verify:

set "json.trace.server": "verbose"

open a JSON file with a schema. E.g package.json

open the JSON Langage Server output

in the output search for schema cache

schemas from http://json.schemastore.org are read 2 days from the cache. After that an etag is checked

all other schemas are read with etag


Create tool to validate internal markdown links

It should support

Absolute paths, after specifying a root folder: /folder/file.md
Relative paths: ../folder/file.md
Validate all links inside [](here)

remark-validate-links gives false positives...

Fixed by https://github.com/dialex/start-testing/pull/94


ci: run all of test-presubmit in a single container

This refactors the test-presubmit entrypoint to wrap the entrypoint and all nested targets in a single container. This ensures that all of the presubmit targets run inside the same nested container. Before this change, some targets such as tidy/vendor ran on the host machine. This also has the benefit on minimizing the number of extra containers that need to be pulled and/or created.

/assign @karlkfi


Link broken and redirected in Subresource Integrity/Resources

On Subresource Integrity, the website behind the 4th Resources link "SRI hash webpage scanner [sritest.io]" seems to be broken and is now pointing to a porn site.

Thanks, has been removed.


Upgrade spring-cloud-stream-app-dependencies to latest RC versions

Resolves #150

Rebased and merged as commit b851438e46a333b922b4ce60bcf39ddd870d3a8f