incomplete display of frame/file result

save plot does not display completely in pyferret

Same problem !

I've been looking into this, and I'll update here with progress. There seem to be some other issues related to this.

Same problem for me too


Weights on test HTTPUser tasks not matching results

Describe the bug
We have our main HTTPUser class below.  In this example, test1 - test8 are of type TaskSet with no weights and a single @task method each.
class Runner(HttpUser):

    wait_time = constant(1)

    tasks = {
        test1: 3146,
        test2: 1711,
        test3: 3409,
        test4: 118,
        test5: 313273,
        test6: 5042,
        test7: 6352,
        test8: 910
    }

Expected behavior
When we run, for every 355,377 transactions, we expect roughly the number of transactions in our dictionary for each transaction type.
Actual behavior
When we run the tests, the numbers of times that we run the tests does not match the weights that we have above.  In addition, there are some tests that aren't even being run at all, which has been different every time that we run it.  What aren't we understanding?
Environment

OS: RHEL 7
Python version: Python 3.6.8
Locust version: 1.2.3
Locust command line that you ran: locust -f locust.py
Locust file contents (anonymized if necessary): see code snip above

Update:  We did some additional testing with the following code:
import datetime
from locust import task, TaskSet, constant, User

def Write(prefix):
    d = datetime.datetime.now()
    timestamp = d.strftime("%Y-%m-%d_%H-%M-%S-%f")
    directory = "/tmp"

    with open(directory + "/" + prefix + "_" + timestamp + ".txt", "w") as text_file:
        text_file.write("")

class TaskSetA(TaskSet):
    @task
    def task_a(self):
        print("TaskSetA started")
        Write("TaskSetA")

class TaskSetB(TaskSet):
    @task
    def task_b(self):
        print("TaskSetB started")
        Write("TaskSetB")

class LocustUser(User):
    tasks = {TaskSetA:1, TaskSetB:1}
    wait_time = constant(0.5)

When we run as shown, we get all TaskSetA's and not TaskSetB tests run.
If we set the code to:
tasks = {TaskSetA:1, TaskSetB:2}
we still get only TaskSetA's run.
If we set the code to:
tasks = {TaskSetA:1, TaskSetB:9}
we get only TaskSetB's run.
I hope that helps.
Thanks,
Brian

I can reproduce this and will have a look.

Oh. Right. This is not a "bug", just a silly/misleading implementation. TaskSets do not hand over execution to their parent User/TaskSet unless you call self.interrupt(). As documented here: https://docs.locust.io/en/stable/writing-a-locustfile.html#interrupting-a-taskset
Imho, this is another reason to never use TaskSets :)

I've further clarified the documentation to mention self.interrupt more, and tried to make it clear that TaskSets should only be used when there is a good reason to.

Thanks so much for the clarification, we have switched out tests so that we aren't using TaskSets and the weight of the test is accurate now.
Please consider this issue closed.


Site doesn't report any breaches

No matter what the email you input, the site always returns "Huh! It seems to your informations are not leaked."
For example testing<EMAIL_ADDRESS>on haveibeenpwnd.com shows the breaches, but on your site it reports none.

It may have been an older version. Let me check and reply back.
On Sat 16 Mar, 2019, 1:40 AM ryanchreif<EMAIL_ADDRESS>wrote:

No matter what the email you input, the site always returns "Huh! It seems
to your informations are not leaked."
For example testing<EMAIL_ADDRESS>on haveibeenpwnd.com shows the
breaches, but on your site it reports none.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/PrashantPandey119/HIBP/issues/3, or mute the thread
https://github.com/notifications/unsubscribe-auth/ATBUiJUy7OYPAwQp_fZlWaM7amcUg30vks5vW_45gaJpZM4b3OGp
.

I have modified the code. Have a look


Add support for Ubuntu 16.04

Add Packer template to build VMware-formatted base box with Ubuntu 16.04.
Addresses #2.

Closing this PR since the associated issue (#2) has been closed and since I don't maintain VMware-formatted boxes any longer.


empty message not empty when ApiListener is streaming the message.

❗ please do not add sensitive information in issues, you can provide extra information via email using issue number as reference ❗
Describe the issue
I use an apilistener in the receiver. ApiListener passes the received message as an inputstream to the pipeline.
In this case the payload is empty string

The pipeline has a pipe XMLToJSONConversion with  skipOnEmptyInput="true". I still see the pipe in the pipeline in ladybug. Not sure what to expect for this attribute but it is also not clear from the logs if it was skipped. Moreover, xmlInput sessionKey(result of this pipe) seems to be filled with the input.

In CreateFindDetailedFundMessage I have this basic logic <param defaultValue="<dummy/>" name="xmlInput" sessionKey="xmlInput" type="DOMDOC"/> . This throws an error since the xmlInput is stream. But I'd expect xmlInput not to be in the session at all.

Attaching 2 reports (streaming one and the other is just empty string without streaming)
Reporter
Ali
Pipeline DispatchAPI_stream.zip
Pipeline DispatchAPI_string.zip
FF: 7.9.1

Hey!
So I understand the confusion here. What's happening is that the pipe is skipped, and the result of the pipe is stored in the session. The result of this pipe is the input, as it's being skipped (seems to work fine, indeed a bit strange how that works).
Your XsltPipe seems to be unaware that the input is empty, and gives you an exception (which contains the input message's info).


[INS-30508] Invalid ASM disks.

I am trying to install Single instance standalone database with Grid but unable to move ahead due to the below error. Please help.
TASK [oraswgi-install : install-home-gi | Install Grid Infrastructure] *************************************************************************************************
task path: /home/oraefx/ansible-oracle/roles/oraswgi-install/tasks/<IP_ADDRESS>.yml:43
fatal: [<IP_ADDRESS>]: FAILED! => {
"changed": true,
"cmd": "/u01/stage/<IP_ADDRESS>/grid/runInstaller -responseFile /u01/stage/rsp/grid-myhostgroup.rsp -waitforcompletion -ignorePrereq -ignoreSysPrereqs -showProgress -silent",
"delta": "0:00:04.616256",
"end": "2020-08-14 09:02:31.186901",
"invocation": {
"module_args": {
"_raw_params": "/u01/stage/<IP_ADDRESS>/grid/runInstaller -responseFile /u01/stage/rsp/grid-myhostgroup.rsp -waitforcompletion -ignorePrereq -ignoreSysPrereqs -showProgress -silent",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 254,
"start": "2020-08-14 09:02:26.570645",
"stderr": "",
"stderr_lines": [],
"stdout": "Starting Oracle Universal Installer...\n\nChecking Temp space: must be greater than 415 MB.   Actual 138449 MB    Passed\nChecking swap space: must be greater than 150 MB.   Actual 20478 MB    Passed\nPreparing to launch Oracle Universal Installer from /tmp/OraInstall2020-08-14_09-02-26AM. Please wait ...[FATAL] [INS-30508] Invalid ASM disks.\n   CAUSE: The disks [ORCL:CRS01] were not valid.\n   ACTION: Please choose or enter valid ASM disks.\nA log of this session is currently saved as: /tmp/OraInstall2020-08-14_09-02-26AM/installActions2020-08-14_09-02-26AM.log. Oracle recommends that if you want to keep this log, you should move it from the temporary location.",
"stdout_lines": [
"Starting Oracle Universal Installer...",
"",
"Checking Temp space: must be greater than 415 MB.   Actual 138449 MB    Passed",
"Checking swap space: must be greater than 150 MB.   Actual 20478 MB    Passed",
"Preparing to launch Oracle Universal Installer from /tmp/OraInstall2020-08-14_09-02-26AM. Please wait ...[FATAL] [INS-30508] Invalid ASM disks.",
"   CAUSE: The disks [ORCL:CRS01] were not valid.",
"   ACTION: Please choose or enter valid ASM disks.",
"A log of this session is currently saved as: /tmp/OraInstall2020-08-14_09-02-26AM/installActions2020-08-14_09-02-26AM.log. Oracle recommends that if you want to keep this log, you should move it from the temporary location."
]
}

Hi,
check your inventory in ansible:
ansible-inventory -i <hostfile for inventory> --host <hostname>
Example from my environment:
ansible-inventory -i inventory/restart/hosts.yml --host oradb04
You can add a '-y' for yaml output instead of json.
I always check it this way, because this is the real inventory during the execution of the playbook.

Looks like an error in inventory.


Write Gauss Seidel Preconditioner/Solver

Should be mostly done. Will need to be changed later once Grid is made and it's clear where all the parameters are coming from.


Added Tutorial on npm ERR! not found: git

Type of change

What should this PR do?

Why are we making this change?

What are the acceptance criteria?

How should this PR be tested?

Pull request process
Reviewers:

Test functionality using the criteria above.
Offer tips for efficiency, feedback on best practices, and possible alternative approaches and things that may not have been considered.
For shorter, "quick" PRs, use your best judgement on #2.
Use a collaborative approach and provide resources and/or context where appropriate.
Provide screenshots/grabs where appropriate to show findings during review.

Reviewees:

Prefer incremental and appropriately-scoped changes.
Leave a comment on things you want explicit feedback on.
Respond clearly to comments and questions.

Thank you for your interest in Sourcegraph Learn! As it has been over a week since we requested changes and no updates have been made on this PR, we're going to close this to reopen the issue. Thank you!


Insert To/FromDevice ops around hoisted ops to ensure they're moved to proper device

...

whoops, wrong order


Upgrade fb_os_version to v2<IP_ADDRESS>

Closing stale PRs. Feel free to re-open if decide to continue working on this.


Please invite me to the community

Name
mythofmidas
Additional Context
Hello, Infraform Community.
I'd like to join to your Organization.
Please accept my request and make me a member of your group.
Thanks.

Invitation sent to join the GitHub Organization. Welcome to Infraform 🎉Please check your mail to accept the invitation sent by GitHub! 🤖About usInfraform is a remarkable open-source solution tailored for serverless platforms, aimed at empowering creators to craft their infrastructure solutions. 💻 We're thrilled to welcome you into our vibrant community! ✨ We eagerly anticipate your valuable contributions! 🤓 Don't forget to explore our community on Github and connect with us on LinkedIn 💜 Feel free to spread the word about our community to like-minded individuals interested in development, DevOps, technology, and collaborative contributions. 👉💜👈


psr-4 autoload errors

I'm getting lots of psr-4 errors when installing/using this package.
Any plans for improvement?
Class FamilyTree365\LaravelGedcom\Utils\Importer\Chan located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Chan.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Note located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Note.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Refn located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Refn.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\ObjeRef\File located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/ObjeRef/File.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Sour\Data located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Sour/Data.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Sour\Repo located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Sour/Repo.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Sour\Data\Even located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Sour/Data/Even.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Fam\Even located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Fam/Even.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Fam\Slgs located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Fam/Slgs.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Obje located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Obje.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Indi\Even\Plac located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Indi/Even/Plac.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Indi\Desi located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Indi/Desi.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Indi\Asso located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Indi/Asso.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Indi\Alia located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Indi/Alia.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Indi\Lds located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Indi/Lds.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Indi\Even located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Indi/Even.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Indi\Subm located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Indi/Subm.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Indi\Name\Romn located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Indi/Name/Romn.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Indi\Name\Fone located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Indi/Name/Fone.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Indi\Name located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Indi/Name.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Indi\Anci located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Indi/Anci.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\NoteRef located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/NoteRef.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Date located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Date.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Caln located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Caln.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Addr located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Addr.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Subn located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Subn.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\RepoRef located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/RepoRef.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Subm located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Subm.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\ObjeRef located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/ObjeRef.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Repo located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Repo.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\SourRef\Even located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/SourRef/Even.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\SourRef located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/SourRef.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Utils\Importer\Sour located in ./vendor/familytree365/laravel-gedcom/src/Utils/exporter/Sour.php does not comply with psr-4 autoloading standard. Skipping.
Class FamilyTree365\LaravelGedcom\Facades\GedcomParserFacade located in ./vendor/familytree365/laravel-gedcom/src/Facades/GedcomExpFacade.php does not comply with psr-4 autoloading standard. Skipping.```

This should be fixed in latest code.

Fixed.


Store Supply Chain Property schema on chain as PropertyTypes

A proposal to store some PropertySchemas permanently on chain as a PropertyType. These type schema can then be referenced by name when creating a new RecordType. This will copy the schema into the RecordType, as well as save the name with the actual Properties for clients to reference.
This will allow multiple RecordTypes to share are reuse the concept of particular properties. For example, "temperature" could be defined once, and every use on every type of record would be consistent. Furthermore, since clients can read these types, they could be more sophisticated about how they parse properties (for example, displaying every temperature with a thermometer instead of just a number).

I propose this RFC enter the Final Comment Period. Waiting on approvals from the remainder of the Supply Chain team.

[x] Zac Delventhal @delventhalz
[x] Shawn Amundson @vaporos
[x] Andi Gunderson @agunde406
[ ] James Mitchell @jsmitchell
[ ] Kelly Olson @ineffectualproperty

This proposal to add PropertyTypes to Sawtooth Supply Chain has entered the final comment period. If there are no substantive requests for changes by August 2, 2018 it will be merged.


When inserting image from clipboard telekasten doesn't save the image into subfolder.

I was trying out telekasten and found out that when pasting image from clipboard it doesn't save it into subfolder (in my case "img").
I tried to find what could cause this and found out that telekasten doesn't update the pngpath variable if there is image_subdir set in the config.
It seems that configuring the function imgFromClipboard() fixes this issue:
    if M.Cfg.image_subdir then
        relpath = M.Cfg.image_subdir .. "/" .. pngname
	pngpath = M.Cfg.home .. "/" .. M.Cfg.image_subdir
    end

Thanks for reporting this! There is obviously something wrong here.  It seems like I must have forgotten to use the
relative path for the actual work - not just for the link!
Will fix it asap!

BTW your fix looks correct. I just tried to not look at it and came up with the same. So I'll forego testing and just "ship it" :smile:


Improved default repo docs

Included full names and resulting image names when using it.

lgtm. just one suggestion


LoadBalancing Green/Blue deployments

I would I feel be a good feature for the reverse-proxy to allow the load balancer to have support for green/blue deployments of services; that routes request according to some rule eg. based of % of traffic.

https://github.com/microsoft/reverse-proxy/issues/126 this is covered under the name A/B testing.

Duplicate of #126


Uncaught TypeError: Cannot read property 'type' of undefined

I dragged a 600 MB mp4 file onto the page

This is a bug in the videostream package. I opened an issue there for you: https://github.com/jhiesey/videostream/issues/5
It would help @jhiesey if he had the original file to debug with. Can you email him a link to it? john [at] hiesey [dot] com

I will do that. Thanks!


mangle and minify not working

i don't understand what i'm doing wrong but it seems like mangle and minify is not working at all with the latest beta.
here you can find a repository that easily reproduce it.
just run npm install and then npm run build, after the build will finish check the bundle.js file under dist/bundledCode and you'll see that the code is not minified and not mangled.
original code:
const notMangledName = 3;
const notMangledName2 = 3;

const notMangleName3 = 10;

const notMangleName4 = 10;
const notMangleName5 = 10;
const notMangleName6 = 10;
const notMangleName7 = 10;

after uglifiy:
webpackJsonp([0],[
/* 0 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = __webpack_require__(1);

/***/ }),
/* 1 */
/***/ (function(module, exports) {

var notMangledName = 3;
var notMangledName2 = 3;

var notMangleName3 = 10;

var notMangleName4 = 10;
var notMangleName5 = 10;
var notMangleName6 = 10;
var notMangleName7 = 10;

/***/ })
],[0]);
//# sourceMappingURL=bundle.js.map?c0d9ad7c70ebe088ac45

expected behavior should be compressed to one line, variables names should be mangled ...

The uglify plugin is not being run at all. What you're looking at is webpack output + source map. Try writing the simplest possible minimal webpack.config.js with no uglify options and without the webpack-config module.

@kzc it is running because if i'll switch it to `` here you'll see completely different output.

to make sure i added console.log('test') on function UglifyJsPlugin() and it is running.

webpack-config may be making incorrect assumptions. The following works fine:
$ cat main.js
var some_constant = 123;
class Foo {
    run() {
        console.log("hello " + some_constant);
    }
}
new Foo().run();

$ cat webpack.config.js
var Uglify = require("uglifyjs-webpack-plugin");
module.exports = {
    entry: {
        main: "./main.js",
    },
    output: {
        filename: "out.min.js",
    },
    devtool: 'source-map',
    plugins: [
        new Uglify({
            sourceMap: true,
            uglifyOptions: {
                output: {
                    beautify: true,
                },
            },
        }),
    ],
};

$ webpack --config webpack.config.js
Hash: 3d12e256217203e17a88
Version: webpack 3.6.0
Time: 155ms
         Asset       Size  Chunks             Chunk Names
    out.min.js  955 bytes       0  [emitted]  main
out.min.js.map     3.4 kB       0  [emitted]  main
   [0] ./main.js 121 bytes {0} [built]

$ cat out.min.js && echo
!function(n) {
    function r(t) {
        if (e[t]) return e[t].exports;
        var o = e[t] = {
            i: t,
            l: !1,
            exports: {}
        };
        return n[t].call(o.exports, o, o.exports, r), o.l = !0, o.exports;
    }
    var e = {};
    r.m = n, r.c = e, r.d = function(n, e, t) {
        r.o(n, e) || Object.defineProperty(n, e, {
            configurable: !1,
            enumerable: !0,
            get: t
        });
    }, r.n = function(n) {
        var e = n && n.__esModule ? function() {
            return n.default;
        } : function() {
            return n;
        };
        return r.d(e, "a", e), e;
    }, r.o = function(n, r) {
        return Object.prototype.hasOwnProperty.call(n, r);
    }, r.p = "", r(r.s = 0);
}([ function(n, r) {
    var e = 123;
    class t {
        run() {
            console.log("hello " + e);
        }
    }
    new t().run();
} ]);
//# sourceMappingURL=out.min.js.map

@RahavLussato which version do you use?

@evilebottnawi you can see it on the package config:

  "name": "webpack-config-bug",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "build": "rm -rf ./dist/ && NODE_ENV=staging webpack --display-error-details --config webpack.config.js",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "babel-core": "^6.26.0",
    "babel-loader": "^7.1.2",
    "babel-preset-es2015": "^6.24.1",
    "babel-preset-react": "^6.24.1",
    "babel-preset-stage-0": "^6.24.1",
    "uglify-es": "^3.0.27",
    "uglify-js": "3",
    "uglifyjs-webpack-plugin": "1.0.0-beta.2",
    "webpack": "^3.5.1",
    "webpack-config": "^7.0.0"
  }
}

@RahavLussato can you try to use 0.4.6 version?

@RahavLussato Also you don't need uglify-es and uglify-js packages

@evilebottnawi i need to use the beta version and also uglify-es because i want to do it on es6 code, the repo that i published is just to reproduce the issue but on my real env i have a code thats should use the beta version, if not i'm getting this error UglifyJs Unexpected token: operator (>).
i managed to do a workaround to that and revert it back to use webpack.optimize.UglifyJsPlugin by forking the problematic 3rd parties that used es6 and managed them to work with es5, so now its working for me. (e.g. for problamatic 3rd party is parseQuery)

and thanks @kzc its looks like you are right


[paste] tags aren't removed properly when there are linebreaks between attributes

When I paste with the paste action, full html starting with:

<html
  xmlns:xxx="..."

is trimed but the following attributes and the closing angle bracket remain.
In debug mode, I found the culprit in the filter_internals function:
html = html.replace(/<\/?(body|head|html)[^>]*>/gi, '');
which is not taking care of linebreaks because they are previously replaced by
 in the _cleanIncomingHTML function and
by <NOTE_BR> in the pre_filter_linebreaks function.
The regex then matches until the closing angle bracket of the first occurence of <NOTE_BR> and not
I also found out in the _cleanIncomingHTML function that this code
//if (this.get('plainText')) {     html = html.replace(/\n/g, '
').replace(/\r/g, '
');     html = html.replace(/  /gi, '  '); //Replace all double spaces     html = html.replace(/\t/gi, '    '); //Replace all tabs     //}
is followed by this line
html = html.replace(/\n/g, '<NOTE_LF>').replace(/\r/g, '<NOTE_LF>');
I think this last pattern will never be matched and there won't be any <NOTE_LF> in the returned html.
Is it intentional and the line will be removed in the future?
because, for now, the last replace in the function will never bring the "\n" back.

I've made significant changes to the parser function, as you noted, there were some issues with the version your having issues with. If you could try it now, and let me know how it goes, that would be great.

We'd had some PR's merged that were created by a generous helper, if you could check and see if this is still an issue for you, could you please reopen or create a new issue, thank you.


Add "part" keyword for mag/phase BOLD images (based on BEP001).

When users choose to reconstruct both magnitude and phase images from their EPI sequences, they end up with full 4D phase time series. The "part" keyword is used in BEP001 for situations where there is both a magnitude and a phase image.
An alternative to this might be to place the phase time series in fmap/ and to label them the same way one would label single-volume phase images (i.e., for Case 2 for field maps in the specification).
UPDATE: Ultimately it was decided to add a new suffix under the func datatype (_phase) for phase data, because doing otherwise would cause problems for pybids and other tools/workflows.

@sappelhoff Would it be possible to change the name of this PR (and the change log) to reflect the actual change that was made? I failed to change the name when we switched from adding the "part" entity to adding a new suffix for functional phase data, so the change log is misleading.

I am not sure whether it's possible to manually change the changelog, or whether that would lead to problems. Perhaps @franklin-feingold knows more?

To change an entry in the changelog one needs to change the name of the original PR. This will be reflected in the changelog once a new PR is merged in (this will regenerate the changelog)

That's good to hear. Would it then be alright for me to change the name of this PR so that it reflect the change that was actually merged?

@tsalo Yes, please.

Related to this PR: is there any provision to name the phase images for the _sbref images?  Maybe for that case they should be named: func/sub-01_task-rest_run-1_sbref.nii.gz and func/sub-01_task-rest_rec-phase_run-1_sbref.nii.gz?

@pvelasco I think that #367 might be a better place to discuss this, though my understanding is that rec-<magnitude|phase> is automatically added for SBRefs by dcm2niix, but I don't think that matches the actual description for that entity in the specification. I think that part-<magnitude|phase> may solve it, if that proposal is accepted.


Rust as Module or in Tree

d3zd3z/zephyr-lang-rust#1 is open on prototype repo.

The TSC voted to approve this as a module. zephyrproject-rtos/zephyr#78306 brings the module into the main zephyr tree.

Module is merged an integrated with main Zephyr tree. Docs are outstanding issue.


<EMAIL_ADDRESS>install: cannot rebuild on Node 4.1

I updated my node today and could not run the my sass task..
Loading "sass.js" tasks...ERROR
>> Error: `libsass` bindings not found. Try reinstalling `node-sass`?
Warning: Task "sass" not found. Use --force to continue.

Aborted due to warnings.

I tried to rebuild and got:
<EMAIL_ADDRESS>install /swirl/console/node_modules/grunt-sass/node_modules/node-sass
> node scripts/install.js

Can not download file from https://raw.githubusercontent.com/sass/node-sass-binaries/v2.1.1/darwin-x64-node-4.1/binding.node

><EMAIL_ADDRESS>postinstall /swirl/console/node_modules/grunt-sass/node_modules/node-sass
> node scripts/build.js

  CXX(target) Release/obj.target/binding/src/binding.o
In file included from ../src/binding.cpp:1:
../node_modules/nan/nan.h:324:27: error: redefinition of 'NanEnsureHandleOrPersistent'
  NAN_INLINE v8::Local<T> NanEnsureHandleOrPersistent(const v8::Local<T> &val) {
                          ^
../node_modules/nan/nan.h:319:17: note: previous definition is here
  v8::Handle<T> NanEnsureHandleOrPersistent(const v8::Handle<T> &val) {
                ^
../node_modules/nan/nan.h:344:27: error: redefinition of 'NanEnsureLocal'
  NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Handle<T> &val) {
                          ^
../node_modules/nan/nan.h:334:27: note: previous definition is here
  NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Local<T> &val) {
                          ^
../node_modules/nan/nan.h:757:13: error: no member named 'smalloc' in namespace 'node'
    , node::smalloc::FreeCallback callback
      ~~~~~~^
../node_modules/nan/nan.h:768:12: error: no matching function for call to 'New'
    return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
           ^~~~~~~~~~~~~~~~~
/Users/Jonnie/.node-gyp/4.1.0/src/node_buffer.h:31:40: note: candidate function not viable: no known conversion from 'uint32_t'
      (aka 'unsigned int') to 'enum encoding' for 3rd argument
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
/Users/Jonnie/.node-gyp/4.1.0/src/node_buffer.h:43:40: note: candidate function not viable: 2nd argument ('const char *') would lose
      const qualifier
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
/Users/Jonnie/.node-gyp/4.1.0/src/node_buffer.h:28:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                       ^
/Users/Jonnie/.node-gyp/4.1.0/src/node_buffer.h:36:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
In file included from ../src/binding.cpp:1:
../node_modules/nan/nan.h:772:12: error: no viable conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>'
    return node::Buffer::New(v8::Isolate::GetCurrent(), size);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/Jonnie/.node-gyp/4.1.0/deps/v8/include/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no
      known conversion from 'v8::MaybeLocal<v8::Object>' to 'const v8::Local<v8::Object> &' for 1st argument
class Local {
      ^
/Users/Jonnie/.node-gyp/4.1.0/deps/v8/include/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no
      known conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object> &&' for 1st argument
class Local {
      ^
/Users/Jonnie/.node-gyp/4.1.0/deps/v8/include/v8.h:214:13: note: candidate template ignored: could not match 'Local' against
      'MaybeLocal'
  V8_INLINE Local(Local<S> that)
            ^
/Users/Jonnie/.node-gyp/4.1.0/deps/v8/include/v8.h:326:13: note: candidate template ignored: could not match 'S *' against
      'v8::MaybeLocal<v8::Object>'
  V8_INLINE Local(S* that)
            ^
In file included from ../src/binding.cpp:1:
../node_modules/nan/nan.h:779:26: error: no member named 'Use' in namespace 'node::Buffer'
    return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
           ~~~~~~~~~~~~~~^
../src/binding.cpp:70:11: warning: 'FatalException' is deprecated: Use FatalException(isolate, ...) [-Wdeprecated-declarations]
    node::FatalException(try_catch);
          ^
/Users/Jonnie/.node-gyp/4.1.0/src/node.h:283:29: note: 'FatalException' has been explicitly marked deprecated here
                inline void FatalException(const v8::TryCatch& try_catch) {
                            ^
/Users/Jonnie/.node-gyp/4.1.0/src/node.h:66:42: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                                         ^
../src/binding.cpp:245:11: warning: 'FatalException' is deprecated: Use FatalException(isolate, ...) [-Wdeprecated-declarations]
    node::FatalException(try_catch);
          ^
/Users/Jonnie/.node-gyp/4.1.0/src/node.h:283:29: note: 'FatalException' has been explicitly marked deprecated here
                inline void FatalException(const v8::TryCatch& try_catch) {
                            ^
/Users/Jonnie/.node-gyp/4.1.0/src/node.h:66:42: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                                         ^
../src/binding.cpp:365:11: warning: 'FatalException' is deprecated: Use FatalException(isolate, ...) [-Wdeprecated-declarations]
    node::FatalException(try_catch);
          ^
/Users/Jonnie/.node-gyp/4.1.0/src/node.h:283:29: note: 'FatalException' has been explicitly marked deprecated here
                inline void FatalException(const v8::TryCatch& try_catch) {
                            ^
/Users/Jonnie/.node-gyp/4.1.0/src/node.h:66:42: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                                         ^
In file included from ../src/binding.cpp:1:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/Jonnie/.node-gyp/4.1.0/src/node.h:42:
/Users/Jonnie/.node-gyp/4.1.0/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible type
      'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/Jonnie/.node-gyp/4.1.0/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:501:12: note: in instantiation of function template specialization
      'v8::Local<v8::Primitive>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
           ^
../node_modules/nan/nan.h:483:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(Nan::imp::NanEnsureLocal(val))
                             ^
In file included from ../src/binding.cpp:1:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/Jonnie/.node-gyp/4.1.0/src/node.h:42:
/Users/Jonnie/.node-gyp/4.1.0/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible type
      'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/Jonnie/.node-gyp/4.1.0/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:511:12: note: in instantiation of function template specialization
      'v8::Local<v8::Boolean>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
           ^
../node_modules/nan/nan.h:483:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(Nan::imp::NanEnsureLocal(val))
                             ^
In file included from ../src/binding.cpp:1:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/Jonnie/.node-gyp/4.1.0/src/node.h:42:
/Users/Jonnie/.node-gyp/4.1.0/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible type
      'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/Jonnie/.node-gyp/4.1.0/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1645:12: note: in instantiation of function template specialization
      'v8::Local<v8::Function>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
           ^
../node_modules/nan/nan.h:483:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(Nan::imp::NanEnsureLocal(val))
                             ^
In file included from ../src/binding.cpp:1:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/Jonnie/.node-gyp/4.1.0/src/node.h:42:
/Users/Jonnie/.node-gyp/4.1.0/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type
      'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/Jonnie/.node-gyp/4.1.0/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1776:12: note: in instantiation of function template specialization
      'v8::Local<v8::Object>::Local<v8::Value>' requested here
    return NanEscapeScope(
           ^
../node_modules/nan/nan.h:483:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(Nan::imp::NanEnsureLocal(val))
                             ^
3 warnings and 10 errors generated.
make: *** [Release/obj.target/binding/src/binding.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/swirl/console/node_modules/grunt-sass/node_modules/node-sass/node_modules/pangyp/lib/build.js:272:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "/usr/local/Cellar/node/4.1.0/bin/node" "/swirl/console/node_modules/grunt-sass/node_modules/node-sass/node_modules/pangyp/bin/node-gyp" "rebuild"
gyp ERR! cwd /swirl/console/node_modules/grunt-sass/node_modules/node-sass
gyp ERR! node -v v4.1.0
gyp ERR! pangyp -v v2.3.2
gyp ERR! not ok
Build failed

Having the same issue.

Me too. Worked around by downgrading Node.

node-sass 2.1.1 will NOT work with node 4.0. Please install node-sass 3.3.3.

node-sass 2.1.1 will NOT work with node 4.0. Please install node-sass 3.3.3.
Saper, where can I find instruction about install node-sass 3.3.3?

node-sass 2.1.1 will NOT work with node 4.0. Please install node-sass 3.3.3.
Saper, where can I find instruction about install node-sass 3.3.3?

npm install node-sass

sorry, thank you!

recipe for ionic / gulp-sass users:

Rename/delete folder node_modules in project folder
In file project_name/package.json rewrite
"dependencies": {
...
"gulp-sass": "^2.0.0",
3 . Run again
ionic setup sass
GL!

@DenniLa2 is there a bug report filed with them somewhere to bump this dependency? It might be useful to add a link here.

@DenniLa2 Was having the same issue, using ^2.0.0 worked for me, thank you very much sir.

I've PR'd ionic to fix their broken dependency https://github.com/driftyco/ionic/pull/4449

@DenniLa2 , thank you sir, :+1: , it worked... :smile:
However had to do the following steps

Rename/delete folder node_modules in project folder
In file project_name/package.json rewrite
  "gulp-sass": "^2.0.0",
npm install gulp-sass
ionic setup sass

@sameera207 , thanks, this worked for me!!


Add Google plugin

Fixing issue #16.

Is there a way of limiting the api to a few results? Also, do we want a way of displaying multiple results?

you should squash this

Hm, might be a good idea...

I'll squash them.

The API returns four results every time.

Looks good to me.


[Flake] unexpected error in AsyncRetryLoopTest.ExhaustedDuringBackoff

https://source.cloud.google.com/results/invocations/d85c7620-9373-4748-9b14-cc061c49e020
UNKNOWN instead of UNAVAILABLE
 40/323 Test  #43: common_grpc_utils_internal_async_retry_loop_test ..................***Failed    0.32 sec
[ RUN      ] AsyncRetryLoopTest.ExhaustedDuringBackoff
../../../../google/cloud/internal/async_retry_loop_test.cc:259: Failure
Value of: actual
Expected: code is equal to UNAVAILABLE and message (has substring "test-message-try-again") and (has substring "Retry policy exhausted") and (has substring "test-location")
  Actual: 40-byte object <02-00 00-00 BB-7F 00-00 41-00 00-00 00-00 00-00 3F-00 00-00 00-00 00-00 70-41 B0-EF BB-7F 00-00 00-00 00-00 00-00 00-00>, whose status is Retry policy exhausted in test-location: Retry policy exhausted [UNKNOWN], with a code that isn't equal to UNAVAILABLE, and a message that (has no substring "test-message-try-again") or (has no substring "Retry policy exhausted") or (has no substring "test-location")
[  FAILED  ] AsyncRetryLoopTest.ExhaustedDuringBackoff (99 ms)

Note: cloud-cpp/github/google-cloud-cpp/master/macos/cmake-super-presubmit

https://source.cloud.google.com/results/invocations/2a62f330-36da-40b1-ad1c-a34258f5e984

https://source.cloud.google.com/results/invocations/61bfed0c-b715-4096-b50e-f179769f2232


Investigate Exception when multiple jobs start on a single task

when sending multiple tasks in same session ( about 500 to 1000 )we have an 'ENHANCE_YOUR_CALM' error cf below
How to reproduce :
In client add line in bold
    private static void ClientStartup2(SessionService sessionService)
    {
      var numbers = new List<int>
      {
        2,
      };

      var clientPayload = new ClientPayload
      {
        numbers = numbers,
        Type    = ClientPayload.TaskType.ComputeCube,
      };

      var payload        = clientPayload.Serialize();
      var outputMessages = new StringBuilder();
      outputMessages.AppendLine("In this series of samples we're creating N jobs of one task.");
      outputMessages.AppendLine(@"In the loop we have :
        1 sending job of one task
        2 wait for Result
        3 get associated payload");

            N_Jobs_of_1_Task_With_Results_At_The_End(sessionService, payload, 1, outputMessages); // ok
            N_Jobs_of_1_Task_With_Results_At_The_End(sessionService, payload, 10, outputMessages); // ok
            N_Jobs_of_1_Task_With_Results_At_The_End(sessionService, payload, 1000, outputMessages); //exception
    }

Then add this test method :
        private static void N_Jobs_of_1_Task_With_Results_At_The_End(SessionService sessionService, byte[] payload, int nbJobs, StringBuilder outputMessages)
        {
            var sw = Stopwatch.StartNew();
            List<string> taskIds = new List<string>(nbJobs);
            for (var i = 0; i < nbJobs; i++)
            {
                //Thread.Sleep(100); => uncomment this to fix the issue
                string taskId = sessionService.SubmitTask(payload);
                taskIds.Add(taskId);
            }

            outputMessages.AppendLine($"Client called (Results_At_The_End) {nbJobs} jobs of one task in {sw.ElapsedMilliseconds / 1000} sec (only job creation time)");

            var finalResult = 0;
            while (taskIds.Count > 0)
            {
                sw.Restart();
                List<Tuple<string, byte[]>> results = sessionService.TryGetResults(taskIds).ToList();
                var requestedTaskCount = taskIds.Count;
                foreach (Tuple<string, byte[]> resultItem in results)
                {
                    ClientPayload result = ClientPayload.Deserialize(resultItem.Item2);
                    if (result.Result == 0)
                        Log.Error($"The taskId {resultItem.Item1} returns [{result.Result}]");

                    finalResult += result.Result;
                    taskIds.Remove(resultItem.Item1);
                }
                outputMessages.AppendLine($"  => requested/received {requestedTaskCount}/{results.Count} in {sw.ElapsedMilliseconds / 1000} sec (only job creation time)");
            }
            var elapsedMilliseconds = sw.ElapsedMilliseconds;
            outputMessages.AppendLine($"Client called (Results_At_The_End) {nbJobs} jobs of one task in {elapsedMilliseconds / 1000} sec agregated Result = {finalResult}");
        }

Exception is :
[17:25:41 DBG] payload with dependencies 1
[17:25:41 DBG] Create task cc95a85a-41c7-4143-b252-74e7db6e7b9d
[17:25:41 DBG] Tasks created : ["cc95a85a-41c7-4143-b252-74e7db6e7b9d"]
[17:25:41 DBG] payload with dependencies 1
[17:25:41 DBG] Create task d3e5c3af-cf09-4e2d-9dac-66bc8d88039b
Unhandled exception. System.AggregateException: One or more errors occurred. (Status(StatusCode="ResourceExhausted", Detail="Error starting gRPC call. HttpRequestException: An error occurred while sending the request. IOException: The request was aborted. Http2StreamException: The HTTP/2 server reset the stream. HTTP/2 error code 'ENHANCE_YOUR_CALM' (0xb).", DebugException="System.Net.Http.HttpRequestException: An error occurred while sending the request.
---> System.IO.IOException: The request was aborted.
---> System.Net.Http.Http2StreamException: The HTTP/2 server reset the stream. HTTP/2 error code 'ENHANCE_YOUR_CALM' (0xb).
   --- End of inner exception stack trace ---
   at System.Net.Http.Http2Connection.ThrowRequestAborted(Exception innerException)
   at System.Net.Http.Http2Connection.Http2Stream.CheckResponseBodyState()
   at System.Net.Http.Http2Connection.Http2Stream.TryEnsureHeaders()
   at System.Net.Http.Http2Connection.Http2Stream.ReadResponseHeadersAsync(CancellationToken cancellationToken)
   at System.Net.Http.Http2Connection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.Http2Connection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Grpc.Net.Client.Internal.GrpcCall`2.RunCall(HttpRequestMessage request, Nullable`1 timeout)"))
---> Grpc.Core.RpcException: Status(StatusCode="ResourceExhausted", Detail="Error starting gRPC call. HttpRequestException: An error occurred while sending the request. IOException: The request was aborted. Http2StreamException: The HTTP/2 server reset the stream. HTTP/2 error code 'ENHANCE_YOUR_CALM' (0xb).", DebugException="System.Net.Http.HttpRequestException: An error occurred while sending the request.
---> System.IO.IOException: The request was aborted.
---> System.Net.Http.Http2StreamException: The HTTP/2 server reset the stream. HTTP/2 error code 'ENHANCE_YOUR_CALM' (0xb).
   --- End of inner exception stack trace ---
   at System.Net.Http.Http2Connection.ThrowRequestAborted(Exception innerException)
   at System.Net.Http.Http2Connection.Http2Stream.CheckResponseBodyState()
   at System.Net.Http.Http2Connection.Http2Stream.TryEnsureHeaders()
   at System.Net.Http.Http2Connection.Http2Stream.ReadResponseHeadersAsync(CancellationToken cancellationToken)
   at System.Net.Http.Http2Connection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.Http2Connection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Grpc.Net.Client.Internal.GrpcCall`2.RunCall(HttpRequestMessage request, Nullable`1 timeout)")
   at ArmoniK.Extensions.Common.StreamWrapper.Client.SubmitterClientExt.CreateTasksAsync(SubmitterClient client, String sessionId, TaskOptions taskOptions, IEnumerable`1 taskRequests, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at ArmoniK.DevelopmentKit.SymphonyApi.Client.api.SessionService.SubmitTasksWithDependencies(IEnumerable`1 payloadsWithDependencies)
   at ArmoniK.DevelopmentKit.SymphonyApi.Client.api.SessionServiceExt.SubmitTask(SessionService client, Byte[] payload)
   at Armonik.Samples.Symphony.Client.Program.N_Jobs_of_1_Task_With_Results_At_The_End(SessionService sessionService, Byte[] payload, Int32 nbJobs, StringBuilder outputMessages) in C:\Users\UT33NH\aneo\armonik-v2.5.1\source\ArmoniK.Samples\Samples\SymphonyLike\ArmoniK.Samples.SymphonyClient\Program.cs:line 281
   at Armonik.Samples.Symphony.Client.Program.ClientStartup2(SessionService sessionService) in C:\Users\UT33NH\aneo\armonik-v2.5.1\source\ArmoniK.Samples\Samples\SymphonyLike\ArmoniK.Samples.SymphonyClient\Program.cs:line 226
   at Armonik.Samples.Symphony.Client.Program.Main(String[] args) in C:\Users\UT33NH\aneo\armonik-v2.5.1\source\ArmoniK.Samples\Samples\SymphonyLike\ArmoniK.Samples.SymphonyClient\Program.cs:line 116

Aborted (core dumped)

Rem : in the code if we add ‘Thread.Sleep(100);’ we do not have this issue anymore

The lack of stream.requestStream.completeasync actually


Collect Deployment Flag Options

Problem: We want to collect deployment flag options so we can understand what a typical installation is using.
Solution: Collect the deployment flag options.
Testing: Unit tests and E2E testing.
With the deployment flag keys and values paired, this is what we get printed in the logs with a default installation.
config: user-defined

gateway: default

gateway-ctlr-name: user-defined

gatewayclass: user-defined

health-disable: false

health-port: default

help: false

leader-election-disable: false

leader-election-lock-name: user-defined

metrics-disable: false

metrics-port: default

metrics-secure-serving: false

nginx-plus: false

service: “user-defined”

update-gatewayclass-status: “true”

Closes #1315
Checklist
Before creating a PR, run through this checklist and mark each as complete.

[x] I have read the CONTRIBUTING doc
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have checked that all unit tests pass after adding my changes
[ ] I have updated necessary documentation
[x] I have rebased my branch onto main
[x] I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

E2E test results:
With Option 3 of DeploymentFlagOptions where there is one slice for all the flag keys and one slice for all the flag values, this is what is printed for the default installation through helm.
"DeploymentFlagOptions":{"FlagKeys":["config","gateway","gateway-ctlr-name","gatewayclass","health-disable","health-port","help","leader-election-disable","leader-election-lock-name","metrics-disable","metrics-port","metrics-secure-serving","nginx-plus","service","update-gatewayclass-status"],"FlagValues":["user-defined","default","user-defined","user-defined","false","default","false","false","user-defined","false","default","false","false","user-defined","true"]}
Parsed out into matching keys and values this is the output:
config: user-defined

gateway: default

gateway-ctlr-name: user-defined

gatewayclass: user-defined

health-disable: false

health-port: default

help: false

leader-election-disable: false

leader-election-lock-name: user-defined

metrics-disable: false

metrics-port: default

metrics-secure-serving: false

nginx-plus: false

service: user-defined

update-gatewayclass-status: true

This seems correct to me with our current definition of "user-defined" and "default" values. In the installation I changed the health port and it did correctly change from default -> user-defined.

Are we satisfied with these results / do we get much out of this data? Currently there are no "default" values for basically all of the string flags so they will always be "user-defined". Also, if a user does the regular quick start deployment, the values in the helm template are set and will be recorded as "user-defined" even if they are the "default" values for a default deployment.
@mpstefan Do you have any questions for this data?

E2E log output:
config: user-defined

gateway: default

gateway-api-experimental-features: false

gateway-ctlr-name: user-defined

gatewayclass: user-defined

health-disable: false

health-port: default

help: false

leader-election-disable: false

leader-election-lock-name: user-defined

metrics-disable: false

metrics-port: default

metrics-secure-serving: false

nginx-plus: false

product-telemetry-disable: false

service: user-defined

update-gatewayclass-status: true

usage-report-cluster-name: default

usage-report-secret: default

usage-report-server-url: default

usage-report-skip-verify: false


Create a dialog conversion rule for handling multifield panel. fixes …

…#475. also includes a converted dialog for the definition list component.
Caveat - after conversion, the name properties need to be manually set to the value of the key property on the old widgets.

The results seem OK, with the one caveat listed. But the UI seems "squished" to me.
@schoudry can you look at this screenshot and let me know if something else is needed.

@justinedelson the dialog looks ok when full screen

if shown modal, i guess thats the way it is ootb, if we add a custom style with width set, it looks better (the description textarea)

I just noticed on https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/master/content/src/main/content/jcr_root/apps/acs-commons/touchui-widgets/source/touchui-composite-multifield.js#L62 that you have a class="full-width". Is this defined anywhere in our codebase or is it custom?
I imagine it would be common to need this, so if not, perhaps we should add it.

Or, better yet, would it make sense to just add
[data-acs-commons-nested] .coral-Form-field {
    width: 100%;
}

the full-width class is ootb and it exists in 60 sp2 (eg. /libs/foundation/components/list/cq:dialog/content/items/column/items/wellSetStatic/items/pages)... couldn't find it in 61 (so i guess will be ignored if the dialog is opened on 61)
Regd. adding a style, may be its ok to add one, or i guess leave the cosmetic thing to user and leave it as a suggestion, to keep the extension logic minimum possible, not sure....


Removing unrounding.css removes status dot colours, intentional?

Don't know if this is intended, I just noticed the behavior. I presume it's something to do with the theme file prioritizing unrounding.css, or perhaps the flavor, but I'm unsure.
Some screenshots for clarity (hopefully):

Without unrounding.css

With unrounding.css

somewhat intended, but not desired.
i may have to create an extra import for code that fixes issues when unrounding is not used.


For layer_stack handler add method to identify  all layer and datatypes when fill==True

Please be as descriptive as possible, including: what is expected, why is this feature needed, what is the objective, etc.
What is the feature being requested?
What are use cases for this feature?

Method merged  named get_layer_datatype_when_fill_is_true


Suggestion

It would be beneficial to have the capability to monitor real-time calculation progress of files in the directory through calc.force.plot() or calc.energy.plot(). Presently, we are only able to plot completed h5 files, and not those still undergoing calculation. Furthermore, it is currently not possible to generate a scatter plot for convergence tracking of residual stress of force; only the force vector of the final structure can be plotted.

The current version appears unable to generate a diagram depicting the final optimized structure, and lacks an interface for drawing the CONTCAR diagram. (ver. 0.7.3)

Tks.!

We plan to release the feature to monitor calculations in real time with the next release of VASP since it requires changes to the Fortran source code. You will be able to set an INCAR tag LSYNCH5 so that the data is always up-to-date and not buffered. Since this may result in a slower calculation e.g. for MLFF-type calculations the default is not to update the HDF5 file.
Plotting the CONTCAR file was added in version 0.9.0.


Fix non-module import in GenerateImage

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

This has been fixed in a different commit, but thanks for the contribution all the same!


How to clear an access token?

Please follow the issue template below. Failure to do so will result in a delay in answering your question.
Library

[ ]<EMAIL_ADDRESS>
Description
I'm using MSAL Angular. When a user is logging out, it is redirect to a logout page. I don't want to use the logOut function because it causes to log out the user from other sites that are using the Microsoft login. So, when redirecting the user to the logout page, I want to clear the access token in order to not been used after that.
So my question is how to clear an access token or how to invalidate it?

@jeremyc11 We do not invalidate access tokens. The only work around for you is to clear your cache accessingwindow.localStorage() or window.sessionStorage(). Please note that doing this would mean, if you call acquireTokenSilent() after the cache clearance, you would get a new token since the AAD session is still active.

Thanks it worked me.


Os 151: Enable EntityCache for add and read api

EntityCache is now being used by registry controller.
Changes Read Api:
EnitityCache: getShard(recordId) to get the shard id for existing record in database.
Changes Add Api:
ShardDatabaseProvider Pojo is introduced for holding the shard-databaseProvider map. Modification is done accordingly ShardManager:getDatabaseProvider() to get ShardDatabaseProvider object. Benefit: it holds the one to one relation for shard identifier and the databaseProvider.
EntityCache is facilated to add a shard-record map as after creating and persisting the record in database.
Added test cases for EntityCache

The PR is not reflecting the correct commits. Closing the PR.


Wrong usage text

Usage text: scrypt-lite [OPERATION] [FILE}
should be: scrypt [OPERATION] [FILE]

Fixed with Version RELEASE-2.0
Commit:
ca321f3


Styling Caption Cues from WebVTT file

I would like to apply styling to individual caption cues based on properties taken straight from the WebVTT file. In particular, the alignment property is important. Right now, it seems that these values are not applied to the span element containing the caption cue generated by Plyr.
WEBVTT

00:00:00.000 --> 00:00:04.000 position:10%,line-left align:left size:35%
Where did he go?

00:00:03.000 --> 00:00:06.500 position:90% align:right size:35%
I think he went down this lane.

Sounds good. I didn't even know that was possible. Here's the reference for whoever works it on it (probably me when I get around to it):
https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API#Cue_settings


Timeout for GraphQL mutations

I am trying to create an object using:
Amplify.API.mutate(request: .create(someObject)) { event in
...
}
In the case where you are connected to a wifi router but no the internet, this operation does not return anything.  This is not an outlying scenario and I encounter it often in hotels or airplanes when the device automatically connects to a wifi source but has not confirmed or paid for the connection and as such is not actually connected to the internet.
In such cases this mutation does not have any callback and that causes my app many issues.  Why is there no way to manually set a timeout for these requests or if one exists to modify it's duration?
Thanks

@alionthego What you can use is Apple's Network framework which will allow you to monitor the network path so that if it is no longer able to connect it will report the change in status. The legacy system Apple created years ago is Reachability which has been replaced with the modern framework. See reference the Connectivity Package for monitoring connectivity. It includes an app that you can install on an iOS device and move out of range of your WiFi connection to see the change in status. You can also turn on Airplane Mode to cut off the connection to see the status change.
When you get the update that the network path is in a state which cannot connect your can suspend network requests. When it is able to connect again you can resume network activities. Refer to Operations on how you can cancel operations which are in progress. With an operation you can cancel as well as pause and resume so that if you expect the interrupted connection is momentary you could use the pause and resume functions. Otherwise you can cancel and later restart the operations.


Conformance test for Memcached (makes this component Beta)

Description
Adds a conformance test for Memcached state store, effectively making this component Beta.
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

FYI @tmacam will look into whether we need to make FIRST-WRITE, TRANSACTION and ETAG tests work. Right now this component does not support these.


added the comment

This PR Addresses:
WFER-8 Create Read me file
 Created from VS Code using CodeStream

look at how we import this package
var async     = require("async")

api/cart/index.js (Line 4)


"Your prefered IDE" does not include Visual Code

Hi,
In Readme, the section "Your prefered IDE" should also include Visual Code as VC displays a link to this github repo in its Java Overview page.
Cheers,
Iulian

I added it to the bullet list in 912d2ad. Pull request more than welcome, if you have specific instructions for how to run the app in VS Code.


Setting 'allowJs' and 'declaration' options causes 'emit failed' error

This is very close to a continuation of #259.
I have a template project with typings output that has the option to source JS, but doesn't ship with any JS source. As such, declaration and allowJs are both set to true. This causes an emit failed error.
There are some closed issues that talk about this combination, but I'm not expecting typings to output from the JS portion of the code -- I just want everything to process successfully, or at least output with a useful error message!
Here's a repository that reproduces the error with just gulp, gulp-typescript, and merge-stream:
https://github.com/LPGhatguy/gulp-typescript-allowjs-bug

Looks like a duplicate of #317 and Microsoft/TypeScript#7546

The behavior described by #317 implies that compilation succeeds, and JS is ignored, which would be okay, but the reply on the TypeScript error talks about there being an error.

Closing this in favour of Microsoft/TypeScript#7546.


Various fixes and improvements regarding support of real-world MIBs

Summary
The mibs.pysnmp.com collection of MIBs is a highly valuable test set for checking pysmi's support for real-world MIBs. In particular the pysmi post-v0.3.4 switch to Jinja2 template rendering appears to have caused a substantial regression, with the current pysmi version being able to compile and load only 65% of the MIBs in the mibs.pysnmp.com collection.
This PR fixes a series of small pysmi issues and adds a few new forms of leniency for somewhat broken MIBs. As a result of this PR, pysmi is now able to compile and load 84% of the MIBs in the mibs.pysnmp.com collection, with zero regressions. The included fixes also resolve a number of (open and recently closed) GitHub issues.
The full story
The background of this PR is simply that I wanted to use pysmi to prepare a series of private MIBs for use with pysnmp, but I ran into various problems that had mostly also been reported as pysnmp issues already. Now that pysnmp and pysmi are thankfully being actively maintained again, I decided to spend some spare time on addressing the problems I ran into myself. I ended up fixing several other issues as well.
At some point I realized the value of the resurrected mibs.pysnmp.com MIBs collection. As of writing, that collection, in the asn1/ directory, consists of 11961 MIB files[^1]. Alongside, the pysnmp/ directory contains the compiled versions of those MIBs, to the extent that they could at any point be compiled at all. That directory contains 10713 compiled files right now, and out of those, 9903 can be successfully loaded by pysnmp today. Based on that, I think it is fair to state that the best that pysmi has ever done, is fully and properly support 9903 of the collection's 11961 MIB files, or just under 83%. According to their headers, the overwhelming majority of the compiled files have been generated by pysmi 0.3.4.
However, trying to compile and load the same collection of input MIBs with the current pysmi version (v1.4.4), with a few necessary base changes from this PR[^2], results in the following statistics:

MIB results: 11961 total, 7806 successful, 1231 failed to compile, 2600 failed to load, 254 failed on dependency, 70 failed for other reasons

These results are produced by a simple program I put together for the occasion, rather than by mibdump (which, most importantly, will not try to load the produced files). In any case, these statistics are the basis for my above claim that the current version of pysmi supports merely 65% of the MIBs (7806 out of 11961). The main cause of the regression compared to pysmi 0.3.4 appears to be the conversion to the use of Jinja2 templates of git-a42d1705. It appears that in several respects, that conversion was simply not fully finished.
With the fixes in this PR, which I offer for your consideration, the same test program produces the following output:

MIB results: 11961 total, 10058 successful, 1024 failed to compile, 708 failed to load, 101 failed on dependency, 70 failed for other reasons

As can be seen, the PR enables the use of 2252 additional MIBs from the collection, now totaling 84% (10058 out of 11961). The additional successes represent a strict improvement: there are no cases where a MIB could be compiled and loaded before this PR but not after. Some MIBs have changed between "failed to compile" and "failed to load" in either direction, but of course, from the user's perspective it is not important as to whether a MIB fails to compile or its compiled form fails to load.
I have done manual inspection of a sizable subset of the changes to the MIBs' .py files as generated before and after the PR, to make sure that the improvements are not due to parts of generated code being unintentionally omitted. After all, taken to the extreme, an empty Python file will load perfectly fine too..! All changes that I have checked, are however intentional improvements. Note that such manual inspection is feasible only because of one of the commits in this PR. Verifying all the produced changes was not feasible however, as the full delta is close to 250 KLoC.
Strictly going by numbers, the PR improves the support for the collection beyond what is found in the mibs.pysnmp.com pysnmp/ directory (10058 instead of 9903). That would suggest that this PR improves pysmi to a "MIB tolerance level" never seen before, which does sound nice. However, it should be noted that the latter set is not a strict subset of the former set: there are 38 MIBs whose current mibs.pysnmp.com Python files load successfully, yet are still not part of the "success set" after this PR. Curiously, at least one case (Wellfleet-MIB) is because the ASN.1 MIB is different in contents from the MIB that was used to generate the compiled version. Many of the other cases can likely be resolved by adding a level of tolerance of capitalization differences in MIB file name versus internal MIB name; I have not looked into that yet.
For completeness: in the above results, "failed on dependency" refers to compile-time dependencies only, as load-time dependency failures are harder to filter out, so those are counted as load failures instead. The "failed for other reasons" category mainly covers cases where the compilation did not fail but also did not produce a Python file named after the input MIB file.
I have made available the test program itself as a gist. The program is overly conservative in that it basically starts with a clean slate for every single MIB. In both cases reported above, it was run against the head of the mibs.pysnmp.com repo, which is currently git-66c9072d. On my test system, a single full run takes about 3.5 hours.
The pull request
The PR itself is split up into small commits in order to facilitate reviewing. Needless to say, I would be happy to address feedback.
Test cases are added where applicable: this PR increases the number of test cases from 114 to 251. Overall, the unit test set remains woefully inadequate for catching regressions, but at least the changes of this PR are covered.
The commits have been subjected to the repository's pre-commit hooks, including Black. As a side note, I noticed that running Black on the entire source tree ends up changing a lexer regex in such a way that pysmi becomes completely non-functional. That should probably be addressed at some point.
The commits have not taken into account PyCharm's inspection facility. Even though pysmi has many annotations for that, those annotations also seem to be highly incomplete as they are. I am not a PyCharm user, but I did give its inspection a go; at the very least, it found no new errors.
The fixes in this PR fully resolve the following GitHub issues:

lextudio/pysnmp/issues/83 (open)
lextudio/pysnmp/issues/90 (closed but unaddressed)
lextudio/pysnmp/issues/91 (closed but unaddressed)
etingof/pysmi/issues/48 (open), as referenced in lextudio/pysnmp/issues/54 (open)

It is perhaps worth noting that several of the commits in the PR make adjustments to the JSON output format as well, as side effect of necessary changes at the intermediate code generation level. It is my view that development of pysmi cannot move ahead without occasionally making breaking changes to the JSON format, although in that regard the impact of this PR is fortunately very limited anyway.
Looking further ahead
This PR aims to cover much of the low-hanging fruit. With a few slightly more extensive pysmi changes, my current estimate is that it is possible to increase the number of fully supported MIBs from the mibs.pysnmp.com collection further by roughly 600 MIBs or about 5%, thereby bringing up the total to about 89%. Most of that increase would require two more future changes:

Many MIBs use DEFVAL values that violate the constraints of their corresponding SYNTAX types. In such cases, pyasn1 will fail to instantiate the corresponding object as created by the MIB's compiled pysnmp code, thus resulting in a load failure. If pysmi were to detect such cases itself, it can drop the DEFVAL value altogether (as it already does in some cases), thus generating pysnmp code that can be loaded. Doing so would require pysmi's symbol table stage to save information on all constraints, rather than just a subset as it does now. This change would likely add support for a little over 300 MIBs.
Many MIBs have broken imports. Some MIBs assume imports to be transitive (e.g., when MIB B imports symbol X from MIB A, MIB C expects to be able to import symbol X from MIB B). Some MIBs import symbols from the plain wrong MIB. Other MIBs import symbols that are not available anywhere, but are also not used. All these cases can be fixed with an extra import processing stage that modifies the import and symbol tables to redirect or remove imports. This change would add support for a little over 150 MIBs.

I'd certainly appreciate feedback as to whether such additional changes would be welcome, although I cannot make any promises myself. In any case, going substantially beyond the estimated 89% will be quite a bit harder, as that requires a next level of tolerance for problems with MIBs. Even then, getting anywhere near 100% is impossible without all processing stages (including the parser) being able to selectively discard any and all parts of the input that it cannot both validate and process. I would say that for pysmi, that is not a desirable goal.
[^1]: A handful of files are actually not MIB files, but some accompanying files that were probably accidentally extracted from an archive along with actual MIBs. For the purpose of the analysis presented here, they do not have a substantial impact.
[^2]: This "baseline" run makes use of the first three changes from this PR. Without those changes, the output would be messed up by debug messages, the run would get stuck as soon as it gets to A3Com-products-MIB, and the resulting .py files could not easily be compared for regressions. I have confirmed in several ways that these three changes do not affect the baseline statistics in any other way.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.David van Moolenbroek seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

I have read the CLA Document and I hereby sign the CLA

I have read the Code of Conduct and I hereby accept the Terms

Thanks. It took us a while to review the changes you made, and now we are happy to accept the tremendous contribution.
Don't worry about the breaking changes (like changes in JSON output). We can bump the version number to warn users of such.

Thank you for reviewing and merging the changes!


feat: add support for all languages from old homarr

Homarr

Thank you for your contribution. Please ensure that your pull request meets the following pull request:

[x] Builds without warnings or errors (pnpm buid, autofix with pnpm format:fix)
[x] Pull request targets dev branch
[x] Commits follow the conventional commits guideline
[x] No shorthand variable names are used (eg. x, y, i or any abbrevation)

All translations from non english were migrated from old homarr with a script. It may contain incorrect translations. Overall 300 / 1050 translations were copied.

Great work ! It's impressive

Did you make sure that this format is compatible with crowdin ? It might require to have a .json file and import it in the .ts as a valid directly (no need for validation)
Do you plan to add back the live translation feature (Crowdin) ? I made it so that the script is added to the page depending on the user preference
I saw you're switching to next-intl (the translation thing from crowdin), they support a localstorage adapter if I recall correctly so you could make it so that translations are only passed once then saved in localstorage, also could utilize translations come from Crowdin's CDN to synchronize them with the app (in a chron job?) with Crowdin's OTA translations feature. (I believe they gave us a Pro plan for open-source so we have pretty much all features for free)
Last comment the i18n ally vscode extension works really well with this plugin so maybe add a config into the .vscode folder that takes care of this, then you can have auto-add keys/inline keys replacement (it will show the translations) and also a warning when a text is not translated

Yeah TS is not working great, it wants to translate the import statements 😂

Yes it's planned to add this again

Okay nice, I think CDN is a little bit overkill for now, especially as we will release automatically every 7 days, but the locale storage thing could be quite nice

I think you already added it, not sure if it's working when I changed it from next-international to next-intl tough.

Test issue: https://github.com/vitest-dev/vitest/issues/5101
Fixing it right now by adding default coverage excludes to vitest.config.ts

Yeah TS is not working great, it wants to translate the import statements 😂

So... what do we do about this then?

Okay nice, I think CDN is a little bit overkill for now, especially as we will release automatically every 7 days, but the locale storage thing could be quite nice

I agree, let's plan this for >1.0.

So... what do we do about this then?

I already changed it to JSON

So... what do we do about this then?

I already changed it to JSON

Stupid question. Would we have an advantage storing as JSON but converting to TS on the fly / on commit?
If not, I'm okay with this solution.


OpenModelica compiled with UCRT can't build model

Description
I can't compile Modelica models with OMJulia.jl.
How to reproduce
Build OpenModelica with Universal C runtime (UCRT) following https://github.com/AnHeuermann/OpenModelica/blob/msys2-ucrt64/OMCompiler/README.Windows.md#13-install-msys2. (This might become the default to build OpenModelica soon.)
Then start Julia from e.g. PowerShell and run:
using OMJulia

pathToOmc = "path\\to\\OpenModelica\\build_cmake\\install_cmake\\bin\\omc.exe"
omc=OMJulia.OMCSession(pathToOmc)

msg = sendExpression(omc, "getVersion()")
@info msg
sendExpression(omc, "loadModel(Modelica)")
msg = sendExpression(omc, "buildModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog)")
@info msg
msg = sendExpression(omc, "getErrorString()")
@info msg

[ Info: Setting environment variable OPENMODELICAHOME="D:\workspace\OM\OpenModelica\build_cmake\install_cmake" for this session.
[ Info: Path to zmq file="C:\Users\AHEUER~1\AppData\Local\Temp\openmodelica.port.julia.mm9RDN43qR"
[ Info: v1.22.0-dev-262-gdbaa7ffa95-cmake
[ Info: ["", ""]
┌ Info: Error: Error building simulator. Build log: Das System kann den angegebenen Pfad nicht finden.
│ Das System kann den angegebenen Pfad nicht finden.
└ RESULT: 3

Translation: The system can't find the specified path. Result 3.
Starting Julia from OMDev bash fixes the issue, because the msys tools are in PATH.
Version

OS: Windows 11
OMDev: UCRT64 environment instead of the default MINGW64 environment
Julia Version 1.9.2
OMJulia @67f69adb6dfc711402e08ed5feb87983796d4475

Issue was a missing environment variable (because I don't have an installed OpenModelica with UCRT64 yet). So one needs to set OMDEV_MSYS in addition to OMDEV.


[theme] Add theme color strong typing onto the sx color properties

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
Add strong type checking onto the palette theme aware sx properties.
Examples 🌈
No response
Motivation 🔦
Since MUI v5, the suggested way to configure the color related sx props is to use string reference of the theme palette, making the implementation simpler: https://mui.com/system/the-sx-prop/#palette
However, with the moving from theme.palette to string reference, we loose the typescript strong checking of the available color.
The sx color prop for example, will only suggest css related values, not something like primary.main.
Because of that, I'm still preferring the theme.palette usage.
It would be a great addition to have type checking on the palette theme aware properties.
This was also something asked on StackOverflow: https://stackoverflow.com/q/69888051/1731473

I've just encountered the need for that feature when using NextJs SSR feature. I can't use
backgroundColor: theme => theme.palette.primary.black because Error: Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".
It works fine with backgroundColor: "primary.black" but then I'm losing strong typing.

I've just encountered the need for that feature when using NextJs SSR feature. I can't use backgroundColor: theme => theme.palette.primary.black because Error: Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". It works fine with backgroundColor: "primary.black" but then I'm losing strong typing.

i'm running into the same issue right now


pgroonga: 2.0.6 -> 2.0.9

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/pgroonga/versions.
meta.description for pgroonga is: '"A PostgreSQL extension to use Groonga as the index"'.

Checks done (click to expand)

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.0.9 with grep in /nix/store/dgwgass9m7qx7q7361h5p139slnjfr27-pgroonga-2.0.9

directory tree listing: https://gist.github.com/2be1658399a9406a81e3b438f8a6dd4f

du listing: https://gist.github.com/6a5bb308b88ef25256761d1736b0caa5

Test this build with Cachix (click to expand)

One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout a01cd126d7e2c8a0b7bde2a123dc345c2f892ed4 && nix-shell --pure -I nixpkgs=. -p pgroonga

cc @DerTim1 for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: pgroonga
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: pgroonga
Partial log (click to expand)
make[1]: Leaving directory '/build/pgroonga-2.0.9'
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/z6lqci872qmdkyg29ldrwa642kwvlrik-pgroonga-2.0.9
shrinking /nix/store/z6lqci872qmdkyg29ldrwa642kwvlrik-pgroonga-2.0.9/lib/pgroonga.so
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/z6lqci872qmdkyg29ldrwa642kwvlrik-pgroonga-2.0.9/lib  /nix/store/z6lqci872qmdkyg29ldrwa642kwvlrik-pgroonga-2.0.9/bin
patching script interpreter paths in /nix/store/z6lqci872qmdkyg29ldrwa642kwvlrik-pgroonga-2.0.9
checking for references to /build in /nix/store/z6lqci872qmdkyg29ldrwa642kwvlrik-pgroonga-2.0.9...
/nix/store/z6lqci872qmdkyg29ldrwa642kwvlrik-pgroonga-2.0.9

Success on aarch64-linux (full log)
Attempted: pgroonga
Partial log (click to expand)
make[1]: Leaving directory '/build/pgroonga-2.0.9'
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/mysnan0qrqh9nskn1pnacaxwz4ad12jd-pgroonga-2.0.9
shrinking /nix/store/mysnan0qrqh9nskn1pnacaxwz4ad12jd-pgroonga-2.0.9/lib/pgroonga.so
strip is /nix/store/ah0va6j4cnwj9nx4j6rwcfc8nh785jwm-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/mysnan0qrqh9nskn1pnacaxwz4ad12jd-pgroonga-2.0.9/lib  /nix/store/mysnan0qrqh9nskn1pnacaxwz4ad12jd-pgroonga-2.0.9/bin
patching script interpreter paths in /nix/store/mysnan0qrqh9nskn1pnacaxwz4ad12jd-pgroonga-2.0.9
checking for references to /build in /nix/store/mysnan0qrqh9nskn1pnacaxwz4ad12jd-pgroonga-2.0.9...
/nix/store/mysnan0qrqh9nskn1pnacaxwz4ad12jd-pgroonga-2.0.9


ActorRef where T: Into that underlying ActorCell accepts

Is your feature request related to a problem? Please describe.
Hi! I am trying to achieve some kind of isolation in my actor system, where the actors sending messages to other actors don't know about the receiver's message type but only know that it can accept messages of type T. For example:

In this case I would want the Actor1 only to send messages A to Actor3, and Actor2 only to send messages B. This way I could seamlessly change implementation of Actor3 (for example, switch Actor3.1 and Actor3.2) without changing anything about Actor1 and Actor2.
Describe the solution you'd like
It would be great if I could create ActorRef<A> and  ActorRef<B> to pass it to Actors that are supposed to talk to Actor3. Actor3's message can implement From<A> and From<B>, so before calling send_message it would be able to cast the incoming message to the actual message type Actor3 could receive. I think currently it is not possible because of the runtime type check in send_message:
if self.id.is_local() && self.type_id != std::any::TypeId::of::<TMessage>()
Describe alternatives you've considered
One alternative thing that is easy to do is to create a trait wrapping the ActorRef and use it instead but this seems hacky.
pub trait MyActorRef<T> {
    fn send(&self, msg: T) -> anyhow::Result<()>;
}

impl<T, Q> MyActorRef<T> for ActorRef<Q> where T: Into<Q>, Q: Message {
    fn send(&self, msg: T) -> anyhow::Result<()> {
        self.send_message(msg.into())?;
        Ok(())
    }
}

Please let me know if there's already a good way to do this and I missed it. Thanks for your help!

This is a really neat idea! I think we would need to introduce a new type however, something like FromActorRef<T> (the naming isn't final obviously). But yeah, I don't think this is something that can be done directly on an actor ref, but should be something we can add as a wrapper. It would be handy, since you could do stuff like
let actor: ActorRef<A>: ...;

let type_b: FromActorRef<B> = actor.clone().from();
let type_c: FromActorRef<C> = actor.clone().from();

where they each have their own discrete type.

cool, thanks! I will see if I can make a PR for this


Update README with better guidance on building from source

Rewrite the "Build from source" section of the README to give better guidance on building from source e.g. refer to scripts in the /tools directory.
e.g. #3, #4, #6

#8
should be included aswell


[RLQS] Implement RLQS stream restarts if the stream goes down mid-use.

Commit Message: Implement RLQS stream restarts if the stream goes down mid-use.
Additional Description: Stream restarts are done during periodic usage reporting, which limits retry spam while backends are offline.
Risk Level:
Testing: Integration testing updated to exercise the filter before and after stream closure.
Docs Changes:
Release Notes:
Platform Specific Features:

/retest


when download from douyin.com , can't parse json

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I'm running yt-dlp version 2023.06.22 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
china
Provide a description that is worded well enough to be understood
when download from douyin.com , can't parse json
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[Douyin] Extracting URL: https://www.douyin.com/video/7250319466863594789
[Douyin]<PHONE_NUMBER>863594789: Downloading video feed
[Douyin]<PHONE_NUMBER>863594789: Unable to find video in feed; trying with webpage
[Douyin]<PHONE_NUMBER>863594789: Downloading webpage
ERROR: [Douyin]<PHONE_NUMBER>863594789:<PHONE_NUMBER>863594789: Failed to parse JSON (caused by JSONDecodeError('Extra data in \'3-04-27"}}</script><\': line 1 column 99057 (char 99056)')); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/yt_dlp/extractor/common.py", line 708, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/yt_dlp/extractor/tiktok.py", line 1028, in _real_extract
    render_data = self._parse_json(
                  ^^^^^^^^^^^^^^^^^
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/yt_dlp/extractor/common.py", line 1009, in _parse_json
    self.__print_error('Failed to parse JSON' if errnote is None else errnote, fatal, video_id, ve)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/yt_dlp/extractor/common.py", line 992, in __print_error
    raise ExtractorError(f'{video_id}: {errnote}', cause=err)

  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/yt_dlp/utils/_utils.py", line 624, in decode
    return super().decode(s)
           ^^^^^^^^^^^^^^^^^
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/decoder.py", line 340, in decode
    raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 99057 (char 99056)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/yt_dlp/extractor/common.py", line 1006, in _parse_json
    return json.loads(
           ^^^^^^^^^^^
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/__init__.py", line 359, in loads
    return cls(**kw).decode(s)
           ^^^^^^^^^^^^^^^^^^^
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/yt_dlp/utils/_utils.py", line 632, in decode
    raise type(e)(f'{e.msg} in {s[e.pos-10:e.pos+10]!r}', s, e.pos)
json.decoder.JSONDecodeError: Extra data in '3-04-27"}}</script><': line 1 column 99057 (char 99056)

Fixed in a2be9781fbf4d7e4db245c277ca2ecc41cf3a7b2
Use the nightly builds or wait for next release
Closing as duplicate of #7431

Is the tiktok extractor also applicable to douyin in mainland China? @bashonly

@wwfcnu I don't know for sure but I assumed so.
Are you referring to this issue you were having?
You need to navigate to the video in browser, solve the puzzle challenge, and then pass --cookies-from-browser in order for the Douyin extractor to work


#3 refactor terraform cli into a bash script for gitpod.yml

#3

I refactored the Terraform CLI to be a bash script which is executed in the Gitpod.yml file.


prebuilt

Can you put up some prebuilt versions of radeco for linux/windows?

We will provide per-commit builds for linux for now when we have some time and will be available in bin.rada.re, the same for appveyour on windows. because i dont see any rust-mingw pkg yet

Also, current r2pipe.rs doesnt works on windows, so it must be ported

Crosscompiling to windows can be done without building any other rust toolchain, just install system mingw32 crosscompiler and follow this: https://www.reddit.com/r/rust/comments/3le6s0/two_questions_1_is_this_the_proper_place_to_post/cv5o4qu?context=3

@XVilka Will you be taking care of this issue? I think radeco is not ready for windows yet as @radare mentioned, but it'd be nice to have prebuilt binaries for linux/osx atleast.


react navigation stack + react native screens + react native webview will crash (null pointer dereference) when the pop stack

Current Behavior
react navigation stack + react native screens + react native webview will crash (null pointer dereference) when the pop stack
Expected Behavior
working fine
How to reproduce
react navigation stack + react native screens + react native webview will crash (null pointer dereference) after the pop webview's stack screen
Your Environment
latest

software
version

iOS or Android
ANDROID

react-navigation

react-navigation-stack

react-native-gesture-handler

react-native-safe-area-context

react-native-screens

react-native

expo

node

npm or yarn

Same here. Both, Android emulator and real device. I use react-native-community WebView, and the following trick solved the problem for me. No more crashes.
...
<WebView
  androidHardwareAccelerationDisabled={true}
...

Credits to @emeraldsanto on stackoverflow.


After run finished, send finish to new end end point

https://github.com/open-contracting/kingfisher-scrape/issues/57

If we delete those lines, there is nothing to explain why the generic functions are there. Someone could probably guess from looking at both classes, but I think it's good to comment to explain. And comments are usually good - we are trying to get more documentation at the moment!

I'm all about comments but comments are good when they are needed. In this case is self explanatory.


[Air Quality] Menu Bar Doesn't Automatically Refresh

Extension
https://www.raycast.com/earthpyy/air-quality
Description
The Menu Bar seems to not dynamically update in real-time. I clicked on the "dot and number" icon and it changed the AQI when I expected it to automatically refresh.
Who will benefit from this feature?
All users.
Anything else?
No response

Hi! Thanks for reporting this. I hope #10906 will fix the problem!


[Feature] Add support for CancellationToken to cancel requests downstream

Hi,
Is it possible to add overloads that support a CancellationToken for methods exposed on the IOrganizationService contract and the OrganizationServiceContext class so that we can cancel requests to CDS when a call is aborted upstream.
Thanks.

This is a longstanding ask that we are more actively considering how to deal with.
It is currently not possible to support this sort of feature on IOrganziationService as it is shared between server and clients.  This choice was made to provide a uniform coding and development model between clients and server.
Also, in general IOrganizationService calls are not Async by nature, they are sync calls and not subject to cancelation from the client.
I am curious what you mean by aborted Upstream?  if your referring to the server faulting the request, this is already handled immediately.  if by upstream you mean in the caller of the client needing to terminate the call that is a different matter which we can look into.

Say I have an API endpoint exposed in a controller with a CancellationToken to support aborting. If the CancellationToken is set following an abort, I would like to abort all microservice calls downstream including those to CDS. That's already possible with a regular HttpClient instance. I just dont wanna use regular Rest calls to CDS.

Ok so your talking about the Caller asking to do a cancel of an inflight communications.
We do not support that today as we do not support the async all pattern for our general SDK, this means that all calls to the CDS API are sync calls today.
we are considering if and how to add async call patterns to the client.
if we add them however we will likely end up breaking cross's code use with Plugins on the CDS Server.
that is the root of our conflict at the moment.
thanks

Is there any progress? I have the same needs

After Rather extensive discussion with the API teams on this, we are going to close this issue as a wont fix.
We did add support for the client to be able to do this to a degree, using the local IOrganizationService2 Interface.  However this will only cancel it up to the point of send.  Once the request is inflight it cannot be canceled.


Build locally

How do I build this locally? When I try to run "go build" at the root, I get following error ... "no Go files in $CWD"

fixed it