For domain adaptation

I am using UniMatch for domain adaptation according to your above suggestions as mentioned in #55 . But I am facing problems and errors.

As you said we should cutmix labeled data (source domain) on unlabeled dataset (target domain) but I didnt understand it should be done before training or during training. In the UniMatch, from the unlabeled data cutmix box is obtained here.

https://github.com/LiheYoung/UniMatch/blob/583e32492b0ac150e0946b65864d2dcc642220b8/dataset/semi.py#L49

Then during the training the unlabeled is cutmixed here. Will you guide how to obtain cutmix from label data and cutmixed with unlabeled data as in semisupervised learning label and unlabeled data is processed and trained separately. Will it be done before or during the training. Also cutmixed of unlabeled data on the unlabeled data as UniMatch can affect the model performance for domain adaptation.

https://github.com/LiheYoung/UniMatch/blob/583e32492b0ac150e0946b65864d2dcc642220b8/unimatch.py#L142

In domain adaptation, CutMix between labeled and unlabeled images is done before training, the same as semi-supervised learning. The only difference is that you should replace the img_u_w_mix with img_x (the label is directly from GT label).

Sorry to bother you again but it is confusing as img_u_s_mix is corresponded to the unlabeled dataloader as here:
https://github.com/LiheYoung/UniMatch/blob/583e32492b0ac150e0946b65864d2dcc642220b8/unimatch.py#L123C1-L133C53
The model predict on the weakly augmented unlabeled image. Then how img_x will work here for domain adaptation?
https://github.com/LiheYoung/UniMatch/blob/583e32492b0ac150e0946b65864d2dcc642220b8/unimatch.py#L135C3-L135C3

You can check this paper first: https://github.com/vikolss/DACS, for the methodology of mixing labeled and unlabeled images.
Briefly, we previously mix img_u_w and img_u_w_mix, right? Now you need to mix img_u_w and img_x instead. The img_u_w_mix is no longer required. As for the pseudo label of mixed img_u_w and img_x, its unlabeled region is predicted by our model, and the labeled region directly borrows GT label from mask_x.

Thank you for your quick and brief explanation. Now I got some idea for domain adaptation. I will ask further if I need some details but I hope it helps.

Closed for inactivity.

You can check this paper first: https://github.com/vikolss/DACS, for the methodology of mixing labeled and unlabeled images.
Briefly, we previously mix img_u_s and img_u_s_mix, right? Now you need to mix img_u_s and img_x instead. The img_u_s_mix and img_u_w_mix are no longer required. As for the pseudo label of mixed img_u_s and img_x, its unlabeled region is predicted on img_u_w by our model, and the labeled region directly borrows GT label from mask_x.

Hi, I have make changes for the domain adaptation but it still have some errors and the model stop training after some epochs. I am showing you the details of changes which I have done for domain adaptation.

I have remove img_u_w_mix from data loader as it was no longer required.

I have cutmix the img_x which is the source domain with the target domain img_u_s1 and img_u_s2. I also remove the prediction on img_u_w_mix.

As you have mentioning that the pseudolabel of mix image of img_x and img_s is predicted on img_u_w and its label region is directly from GT label then I make changes accordingly.

Please have a look to these changes and suggest any further changes or point out any mistakes which I have done for domain adaptation. Thanks


Import introducing unexpected branches (obj && obj.__esModule) 😭

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Do you want to request a feature or report a bug?
Bug
What is the current behavior?
As demonstrated by this REPL I am getting coverage failure for 4 branches. The branches it’s referring to are simply part of the import.
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

What is the expected behavior?
Branches in the import statements should be ignored.
See https://github.com/gotwarlost/istanbul/issues/397

We don't have any control over this because it is handled by istanbul and it seems like an issue exists on that tracker already.

Aww snap


Cleave.js does not applied on dynamically created input field

Since there is multiple input fields for cleave.js to be applied, I used following code
$('.address-zip').toArray().forEach(function (field) {     new Cleave(field, {       numeral: true,       delimiter: '',       blocks: [2, 3]     })   })
Im dynamically creating a new form and trying to use cleave.js on those input fields but its not working.
const addressZip = document.createElement('input')       addressZip.name = 'zip'       addressZip.required = true       addressZip.autocomplete = 'on'       addressZip.classList.add('address-zip')       addressZip.style = 'width:150px;'

I'm actually using this function to bind the Cleavejs behavior to dynamically created inputs and it works like a charm:
function maskNumericFields() {
  document.querySelectorAll('.masked').forEach(element => {
    element.classList.add('text-right');
    new Cleave(element, {
      numeral: true,
      numeralPositiveOnly: true,
      numeralDecimalMark: '.',
      delimiter: ',',
      numeralDecimalScale: 2
    });
  });
}

Right after I create and insert the new input into the dom I just run this function and the behavior applies to each an every .masked input no matters when it was created, on page load or after using a button to create the input on the fly.
maskNumericFields();

Hope it helps somebody else!


Error 401 when using with matrix-docker-ansible-deploy

I've deployed this bridge using matrix-docker-ansible-deploy, which has a config variable that takes care of everything (builds the docker image, sets up roles, db tables, starts the container). The bot is online and I can start a chat/room with it, however it responds to no command. Checking journalctl -fu matrix-mx-puppet-steam.service the only log I have is:
Sep 09 09:17:47 matrix matrix-mx-puppet-steam[273606]: <IP_ADDRESS> - - [09/Sep/2023:09:17:47 +0000] "PUT /_matrix/app/v1/transactions/13779 HTTP/1.1" 401 57 "-" "Synapse/1.91.2"
The container seems to be healthy:
78244275fbe1   localhost/icewind1991/mx-puppet-steam:latest   "/opt/mx-puppet-stea…"   24 hours ago   Up 24 hours   matrix-mx-puppet-steam

Is there any extra troubleshooting I can do to check what's wrong?
I've also created an issue on the playbook's repo in case it's a problem with the integration itself.

I\m observing the same behaviour.
Interestingly, when I restart the bridge service, the bot tells me that my account is connected:

But sending any commands or messages to already established rooms does not help.
I had a similar problem with a signal bridge, where the workaround issue from https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2729 would help.
With a certain synapse ugrade in docker-ansible-deploy, the bot users gt deactivated. Reactivating it with the above workaround did not solve the problem however.

Unfortunately that workaround didn't change anything. Maybe there are some issues during roles creation in the playbook?

I believe that mx-puppet-bridge (which this uses) isn't compatible with newer synapse versions (they removed a deprecated api endpoint in 1.90) which stop messages from matrix from reaching the bridge.
This would need to be fixed upstream

I managed to work around the issue for now by patching the matrix sdk so the bridge works now with 1.90+.
Upstream is still unmaintained so who knows when other stuff will break

I still had this problem even after updating, so if you find this issue from search engines, setting this parameter helped: https://matrix-org.github.io/synapse/latest/upgrade.html#app-service-query-parameter-authorization-is-now-a-configuration-option
And the real solution is rewriting mx-puppet-bridge to the new spec.

i didnt get it to work, and even docker build dont work should it ?

i didnt get it to work, and even docker build dont work should it ?

What are the errors? It still works fine for me (docker image icewind1991/mx-puppet-steam) and docker build locally works as well (tested it just now)

Looks like icewind1991/mx-puppet-steam on DockerHub is older then the above patch.

@icewind1991 Any chance you can push an updated image to docker hub with the patch you mentioned applied?

I ended up setting the ansible playbook to build the docker image from source and it seems fine now.


Icons no longer working on chrome/RHEL 6.5

Hello,
All of the materialize icons are not working just for linux based systems.

I believe you just haven't included the web font hosted by Google

I apologise, it seems to be where I am running two VPN's google must be blocking my connection to the fonts from where ever I am exiting.


i am using latest 5.6.2

i have migrating old corodova plugin to this capacitor plugin.
I am importing api records in to my  phone db (sql lite) . The plugin wors perfectly in web edition.
But not working in real device as well as emulator
my code

async importAccounts(accounts: IAccountResponse[]) {

  let statements: any=[];
  let lists=[];

const query1= 'DELETE FROM accounts';
  const query2 = 'INSERT INTO accounts (ain,cin,.......,closingBalanceDate,lastTransactionDate) VALUES (?, ?, ?, ? ,? , ?, ?, ?, ? , ?, ?, ?, ? ,? ,?, ?, ? ,? ,?,?,?,?,?)';
  const query3 = 'DELETE from logs WHERE id = ?';

  statements.push({statement: query1, values: []});

  for(let i=0;i<accounts.length;i++){
      lists.push([accounts[i].ain,accounts[i].cin,,,,,,,,,,,accounts[i].closingBalanceDate,accounts[i].lastTransactionDate]);
  }

  statements.push({statement: query2, values: lists});
  statements.push({statement: query3, values: [1]}); //1- Download

await this.db.executeSet(statements,true);

   await this.loadAccounts();
   await this.loadLogs();

The obove code works perfecly in browser
But i am getting below error

2024-03-11 16:49:23.973  6374-6374  Capacitor/Plugin        io.ionic.starter                     V  To native (Capacitor plugin): callbackId: 68811029, pluginId: CapacitorSQLite, methodName: query
2024-03-11 16:49:23.973  6374-6374  Capacitor               io.ionic.starter                     V  callback: 68811029, pluginId: CapacitorSQLite, methodName: query, methodData: {"database":"corepigmy","statement":"SELECT id,lastUpdatedDate FROM logs;","values":[],"readonly":false,"isSQL92":true}
2024-03-11 16:49:24.066  6374-6374  Capacitor/Console       io.ionic.starter                     I  File: https://localhost/main.65ba506cbb0b69b3.js - Line 1 - Msg: >>> Log: [{"id":1,"lastUpdatedDate":"2024-03-11T11:19:23.636Z"}]
2024-03-11 16:49:24.582  6374-6403  JavaBinder              io.ionic.starter                     E  !!! FAILED BINDER TRANSACTION !!!  (parcel size = 532)
2024-03-11 16:49:24.583  6374-6403  GmsClient               io.ionic.starter                     W  IGmsServiceBroker.getService failed
android.os.DeadObjectException: Transaction failed on small parcel; remote process probably died, but this could also be caused by running out of binder buffe
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(BinderProxy.java:584)
at FH.b(chromium-TrichromeWebViewGoogle6432.apk-stable-506007137:288)
at com.google.android.gms.common.internal.BaseGmsClient.p(chromium-TrichromeWebViewGoogle6432.apk-stable-506007137:53)
at lE.run(chromium-TrichromeWebViewGoogle6432.apk-stable-506007137:1852)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at Wv0.dispatchMessage(chromium-TrichromeWebViewGoogle6432.apk-stable-506007137:223)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.os.HandlerThread.run(HandlerThread.java:67)
2024-03-11 16:49:24.684  6374-6394  EGL_emulation           io.ionic.starter                     D  app_time_stats: avg=11.25ms min=6.94ms max=41.40ms count=36
2024-03-11 16:49:25.704  6374-6394  EGL_emulation           io.ionic.starter                     D  app_time_stats: avg=10.37ms min=7.67ms max=22.45ms count=36
2024-03-11 16:49:26.436  6374-6374  Capacitor/Plugin        io.ionic.starter                     V  To native (Capacitor plugin): callbackId: 68811030, pluginId: CapacitorSQLite, methodName: executeSet
2024-03-11 16:49:26.440  6374-6374  Capacitor               io.ionic.starter                     V  callback: 68811030, pluginId: CapacitorSQLite, methodName: executeSet, methodData: {"database":"corepigmy","set":[{"statement":"DELETE FROM accounts;","values":[]},{"statement":"INSERT INTO accounts (ain,cin,openingDate,balance,customerName,schemeCode,categoryCode,phoneNo,email,bankName,bankCode,branchName,branchCode,bankRecieptName,branchRecieptName,lin,loanAmount,accountName,isLoan,nain,groupNo,closingBalanceDate,lastTransactionDate) VALUES (?, ?, ?, ? ,? , ?, ?, ?, ? , ?, ?, ?, ? ,? ,?, ?, ? ,? ,?,?,?,?,?);","values":[["000000000000338","01401000338","2023-04-05T18:30:00Z",28030,"SAYAD SAHIL","12","","eeeee",null,"Manipal","Demo","Demo Society",null,"Samaja Seva S S","Demo",null,0,null,0,null,null,"2024-02-26T18:30:00Z","2024-02-25T18:30:00Z"],["000000000000340","01401000340","2023-04-05T18:30:00Z",3900,"RANJITH R MOOLYA","12","","9036986909",null,"Manipal","Demo","Demo Society",null,"Samaja Seva S

After checking log i am removed Not null constrant in table  ( but actyally data coming to in api )
to test i have removed not null constrint in table schema  and again i have run on emulator
then only 1 record insert to account table
Please let me author please let me know the issue .. in browser working perfecly...i am using exact same as your demo application  create tg eschema..
Is looping I have missed any thing …

@lajith111 what is the length of accounts and how do you execute the statements

As of now less than 100 but in producttion may be 3k to 5

@lajith111 in v5.6.3 i have added a SQLite Transactions Documentation SQLiteTransaction.md and make few fixes. Can you share the schema of the table accounts

Please find the
CREATE TABLE IF NOT EXISTS accounts(id INTEGER PRIMARY KEY AUTOINCREMENT,ain TEXT NOT NULL,customerName TEXT, openingDate TEXT, balance NUMERIC NOT NULL,  cin TEXT ,schemeCode TEXT,categoryCode TEXT,phoneNo TEXT,email TEXT,bankName TEXT,bankCode TEXT,bankRecieptName TEXT,branchName TEXT,branchCode,branchRecieptName TEXT,bin TEXT,lin TEXT,loanAmount NUMERIC,accountName TEXT,isLoan INT NOT NULL,nain TEXT,groupNo TEXT,closingBalanceDate TEXT,lastTransactionDate TEXT);
 `CREATE TABLE IF NOT EXISTS logs(id INTEGER PRIMARY KEY, lastUpdatedDate TEXT NOT NULL);

@lajith111 i take your tables schema and did this
  const testIssue523 = async(db: SQLiteDBConnection) => {
    setLog(prevLog => prevLog + '### Start Test Transaction Issue 523 ###\n');
    if (db !== null) {
      const txn: any[] = [];
      txn.push({statement:'DELETE FROM accounts;'});
      const stmt523 = `INSERT INTO accounts
      (ain,cin,openingDate,balance,customerName,schemeCode,categoryCode,phoneNo,
      email,bankName,bankCode,branchName,branchCode,bankRecieptName,branchRecieptName,bin,
      lin,loanAmount,accountName,isLoan,nain,groupNo,closingBalanceDate,lastTransactionDate)
      VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);`;

      const values =
          ["000000000000338","01401000338","2023-04-05T18:30:00Z",28030,"SAYAD SAHIL","12","","9036986909",
          null,"Manipal","Demo","Demo Society",null,"Samaja Seva S S","Demo",null,
          null,0,null,0,null,null,"2024-02-26T18:30:00Z","2024-02-25T18:30:00Z"];
      txn.push({statement: stmt523, values: values});
      for (let i=1; i<100; i++ ) {
        const val = getRandomNumber(100, 999);
        values[0] = `000000000000${val}`;
        values[1] = `01401000${val}`;
        values[3] = getRandomNumber(100, 100000);
        values[4] = generateRandomName("XXXXX XXXXX");
        values[7] = (getRandomNumber(9000000000,<PHONE_NUMBER>)).toString();

        txn.push({statement: stmt523, values: values});
      }
      try {
        const ret = await db.executeTransaction(txn);
        console.log(`Test Issue523 Transaction ret: ${JSON.stringify(ret)}`);
        setLog(prevLog => prevLog + '### Test Issue523 successfull###\n');

      } catch(err:any) {
        const msg = err.message ? err.message : err;
        console.log(`Test Issue523 Transaction msg: ${msg}`)
        setLog(prevLog => prevLog + `### Test Issue523  failed : ${msg} ###\n`);

      } finally {
        let selectQuery = "SELECT * FROM accounts;";
        const retQuery = await db.query(selectQuery);
        console.log(`>>> query All retQuery4: ${JSON.stringify(retQuery)}`)
        setLog(prevLog => prevLog + '### End Test Issue523 Transaction ###\n');
      }
    }
  }

with
  const getRandomNumber = (min: number, max: number): number => {
    return Math.floor(Math.random() * (max - min + 1)) + min;
  }
  const generateRandomName = (pattern: string) => {
    return pattern.replace(/X/g, () => String.fromCharCode(65 + Math.floor(Math.random() * 26)));
  }

and it works fine on web, iOS and Android

Thanks for checking ,,i have previously used executeset,, But now just checked in executetransaction method
in web i got ..whether we have to open trnsaction manully
Error: ExecuteSet: ExecSet: ExecSet: CommitTransaction: CommitTransaction: cannot commit - no transaction is active : RollbackTransaction: RollbackTransaction: cannot rollback - no transaction is active
    at web.js:209:19
    at Generator.throw (<anonymous>)
    at asyncGeneratorStep (asyncToGenerator.js:3:1)
    at _throw (asyncToGenerator.js:25:1)
    at _ZoneDelegate.invoke (zone.js:368:26)
    at Object.onInvoke (core.mjs:14223:33)
    at _ZoneDelegate.invoke (zone.js:367:52)
    at Zone.run (zone.js:130:43)
    at zone.js:1260:36
    at _ZoneDelegate.invokeTask (zone.js:403:31)

@lajith111 your set of Data is too big if you want to use executeSet instead of executeTransaction you have to split in several {statement, values) where values can contain 10 rows of values. this is what the error means transaction failed on small parcel; remote process probably died, but this could also be caused by running out of binder buffer. You can make several trials to adjust the split  by 10 ,15, 20 ,... till you get the error

@jepiqueau  thanks for your support i have one doubt what is the diff b/w execute set and execute transaction?
I have tested ur code in my app ..its working...
i observed that in second query i am passing array of array  but in ur example each row you adding txn
May be that is the issue..I will change my implenetation will update you thanks

@lajith111 i add this to the test like you did
      const newValues = [];
      for (let i=0; i<2000; i++ ) {
        const val = getRandomNumber(400, 1500);
        values[0] = `000000000000${val}`;
        values[1] = `01401000${val}`;
        values[3] = getRandomNumber(100, 100000);
        values[4] = generateRandomName("XXXXX XXXXX");
        values[7] = (getRandomNumber(9000000000,<PHONE_NUMBER>)).toString();
        newValues.push(values);
      }
      const stmtSet = [{statement: stmt523, values: newValues}];
      const retSet = await db.executeSet(stmtSet,true);
      console.log(`Test Issue523 executeSet retSet: ${JSON.stringify(retSet)}`);
      setLog(prevLog => prevLog + '### Test Issue523 successfull###\n');

i tested from 100 to 2000 by step 100. and it works. i do not know what is the accounts.length in your case. They will be certainly a limit for a statement.
Would be interesting to know why you get that error in Web Have you check your statements can you share your app on github and explain me when it failed.

@lajith111 sorry when i test to 2000 the code is
      ...

      for (let i=0; i<2000; i++ ) {
        const val = getRandomNumber(400, 1500);

      ....

@jepiqueau i tested again restart pc & tested. First time i click to import from ui then no error but second time i got error like below
Error: Error: RollbackTransaction: RollbackTransaction: cannot rollback - no transaction is active
    at web.js:165:19
    at Generator.throw (<anonymous>)
    at asyncGeneratorStep (asyncToGenerator.js:3:1)
    at _throw (asyncToGenerator.js:25:1)
    at _ZoneDelegate.invoke (zone.js:368:26)
    at Object.onInvoke (core.mjs:14223:33)
    at _ZoneDelegate.invoke (zone.js:367:52)
    at Zone.run (zone.js:130:43)
    at zone.js:1260:36
    at _ZoneDelegate.invokeTask (zone.js:403:31)

This is process i am doing in component:
 await this.dbService.initiateLog(1,dt);  //1- Log insert
const results = this.accountService.downloadAccountsByAgent();   // get the data from API
      let result= await lastValueFrom(results);
 [
            this.storage.store(AUTH_CONSTANTS.COLLECTION_START_KEY, result.collectionStart),
            this.storage.store(AUTH_CONSTANTS.COLLECTION_END_KEY, result.collectionEnd)
          ]);

        await this.dbService.importAccountsback(accounts);     // this will call to db serviece with 3 sql statement like delete from account, insert list to account table and 3 sql remove log entry insert from  intiate log

Can you share the whole code on github so i can test it and identify the issue

I have keep neccessary things publish to https://github.com/lajith111/sqllitedemo/tree/master
I am new to github..Please check  app & offline componet is used for sql lite

@jepiqueau  can u please let me  I thery any wrong in my code please let me know till now I am not migrated.. if any thing wrong difficult to get the data in the device .. pls advice

@lajith111 i will have a look may be during the week end be patient

@jepiqueau  Is it possible to do like in SQL lite   where nama_product regexp '(^| )aya';
I asked question in https://stackoverflow.com/questions/78083418/sql-like-with-each-word-starting-charcter
But its works in Mysql not in SQL lite becuse regexp not in Sql lite
Can Pls help on this if possible?

@lajith111 i forked your code as there is no readme can you explain me how to  use the application  and how to reproduce the error

@lajith111 on which operating system (MacOs, Windows, Linux) and which brower are you testing your app

@lajith111 on which operating system (MacOs, Windows, Linux) and which brower are you testing your app

Hi I Have removed all unnessery things

ionic s
Click Login Button
It redirect to offline Page
Click  to Download button, It will Download dummy records to Sql lite Db
After dowload You can delete in the Same place
Click  to Download button  Exception message in web ( console) but records will be saved

Thanks

@lajith111  i do not understand 5  what do you mean by You can delete in the Same place how you do this. I assume the error will come in 6 when i Click to Download the second time

I dont see your Previous message.
i Am using windows 11&  MS Edge Latest version
After download delete button will enable  & after delete download button will enable
Yes.. error come in Step 6.

@lajith111 When you said delete button is in fact the same than the download button i could not see a specific delete button

Sory for my bad english,  for 2nd time download you have to delete the previous records downloaded (step 5)
Step 6  for 2nd time donwload
error Some time come in step 4 & step 6

@lajith111 When you said delete button is in fact the same than the download button i could not see a specific delete button

I think some bug in my app, but if account table has rows then  delete button will show
<ion-fab vertical="center" horizontal="center"  translucent="true" slot="fixed" *ngIf="currentSegment==1  && !tranCount && ( isDownload || !accLogExist)">
    <ion-fab-button color="primary" (click)="!isDownload && downloadAccounts()">
      <ion-spinner *ngIf="isDownload"></ion-spinner>
      <ion-icon name="cloud-download"  *ngIf="!isDownload"></ion-icon>
    </ion-fab-button>
  </ion-fab>

  <ion-fab vertical="center" horizontal="center" translucent slot="fixed" *ngIf="currentSegment==1  && !tranCount  && (accLogExist || accCount)  && !isDownload">
    <ion-fab-button color="danger" (click)="!isClear  && clearAccounts()">
      <ion-spinner *ngIf="isClear"></ion-spinner>
      <ion-icon name="trash"  *ngIf="!isClear"></ion-icon>
    </ion-fab-button>
  </ion-fab>

@lajith111 Sorry i forgot to publish the write jeep-sqlite
so do
 npm uninstall --save @capacitor-community/sqlite  jeep-sqlite
npm i --save @capacitor-community/sqlite@latest

check that in node_modules/jeep-sqlite the version is 2.6.2
Now it should work

Thanks @jepiqueau  i think issue now resolved...
One more help i need is regexp  can be used in this plugin...I dont get cli edition..Pls le me knw

@jepiqueau  some time time when refresh the page in browser account table  data auto deleted...

I am getting Error in transaction method run  when i call below method  in web
const id=2;  //2- Transaction Sync
const query1 = DELETE FROM transactions;;
const query2 = DELETE FROM accounts;;
const query3 = DELETE from logs WHERE id = ?;;
const transaction: any = [
{statement: query1,values: []},
{statement: query2,values: []},
{statement: query3,values: [id]}
]
try{
let res= await this.db.executeTransaction(transaction);
await this.loadAccounts();
await this.loadTransactions();
await this.loadLogs();
}
catch(err:any) {
console.log(err.message ? err.message : err);
this.toastService.presentErrorToast(err.message ? err.message : err);
}
finally
{
}

@lajith111 you must saveToStore before the refresh. For the others questions look at your code it may be something wrong.

For the regexp give me an example i am not sure i can implement it as the regexp is not handle the same in differents plaforms

@lajith111 Sorry the REGEXP calls a user defined function, and i cannot defined a user function which will be called by sqlite web, iOS or Android. So there is nothing i can do. i already answer earlier on user defined function . So i close the issue

Thanks .. I am little confused sql lite supports regexp. Can I customize works only with android like that.. pls let me know

@lajith111  response from ChatGPT
Yes, you can use regular expressions (regex) in SQLite's WHERE statement using the REGEXP operator. However, SQLite doesn't natively support regex out of the box like some other database systems do. Instead, you can use the REGEXP operator if you compile SQLite with the REGEXP extension enabled.

Here's how you can use the REGEXP operator in SQLite:

First, you need to ensure that SQLite is compiled with the REGEXP extension enabled. By default, SQLite does not have this enabled. You may need to compile SQLite from source with the appropriate flags, or use a version of SQLite that has this extension enabled.

Once you have SQLite with REGEXP enabled, you can use the REGEXP operator in your SELECT statements like this:

sql
Copy code
SELECT * FROM your_table WHERE your_column REGEXP 'your_regex_pattern';
Replace your_table with the name of your table and your_column with the name of the column you want to apply the regex pattern to. Replace 'your_regex_pattern' with your actual regular expression pattern.

Keep in mind that the specific syntax and functionality of regular expressions in SQLite may vary depending on the version of SQLite you're using and how it was compiled. So, always refer to the documentation or specific resources related to the version you're working with.

User
Is this statement will work also in sqlite android and iOS as the regexp expression write-up may vary from one platform to other?

ChatGPT
Using the REGEXP operator in SQLite for Android and iOS would depend on whether the version of SQLite used in those platforms has the REGEXP extension enabled.

By default, SQLite on Android and iOS does not have the REGEXP extension enabled. Therefore, you would need to compile SQLite with REGEXP support enabled or use a version of SQLite that has this extension already enabled.

For Android, if you're using the SQLite database directly through the Android SDK, you would typically use the built-in SQLite version provided by Android. In this case, you might need to compile SQLite from source with REGEXP support enabled and include it in your Android project.

For iOS, if you're using SQLite directly or through libraries like FMDB, you would again need to ensure that SQLite is compiled with REGEXP support enabled. This might involve compiling SQLite from source with the appropriate flags.

In summary, the statement SELECT * FROM your_table WHERE your_column REGEXP 'your_regex_pattern'; will work on Android and iOS SQLite databases only if they are compiled with the REGEXP extension enabled. Otherwise, you'll need to use alternative methods to achieve similar functionality, such as filtering data in your application code after retrieving it from the SQLite database.

Hope this is clear enough


Support for signed and unsigned short for NSNumber getValue/stringValue

Adding the support for unsigned and signed short values for getValue and stringValue.
Also added unit tests for the un/signed shorts.
fix #310

Hi @RG-J, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, MSBOT;

merge conflict due to project changes, have a local change to validate.  Required some clang formatting changes that I applied as part of the merge.


Pass environment variable to compiler

I wasn't able to find a way to pass environment variable to compiler on build or test.
Neither --action_env has any effect, nor there is any parameter in scala_library/scala_binary/scala_test that can be used for that matter.
Motivation: there are some macros that are configured through environment variables which need to be set on compile time, specifically scalactic. Probably it should be fixed in scalactic itself, but with 3.1.x it seems easier to fix it in rules_scala than try to migrate from older versions and there may be other plugins with same behavior anyway.
As I could understand code in rules_scala it looks not so hard to fix (but I may be wrong since I'm not really familiar with the codebase) by just passing additional argument from scala_* (say named compiler_env all the way to invocation of compiler. As for --action_env it may even be better but I don't really know how it works and more specifically why it doesn't.

We try heavily not to use environment variables since that seriously limits
cache sharing.
Why does this need to be an environment variable?
Is this value constant but the only supported input mechanism is via env
variable?
On Wed, 18 Mar 2020 at 19:59 Kirill Saksin<EMAIL_ADDRESS>wrote:

I wasn't able to find a way to pass environment variable to compiler on
build or test.
Neither --action_env has any effect, nor there is any parameter in
scala_library/scala_binary/scala_test that can be used for that matter.
Motivation: there are some macros that are configured through environment
variables which need to be set on compile time, specifically scalactic
https://github.com/scalatest/scalatest/blob/release-3.1.1/scalactic.dotty/src/main/scala/org/scalactic/source/Position.scala#L61.
Probably it should be fixed in scalactic itself, but with 3.1.x it seems
easier to fix it in rules_scala than try to migrate from older versions and
there may be other plugins with same behavior anyway.
As I could understand code in rules_scala it looks not so hard to fix (but
I may be wrong since I'm not really familiar with the codebase) by just
passing additional argument from scala_* (say named compiler_env all the
way to invocation of compiler
https://github.com/bazelbuild/rules_scala/blob/master/scala/private/rule_impls.bzl#L188.
As for --action_env it may even be better but I don't really know how it
works and more specifically why it doesn't.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/issues/1023, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKQQF4JCHPU3PZEKS3PMOLRIEDYRANCNFSM4LOXHRAQ
.

--
Ittai Zeidman
40 Hanamal street, Tel Aviv, Israel
http://www.wix.com

Yeah it is constant in a way that it should not be changed between builds. It just controls macro expansion. Example of such macro and fix that will actually work with rules_scala: scalatest/scalatest#1795. So compiler options are essentially the same thing in this case.

We had this in our .bazelrc during the migration from maven to bazel and we could access it in our tests easily:
test --action_env=BUILD_TOOL=BAZEL

Could you try and see if you can access it?
You said it doesn't work for you for tests or compilation so I'm trying to see if maybe you're misusing the existing idiomatic mechanism. If we'll find it works for tests but not for the compiler env I think it will be easier to triage.
Also- please expect delays due to corona and limited capacity

It is not about time when tests are run, it is about time when tests are compiled. And currently there is no way of providing any env variable so that it would be visible by compiler

The line I gave you was an example. In bazel compilation and tests are both actions.
When you use --action_env=Key=Value you add this K/V to all actions the build is spawning (unless specific rules will explicitly provide an empty env var map).
As you can see we simply call ctx.actions.run in the link you provided originally which means we work with the bazel idioms.
Please try the above out to see if you can get it to work.
If not please open a PR with a repro

to be clear- AFAICT rules_scala is WAI.
A repro would help shed some light.

Closing since it sounds this is a usage problem.
Please Reopen if you think otherwise.


Mapping a specific port

Hi,
Is it possible to map a particular port (i.e. port 5432) so that I can access it outside of the container?
Thanks a lot

@obgeneralao Starting AiiDAlab with the tool will map port 8888 to whatever port is specified in the profile. You can view the profile with: aiidalab-launch profiles view default.
This is what that looks like for me:
$ aiidalab-launch profiles show default
port = 8888
default_apps = [ "aiidalab-widgets-base",]
system_user = "aiida"
image = "aiidalab/aiidalab-docker-stack:latest"
home_mount = "/home/sadorf/aiidalab"

That means AiiDAlab will be available on port 8888 on the host. If you like to use port 5432, just edit the profile with aiidalab-launch profiles edit default and change the value for the port.
I hope that answers your question, if not, please don't hesitate to reach out again. Thanks!

I assume the question was answered. Please feel free to reach out in case it wasn't.


[IOS]multiple dependencies with different sources for QBImagePickerController issue when install with @nstudio/nativescript-camera-plus

Which platform(s) does your issue occur on?

iOS

Issue
Failed to build IOS after installing nativescript-camera-plus if already installed nativescript-imagepicker , this is the error:
[!] There are multiple dependencies with different sources for `QBImagePickerController` in `Podfile`:

- QBImagePickerController (from `https://github.com/flypapertech/QBImagePicker.git`, commit `47aa21d32f8e6db0df79b089ad64e43d498b5951`)
- QBImagePickerController (~> 3.4.0)
'pod install' command failed.

the issue is that imagepicker and camera-plus have different version of dependency version for QBImagePickerController
This is my generated Podfile (platform/ios/podfile)
# Begin Podfile - /Users/chizhang/Program/knotes-mobile/node_modules/@nstudio/nativescript-camera-plus/platforms/ios/Podfile
pod 'SwiftyCam', :git => 'https://github.com/NathanWalker/SwiftyCam.git', :branch => 'feature/swift-4.2'
pod "QBImagePickerController", :git => 'https://github.com/flypapertech/QBImagePicker.git', :commit => '47aa21d32f8e6db0df79b089ad64e43d498b5951'

def post_install_nstudio_nativescript_camera_plus_0 (installer)
  installer.pods_project.targets.each do |target|
    if target.name == 'SwiftyCam'
      target.build_configurations.each do |config|
        config.build_settings['SWIFT_VERSION'] = '4.2'
      end
    end
  end
end

# End Podfile

......
......

# Begin Podfile - /Users/chizhang/Program/knotes-mobile/node_modules/nativescript-imagepicker/platforms/ios/Podfile
pod 'QBImagePickerController', '~> 3.4.0'
# End Podfile
end

Step to reproduce,

create a new project
install imagepicker tns plugin add nativescript-imagepicker
3 install camera-plus tns plugin add @nstudio/nativescript-camera-plus
build ios target tns debug ios

I would like to use both plugin, is there a way to solve this issue ?

Hi. I'm sorry but in which version this is fixed @NathanWalker ? Because i have ^7.1.0 and i still have the issue.


Fix things

Coverage remained the same at 100.0% when pulling af09cfc0d0043527dedcca02a6557f655986f4f6 on fix-things into 585870eea769cb7849ac4c953d208384b3cb178f on master.


feat: add EmailVerifiedTime to user

Casdoor users support EmailVerified and Email; however, it does not support a timestamp for when it was verified. Request is to add support for EmailVerifiedTime.

@sp71 what's EmailVerifiedTime used for?

It seems not very useful, closed here


[fuzz] Add metadata to codec_impl_fuzz_test

This adds an encodeMetadata action in the codec_impl_fuzz_test since we don't have any coverage over the metadata code yet. We can specify sending metadata in the form of a map test.fuzz.Metadata in requests or responses.
Testing: Added a corpus entry
Risk: Low

/review @mkbehr I was trying to repro the extra frame / memory underflow failures from #9996 you were seeing with this test, but I was struggling to produce a corpus entry that would trigger the crash. Would you be able to look at the codec_impl_corpus/metadata test case and comment if you have any suggestions to translate the crash in to a sequence of actions? I may need to modify the test.

The crash will only trigger if the metadata is sent on a connection that's dispatching data (i.e. if encodeMetadata is called somewhere up the call stack from the stream's ConnectionImpl::dispatch()). It doesn't look like that's possible from the fuzzer here. You could probably hit the crash if you set the response decoder to simulate an early reply when it gets data, but I don't know what the most realistic setup there would look like.
Also keep in mind that right now, the crash is undefined behavior if debug asserts aren't compiled in, so if you're running the fuzzer in fastbuild or opt mode, it might not crash 100% of the time.

The crash will only trigger if the metadata is sent on a connection that's dispatching data (i.e. if encodeMetadata is called somewhere up the call stack from the stream's ConnectionImpl::dispatch()). It doesn't look like that's possible from the fuzzer here. You could probably hit the crash if you set the response decoder to simulate an early reply when it gets data, but I don't know what the most realistic setup there would look like.

Hm... That's what I was afraid of. It's possible we might want to refactor to simulate these scenarios and catch more errors. I'd rather refactor tests to handle more cases than to write new fuzzers for specific scenarious.

Also keep in mind that right now, the crash is undefined behavior if debug asserts aren't compiled in, so if you're running the fuzzer in fastbuild or opt mode, it might not crash 100% of the time.

Yep, running in fuzz mode with --config asan-fuzzer is debug mode, debug asserts will cause a crash.

I was able to repro the error as well  by adding dispatching_actions to occur while request dispatch headers, data, or trailers. This won't pass CI until https://github.com/envoyproxy/envoy/pull/9996 is merged for the fix!


HIP miscompilation

HIP miscompiles the attached test case. The issue appears with ROCm 2.7 (Right now, I cannot use ROCm 2.8/2.9 due to #1536, so I do not know, if they are also affected.)
I am compiling the code with hipcc -O0 -g --amdgpu-target=gfx906 -o test testcase.hip.cpp.
Please run the application with test cpu and test gpu to execute the computation on CPU / GPU respectively. For me, it fails on the GPU with:
qon@qon ~/standalone-cmake $ hipcc -O0 -g --amdgpu-target=gfx906 -o test testcase.hip.cpp
clang-9: warning: -O0 is ignored in GPU compilation path [-Winvalid-command-line-argument]
qon@qon ~/standalone-cmake $ ./test gpu
Sizes 1920 2656 220 24
Memory access fault by GPU node-1 (Agent handle: 0x590620) on address 0x24dc00002000. Reason: Unknown.
Aborted

Some additional information:
I could already debug that the problem is apparently in the function GPUTPCGMTrackParam::FollowCircle (line 3137).
The code in this function makes the compiler miscompile. If I just make the function empty, or return directly at the beginning of the function, the compilation becomes correct.
I want to add that with the test case I uploaded the code of the function is not executed at all. Merger->Param().rec.DisableRefitAttachment = 255, so the check at the beginning of the function makes it return immediately. So even though the code is not executed, it makes the program crash.
The attached tarball contains a second source file testcase_modified.hip.cpp which illustrates the behavior.
I.e., if you compile testcase_modified instead of testcase:

you can run on the CPU and see that the funtion always returns immediately.
you can compile on the GPU, and the program will not crash, but produce more or less the same output as on the CPU. There are small differences in the floating point results, not yet sure where this comes from.

testcase.tar.gz

Hi @davidrohr, apologies for the lack of response.  Please try latest ROCm 6.0.2 (HIP 6.0.32831) to see if your issue still exists? If resolved, please close the ticket. Thanks.

this is 5 years old, I don't have a setup right now to check it.
If you want, you can still check the attached test case, anyhow, I am just closing it.

Thanks @davidrohr.  I will ask the internal team to check your test case.


[adc_ctrl] slightly tweak assertion

previous assertion is no longer true due to the way
stay_match is now computed (0 -> new value is counted as a match)

add an assertion to check to make sure when adc is powered down
counters are actually cleared.  This caused an issue previously
when they were not.

Signed-off-by: Timothy Chen<EMAIL_ADDRESS>

I can see activity on all the assertions now. But there is a fail for adc_ctrl_fsm_reset test, I'm taking a look. Assertion tb.dut.u_adc_ctrl_core.u_adc_ctrl_fsm.NpCntClrPwrDn_A has failed UVM_ERROR @ 315815787 ps: (adc_ctrl_fsm.sv:409) [ASSERT FAILED] NpCntClrPwrDn_A UVM_INFO @ 315815787 ps: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]

I've had a look.
In this test I'm pre-loading the counters using a force to speed up execution time.
I'll just have to disable the assertions for this test.

I can see activity on all the assertions now. But there is a fail for adc_ctrl_fsm_reset test, I'm taking a look. Assertion tb.dut.u_adc_ctrl_core.u_adc_ctrl_fsm.NpCntClrPwrDn_A has failed UVM_ERROR @ 315815787 ps: (adc_ctrl_fsm.sv:409) [ASSERT FAILED] NpCntClrPwrDn_A UVM_INFO @ 315815787 ps: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]

I've had a look. In this test I'm pre-loading the counters using a force to speed up execution time. I'll just have to disable this assertion for this test.

ah i see. that sounds good. Thank you.


The HystrixThreadPoolKey value is always being HystrixHystrixGatewayFilterFactory in Spring Cloud Gateway.

The HystrixThreadPoolKey value is always being HystrixHystrixGatewayFilterFactory in Spring Cloud Gateway. So all requests will share one ThreadPool instance named as HystrixHystrixGatewayFilterFactory. We can't change the value in our codes, even unable to init the specified HystrixThreadPoolKey value in com.netflix.hystrix.HystrixObservableCommand.Setter. Can you help me?

HystrixObservableCommand.Setter doesn't provide the method that sets HystrixThreadPoolKey value. Meanwhile, HystrixCommand.Setter provides the andThreadPoolKey(HystrixThreadPoolKey threadPoolKey) method. It's the only way to change HystrixThreadPoolKey value while changing HystrixCommandGroupKey value. So supposes I want to use different ThreadPool instances to isolate each other, I need to set the HystrixCommandGroupKey value in HystrixGatewayFilterFactory.Config.Setter. Am I correct?

Hello, @hooverhe HystrixObservableCommand is from the package com.netflix.hystrix. It's not part of the Spring Cloud integration, but it's part of the core Hystrix library maintained by Netflix. You should report any issues related to it in this repo.


Review Wiki main page

See https://www.kitware.com/volview4/index.php/Main_Page

Please review the redesigned page http://www.commontk.org/index.php/Main_Page_New
A couple of points to consider:

I know the icons are gone. I tried to create a compact, serious look. Is it too "boring" now?
I think it is important to tell first-time users what CTK provides (the four main topics we identified last week)
Is all relevant information on the main page? Is it still too cluttered?
I generally do like the icons. Maybe we add them to their respective pages, like I tried with http://www.commontk.org/index.php/Getting_Started
Can we somehow get rid of the generate title for some pages? Like on the new main page, the "Main Page" title should be hidden.

Thanks!

@jcfr I think you mentioned something during the hackfest about how to get rid of the default title for some Wiki pages, right? Could you have a look, or tell me how we could suppress the title for the new main page?
Thanks.

@sasha All set. See http://www.commontk.org/index.php/Main_Page_New
I added a line to http://www.commontk.org/index.php/MediaWiki:Common.css
See https://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_hide_the_main_page_title.3F
The new main page looks great :)

As far as I am concerned, I like the open issue and API documentation links, adding a small icon would be less "invasive".
Regarding the title of the boxes, a small icon on the left of the title could also be added. I am not sure if these ones should be clickable, the "read more" link seems to fulfill its role and explicit enough.

@jcfr Thanks!
I made three changes based on your suggestions:

The "Read more..." link now starts on a new line
Replaced the links at the bottom right with icons
The box titles are now clickable, but I tried to keep the previous style (I could not get rid of the link hover style however)

Concerning the icons for the main working areas, I thought a couple of days about it. I could not come up with something nice and professional looking. I am not a designer. If anybody would like to propose some icons, I am all ears.
If you guys are okay with the current look, I will put the new main page online.

@sasha Looking good :) I created the following template to simplify the wiki source:

http://www.commontk.org/index.php/Template:Documentation/g-box-start
http://www.commontk.org/index.php/Template:Documentation/g-box-end
http://www.commontk.org/index.php/Template:Documentation/g-box-links

The template prefix g-box means gradient box
Additionally, I centered the list of icon displayed on the bottom. What do you think?

I like the template idea!
But the boxes have a different width now, depending on the content. This
seems due to the nested tables. I have been reading that nested tables
are bad for screen accessibility... maybe we can do without nesting?
Did you remove the "disabled" API icons on purpose?
Centering the toolkit icons at the bottom is fine with me ;-)
Thanks for your work!
On 11/30/2011 04:24 PM, Jean-Christophe Fillion-Robin wrote:

@sasha Looking good :) I created the following template to simplify the wiki source:

http://www.commontk.org/index.php/Template:Documentation/g-box-start
http://www.commontk.org/index.php/Template:Documentation/g-box-end
http://www.commontk.org/index.php/Template:Documentation/g-box-links

The template prefix g-box means gradient box
Additionally, I centered the list of icon displayed on the bottom. What do you think?

Reply to this email directly or view it on GitHub:
https://github.com/commontk/CTK/issues/75#issuecomment-2961002

The width of the box is specified as a % of the screen width. Isn't it ? The main table has a width of 70% (Before it was 35% for each box). I thought it would be equivalent ... I chose that format because it was made it easier to specify using template.

The API doesn't appear if the there is no link specified. This is expected. We could easily restore the default behavior. What do you prefer ?

On 11/30/2011 04:55 PM, Jean-Christophe Fillion-Robin wrote:

The width of the box is specified as a % of the screen width. Isn't it ? The main table has a width of 70% (Before it was 35% for each box). I thought it would be equivalent ... I chose that format because it was made it easier to specify using template.
The nested tables did not expand to all the available space, unless
there was enough text in them. On my screen with 1920x1200 resolution,
the "Widgets" box had a smaller width then the "DICOM" box above.

I tweaked your g-box-start template a little bit and now the new main
page displays the boxes without a "master" table.

The API doesn't appear if the there is no link specified. This is expected. We could easily restore the default behavior. What do you prefer ?

Okay. My intention was to show people that there should be something,
but that it is still missing. I wanted to write an email to the main
developers of the four topics to have a look at the "Read more..." and
API links, hoping that they would fix it soon ;-) Having a disabled or
non-working link would maybe push them a little more... :-)

The new "main page" is now available for more than a month and people seems to be happy about it :)


Select multiple flags

Users should be able to select multiple flags, to put besides each other.
Requirements:

[ ] Selector, just like the current flag selector, but with an "➕ Add another flag" button besides the selector or underneath the list of flags.
[ ] Rendering them the right way

Could also provide multiple layouts instead of just side by side? For example, for 3 flags you could allow for them to be aligned... Triangularly? I think? Though that'd get harder as more flags are added, but could be done with some math probably


3.0.0: Move to using GraphQL

I definitely think gdom has showed us the way forward:

https://github.com/syrusakbary/gdom
http://gdom.graphene-python.org/

Here's a basic node implementation:

https://github.com/IamNotUrKitty/gdom-node

There's some improvements we can make by allowing you to swap out drivers easily (http, phantom, electron) and also around pagination.
I'm not sure I'll have time to work on this without community support, but I'd also love for someone to own this transition :-)

Looks like a good idea!
One of the best features of x-ray is the ability to have the nested selectors crawl to different pages. Is there a provision in gdom for this?

@matthewmueller any reason why this graphQl-ish way of doing things would be better suited for expressing crawlers than what x-ray does atm? Is there anything lacking in expressiveness currently?

@gebrits expressivity-wise i don't think it would add too much, but it would greatly simplify the internals of the library and provide much better error handling.

@Crazometer yep, you can visit within a page to another page.

Looks similar to the way Osmosis is doing things.
IMHO it seems more intuitive to compose the data structure in code rather than in a string. Probably makes extending and debugging easier too.
Here's the Osmosis equivalent of the example:
osmosis('http://news.ycombinator.com')
  .set({
    items:
      osmosis.find('tr.athing')
       .set({
          rank:    'td span.rank',
          title:   'td.title a',
          sitebit: 'span.comhead a',
          url:     'td.title a@href',
          attrs: {
             score:    'span.score',
             user:     'a:eq(0)',
             comments: 'a:eq(2)'
          }
      })
  }).data(console.log);

@rchipka thanks for chiming in! it definitely puts more emphasis on using a GraphiQL or some other GraphQL-aware IDE. Using one of those would improve the dev experience for crawling most websites.
Actually now wondering if we should just be providing primitives to do this stuff, rather than some fancy control flow libraries. Basically more building blocks that you can put together to handle more complicated login flows.

@matthewmueller No problem. I was just checking out how things are going on x-ray and this issue stood out to me.
I think you should keep it as actual JS code and not a domain specific language in a string. You can implement a similar GraphQL look in pure JS by creating x.page(), x.query(), etc.


Incorrect order of slides - Mobile

I have 5 slides. On desktop works good, but in mobile I've found two bugs (only when autoplay=false):

The dots doesn't move (only the first dot is lighted)

The slides are disordered. It renders like: Slide 3, Slide 4, Slide 5, Slide 1, Slide 2, Slide 3 (but the first to render is the number 1)

Did you have the same problem?
Thanks in advance

Hi @matiszz! :wave: I was able to reproduce the issue and it should be fixed in v3.0.1. Please let me know if it still doesn't work for you.


Update Striveworks logo

Updates Striveworks logo in "Adopters" section of homepage

@JakeNeyer can you help sign the commit?

Thanks @JakeNeyer !
/lgtm
/approve


Formatting for headings and lists in pages?

Hiya,
Thanks for a great theme! I was setting up our web-space and on the pages, the various sections and lists don't seem to be formatted correctly as they are in articles:
https://ocns.github.io/SoftwareWG/pages/about.html
We're using version bulrush==0.4.0 here. Is this a known issue perhaps?
Cheers,

Yep, that looks like a bug; thanks for spotting it! The styles for headings of various kinds are scoped to article .section:
https://github.com/textbook/bulrush/blob/8ecc9c2e119f42d80df3e13bb40737b0912c1ec1/bulrush/static/css/main.less#L8-L30
but the pages.html template doesn't contain an article element:
https://github.com/textbook/bulrush/blob/8ecc9c2e119f42d80df3e13bb40737b0912c1ec1/bulrush/templates/page.html#L8-L16

Ah! That makes sense! Please do let me know if I can help with the fix in any way.


I have the following error in the training data. Can you help me to solve it? Thanks！

Hi,
first of all thanks for the implementation, very useful to understand the paper and compare with own implementation !
I have the following error in the training data. Can you help me to solve it? Thanks！
FailedPreconditionError: Attempting to use uninitialized value conv2d_1/kernel
[[Node: conv2d_1/kernel/read = IdentityT=DT_FLOAT, _class=["loc:@conv2d_1/kernel"], _device="/job:localhost/replica:0/task:0/cpu:0"]]
Caused by op 'conv2d_1/kernel/read', defined at:
File "C:\ProgramData\Anaconda3\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\ProgramData\Anaconda3\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel_launcher.py", line 16, in
app.launch_new_instance()
File "C:\ProgramData\Anaconda3\lib\site-packages\traitlets\config\application.py", line 658, in launch_instance
app.start()
File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel\kernelapp.py", line 477, in start
ioloop.IOLoop.instance().start()
File "C:\ProgramData\Anaconda3\lib\site-packages\zmq\eventloop\ioloop.py", line 177, in start
super(ZMQIOLoop, self).start()
File "C:\ProgramData\Anaconda3\lib\site-packages\tornado\ioloop.py", line 888, in start
handler_func(fd_obj, events)
File "C:\ProgramData\Anaconda3\lib\site-packages\tornado\stack_context.py", line 277, in null_wrapper
return fn(*args, **kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\zmq\eventloop\zmqstream.py", line 440, in _handle_events
self._handle_recv()
File "C:\ProgramData\Anaconda3\lib\site-packages\zmq\eventloop\zmqstream.py", line 472, in _handle_recv
self._run_callback(callback, msg)
File "C:\ProgramData\Anaconda3\lib\site-packages\zmq\eventloop\zmqstream.py", line 414, in _run_callback
callback(*args, **kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\tornado\stack_context.py", line 277, in null_wrapper
return fn(*args, **kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel\kernelbase.py", line 283, in dispatcher
return self.dispatch_shell(stream, msg)
File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel\kernelbase.py", line 235, in dispatch_shell
handler(stream, idents, msg)
File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel\kernelbase.py", line 399, in execute_request
user_expressions, allow_stdin)
File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel\ipkernel.py", line 196, in do_execute
res = shell.run_cell(code, store_history=store_history, silent=silent)
File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel\zmqshell.py", line 533, in run_cell
return super(ZMQInteractiveShell, self).run_cell(*args, **kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 2717, in run_cell
interactivity=interactivity, compiler=compiler, result=result)
File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 2821, in run_ast_nodes
if self.run_code(code, result):
File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 2881, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 29, in
convnet.add(Conv2D(64,(10,10),activation='relu',input_shape=input_shape,kernel_initializer=W_init,kernel_regularizer=l2(2e-4)))
File "C:\ProgramData\Anaconda3\lib\site-packages\keras\models.py", line 442, in add
layer(x)
File "C:\ProgramData\Anaconda3\lib\site-packages\keras\engine\topology.py", line 575, in call
self.build(input_shapes[0])
File "C:\ProgramData\Anaconda3\lib\site-packages\keras\layers\convolutional.py", line 134, in build
constraint=self.kernel_constraint)
File "C:\ProgramData\Anaconda3\lib\site-packages\keras\legacy\interfaces.py", line 87, in wrapper
return func(*args, **kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\keras\engine\topology.py", line 399, in add_weight
constraint=constraint)
File "C:\ProgramData\Anaconda3\lib\site-packages\keras\backend\tensorflow_backend.py", line 316, in variable
v = tf.Variable(value, dtype=_convert_string_dtype(dtype), name=name)
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\ops\variables.py", line 200, in init
expected_shape=expected_shape)
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\ops\variables.py", line 319, in _init_from_args
self._snapshot = array_ops.identity(self._variable, name="read")
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\ops\gen_array_ops.py", line 1303, in identity
result = _op_def_lib.apply_op("Identity", input=input, name=name)
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 767, in apply_op
op_def=op_def)
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 2506, in create_op
original_op=self._default_original_op, op_def=op_def)
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 1269, in init
self._traceback = _extract_stack()
FailedPreconditionError (see above for traceback): Attempting to use uninitialized value conv2d_1/kernel
[[Node: conv2d_1/kernel/read = IdentityT=DT_FLOAT, _class=["loc:@conv2d_1/kernel"], _device="/job:localhost/replica:0/task:0/cpu:0"]]

I can reproduce this error when I'm using tensorflow 1.0.0, but using tensorflow 1.4.0 and keras 2.1.1 work for me. Try using a more recent version of keras and tensorflow and tell me how it goes.

Thank you very much for your answer. Through your hint, I've updated tensorflow 1.4.0, and now you can run this code.
Then,I have a small request. Can you give me a look at your trained weight file? Because of the longer training time, I want to get into the next section of the code faster. Thank you again for your help.

Thank you very much for your answer. Through your hint, I've updated tensorflow 1.4.0, and now I can run this code.
Then,I have a small request. Can you give me a look at your trained weight file? Because of the longer training time, I want to get into the next section of the code faster. Thank you again for your help.


Bump senzing from 3.2.0 to 3.3.0

See https://github.com/Senzing/senzingapi-runtime/issues/31

Pull requests:

https://github.com/Senzing/init-postgresql/pull/28


Post date incorrect

These two posts were posted quite a far apart, but still say 'a minute ago'. Highlighting the 'a minute ago' shows a unix timestamp integer, different for both posts. Looks like the date formatting that should be happening here isn't.

I took a look at this - it doesn't seem like a client-side bug. The timestamp coming from the server is larger than the current time. Ex:
TS as writing this post:<PHONE_NUMBER>
TS from post in screenshot:<PHONE_NUMBER>
diff:                            -3029

Travis says he's still having issues with dates not being adjusted automatically, so I'm reopening this


Feedback for Nokia page: com.evenwell.emm appears to be present with Nokia 1 / TA-1047 / Pie

I recently factory reset my Nokia 1 while switcing to another phone and preparing it as a secondary/backup phone and I was wondering why it had notification issues with apps like Signal and Telegram and it turns out that Greenify detected a foreground app "EMM" and the listed command  pm disable-user com.evenwell.emm worked.
The page currently says:

com.evenwell.emm on Android Go (Oreo?) for Nokia 1 - probably still in the wild since HMD only disabled Evenwell apps for Pie or greater

I think this should be fixed especially now that Nokia 1 got Android 10 Go Edition (surprising me). I still see it in Greenify though.


support named arguments

notes: don't allow positional arguments after named arguments.

@azjezz Is this one done now, or do we still need to handle positional arguments after named arguments as per desc. above?

we definitely need to handle that, let's keep this open


[CardEditor] Prop types error thrown if content section of the card is a function

What package is this for?

[x] React
[ ] Angular

Describe the bug
Function is actually valid for cardConfig.content, but the prop types need to be adjusted to support this
Warning: Failed prop type: Invalid prop cardConfig.content of type function supplied to CardEditor, expected object.
in CardEditor (created by DashboardEditor)
in DashboardEditor (created by DashboardTemplateEditor)
in DashboardTemplateEditor (created by Context.Consumer)
in injectIntl(DashboardTemplateEditor) (created by ConnectFunction)
in ConnectFunction (created by EditInstanceDashboardTemplate)
in EditInstanceDashboardTemplate (created by Context.Consumer)
in injectIntl(EditInstanceDashboardTemplate) (created by ConnectFunction)
in ConnectFunction (created by EntityDetailsPane)
in DashboardTemplateValidator (created by EntityDetailsPane)
in ErrorBoundary (created by EntityDetailsPane)
in div (created by EntityDetailsPane)
in EntityDetailsPane (created by ConnectFunction)
in ConnectFunction (created by Context.Consumer)
in injectIntl(Connect(EntityDetailsPane)) (created by Context.Consumer)
in Route (created by PropsRoute)
in PropsRoute (created by HomeApp)
in Switch (created by HomeApp)
in div (created by HomeApp)
in main (created by HomeApp)
in IntlProvider (created by IntlProviderWithLocale)
in IntlProviderWithLocale (created by HomeApp)
in HomeApp (created by HotExportedHomeApp)
in AppContainer (created by HotExportedHomeApp)
in HotExportedHomeApp (created by ConnectFunction)
in ConnectFunction (created by Context.Consumer)
in Route (created by PropsRoute)
in PropsRoute
in HelmetProvider
in LocationProvider (created by Context.Consumer)
in Route (created by QueryParamProvider)
in QueryParamProvider
in Router (created by BrowserRouter)
in BrowserRouter
in PersistGate
in Provider
printWarning @ webpack-internal:///./node_modules/prop-types/checkPropTypes.js:20
webpack-internal:///./node_modules/@welldone-software/why-did-you-render/dist/umd/whyDidYouRender.min.js:8 Connect(ReduxData)
webpack-internal:///./node_modules/prop-types/checkPropTypes.js:20 Warning: Failed prop type: Invalid prop cardConfig.content supplied to CardEditFormContent.
in CardEditFormContent (created by CardEditForm)
in CardEditForm (created by CardEditor)
in div (created by CardEditor)
in div (created by CardEditor)
in CardEditor (created by DashboardEditor)
in ErrorBoundary (created by DashboardEditor)
in div (created by DashboardEditor)
in div (created by DashboardEditor)
in DashboardEditor (created by DashboardTemplateEditor)
in DashboardTemplateEditor (created by Context.Consumer)
in injectIntl(DashboardTemplateEditor) (created by ConnectFunction)
in ConnectFunction (created by EditInstanceDashboardTemplate)
in EditInstanceDashboardTemplate (created by Context.Consumer)
in injectIntl(EditInstanceDashboardTemplate) (created by ConnectFunction)
in ConnectFunction (created by EntityDetailsPane)
in DashboardTemplateValidator (created by EntityDetailsPane)
in ErrorBoundary (created by EntityDetailsPane)
in div (created by EntityDetailsPane)
in EntityDetailsPane (created by ConnectFunction)
in ConnectFunction (created by Context.Consumer)
in injectIntl(Connect(EntityDetailsPane)) (created by Context.Consumer)
in Route (created by PropsRoute)
in PropsRoute (created by HomeApp)
in Switch (created by HomeApp)
in div (created by HomeApp)
in main (created by HomeApp)
in IntlProvider (created by IntlProviderWithLocale)
in IntlProviderWithLocale (created by HomeApp)
in HomeApp (created by HotExportedHomeApp)
in AppContainer (created by HotExportedHomeApp)
in HotExportedHomeApp (created by ConnectFunction)
in ConnectFunction (created by Context.Consumer)
in Route (created by PropsRoute)
in PropsRoute
in HelmetProvider
in LocationProvider (created by Context.Consumer)
in Route (created by QueryParamProvider)
in QueryParamProvider
in Router (created by BrowserRouter)
in BrowserRouter
in PersistGate
in Provider
printWarning @ webpack-internal:///./node_modules/prop-types/checkPropTypes.js:20
webpack-internal:///./node_modules/prop-types/checkPropTypes.js:20 Warning: Failed prop type: Invalid prop cardConfig.content of type function supplied to DataSeriesFormItem, expected object.
in DataSeriesFormItem (created by CardEditFormContent)
in CardEditFormContent (created by CardEditForm)
in div (created by TabContent)
in TabContent (created by Tabs)
in Tabs (created by CardEditForm)
in div (created by CardEditForm)
in CardEditForm (created by CardEditor)
in div (created by CardEditor)
in div (created by CardEditor)
in CardEditor (created by DashboardEditor)
in ErrorBoundary (created by DashboardEditor)
in div (created by DashboardEditor)
in div (created by DashboardEditor)
in DashboardEditor (created by DashboardTemplateEditor)
in DashboardTemplateEditor (created by Context.Consumer)
in injectIntl(DashboardTemplateEditor) (created by ConnectFunction)
in ConnectFunction (created by EditInstanceDashboardTemplate)
in EditInstanceDashboardTemplate (created by Context.Consumer)
in injectIntl(EditInstanceDashboardTemplate) (created by ConnectFunction)
in ConnectFunction (created by EntityDetailsPane)
in DashboardTemplateValidator (created by EntityDetailsPane)
in ErrorBoundary (created by EntityDetailsPane)
in div (created by EntityDetailsPane)
in EntityDetailsPane (created by ConnectFunction)
in ConnectFunction (created by Context.Consumer)
in injectIntl(Connect(EntityDetailsPane)) (created by Context.Consumer)
in Route (created by PropsRoute)
in PropsRoute (created by HomeApp)
in Switch (created by HomeApp)
in div (created by HomeApp)
in main (created by HomeApp)
in IntlProvider (created by IntlProviderWithLocale)
in IntlProviderWithLocale (created by HomeApp)
in HomeApp (created by HotExportedHomeApp)
in AppContainer (created by HotExportedHomeApp)
in HotExportedHomeApp (created by ConnectFunction)
in ConnectFunction (created by Context.Consumer)
in Route (created by PropsRoute)
in PropsRoute
in HelmetProvider
in LocationProvider (created by Context.Consumer)
in Route (created by QueryParamProvider)
in QueryParamProvider
in Router (created by BrowserRouter)
in BrowserRouter
in PersistGate
in Provider

this was fixed by one of my recent PRs


YARN-9375. Use Configured in GpuDiscoverer and FpgaDiscoverer

Both GpuDiscoverer and FpgaDiscoverer classes are now extending Configured.

Hi @adamantal !
Thanks for this patch. +1

Hadoop-yetus ignored this PR, closing this and reopen an other.


browser-sync version in package json needs to be higher to avoid CPU running at 100%

Update browser-sync version in package json to at least<EMAIL_ADDRESS>to avoid CPU bug... As angular.io depends on this package this is a low hanging fruit that would make people more positive towards angular2

we are at ^2.11.1 ... which is great than 2.2.3. what are you suggesting we do?

Hmm so problem is angular.io really. Cpu runs wild on windows when trying out npm start. ( after having done npm install). Problem seems to go away after removing and readding browser sync..  You are right on version number though..  I thought it was related to this project

I think you can close this issue.. Seems like browser sync + sublime build < 3083 causes your cpu to run wild due to a corrupt index. So sublime at fault but just upgrade it to latest fixes it

ok


ifm3d O3DP03 camera data getting problem

Describe the bug
auto future = fg_->WaitForFrame();  Unable to obtain frame after running function
To Reproduce
std::string camera_ip = "<IP_ADDRESS>";
int camera_port = 80;  // 假设相机的端口号是80
auto cam = ifm3d::Device::MakeShared(camera_ip, camera_port);
auto fg = std::make_shared<ifm3d::FrameGrabber>(cam, 50010);

fg->Start({ ifm3d::buffer_id::AMPLITUDE_IMAGE, ifm3d::buffer_id::RADIAL_DISTANCE_IMAGE, ifm3d::buffer_id::XYZ });

pcl::visualization::CloudViewer viewer("Real-time Point Cloud Viewer");

while (!viewer.wasStopped()) {
    auto frame = fg->WaitForFrame().get();
    ifm3d::Buffer xyz = frame->GetBuffer(ifm3d::buffer_id::XYZ);

    // ifm3d库从相机缓冲器获取的XYZ数据!!!!!
    ifm3d::Buffer_<ifm3d::Point3D_16S>  xyz_data = xyz;

    // Create a Point Cloud object
    pcl::PointCloud<pcl::PointXYZ>::Ptr cloud(new pcl::PointCloud<pcl::PointXYZ>);

    // Populate the Point Cloud with XYZ data
    for (const auto& point : xyz_data)
    {
        pcl::PointXYZ pcl_point;
        pcl_point.x = point.val[1];
        pcl_point.y = point.val[2];
        pcl_point.z = point.val[0];
        cloud->push_back(pcl_point);
    }

    pcl::io::savePCDFileASCII("point_cloud.pcd", *cloud);

    viewer.showCloud(cloud);
}

Expected behavior
A clear and concise description of what you expected to happen.
Output/Screenshots
If applicable, add console output and/or screenshots to help explain your problem.
Minimal Working Example
If applicable/possible, please provide a minimal working example which demonstrates the problem and can be run standalone.
#include <iostream>
int main()
{
  std::cout << "Hello World!" << std::endl;
  return 0;
}

Configuration/Environment (please complete the following information):

OS: [e.g. Ubuntu 18.04, Windows 10]
ifm3d version: [e.g. 0.14.0]
using ROS: [yes/no]

Camera Configuration
Please include the output of ifm3d dump
Additional context
Add any other context about the problem here.

Could you please share the version of ifm3d you are using, and the current configuration of the device (the result of ifm3d dump). Thanks

I did not notice the cam；but the fg->isRunning
() is
True

I try cam->Get() But cam does not have this function ;I try cam ->WhoAmI() output O3D

I'm sorry that's my bad, for the O3D it is cam->ToJSON().

I have anther question ； how to  using c++ code  to change  the camera trigger mode


Write splitting BAM indexes, and code for merging sharded BAM or CRAM files

This moves code from GATK to Hadoop-BAM for merging sharded BAM or CRAM files. It also adds an option to write splitting BAM indexes from MR (defaults to off). The splitting indexes (if present) are merged into a single index as a part of the merge operation.

Addresses #48, #60, and #61.

+1, we have similar code in ADAM, will be good to eliminate it.

@fnothaft would you (or someone else on the ADAM team) be able to review this? I tried running GATK with this change and it passes tests - would be good for someone to do the same with ADAM.

@tomwhite I'm traveling this week so I may be a bit slow, but I should be able to make a pass by the end of the week. Would that timing be OK for you?

@fnothaft, that would be great - thanks!

I've updated this so that it uses the Java NIO file API for metadata and merging operations (this allows it to be used from GATK which supports other NIO implementations). I've also added merge for VCF files.
@fnothaft can you take a look please? @cmnbroad, it would be great to get your feedback too.

Thanks for the review @cmnbroad! I've addressed your feedback in a new commit.

LGTM.


Move Mods for HESK Settings into rest of Settings/Tools

[ ] Move "General" tab items into their respective tabs, indicating Mods for HESK-specific settings with ... prefixes
[ ] Move "Statuses" and "UI Colors" into Tools

The tab should remain on the settings page until the next minor release v2.X.0 indicating the move. Once the next minor release has been released, the tab will be removed

Does that mean a non-"god"admin can edit this?

The items in the "General" tab will stay in settings, so the permissions to modify those won't change. For "Statuses" and "UI Colors", there will be two new permissions for non-admins, named "Manage ticket statuses" and "Manage UI colors", respectively.

Can "Manage ticket statuses" and "Manage UI colors" be switched off for non "god admins" ??

You will be able to restrict those features, yes.  Also in 2.3.0, permission groups will be added, allowing you to create different groups with different permission sets, instead of only having "Administrator" and "Staff".  Hopefully this will make more sense once it is actually implemented :smiley:

Thanks Mike. I am just so thankful that you do all this :-)


Disaster Recovery follow-up: Add tutorial on how to recover data from a either a fat finger or malicious data attack

from Chris:

[Client] really liked the new Disaster Recovery doc.  One thing they were looking for is some examples on how to recover from some of these scenarios.  I created a quick tutorial on how to do this for the “Run Differentials” section if we want to add it to our docs: https://github.com/chriscasano/cockroach-dr

Jesse:

This might also be nice to do as an interactive tutorial in katacoda. I can help with that if it's something you'd be interested in.

@jseldess I'm thinking that this might be a good starter project for Kathryn. What do you think?
There are possibly two aspects to this:

Adapt Chris' tutorial (how to recover if GC hasn't happened yet) into a tutorial and/or Katacoda interactive tutorial
Create a second tutorial on how to recover data using a backup

I think the first part is doable. Should the second part be part of the same project? Or maybe it's better as a follow up project?


Elasticsearch::Model.search multimodel always returns 10 records.

How do I override this ?

If you use the query DSL, you can do it like this,
{
        size: 20,
        query: {
          bool: {
            must: [
              { match: { name: { query: query } } },
              { match: { country_id: country.id } },
              { match: { crowd_sourced: true } },
              { match: { deleted: false } },
            ],
          }
        }
      }

The size parameter determines how many documents elastic search will return for you.

At @bhushangahire did that take care of the issue for you, and if not can you provide a little larger snippet of an example of how you're using the library?

Yes, I used similar DSL but we built custom code to build DSL dynamically.

Great!  Is there anything else you need or can you close this issue?


MRG: Add fnirs and snirf support to report

This is an issue as a PR, I have opened this for discussion.
What does this implement/fix?
Allows
report = mne.Report()
report.parse_folder(path)

to read fNIRS files stored with the pattern *-nirs.snirf as defined in the draft BIDS standard https://bids-specification--802.org.readthedocs.build/en/802/04-modality-specific-files/10-functional-near-infrared-spectroscopy.html#fnirs-recording-data
Additional information
It seems report is currently used with fiff files, are we open to extending it to other file types?
Allowing the file pattern above will facilitate reading files in the BIDS format. The fNIRS BIDS specification has moved from a community feedback stage to draft proposal: https://github.com/bids-standard/bids-specification/pull/802 However, its not finalised (as I am the BEP lead it is extremely unlikely this file pattern will change, but I am trying to think of all possible issues here).

It seems report is currently used with fiff files, are we open to extending it to other file types?

Seems reasonable to me

Seems reasonable to me

Well in that case, @larsoner @agramfort could you please review?

Thanks!!


feat: add format-imports supprt

ref: https://github.com/daidodo/format-imports

It seems not widely used yet, I need to hold it for a while longer. You may configure it on your local instead.


Handle Silo periodic boundary conditions

Description
Resolves #19501

Type of change

[ ] Bug fix
[x] New feature~~
[ ] Documentation update
[ ] Other

How Has This Been Tested?
I was given data on RZ and have been using that in testing.

Reminders:

Please follow the style guidelines of this project.
Please perform a self-review of your code before submitting a PR and asking others to review it.
Please assign reviewers (see VisIt's PR procedures for more information).

Checklist:

[x] I have commented my code where applicable.~~
[x] I have updated the release notes.~~
[ ] I have made corresponding changes to the documentation.
[ ] I have added debugging support to my changes.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have confirmed new and existing unit tests pass locally with my changes.~~
[ ] I have added new baselines for any new tests to the repo.
[x] I have NOT made any changes to protocol or public interfaces in an RC branch.~~

This is close but I am still getting issues with top and bottom faces of the global mesh...they are rendering all black.

Am capturing some notes here (looks like GitHub wants to paste them as an image...will try a second time without)

The below remarks capture some of the basic understanding I needed to write the code based on an example involving 3584 rectangular domains organized into a global mesh organized in a globally rectangular arrangement 14x16x16. Where should I put this? Is having just here in this PR ok?
For a globally and locally rectangular structure: each domain has 26 neighbors (6 face, 12 edge, 8 vertex neighbors) indexed 0...25
The DBmultimeshadj object’s `neighbors` member, A lines below, holds the 26 domain ids for each domain’s neighbors
The B line is the contents of the PeriodicDomList array and the C line is the contents of the PeriodicBndList array
Note that all array entries are sorted in monotone increasing domain id and the associated Silo plugin code takes advantage of this

1. Domain on one of the the global mesh’s vertices (domain 0, 19 neighbors are periodic neighbors, 7 are non-periodic)
A. 1, 13, 14, 15, 27, 210, 211, 223, 224, 225, 237, 238, 239, 251, 434, 435, 447, 3360, 3361, 3373, 3374, 3375, 3387, 3570, 3571, 3583,
B.     0,          0,   0,   0,   0,             0,             0,   0,   0,    0,   0,    0,    0,    0,    0,    0,    0,    0,    0
C.     1,          4,   5,   6,   7,            10,            13,  14,  15,   16,  17,   18,   19,   20,   21,   22,   23,   24,   25

2. Domain on one of the global mesh’s edges (domain 1, 15 neighbors are periodic neighbors, 11 are non-periodic)
A. 0, 2, 14, 15, 16, 210, 211, 212, 224, 225, 226, 238, 239, 240, 434, 435, 436, 3360, 3361, 3362, 3374, 3375, 3376, 3570, 3571, 3572,
B.                     1,   1,   1,                                 1,   1,    1,   1,    1,    1,    1,    1,    1,    1,    1,    1,
C.                     5,   6,   7,                                14,  15,   16,  17,   18,   19,   20,   21,   22,   23,   24,   25,

3.  Domain wholly interior in the global mesh (domain 239, 0 periodic neighbors, 26 are non-periodic)
Domain 239 is first domain wholly contained in the interior of the original set of domains.


Wiki got lost

We have a github wiki for this client in the old repository.  Do we want to move it here?

@sbendar, @claireolmstead, @wilwade: If you'd like the wiki content ported over, just enable the wiki in this repository and I can port over the full history from the old wiki.
(You might know this already, but just in case: GitHub wikis are just Git repositories themselves -- the name of the base repository with .wiki tacked on to the end.  So if you enable a wiki here, we can port the history over from the old Liberty30 wiki and push it into git@github.com:LibertyDSNP/example-client.wiki.git .)

I don't think we want to port that? I'm not sure we want to use the github wiki system and instead the website documentation. Thoughts @claireolmstead?

I was under the impression that the developer portal on the Project Liberty site would contain the docs for the Example Client, which I like becuase it ties the Example Client in with the rest of the product, rather than isolating it to the gihub repo/wiki. We can link the docs in the README.

Amen to all that.


Failed to parse Rubocop output

It starts to happen after the upgrade for RubyMine 8.
I've tried to:

Remove all my gems and reinstall it.
Move the gem from one section to other in Gemfile
I have uninstalled the plugin, removed the gem, reinstalled the gem, reinstalled the plugin
Completely remove the version 2.2.3 from rbenv and I've reinstalled everything from scratch.

Some screenshots show my environment.
Ruby 2.2.3
Rbenv
Thanks

If you do bundle exec rubocop --format json manually it works?

Yes, it works. It outputs a json with the violations. It also works when I do rubocop -R in circle ci and in the local terminal. It does not seem a problem in rubocop, but in the plugin for Rubymine.

I have this problem.
System Ruby:
ruby 2.0.0p645 (2015-04-13 revision 50299) [universal.x86_64-darwin15]

rubocop:
0.35.1

![2015-12-15 17 59 51](https://cloud.githubusercontent.com/assets/278604/11814023/aa396cca-a355-11e5-8a1a-3d95bd6a3985.png)

I have been reverting to Rubocop 0.32.1 for a few days / weeks to get this to work... is there a log file somewhere?

Ok found CONTRIBUTING.md... this is what I get in the log file:
RubyMine 8.0.2 RM-143.1184
JRE 1.8.0_40-release-b105 x86_64
Ruby 2.2.3 MRI
Rubocop 0.35
2015-12-17 08:40:50,421 [2586168]   WARN - hub.sirlantis.rubymine.rubocop - Couldn't reset stream
java.io.IOException: Resetting to invalid mark
	at java.io.BufferedInputStream.reset(BufferedInputStream.java:448)
	at io.github.sirlantis.rubymine.rubocop.RubocopTask.readStreamToString(RubocopTask.kt:143)
	at io.github.sirlantis.rubymine.rubocop.RubocopTask.logParseFailure(RubocopTask.kt:115)
	at io.github.sirlantis.rubymine.rubocop.RubocopTask.parseProcessOutput(RubocopTask.kt:86)
	at io.github.sirlantis.rubymine.rubocop.RubocopTask.runViaCommandLine(RubocopTask.kt:190)
	at io.github.sirlantis.rubymine.rubocop.RubocopTask.run(RubocopTask.kt:60)
	at io.github.sirlantis.rubymine.rubocop.RubocopAnnotator.doAnnotate(RubocopAnnotator.kt:157)
	at io.github.sirlantis.rubymine.rubocop.RubocopAnnotator.doAnnotate(RubocopAnnotator.kt:24)
	at com.intellij.codeInsight.daemon.impl.ExternalToolPass.d(ExternalToolPass.java:218)
	at com.intellij.codeInsight.daemon.impl.ExternalToolPass.access$500(ExternalToolPass.java:44)
	at com.intellij.codeInsight.daemon.impl.ExternalToolPass$1.run(ExternalToolPass.java:160)
	at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:337)
	at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:327)
	at com.intellij.util.ui.update.MergingUpdateQueue$3.run(MergingUpdateQueue.java:271)
	at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:286)
	at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:244)
	at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:234)
	at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
	at com.intellij.util.Alarm$Request$1.run(Alarm.java:352)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at com.intellij.util.concurrency.QueueProcessor$RunnableConsumer.consume(QueueProcessor.java:298)
	at com.intellij.util.concurrency.QueueProcessor$RunnableConsumer.consume(QueueProcessor.java:295)
	at com.intellij.util.concurrency.QueueProcessor$2$1.run(QueueProcessor.java:110)
	at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
	at com.intellij.util.concurrency.QueueProcessor$2.consume(QueueProcessor.java:107)
	at com.intellij.util.concurrency.QueueProcessor$2.consume(QueueProcessor.java:104)
	at com.intellij.util.concurrency.QueueProcessor$3$1.run(QueueProcessor.java:215)
	at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
	at com.intellij.util.concurrency.QueueProcessor$3.run(QueueProcessor.java:212)
	at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:365)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
	at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)

Okay this probably more useful... perhaps its hitting a Unicode BOM and failing to parse in GSON?
Nigel-MBP:codethefuture wtfiwtz$ /Users/wtfiwtz/.rvm/gems/ruby-2.2.3/gems/bundler-1.10.6/bin/bundle exec rubocop --format json /Developer/codethefuture/app/controllers/application_controller.rb
{"metadata":{"rubocop_version":"0.35.1","ruby_engine":"ruby","ruby_version":"2.2.3","ruby_patchlevel":"173","ruby_platform":"x86_64-darwin15"},"files":[{"path":"app/controllers/application_controller.rb","offenses":[{"severity":"convention","message":"Style/Documentation: Missing top-level class documentation comment.","cop_name":"Style/Documentation","corrected":null,"location":{"line":1,"column":1,"length":5}},{"severity":"convention","message":"Style/SignalException: Use `fail` instead of `raise` to signal exceptions. (https://github.com/bbatsov/ruby-style-guide#fail-method)","cop_name":"Style/SignalException","corrected":false,"location":{"line":18,"column":5,"length":5}},{"severity":"convention","message":"Style/ParenthesesAroundCondition: Don't use parentheses around the condition of an `unless`. (https://github.com/bbatsov/ruby-style-guide#no-parens-if)","cop_name":"Style/ParenthesesAroundCondition","corrected":false,"location":{"line":18,"column":45,"length":35}},{"severity":"warning","message":"Lint/UnusedMethodArgument: Unused method argument - `exception`. If it's necessary, use `_` or `_exception` as an argument name to indicate that it won't be used. You can also write as `user_not_authorized(*)` if you want the method to accept any arguments but don't care about them. (https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars)","cop_name":"Lint/UnusedMethodArgument","corrected":false,"location":{"line":21,"column":27,"length":9}},{"severity":"convention","message":"Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols. (https://github.com/bbatsov/ruby-style-guide#consistent-string-literals)","cop_name":"Style/StringLiterals","corrected":false,"location":{"line":22,"column":21,"length":48}},{"severity":"convention","message":"Style/IndentationConsistency: Inconsistent indentation detected.","cop_name":"Style/IndentationConsistency","corrected":false,"location":{"line":45,"column":5,"length":271}},{"severity":"convention","message":"Metrics/LineLength: Line is too long. [121/120] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)","cop_name":"Metrics/LineLength","corrected":null,"location":{"line":47,"column":121,"length":1}},{"severity":"convention","message":"Style/EmptyLinesAroundClassBody: Extra empty line detected at class body end.","cop_name":"Style/EmptyLinesAroundClassBody","corrected":false,"location":{"line":49,"column":1,"length":1}}]}],"summary":{"offense_count":8,"target_file_count":1,"inspected_file_count":1}

2015-12-17 08:48:56,779 [3072526]  DEBUG - hub.sirlantis.rubymine.rubocop - Executing RuboCop (SDK=/Users/wtfiwtz/.rvm/rubies/ruby-2.2.3/bin, Bundler=true)/Users/wtfiwtz/.rvm/gems/ruby-2.2.3/gems/bundler-1.10.6/bin/bundle exec rubocop --format json /Developer/codethefuture/app/controllers/application_controller.rb
2015-12-17 08:48:56,779 [3072526]   INFO - .ruby.ruby.run.RubyCommandLine - Executing [/Users/wtfiwtz/.rvm/gems/ruby-2.2.3/gems/bundler-1.10.6/bin/bundle exec rubocop --format json /Developer/codethefuture/app/controllers/application_controller.rb], working dir =[/Developer/codethefuture]
2015-12-17 08:48:57,198 [3072945]   WARN - hub.sirlantis.rubymine.rubocop - Failed to parse RuboCop output
java.io.EOFException: End of input at line 1 column 1
	at com.google.gson.stream.JsonReader.nextNonWhitespace(JsonReader.java:1414)
	at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:553)
	at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:381)
	at io.github.sirlantis.rubymine.rubocop.model.RubocopResult$Companion.readFromJsonReader(RubocopResult.kt:24)
	at io.github.sirlantis.rubymine.rubocop.model.RubocopResult$Companion.readFromReader(RubocopResult.kt:18)
	at io.github.sirlantis.rubymine.rubocop.RubocopTask.parseProcessOutput(RubocopTask.kt:83)
	at io.github.sirlantis.rubymine.rubocop.RubocopTask.runViaCommandLine(RubocopTask.kt:190)
	at io.github.sirlantis.rubymine.rubocop.RubocopTask.run(RubocopTask.kt:60)
	at io.github.sirlantis.rubymine.rubocop.RubocopAnnotator.doAnnotate(RubocopAnnotator.kt:157)
	at io.github.sirlantis.rubymine.rubocop.RubocopAnnotator.doAnnotate(RubocopAnnotator.kt:24)
	at com.intellij.codeInsight.daemon.impl.ExternalToolPass.d(ExternalToolPass.java:218)
	at com.intellij.codeInsight.daemon.impl.ExternalToolPass.access$500(ExternalToolPass.java:44)
	at com.intellij.codeInsight.daemon.impl.ExternalToolPass$1.run(ExternalToolPass.java:160)
	at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:337)
	at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:327)
	at com.intellij.util.ui.update.MergingUpdateQueue$3.run(MergingUpdateQueue.java:271)
	at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:286)
	at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:244)
	at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:234)
	at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
	at com.intellij.util.Alarm$Request$1.run(Alarm.java:352)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at com.intellij.util.concurrency.QueueProcessor$RunnableConsumer.consume(QueueProcessor.java:298)
	at com.intellij.util.concurrency.QueueProcessor$RunnableConsumer.consume(QueueProcessor.java:295)
	at com.intellij.util.concurrency.QueueProcessor$2$1.run(QueueProcessor.java:110)
	at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
	at com.intellij.util.concurrency.QueueProcessor$2.consume(QueueProcessor.java:107)
	at com.intellij.util.concurrency.QueueProcessor$2.consume(QueueProcessor.java:104)
	at com.intellij.util.concurrency.QueueProcessor$3$1.run(QueueProcessor.java:215)
	at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
	at com.intellij.util.concurrency.QueueProcessor$3.run(QueueProcessor.java:212)
	at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:365)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
	at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)

GSON was changed from 2.2.3 to 2.3.1
This might be relevant:
https://github.com/google/gson/commit/46b73632b0f7591ef1328ee7ddd1e883916fec1e
Otherwise:
https://github.com/google/gson/compare/gson-2.2.3...gson-2.3.1

Ok strangely now it works fine... I just made sure that bundle install worked within each project from inside the RubyMine IDE - Ruby 2.2.3 and 2.1.6 MRI both worked okay in the end.
I think there might be some bugs with switching between Ruby versions in RubyMine 8.0 because I've definitely noticed some strange behaviour where I set it to version X on one project and then it reverts to a different version Y.

https://youtrack.jetbrains.com/issue/RUBY-17567

I do not really understand English. :(
Do I understand correctly that the source of the problem is found?
To solve the problem I need to wait until the new version will come RubyMine, gem Robocop and/or  Robocop PlugIn?

Thanks @wtfiwtz for looking into this. Let's hope they fix this soon.

@tit @sirlantis turns out my version of ruby configured in RubyMine was being overridden by a .ruby-version file so it looks like it all works as expected.
I have seen some high CPU utilisation at times but otherwise it works fine with RubyMine 8.0.2 and rubocop 0.35.1.

Not worked. :(

Have you run bundle install from rubymine itself (tools menu?) ... have you turned on the logging  (see CONTRIBUTING.md) and what is in your rubymine log file?

I don't use budler, but I do it. bundle install from rubymine itself (tools menu?).
idea.txt

Hi @tit
Can you run the following from the command line:
cd /Users/tit/Dropbox/ruwheel
/usr/bin/ruby rubocop --format json /Users/tit/Dropbox/ruwheel/BitBucket/testing/www/spec/vv-2157_spec.rb

Tell us what output do you see?

 Please create a new issue if the problem persists.

Thanks for your effort.
Still not working. I'll open a new issue. =(

12:20:17 PM ProcessNotCreatedException: Failed to run RuboCop command - is it installed? (SDK=/Users/celsomartins/.rvm/rubies/ruby-2.2.2/bin): Cannot run program "rubocop" (in directory "/Users/celsomartins/workspace/crafters/4bricks"): error=2, No such file or directory


Satellite view appears to be broken

If not an easy fix, try #208?

I think that is using an old url for the service that no longer works. This should probably be switched to https://img.cookcountyil.gov/arcgis/rest/services/Cook2018/ImageServer

Switching to new cook gis imagery link https://github.com/fpdcc/trailsy/commit/3dd14e6749e34266f7303d051930fa4e2ee2caf1


Link for Compiling for Linux Broken?

It seems that the link for a tutorial on compiling for linux is broken and references a file that is no longer in the wiki?

You're right, its an incorrect link. It should link to https://github.com/BYU-PCCL/Holodeck/wiki/Cross-Compiling-for-Linux


Resource not found

When creating a new Resource class, be sure to make your comment being with /**  and not /*
/* Test

@namespace Test
@uri /test
*/

would not work but using
/** Test
...
did!
Such a weird behavior I tried removing the extra star and sure enough it would not load the resource.

This is correct behaviour (and perhaps should be pointed out more in
the documentation) as Tonic only looks for annotations within
doccomments but not regular comment blocks.
On 14 December 2011 04:39, acscott
<EMAIL_ADDRESS>wrote:

When creating a new Resource class, be sure to make your comment being with /**  and not /*
/* Test
 * @namespace Test
 * @uri /test
*/
would not work but using
/** Test
...
did!
Such a weird behavior I tried removing the extra star and sure enough it would not load the resource.

Reply to this email directly or view it on GitHub:
https://github.com/peej/tonic/issues/63


https://github.com/winstonjs/winston/pull/1847#issuecomment-1012363803 states:

This should be solved via #2021 and go out in the next release. Thanks!

Does anyone have objections to me preparing release notes & doing that release?
The diff is here.

Never; releases are good! :) 🚀 Thank you!


Set body on top

I am currently looking for a way, to set kind of a z-index for bodies. I have a body which replaces the cursor, and so I want it to stay on top / in the foreground all the time, so that no other body will ever overlap it.
Is there a way to do this with PhysicsJS?

Is it possible to create a main world canvas that operates on a z-index at a lower level than your cursor body?

I think all we need to do is ensure that the draw order in the renderer follows a z-index set on the style object of each body. In PIXI this is likely already taken care of


⚠ ClamAV has degraded performance

In 11e58d9, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 50 ms

Resolved: ClamAV performance has improved in f3eaeda.


Fix default enableMocks config

Note: There seems to be a bug in @embroider/macros that does not allow you to overwrite an addon's config in an app.
See: https://github.com/embroider-build/embroider/issues/885
I am working on a PR to fix the issue (hopefully).

See: https://github.com/embroider-build/embroider/pull/888