Problems to decrypt data

After testing PouchDB for my Ionic project, I tried to encrypt my data with crypto-pouch. But I got some problems with the decryption of my data. I think it isn't the fault of your plugin, but I would be very glad, if you could help me or even give me some advice:
First of all I changed the function for init my database from the following
function initDB() {
  _db = new PouchDB('myDatabase', {adapter: 'websql'});
  if (!_db.adapter) {
    _db = new PouchDB('myDatabase');
  }
}

to this modified code:
function initDB() {
  _db = new PouchDB('myDatabase', {adapter: 'websql'});
  if (!_db.adapter) {
    _db = new PouchDB('myDatabase');
  }
  return _db.crypto(password)
    .then(function(){
      return _db;
    });
}

And it seems if my data is being encrypted every time I post some new one. In the database every new document has got the fields 'nounce', 'data' and 'tag' and it isn't human readable.
But I don't know how to change my code for reading from the database. Without encryption I wrote the following function:
function getAllData() {
  if (!_data) {
    return $q.when(_db.allDocs( {include_docs: true}))
      .then(function(docs) {
        _data = docs.rows.map(function(row) {
          return row.doc;
        });
        _db.changes({ live: true, since: 'now', include_docs: true})
          .on('change', onDatabaseChange);
        return _data;
      });
  } else {
    return $q.when(_data);
  }
}

I have tried different possibilities, but I have no idea, where my code has to be changed. Can you help me, please! Thank you very much in advance!
Here is the code of two additional functions that are used by getAllData():
function onDataBaseChange(change) {
  var index = findIndex(_data, change.id);
  var data = _data[index];

  if (change.deleted) {
    if (data) {
      _data.splice(index, 1);
    }
  }
  else {
    if (data && data._id === change.id) {
      _data[index] = change.doc;
    }
    else {
      _data.splice(index, 0, change.doc);
    }
  }
}

function findIndex(array, id) {
  var low = 0, high = array.length, mid;
  while (low < high) {
    mid = (low + high) >>> 1;
    array[mid]._id < id ? low = mid + 1 : high = mid;
  }
  return low;
}

is the issue that the allDocs call is returning encrypted documents ?

After yesterday writing my post above, I tried some changes in my code with a bit of success. Because I intend to store different kinds of documents in my database, I removed _db.allDocs from getAllData and inserted a function for mapping instead. Here is my updated function:
function getAllData() {
  if (!_data) {
    return $q.when(_db.query(mapAllFaecher, { include_docs: true}))
      .then(function(docs) {
        _data = docs.rows.map(function(row) {
          return row.doc;
        });
        _db.changes({ live: true, since: 'now', include_docs: true})
          .on('change', onDatabaseChange);
        return _data;
      });
  } else {
    return $q.when(_data);
  }
}

And the function to map my documents is the following:
function mapAllTypOne(doc) {
      if (doc.type === 'typ_one') {
        console.log('map');
        emit(doc._id);
      }
    }

With these changes I got my documents decrypted. But if I insert a new one, the list isn't being updated automatically. After a reload in the browser or a new start of my app in android or iOS the new document is listed.
Because of the behaviour I could say, that the problem is not the query, but I think it is the handling of database chances. Is this possible with crypto-pouch?
In the meantime I found another question: Is it possible to use design documents, when I use crypto-pouch? I think this could be useful to increase the performance if the amount of documents is crowing.

design documents should be able to be used
does your code have problems with .changes if the crypto plugin is not installed?

No my code has no problems with .changes if the crypto plugin is not installed. I checked it again because the last version before using the plugin was with design documents.
Where have I to insert the design documents into the database - before or after the _db.crypt(...) call?

After new analysis I found, that the error starts by inserting the new data. To do this I use:
function addData(data) {
  return $q.when(_db.post(data));
};

The console shows the following messages:

Uncaught TypeError: must start with number, buffer, array or string
Buffer @ bundle.js:88
decrypt @ bundle.js:19957
outgoing @ bundle.js:17280
modifyChange @ bundle.js:17342
(anonymous function) @ bundle.js:17369
r.emit @ pouchdb-5.2.0.min.js:7
F.t.onChange @ pouchdb-5.2.0.min.js:8
(anonymous function) @ pouchdb-5.2.0.min.js:11
(anonymous function) @ bundle.js:17369
r.emit @ pouchdb-5.2.0.min.js:7
F.t.onChange @ pouchdb-5.2.0.min.js:8
o @ pouchdb-5.2.0.min.js:10
n @ pouchdb-5.2.0.min.js:10
v.get.onsuccess @ pouchdb-5.2.0.min.js:10
Database has a global failure DOMException: Uncaught exception in event
handler.h.onabort @ pouchdb-5.2.0.min.js:10

Perhaps this lines could help, to find the error.

what does data look like ?
On Sun, Jan 31, 2016 at 8:17 AM tubauwe<EMAIL_ADDRESS>wrote:

Reopened #16 https://github.com/calvinmetcalf/crypto-pouch/issues/16.
—
Reply to this email directly or view it on GitHub
https://github.com/calvinmetcalf/crypto-pouch/issues/16#event-533039800.

I have two different types of documents at the moment. Here are two example documents of each type:
{
  "_id": "907B2E5E-8BB1-C82C-8BD1-9DB8B647127C",
  "name": "example",
  "kuerzel": "ex",
  "type": "fach",
  "_rev": "1-82dec1ce0b721819394548763b404f9c"
}

{
  "_id": "A7486E9B-52E3-580A-8981-0B255B0E4A34",
  "name": "example",
  "notensystem": "Noten",
  "runden": "abschneiden",
  "type": "klasse",
  "_rev": "1-66b68665274b300d0972435ac44f5eef"
}

I think, my data isn't something special.

so since your using post, the data actually looks like
{
 "name": "example",
  "notensystem": "Noten",
  "runden": "abschneiden",
  "type": "klasse"
}

right?
try clicking pause on uncaught exceptions and see where the error is in decrypt, I suspect it's an issue with filter pouch not passing the encrypted data or maybe omitting the _id field for some reason

The first pause is for a exception in bundle.js an there in line 88, column 5 ("Uncaught TypeError: must start with number, buffer, array or string") and the next stop in pouchdb-5.2.0.min.js in line 8, column 5035.
I hope this can help for analysis.

yeah the first error is from the buffer lib, I'm wondering which line in
the decrypt function, aka which line in here
https://github.com/calvinmetcalf/crypto-pouch/blob/master/index.js
On Sun, Jan 31, 2016 at 10:43 AM tubauwe<EMAIL_ADDRESS>wrote:

I have two different types of documents at the moment. Here are two
example documents of each type:
{
"_id": "907B2E5E-8BB1-C82C-8BD1-9DB8B647127C",
"name": "example",
"kuerzel": "ex",
"type": "fach",
"_rev": "1-82dec1ce0b721819394548763b404f9c"
}
{
"_id": "A7486E9B-52E3-580A-8981-0B255B0E4A34",
"name": "example",
"notensystem": "Noten",
"runden": "abschneiden",
"type": "klasse",
"_rev": "1-66b68665274b300d0972435ac44f5eef"
}
I think, my data isn't something special.
—
Reply to this email directly or view it on GitHub
https://github.com/calvinmetcalf/crypto-pouch/issues/16#issuecomment-177530896
.

What possibilities do we have to find out? I'm quite new to ionic and javascript and unfortunately I don't know how to go on with this issue. I would be very glad, if you can help me.

check out the section on remote debuging here http://ionicframework.com/docs/v2/resources/developer-tips/, the chrome dev tools should let you not only pause on the error, but look at the call stack to see where the function that called the function that threw the error was

I tried to find out by using the chrome dev tools. I inserted in function decrypt (doc) in bundle.js (line 19953) the keyword debugger to stop there. After this stop I used "Step over to next function call (F10)" to see more details. There seems everything all right until the second time the line 19958 (after inserting the debugger)
var decipher = chacha.createDecipher(key, new Buffer(doc.nonce, 'hex'));
I can see my inserted and decrypted data and after this step the error occurs. I'm not sure, if this can hel

ok I can confirm working on a fix

ok try version 1.2.0

Sorry, but there's no change. The problem is still the same. Could it be helpful for you, if I send you my code?

Wouldn't hurt, you see if you can isolate the smallest bit of code that
will reproduce it
On Wed, Feb 3, 2016, 4:20 PM tubauwe<EMAIL_ADDRESS>wrote:

Sorry, but there's no change. The problem is still the same. Could it be
helpful for you, if I send you my code?
—
Reply to this email directly or view it on GitHub
https://github.com/calvinmetcalf/crypto-pouch/issues/16#issuecomment-179474126
.

I've created an example ionic project, that shows the same error as descripted above. You can get the folder www of this project at
https://bitbucket.org/tubauwe/example.git. Thanks in advance.

and it turned out I didn't update the bundle in a while try now

I tried immediataly after reading your last post: The behaviour changed. There's no error message, but after calling saveData() there's nothing in the database.
Compared to my example (on bitbucket.org) I only changed the content of www/lib/crypto-pouch to versino 1.2.1 of your plugi

I tried again and now I'm sure, that the problem comes from handling changes. If I remove the listener for changes, there's no problem with writing documents to the database and even with using design documents.
If this doesn't result in too low performance, I could live with.
Another question: Do you have a suggestion, how to handle the password securely? It should be asked every start of the app and again after a given time of unactivity.

I'm going to look into the changes issues but if you can work without that
then good, for now, as for passwords, that's going to really depend on your
threat model.
On Mon, Feb 8, 2016 at 4:15 PM tubauwe<EMAIL_ADDRESS>wrote:

I tried again and now I'm sure, that the problem comes from handling
changes. If I remove the listener for changes, there's no problem with
writing documents to the database and even with using design documents.
If this doesn't result in too low performance, I could live with.
Another question: Do you have a suggestion, how to handle the password
securely? It should be asked every start of the app and again after a given
time of unactivity.
—
Reply to this email directly or view it on GitHub
https://github.com/calvinmetcalf/crypto-pouch/issues/16#issuecomment-181547350
.

Thanks for your help so far.
I think my thread model isn't very special. All communication with the database is done by a javascript service, which gives the needed functions to use the database from the controller.
But because I'm just at the beginning, I could change this, if it is helpful for security.

@tubauwe Hey! It's been a while since you posted about this issue, but I want to check in and see if you still need help. I'm closing this issue for now but I can re-open it if you'd like :)


Fix digest continuation bug

The digest should not continue to lower priority cases if the parser returns incomplete.
This fixes #140

This is a nice catch!
Could you fix the clippy CI, so I can merge it?

It runs with -- -W clippy::all -W clippy::pedantic -W clippy::nursery -W clippy::cargo in CI

From the CI details I get "Error: Unable to create clippy annotations! Reason: HttpError: Resource not accessible by integration". It seems unrelated to the PR?

I think this is what it fails on:
error: this could be rewritten as `let...else`
   --> serde_at/src/de/mod.rs:676:5
    |
676 | /     let from = match x.iter().position(|x| !x.is_ascii_whitespace()) {
677 | |         Some(i) => i,
678 | |         None => return &x[0..0],
679 | |     };
    | |______^ help: consider writing: `let Some(i) = x.iter().position(|x| !x.is_ascii_whitespace()) else { return &x[0..0] };`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_let_else
note: the lint level is defined here
   --> serde_at/src/lib.rs:6:9
    |
6   | #![deny(warnings)]
    |         ^^^^^^^^
    = note: `#[deny(clippy::manual_let_else)]` implied by `#[deny(warnings)]`

@MathiasKoch it seems happy now:-)


Test Commit: DO NOT MERGE

Test PR: DO NOT MERGE
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This PR was raised to verify the CBMC proofs PR checks. Closing the PR after completing the CBMC proofs successfully.


Unnecessary IO in Graphics.Tools.WX

The WxImage class should probably work outside IO.
Currently it is bit cumbersome to use.

Originally it was made within IO as most of wx is in IO as well. WxImage is probably not used much anyway, since WxPaintable is the main class for creating graphical representations. Though that needs some work as well..


How to train VQA on my custom data?

Hello! I am trying to finetune OFA-large on VQA using custom dataset, using the finetuning instruction in the repo. I have checked my .tsv and .pkl file several times and they are correct as your provided sample. But after command "bash train_vqa_distributed.sh", the terminal just prints:
total_num_updates 40000
warmup_updates 1000
lr 5e-5
patch_image_size 480
The GPU usage will rise to a certain value and then suddenly return to zero, and then the program will end.  I train on single server with 2 GPU. Looking forward to reply, thanks for your sharing work!

Moreover, for fine-tuning on customed VQA-formated data, please also refer to this recent issue for more information #76.

Thanks for your reply! At first I was using two cards 3080ti, now I replaced them with 4 cards v100, however the same problem occurs. The script on my machine:
GPUS_PER_NODE=4
WORKER_CNT=1
export MASTER_ADDR=<IP_ADDRESS>
export MASTER_PORT=8214
export RNAK=0
The rest are unchanged. I also make my own ans2label.pkl file.
Here is a part of my .tsv file without imgbase64.

Here is a part of my .pkl file.

Hi, have you checked the path of  $log_file defined in your training script? The running log is saved in this file rather than printed on stdout. The program may be ended for other reasons. Please share more information if you find this log file.

Thanks ! It seems to be a problem with my image that is causing this, I am using the code you replied to in issue #56  for imgbase64.

Thanks! It seems to be a problem with my image that is causing this, I am using the code you replied to in issue #56 for imgbase64.

I have solved the above problem, but another problem occurs.

Hi, please check whether the fields of the input data line which caused this error correspond with the specified selected_cols. By default, the selected_cols is specified as 0,5,2,3,4 in the script, which sequentially fetches the 0th, 5th, 2nd, 3rd, 4th field of each input TSV line. If any of the field mismatches, errors may occur.

I have check the input data line, and it is same as exsample. I print the column_l and the length of it, column_l is correct [img_id, imgbase64, question, answer, objects].

Hi, I think there is a misunderstanding of how each data line is organized. In each line in TSV file, the fields follow the exact order of question-id, image-id, question, answer (with confidence), predicted object labels and image base64 string, thus there are 6 fields in total in the TSV file (also the image-id field is not used). By specifying the selected_cols=0,5,2,3,4, the program sequentially fetches the 0th (uniq_id), 5th (image), 2nd (question), 3rd (answer info), 4th (predict_objects) field from each input TSV line, resulting in a sample to feed into the model.
As mentioned in readme,  are separated by tabs.

By the way, for preparing the dataset TSV file, I would also recommend to prepare an original training sample with more than one golden answers into multiple samples each of which contains one of the answers. This will take full advantage of the supervision of ground-truth answers of training samples. Otherwise, only the golden answer with the highest confidence score will be used as supervision.

Hi @yangapku @xiaoqiang-lu
Can you send me a sample file for training VQA?
if possible, can you send me the code for trainning?

Thanks! It seems to be a problem with my image that is causing this, I am using the code you replied to in issue #56 for imgbase64.

how you resolve this problem? I''m having same problem. Thanks


problems with emacs integration

I don't know if the error is on the side of nimsuggest of on the side of nim-mode, but there is an issue, therefor I link it here: https://github.com/nim-lang/nim-mode/issues/165

You might check it by same way as I did:
https://github.com/nim-lang/nimsuggest/issues/37

sorry my bad


version: add module to store build time information

removed unrelated commits

Shouldn't this commit also contain the build system changes so the vars get populated at build time?
I am thinking here about the -ldflags="-X ...." entries in the GO_BUILD_CMD

the next PR adds them via .goreleaser.yml, but yes, the make build should add them too

Shouldn't this commit also contain the build system changes so the vars get populated at build time?
I am thinking here about the -ldflags="-X ...." entries in the GO_BUILD_CMD

change added @karasz


.ebextensions config mode should be quoted

Hello, I find some issues about mode(file permission) in .ebextensions config for this samples.
https://github.com/awsdocs/elastic-beanstalk-samples/blob/4ae60e500ce566cbb5fff6b95338cea79c67e302/configuration-files/aws-provided/security-configuration/https-redirect/python/https-redirect-python.config#L28
Some mode values are not quoted, and that has wrong permission when deploy to server.
For instance:
That file should be -rw-r--r--, but the result is -r---w----

Thanks @NohSeho, good point!
I fixed it in this file and another six config files that had the same issue.


packagist does not yet know about "troopers/mangopaybundle"

So it's not yet possible to download the version 2.0.3 :)

https://packagist.org/packages/troopers/mangopay-bundle


[Bug Report] Form component cannot be verified in some case

Element UI version
1.3.7
OS/Browsers version
Chrome Version 59.0.3071.115 (Official Build) (64-bit)
Vue version
2.4.1
Reproduction Link
https://jsfiddle.net/mvrbfbsh/
Steps to reproduce
bind input data with an object's attribute, like: v-model="form.object.data"
What is Expected?
input validation is working fine
What is actually happening?
Vilidation always return error

https://jsfiddle.net/mvrbfbsh/1/


Polylines on 3D Tiles

Follows up on https://github.com/AnalyticalGraphicsInc/cesium/pull/7434 and adds support for polylines on 3D Tiles.

Demo I've been using for testing: localhost link

Thanks for the pull request @lilleyse!

:heavy_check_mark: Signed CLA found.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.
:earth_africa: :earth_americas: :earth_asia:

🎉
In addition to the CZML example, please add/update a Sandcastle example using the CesiumJS API.

This might be an issue that we don't fix. It'll possibly also be an issue with #7434.

In addition to the CZML example, please add/update a Sandcastle example using the CesiumJS API.

I updated the Classification Types demo (the yellow line on the road).

All the comments should be addressed now. I opened an issue for the slicing through problem: https://github.com/AnalyticalGraphicsInc/cesium/issues/7453. It will require a bit of thinking to get right so I think it should get pushed to some other PR.


Are there any examples of how to use this library

You can find a quick setup in the README of this repository. There's also a sampler application https://github.com/aalmiray/bootstrapfx/tree/master/subprojects/sampler and some other examples at

https://github.com/aalmiray/griffon-examples
https://github.com/aalmiray/javatrove/


AMD Error

Uncaught Error: Module name "d3" has not been loaded yet for context: _. Use require([])
does anyone experience this?
here is my setup
define(function (require) {
    "use strict";

    var       calheatcss      = require("css!style/cal-heatmap"),
		d3                   = require("d3"),
		CalHeatMap    = require("cal-heatmap");

});

A fix with #124 should be on the way

looking forward https://github.com/kamisama/cal-heatmap/pull/124

this issue still has the issue. Could you fix for AMD

This issue is there when concat it into bundle file by r.js optimizer.


Bundle this as a Python package?

I love this project so much.
Since you're already being quite ambitious with how you handle deployment, here's an idea I've been bouncing around for a while but haven't committed to trying yet: how about building this as a Python wheel and distributing it via PyPI?
I'd love to be able to run pip install sqlite-lines-extension and then do the following:
import sqlite3
import sqlite_lines_extention
con = sqlite3.connect(":memory:")

con.enable_load_extension(True)
con.load_extension(sqlite_lines_extention.path())

Ideally the wheel would have builds for various different architectures all magically bundled together. I've not done this myself but I believe part of the solution is https://github.com/pypa/manylinux
Having an example repo that can build this kind of thing using GitHub Actions would be really cool. I'd love to be able to pip install spatialite-extention and suchlike too.

Hey, thanks for the issue!
I agree, a Python package would be great! (NPM would be slick too)
Tho my experience dealing with Python packages have been nightmarish, especially when C dependencies are involved. But it we can make it work, then hell ya
I love the proposed package name and API. I guess .path() would be the only useful API, maybe with a disable_read=True option?
Does anyone know if Python wheels have to be pre-built, or if they can be built when someone pip installs? It's only a single C file with one SQLite dependency, so hopefully it's not too complex...
Some other cool package managers to include:

[ ] Python / PyPi
[ ] NPM
[ ] Deno
[ ] brew
[ ] debian?

My understanding is that you can distribute a sdist package with the C code in and that will get compiled when someone runs pip install sqlite-lines-extension - but only if they have a fully working and configured C compiler. And possibly the SQLite header files available as well? I'm not sure about that.
If a .whl is also available and is compatible with their system then that pre-compiled binary will be installed instead, and they won't need the C compiler.
To be completely honest: I've had "figure out how to bundle compiled C modules in a Python wheel" on my TODO list for a few years now. My C ecosystem knowledge is pretty weak though, so I'm expecting this to be quite a tough learning curve for me - which is why I haven't yet taken it on.
So this issue here is my cheeky way of trying to get you to figure it out instead, since you're clearly more comfortable with C tools than I am!

Another for your list of package managers: Homebrew. Though to my surprise it doesn't look like anyone else has packaged a standalone SQLite module for it before, at least based on searching for sqlite on https://github.com/Homebrew/homebrew-core/find/master


Android Fatal Exception ObjectAlreadyConsumedException

          Hi @mikehardy

After the fix in #1168 i have started seeing  many errors in Crashlytics with the following stack trace:
Fatal Exception: com.facebook.react.bridge.ObjectAlreadyConsumedException
Map already consumed

com.facebook.react.bridge.WritableNativeMap.mergeNativeMap (WritableNativeMap.kt)
com.facebook.react.bridge.WritableNativeMap.merge (WritableNativeMap.kt:47)
com.facebook.react.bridge.WritableNativeMap.copy (WritableNativeMap.kt:52)
com.facebook.react.jstasks.HeadlessJsTaskConfig.<init> (HeadlessJsTaskConfig.java:90)
com.facebook.react.jstasks.HeadlessJsTaskContext.startTask (HeadlessJsTaskContext.java:113)
com.facebook.react.jstasks.HeadlessJsTaskContext.startTask (HeadlessJsTaskContext.java:91)
io.invertase.notifee.HeadlessTask.invokeStartTask (HeadlessTask.java:235)
io.invertase.notifee.HeadlessTask.lambda$drainTaskQueue$0 (HeadlessTask.java:347)
io.invertase.notifee.HeadlessTask.$r8$lambda$TfM4uS4TmugyY-kRBF4YHDzDJ04
io.invertase.notifee.HeadlessTask$$ExternalSyntheticLambda0.run (D8$$SyntheticClass)

Unfortunately i cant reproduce this issue locally,
After looking at the stack trace i saw that there is a WritableMap in the TaskConfig class
and i think that instead of
      // Insert our custom taskId for users to call finishHeadlessTask(taskId) with.
      params.putInt("taskId", mTaskId);
      mParams = params;

we need:
     // Create a copy of the original params map to ensure it is not modified
      mParams = params.copy();  // Using copy() to create a new independent map

      // Insert our custom taskId for users to call finishHeadlessTask(taskId) with.
      mParams.putInt("taskId", mTaskId);

What do you think ?
If it is acceptable, i can open a PR.
Thanks
Originally posted by @MaxToyberman in https://github.com/invertase/notifee/issues/266#issuecomment-2556479382

Related: https://github.com/transistorsoft/react-native-background-geolocation/issues/2235#issuecomment-2553667253

@MaxToyberman - PR #1176 should fix this, and it's already released as v9.1.8 here as of last night, could you try that?
Meanwhile I'm going to locally revert that and see if I can reproduce it to affirm I see the crash (rather than just "the possibility of a crash via code inspection") and that this does actually fix it. But I may never be able to reproduce so getting it in a release with someone that has observed crashes in the wild could really help.
Hypothesis is that this is what can happen if multiple events are triggered in the background on a killed app all at once, queueing rapidly enough that there are multiple events in the queue when react-native startup is complete and we internally race to drain the queue, with multiple queued event queue drains instead of just one.

Thanks @mikehardy
Sure, we are going to deploy the fix on Monday,
I will monitor it and let you know.

Hi @mikehardy
I dont see this issue anymore, i think i can close it.
Thank you

@MaxToyberman thanks for reporting back, and oh how thankful I am. The headlessJS changes required for the new bridgeless mode were unexpectedly difficult


Fixed the _tasks variable assignment

Fixes #4
Changelog:

Removed unnecessary assignment
Updated code to use postValue(). As it works in background thread and is safer for IO tasks.

the major use case of postValue() is when we are assigning the values to livedata from a background thread. Currently the values are being assigned from UI thread itself hence it will not a make a difference. Thanks for the contribution 🙂

Congratulations  🎉  your PR has been merged, thanks for contributing to MyNotes. Do share on share this milestone on social ! 🙂


textarea no longer working

Field type="textarea"  no longer works after being changed to Field type="textArea". This either needs changed back to textarea or made to work with both camel case or all lowercase.

@stolinski Do you want either textArea or textarea to work? or only textarea sinice that is the element name? (Or keep as only textArea but update the readme and example?)


Filter Posts by Covered

Filter Posts by Covered
Issue Number(s): #167.
What does this PR change and why?
We want to allow admins and content creators to be able to show 3 possible states of posts: only covered posts, only uncovered posts, and covered and uncovered posts. This is to enable users to quickly find a post to delete or uncover and to see the posts that volunteers are only able to view.
Checklist

[ ] Requirements have been implemented
[ ] Acceptance criteria are met
[ ] Database schema docs have been updated or are not necessary
[ ] Code follows design and style guidelines
[ ] Commits follow guidelines (concise, squashed, etc)
[ ] Relevant reviewers (Senior Dev/EM/Designers) have been assigned to this PR

Critical Changes

Database change/migration to run
Call getFilteredPost with object instead of with a parameter. See details of implementation.

Testing
Enumerate steps to test the functionality of your ticket. This should include edge cases and testing of error handling, if applicable.

I couldn't get the toMatchObject to work as mentioned so I've used another way of doing it but it now does make sure all the fields are the same and not just the ID.


I'd like to improve the design of the github page

I'm currently practicing my web design skills and would like to give the github make a more modern look as well as make it responsive it. Can I contribute that way?
Thanks.
Attached is an image of how it looks completed. The video plays automatically as how it did in the original website.

I think the current page, although not very responsive around the screenshot, is more informative. And I prefer the looks of it. (VERY PERSONAL OPINION)

I think the current page has styles and colors that are consistent with the design of the app itself. Not sure if that's necessary, but I think it's nice.

I'm torn by rejecting someone's hard work like this, but I agree with the people above.
But well, this is the thing with unsolicited redesigns :)


RST relation

In the code, each node in RST contains two fields about relations: rel and child_rel. What is the difference between them?

Re: RST parsing has two main evaluation methods, 1. In RST-Parseval, the relation between two tree nodes is attached to both nodes (e.g., List-NN is the relation between them, we label 'List' and 'List' for both nodes' "rel"); 2. In the original Parseval, the relation between two tree nodes is attached to the parent node (e.g., List-NN is the relation between them, we label 'List' for the parent node's "child_rel").


Infracost v0.10.0 does not resolve EnvVar, but terragrunt does: Call to function "get_env" failed: EnvVarNotFound

Two log files from pipeline below:
$ echo $LOCALS
locals_dev.hcl
\$ KST=\$(aws sts assume-role --role-arn \${SERVICE_ROLE_ARN} --role-session-name "deployment-${CI_PROJECT_NAME}" --query '[Credentials.AccessKeyId,Credentials.SecretAccessKey,Credentials.SessionToken]' --output text)
\$ export AWS_ACCESS_KEY_ID=$(echo $KST | cut -d" " -f1)
\$ export AWS_SECRET_ACCESS_KEY=$(echo $KST | cut -d" " -f2)
\$ export AWS_SESSION_TOKEN=$(echo $KST | cut -d" " -f3)
\$ export AWS_SECURITY_TOKEN=$(echo $KST | cut -d" " -f3)
\$ infracost breakdown --path=\${TF_ROOT} --format=json --out-file=${TF_ROOT}/infracost.json
time="2022-06-10T12:52:38Z" level=info msg="Detected Terragrunt directory at /builds/4zRYsKjG/0/1nce-tech/miscellaneous/central-monitoring-infrastructure"
Error: Error processing module at '/builds/4zRYsKjG/0/1nce-tech/miscellaneous/central-monitoring-infrastructure/terragrunt.hcl'. How this module was found: Terragrunt config file found in a subdirectory of /builds/4zRYsKjG/0/1nce-tech/miscellaneous/central-monitoring-infrastructure. Underlying error: /builds/4zRYsKjG/0/1nce-tech/miscellaneous/central-monitoring-infrastructure/terragrunt.hcl:2,14-22: Error in function call; Call to function "get_env" failed: EnvVarNotFound: Required environment variable LOCALS - not found.
Update: A new version of Infracost is available: v0.10.0+2-ga2349c60 → v0.10.2
$ curl -fsSL https://raw.githubusercontent.com/infracost/infracost/master/scripts/install.sh | sh
Cleaning up file based variables
00:01
ERROR: Job failed: command terminated with exit code 1
terragrunt command in the same pipeline:
$ terragrunt run-all plan -out=$PLAN
time=2022-06-10T12:51:56Z level=info msg=The stack at /builds/4zRYsKjG/0/1nce-tech/miscellaneous/central-monitoring-infrastructure will be processed in the following order for command plan:
Group 1
\- Module /builds/4zRYsKjG/0/1nce-tech/miscellaneous/central-monitoring-infrastructure
aws_iam_role.cm-dev: Refreshing state... [id=eks-cluster-cm-dev]
...
No changes. Your infrastructure matches the configuration.
Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.
Saving cache for successful job
00:11
Creating cache test-non_protected...
/builds/4zRYsKjG/0/1nce-tech/miscellaneous/central-monitoring-infrastructure/.terragrunt-cache: found 107 matching files and directories
No URL provided, cache will be not uploaded to shared cache server. Cache will be stored only locally.
Created cache
Cleaning up file based variables
00:00
Job succeeded
My terragrunt.hcl:
locals {
varfile = get_env("LOCALS")
monitor = read_terragrunt_config("${local.varfile}")
bucket  = "${local.monitor.locals.cluster_id}-\${local.monitor.locals.region}"
dynamo  = "${local.monitor.locals.cluster_id}-\${local.monitor.locals.region}"
tfpath  = "infra/terraform.tfstate"
}

Sorry, I did not noticed first these two bugs:
https://github.com/infracost/infracost/issues/1695
https://github.com/infracost/infracost/issues/1728
Seems to be working with:
--terraform-force-cli

Thanks for adding details 🙏! Yeah this seems to be the same as https://github.com/infracost/infracost/issues/1728, so hopefully we'll get that into a patch release soon. Will close this issue for just now.


0.3.1

Changes:

Update to 0.3.1
Add patch to run cython

Note: no doc_url
Note2: required for python 3.11 build.
https://github.com/cloudera/python-sasl
https://anaconda.atlassian.net/browse/PKG-902

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_62o1d6u4hd/clone/recipe/meta.yaml:58: missing_doc_source_url: The recipe is missing a doc_source_url
WARNING: /tmp/abs_62o1d6u4hd/clone/recipe/meta.yaml:58: missing_license_url: The recipe is missing a license_url
ERROR: /tmp/abs_62o1d6u4hd/clone/recipe/meta.yaml:58: missing_doc_url: The recipe is missing a doc_url
Errors were found

An error on win64:
C:\b\abs_2ed8ffhh95\croot\sasl_1670898529249\work\sasl\saslwrapper.h(27): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_f5j50ylymg/clone/recipe/meta.yaml:58: missing_license_url: The recipe is missing a license_url
ERROR: /tmp/abs_f5j50ylymg/clone/recipe/meta.yaml:58: missing_doc_url: The recipe is missing a doc_url
WARNING: /tmp/abs_f5j50ylymg/clone/recipe/meta.yaml:58: missing_doc_source_url: The recipe is missing a doc_source_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_c7nmu8pih1/clone/recipe/meta.yaml:58: missing_doc_url: The recipe is missing a doc_url
WARNING: /tmp/abs_c7nmu8pih1/clone/recipe/meta.yaml:58: missing_license_url: The recipe is missing a license_url
WARNING: /tmp/abs_c7nmu8pih1/clone/recipe/meta.yaml:58: missing_doc_source_url: The recipe is missing a doc_source_url
Errors were found


[Question] Standard Environment

Is it possible to integrate in the same way Google Cloud Datastore with Google App Engine using Standard Environment?

Yes! You can use the google/cloud-datastore library:
composer require google/cloud-datastore

Check out the docs for samples and documentation.


config: enable certificate display behaviour in studio (MITxOnline)

Description
We wanted to enable Certificates Display Behaviour in our edX studio for MITxOnline. In order to do that need to set up a couple of things(TL;DR A waffle switch and a feature flag/config) mentioned https://github.com/mitodl/mitxonline/issues/1257#issuecomment-1346463078.
https://github.com/mitodl/mitxonline/issues/1257
Motivation and Context
Part of https://github.com/mitodl/mitxonline/issues/1257
This is for enabling certificate display behavior in edX studio.
How Has This Been Tested?
I tested it with:

Added a waffle switch certificates.auto_certificate_generation through Django admin.
Enabled the ENABLE_V2_CERT_DISPLAY_SETTINGS in your FEATURES for cms (private.py or cms.yml).
Open a course in Studio > Settings > Schedule and Details > Notice that you can now see the display behavior settings as below

Checklist:

[x] My code follows the code style of this project. (Did you install and run the pre-commit hooks?)
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

I am concerned about the potential for side-effects from this setting. We'll want to test it carefully on QA/RC before setting it in production.

wow, that is a horrible name for a waffle flag and the documentation for it is even worse.
from https://edx.readthedocs.io/projects/edx-platform-technical/en/latest/featuretoggles.html#featuretoggle-FEATURES['ENABLE_V2_CERT_DISPLAY_SETTINGS']
all it says:

Whether to use the reimagined certificates_display_behavior and certificate_available_date


Location always null

I didnt see any issue with my problem, but this app always shows me that i dont have location enable, even when i have. I tried google maps and it did work, but in this, it doesnt.
I didnt change any code

In which android version you were checking ?

v 4.4.2

Do these:
1). Check what is the minSdk set in your android manifest file.
2). Use run time permissions for new version of android.
3). Make sure location settings are prompt to user if the settings doesn't satisfy.
If these didn't work can you paste you log cat here ?

I didn't change any code, thus the manifest doesn't have anything about sdk.
I works when i put the run time permissions. Thank you.

You should always update your gradle when you are opening another project in Android Studio from different source. Good luck.

I am getting location as null always.
I am running on 7.0
problem : when I granted permission at runtime my location is not turning on in my device but   if I enable it manually, problem is solved
can anyone help me? Thank you.

share your function which is turning on location else post it on StackOverflow.

I just copied the MainActivity class of Basiclocationsample from the above code.


Multi page app build asserts path error

Describe the bug
build result
<!doctype html>

    <meta charset="UTF-8" />
    <link rel="icon" href="/static\assets\faviconiVy5_-wL.ico" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>test</title>

    <link rel="modulepreload" crossorigin href="/static\\js\\.pnpmUBP7t4EC.js">
    <link rel="modulepreload" crossorigin href="/static\\js\\footerHP5Uq0rD.js">
    <link rel="stylesheet" crossorigin href="/static\\assets\\footer9KeGGCU9.css">
    <link rel="stylesheet" crossorigin href="/static\\assets\\.pnpmwNCqchYN.css">
    <link rel="stylesheet" crossorigin href="/static\\assets\\.css8PRRCHEP.">

css
@font-face {
  font-family: YouSheBiaoTiHei;
  src: url(/static\assetsyouSheBiaoTiHeiSpr2G1QK.woff) format('woff');
}

Reproduction
https://github.com/lmm1990/vite-build-bug
Steps to reproduce

pnpm build
check dist/index.html
check dist/static/asserts/_plugin-vue_export-helperPhmByMN5.css

System Info
System:
    OS: Windows 11 10.0.22631
    CPU: (12) x64 12th Gen Intel(R) Core(TM) i5-12400F
    Memory: 791.32 MB / 15.82 GB
  Binaries:
    Node: 16.14.1 - C:\Program Files\nodejs\node.EXE
    npm: 8.5.0 - C:\Program Files\nodejs\npm.CMD
    pnpm: 8.6.0 - ~\AppData\Roaming\npm\pnpm.CMD
  Browsers:
    Edge: Chromium (120.0.2210.77)
    Internet Explorer: 11.0.22621.1

Used Package Manager
pnpm
Logs
No response
Validations

[x] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

You are configuring assets path to include \ instead of /. I don't think that would work with normal servers.
https://github.com/lmm1990/vite-build-bug/blob/e9ff5760b55d1c5f7096eb03739df1b3c6352bb7/vite.config.ts#L9
There is an actual bug here that \ in css should be escaped as \\. We could support that, but I guess we won't implement that on our own because it's very unlikely to happen.


When will this method getInitialListOfServers be called?

When will this method getInitialListOfServers be called?
Ribbon
package: com.netflix.loadbalancer
interface: ServerList
thanks！

It is pretty easy to use the features of your IDE to figure this out.


Slow and large installation due to unnecessary TinyUSB components

When installing the pico-sdk, the installation takes much longer than it should because many unnecessary drivers from the TinyUSB repo are cloned individually due to the references. https://github.com/hathach/tinyusb/tree/86c416d4c0fb38432460b3e11b08b9de76941bf5/hw/mcu Example
folder that is slowing down the installation - surely all the infineon, wch, etc. drivers are not needed?
The pico-sdk could be made much smaller and quicker to install if only the required parts of TinyUSB were included.

TinyUSB recently removed submodules. See https://github.com/hathach/tinyusb/pull/1947 and https://github.com/hathach/tinyusb/pull/1961. So maybe this problem will go away when TinyUSB is updated?
Tagging @hathach for interest.

Looks like hathach/tinyusb#1947 will improve install times, although hopefully the python script won't break anything.
Leaving issue open until that PR is merged.

See also #1044
You only get these "unnecessary drivers" if you do a recursive clone, which isn't what https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf says to do (for precisely this reason :wink: ). I'm curious which instructions you were following which means you are pulling down all the submodules?


Switch to ethjs-unit from web3-utils, remove lodash deps

There are 7 severe vulnerabilities related to lodash/axios in demo-keys due to the dependence on web3-utils, purely for the purpose of the utility methods toWei and fromWei.
These are also provided by ethjs-unit in a probably smaller file size without this dependency. This task is to measure (webpack'd) file sizes before, switch them over, measure file sizes after, commit/push, verify vulnerabilities are gone, and publish.

This has been fixed and out for awhile. I'll re-open with another dependabot ticket if that's not the case.


Run exports and update

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please update

Hmm, why is ntl using gcc on OSX?
cc @saraedum


question about processing caption_sharegtpvideo_300k

Hi authors, thanks for your great work.
When using the codes for stage3 training, it seems the codes cannot process the catpion_sharegptvideo_300k dataset.
The "img" item in the  following config (instruction_data.py) seems make no difference.
   caption_sharegptvideo_300k=[
        f"{my_path}/video/caption/sharegptvideo/train_300k.json",
        "{my_path}/shareGPTVideo/train_video_and_instruction/train_300k/videos",
        "video",
        "img", # read from image
    ],

Thanks for your reply.

Same problem


Reduce string allocations when formatting file system objects.

PR Summary
Cache FullName property in the ProviderInfo class. Causes extra string allocations for every item in the formatting pipeline.
PR Context
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Change is not breaking
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[x] Make sure you've added a new test if existing tests do not effectively test the code changed

[ ] Add [feature] to your commit messages if the change is significant or affects feature tests

@powercode Please have a look at the test failure.

@powercode Could you please fix CI Windows?

Awesome. Out pf curiosity: Do you have time measurements  of cases where this improvement is noticeable?

@bergmeister It is mostly in allocations - it generates lots of extra strings, like 2 strings per item in the pipeline.
I'm reasoning more in terms of steadily removing silly allocations, and fixing the worst offenders perf-wise, and eventually we will have a more snappy shell.
The image below show the dotmemory view of strings allocated, grouped by callstack, when looking at the first 50000 items in the windows dir. It wasn't the biggest, but it was one of the bigger, and it was low hanging fruit. Does it make sense?

Thanks @powercode. Yes, makes sense. I agree that continous improvement will make it better over time. :)

@bergmeister It may seem like I'm just doing random changes, but I actually measure things now and then :)

@powercode I was not questioning it, I was just curious for my own education (because knowing this also means that one will know the scenarios where Windows PowerShell is weak and where I could recommend an upgrade to clients).
Would you mind having a look at the following issue with Import-Csv please which is causing actual OutOfMemory problems in some workflows where CSV files are a couple of GB large.
https://github.com/PowerShell/PowerShell/issues/7603

@bergmeister Windows PowerShell is still more efficient than PowerShell Core
in many scenarios. Main reason that .Net Framework engine works differently than .Net Core one. Optimizing individual cmdlets would be fine, but maybe we need something more general.

@bergmeister I'm currently working on optimizations for the formatting system, the filesystem provider, etc that makes it out-perform windows powershell with a huge margin, often like 4x. And with a memory footprint reduction of the similar size.
Import-Csv is problematic, since our property abstraction is heavier that I would like it to be. Especially in the case like that, where we actually have a table, we wouldn't need to store all the metadata for each object. I haven't given it so much thought - just passed by it last fall when doing related work.
I have an idea that I like to try out for Import-CSV - could drastically reduce the memory footprint.
That is to generate a dynamic assembly, with a class containing the fields of the CSV.

I was thinking about compiling to classes too and found some problems in the approach. One problem could be solved by #8852 (not trivial). After finding IDataView  #8855 I suppose this is preferred way we should start research.


Angular issue with esbuild: 504 on webworker URL

Describe the bug
I tried downloading and running the Angular example. After installing, loading the scripts Ffmpeg#load() produces a 504 error.
To Reproduce
Download the Angular example, run npm install and ng serve. Open devtools and click on the load button.
Expected behavior
For the load function to work.
Screenshots

Desktop (please complete the following information):

OS: Windows 11
Browser: Chrome
Version 123.0.6312.58 (Official Build) (64-bit)

Smartphone (please complete the following information):
Not Applicable

any solution for this?

happened to me also, i tried to install angular PWA just to see if its related with a web worker or something. Looks like the vainilla examples are working, but it become so slow while procesing video.

Any workaround?

this article was helpful


[Archive Migration testing] Non-functional tests for migration process

Scope of this item is to test all non-functional aspects of migration process such as:

Performance of migration
Checkpoints

out-of-scope since this is a one-time, incremental process


Disabling Content Security Policy when web-security is disabled

I have a use case where I open up a browser-window, load a site with a Content Security Policy that has a restrictive connect-src setting (for example https://github.com/atom/electron), and then I try and create a WebSocket connection to ws://localhost:2000 where I have a local WebSocket server running.
The problem is that even with web-security: false the WebSocket fails with:
[15235:0714/135216:INFO:CONSOLE(0)] "Refused to connect to 'ws://localhost:2000/' because it violates the following Content Security Policy directive: "connect-src 'self' live.github.com wss://live.github.com uploads.github.com status.github.com api.github.com www.google-analytics.com github-cloud.s3.amazonaws.com".
", source: https://github.com/atom/electron (0)
[15235:0714/135216:INFO:CONSOLE(4823)] "Uncaught SecurityError: Failed to construct 'WebSocket': Refused to connect to 'ws://localhost:2000/' because it violates the document's Content Security Policy.", source:  (4823)

Would it be possible to disable Content Security Policy checks when web-security is false?

Currently there is no perfect way to do that, Chromium doesn't provide a way to surprise the Content Security Policy. One trick is to hijack web requests and remove the Content Security Policy header, but if the page writes the Content Security Policy in the meta tag in HTML then there is no way to prevent that.
I think currently the best solution is to use node modules for WebSocket connections.

@zcbenz Ah ok that is unfortunate, as it means I have no way to reliably establish two-way communication between a window and a browser process when loading an arbitrary URL, I wrote up an issue for that on my project here https://github.com/maxogden/electron-microscope/issues/4

#2375 has added a way to disable CSP for a certain scheme, turning the whole CSP down however is still possible since Chromium hard-coded the thing and didn't provide a switch.
I'm closing this since #2375 has provided a way to solve your original problem.


Feature Request - Shadow on page transitions in android

Hello Steroids team, first of all congrats on supersonic, it looks amazing.
I have a feature request for the page transitions in android.
Currently there is no shadow in the edge of the animation, and on transition, it looks like there is something missing.  In most of the page transitions there is a small shadow in the edge while animating, actually like the one you have in the ios styles.
Please add the shadow on the edge for android, and this will make all the transitions look much more natural,
Thanks for your time,
Shaul.

Just to affirm here that this is noted and added to backlog – very valid request!

Thanks @harsaharsa all new enhancements are more than wellcome, I just want to add that there are a few critical features pending that should be solved before this (think about the deviceready serious bug on Android, navigation bar and tabs problems with SVG and/or retina images, webViews can't be unloaded from drawer in android, loading.html screen missing on android when replacing center view from drawer.. etc). You can make a poll between users, but fixing current bugs and limitations should be a priority against adding enhancements like Supersonic or this nice and useful suggestion. Just my 2c :smile:

Referencing #830


Notes regarding protocol for Redis messages (rebased 3 commits)

Same PR as https://github.com/socketio/socket.io-redis/pull/85 but squashed the commits into 1.

Thank you!!!


Clear canvas isn't part of the history

Thanks for building this plugin!
I noticed that clearing the canvas isn't part of the history. So if I

draw a red line
then a green line
then clear the canvas
and finally use undo
=> Only the red line is shown now but I would have expected both the red and green line.

Fix: Also listen for canvas:cleared event.
fabric.Canvas.prototype._historyEvents = function () {
    return {
        'object:added': this._historySaveAction,
        'object:removed': this._historySaveAction,
        'object:modified': this._historySaveAction,
        'object:skewing': this._historySaveAction,
        'canvas:cleared': this._historySaveAction,
    };
};

We need this event for fabricjs 3 but I will upgrade the fabricjs dependency to 5. I think they solved it with version 5. It is working without this event

I just tested it but I can't confirm that. With fabric 5 (and without listening to canvas:cleared), I get this behavior:
When I

draw 2 lines, one on the left and one on the right
then clear canvas
and finally use undo
=> A single line reappears (the one on the right). I have to use undo again to get the second line.
But I would have expected undo to restore the state before clearing the canvas.

So for now I'll keep using fabric 4 and monkey patch _historyEvents to get the behavior I need.


Train the parser with GPT encoder

Hi, thanks for your interesting work! I am trying to train your parser using a GPT encoder but got some techincal errors during training. I created a Hydra config file like the following one:
# @package _global_
d_model: 2048

encoder: gpt2-medium
use_tags: false
use_words: false
d_kqv: 64
d_ff: 2048
word_emb_dropout: 0.3
tag_emb_dropout: 0
relu_dropout: 0.2
residual_dropout: 0
attention_dropout: 0
num_attn_layers: 4
num_attn_heads: 8

decoder: graph
num_gcn_layers: 4

learning_rate: 3e-5
weight_decay: 0
subbatch_max_tokens: 700

Since GPT does not have cls and sep special tokens, I also added these two lines to the constructors in dataloader.py and parser.py:
special_tokens = {"cls_token":"[CLS]", "sep_token": "[SEP]"}
self.tokenizer.add_special_tokens(special_tokens)

However, during training I got this runtime error  "Assertion 'srcIndex < srcSelectDimSize` failed on GPU " from CUDA. Could you provide any guidance on how to train your model based on GPT?

Thanks for your interest in our work!
I have never experimented with GPT2 in this work, and unfortunately, I'm unable to help with that due to limited bandwidth.
It should be possible in principle, e.g., Kitaev et al. [1] use our work + GPT2.
[1] Kitaev, Nikita, Thomas Lu, and Dan Klein. "Learned Incremental Representations for Parsing." Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 2022.


mat: add support for tridiagonal matrices

After a short hiatus I'm trying to pick up my effort to support tridiagonal matrices in mat. At the moment this is just a draft because there are not tests yet but please take a look and leave comments.

Codecov Report

Merging #1541 (8b6b611) into master (1858083) will decrease coverage by 0.33%.
The diff coverage is 47.25%.

@@            Coverage Diff             @@
##           master    #1541      +/-   ##
==========================================
- Coverage   71.46%   71.13%   -0.34%
==========================================
  Files         489      474      -15
  Lines       54288    54138     -150
==========================================
- Hits        38797    38511     -286
- Misses      13086    13248     +162
+ Partials     2405     2379      -26

Impacted Files
Coverage Δ

mat/band.go
71.28% <0.00%> (ø)

mat/index_no_bound_checks.go
75.00% <0.00%> (-13.13%)
:arrow_down:

mat/tridiag.go
0.00% <0.00%> (ø)

graph/path/disjoint.go
66.66% <73.33%> (+2.38%)
:arrow_up:

mat/cdense.go
61.06% <85.96%> (+23.23%)
:arrow_up:

graph/multi/directed.go
92.06% <100.00%> (+1.58%)
:arrow_up:

graph/multi/undirected.go
91.04% <100.00%> (+2.69%)
:arrow_up:

graph/multi/weighted_directed.go
94.83% <100.00%> (+0.80%)
:arrow_up:

graph/multi/weighted_undirected.go
92.94% <100.00%> (+3.67%)
:arrow_up:

graph/path/spanning_tree.go
91.17% <100.00%> (+0.26%)
:arrow_up:

... and 21 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #1541 (8b6b611) into master (1858083) will decrease coverage by 0.33%.
The diff coverage is 47.25%.

@@            Coverage Diff             @@
##           master    #1541      +/-   ##
==========================================
- Coverage   71.46%   71.13%   -0.34%
==========================================
  Files         489      474      -15
  Lines       54288    54138     -150
==========================================
- Hits        38797    38511     -286
- Misses      13086    13248     +162
+ Partials     2405     2379      -26

Impacted Files
Coverage Δ

mat/band.go
71.28% <0.00%> (ø)

mat/index_no_bound_checks.go
75.00% <0.00%> (-13.13%)
:arrow_down:

mat/tridiag.go
0.00% <0.00%> (ø)

graph/path/disjoint.go
66.66% <73.33%> (+2.38%)
:arrow_up:

mat/cdense.go
61.06% <85.96%> (+23.23%)
:arrow_up:

graph/multi/directed.go
92.06% <100.00%> (+1.58%)
:arrow_up:

graph/multi/undirected.go
91.04% <100.00%> (+2.69%)
:arrow_up:

graph/multi/weighted_directed.go
94.83% <100.00%> (+0.80%)
:arrow_up:

graph/multi/weighted_undirected.go
92.94% <100.00%> (+3.67%)
:arrow_up:

graph/path/spanning_tree.go
91.17% <100.00%> (+0.26%)
:arrow_up:

... and 21 more

Continue to review full report at Codecov.

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

I've removed the Draft tag, this is ready for review. Sorry it took me so long.


Some CMake to find the level of SIMD available.

@richardjgowers

Need to add AVX2 and AVX512 detection

@lilyminium

@richardjgowers this adds detection and control of SIMD width in CMake:
eg cmake .. -DDISTOPIA_USE_AVX sets up AVX with the right flags and sets a compiler define DISTOPIA_USE_AVX to 1.
The Cmake is still a bit messy but I thought it would be good for people to have a play?

@nbgl @richardjgowers good to merge?


fix(cache): stop cache when call seekTo

Codecov Report

Merging #193 into develop will increase coverage by 0.27%.
The diff coverage is 80.00%.

@@             Coverage Diff             @@
##           develop     #193      +/-   ##
===========================================
+ Coverage    69.78%   70.05%   +0.27%
===========================================
  Files          203      203
  Lines        10954    10961       +7
===========================================
+ Hits          7644     7679      +35
+ Misses        3310     3282      -28

Impacted Files
Coverage Δ

mediaPlayer/MediaPlayer.h
100.00% <ø> (ø)

mediaPlayer/MediaPlayer.cpp
71.76% <75.00%> (+0.06%)
:arrow_up:

mediaPlayer/player_notifier.cpp
81.81% <80.00%> (-0.60%)
:arrow_down:

mediaPlayer/SuperMediaPlayer.cpp
76.05% <100.00%> (+0.05%)
:arrow_up:

framework/codec/ActiveDecoder.cpp
87.81% <0.00%> (-0.51%)
:arrow_down:

framework/data_source/curl/CURLConnection.cpp
75.44% <0.00%> (+7.69%)
:arrow_up:

mediaPlayer/SuperMediaPlayerDataSourceListener.cpp
80.95% <0.00%> (+19.04%)
:arrow_up:

Continue to review full report at Codecov.

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


First example in the REAMDE has regexp syntax error

Hi, haven't used this library before so perhaps I'm doing something wrong, but I copied the first example from the README and got htis:
ghci> "https://unrelenting.technology" =~ [re|^http.*|]

<interactive>:13:38: error:
    A section must be enclosed in parentheses thus: (re |^ http .*|)

I dumped some information about my system (package versions, OS X version, etc.) here: https://gist.github.com/MaxGabriel/cb80301f9061243a095b8e2edafa31ec, if that's necessary to debug. Notably I'm using LTS haskell 9.14 (which has pcre-heavy <IP_ADDRESS>)

Hi. That's not a regexp syntax error, that's GHC complaining about the whole [re|…|] thing.
Do you have QuasiQuotes on? The README mentions {-# LANGUAGE QuasiQuotes, FlexibleContexts #-}. In GHCi that would be :set -XQuasiQuotes -XFlexibleContexts.

Oh @myfreeweb mybad, I thought it was in my .ghci but I was mistaken. Sorry about that!


Declaring an enum after a struct can make the struct lose the field type

Module code:
//ftl:enum
type Season string

const (
	Summer Season = "summer"
	Autumn Season = "autumn"
	Winter Season = "winter"
	Spring Season = "spring"
)

//ftl:data
type Info struct {
	Season Season
	Hair   HairColor
}

//ftl:enum
type HairColor string

const (
	Blonde HairColor = "blonde"
	Black  HairColor = "black"
	Brown  HairColor = "brown"
	White  HairColor = "white"
	Other  HairColor = "other"
)

Expected schema:
...
data Info {
  season order.Season
  hair order.HairColor
}

Actual schema:
...
data Info {
  season order.Season
  hair string // <--- !!!
}

(This is in the same area as type aliases)


Feature Request: Support interactive changes with Shared Crosshair option enabled

It would be really great if FlowCharting would support the Shared Crosshair/Shared Tooltip options (from the Graph Tooltip setting in the Panel Options in the dashboard settings) and interactively change the numbers/formatting according to the crosshair position from another panel. This would give the option to easily scroll through history and display the state of the diagram at the selected time.
Here is a simple example dashboard of what I mean: At the top, there two graph panel which shows an ambient temperature and a mean temperature of three different sensors. The bottom diagram is a simple Flowcharting panel, showing the temperature values of the three sensors for the average. At the moment, flowchart only shows a single value according to the selected time. With this feature request, the values would change interactively (as shown in this GIF mockup):

Hi librilex,
Thanks for your feedback,
it's  great idea, not simple, i don't know how, i'll try to reproduce your graph.
i'll keep this feature for next versions
BG
Arnaud

Implemented in V0.9.0


preserve transparency in png export

When exporting a card layout as png, you currently get a white background for transparent parts of the card. It would be nice if there was an option to preserve the transparency.
My use case for this is that I want to create cards for a digital prototype in tabletopia and I would like these cards to have rounded corners.

There are export settings on each layout (right-click and select Configure Layout Settings). One of them lets you export the background as transparent. Let me know if that doesn't work for you.

Yup, that works. My bad, thanks!


PP-4885 Add metadata to TransactionResponse

Added ExternalMetadata to Transaction (entity).
Added test to TransactionDaoITest to confirm return of metadata.
Added test to ChargesApiV2ResourceITest to assert return of metadata.

WHAT YOU DID
This will add metadata to response from GET v2/api/account/{accountid}/charges

Codacy is just complaining about the lack of assert() which isn't appropriate. Maybe we should turn that rule off @alexbishop1 ?

You’re right, we don’t want that particular Codacy check.
It’s my intention to get Codacy configured appropriately using config files checked in to each repo but this involves starting from scratch. For now, I’ve just disabled directly in Codacy.


Unexpected token when using group use declarations

When group use statements are used PHPMD returns error:
/var/www/html/src/WebPlugin/Api/Jwt/TokenFactory.php    -   Unexpected token: {, line: 5, col: 18, file: /var/www/html/src/WebPlugin/Api/Jwt/TokenFactory.php

Example code:
<?php

namespace WebPlugin\Api\Jwt;

use Lcobucci\JWT\{
    Builder,
    Token,
    Parser,
    Signer\Hmac\Sha256
};
use Illuminate\Http\Request;

PHPMD version 2.3.2

I assume the problem lies in pdepend

This is a duplicate of https://github.com/phpmd/phpmd/issues/279

@JeroenDeDauw it's related but not a full duplicate, that's why I keep it open. Thanks for noting.

Apparently I misread this issue. Indeed not a duplicate at all

One year later, this is still an issue in PHPMD. Are there any related pdepend issue for this?

@torkiljohnsen haven't found any. Pleas open one and link it with this issue. Thanks.

🎉  👍

Just tested here. I am afraid this is only a partial fix.
We no longer have issues with files using a single group use declaration. However, with more than one group there comes the Unexpected token again.
Unfortunately, I don't have the time to dig deeper right now.

@PierreLvx could you please provide example code that fails?

We narrowed it down to one package (https://github.com/stripe/stripe-php), which we use with Laravel 5.
If we do :
use Stripe\{
    Stripe,
    Coupon,
    Customer,
    Subscription
};

The tests fail.
Actually, any of the following use statement will fail :
use SomeNamespace\{
   Foo,
   Bar
};

However, something like this will pass :
use SomeOtherNameSpace\Names\{
   Bob,
   Alice
};

@PierreLvx thx for this reproducible, I will investigate asap.


Could you guys implement sso with key cloak

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hi @SinghRajKr, KeyCloak looks like implementation for some specific use-case. We have no plan to support some specific mechanism in the near future. Closing this issue. Please feel free to create a new issue if you have any query/doubt.

Hi @SinghRajKr, KeyCloak looks like implementation for some specific use-case. We have no plan to support some specific mechanism in the near future. Closing this issue. Please feel free to create a new issue if you have any query/doubt.


pytz must be needed?

When I inspect the paypal_ipn table via admin.
pytz module not found error happned.
I think requirement must be add the module.
pip install pytz

django-paypal has no direct dependency on pytz
I suspect you need to read this: https://docs.djangoproject.com/en/1.7/topics/i18n/timezones/


Basic Lovelace card options do nothing

Release: 0.73.0
OS: Ubuntu 18.04
Lovelace UI
Basic card options column_width, show_name, show_state, and tap_action do absolutely nothing. Adding or removing them has no effect on what is displayed in the Lovelace UI or how it behaves when tapped. Below are two examples of my cards that are nearly identical to examples from other users who appear to have no issues.
      - type: glance
        show_state: false
        column_with: 50%
        entities:
          - entity: light.kevins_lamp
            name: Kevin
            tap_action: toggle
          - entity: light.ashleys_lamp
            name: Ashley
            tap_action: toggle

      - type: entity-filter
        entities:
          - device_tracker.kevin
          - device_tracker.ashley
        state_filter:
          - 'home'
        card:
          type: glance
          show_state: false
          show_name: false

probably because the option that you named only after the 0.73.0 version have been developed and added to home assistant.
See: https://www.home-assistant.io/lovelace/changelog/

Well that's embarrassing. Can't believe I didn't notice that my Home Assistant wasn't upgrading each week. Turns out the version of pip I had installed wouldn't upgrade pyYAML and thus was stopping the HASS upgrade. Thank you @klaasnicolaas and sorry for wasting your time!


[Smart Wallet] Do not deploy to sign typed data, allow presigned deploy+session key

Problem solved
Related https://github.com/thirdweb-dev/unity-sdk/pull/154
Changes made

[ ] Public API changes: list the public API changes made if any
[ ] Internal API changes: explain the internal logic changes

How to test

[ ] Automated tests: link to unit test file
[ ] Manual tests: step by step instructions on how to test

Contributor NFT
Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.
Address:

PR-Codex overview
This PR updates the UnitySDK_WebGL version, adds a workaround for network switching, and refactors Smart Wallet permissions handling.
Detailed summary

Updated UnitySDK_WebGL version to 4.7.2
Added workaround for network switching in ThirdwebBridge
Refactored Smart Wallet permissions handling in SmartWalletConnector
Improved error handling and permission management in AccountPermissions

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

/release-pr

/release-pr


'Share' post is not working for telegram

Issue: 'Share' post is not working for telegram. Post details/link is not shared for telegram.
Steps:
Have telegram installed on your dektop.
1.Click on share button for a feature and choose telegram .
2. It goes to message 'Open Telegram...' message opening telegram
3. Then it stays on 'Choose recipient'
Issue: Post details/link is not shared for telegram.

It seems to work for me, did you choose a recipient in your contact list on the left?
I've also double check our implementation and also the implementation on the module we're using (react-share) and it seems to be correct.

@jyclam , I was able to make it work. Thanks John! for the suggestion to choose recipient.
I had only one user and I was hoping to see the shared link to be pasted on the chat window.


Enable Integration_tests.ps1 template to allow credentials to be used in Integration_config_tests.ps1

Currently the integration tests template (Integration_tests.ps1) will not support credentials to be used in the integration test config file (integration_config_tests.ps1) because they would need to be encrypted (or allowed to be stored unencrypted).
Although most integration tests do not require the use of credentials (specifically the PSDSCRunAsCredential parameter) there are some that do (e.g. resources that will need to connect to an AD domain). This of course isn't applicable to any Integration tests that should be run in AppVeyor, however I do create many integration tests that can be run manually on a local users machine or non-cloud CI that do require credentials to be configured.
To support this I would propose that the Integration test template be changed so that a -ConfigurationData parameter is always passed to the Integration_test_config.ps1 when it is compiled.
E.g. Change
https://github.com/PowerShell/DscResources/blob/master/Tests.Template/integration_template.ps1#L51
Should be changed to:
                $ConfigData = @{
                    AllNodes = @(
                        @{
                            NodeName = 'localhost'
                            PSDscAllowPlainTextPassword = $true
                        }
                    )
                }
                Invoke-Expression -Command "$($Global:DSCResourceName)_Config -OutputPath `$TestEnvironment.WorkingFolder -ConfigurationData `$ConfigData"

The above code would allow unencrypted credentials to be used.
It would probably be possible to automatically create a self-signed certificate on the test machine of course and use that to encrypt the credentials as well - is it worth looking at automating credential encryption in the integration tests instead?
Does anyone have any thoughts on doing this?
Thanks!

Further to this:
To enable self-signed certificates to be used for credential encryption in Integration tests the following process would have to happen in the Integration scripts:

This script would need to be downloaded and unzipped to a temporary location.
The script would be used to create a new self-signed certificate.
The certificate thumbprint would be loaded into the $configData object (as above).
The integration tests would be performed.
The certificate that was created in step 2 should be deleted.

Note: the built in New-SelfSignedCertificate cmdlet can't be used to generate DSC compatible certificates in Windows Server 2012 R2. It has been improved in Windows Server 2016 TP which may allow using this cmdlet for DSC certs, but that isn't much good unless these changes are back ported to Windows Server 2012 R2.
If the above process were to be implemented, my recommendation would be to place steps 1, 2 and 3 into the DSCResource.Tests\TestHelper.psm1 function Initialize-TestEnvironment. Step 5 would be added to function Restore-TestEnvironment in DSCResource.Tests\TestHelper.psm1.
I won't go any further forward with this idea until I get feed back from some of you guys - @tysonjhayes, @TravisEz13 and @KarolKaczmarek. But as I said, I have several DSC resources that do require this and I'd rather come up with a standardized solution.
This relates to Issue #87 as well as I think the integration tests should implement this in the "Best Practice" way.

One further extension to this issue:
To minimize the risk of real credentials being commited back to GitHub repos I'd suggest that the integration_template_config.ps1 be altered to always attempt to read any site specific parameters from an external config file (e.g. JSON format?).
For example add this to integration_template_config.ps1:
# If there is a .config.json file for these tests, read the test parameters from it.
$ConfigFile = [System.IO.Path]::ChangeExtension($MyInvocation.MyCommand.Path,'json')
if (Test-Path -Path $ConfigFile)
{
     $TestConfig = Get-Content -Path $ConfigFile | ConvertFrom-Json
}
else
{
    # Example config parameters.
    $TestConfig = @{
        Username = 'CONTOSO.COM\Administrator'
        Password = 'MyP@ssw0rd!1'
        Members = @('Server1','Server1')
        Folders = @('TestFolder1','TestFolder2')
    }
}

I also modified the integration.tests.ps1 script to not run the integration tests if this config file was not available.
*.config.json is in the .gitignore for this repo so that it can't be commited back to the repo as it contains site specific credentials and other test settings.
I have implemented this already in one of my DSC resources integration tests so that I can test it locally without requiring me to change anything in the code and minimizing the risk I might accidentally push credentials into GitHub.
Sorry about the length of this issue.

I am all for this enhancement to the integration test template. The integration tests need to have PSDscAllowPlainTextPassword to work around this. Was your thought that the self-signed certificate is created by the test framework, so each integration test doesn't need to have code to create it?

PR https://github.com/PowerShell/DscResource.Tests/pull/241 resolves using a self-signed certificate to compile configurations, so I think it's just one remaining task and that is to update the integration tests template according to https://github.com/PowerShell/DscResources/issues/89#issuecomment-177678218.


Revert "MH-13243, Asset Manager ACL Cache Updates"

This reverts commit 271df274c22423e73dd43f89f6ee3206b61230d6 because is causes massive performance problems in systems that have large number of objects in the tables oc_assets_asset and oc_assets_properties.
The problem addressed by MH-13243 should be fixed at some point of time, but as we don't have this on our radar in the near future (and it does not seem like anybody else does), it's probably best to revert it for now.
@wsmirnow & @ts23 (5.x) and @mtneug & @lkiesow (6.x): This is a highly critical release blocker that essentially totally breaks Opencast if the tables mentioned above are large enough.

The problem addressed by MH-13243 should be fixed at some point of time, but as we don't have this on our radar in the near future (and it does not seem like anybody else does), it's probably best to revert it for now.

Not true. Here is a patch which fixes the problem properly;

https://github.com/lkiesow/opencast/commit/88f04a18c396e2436c843912203a9dcb28489eb3

This has already been tested on UCT's production cluster and seems to solve the performance issue. I'll bring out a proper pull request for this plus a few more performance patches in the next days.
I'm closing this since the problem gets a proper fix and this would introduce a security issue.


An Inquiry only

Hi Hello,
Thanks very much for all the example are really helpful
I don't know Java but looking into the code I could pick up a few things, the one thing I'm interested in that I couldn't figure out is what colours values are you using? RGB?  what is the logic that you use to sort them?
Would you be so kind as to explain to me the process as I been looking to do colour sorting for a week but all the Algorithms that I tested from StackOverflow it didn't work for me?
I'm referring exactly to the example >>>>QuickSortPanel.java
I would love to do the same but in JS if I could understand the logic behind it
Thank you very much

Hello!
Please search source code for setColor to see what colors I'm using, for exaple here. I am using 9 sorting algorithms as described in readme. Just google it if you want to know how exactly they work. There are tons of articles about each of them, which can explain far more better than I.

Hello!
Please search source code for setColor to see what colors I'm using, for exaple here. I am using 9 sorting algorithms as described in readme. Just google it if you want to know how exactly they work. There are tons of articles about each of them, which can explain far more better than I.

Hi vbohush
Thank Very much you for your replay
I looked at that code but I'm still having trouble to understand Wich value do you use to sort the colours? not to create the colours
I have been looking on Google how it works the "QuickSortPanel" Algorithms and I have already an idea of how it works but the only thing that I'm missing its wich values do you use for sorting the Colors specifically, are you using the Colors RGB? or something else?
Can you explain a bit more just the part of how the colours get organized where do you get the values what is the logic to sort them out?
Example:
If I want to sort numbers instead of colours (9, 8, 6, 3, 2, 1, 7, 4)
that Logycly it will be sorted by index number from low to high
(1,2,3,4,6,7,8,9)
But the colours how they get sorted do you assign any numbers to them? or how?
Can you please just help me on that, as its the only thing that confuses me
Thank you very much for your time

Hello!
Please search source code for setColor to see what colors I'm using, for exaple here. I am using 9 sorting algorithms as described in readme. Just google it if you want to know how exactly they work. There are tons of articles about each of them, which can explain far more better than I.

Hi vbohush
Thank Very much you for your replay
I looked at that code but I'm still having trouble to understand Wich value do you use to sort the colours? not to create the colours
I have been looking on Google how it works the "QuickSortPanel" Algorithms and I have already an idea of how it works but the only thing that I'm missing its wich values do you use for sorting the Colors specifically, are you using the Colors RGB? or something else?
Can you explain a bit more just the part of how the colours get organized where do you get the values what is the logic to sort them out?
Example:
If I want to sort numbers instead of colours (9, 8, 6, 3, 2, 1, 7, 4)
that Logycly it will be sorted by index number from low to high
(1,2,3,4,6,7,8,9)
But the colours how they get sorted do you assign any numbers to them? or how?
Can you please just help me on that, as its the only thing that confuses me
Thank you very much for your time

To be clear more clear I know the explanation of how the algorithm works as you can see on this tutorial quicksort Tutorial
but I still don't how this can be done with colours?
With just normal Numbers is easy but with colours which values you are assigning to them so you can use it to sort them out?

No worries I found already the solution with the help of someone.
The Answer I was looking for is:
-For the Values, you are Using "HSB"
-And you are Targetting just the "H"
So you are sorting out from the lowest "H" to the Highest "H"
Thank you

Yes, you're right, I am using HSB and sort only by H, from lowest to highest.


Example command for "Running Rally with Docker" needs to be updated

Rally version (get with esrally --version):
$  docker run elastic/rally --version
esrally 2.1.0

Invoked command:
Just trying to run example from https://esrally.readthedocs.io/en/latest/docker.html
Configuration file (located in ~/.rally/rally.ini)):
n/a (default from image)
JVM version:
n/a (default from image)
OS version:
n/a but Docker for Mac
Description of the problem including expected versus actual behavior:
The example command given in docs should continue to work with latest version of the image.
Steps to reproduce:
1.
$  docker run elastic/rally  --track=nyc_taxis --test-mode --pipeline=benchmark-only --target-hosts=<IP_ADDRESS>:9200
usage: esrally [-h] [--version]
               {race,list,info,create-track,generate,compare,download,install,start,stop}
               ...
esrally: error: unrecognized arguments: --track=nyc_taxis --test-mode --pipeline=benchmark-only --target-hosts=<IP_ADDRESS>:9200

It does work if I specify image tag :1.2.1.

Thanks for your report. Indeed, Rally 2.1.0 requires now a subcommand and in the Docker examples we did not add the race subcommand in these examples.


[forge-label-value] Single line attribute does not change the component.

*Describe the bug:
There's a regression with the forge-label-value's single line attribute. There is no visible change to the label value when this attribute is added or bound. Confirmed that it does not work on the forge storybook instance as well.
Expected behavior:
For it to become one line  when applied.
Please complete the following information:

Forge version: [v2.21.1]
I have searched existing issues before creating this report? [Y]
Browser: [only tested on Chrome, but presumably this applies to all.]
Platform: [All]
OS: [All]

This should be fixed in 3.0. Feel free to reopen is you find otherwise.


Will support SIMD for ethminer?

Hello. I tried to optimize with SIMD SiaMiner, but this miner been relatively simple. Will support SIMD (prefer AVX2, with 4 way) with this miner?

CPU mining is no longer supported in this fork. I believe the stock miner does have some SIMD support yes.


[Assembly v1] Phone

This PR merge into #481 and updates the Phone component to Assembly v1.

[x] Run codemod and look out for additional changes
[x] Check docs-prose.css for any component-specific classes that should be updated or removed, including changes to the color scale.
[x] Visually check test cases app for component

Note: the test cases app uses the Video component, which hasn't been updated yet (you may see a mis-aligned video play button).

Current
Proposed

How to test

QA checklist

[x] No errors logged to console.
[x] Accessibility score in Chrome DevTools Audit/Lighthouse is 100% with Lighthouse version: #.#.#.
[x] Component is accessible at mobile-size viewport.
[x] Component is accessible at tablet-size viewport.
[x] Component is accessible at laptop-size viewport.
[x] Component is accessible at big-monitor-size viewport.

Open the test cases app locally on:

[x] Chrome, no errors logged to console.
[x] Firefox, no errors logged to console.
[x] Safari, no errors logged to console.
[x] Edge, no errors logged to console.
[x] Mobile Safari, no errors logged to console.
[x] Android Chrome, no errors logged to console.

Before merge

[ ] Add entry to CHANGELOG.md to describe changes.
[ ] If updating dependencies or creating a release, run npx browserslist@latest --update-db to update the browser data and commit any changes to package-lock.json.

@katydecorah still trying to figure out the root cause, but I am seeing that the videos are not aligning with the phone frames:

They align as expected when viewing the test cases on assembly-v1-update:

@malwoodsantoro I had trouble with the test cases app caching Assembly (and drove me a little batty). Have you tried a hard refresh (shift + refresh)?

@katydecorah thanks for the tip - I just did a lot of hard refreshing and I think we are back in action!

I'll continue reviewing this PR today 👍


Programs now crashing PC.   Do not run this i repeat DO NOT RUN THIS

https://github.com/Sycnex/Windows10Debloater/issues/563#issuecomment-1629222601


App stays on native Splash-Screen with looping "iokit-get-properties" Errors for minutes before launching

Problem in short
Launching my Flutter App from within Android Studio causes the app to loop errors on a physical iPhone 8 for about 2-5 minutes (check device logs in details section).
After this it loads the first Flutter view and the app works fine.
Steps to Reproduce
This behavior occurs with a developed app on a physical iPhone 8 with latest iOS 13.6.1, with XCode 11.6 on my Mac (more versions in details section)
Due to an NDA I cannot share details about that app here, but I tried to reproduce the errors I saw on the "console.app" of the iPhone.
I cannot reproduce it every time, but it occurs every day by just doing:

Launch Android Studio
Launch the Flutter App

Expected results:
App shows Splash Screen and after some seconds the first Flutter-view is drawn on the screen.
Actual results:
App shows Splash Screen for about 4 minutes and then loads the first Flutter-view
My current Workaround:
After creating a new Flutter Project with Android Studio Wizard, launching it and then launch the first app which hung, sometimes the plain Flutter Demo app hangs, sometimes everything loads smoothly (which happens more often).
Also, if I try to get some verbose output or use the command-line to run the app, it works fine. Thus, it seems to be occur only with Androids Run Button. However, the launch configuration is as normal as it can be.
The only real things I was able to capture are the iPhone device logs...
I googled the log-output and found https://github.com/flutter/flutter/issues/60406.

Device Logs
"fehler" means error.
Those log statements loop for minutes, until the first Flutter-view is loaded.

fehler	10:41:16.539129+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties CFBundleIdentifier
fehler	10:41:16.539299+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOMatchCategory
fehler	10:41:16.539378+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOProviderClass
fehler	10:41:16.539448+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IONameMatch
fehler	10:41:16.539516+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOSourceVersion
fehler	10:41:16.539608+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties CFBundleIdentifierKernel
fehler	10:41:16.539803+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IONameMatched
fehler	10:41:16.539940+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOProbeScore
fehler	10:41:16.540318+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOReportLegend
fehler	10:41:16.540525+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOReportLegendPublic
fehler	10:41:16.540637+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOPowerManagement
fehler	10:41:16.540834+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties SCMVersionNumber
fehler	10:41:16.540941+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties SCMBuildTime
fehler	10:41:16.541033+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties AGXTraceCodeVersion
fehler	10:41:16.541141+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties GPURawCounterBundleName
fehler	10:41:16.541228+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties GPURawCounterPluginClassName
standard	10:41:16.559607+0200	wifid	Too frequent(4.999997 secs) CCA event from driver
fehler	10:41:16.754395+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties CFBundleIdentifier
fehler	10:41:16.754609+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOMatchCategory
fehler	10:41:16.754899+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOProviderClass
fehler	10:41:16.755142+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IONameMatch
fehler	10:41:16.755284+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOSourceVersion
fehler	10:41:16.755482+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties CFBundleIdentifierKernel
fehler	10:41:16.755655+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IONameMatched
fehler	10:41:16.755745+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOProbeScore
fehler	10:41:16.755944+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOReportLegend
fehler	10:41:16.756108+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOReportLegendPublic
fehler	10:41:16.756230+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOPowerManagement
fehler	10:41:16.756397+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties SCMVersionNumber
fehler	10:41:16.756493+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties SCMBuildTime
fehler	10:41:16.756580+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties AGXTraceCodeVersion
fehler	10:41:16.756688+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties GPURawCounterBundleName
fehler	10:41:16.756803+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties GPURawCounterPluginClassName
fehler	10:41:16.970418+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties CFBundleIdentifier
fehler	10:41:16.970628+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOMatchCategory
fehler	10:41:16.970877+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOProviderClass
fehler	10:41:16.971028+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IONameMatch
fehler	10:41:16.971157+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOSourceVersion
fehler	10:41:16.971266+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties CFBundleIdentifierKernel
fehler	10:41:16.971406+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IONameMatched
fehler	10:41:16.971514+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOProbeScore
fehler	10:41:16.971981+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOReportLegend
fehler	10:41:16.972217+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOReportLegendPublic
fehler	10:41:16.972445+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOPowerManagement
fehler	10:41:16.972543+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties SCMVersionNumber
fehler	10:41:16.972615+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties SCMBuildTime
fehler	10:41:16.972687+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties AGXTraceCodeVersion
fehler	10:41:16.972862+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties GPURawCounterBundleName
fehler	10:41:16.972954+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties GPURawCounterPluginClassName
standard	10:41:17.122112+0200	locationd	os_transaction created: ()
standard	10:41:17.122272+0200	locationd	os_transaction released: ()
fehler	10:41:17.186387+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties CFBundleIdentifier
fehler	10:41:17.186542+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOMatchCategory
fehler	10:41:17.186640+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOProviderClass
fehler	10:41:17.186775+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IONameMatch
fehler	10:41:17.186913+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOSourceVersion
fehler	10:41:17.187047+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties CFBundleIdentifierKernel
fehler	10:41:17.187145+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IONameMatched
fehler	10:41:17.187220+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOProbeScore
fehler	10:41:17.187921+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOReportLegend
fehler	10:41:17.188088+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOReportLegendPublic
fehler	10:41:17.188234+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOPowerManagement
fehler	10:41:17.188344+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties SCMVersionNumber
fehler	10:41:17.188435+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties SCMBuildTime
fehler	10:41:17.188504+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties AGXTraceCodeVersion
fehler	10:41:17.188585+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties GPURawCounterBundleName
fehler	10:41:17.188652+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties GPURawCounterPluginClassName
fehler	10:41:17.401786+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties CFBundleIdentifier
fehler	10:41:17.401942+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOMatchCategory
fehler	10:41:17.402017+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOProviderClass
fehler	10:41:17.402133+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IONameMatch
fehler	10:41:17.402359+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOSourceVersion
fehler	10:41:17.402482+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties CFBundleIdentifierKernel
fehler	10:41:17.402607+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IONameMatched
fehler	10:41:17.402729+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOProbeScore
fehler	10:41:17.402959+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOReportLegend
fehler	10:41:17.403053+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOReportLegendPublic
fehler	10:41:17.403177+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties IOPowerManagement
fehler	10:41:17.403275+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties SCMVersionNumber
fehler	10:41:17.403404+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties SCMBuildTime
fehler	10:41:17.403613+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties AGXTraceCodeVersion
fehler	10:41:17.403815+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties GPURawCounterBundleName
fehler	10:41:17.403903+0200	kernel	Sandbox: Runner(634) deny(1) iokit-get-properties GPURawCounterPluginClassName

Flutter analyze
No issues found! (ran in 7.5s)

Flutter doctor
[✓] Flutter (Channel stable, 1.20.2, on Mac OS X 10.15.5 19F101, locale de-DE)
    • Flutter version 1.20.2 at
<EMAIL_ADDRESS>    • Framework revision bbfbf1770c (12 days ago), 2020-08-13 08:33:09 -0700
    • Engine revision 9d5b21729f
    • Dart version 2.9.1

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at<EMAIL_ADDRESS>    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.48.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.13.2

[✓] Connected device (1 available)
    • iPhone von X (mobile) • ... • ios • iOS 13.6.1

• No issues found!

Hi @maxp89
Not sure what do you mean by "splash screen", Did you add splash your screen or are you getting a white screen?
Can you please different drive or simulator? Does this reproduce on devices or just iPhone 8?
If the problem persists,  Can you upgrade to latest master and try again
flutter channel master
flutter upgrade --force
flutter doctor -v
Thank you

Hi @TahaTesser we added a custom native splash screen to our app, showcasing a logo on a colored background. This was done with XCode/Storyboard, I think.
The Flutter Demo app gets stuck sometimes as well. This results in a white screen for minutes before it shows the counter-app.

@maxp89
Thanks for providing info
If the problem persists on the latest master, Can you please provide your flutter doctor -v with the latest master and flutter run --verbose logs, and a minimal complete reproducible code sample?
Thank you

Could it be related to #63025 ?

@fnicastri thank you for your idea.
I just looked at that ticket, it doesn't seem to be the same warning/error.
The #63025 did not mention any "stopping" or "hanging" of the flutter app.
The log output in this ticket comes from the Apple Console application and the physical device.
Android Studio is not that verbose and doesn't output anything useful to trace that bug :(
I have a feeling that it could be something with my Mac... other colleagues developing the same app do not seem to have the same problem, however they have other minor issues.
It might take a few days for me to reproduce the problem... and follow @TahaTesser suggestions.

@maxp89
It's not just you, I have the same issue.
And I have #63025 too.
It was just an idea...

I'm experiencing this too. Very flaky to get a physical iOS device to run lately.

First of all thank you for your efforts.
This bug did not happen again to me with the latest flutter versions.
Thus, can stay closed.