i18n-keywords: Update Portuguese on gherkin-languages.json

Summary
Expanding Portuguese "given" translations to enhance steps code reusability.
Also inspired on the French translations.
Details
I have added four new translations into Portuguese for the "given" step, as further detailed in the section below. In summary:

"Dado que " helps in code reusability, having its correspondents in other translations;
"Sabendo que " is inspired on the French translation, being equivalent to "Dado que ";
"Seja " and "Sejam " are also inspired in French, being closer to the current translation.

Motivation and Context
In practice most testers start their "given" steps in Portuguese with "Dado que" ("Given that"), what makes for more linguistically accurate statements. On the other hand, it breaks code reusabilty for different steps on different scenarios.
For example, I can have a step "I visit some page" originally written as a "when" step (to test for correct exhibition of elements when I access that page, for instance) that can be later used on a "given" step of a different scenario (from where I'll test some other functionality, say, "when I click a button"). Using the current translation ("Dado" or its declensions), that reuse is impossible without breaking the sentence. I've seen terrible workarounds for that (Portuguese grammar rip!). Adding the single new translation "Dado que" solves that.
It's worth noting the same approach has been already taken in other languages like French and Romanian. Also, as many people have already used the current translations and will keep doing so, they are not to be changed.
The other three proposed translations are inspired on the French example and suggested for completeness.
"Sabendo que " (like the French "Sachant que " - "Knowing that") allows for the same kind of construct of "Dado que " ("Given that") but with slightly different uses, thus contributing to richer scenarios writing.
"Seja " (like the French "Soit ", meaning "Be " in the Subjunctive form - e.g.: "Seja um usuário autenticado" - "Be an authenticated user") can have a use close to the current Portuguese translations "Dado " and "Dada ".
Analogously, "Sejam " (also meaning "Be " in the Subjunctive form) would be a close equivalent to the current translations "Dados " and "Dadas ".
The following sections don't seem to apply to this simple translation request, being then skipped.
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:

Hi @lucasthecodes
Thanks for your contribution!
I wanted to synchronize your changes as described here: https://github.com/cucumber/common/blob/main/gherkin/CONTRIBUTING.md#adding-or-updating-an-i18n-language
but I do not have permissions to push to your fork. Could you please give me permission to push to your fork or do the synchronization yourself?

@lucasthecodes I have run some tests, and actually I confirm they may be some issues.
First: the update you proposed put the dado  keyword before dado que . Acutally this won't work. The steps will still always require to be implemented with the que prefix: Given('que ...', function () {
Second: if we fix the order of the keyword to put the more long first: dado que , then dado , your initial suspicion is true: the step definitions in the end-user suites  will need to be updated from Given('que ...',  to Given('...',  (removing the que prefix).
My opinion is to properly add the dado que  keyword and the other ones and to inform end users through the changelog to do the update. This is an easy search&replace thing, and it would actually be a far better support for Portugese. But this is indeed a breaking change.
What is your though about that?
@aslakhellesoy @mattwynne @mpkorstanje @davidjgoss @luke-hill any though about this? (Would you need more context?)

Thank you for your reply and tests, @aurelien-reeves .
The main purpose of the proposed changes is to expand the possibilities of scenarios creation and code reusability, not to somehow restrict what is already working.
Many companies have their test suites running with the current keywords and breaking those suites might create chaos everywhere. We don't want that.
I'll wait for any insights of the others you marked on your reply. Maybe some change on cucumber's code might allow this kind of change. If not, probably this PR is to be closed.

I think we should be consistent with the French dialect - listing the longest keywords first. Dado que  before Dado .

Slightly unrelated - I just realised that Given, When, Then keywords are not internationalised. Other Cucumber implementations allow this:
Dado('que some condition', function () {
  //
})

See https://github.com/cucumber/cucumber-js/blob/7e1f8589cfc433c4bec470be500c8811add8c7b2/src/support_code_library_builder/index.ts#L121-L135

Hello all, thanks for the insights.
As I stated before, I'm not proposing any breaking change. If that's the
only option, I'll close this PR.
As simple as this change can be, it'd affect code everywhere and I'm not to
be responsible for it.
Maybe your impression taking from French or other language's perspective is
that it's not much used and not too spread, the standard English words
being more common.
In Brazil things tend to be done in Portuguese, so this change would really
affect many sensitive work and create many problems.
Repeating myself, when I proposed it I thought Cucumber's keyword parser
would be able to handle that. My mistake.
Let me know if I can close this.
Thanks.
On Wed, Apr 20, 2022, 13:59 Aslak Hellesøy @.***> wrote:

Slightly unrelated - I just realised that Given, When, Then keywords are
not internationalised. Other Cucumber implementations allow this:
Dado('que some condition', function () {
//})
See
https://github.com/cucumber/cucumber-js/blob/7e1f8589cfc433c4bec470be500c8811add8c7b2/src/support_code_library_builder/index.ts#L121-L135
—
Reply to this email directly, view it on GitHub
https://github.com/cucumber/common/pull/1920#issuecomment-1104184142,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACFY76UARRWJX3EIABOJ76TVGAZWDANCNFSM5QQXQSWA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@aslakhellesoy could you please take a look at the conflict here?
I guess this is related to the gherkin java codegen PR. Removing gherkin/java/src/main/resources/io/cucumber/gherkin/gherkin-languages.json would fix the conflict easily, but I don't know if something else should be done beside that

The message didn't go through.
Trying again...
On Thu, Apr 21, 2022, 10:19 Lucas C. @.***> wrote:

This way there's no sense in continuing with this.
I appreciate all the effort but I'm closing this PR.
Thanks all.
On Thu, Apr 21, 2022, 09:17 Aurélien Reeves @.***>
wrote:

@aurelien-reeves https://github.com/aurelien-reeves pushed 1 commit.

e2ebd88
https://github.com/cucumber/common/commit/e2ebd88d1f0ce67992d49f59f8ff34806fbb36c0
Remove 'Dado que'

—
View it on GitHub
https://github.com/cucumber/common/pull/1920/files/2e69189b83b7ba11697b1166b2974d30f4f0c50f..e2ebd88d1f0ce67992d49f59f8ff34806fbb36c0
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACFY76RYK5Y264IIHABMH5DVGFBL7ANCNFSM5QQXQSWA
.
You are receiving this because you are subscribed to this thread.
Message ID: @.***>

Well, your PR was not only adding "Dado que" but plenty of other keyword that I guess would be welcome for Portuguese users


Why the base image is called scala?

Hey, I do not understand why the base image is called scala which it seems to have nothing with scala, although the dockerfile is located in /common/scala. It is a little confusing ro me.

Historical reasons - it can be renamed as a chore.

Historical reasons - it can be renamed as a chore.


Separate Time and Date Picker

Hi
hi
i want date column and time  column in same grid
how to separate in datetime picker
Like
Program |     Date       |     Time      |     Modifed By
CCCC     |  24/4/2017 |    7:15 PM   |      Admin
AS Like that
Thanks & Regards
Jeeva

You will need to create custom field types using the HTML5 form inputs of type='date' and type='time'. Browser support is ok

Here i used as
fields: [
{ name: "Program", title: "Program", type: "text" },
{ name: "EventDate", title: "Date", type: "date",  width: 10 },
{ name: "EventTime", title: "Time", type: "time", width: 10, value:"18:00" }, (also tried span )
here, is need any changes ? following code
editTemplate: function (value) {
return this._editPicker = $("").datepicker().datepicker("setDate", new Date(value));
},
insertValue: function () {
return this._insertPicker.datepicker("getDate").toISOString();
},
editValue: function () {
return this._editPicker.datepicker("getDate").toISOString();
},
filterValue: function () {
return {
from: this._fromPicker.datepicker("getDate"),
to: this._toPicker.datepicker("getDate")
};

Here i used as
fields: [
{ name: "Program", title: "Program", type: "text" },
{ name: "EventDate", title: "Date", type: "date",  width: 10 },
{ name: "EventTime", title: "Time", type: "time", width: 10, value:"18:00" }, (also tried span )
here, is need any changes ? following code
editTemplate: function (value) {
return this._editPicker = $("").datepicker().datepicker("setDate", new Date(value));
},
insertValue: function () {
return this._insertPicker.datepicker("getDate").toISOString();
},
editValue: function () {
return this._editPicker.datepicker("getDate").toISOString();
},
filterValue: function () {
return {
from: this._fromPicker.datepicker("getDate"),
to: this._toPicker.datepicker("getDate")
};

@GJeeva, we can help with concrete questions, not just examining your code, not being sure about goal.
If the issue is still actual, please ask more specific question about faced issues.


Distinguish Set and Map iterators.

Closes: #387

This seems fine, but we should probably have a test to prevent a regression

What kind of tests would be needed for this?

@Xotic750 i'd assume something from your report in #387.
Although, I'd expect Object.getPrototypeOf(new Map().entries()) !== Object.getPrototypeOf(new Set().entries()) to be true, and I'm not sure that's the case with the shims.

https://github.com/paulmillr/es6-shim/pull/437


chore: reduce duplication across packages/*/tsconfig.json files

No ts errors when running yarn tsc -b from root
(there are no other tsc  package.json scripts in the repo)
100% of the changes here were performed via search+replace.
There's more de-duplication that can be done later, outside of the packages/* directory.

Hi @devinrhode2!
Are you still interested in getting this one merged?
If so, please rebase onto latest dev & resolve conflicts/remarks


Structured Fact

Hi,
Today structured facts are not displayed fine in Puppetboard.
I've test this python library http://json2html.varunmalhotra.xyz/ , it seems to do a pretty job to convert a json tu an html element, I've tried complex structures and it give me satisfaction.
I've checked the code it seems to be easy to add this.
An opinion ?

Proper display of structured facts would be real nice alright. If you want to give it a go, I'll cheer :-)

That looks messy, I was thinking something like that.
https://mbraak.github.io/jqTree/

@octomike , it can be done with dataTables:
https://github.com/voxpupuli/puppetboard/pull/452

I believe that's the superior approach. I did some testing with server-side html generation, but that was way too slow.
Do you think you can emulate the nested indentation? At least 1 more level would be super useful in most cases I think.

@octomike, how did you initialize tree widget on json data?


Wrong default file name for downloading logs

In the How to: Download section, the sentence "This command saves the logs for the app named 'appname' to a file named diagnostics.zip in the current directory." is not correct. The default value of the compressed file when you download the logs is webapp_logs.zip, instead of diagnostics.zip.
For your reference, review az webapp logs download command: https://docs.microsoft.com/en-us/cli/azure/webapp/log?view=azure-cli-latest#az-webapp-log-download

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

ID: bfc316af-0d30-b449-a04f-3019b7a16bc1
Version Independent ID: 01c4c435-fda9-374a-70b3-f1d7f13c7651
Content: Enable diagnostics logging for apps - Azure App Service
Content Source: articles/app-service/troubleshoot-diagnostic-logs.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@santifdezmunoz Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.
@cephalin Assigning this to you since the PR requires author approval.


Assigning taxonomy to ASVs by blastn

Hello PR2 team,
I made the pr2 custom database, like:
$ makeblastdb -in <input_fasta> -parse_seqids -blastdb_version 5 -title "custom_db_title" -dbtype nucl
now, I want to assign taxonomy to ASVs by blastn, the command as below:
#blastn
blastn -task megablast -db /../db/pr2/species_taxid.fasta -query ../ASV_sequences.fasta -out 1_ASV.blastn -perc_identity 70 -outfmt '7 qseqid sseqid pident qcovs mismatch gapopen qstart qend sstart send evalue bitscore' -max_target_seqs 50 -num_threads $(($processes*$threads))
Add tax info
awk 'BEGIN {OFS=FS="\t"} NR==FNR{map[$1]=$2;next} {for(i=1;i<=NF;i++)$i=($i in map)?map[$i]:$i}1' /../db/pr2/taxonomy.tsv 1_ASV.blastn > 2_ASV_lineage.blastn
I used like the tax_id like 1006 in taxonomy.tsv to match emu_db:1006, it has 111 replicates. If two ASVs have the same first field (i.e. 1006 in this example), they will have the same classification information, which may result in two ASVs being incorrectly assigned to the same classification information.
Do you have any suggestions to add taxonomy to the ASV table?
Thank you very much!
Best, Wang

Hi
I am really sorry but I do not understand what your question is.  Also I am not so familiar with awk syntax.  So please can you explain in simple term what you want to do and provide extract (a few lines) of the different files you want to do (please note that GitHub use markdown so please check the formatting of your message).
PS. pr2_version_5.0.0_emu_db.tar.gz files are for use with the emu pipeline.  If you want to do BLAST, I would recommend that you use the file pr2_version_5.0.0_SSU_taxo_long.fasta.gz.
Cheers.  Daniel


Resolve Units in Schwartzschild Metric

🐞 Problem
There is a lot of confusion about units and input values in this.

🎯 Goal
Getting the whole module consistent with astropy units

💡 Possible solutions

📋  Steps to solve the problem

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

Closed in #19


Extension causes high cpu load

Issue Type: Performance
Extension Name: LiveServer
Extension Version: 5.5.1
OS Version: Windows_NT x64 10.0.17134
VSCode version: 1.32.3

:warning: Make sure to attach this file from your home-directory: C:\Users\chavez96\ritwickdey.LiveServer-unresponsive.cpuprofile.txt :warning:
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

Hello, few questions,
When you're getting this issue? after load of vscode or after clicking to Go Live ?
Is this happen every-time ? or random ?
Please reply here https://github.com/ritwickdey/vscode-live-server/issues/278
Duplicate of https://github.com/ritwickdey/vscode-live-server/issues/278

[Note: This issue is closed by a javascript code (written by me).
https://gist.github.com/ritwickdey/36682dabe4a992c57e4562c935bfbbdd ]


Update ".ts file extension" in README.md

The README provides 2 commands to deploy contracts:

npx hardhat run scripts/deploy_upgradeable.js
npx hardhat run scripts/deploy_cloneable.js

But the mentioned files do not exist:

scripts/deploy_upgradeable.js
scripts/deploy_cloneable.js

And the correct files are:

scripts/deploy_upgradeable.ts
scripts/deploy_cloneable.ts

So correct command to deploy contracts are:
npx hardhat run scripts/deploy_upgradeable.js
npx hardhat run scripts/deploy_cloneable.js

Thanks for the correction! @Alexander-Herranz


ng build -prod fails with two errors

Please provide us with the following information:

OS?  Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
os: win32 x64

Versions. Please run ng --version. If there's nothing outputted, please
run in a Terminal:
node --version
And paste the result here.
date it to a more recent version.
angular-cli: 1.0.0-beta.2-mobile.4
node: 6.1.0
os: win32 x64

Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
I have built a small but extensive application. I am attaching some of the configuration files. Please let me know if you need more.

I ran ng init just to make sure I had everything for the CLI.
ng build -prod

The log given by the failure. Normally this include a stack trace and some
more information.

I am not aware of a log file created by build. Here's the screen shot:
C:\Users\rkr0079\Source\Repos\nrmn-account>ng build -prod
(node:6264) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
/ Building(node:6264) DeprecationWarning: 'root' is deprecated, use 'global'
(node:6264) DeprecationWarning: 'GLOBAL' is deprecated, use 'global'
Built project successfully. Stored in "dist/".
 Use NODE_DEBUG=fs
^
Error: ENOTEMPTY: directory not empty, rmdir 'C:\Users\rkr0079\Source\Repos\nrmn-account\dist\vendor\ng2-bootstrap\components'
at Error (native)
nrmn-accounts.zip

Mention any other details that might be useful.

Thanks! We'll be in touch soon.

Did you run it as administrator? Also, it seems the build went fine, the error seems to come from the file sizes report you get after the build has finished.

Yes, the cmd window is always admin.
Manually deleted the two empty directories and it worked fine.

prod compiled. it will not run. should I be looking for bootstrap in that file?

Odd. Do you have any console errors when doing ng serve -prod?

I agree. Here's my output:
C:\Users\rkr0079\Source\Repos\nrmn-account>ng serve -prod
(node:18032) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
Livereload server on http://localhost:49156
Serving on http://localhost:4200/
(node:18032) DeprecationWarning: 'root' is deprecated, use 'global'
(node:18032) DeprecationWarning: 'GLOBAL' is deprecated, use 'global'
Build successful - 13997ms.
Slowest Trees                                 | Total
----------------------------------------------+---------------------
BundlePlugin                                  | 8458ms
Funnel                                        | 1438ms
Funnel                                        | 1327ms
BroccoliTypeScriptCompiler                    | 1316ms
vendor                                        | 1198ms
Slowest Trees (cumulative)                    | Total (avg)
----------------------------------------------+---------------------
BundlePlugin (1)                              | 8458ms
Funnel (10)                                   | 2886ms (288 ms)
BroccoliTypeScriptCompiler (1)                | 1316ms
vendor (1)                                    | 1198ms

Hm... what about on the browser console, any errors?

Nope. No errors anywhere.
I looked in the main.js. It is returning the bootstrap call; but it is buried way deep in the file.
I'm not sure how to go about debugging this to see where it is failing.

When I prettify main.js, the following is on line 22916 when looked at in ff and a breakpoint is not hit:
System.registerDynamic('main.js', [ '@angular/platform-browser-dynamic', '@angular/common', '@angular/core', './app', '@angular/http', '@angular/router', 'angular2-jwt' ], !0, function (a, b, c) { 'use strict'; var d = a('@angular/platform-browser-dynamic'), e = a('@angular/common'), f = a('@angular/core'), g = a('./app'), h = a('@angular/http'), i = a('@angular/router'), j = a('angular2-jwt'); return g.environment.production && f.enableProdMode(), d.bootstrap(g.NrmnAccountAppComponent, [   h.HTTP_PROVIDERS,   i.ROUTER_PROVIDERS,   j.AUTH_PROVIDERS,   f.provide(e.LocationStrategy, {     useClass: e.HashLocationStrategy   }) ]), c.exports }),

Tried moving to a fresh machine. Now prod fails with the following:
C:\Users\Keith\Source\Repos\nrmn-account>ng -v
(node:19576) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
angular-cli: 1.0.0-beta.2-mobile.4
node: 6.2.0
os: win32 x64
C:\Users\Keith\Source\Repos\nrmn-account>ng build -prod
(node:4232) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
Build failed.
The Broccoli Plugin: [BundlePlugin] failed with:
Error on fetch for main.js at file:///C:/Users/Keith/Source/Repos/nrmn-account/tmp/bundle_plugin-input_base_path-QZ2DUmcB.tmp/0/main.js
Error: ENOENT: no such file or directory, open 'C:\Users\Keith\Source\Repos\nrmn-account\tmp\bundle_plugin-input_base_path-QZ2DUmcB.tmp\0\main.js.map'
at Error (native)
The broccoli plugin was instantiated at:
at BundlePlugin.Plugin (C:\Users\Keith\Source\Repos\nrmn-account\node_modules\broccoli-plugin\index.js:10:31)
at BundlePlugin.CachingWriter [as constructor] (C:\Users\Keith\Source\Repos\nrmn-account\node_modules\broccoli-caching-writer\index.js:21:10)
at BundlePlugin (C:\Users\Keith\Source\Repos\nrmn-account\node_modules\angular-cli\lib\broccoli\angular-broccoli-bundle.js:11:5)
at Angular2App._getBundleTree (C:\Users\Keith\Source\Repos\nrmn-account\node_modules\angular-cli\lib\broccoli\angular2-app.js:424:22)
at Angular2App._buildTree (C:\Users\Keith\Source\Repos\nrmn-account\node_modules\angular-cli\lib\broccoli\angular2-app.js:159:21)
at new Angular2App (C:\Users\Keith\Source\Repos\nrmn-account\node_modules\angular-cli\lib\broccoli\angular2-app.js:53:23)
at module.exports (C:\Users\Keith\Source\Repos\nrmn-account\angular-cli-build.js:6:10)
at Class.module.exports.Task.extend.setupBroccoliBuilder (C:\Users\Keith\Source\Repos\nrmn-account\node_modules\angular-cli\lib\models\builder.js:55:19)
at Class.module.exports.Task.extend.init (C:\Users\Keith\Source\Repos\nrmn-account\node_modules\angular-cli\lib\models\builder.js:89:10)
at new Class (C:\Users\Keith\Source\Repos\nrmn-account\node_modules\core-object\core-object.js:18:12)
at Class.module.exports.Task.extend.run (C:\Users\Keith\Source\Repos\nrmn-account\node_modules\angular-cli\lib\tasks\build.js:15:19)
at C:\Users\Keith\Source\Repos\nrmn-account\node_modules\angular-cli\lib\commands\build.js:32:24
at lib$rsvp$$internal$$tryCatch (C:\Users\Keith\Source\Repos\nrmn-account\node_modules\rsvp\dist\rsvp.js:1036:16)
at lib$rsvp$$internal$$invokeCallback (C:\Users\Keith\Source\Repos\nrmn-account\node_modules\rsvp\dist\rsvp.js:1048:17)
at lib$rsvp$$internal$$publish (C:\Users\Keith\Source\Repos\nrmn-account\node_modules\rsvp\dist\rsvp.js:1019:11)
at lib$rsvp$asap$$flush (C:\Users\Keith\Source\Repos\nrmn-account\node_modules\rsvp\dist\rsvp.js:1198:9)
The development build continues to work flawlessly.
Does my version of the CLI matter? If so, how should I upgrade?

ng build -prod produces a main.js with System.registerDynamic("main.js" ... in the middle.
When I move that code to the end, the application runs.
Attaching the file.
Not exactly sure what I need to do to get this to build properly.
main.zip

I have tried updating the CLI with npm i angular-cli. This does not work. How should I update the CLI?

I forced an upgrade. I got the error when building to prod that tmp resources did not exist.
I have rolled back to beta 2.

This fails for me too on Mac. Same error in the tmp folder

@kara : angular-cli: 1.0.0-beta.2-mobile.4 builds OK.
It has issues removing folders which it has emptied. It also will build the main.js in the wrong order once the project gets complicated. I tried Beta 5 to see if these issues were fixed.
However, both of these can be worked around by manually deleting empty folders and rebuilding; and manually editing the main.js and moving System.registerDynamic('main.js', . . . to the end of the file.

This may add some insight?
I too having similar problem: ng build -prod AND/OR ng serve -prod will not instantiate, ng serve instantiates OK, no errors in console. However...
Including main.js  MANUALLY inside a <script> at the end of the built index.html file fixes the production build. Please see: https://github.com/angular/angular-cli/issues/982

@rkralston @kara the broken map errors are fixed in beta.5 (not the mobile one though) but can be fixed in a project by changing angular-cli-build.js and tsconfig.json as shown in https://github.com/angular/angular-cli/pull/839.
Another user ran into a similar problem in -prod mode where nothing failed and yet the app did not load. It also seemed related to a bundling issue where some bundled code broke the rest, see https://github.com/angular/angular-cli/issues/951#issuecomment-222863004 for more details. In that case setting the package format in SystemJS for that specific lib fixed the issue. Can you try and tell me if that works for you?

@filipesilva I'm still having the map issue in beta.5:
root@gaming:/home/ronnie/Desktop/dev/wih2# ng --version
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
angular-cli: 1.0.0-beta.5
node: 6.2.0
os: linux x64
root@gaming:/home/ronnie/Desktop/dev/wih2# ng build -prod
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
⠹ Building"{{content-for}}" has been deprecated and will be removed before RC.
⠸ Building(node:6718) DeprecationWarning: 'root' is deprecated, use 'global'
(node:6718) DeprecationWarning: 'GLOBAL' is deprecated, use 'global'
Build failed.
The Broccoli Plugin: [BundlePlugin] failed with:
Error on fetch for main.js at file:///home/ronnie/Desktop/dev/wih2/tmp/bundle_plugin-input_base_path-YvGycoHq.tmp/0/main.js
        Error: ENOENT: no such file or directory, open '/home/ronnie/Desktop/dev/wih2/tmp/bundle_plugin-input_base_path-YvGycoHq.tmp/0/home/ronnie/Desktop/dev/wih2/tmp/broccoli_type_script_compiler-input_base_path-2rjKQsJ6.tmp/0/main.js.map'
    at Error (native)

The broccoli plugin was instantiated at:
    at BundlePlugin.Plugin (/home/ronnie/Desktop/dev/wih2/node_modules/broccoli-plugin/index.js:10:31)
    at BundlePlugin.CachingWriter [as constructor] (/home/ronnie/Desktop/dev/wih2/node_modules/broccoli-caching-writer/index.js:21:10)
    at BundlePlugin (/home/ronnie/Desktop/dev/wih2/node_modules/angular-cli/lib/broccoli/angular-broccoli-bundle.js:11:5)
    at Angular2App._getBundleTree (/home/ronnie/Desktop/dev/wih2/node_modules/angular-cli/lib/broccoli/angular2-app.js:421:22)
    at Angular2App._buildTree (/home/ronnie/Desktop/dev/wih2/node_modules/angular-cli/lib/broccoli/angular2-app.js:159:21)
    at new Angular2App (/home/ronnie/Desktop/dev/wih2/node_modules/angular-cli/lib/broccoli/angular2-app.js:53:23)
    at module.exports (/home/ronnie/Desktop/dev/wih2/angular-cli-build.js:6:10)
    at Class.module.exports.Task.extend.setupBroccoliBuilder (/home/ronnie/Desktop/dev/wih2/node_modules/angular-cli/lib/models/builder.js:55:19)
    at Class.module.exports.Task.extend.init (/home/ronnie/Desktop/dev/wih2/node_modules/angular-cli/lib/models/builder.js:89:10)
    at new Class (/home/ronnie/Desktop/dev/wih2/node_modules/core-object/core-object.js:18:12)
    at Class.module.exports.Task.extend.run (/home/ronnie/Desktop/dev/wih2/node_modules/angular-cli/lib/tasks/build.js:15:19)
    at /home/ronnie/Desktop/dev/wih2/node_modules/angular-cli/lib/commands/build.js:32:24
    at lib$rsvp$$internal$$tryCatch (/home/ronnie/Desktop/dev/wih2/node_modules/rsvp/dist/rsvp.js:1036:16)
    at lib$rsvp$$internal$$invokeCallback (/home/ronnie/Desktop/dev/wih2/node_modules/rsvp/dist/rsvp.js:1048:17)
    at /home/ronnie/Desktop/dev/wih2/node_modules/rsvp/dist/rsvp.js:331:11
    at lib$rsvp$asap$$flush (/home/ronnie/Desktop/dev/wih2/node_modules/rsvp/dist/rsvp.js:1198:9)

Debian Jessie.

@yusijs was that project generated with beta.5? It seems to have the mapping issue of a beta.4 project generation.
Can you try changing angular-cli-build.js and tsconfig.json as shown in #839 and tell me if it works?

That sorted the build, but serve still borked (only shows the "Loading...") with no errors.
ronnie@gaming:~/Desktop/dev/wih2$ sudo ng serve -prod
(node:2156) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
Livereload server on http://localhost:49152
Serving on http://localhost:4200/
"{{content-for}}" has been deprecated and will be removed before RC.
(node:2156) DeprecationWarning: 'root' is deprecated, use 'global'
(node:2156) DeprecationWarning: 'GLOBAL' is deprecated, use 'global'

Build successful - 9708ms.

Slowest Trees                                 | Total
----------------------------------------------+---------------------
BundlePlugin                                  | 8109ms
BroccoliTypeScriptCompiler                    | 954ms

Slowest Trees (cumulative)                    | Total (avg)
----------------------------------------------+---------------------
BundlePlugin (1)                              | 8109ms
BroccoliTypeScriptCompiler (1)                | 954ms

Still fails for me. I have made the requested changes to angular-cli-build.js and tsconfig.json.
C:\Users\rkr0079\Source\Repos\nrmn-account>ng build -prod
(node:9800) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
/ Building(node:9800) DeprecationWarning: 'root' is deprecated, use 'global'
(node:9800) DeprecationWarning: 'GLOBAL' is deprecated, use 'global'
Build failed.
The Broccoli Plugin: [BundlePlugin] failed with:
Error on fetch for vendor/angular2-jwt/angular2-jwt.js at file:///C:/Users/rkr0079/Source/Repos/nrmn-account/tmp/bundle_plugin-input_base_path-VwnZ1R56.tmp/0/vendor/angular2-jwt/angular2-jwt.js
Loading main.js
Error: ENOENT: no such file or directory, open 'C:\Users\rkr0079\Source\Repos\nrmn-account\tmp\bundle_plugin-input_base_path-VwnZ1R56.tmp\0\vendor\angular2-jwt\angular2-jwt.js.map'
at Error (native)
The broccoli plugin was instantiated at:
at BundlePlugin.Plugin (C:\Users\rkr0079\Source\Repos\nrmn-account\node_modules\broccoli-plugin\index.js:10:31)
at BundlePlugin.CachingWriter [as constructor] (C:\Users\rkr0079\Source\Repos\nrmn-account\node_modules\broccoli-caching-writer\index.js:21:10)
at BundlePlugin (C:\Users\rkr0079\Source\Repos\nrmn-account\node_modules\angular-cli\lib\broccoli\angular-broccoli-bundle.js:11:5)
at Angular2App._getBundleTree (C:\Users\rkr0079\Source\Repos\nrmn-account\node_modules\angular-cli\lib\broccoli\angular2-app.js:421:22)
at Angular2App._buildTree (C:\Users\rkr0079\Source\Repos\nrmn-account\node_modules\angular-cli\lib\broccoli\angular2-app.js:159:21)
at new Angular2App (C:\Users\rkr0079\Source\Repos\nrmn-account\node_modules\angular-cli\lib\broccoli\angular2-app.js:53:23)
at module.exports (C:\Users\rkr0079\Source\Repos\nrmn-account\angular-cli-build.js:6:10)
at Class.module.exports.Task.extend.setupBroccoliBuilder (C:\Users\rkr0079\Source\Repos\nrmn-account\node_modules\angular-cli\lib\models\builder.js:55:19)
at Class.module.exports.Task.extend.init (C:\Users\rkr0079\Source\Repos\nrmn-account\node_modules\angular-cli\lib\models\builder.js:89:10)
at new Class (C:\Users\rkr0079\Source\Repos\nrmn-account\node_modules\core-object\core-object.js:18:12)
at Class.module.exports.Task.extend.run (C:\Users\rkr0079\Source\Repos\nrmn-account\node_modules\angular-cli\lib\tasks\build.js:15:19)
at C:\Users\rkr0079\Source\Repos\nrmn-account\node_modules\angular-cli\lib\commands\build.js:32:24
at lib$rsvp$$internal$$tryCatch (C:\Users\rkr0079\Source\Repos\nrmn-account\node_modules\rsvp\dist\rsvp.js:1036:16)
at lib$rsvp$$internal$$invokeCallback (C:\Users\rkr0079\Source\Repos\nrmn-account\node_modules\rsvp\dist\rsvp.js:1048:17)
at lib$rsvp$$internal$$publish (C:\Users\rkr0079\Source\Repos\nrmn-account\node_modules\rsvp\dist\rsvp.js:1019:11)
at lib$rsvp$asap$$flush (C:\Users\rkr0079\Source\Repos\nrmn-account\node_modules\rsvp\dist\rsvp.js:1198:9)
C:\Users\rkr0079\Source\Repos\nrmn-account>ng -v
(node:9232) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
angular-cli: 1.0.0-beta.5
node: 6.1.0
os: win32 x64

Fixed by making the same change to file extensions for angular2-jwt : angular2-jwt/angular2-jwt.+(js|js.map)
I'm still having trouble with rmdir not deleting directories with sub-folders. I manually delete these and the build works. Perhaps rmdir xxxx /s might help?

The prod build builds. However, System.registerDynamic("main.js",["@angular/platform-browser-dynamic","@angular/common","@angular/core","./app","@angular/http","@angular/router","angular2-jwt"],!0,function(a,b,c){"use strict";var d=a("@angular/platform-browser-dynamic"),e=a("@angular/common"),f=a("@angular/core"),g=a("./app"),h=a("@angular/http"),i=a("@angular/router"),j=a("angular2-jwt");return g.environment.production&&f.enableProdMode(),d.bootstrap(g.NrmnAccountAppComponent,[h.HTTP_PROVIDERS,i.ROUTER_PROVIDERS,j.AUTH_PROVIDERS,f.provide(e.LocationStrategy,{useClass:e.HashLocationStrategy})]),c.exports}) get stuck in the middle of main.js and the application does not load.
This and the directories not deleting were my problems with the older build. I still have to manually intervene to get a built application.
What do I need to do to get that the main.js to be inserted at the end of the file?

@rkralston glad that it's working now, although I can't help much with the rmdir :/
@yusijs @rkralston as far as I can tell, the blank loading... screen has to do with SystemJS bundling packages without package configuration in a weird way. See https://github.com/angular/angular-cli/issues/951.

@filipesilva Could you let us know the issue# @ systemjs when you've got one written down? Thanks.

@filipesilva unfortunately, this is not closed. Beta 5 builds, but the build is still broken. I tried the explicit format for moment, it does not change anything.
System.registerDynamic("main.js",["@angular/platform-browser-dynamic","@angular/common","@angular/core","./app","@angular/http","@angular/router","angular2-jwt"],!0,function(a,b,c){"use strict";var d=a("@angular/platform-browser-dynamic"),e=a("@angular/common"),f=a("@angular/core"),g=a("./app"),h=a("@angular/http"),i=a("@angular/router"),j=a("angular2-jwt");return g.environment.production&&f.enableProdMode(),d.bootstrap(g.NrmnAccountAppComponent,[h.HTTP_PROVIDERS,i.ROUTER_PROVIDERS,j.AUTH_PROVIDERS,f.provide(e.LocationStrategy,{useClass:e.HashLocationStrategy})]),c.exports})
still gets thrown into the middle of main.js and prevents the application from bootstrapping. When I manually move this to the end of the file, it works.

@rkralston I found the easiest way to work around this for now, is to include main.js as a script tag in index.html.

@yusijs thanks, that work around works for me too.

@yusijs I put up the issue number here https://github.com/angular/angular-cli/issues/951#issuecomment-223464443
@rkralston the original issue Error: ENOTEMPTY: directory not empty, was fixed, and then the subsequent issue is a duplicate of https://github.com/angular/angular-cli/issues/951. I understand that you still have an issue but I can't keep two open at the same time for the same thing. I will bring up on the other one that you still have a problem even with the correct format.

@rkralston actually... do you have more 3rd party libs other than moment? Because you might need to add in the format for all of them, not just moment.

Yes I do. I'll post it when I get back home. Not sure about the format thing. Can you point me to documentation?
On Fri, Jun 3, 2016 at 7:50 AM -0700, "Filipe Silva"<EMAIL_ADDRESS>wrote:
@rkralston actually... do you have more 3rd party libs other than moment? Because you might need to add in the format for all of them, not just moment.

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/angular/angular-cli/issues/917#issuecomment-223599197

Thnx
On Fri, Jun 3, 2016 at 7:46 AM -0700, "Filipe Silva"<EMAIL_ADDRESS>wrote:
@yusijs I put up the issue number here https://github.com/angular/angular-cli/issues/951#issuecomment-223464443
@rkralston the original issue Error: ENOTEMPTY: directory not empty, was fixed, and then the subsequent issue is a duplicate of https://github.com/angular/angular-cli/issues/951. I understand that you still have an issue but I can't keep two open at the same time for the same thing. I will bring up on the other one that you still have a problem even with the correct format.

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/angular/angular-cli/issues/917#issuecomment-223598939

The list of module formats that SystemJS supports are here: https://github.com/systemjs/systemjs/blob/master/docs/module-formats.md
Maybe start with adding the equivalent of
  'moment':{
    format: 'cjs'
  }

For all the other packages, and see if it works then.

No joy. I'v attached a zip of my config files and the subsequent main.js. @yusijs 's work around still holds. You can see that main.js is being loaded in the middle of the file.
accounts-config.zip

@rkralston yeap, definitely main.js in the middle of the file, like in https://github.com/angular/angular-cli/issues/951.
Your configs and everything seem ok, but without checking a running project I can't really reproduce it. If you can post a repository I can debug in https://github.com/angular/angular-cli/issues/951, I can look at it and see what I can find.

@rkralston can you try with beta.6? We started bundling stuff differently and the issue should be completely fixed.

Removed all instances of cli and only installed globally. When I tried the build, it complained Cannot find module 'angular-cli/lib/broccoli/angular2-app'.
I installed the cli locally and the build ran.
I'm still having issues with the removal of empty directories. This represents a difference in the dev and prod builds. If something in dev is moved to main.js in prod, it is not cleaning up those directories appropriately. I have to run the prod build three times to get a successful build.
SUCCESS!! main.js is now built in the proper order!!!!


Typo in the docs

I think there must have been a typo in the documentation here. Seems like it should say (like :math:**S^z** for Sz conservation) instead of (like :math:**S^x** for Sz conservation), thanks!

thanks for reporting typos!
Here, however, the docs are corrects as is.
The point is that if you enforce Sz conservation,  you can not write down the Sx operator.
One way to see this:
We usually include a factor two such that values of the conserved charge Q=2*Sz are integer.
Now Sx is the sum of the raising operator S+ with total charge qtotal=+2 and the lowering operator S- with total charge -2.
This means that Sx has no well defined total charge and therefore we can not write Sx as an tenpy.linalg.np_conserved.Array.

Oh I see, it totally makes sense, thanks a lot for the explanation! @Jakob-Unfried


[5.0] Add @ifsection statement

Provides a way to solve a common situation when a section should be wrapped by some markup only if it exists.

         @yield('content')

    @ifsection('sidebar')

             @yield('sidebar')

    @endif

:+1:

Shouldn't be @endifsection ? In order to match the common pattern in blade

Actually, @endforelse does the same but it is not obvious when @forelse is closed by @endif, while @ifsection - @endif is quite good and obvious pair.

Probably should go to 5.1 instead of 5.0.

Why? This isn't a bc break.

It is if someone is already defining this function. I'll leave this open for Taylor to decide.

I can make a separate PR just for hasSection method because it is less memory consuming than array_key_exists('section', $__env->getSections()) as we don't need to pull the whole sections array.
And a new PR with @ifsection to master branch.

Not really a fan of this syntax.


get_posts returning only 5 posts

 posts = get_posts(current_page, start_url="https://mbasic.facebook.com/" + current_page + "?v=timeline", pages=10,                       cookies="cookies.txt",                       options={"posts_per_page": 10, "allow_extra_requests": True, "comments": True})
I am using this code to scrap posts, this returns only 5 posts. They are the last 5 posts.
the log cat says:
Looking for next page URL Page parser did not find next page URL

@basheerpaliyathu i updated the master branch with a quick fix for this, but i am not sure if it will work totally for you. please try it and tell me if it resolves it. also this is only for page scrapping not groups

after fetching 5 posts, my account got temporary block.
facebook_scraper.exceptions.TemporarilyBanned: You’re Temporarily Blocked

@basheerpaliyathu that's facebook policy, you must have used it a lot, like try to parse 100 posts at once. wait for a day and try to space your requests, maybe make 5  posts a day instead of all at once

actually my account not getting blocked, i can browser through web browser, and also able to fetch posts using this scraper, but it throws exception right after 5th post.
before showing Temporary banned message, it is showing 500 internal server error.
Caught exception, retry number 1. Sleeping for 2s Requesting page from: https://m.facebook.com/profile/timeline/stream/?cursor=<encrypted_key>&start_time=-9223372036854775808&profile_id=100064322996629&replace_id=u_0_1_I%2B&refid=17&paipv=0&eav=<encrypted_key>&start_time=-9223372036854775808&profile_id=100064322996629&replace_id=u_0_1_I%2B&refid=17&paipv=0&eav=<encrypted_key> Exception: HTTPError('500 Server Error: Internal Server Error for url: https://www.facebook.com/profile/timeline/stream/?cursor=<encrypted_key>&start_time=-9223372036854775808&profile_id=100064322996629&replace_id=u_0_1_I%2B&refid=17&paipv=0&eav=<encrypted_key>') Traceback (most recent call last):   File "/Users/admin/Documents/facebook-scraper/facebook_scraper/facebook_scraper.py", line 881, in get     response.raise_for_status()   File "/Users/admin/Documents/facebook-scraper/venv/lib/python3.9/site-packages/requests/models.py", line 943, in raise_for_status     raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://www.facebook.com/profile/timeline/stream/?cursor=<encrypted_key>&start_time=-9223372036854775808&profile_id=100064322996629&replace_id=u_0_1_I%2B&refid=17&paipv=0&eav=<encrypted_key>&_rdr Caught exception, retry number 2. Sleeping for 4s

Awesome, that worked.


Voyager crawler

I am using Voight-Kampf gem to identify wether a visit is a crawler and I recently noticed several non-bot requests detected as robots. They all match with the voyager crawler, corresponding to kosmix.com (a website that doesn't seem to be online anynore) but they do because the user agent includes the string "VOYAGER2 DG310" which happens to be a smartphone by Doogee.
I think this value should probably either be removed (as the site seems to be offline) or be changed to "voyager ", adding a blank space at the end of the string, but I'm not sure which option is the best solution and thats why I open a issue instead a PR.

I think this value should probably either be removed

Sounds a good idea, thanks.


fix: update to eye v8.6.21

fix: update to eye v8.6.21

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

npm package (@latest dist-tag)
GitHub release
v10.6.21

Your semantic-release bot :package::rocket:


Shortcut doesnt work on linux

Hey, thanks for the add-on; looks great! But I couldn't try it on Floorp Browser (which is based on firefox).
The shortcut Windows+Shift+E doesnt work on linux (in floorp browser). Maybe there is a different shortcut for linux?

@okan-instrumentl try setting a different shortcut. You can do it by going to the "Manage Extensions" page, then clicking on the gear icon (top right), then clicking "Manage Extension Shortcuts"


crystal+constant upgrade coloration

Bring back green highlight for automated Crystal upgrades
Make constant upgrades turn purple (instead of green) when you can upgrade them, which is consistent with Crystal upgrades
Make constant upgrades turn green when they become automated
this was requested on Discord
https://discord.com/channels/677271830838640680/1135496461350612992/1135496461350612992
In addition to the above, constant upgrades 9 and 10 will be green if they are level 1+.
(also snuck in a minor optimization to constant upgrade metadata)

sorry about the lint


DigitalSignageUAP Video

Device Name:	Win10CoreIoT
Device Model:	Raspberry Pi 3
OS Version:	10.0.14393.0
and
Device Name:	Win10CoreIoT
Device Model:	Raspberry Pi 3
OS Version:	10.0.14393.187
Debug rate counter
[App fps] [App cpu]
000           002
[Sys fps] [Sys cpu]
064         003
The sample app on a Pi3 is displaying poor video, missing frames. MP4 or WMV
using Pi 7" Touch Display, or via HDMI
(No Audio either via HDMI)
Debug fps rate counter doesn't appear to be accurate.
Is this what other people are seeing?
Any more news or a plan to get better video performance? GPU Support maybe?
Exact video works fine as .wmv or .mp4 on Raspbian

Hi PRIMETSS,
Have you tried this on other IoT Core platforms?  There are known issues with the GPU on RPi not supporting Direct X and therefore the graphics performance suffers.
Sincerely,
IoTGirl

Not yet, does anyone have recommendations on board on a board they have tried that doesn't have this problem?

We have a video loop running on an MBM at the office without issue. Basic HD TV resolution, nothing fancy.

No update for more than 1 month - closing.  Please see the MSDN IoT Forums for more questions regarding IoTCore.


[Matter.framework] Wrap the MatterControllerFactory shutdown code tha…

…t is runned with atexit into its own autorelease pool
Problem
The MTRDeviceControllerFactory install some code to be runned on shutdown. But this code escapes our root autoreleasepool that is set up in examples/darwin-framework-tool/main.mm.
This PR adds an autoreleasepool for this specific code block.

Fast-tracking platform-specific fix with platform owner review.


Publish TypeScript types with package

Congratulations on releasing the big ES modules rewrite! I gave it a try in a simple toy app, and it works wonderfully. It was great to see tree-shaking working correctly!
The only feedback I have is that it'd be really nice to have the TypeScript definitions published as part of the package instead of a separate @types package. This would ensure that all consumers of v7 and up are able to use the package with TypeScript without installing another package that is potentially out of date. As an example, I'm unable to test the new v7 beta in my TypeScript projects since the published types are only for v3. In order to use the beta, I'd need to write my own declaration file, and if I'm doing that I figured I might as well offer to do it officially.
If you're interested, I'm willing to write new type declarations and send a PR adding them.

@dstaley thank you for taking the time to test the new version, I'm glad to hear it worked well for you!
I'm reluctant to include the types in this project as long as it is written in JS, since the Typescript docs explicitly state:

Now that you have authored a declaration file following the steps of this guide, it is time to publish it to npm. There are two main ways you can publish your declaration files to npm:

bundling with your npm package, or
publishing to the @types organization on npm.

If your package is written in TypeScript then the first approach is favored. Use the --declaration flag to generate declaration files. This way, your declarations and JavaScript will always be in sync.
If your package is not written in TypeScript then the second is the preferred approach.

Since I'm not a regular TypeScript user I don't know if packages tend to stick to these rules or not.
In any case I'm still happy to maintain types that are in-sync with the developments in this repo. In fact I have already submitted a PR over at DefinitelyTyped/DefinitelyTyped#42438 that should clean things up for v7.0.0 (once we release the stable version).
I would be really happy if you could take a look at the type definitions over there and leave your feedback.

@ctavan That's great to hear! Each method has its trade-offs (for instance, this exact scenario where you can't ship prerelease types), but as long as you're willing to maintain the types users will have good experiences.
In the meantime, I'll try manually installing your changes into node_modules and giving it a test in my TypeScript projects and letting you know the results.

@ctavan I totally forgot that npm can resolve packages via GitHub, so I pushed your type definition to a repo and installed it in my TypeScript projects. It works wonderfully, and I confirmed that the module field is correctly resolved by bundlers like rollup.
I can't wait for this to land. Thank you for all the work you've done!
For anyone else that wants to give it a try, you can run npm install https://github.com/dstaley/types-uuid.

Right now I cannot upgrade to uuid v7 because my app/lib is written in TypeScript so it also needs @types/uuid which, right now, is still 3.4.7.
Please, consider adding TypeScript into uuid itself. If you don't want, you don't need to rewrite the whole code to TS but just add a "types": "index.d.ts" in package.json and create a index.d.ts that exposes the public library API in TypeScript. Something like this:
https://github.com/ibc/h264-profile-level-id

We do have a pending PR for the types at https://github.com/DefinitelyTyped/DefinitelyTyped/pull/42438
It should be merged within the next few days. Please see my comment above for the reasoning why we don't bundle the types with this module at the moment.

Yes, sorry. I just consider that it's easier to include types definition within the own package rather than publishing a separate package to @types. Obviously up to you :)

easier to include types definition within the own package

... for typescript users, not necessarily for package developers, especially ones who are not themselves TypeScript devs.
@ctavan: I'd suggest only taking a PR that adds typescript defs if the person is willing to support that them moving forward.  I.e. There should be a comment-header in the file that says, "Please make sure issues related to these typedefs are assigned to @[PR author] in Github", or words to that effect.

<EMAIL_ADDRESS>has finally been released and should fix this issue.
As mentioned above I'm happy to update the TypeScript definitions over at DefinitelyTyped if the API surface of this module changes, but I will follow the official recommendation of not bundling the type definitions into this module as long as it is not written in TypeScript.

Thanks, works perfectly (just tested in Node).


Use structopt for rustfmt-format-diff arguments parsing

Continuing my work on porting all rustfmt binaries to structopt

Had to restart the PR build to publish the 1.35.0 blog post, sorry for the disruption!

@topecongiro Could you please take a look if everything is fine with this PR? Thank you!


google_maps_flutter_web marker color

Hi guys,
I am using google_maps_flutter_web for my web app
And there is a problem that i cant change the marker color, 'icon' parameter not working, when i tried to change the default marker BitmapDescriptor it does not changed any ideas ?

@iDevTJ
Can you provide flutter doctor -v and a complete minimal reproducible code sample that shows this issue ?
Thanks.

@darshankawar

@iDevTJ
Please also provide a complete minimal reproducible code sample that we can directly use to verify this issue.
Thanks.

Ok ,
pubspec.yaml
dependencies:
google_maps_flutter:
google_maps_flutter_web:
PathPoint class : is a custom class that i created to save points
and it have a method to make a marker from object point, and the marker color is NOT RED

and Path class: custom class and it have a method to return set of markers

i used GoogleMap widget in the page that i will render and passed a markers set to display line 200:

and this is the value of markers (the result of calling Path.getMarkers()):

and the final result is like that : red color markers, even that i used another color;

I hope that was clear :)

@iDevTJ
When you are providing a code sample or any details, please don't put that in a screenshot, as it becomes hard for us to use it. Please provide the code sample in text format and that too in a single file (main.dart) that we can simply copy paste and run to verify this.
Thanks.

@darshankawar
You are asking for something that not logical, ty.

@iDevTJ
Not sure what's not logical in asking a complete code sample in a text format rather than in screenshots. Please provide one to properly address and to make this issue actionable.
Thanks.

@iDevTJ
Not sure what's not logical in asking a complete code sample in a text format rather than in screenshots. Please provide one to properly address and to make this issue actionable.
Thanks.

I appreciate your help and your time,
But it's too hard to join my code in One file, there is an API controller, and custom classes file, too and widgetHelper, and the problem is that "icon" parameter is not working, that's it, everything else is working,
in addition , I moved to ReactJS, ty for your time again .


vite + windicss + daisy configuration doesn't work (RangeError: Maximum call stack size exceeded)

My vite.config.ts is
import { defineConfig } from 'vite'
import WindiCSS from 'vite-plugin-windicss'
import tsconfigPaths from 'vite-tsconfig-paths'

export default defineConfig({ plugins: [WindiCSS(), tsconfigPaths()] })

And windy.config.ts
import { defineConfig } from 'vite-plugin-windicss'
import { transform } from 'windicss/helpers'

export default defineConfig({
    darkMode: false,
    theme: {
        extend: {
            colors: require('daisyui/colors/windi'),
        },
    },
    extract: {
        include: ['index.html', 'src/**/*.{vue,html,jsx,tsx}'],
        exclude: ['node_modules/**/*', '.git/**/*'],
    },
    plugins: [transform('daisyui')],
})

When running vite serve, this results in
🌼 daisyUI components 1.21.0  https://github.com/saadeghi/daisyui
  error when starting dev server:
  RangeError: Maximum call stack size exceeded
      at guessClassName

I'm facing the same issue and just removing the DaisyUI I was able to build my project

I got same issue few days ago.
Inspecting code, function "guessClassName" applies "split" call, wich produces same result as received. Later, that result has a particular property wich produces recursive call.
In particular, DaisyUI adds a class with selector "...:where(X, Y)". This comma generate the recursive call.

The only fix that worked for me is switching back to DaisyUI 1.16.6.

@konti-kun Your solution fixed the issue here. I'm using the latest DaisyUI version and everything is just awesome. Thanks!

@konti-kun You are a genius in your field. Solved!


Sub State

Note: Akita is great, an excellent job!!!
Hello everyone, there is something I can not find in the documentation.
In Complex and large state are difficult to manage. Oftentimes we need to break these down into sub states that we can manage on a individual basis.
How can I do this with Akita?...
For example:
My application have 3 features (AdminFeature, StatsFeature, TweetsFeature), and my global state is a object, and in this way I would like to see it in the dev tools:
GlobalState {
    AdminFeature
    StatsFeature
    TweetsFeature
}

My AdminFeature it's something like this:
AdminFeature {
    Users
    Permissions,
    SelectedRole,
    ActiveTab,
    // among other things...
    }
}

how can I use the power of Entity Store in Users and Permissions(colecctions), if they are a sub-state from store AdminFeature???
Every time I see an example of using the Entity Store, never is inside another state
Something like combineReducers in Ngrx and Sub States in Ngxs.
Is this possible with Akita? Can I see an example?

You have two options:

Create a store for each.
Add them as a property to the main store and use Akita's entity array utils to CRUD them. https://netbasal.gitbook.io/akita/entity-store/entity-store/entity-array-utils

Moving the discussion to Gitter.

@NetanelBasal So you can not do sub state with Akita

@NetanelBasal This can not be considered a proposal??

@mailok I described what is a sub-state in Akita, but will try to make it more comfortable in the future.


Test enhancement

Changed log

Using the class-based PHPUnit namespace to be compatible with the latest PHPUnit version.
The getMock API in PHPUnit is deprecated since PHPUnit 5.7+ version and it's the big work to do this. And the proper way is keep the PHPUnit version requiring 4.8 in composer.json.

Excellent, thanks again @peter279k !
I'll look into replacing getMock and updating versions :)


How to synthesise speech with C on GPU card

Hello @jmvalin,
I spent 1s to synthesise an audio 4s with C on cpu. How should i do to run it with c on gpu to improve it's speed? Thank you very much.

@tranvanhoa533 It took me 6sec on CPU to generate audio of 20sec? It has all optimization ( AVX2 and -o3) .


Add support for mutations and subscriptions.

Fixes sheerun/graphqlviz#4.
If there is only one of queryType, mutationType, or subscriptionType, that is used as the graph root. This preserves the layout of query-only schemas. Otherwise, we create a virtual "Schema" root type type which has whichever of the query/mutation/subscription fields are defined.
Sample output graph:

Hmm, so there's a defect here: input types are not displayed. That's a little more work to implement and I'm out of my timebox today.

Looks great :) Please let us know when you manage to finish this

@sheerun - I'm not sure exactly when I'll have time to come back to this and unfortunately input types are a little less straightforward since they're only referenced in args, which are handled very differently than fields in the current code. I believe this is already a defect for queries with non-scalar input argument types.
Since previously mutations were excluded entirely, the current state of this PR is stable and a strict improvement. Maybe worth filing the lack of input types as a separate issue?

@sheerun - That's tracked now in sheerun/graphqlviz#12.

Replace by #14 thank you!


SerializableTransactionTest might be failing spuriously

Several complaints about this failing from time to time on Travis. Might be a Mac issue, might be that the test is broken, might be that we broke something in CC.
Investigation would be appreciated.

Here's an example of how it fails, and on rerun it typically passes. Maybe some nondeterminism in how stuff is being scheduled:
        Start  46: serializable_transaction_test

46: Test command: /Users/travis/build/cmu-db/peloton/build/test/serializable_transaction_test "--gtest_color=yes" "--gtest_output=xml:/Users/travis/build/cmu-db/peloton/build/test/serializable_transaction_test.xml"

46: Environment variables:

46:  LSAN_OPTIONS=suppressions=/Users/travis/build/cmu-db/peloton/test/leak_suppr.txt

46: Test timeout computed to be: 9.99988e+06

46: Running main() from gmock_main.cc

46: [==========] Running 6 tests from 1 test case.

46: [----------] Global test environment set-up.

46: [----------] 6 tests from SerializableTransactionTests

46: [ RUN      ] SerializableTransactionTests.TransactionTest

46: [       OK ] SerializableTransactionTests.TransactionTest (36 ms)

46: [ RUN      ] SerializableTransactionTests.ReadOnlyTransactionTest

46: 2018-06-25 20:34:00 [test/concurrency/testing_transaction_util.cpp:192:CreateTable] INFO  - the database_id is 16777216

46: 2018-06-25 20:34:00 [test/concurrency/serializable_transaction_test.cpp:330:ExecuteNext] INFO  - Txn 0 commits: Success

46: /Users/travis/build/cmu-db/peloton/test/concurrency/serializable_transaction_test.cpp:90: Failure

46: Value of: scheduler.schedules[0].results.size()

46:   Actual: 0

46: Expected: 10

46: [  FAILED  ] SerializableTransactionTests.ReadOnlyTransactionTest (366 ms)

46: [ RUN      ] SerializableTransactionTests.ConcurrentReadOnlyTransactionTest

46: 2018-06-25 20:34:01 [test/concurrency/testing_transaction_util.cpp:192:CreateTable] INFO  - the database_id is 16777216

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:302:ExecuteNext] INFO  - Txn 0 Update 0's value to 1, 1

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:302:ExecuteNext] INFO  - Txn 0 Update 0's value to 2, 1

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:330:ExecuteNext] INFO  - Txn 0 commits: Success

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:330:ExecuteNext] INFO  - Txn 1 commits: Success

46: [       OK ] SerializableTransactionTests.ConcurrentReadOnlyTransactionTest (179 ms)

46: [ RUN      ] SerializableTransactionTests.SingleTransactionTest

46: 2018-06-25 20:34:01 [test/concurrency/testing_transaction_util.cpp:192:CreateTable] INFO  - the database_id is 16777216

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:330:ExecuteNext] INFO  - Txn 0 commits: Success

46: 2018-06-25 20:34:01 [test/concurrency/testing_transaction_util.cpp:192:CreateTable] INFO  - the database_id is 16777216

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:302:ExecuteNext] INFO  - Txn 0 Update 0's value to 1, 1

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:330:ExecuteNext] INFO  - Txn 0 commits: Success

46: 2018-06-25 20:34:01 [test/concurrency/testing_transaction_util.cpp:192:CreateTable] INFO  - the database_id is 16777216

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:302:ExecuteNext] INFO  - Txn 0 Update 0's value to 1, 1

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:302:ExecuteNext] INFO  - Txn 0 Update 0's value to 2, 1

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:302:ExecuteNext] INFO  - Txn 0 Update 0's value to 3, 1

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:302:ExecuteNext] INFO  - Txn 0 Update 0's value to 4, 1

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:330:ExecuteNext] INFO  - Txn 0 commits: Success

46: 2018-06-25 20:34:01 [test/concurrency/testing_transaction_util.cpp:192:CreateTable] INFO  - the database_id is 16777216

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:302:ExecuteNext] INFO  - Txn 0 Update 0's value to 1, 0

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:302:ExecuteNext] INFO  - Txn 0 Update 0's value to 3, 1

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:330:ExecuteNext] INFO  - Txn 0 commits: Success

46: 2018-06-25 20:34:01 [test/concurrency/testing_transaction_util.cpp:192:CreateTable] INFO  - the database_id is 16777216

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:302:ExecuteNext] INFO  - Txn 0 Update 1000's value to 3, 1

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:330:ExecuteNext] INFO  - Txn 0 commits: Success

46: [       OK ] SerializableTransactionTests.SingleTransactionTest (169 ms)

46: [ RUN      ] SerializableTransactionTests.ConcurrentTransactionsTest

46: 2018-06-25 20:34:01 [test/concurrency/testing_transaction_util.cpp:192:CreateTable] INFO  - the database_id is 16777216

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:330:ExecuteNext] INFO  - Txn 0 commits: Success

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:330:ExecuteNext] INFO  - Txn 1 commits: Success

46: 2018-06-25 20:34:01 [test/concurrency/testing_transaction_util.cpp:192:CreateTable] INFO  - the database_id is 16777216

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:302:ExecuteNext] INFO  - Txn 0 Update 0's value to 1, 1

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:330:ExecuteNext] INFO  - Txn 0 commits: Success

46: [       OK ] SerializableTransactionTests.ConcurrentTransactionsTest (52 ms)

46: [ RUN      ] SerializableTransactionTests.AbortTest

46: 2018-06-25 20:34:01 [test/concurrency/testing_transaction_util.cpp:192:CreateTable] INFO  - the database_id is 16777216

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:302:ExecuteNext] INFO  - Txn 0 Update 0's value to 100, 1

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:319:ExecuteNext] INFO  - Txn 0 Abort

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:330:ExecuteNext] INFO  - Txn 1 commits: Success

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:319:ExecuteNext] INFO  - Txn 0 Abort

46: 2018-06-25 20:34:01 [test/concurrency/serializable_transaction_test.cpp:330:ExecuteNext] INFO  - Txn 1 commits: Success

46: [       OK ] SerializableTransactionTests.AbortTest (43 ms)

46: [----------] 6 tests from SerializableTransactionTests (845 ms total)

46:

46: [----------] Global test environment tear-down

46: [==========] 6 tests from 1 test case ran. (845 ms total)

46: [  PASSED  ] 5 tests.

46: [  FAILED  ] 1 test, listed below:

46: [  FAILED  ] SerializableTransactionTests.ReadOnlyTransactionTest

46:

46:  1 FAILED TEST

 46/177 Test  #46: serializable_transaction_test .................***Failed    1.37 sec

test 47

        Start  47: timestamp_ordering_transaction_manager_test

Also worth noting, on both occasions observed, this happens on mac builds only

I’ll spend some time on it today.

Haven't been able to reproduce it locally all day :(

I just tried running it 10-20 times and got it to fail:
[build] ASAN_OPTIONS=detect_container_overflow=0 ./test/serializable_transaction_test
Running main() from gmock_main.cc
[==========] Running 6 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 6 tests from SerializableTransactionTests
[ RUN      ] SerializableTransactionTests.TransactionTest
[       OK ] SerializableTransactionTests.TransactionTest (28 ms)
[ RUN      ] SerializableTransactionTests.ReadOnlyTransactionTest
2018-06-26 13:46:19 [test/concurrency/testing_transaction_util.cpp:192:CreateTable] INFO  - the database_id is 16777216
2018-06-26 13:46:19 [test/concurrency/serializable_transaction_test.cpp:314:ExecuteNext] INFO  - Txn 0 commits: Success
/Users/wanshenl/Documents/pavlo/peloton/test/concurrency/serializable_transaction_test.cpp:90: Failure
Value of: scheduler.schedules[0].results.size()
  Actual: 0
Expected: 10
[  FAILED  ] SerializableTransactionTests.ReadOnlyTransactionTest (217 ms)
[ RUN      ] SerializableTransactionTests.ConcurrentReadOnlyTransactionTest
2018-06-26 13:46:19 [test/concurrency/testing_transaction_util.cpp:192:CreateTable] INFO  - the database_id is 16777216
^[[A2018-06-26 13:46:19 [test/concurrency/serializable_transaction_test.cpp:286:ExecuteNext] INFO  - Txn 0 Update 0's value to 1, 1
2018-06-26 13:46:19 [test/concurrency/serializable_transaction_test.cpp:286:ExecuteNext] INFO  - Txn 0 Update 0's value to 2, 1
2018-06-26 13:46:19 [test/concurrency/serializable_transaction_test.cpp:314:ExecuteNext] INFO  - Txn 0 commits: Success
2018-06-26 13:46:19 [test/concurrency/serializable_transaction_test.cpp:314:ExecuteNext] INFO  - Txn 1 commits: Success
[       OK ] SerializableTransactionTests.ConcurrentReadOnlyTransactionTest (113 ms)
[ RUN      ] SerializableTransactionTests.SingleTransactionTest
2018-06-26 13:46:19 [test/concurrency/testing_transaction_util.cpp:192:CreateTable] INFO  - the database_id is 16777216
2018-06-26 13:46:19 [test/concurrency/serializable_transaction_test.cpp:314:ExecuteNext] INFO  - Txn 0 commits: Success
2018-06-26 13:46:19 [test/concurrency/testing_transaction_util.cpp:192:CreateTable] INFO  - the database_id is 16777216
2018-06-26 13:46:19 [test/concurrency/serializable_transaction_test.cpp:286:ExecuteNext] INFO  - Txn 0 Update 0's value to 1, 1
2018-06-26 13:46:19 [test/concurrency/serializable_transaction_test.cpp:314:ExecuteNext] INFO  - Txn 0 commits: Success
2018-06-26 13:46:19 [test/concurrency/testing_transaction_util.cpp:192:CreateTable] INFO  - the database_id is 16777216
2018-06-26 13:46:19 [test/concurrency/serializable_transaction_test.cpp:286:ExecuteNext] INFO  - Txn 0 Update 0's value to 1, 1
2018-06-26 13:46:19 [test/concurrency/serializable_transaction_test.cpp:286:ExecuteNext] INFO  - Txn 0 Update 0's value to 2, 1
2018-06-26 13:46:19 [test/concurrency/serializable_transaction_test.cpp:286:ExecuteNext] INFO  - Txn 0 Update 0's value to 3, 1

2018-06-26 13:46:19 [test/concurrency/serializable_transaction_test.cpp:286:ExecuteNext] INFO  - Txn 0 Update 0's value to 4, 1
2018-06-26 13:46:19 [test/concurrency/serializable_transaction_test.cpp:314:ExecuteNext] INFO  - Txn 0 commits: Success
2018-06-26 13:46:19 [test/concurrency/testing_transaction_util.cpp:192:CreateTable] INFO  - the database_id is 16777216
2018-06-26 13:46:19 [test/concurrency/serializable_transaction_test.cpp:286:ExecuteNext] INFO  - Txn 0 Update 0's value to 1, 0
2018-06-26 13:46:19 [test/concurrency/serializable_transaction_test.cpp:286:ExecuteNext] INFO  - Txn 0 Update 0's value to 3, 1
2018-06-26 13:46:20 [test/concurrency/serializable_transaction_test.cpp:314:ExecuteNext] INFO  - Txn 0 commits: Success
2018-06-26 13:46:20 [test/concurrency/testing_transaction_util.cpp:192:CreateTable] INFO  - the database_id is 16777216
2018-06-26 13:46:20 [test/concurrency/serializable_transaction_test.cpp:286:ExecuteNext] INFO  - Txn 0 Update 1000's value to 3, 1
2018-06-26 13:46:20 [test/concurrency/serializable_transaction_test.cpp:314:ExecuteNext] INFO  - Txn 0 commits: Success
[       OK ] SerializableTransactionTests.SingleTransactionTest (88 ms)
[ RUN      ] SerializableTransactionTests.ConcurrentTransactionsTest
2018-06-26 13:46:20 [test/concurrency/testing_transaction_util.cpp:192:CreateTable] INFO  - the database_id is 16777216
2018-06-26 13:46:20 [test/concurrency/serializable_transaction_test.cpp:314:ExecuteNext] INFO  - Txn 0 commits: Success
2018-06-26 13:46:20 [test/concurrency/serializable_transaction_test.cpp:314:ExecuteNext] INFO  - Txn 1 commits: Success
2018-06-26 13:46:20 [test/concurrency/testing_transaction_util.cpp:192:CreateTable] INFO  - the database_id is 16777216
2018-06-26 13:46:20 [test/concurrency/serializable_transaction_test.cpp:286:ExecuteNext] INFO  - Txn 0 Update 0's value to 1, 1
2018-06-26 13:46:20 [test/concurrency/serializable_transaction_test.cpp:314:ExecuteNext] INFO  - Txn 0 commits: Success
[       OK ] SerializableTransactionTests.ConcurrentTransactionsTest (29 ms)
[ RUN      ] SerializableTransactionTests.AbortTest
2018-06-26 13:46:20 [test/concurrency/testing_transaction_util.cpp:192:CreateTable] INFO  - the database_id is 16777216
2018-06-26 13:46:20 [test/concurrency/serializable_transaction_test.cpp:286:ExecuteNext] INFO  - Txn 0 Update 0's value to 100, 1
2018-06-26 13:46:20 [test/concurrency/serializable_transaction_test.cpp:303:ExecuteNext] INFO  - Txn 0 Abort
2018-06-26 13:46:20 [test/concurrency/serializable_transaction_test.cpp:314:ExecuteNext] INFO  - Txn 1 commits: Success
2018-06-26 13:46:20 [test/concurrency/serializable_transaction_test.cpp:303:ExecuteNext] INFO  - Txn 0 Abort
2018-06-26 13:46:20 [test/concurrency/serializable_transaction_test.cpp:314:ExecuteNext] INFO  - Txn 1 commits: Success
[       OK ] SerializableTransactionTests.AbortTest (23 ms)
[----------] 6 tests from SerializableTransactionTests (499 ms total)

[----------] Global test environment tear-down
[==========] 6 tests from 1 test case ran. (499 ms total)
[  PASSED  ] 5 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] SerializableTransactionTests.ReadOnlyTransactionTest

Same failure.

Can you get a TRACE level log of it to get a better idea what's happening? I still can't get it to reproduce.

@lmwnshn helpfully ran it 1000 times on this commit just before I did all the TransactionContext refactoring in the last couple of weeks. It still reproduced. My suspicion right now is that in rare cases the bootstrapping process (which seems slower in the last month) takes longer than we wait in the test (1 epoch) and it triggers an abort on the scan. We have 2 experiments to try today:

increase the wait time in the test on master
go back to a commit a month or so ago before we had all the bootstrapping changes. I need to identify the exact commit.

The test we occasionally fail was modified in #1322. I'll have to spend more time looking at it tomorrow to understand why we seem to have a race.


Add support for ethernet PHY with integrated switch like KSZ8463 (IDFGH-1845)

I would be great to have support for ethernet PHYs with integrated switch. For example the Microchip KSZ8463.
So you can daisy chain your devices together, with no need for a seperate switch

Hi @joa77
I would say it's an amazing idea to have such a feature, we will take that into consideration.
But I'm sorry maybe it's not a high priority to implement such a feature.

Thanks for your support. I will then wait until some switch phy is integrated

Duplicate to #6488. Check it for current activity.

Close as duplicate of https://github.com/espressif/esp-idf/issues/6488


Compilation is broken under gcc due to unknown option

Compilation is broken because of ac8c68de536ec071913bb2f78f7cba6b57c8866f:
$ gcc -std=c11 -O2 -flto -fPIC -fvisibility=hidden -fno-plt -pipe -Wall -Wextra -Wcast-align=strict -Wcast-qual -Wwrite-strings -Wmissing-prototypes -D_GNU_SOURCE  -c -o chacha.o chacha.c
gcc: error: unrecognized command line option ‘-Wcast-align=strict’; did you mean ‘-Wcast-align’?
<builtin>: recipe for target 'chacha.o' failed
make: *** [chacha.o] Error 1
zsh: exit 2     make
$ gcc -v 2>&1 | grep 'gcc version'
gcc version 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04)

What about using travis-ci or whatever other CI provider to ensure the hardened_malloc is working on clang/gcc/… ? Would you accept such patch?

It still builds with GCC, but not outdated versions of it. For development, I work with the latest stable release of tools and then occasionally port it to supporting older versions again.

Well, the readme says:

Debian stable determines the most ancient set of supported dependencies:
glibc 2.24
Linux 4.9
Clang 3.8 or GCC 6.3

However, using more recent releases is highly recommended. Older versions of the dependencies may be compatible at the moment but are not tested and will explicitly not be supported.

That's not really intended to apply to every merge to master. I treat supporting older versions as a porting issue to deal with occasionally. It can be a blocker for tagged releases. I don't really want to think about portability across platforms and older versions of dependencies when I'm trying to get something else finished and landed.

Ok, it makes sense.

Well, can leave this open until I fix this specific case of it. It'll probably keep happening occasionally though until development settles down.


Enable test_memory

The issue is that the PythonType._subtypes list (which is used for the __subclasses__ method) is growing every time a new subclass is created and not getting cleaned up as types get GCd. This is not actually a regression with ipy2, if you swap the class definitions with new-style classes then it also fails there.
I'm not super happy with the perf impact of this solution but I'm not sure what else to do (other than adding a finalizer to PythonType). @BCSharp any other ideas?
Resolves https://github.com/IronLanguages/ironpython3/issues/508

Yeah, I am not a big fan of using finalizers for stuff like this. They come with their own performance cost. But in this case, I assume creating new types happens far more frequently than getting them garbage collected, so I guess that using finalizers could be justified.
Another idea: keep the current _subtypes list cleanup in AddSubType, but instead of doing it every new type creation, do it only every 16 or so. Or when the list is about to expand its capacity. Or a combination of both, since both have some unique advantages. Just doing this would reduce the performance impact by an order of magnitude, without any serious memory penalty. I suppose most types will have a short list of user-defined subtypes anyway, with the exception of object of course.

Another additional trigger for the cleanup could be gc.collect (unless it is already happening somehow).


feat(snap): add vault ttl config support

This commit adds configure hook support for the new security-file-token-provider DefaultTokenTTL
option, which can be used to increase or decrease the default TTL (one hour) assigned to new Vault tokens.
PR Checklist
Please check if your PR fulfills the following requirements:

[NA] Tests for the changes have been added (for bug fixes / features)**
[x] Docs have been added / updated (for bug fixes / features)

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/master/.github/Contributing.md.
** See #testing for details on how this can be tested.
What is the current behavior?
It's not possible to override the security-file-token-provider's DefaultTokenTTL configuration option when using the edgexfoundry snap.
Issue Number:
none
What is the new behavior?
The snap configure hook now supports setting this new option.
Does this PR introduce a breaking change?

[ ] Yes
[x] No

New Imports

[ ] Yes
[x] No

Specific Instructions
Are there any specific instructions or things that should be known prior to reviewing?
Testing
Since in Ireland, it's not possible to restart security-secretstore-setup, this config option needs to be provide before any of the services start. Currently the only way to do this is by using the default snap configuration feature of the gadget snap.
I tested this by modifying the snap install hook to set initialize the config option to '15m':
$ git diff
diff --git a/snap/local/hooks/cmd/install/install.go b/snap/local/hooks/cmd/install/install.go
index 12228f20..c63b64c6 100644
--- a/snap/local/hooks/cmd/install/install.go
+++ b/snap/local/hooks/cmd/install/install.go
@@ -366,6 +366,12 @@ func main() {
                os.Exit(1)
        }

+       // **TEST CODE**
+       if err = cli.SetConfig("env.security-secret-store.default-token-ttl", "15m"); err != nil {
+               hooks.Error(fmt.Sprintf("edgexfoundry:install %v", err))
+               os.Exit(1)
+       }
+
        // just like the configure hook, this code needs to iterate over every service
        // and setup .env files for each if required...
        for _, v := range hooks.Services {

I built the snap with this extra modification and then just tested by:

installing the snap and enabling kuiper (e.g. snap set edgexfoundry kuiper=on) before 15m had passed, then I just verified that app-service-configurable (profile=rules-engine) started OK
re-installed and waited longer then '15m', and again activated kuiper; this time app-service-configurable fails to start because its token has expired

Codecov Report

Merging #3699 (8985c28) into main (22189a2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #3699   +/-   ##
=======================================
  Coverage   47.27%   47.27%
=======================================
  Files         112      112
  Lines        9180     9180
=======================================
  Hits         4340     4340
  Misses       4466     4466
  Partials      374      374

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 22189a2...8985c28. Read the comment docs.


invalid token

(node:8400) UnhandledPromiseRejectionWarning: Error [TOKEN_INVALID]: An invalid token was provided.
at WebSocketManager.connect (C:\Users\ymamo\OneDrive\Desktop\node_modules\discord.js\src\client\websocket\WebSocketManager.js:135:26)
at Client.login (C:\Users\ymamo\OneDrive\Desktop\node_modules\discord.js\src\client\Client.js:221:21)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:8400) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:8400) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
there's nothing wrong with the token though so wtf

same issue here

@nexx74  did you ever find a solution?

Looks like the API has been updated.. You can't use the bot api for users anymore..


Remove Carbon Configuration from Kernel

In Carbon 5.2.0-m3, carbon config was within the kernel code base. The requirement is to provide carbon config for both OSGi and non-OSGi components. In-order to facilitate this, carbon config needs to be moved out of kernel and into [1]. Kernel should be depending on carbon config.
[1] - https://github.com/wso2/carbon-config

Resolves with #1359


TINYINT not recognized

I haven't been able to look into the reason yet, but the MySQL TINYINT type does not appear to be supported. When performing a SELECT, any fields of type TINYINT get returned as Value.null.

This is related to #16


Auto bidding - FROZEN

Auto bidding based on tagged wishlist
*bottom of need list *
Auto bidding if possible make it so the user chooses they want wish list to be enabled for auto bidding. With a scary are you sure message

Impractical with the current design.  Simplest way to come close is to have supervisor get bid notifications instead of bidder, when any preferred (tagged) line is available at bid time. The supervisor can "auto bid".


Added example using embedded Jetty and Guice - meaning its way more e…

Embedded Jetty - gotta lova that ;)

Very cool! Thanks for the contrib! Merging it now.

awesome


config path to istanbul

Would it be possible to add a coverage config option for the path to istanbul? Or have teaspoon check ./node_modules/.bin/istanbul for the executable?
I’d love to be able to put istanbul in my package.json and not have to rely on installing it globally, but doing this results in the You requested coverage reports, but Teaspoon cannot find the istanbul binary. Run: npm install -g istanbul error (unless I manually update my path).

https://github.com/modeset/teaspoon/blob/master/lib/teaspoon/utility.rb
It simply looks for external commands that are accessible in your path, so you can add your custom instanbul path if you don't want it global.
What you're asking for was added at one point and removed. It makes it far more confusing, and made istanbul the outlier with checking in multiple places. Because it can exist in multiple places the problem becomes "which one is it using?". So being a dependency, we treat it as a dependency, and expect the system to dictate where it is and which one to use via the path.


Add some asserts to check heap structure consistency

JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai<EMAIL_ADDRESS>

Currently if the structure gets corrupted for some reason, it can produce strange errors in different places, which can be hard to debug. These asserts should help with this.

Looks good to me

LGTM FWIW

LGTM

LGTM


require ingress.class annotation for CA certificate secrets

Problem
The current behavior lists all secrets containing the label konghq.com/ca-cert:true and loads them as CA certificates. In case when multiple controllers are running, this will lead to ca certificates being installed in all controllers.
Users have not reported the problem because:

This concept is relatively new
Not a lot of users use this entity (works only in enterprise with mtls-auth plugin)
Proposal
The resource MUST contain ingress.class annotation that matches the class provider to the controller configuration.

For more background, please see the doc in #690.

Closed per #815


[OUDS] Tokens: Typography

Description
The aim of this issue is to study and implement the typography tokens taking into account the cohesive multi-platform approach, the customization by libraries inheriting OUDS Web, but also what we're using for OUDS Web: Boosted, Bootstrap etc.

Define the possibilities
Define the constraints
Define the impacts
Implement the tokens (with a future Style Dictionary usage in mind)

Reminder: there will be in the end 3 layers of tokens:

Raw primitive values: Insertion of brand foundations.

These tokens will be customizable by libraries inheriting OUDS Web.
These tokens cannot be used by developers using OUDS Web.

Semantic applications: Depends on raw primitive values.

Mapping between these tokens and the raw primitive values will be customizable by libraries inheriting OUDS Web.
These tokens can be used by developers using OUDS Web.

Component applications: Depends on semantic applications.:

Mapping between these tokens and the semantic tokens should rarely be customized by libraries inheriting OUDS Web.
These tokens can be used by developers using OUDS Web.

Tokens: Typography
Raw primitive values

TODO: fill

Semantic applications

TODO: fille

Study

[ ] Study the architecture of these tokens, and define the technical details

Technical details
TODO

Closed by #2774.


feature(kubernetes,aws,azure,civo): auto-scaling for self-managed HA clusters

Is your feature request related to a problem?📖
there is no auto-scaling of the no of nodes for HA cluster
Describe the solution you'd like 👨💻👩💻
need a way to combine the existing ksctl-scaler docker image to tell what should be the desired no of workerplane nodes

Describe alternatives you've considered💠

Provider in question

Civo
Azure
K3s
Kubeadm

Additional context
Check Contribution's guidelines
### Tasks
- [ ] https://github.com/kubesimplify/ksctl/pull/164
- [x] scale up and scale down features should always work
- [ ] all workernode deletion kubernetes workload working correctly
- [ ] able to watch any changes to any node spec
- [ ] controller to watch for metrics server for changes in resource utilization for each node and if its beyond certain threshold
- [ ] integrate the kubernetes custom controller with the ksctl http slim server
- [ ] gcr for hosting the container images
- [ ] feature flag added to cli to test working

@prateek041

.


feat(PageHero): add option to show image on mobile

Overview

Previously, the image was always hidden on mobile. This adds the ability to choose whether to show the image on mobile or not with an optional boolean prop, the default being the previous standard to hide on mobile.

Note
This is a successor (update on the latest main) to PR2079
PR Checklist

[x] Related to designs: https://www.figma.com/file/J5yB1jyELiNt3Vb47T9GcE/Job-Readiness?node-id=2%3A43
[x] Related to JIRA ticket: [REACH-1325]
[x] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

📬Published Alpha Packages:@codecademy/gamut-kit@0.5.96-alpha.ed226e.0@codecademy/gamut-labs@24.0.1-alpha.ed226e.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://6154b6360dc48708c1841806--gamut-preview.netlify.appDeploy Logs


Document out of sync from nowhere

Product and Version VSCode:
OS Version Linux:
Live Share Extension Version:
Target Platform or Language C#:
What were you doing when you encountered the desync?
I was simply watching my friend code and the error occured
How often have you encountered desyncs?
Multiple times, 4 times in a row in less than 30 min

Thanks for reporting this! I'm closing this as a duplicate of #2086.


[CI] Optimize out unnecessary image rebuilds that affect Static checks. Add explicit notion of "default image name".

This ~should~ could save another couple of hours for each CI job.

You can build one image with name1 and than build image with name2 and 2-nd build will use cached results.
Also afther you can change some lines in docker file build image name1 again with new information and then revert Dockerfile changes. And the last build will use previously cached commits from building original Dockerfile.

This is correct, see my comment here for a longer explanation. First, docker layers are not deleted when tagging an image name. Secondly, unused docker layers are only deleted when explicitly calling docker prune:

Docker takes a conservative approach to cleaning up unused objects (often referred to as “garbage collection”), such as images, containers, volumes, and networks: these objects are generally not removed unless you explicitly ask Docker to do so.

@shurale-nkn @pfultz2 Thanks for not blocking this.

@pfultz2 @shurale-nkn @ce1adon I did a quick test and can confirm that docker image names in Jenkinsfile are not important for CI performance. Eventually I will create a PR that removes all that stuff.


TS-4367: Failed clang-analyzer, memory leak in mgmt/api

This builds and runs on the CI without problems.

Looks good to me, but not tested with clang-analyzer.


Product combinator for lenses

WHY

spawn multiple fields into abstract view
better support isomorphism

WHAT

lens:p

Coverage increased (+0.4%) to 32.53% when pulling b562281b1c2f14f4b6389b256252af62aedda9e0 on lens-product into 127d5ab18d27a87969fc8b011ebe783b6e3d52ab on master.


Updated .gitignore

@raghavpuri Let's move the original contents to the end of the generated part. This way, we can regenerate and replace that part in future without worrying about the user added items.

Done :)


"nodeExternals is not defined"

Not sure what the problem is. Checked the error online, but couldn't find anyone who's encountered the same err.

I reverted the package.json versions to exactly the ones in the book and source code, but after deleting modules, running npm install and npm run development, it gives me the same error. I did this a couple of times and once it gave me a different err:

So I looked online for help and found that I should update webpack and webpack-cli to newer versions, so I did and got the nodeExternals err again. So I'm stuck there atm, but can't seem to reproduce the err in the last pic anymore. Greatly appreciate any help.

In the webpack.config.server.js file, weback externals calls nodeExternals() that doesn't seem defined anywhere. So replace that with regex. See code below.
`const path = require('path')
const webpack = require('webpack')
const CURRENT_WORKING_DIR = process.cwd()
const config = {
name: "server",
entry: [ path.join(CURRENT_WORKING_DIR , './server/server.js') ],
target: "node",
output: {
path: path.join(CURRENT_WORKING_DIR , '/dist/'),
filename: "server.generated.js",
publicPath: '/dist/',
libraryTarget: "commonjs2"
},
externals: [/^[a-z-0-9]+$/],
module: {
rules: [
{
test: /.js$/,
exclude: /node_modules/,
use: [ 'babel-loader' ]
}
]
}
}
module.exports = config`
Cheers!

In the webpack.config.server.js file, weback externals calls nodeExternals() that doesn't seem defined anywhere. So replace that with regex. See code working below.
const path = require('path')
const webpack = require('webpack')
const CURRENT_WORKING_DIR = process.cwd()

const config = {
    name: "server",
entry: [ path.join(CURRENT_WORKING_DIR , './server/server.js') ],
    target: "node",
    output: {
        path: path.join(CURRENT_WORKING_DIR , '/dist/'),
        filename: "server.generated.js",
        publicPath: '/dist/',
        libraryTarget: "commonjs2"
    },
    externals: [/^[a-z\-0-9]+$/],
    module: {
        rules: [
            {
                test: /\.js$/,
                exclude: /node_modules/,
                use: [ 'babel-loader' ]
            }
        ]
    }
}

Cheers!

In the webpack.config.server.js file, weback externals calls nodeExternals() that doesn't seem defined anywhere. So replace that with regex. See working code below.
const path = require('path')
const webpack = require('webpack')
const CURRENT_WORKING_DIR = process.cwd()

const config = {
    name: "server",
entry: [ path.join(CURRENT_WORKING_DIR , './server/server.js') ],
    target: "node",
    output: {
        path: path.join(CURRENT_WORKING_DIR , '/dist/'),
        filename: "server.generated.js",
        publicPath: '/dist/',
        libraryTarget: "commonjs2"
    },
    externals: [/^[a-z\-0-9]+$/],
    module: {
        rules: [
            {
                test: /\.js$/,
                exclude: /node_modules/,
                use: [ 'babel-loader' ]
            }
        ]
    }
}

Cheers!


pull should handle @{u}

http://stackoverflow.com/questions/18960760/reference-current-branch-and-origin-current-in-git-alias

Please add an example.
All args are passed through: https://github.com/stevelacy/gulp-git/blob/master/lib/pull.js#L18
The SO question you linked to only includes information for aliases

@{u} point on the tracked branch.
I said pull in the initial request, but the problem is easier to explain on the push command.
The push command expect a remote as the first argument and a branch on the second argument.
With @{u} you have neither. I do not see how it could work because you default on origin and master if they are not specified.


Standalone Pagination components need to support 'bootstrap4' prop

If the PaginationProvider component is used along with any of the standalone Pagination components (SizePerPageDropdownStandalone, PaginationTotalStandalone, PaginationListStandalone) and the PaginationProvider wraps the BootstrapTable component (as in the examples), it is not possible to 'configure' the standalone Pagination components with the 'bootstrap4' prop.  Specifying it on the BootstrapTable only affects the table.
Seems like PaginationProvider needs to behave like ToolkitProvider and support the 'bootstrap4' property... or do I have to wrapper BootstrapTable and the standalone Pagination components with a ToolkitProvider, and then wrapper all of that with the PaginationProvider?

@GamertagsRLame it's not an issue, standalone component support bootstrap4
Take below code to explain:
<PaginationProvider
      bootstrap4  // add bootstrap4 prop
      pagination={ paginationFactory(options) }
    >
      {
        ({
          paginationProps,
          paginationTableProps
        }) => (
          <div>
            <PaginationListStandalone
              { ...paginationProps }  // actually, paginationProps contain bootstrap4 prop
            />
            <BootstrapTable
              keyField="id"
              data={ products }
              columns={ columns }
              { ...paginationTableProps }
            />
            <SizePerPageDropdownStandalone
              { ...paginationProps }  // actually, paginationProps contain bootstrap4 prop
              btnContextual="btn btn-primary"
            />
          </div>
        )
      }
    </PaginationProvider>

at above case, paginationProps contain bootstrap4 prop and you have to pass them down to standalone component and all of the standalone component take bootstrap4 prop to do the corresponding handling. I just prove bootstrap 4 is work well in my local by above example.
Please open another issue ticket if the problem still remain.


Reflection Tutorial to Load Databases

This extends the basics notebook tutorial and illustrates procedure to load a pre-existing database.

This looks pretty useful, but might be better off in the sessions tutorial, as a final section - what do you think? Also, we should not ever check in any *.db files, I think - this shoudl be in the .gitignore.

Sure, I will restructure the notebook.
On .db file, I have force included that since we are trying to demonstrate loading a pre-existing database. Is that a problem?


Document PicoGraphics fixed_width

(VSCode also stubbornly fixed some trailing space.)
Closes #765.

Lovely, thank you!