Cannot read property '_computedDataIndex' of undefined

Hey there @Yomguithereal, I've been trying to switch over to v2, and I'm running into a mysterious error that doesn't seem to be thrown every time I reload the page. I'm not quite sure what's causing this problem, but my facets don't seem to be updating quite correctly. Here's the stack trace:
Uncaught TypeError: Cannot read property '_computedDataIndex' of undefined(anonymous function)
@ cursor.js:229_getComparedPaths
@ cursor.js:222Cursor._updateHandler
@ cursor.js:164Emitter.emit
@ emmett.js:445commit
@ baobab.js:369(anonymous function) @ baobab.js:316

Any insights into this kind of issue or tips for debugging this?

Hello @tnrich. Would it be possible for you to show me what your tree looks like and to what path you bound your component please?

Hey @Yomguithereal,
Here are the path's in the component I think is screwing things up:
  cursors: {
    // visibilityParameters: ['vectorEditorState', 'visibilityParameters'],
    charWidth: ['vectorEditorState', 'charWidth'],
    preloadRowStart: ['vectorEditorState', 'preloadRowStart'],
    averageRowHeight: ['vectorEditorState', 'averageRowHeight'],
    viewportDimensions: ['vectorEditorState', 'viewportDimensions'],
    preloadBasepairStart: ['vectorEditorState', 'preloadBasepairStart'],
    selectionLayer: ['vectorEditorState', 'selectionLayer'],
    // caretPosition: ['vectorEditorState', 'caretPosition'],
    visibleRowsData: ['$visibleRowsData'],
    // rowData: 'rowData',
    totalRows: ['$totalRows']
  },

Here is what my tree looks like:
var tree = new baobab({
  vectorEditorState: {
    topSpacerHeight: 0,
    bottomSpacerHeight: 0,
    averageRowHeight: 100,
    // preloadBasepairStart: 300,
    charWidth: 15,
    CHAR_HEIGHT: 15,
    // FONT_SIZE: 14,
    ANNOTATION_HEIGHT: 15,
    minimumOrfSize: 50,
    tickSpacing: 10,
    SPACE_BETWEEN_ANNOTATIONS: 3,
    preloadRowStart: 0,
    // preloadRowEnd: 9,
    showOrfs: true,
    allowPartialAnnotationsOnCopy: false,
    showCutsites: true,
    showParts: true,
    showFeatures: true,
    showAxis: true,
    showReverseSequence: true,
    viewportDimensions: {
      height: 500, //come back and make these dynamic
      width: 500
    },
    selectionLayer: {
      start: 12,
      end: 9,
      selected: true,
      cursorAtEnd: true
    },
    mouse: {
      isDown: false,
      isSelecting: false,
    },
    caretPosition: -1,
    visibleRows: {
      start: 0,
      end: 0,
    },
    sequenceData: validateAndTidyUpSequenceData(sequenceData),
    clipboardData: null
  },
  $bpsPerRow: {
    cursors: {
      viewportDimensionsWidth: ['vectorEditorState', 'viewportDimensions',
        'width'
      ],
      charWidth: ['vectorEditorState', 'charWidth'],
    },
    get: function(state) {
      return Math.floor(state.viewportDimensionsWidth / state.charWidth);
    }
  },
  $sequenceLength: {
    cursors: {
      sequenceData: ['vectorEditorState', 'sequenceData'],
    },
    get: function(state) {
      return state.sequenceData.sequence ? state.sequenceData.sequence.length :
        0;
    }
  },
  $aminoAcidRepresentationOfSequence: {
    cursors: {
      sequence: ['vectorEditorState', 'sequenceData', 'sequence'],
      circular: ['vectorEditorState', 'sequenceData', 'circular'], //decide on what to call this..
    },
    get: function(state) {
      return getAminoAcidRepresentationOfSequence(state.sequence, state.circular); //might not want to pass circular here..
    }
  },
  $orfData: {
    cursors: {
      sequence: ['vectorEditorState', 'sequenceData', 'sequence'],
      circular: ['vectorEditorState', 'sequenceData', 'circular'], //decide on what to call this..
      minimumOrfSize: ['vectorEditorState', 'minimumOrfSize'],
    },
    get: function(state) {
      return findOrfsFromSequence(state.sequence, state.circular, state.minimumOrfSize);
    }
  },
  $rowData: {
    cursors: {
      sequenceData: ['vectorEditorState', 'sequenceData'],
      bpsPerRow: ['$bpsPerRow'],
    },
    get: function(state) {
      return prepareRowData(state.sequenceData, state.bpsPerRow);
    }
  },
  $totalRows: {
    cursors: {
      rowData: ['$rowData'],
    },
    get: function(state) {
      if (state.rowData) {
        return state.rowData.length;
      }
    }
  },
  $combinedSequenceData: { //holds usual sequence data, plus orfs, plus parts..
    cursors: {
      sequenceData: ['vectorEditorState', 'sequenceData'],
      orfData: ['orfData'],
    },
    get: function(state) {
      return assign({}, state.sequenceData, {
        orfs: state.orfData
      });
    }
  },
  $visibleRowsData: {
    cursors: {
      visibleRows: ['vectorEditorState', 'visibleRows'],
      rowData: ['$rowData']
    },
    get: function(state) {
      console.log('state: ' + state.visibleRows.start + "  " + state.visibleRows.end);
      if (state.rowData && state.visibleRows) {
        return state.rowData.slice(state.visibleRows.start, state.visibleRows.end + 1);
      }
    }
  },
  $selectedSequenceString: {
    cursors: {
      sequence: ['vectorEditorState', 'sequenceData', 'sequence'],
      selectionLayer: ['vectorEditorState', 'selectionLayer'],
    },
    get: function(state) {
      if (state.sequence && state.selectionLayer && state.selectionLayer.selected) {
        return getSubstringByRange(state.sequence, state.selectionLayer);
      } else {
        return '';
      }
    }
  }
});

Hey @Yomguithereal , I investigated further and it looks like it is on the 'visibleRowsData' that things are screwing up:

If you want, you can clone the repo and investigate directly:
https://github.com/tnrich/webpackTrial
Instructions for getting it up and running it are on that page. I'm working on the "baobabV2" branch.

Ok, it seems that somehow the watcher cursor of your component is killed within an event loop and this causes havoc. The emitter's behavior is not faulty and works as the node one would so I probably need to add some safeguards here to be sure an event won't create those kind of issues.
Let me try to fix this and get back.

Just released<EMAIL_ADDRESS>

Will do. Thanks for looking into this
On Jul 21, 2015 2:22 AM, "Guillaume Plique"<EMAIL_ADDRESS>wrote:

Just released<EMAIL_ADDRESS>
—
Reply to this email directly or view it on GitHub
https://github.com/Yomguithereal/baobab/issues/299#issuecomment-123232854
.

Hey @Yomguithereal, your changes have indeed seemed to fix the specific error that I came across. Thanks for that!
However, I am still having a (potentially unrelated) issue with facet updates. In the tree above, you can see the  '$visibleRowsData' facet is composed of two cursors, 'visibleRows' and '$rowData'. I'm not sure why, but updates to 'visibleRows' don't seem to be triggering '$visibleRowsData' to be updated as well.
Perhaps because '$rowData' is itself composed from two facets? Or maybe some other reason..? Do you have any suggestions for how to go about debugging this issue? I believe that this case had been fixed in the latest version of 1.x.x but the switch to 2.x seems to have broken it.

Hmm, perhaps I'm misunderstanding the nature of facet updates. I'll try to illustrate how I think they work with an example below:
    const tree = new Baobab({
      data: {
        number: 1
      },
      computed: {
        $one: [['data', 'number'], function (x) {
          console.log('hit: ' + x);
          return x;
        }],
      }
    });
    tree.get('computed', '$one');

    tree.set(['data', 'number'], 5);
    tree.set(['data', 'number'], 6);

    tree.get('computed', '$one');
    //hit: 1
    //hit: 6

Running this example, only 'hit: 1' and 'hit: 6' are being logged to the console. If I understand correctly, 'hit: 5' is never logged because the facet's are 'lazily computed', and no tree.get('computed', '$one') call was made to force the facet to update.
This seems like okay behavior in certain cases, but it also makes it difficult to rely on facet data to be up to date within a component:
For example, say I have a simple React component that listens to a single facet and then displays the value of the facet. Then say the underlying data for that facet has changed. What I had assumed would happen by default (but perhaps doesn't actually occur) is that my component would somehow trigger a new get() call on the facet, which would then be updated so that the component listening to it would display the recent data. This, however, doesn't seem to be the case, probably because the component has no way to tell if the facet has new data to give it because the facet only loads when needed.
Am I understanding facet behavior correctly? If so, how should I get my component listening to the facet to always stay updated with the most recent changes in underlying data? Perhaps there's a way to notify a facet that there is a component actively listening to it and thus it shouldn't lazy load?
Thanks so much!
Thomas

@tnrich: the facet's data is lazy on get indeed. So, as long as you do not try to get its data, it won't compute. However, if any of the paths on which the facet is dependent is updated, then, internally, the facet will know that its data is not up to date anymore so, next time you get it, it will be recomputed.
The example you show above is then normal. Normally, component bound to a facet will need to get said facet to tie it to props so they should get the facet's data and triggering a recompute if needed.
Could you write here a minimal example of what seems not to work for you in this case. It's still possible I have an unresolved bug that I'd need to fix.

Okay, I think I narrowed down what the error could be arising from. It appears that if a cursor holds an object, it doesn't get updated properly.  Here's a minimal example:
    const tree = new Baobab({
      rows: [1,2,3,4,5],
      visibleRows: {start: 0, end: 0},
      $rowLength: [
        ['rows'],
        function(rows) {
          return rows.length;
        }
      ],
      $specialRows: [
        ['rows'],
        function(rows) {
          return rows;
        }
      ],
      $visibleRowsData: [
        ['$specialRows'],
        ['visibleRows'],
        function(specialRows, visibleRows) {
          console.log('hit!');
          console.log('specialRows', specialRows);
          console.log('visibleRows', visibleRows);
          return specialRows.slice(visibleRows.start, visibleRows.end);
        }
      ],
    });
    tree.get('$visibleRowsData');
    tree.select('visibleRows').set({start:1,end:4});
    tree.get('$visibleRowsData');

Here, 'hit!' is only logged once to the console.
I hope that this is indeed the bug.

Ok, let me check that and fix this tomorrow :).

Hello @tnrich. The bug should be fixed in 2.0.0-dev11.

Thanks for fighting on the frontline @tnrich :).

Awesome thanks @Yomguithereal !

Hey @Yomguithereal , I did the update and it seemed to have made things a little better but there still seem to be issues. I'll work on identifying them.

I released 2.0.0-dev12 in the meantime. This could have fixed some of your issues, per chance.

Thanks @Yomguithereal , I'll check it out!

Hey @Yomguithereal, I've been writing a few simple tests in my code to make sure the tree I'm using behaves as expected. It's too early to say for sure, but from what I can tell, the tree is performing as expected.
I just did a big clean-up of my code and got rid of the react-router stuff I had in there and it seems to be working better already. I think there might have been issues with the baobab-react mixin not playing nicely with the react-router code. It might be worth looking into whether or not other people are also experiencing issues when using baobab-react with react router.

Closing this as my issues have seem to gone away. I wonder if anyone using react router is still experiencing any strangeness. I unfortunately don't know because I removed it from my app.


clean up examples

Removes modular interfaces for all languages but python
removes all static interface examples and desriptions
removes all GUI* static interface classes of libshogun

@vigsterkr please merge if you are fine with it


Non standard ssl port issue

I try to make caddy a frontend for my apache2 server which will host a wordpress site.
I configure the apache with ssl on non standard port which is port 444, which means I can view my website through https://mydomain.com:444. It works well.
Then I make caddy listen port 443 and configure it to proxy https://mydomain.com:444 and I set the Host to mydomain.com, as I expected, when I enter the url https://mydomain, caddy will accept it and pass it to https://mydomain.com:444 and the apache server will finish the request and return the content with a host of mydomain.com. But caddy report an error 502 Bad Gateway and the error from the errors told me [ERROR 502 /index.php] unreachable backend
I was confused about that.
I try to remove the ssl from caddy to apache server, it works by some degree, but the apache server return the host mydoaim.com in http scheme, which will lead to a warning in browsers such as chrome.
Help wanted.
Yours

I think the key point is, whether caddy support proxy / https://mydomain.com:444, Maybe it is not.

Do you see any output in the console like this?
2015/07/20 12:26:15 http: TLS handshake error from <IP_ADDRESS>:55519: remote error: bad certificate

Anyway, I was able to duplicate the error, but I'm using a self-signed certificate for testing purposes. In the browser you can bypass the warning, but Caddy is not programmed to bypass certificate errors.
As for the Host in the response, I may need to tweak some proxying headers. Let me know about the console error messages and if your certificate is trusted or self-signed.

Not at all. I didn't see such errors. All the errors I say is that the backend unreachable.
BTW: I use COMODO ssl certificate. And the site works well from the Internet when access by https://mydomain.com:444. And when I change the proxy / https://mydomain.com:444 to proxy / https://www.google.com it works well too.

Well, I'm stumped. I can't reproduce this error. If you'd like, I could use your same domain name as you are using and try to see what's going on. You may email your Caddyfile to me or we can set up a time for a chat on my private server.

Also, what version of Caddy are you using?

The latest release version.

@bigtan Okay. Well, this is really bothering me. I'd like to see exactly what you're seeing (since I can't seem to reproduce the same problem). Would you like to show me? Feel free to start a private chat at matt.chat and if I'm not online, send me an email or something and we can schedule a chat if you'd like.

I think that I am having a similar problem.  This is with SSL termination at the Caddy server.
Caddyfile:
https://localhost:2023 {
tls ./key/cert.pem ./key/key.pem
log ./log/access.log
root ./www
jsonp /status.json
proxy /api/status http://localhost:8204/ {
proxy_header X-Caddy-When-TLS server-{when}
}
}
Request in Chrome on Mac result in a file download of an empty file and an error on the server of:
  2015/09/11 11:08:09 http: TLS handshake error from [::1]:60201: tls: first record does not look like a TLS handshake

I am using self signed certificates for Caddy.
This may be a different problem.

@pschlump Your proxy backend is explicitly defined as plaintext http: http://localhost:8204/ - so I doubt a HTTPS connection is being made.
@bigtan I know it's been, like, 5 months, but are you still having this problem? :smile:

I was able to reproduce this too.
Caddyfile and the faulty URL: https://gist.github.com/vibhavp/d50e5bd1f7147a6e7e71
Here's the error log:
06/Mar/2016:20:10:39 +0530 [ERROR 502 /openidcallback] unreachable backend
<IP_ADDRESS> - [06/Mar/2016:20:10:39 +0530] "GET /openidcallback?openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=id_res&openid.op_endpoint=https%3A%2F%2Fsteamcommunity.com%2Fopenid%2Flogin&openid.claimed_id=http%3A%2F%2Fsteamcommunity.com%2Fopenid%2Fid%2F76561198038988384&openid.identity=http%3A%2F%2Fsteamcommunity.com%2Fopenid%2Fid%2F76561198038988384&openid.return_to=https%3A%2F%2Fvibhavp.duckdns.org%3A8080%2Fopenidcallback&openid.response_nonce=2016-03-06T14%3A40%3A32Z2kCZcG3RAl0wbFUAsnK7b68fgzM%3D&openid.assoc_handle=1234567890&openid.signed=signed%2Cop_endpoint%2Cclaimed_id%2Cidentity%2Creturn_to%2Cresponse_nonce%2Cassoc_handle&openid.sig=9kFCjPl5%2BW9izO%2FpK31PteM3X7c%3D HTTP/2.0" 502 16
However, visiting this URL again works:
<IP_ADDRESS> - [06/Mar/2016:20:20:18 +0530] "GET /openidcallback?openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=id_res&openid.op_endpoint=https%3A%2F%2Fsteamcommunity.com%2Fopenid%2Flogin&openid.claimed_id=http%3A%2F%2Fsteamcommunity.com%2Fopenid%2Fid%2F76561198038988384&openid.identity=http%3A%2F%2Fsteamcommunity.com%2Fopenid%2Fid%2F76561198038988384&openid.return_to=https%3A%2F%2Fvibhavp.duckdns.org%3A8080%2Fopenidcallback&openid.response_nonce=2016-03-06T14%3A40%3A32Z2kCZcG3RAl0wbFUAsnK7b68fgzM%3D&openid.assoc_handle=1234567890&openid.signed=signed%2Cop_endpoint%2Cclaimed_id%2Cidentity%2Creturn_to%2Cresponse_nonce%2Cassoc_handle&openid.sig=9kFCjPl5%2BW9izO%2FpK31PteM3X7c%3D HTTP/2.0" 500 47
(that 500 is due to a faulty query, and not caddy)

@vibhavp Could you open a new issue and follow the bug report template? Strip out anything unnecessary for reproducing the bug, and we'll see if that makes it any easier. Make sure you give us enough specific info to reproduce it easily. Thanks!


Enable AWS

Signed-off-by: denis-tingajkin<EMAIL_ADDRESS>
Description
The fix for https://github.com/networkservicemesh/networkservicemesh/pull/1443 possibly fixed the issue with AWS.
Motivation and Context

How Has This Been Tested?

[ ] Covered by existing integration testing
[ ] Added integration testing to cover
[ ] Tested locally
[ ] Have not tested

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Please rebase. Looks promising.


System.Text.Json.JsonException

@taooceros Is this error related to the json change?

Oh I believe it will throw the error when the string is empty.

Found an issue, that we should move the command.json to LocalAppdata to avoid deleting when update. However, it is still in appdata now. The pluginmetadata.plugindirectory seems to be the path for the place storing the dll.
We need to change that to %appdata%\FlowLauncher\Settings\Plugins\{PluginName}


Unhandled Character Entities

The following character entities do not appear to be retained after a call to jsoup.clean():
€Œœ‚„™•→⇒⇔♦≈
Test case:
@Test public void entities() {
	String html = "
€Œœ‚„™•→⇒⇔♦≈
";
    Whitelist whitelist = Whitelist.none();
    whitelist
    	.addTags("p");
    String html = Jsoup.clean(html, whitelist);
    assertEquals("
€Œœ‚„™•→⇒⇔♦≈
", html);
}

This looks to be due to the document output settings. If I fix the escapemode to "extended", these entities do get retained. Maybe some way of configuring the output settings to be used by the clean() function would be useful? This would cover the disabling of pretty printing as raised in issue #148.


cassandra_int_tests: add node lost test case

Still need to investigate and fix the problem this reveals.
But dumping this here as a draft as I'm working on something else first.

This is working now, I believe it was fixed by: https://github.com/shotover/shotover-proxy/pull/873


Add tooltips to Skew column

Description
Add a tooltip to explain in a sentence or two exactly what the Skew column is displaying.

See also https://github.com/The-OpenROAD-Project/OpenROAD/issues/5002 that has been following some bugfixes in Skew column.
Suggested Solution
Add a terse exact definition of the Skew column in tooltips.
Using this definition, it should be possible to corroborate that information in the Skew column with report_clock_skew or other sources in mock-array and mock-array/Element from within the OpenROAD GUI.
Additional Context
No response

Do you have some text in mind?

Do you have some text in mind?

@tspyrou ?

Any ideas here?

How about " path clock skew crpr corrected". Is that too long?

How about " path clock skew crpr corrected". Is that too long?

Looks good. What is the equivalent OpenSTA syntax to reproduce this skew number?

I'll also add the tooltips for the other new columns.
@maliberty Would it be consistent to say:
Logic Delay: Non-buffer gate delays with no wire delay.
Logic Depth: Number of instances apart from buffers and back-to-back inverters.
*One thing I was thinking is that we're also counting registers in the logic depth. Would that be concise?
@oharboe Any opinions on these being too long?

Looks good!


how to create merge reqeust from remote origin to remote upstream

we are using git with fork based workflow.
using this plugin how can i make a merge request from "forked" origin remote repository to upstream ?
thanks for your great work.

Hello,
This plugin currently assumes the feature branch and base branch are in the same repository (in this case origin) and the ability to add cross-remote logic would be a net-new feature.

Hello @jjpark78 can you please try the branch and tell me whether this implements the functionality you want? You should:

Check out the feature branch above
Rebuild the Go server (either run make compile in the plugin source or :lua require("gitlab.server").build()
Try to create an MR into a forked source

This is working for me!

This has been merged into main.


fix rfc4074 behaviour

fixes #124

I can confirm that this fix works. Query for AAAA record that does not exist but there is an A record for the same name correctly returns status: NOERROR and Bind 9 as a caching resolver in-front of this fixed k8s_gateway correctly caches such response so that it does not overwrite positive A answer for the same name. Thanks for quick response.


Implement writable streams for natively streaming inserts

Is your feature request related to a problem? Please describe.
It would be really useful to be able to natively stream records directly into a table (via /insertAll). This would make it much more accessible to transfer significant amounts of data on low-resource platforms like cloud functions.
Describe the solution you'd like
A Table method similar to createWriteStream() in the @google-cloud/storage package. Being able to just call mySourceStream.pipe(myTable.createWriteStream()) would be super helpful.
Describe alternatives you've considered
I've managed to get roughly the functionality I'm looking for by calling insert() in arbitrarily sized batches, i.e.
class TableWriteableStream extends Writable {
  constructor (destinationTable) {
    super({ objectMode: true })
    this.destinationTable = destinationTable
    this.records = []
  }

  _write (chunk, encoding, callback) {
    this.records.push(chunk)
    // Every 500 records, call insert()
    if (this.records.length >= 500) {
      const recordsToInsert = this.records
      this.records = []
      this.destinationTable
        .insert(recordsToInsert)
        .then(() => { callback() })
    } else {
      callback()
    }
  }

  _final (callback) {
      // Insert any remaining records ...

Additional context
This is somewhat related to #75, though that seems focused on compression (which would be a great option for this feature, just like the 'gzip' option for the @google-cloud/storage function).

I think this would make a pretty good addition to the client. We already have a table.createWriteStream() method that streams into a load job, so this would need to be called something else (like table.createInsertStream() maybe?).
Since we would be piggy backing off of the insert API, I imagine this would be limited to writing only JSON.
createRowStream()
  .pipe(table.createInsertStream({
    // should accept all valid insert options
    ignoreUnknownValues: true,
    // allow users to configure batch size
    maxRecords: 1000,
    // allow users to configure stream options
    streamOptions: {highWaterMark: 16},
  }))
  .on('error', err => {
    // err would be an API error
  })
  .on('response', resp => {
    // resp would be the full insertAll response from the most recent batch
  })
  .on('finish', () => {
    // fires when the stream is done
  });

@tswast @shollyman @bcoe any thoughts/feelings here?

@callmehiphop is there any documentation on the difference between streaming data into BigQuery with table.createWriteStream vs table.insert; my understanding is the former creates a "load job" whereas the latter does not -- I can't find much information on what this means in practical terms?
Additionally, I think one reason I struggle to understand this is the fact that BigQuery streaming !== Node streaming so even though table.insert is not a streaming API in Node terms, it is a streaming API in BigQuery terms?
Aside, if you were to expose a writable insert API, I don't think it should be the responsibility of this client to batch as there's loads of existing packages which do this, e.g.
import BatchStream from 'batch-stream';

createReadableStream()
  .pipe(new BatchStream({ size : 1000 }))
  .pipe(table.createInsertStream());

Or using highlandjs:
import _ from 'highland';

_(createReadableStream())
  .batch(1000)
  .pipe(table.createInsertStream());

Totally agree I've jumped through hoops trying to get insertAll to behave properly as it seems to cancel the last batch if it didn't finish in time. Tried to implement as a stream of queued promises but it's still erroring. Seems like a pretty fundamental thing to have for a BigQuery DB, not assuming we are using files to stream in. Didn't find https://cloud.google.com/solutions/streaming-cloud-pub-sub-messages-over-websockets helpful I don't want to implement a filesystem or pub/sub just stream from a high frequency websocket.

Possibly related, would be nice for this lib to implement https://cloud.google.com/bigquery/docs/write-api

Possibly related, would be nice for this lib to implement https://cloud.google.com/bigquery/docs/write-api

Perhaps use that Storage Write API through gRPC and this:  https://googleapis.dev/nodejs/common-grpc/latest/ ?


runtime(kdl): use shiftwidth() instead of &tabstop

@dkearns  thinks we should use shiftwidth() rather than &tabstop, so do I. https://github.com/vim/vim/pull/14956#discussion_r1633759322

thanks!


Push down raw values to storage in filter

The following filter won't be pushed down to storage.
filter(fn: (r) => r["_value"])

In general, this isn't a valid query that returns a boolean because _value is usually not a boolean. But, when _value is a boolean, this filter is valid and should be pushed down just like:
filter(fn: (r) => r["_value"] == true)

Because of the difference in the planner, these queries perform at vastly different speeds. We should address this difference. The planner should be able to push down the first one and storage can reject the filter if _value is not a boolean value.

@jsternberg Can you explain what you mean by

storage can reject the filter if _value is not a boolean value.
Do you mean that storage can just return an error for that case? Since I would expect that Flux would produce an error if we did not push it down and r["_value"] was not a bool.


Support for yearly events

maybe something like
dancerfly.com/eventname/2015
and dancerfly.com/eventname can redirect to the current one
Related to #299, maybe

I don't think the solution to this ticket is to give annual events should have their own URL scheme. I think there are solutions that would work more generally including for things like monthly events, biannual events, events that recur irregularly, etc.

Encourage people to use things like dandelion-romp-2015 as their slugs.
Alongside #300 give events URLs like /<organization>/<event-slug>/.
Give events URLs like /<user>/<event-slug>/.
Force-prepend unique IDs to event slugs, like Tumblr does for posts.

Solutions 1 and 2 are my favorites. Solution 4 is my least favorite.

I like nos. 1 and 2 also.

I prefer #1, since it allows us to have /orgs/<org-slug>/ without the further nesting of event-slug.
But I would also be down with `///' potentially with a drilldown list functionality.

If it's between those two I have a preference for #1 since not all recurring events are annual. Though I'm curious why you don't want to allow orgs to occupy a root-level URL slug. URLs like http://dancerfly.com/ydw/2015 or http://dancerfly.com/leaf/spring2015/ make a lot of sense to me.

Though I suppose slug uniqueness enforcement/non-enforcement would get complex if we had both standalone events and orgs occupying the same URL structure.

Also OpenDance apparently uses a form and cookies to keep track of what year of an event you are looking at??

Yeah, the biggest issue is having events and orgs share the same slug-space. Though we could probably make it work.
But there's also the issue that not all orgs would make sense to organize that way. YDW is the name of the org, but it's also the name of the event.
As opposed to cmDance, which runs Lindy Diversion, Denver Tango Week, Lindy On The Rocks, Denver Vintage Jazz Festival, and Rocky Mountain Balboa Blowout. Or Groove Juice Swing, which runs Slow Dance Soiree and Stompology.
The org name is not necessarily how people know the event. It's just another thing for them to remember.

Hm. That's an interesting point. But in those cases, is the concept of an organization that mirrors real-world organizations still useful for those events? I thought the point of an organization was to group events together.

Maybe I'm just not understanding what the purpose of an org is, which is maybe a separate issue.

Not in my mind. Like, I think it makes sense to have a concept of a series of events, but I think it makes sense to have a separate concept of orgs that handle shared / default permissions / settings.
For example, if we were to take on a client that used us for series classes, and they started 10 or more different series classes every six weeks, those "events" wouldn't necessarily be part of the same series, but they would absolutely be part of the same organization. And it would be a PITA to manage them any other way. (Although for that situation, <org-slug>/<event-slug> might make sense...)

I think I would do org/event, and if it's like ydw, you have ydw/2015 and if it's like cmdance, you have cmdance/lindy-diversion-2015

and then if someone goes to dancerfly.com/ydw there would be a link from there to dancerfly.com/ydw/2015 so it would be ok

It sounds like we might want to have all events be run by "organizations", then? i.e. we would move all the permission handling (inviting editors, etc.) up to the organization level? I'd be down with that. It would fix the namespacing issue and it would keep us from having duplicate permissioning data on the org and event.

I would be interested in doing that, but I also feel like I need to meditate on this question a while longer before I'm sure what I want, haha.

So... a question on my mind is this: will people be putting this address on flyers and event materials? I think so. Which means there's a case to be made for ensuring the URL can be as short as possible.
But OTOH that's partially their responsibility, and also they can just use a URL shortener.

I'm leaning extremely strongly in favor of doing /org-slug/event-slug/ for all events and having a "flexible" interpretation of what an "organization" can be - i.e. in general paralleling real-world orgs, but not necessarily.

Resolved by #a4a975453f9143d16096f374da3df5c5f59ecbbd


Exception thrown when validating UUIDs

When validating UUIDs an exception is thrown if the data type is "number". This is ridiculous and it should just fail validation instead of throw an exception. This library is used as the frontline for validation of user input, when validating a JSON POST body that's been parsed out from a JSON string, this is problematic for obvious reasons.

It's a string validation library; it's up to the caller to pass a string. If you're accepting and validating user input, and you're not sure if it's a string, try coercing it using input + "".

There's no reason why it can't just fail on another data type.

It does fail, with an error.
I know it might make sense for this particular validator to reject data types other than a string, but it doesn't make sense for all validators. If there was an if (typeof input !== 'string') return false; in each validator then something like isNumber(3) would return false and be a source of confusion.
Why not have validators accept other types? Because you would then need to handle special cases like Nan, Infinity, etc. everywhere. There are also float issues to be aware of. For example, something like isDecimal(1.3 + 0.1, {decimal_digits: '2,2'}) would fail because:
> 1.3 + 0.1
1.4000000000000001

Why not coerce input for the caller? a) because of the float issue described above, and b) because JavaScript calls toString on the input, and it's possible to override it:
> const input = {toString: function () { throw new Error('oops') }}
> input + ''
Error: oops
    at Object.toString (repl:1:46)

so tl;dr we provide low-level string validation primitives and it's up to the caller to deal with all of these quirks.


PyPI release exclusion pattern should also match PyPy 2.7 not only CPython 2.7

Fixed as part of #63


No Longer receiving playlist msg

while downloading a video through ffmpeg im getting this msg

Why does the "no longer receiving playlist" msg come.....also the bitrate drops???
Is there a way to avoid it???
One more thing the max bitrate for this stream is 6130 kbps but the max i get is only around 3000 kbps WHY???

The bitrate is the conversion bitrate, not the video bitrate.
As for the error messages, this is not a fluent-ffmpeg but a ffmpeg issue, please see the ffmpeg docs/community.


Fix docs

adds missing tabs packages
better perf for docs

P.S. review after changesFor39 are in

Failed pictures (5): [failed-pictures.zip]

:postbox: Posted by artipost.io, through Travis build 431727661, for commit c236600.

Looks good so far

Failed pictures (2): failed-pictures.zip

:postbox: Posted by artipost.io, through Travis build 431925027, for commit b1c7049.

@cromefire ready for review


As a writer with some technical knowledge, I want to write content so it can be published and enhance the handbook's learning resources.

User Story
As a writer with some technical knowledge, I want to write content so it can be published and enhance the handbook's learning resources.
Definition of Done
The user should be able to run the CMS locally, create and edit some content, and publish the changes to GitHub.
Editing should allow the writer to:

[ ] Write and format text
[ ] Upload images
[ ] Add admonitions

Bonus tasks

[ ] automatically add a styled warning at the top of the page, stating that it is a brand new work in progress, using templated admonitions
Depending on how complicated this part is, it might be worth creating a separate issue.

User persona
Someone able to:

Pull the Git Repository and run it locally
Push the changes

As a replacement for the current CMS, we will use TinaCMS, which seems to integrate seamlessly with Docausorus: docusaurs setup guide


Refactor command package

Solve : #18
Reference:

https://github.com/golang-standards/project-layout/tree/master/cmd

Hola @situmorangbastian , please add unit test to your command package so we can improve the reliability of this service. You could inject the variable from main package into cmd package and have unit test to cover it.
Some sample unit test in cmd package is maybe like this:

https://github.com/coronatorid/core-onator/blob/master/provider/infrastructure/command/db_migrate_test.go
https://github.com/coronatorid/core-onator/blob/master/provider/infrastructure/command/db_reset_test.go

Hola @situmorangbastian , please add unit test to your command package so we can improve the reliability of this service. You could inject the variable from main package into cmd package and have unit test to cover it.
Some sample unit test in cmd package is maybe like this:

https://github.com/coronatorid/core-onator/blob/master/provider/infrastructure/command/db_migrate_test.go
https://github.com/coronatorid/core-onator/blob/master/provider/infrastructure/command/db_reset_test.go


Updated tests to the latest branch

Tests baseline completed across all pallet extrinsics

Thanks. Appreciate it.
On Wed, 23 Mar 2022, 7:01 pm Sam Elamin, @.***> wrote:

Merged #20 https://github.com/ImbueNetwork/imbue/pull/20 into main.
—
Reply to this email directly, view it on GitHub
https://github.com/ImbueNetwork/imbue/pull/20#event-6289326916, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACQCRDIGLQIDMLQTEAUK5J3VBLFT3ANCNFSM5RNFNEPA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Prosody Cloning Code

Can anyone pls provide prosody cloning code to generate examples like this, https://toucanprosodycloningdemo.github.io/ ?

Here is the example script from the top level of the toolkit:
https://github.com/DigitalPhonetics/IMS-Toucan/blob/b4991d48fc3f6f576f8c937cc117e1cdd923ad55/run_prosody_override.py

Thank you


Make help text in the Add Media Item list a bit more descriptive

Currently, this list looks like this:

I'd like to suggest changing the text beneath "Image" entry to read "Images other than TIFFs and JP2s (use "File" for those)."
For the "File" entry, change it to "Files that do not fit into other types listed here. Also use for TIFFs and JP2s."
For "Document", change it to "PDF and other document files."

I like this suggestion (and I think I could actually volunteer to do the work!), but would be be clashing with anything on the Drupal side by changing these? Are some of them the Drupal defaults?

Those entries are defined by Islandora Defaults in islandora_defaults/config/install/media.type.file.yml, islandora_defaults/config/install/media.type.document.yml, and islandora_defaults/config/install/media.type.image.yml. Once you change those files, you'll need to refesh the config by running drush cim --partial --source=modules/contrib/islandora_defaults/config/install/ (I think that should do it).

You could also edit the description in the Media Type's edit form and then re-export islandora_defaults if you want less yml wrangling.

Islandora Defaults fixes this after all of our in-depth discussion, but the Sandbox and the Install Profile don't. The sandbox looks like this as of today:


Permissions: handle permissions in a separate page

Hello,
Is your feature request related to a problem? Please describe.
I'm using ESGST on Android + Firefox, the only problem I have is that the autorisation cannot be enabled in the settings with Android version (settings "radio button" not working) and so each time I load a page I have a Pop-up saying that I'm missing autorisation which is display and it's embarrassing because Pop-up all the time.
Describe the solution you'd like.
Can you please remove this pop-up of autorisation only on the Android version of ESGST ?
Additional Context
I'm using Android 10 + Firefox + ESGST latest release.
Thanks per advance for your help :)

Ok I made it, but it's really not easy and tooks me a long time before to complete, I don't have zoomed and I double clicked several times on the checkboxes with my big finger.
Please now don't make any changes in these options, I'm not sure I'll be patient enough to do it once again :)

I finally added a separate page for handling permissions. You should be able to access it from the settings menu. Let me know if it works.


How to display images inplace of Thumbs?

I have a requirement to display image instead of round or ractangle thumbs.
I have tried to override the draw method.still I'm not getting expected result

Hi @shwethapuj How you adjust the thickness of the line? thanks in advance?


add or change section titles as well as inline references

It was brought to our attention all sections of a publication normally have titles. None of the "PART" sections had titles therefore, we revised the publication once more to add and/or change where relevant. These are the suggestions from LSP. Please let me know if this works for you or propose changes.
Thanks.

Thanks for your quick responses!


Grassfire Algorithm

Use case
Implementing the grassfire algorithm on graph-based problems. For any 2D sampled plane divided into finite squares with known obstacles, find the shortest distance between any two points. Assume equal weights.
Proposal
Use the graph_test.cpp under test to implement grassfire algorithm
About grassfire: https://aerial-robotics-iitk.gitbook.io/wiki/concepts/path-planning/untitled
Indicate minimum steps required to move from the initial cell to the target cell

I can work on this feature.


DLTS commissioning from mobile app.

Describe the bug
A clear and concise description of what the bug is.
Need to commissioning from hybrid mobile app. I have install "npm i node-dtls-client" and i follow the instruction but didn't work.
code:
var dtls = require('node-dtls-client');
dtls.setLogLevel(dtls.logLevel.FINE);

var client = dtls.connect(4915, '<IP_ADDRESS>', 'udp4', function () {
  client.send(new Buffer('foo\n'));
});

client.on('message', function (msg) {
  console.log(msg);
});

To Reproduce
Information to reproduce the behavior, including:

Git commit id
IEEE 802.15.4 hardware platform
Build steps
Network topology

Expected behavior
A clear and concise description of what you expected to happen.
Console/log output
If applicable, add console/log output to help explain your problem.
error getting :
Error: ./node_modules/node-dtls-client/build/dtls.js
Module not found: Error: Can't resolve 'dgram' in '/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/node-dtls-client/build'
resolve 'dgram' in '/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/node-dtls-client/build'
Parsed request is a module
using description file: /Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/node-dtls-client/package.json (relative path: ./build)
Field 'browser' doesn't contain a valid alias configuration
after using description file: /Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/node-dtls-client/package.json (relative path: ./build)
resolve as module
looking for modules in /Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules
using description file: /Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
after using description file: /Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/package.json (relative path: ./node_modules)
using description file: /Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/package.json (relative path: .)
no extension
Field 'browser' doesn't contain a valid alias configuration
/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram is not a file
.ts
Field 'browser' doesn't contain a valid alias configuration
/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram.json doesn't exist
as directory
existing directory
use ./index.js from main in package.json
using description file: /Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/package.json (relative path: .)
Field 'browser' doesn't contain a valid alias configuration
after using description file: /Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/package.json (relative path: .)
using description file: /Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/package.json (relative path: ./index.js)
no extension
Field 'browser' doesn't contain a valid alias configuration
/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/index.js doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/index.js.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/index.js.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/index.js.json doesn't exist
as directory
/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/index.js doesn't exist
using path: /Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/index
using description file: /Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/package.json (relative path: ./index)
no extension
Field 'browser' doesn't contain a valid alias configuration
/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/index doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/index.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/index.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/index.json doesn't exist
[/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram]
[/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram.ts]
[/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram.js]
[/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram.json]
[/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/index.js]
[/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/index.js.ts]
[/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/index.js.js]
[/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/index.js.json]
[/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/index.js]
[/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/index]
[/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/index.ts]
[/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/index.js]
[/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/dgram/index.json]
@ ./node_modules/node-dtls-client/build/dtls.js 3:14-30
@ ./src/pages/scan-wifi/scan-wifi.ts
@ ./src/app/app.module.ts
@ ./src/app/main.ts,./src/pages/scan-wifi/scan-wifi.ts
Module not found: Error: Can't resolve 'nodejs-dtls' in '/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/src/pages/scan-wifi'
resolve 'nodejs-dtls' in '/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/src/pages/scan-wifi'
Parsed request is a module
using description file: /Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/package.json (relative path: ./src/pages/scan-wifi)
Field 'browser' doesn't contain a valid alias configuration
after using description file: /Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/package.json (relative path: ./src/pages/scan-wifi)
resolve as module
looking for modules in /Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules
using description file: /Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
after using description file: /Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/package.json (relative path: ./node_modules)
using description file: /Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/package.json (relative path: ./node_modules/nodejs-dtls)
no extension
Field 'browser' doesn't contain a valid alias configuration
/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/nodejs-dtls doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/nodejs-dtls.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/nodejs-dtls.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/nodejs-dtls.json doesn't exist
as directory
/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/nodejs-dtls doesn't exist
[/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/nodejs-dtls]
[/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/nodejs-dtls.ts]
[/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/nodejs-dtls.js]
[/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/nodejs-dtls.json]
[/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/nodejs-dtls]
@ ./src/pages/scan-wifi/scan-wifi.ts 14:11-33
@ ./src/app/app.module.ts
@ ./src/app/main.ts
at new BuildError (/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/@ionic/app-scripts/dist/util/errors.js:16:28)
at callback (/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/@ionic/app-scripts/dist/webpack.js:121:28)
at emitRecords.err (/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/webpack/lib/Compiler.js:265:13)
at Compiler.emitRecords (/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/webpack/lib/Compiler.js:371:38)
at emitAssets.err (/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/webpack/lib/Compiler.js:258:10)
at applyPluginsAsyncSeries1.err (/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/webpack/lib/Compiler.js:364:12)
at next (/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/tapable/lib/Tapable.js:218:11)
at Compiler.compiler.plugin (/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/webpack/lib/performance/SizeLimitsPlugin.js:99:4)
at Compiler.applyPluginsAsyncSeries1 (/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/tapable/lib/Tapable.js:222:13)
at Compiler.afterEmit (/Users/vetri/Vetri's Work Space/Projects/BLE_Stack/BLE/node_modules/webpack/lib/Compiler.js:361:9)
M
Additional context
Add any other context about the problem here.

@gidhin From https://www.npmjs.com/package/node-dtls-client, it seems this module doesn't support the cipher suite required by Thread commissioning. I think you should try https://github.com/particle-iot/node-mbed-dtls.

I have try this one but not working for me.
error : Module not found: Error: Can't resolve 'dgram'
"node-dtls-client/build"
code is not working for me.
let option = {
type: "udp4",
address: "<IP_ADDRESS>",
port: 4915,
psk: { "psk_hint": "PSK" },
timeout: 1000, // in ms, optional, minimum 100, default 1000
ciphers: ["TLS_PSK_WITH_3DES_EDE_CBC_SHA",
"TLS_PSK_WITH_AES_128_CBC_SHA",
"TLS_PSK_WITH_AES_256_CBC_SHA",
"TLS_PSK_WITH_AES_128_CBC_SHA256",
"TLS_PSK_WITH_AES_256_CBC_SHA384",
"TLS_PSK_WITH_AES_128_GCM_SHA256",
"TLS_PSK_WITH_AES_256_GCM_SHA384",
"TLS_PSK_WITH_AES_128_CCM_8",
"TLS_PSK_WITH_AES_256_CCM_8"]
}
const dtls = require('node-dtls-client');
const socket = dtls.createSocket(option).on("connected", () => {/* start
sending data */
console.log("dtls testing");
});
i'm working on ionic application
Thanks and Regards,
Gidhin S
On Tue, May 7, 2019 at 11:34 AM Yakun Xu<EMAIL_ADDRESS>wrote:

@gidhin https://github.com/gidhin From
https://www.npmjs.com/package/node-dtls-client, it seems this module
doesn't support the cipher suite required by Thread commissioning. I think
you should try https://github.com/particle-iot/node-mbed-dtls.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openthread/openthread/issues/3802#issuecomment-489920874,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGTE332PX6CXKWC3OW3SWW3PUELYBANCNFSM4HLFRHCA
.

@gidhin, from your note above, it seems you are still using node-dtls-client, which does not support the ciphersuite TLS_ECJPAKE_WITH_AES_128_CCM_8  that Thread utilizes.
As @bukepo noted above, you can try with node-mbed-dtls.

Thanks for the update. Will check and let you know.
Thanks and Regards,
Gidhin S
On Thu, May 23, 2019 at 10:57 PM Jonathan Hui<EMAIL_ADDRESS>wrote:

@gidhin https://github.com/gidhin, from your note above, it seems you
are still using node-dtls-client, which does not support the ciphersuite TLS_ECJPAKE_WITH_AES_128_CCM_8
that Thread utilizes.
As @bukepo https://github.com/bukepo noted above, you can try with
node-mbed-dtls https://github.com/particle-iot/node-mbed-dtls.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openthread/openthread/issues/3802?email_source=notifications&email_token=AGTE3363E6NYGXK4VNAL4DDPW3HWLA5CNFSM4HLFRHCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWC5NYA#issuecomment-495310560,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGTE335HZTCZHIWKRKWKXLDPW3HWLANCNFSM4HLFRHCA
.

Hi
Im getting this error  :
The DTLS handshake timed out
at Socket.expectHandshake
This is my code
var dtls = require("node-dtls-client").dtls;
options = {
type: "udp6",
address: "<IP_ADDRESS>",
port: 49888,
psk: {
"psk_hint": "PSK"
},
timeout: 1000, // in ms, optional, minimum 100, default 1000
ciphers: ["TLS_PSK_WITH_3DES_EDE_CBC_SHA",
"TLS_PSK_WITH_AES_128_CBC_SHA",
"TLS_PSK_WITH_AES_256_CBC_SHA",
"TLS_PSK_WITH_AES_128_CBC_SHA256",
"TLS_PSK_WITH_AES_256_CBC_SHA384",
"TLS_PSK_WITH_AES_128_GCM_SHA256",
"TLS_PSK_WITH_AES_256_GCM_SHA384",
"TLS_PSK_WITH_AES_128_CCM_8",
"TLS_PSK_WITH_AES_256_CCM_8",
] // optional array of (D)TLS cipher suites, e.g.
["TLS_PSK_WITH_AES_128_CCM"]
}
const socket = dtls.createSocket(options, function (err, res) {
console.log("err", err);
console.log("res", res);
})
// create a socket and initialize the secure connection
// .createSocket(options /* DtlsOptions / )
// subscribe events
.on("connected", e => {
/ start sending data /
console.log("connected");
console.log("CONNECTED", e);
})
.on("error", e => {
console.log("error gid", e);
})
.on("message", (msg / Buffer */ ) => {
console.log("message", msg);
})
.on("close", e => {
console.log("close", e);
});
How can i pass message for handshaking ?
Thanks and Regards,
Gidhin S
On Fri, May 24, 2019 at 10:30 AM gidhin shaji<EMAIL_ADDRESS>wrote:

Thanks for the update. Will check and let you know.
Thanks and Regards,
Gidhin S
On Thu, May 23, 2019 at 10:57 PM Jonathan Hui<EMAIL_ADDRESS>wrote:

@gidhin https://github.com/gidhin, from your note above, it seems you
are still using node-dtls-client, which does not support the ciphersuite TLS_ECJPAKE_WITH_AES_128_CCM_8
that Thread utilizes.
As @bukepo https://github.com/bukepo noted above, you can try with
node-mbed-dtls https://github.com/particle-iot/node-mbed-dtls.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openthread/openthread/issues/3802?email_source=notifications&email_token=AGTE3363E6NYGXK4VNAL4DDPW3HWLA5CNFSM4HLFRHCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWC5NYA#issuecomment-495310560,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGTE335HZTCZHIWKRKWKXLDPW3HWLANCNFSM4HLFRHCA
.

Hi @gidhin It seems you are still using node-dtls-client instead of node-mbed-dtls.

Closing stale issue.


Fix license header dates

What does this PR do?
Fixes license header dates on non-autogenerated files
Motivation
QA for https://github.com/DataDog/integrations-core/pull/11187
Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

Closing since these files were added in 2022


[PR into tyler/uffd-strategy] Use the RegionCreate syntax for more tests

I think I see CircleCI running the mmap and uffd tests for lucet_runtime.

The CircleCI config in this branch is now outdated compared to master; I would recommend rebasing tyler/uffd-strategy on master or merging in the latest commits, rather than merging this branch.


Revert dependency update

To resolve CI build failure

I'm curious about the CI build, also tbh it's not like we have to have it unless we want to do more tests xD


Upgrade eslint version

Can we upgrade the 'eslint peerDependencies' to 1.1.0, which was just released
http://eslint.org/blog/2015/08/eslint-1.1.0-released/

I tried force upgrade the eslint to 1.1.0, and get below errors, some of the rules are defined in 'eslint-config-future`, so I guess these are something need to be changed

Indubitably!  I'm a bit behind on the upgrade.  I plan on going through all of the rules again and correcting them (as you've already seen :D)


GD32 init Error

GD32 F1,F4 ,GHWCFGx info all 0

Yes,right, gd doesn't want to tell you, so solve by yourself.


which python should be used?

numpy==1.23.1
numpy/core/src/multiarray/scalartypes.c.src:2967:12: error: too few arguments to function ‘_Py_HashDouble’
2967 |     return _Py_HashDouble((double) PyArrayScalar_VAL(obj, @name@));
......
Failed to build numpy.
This may related the the python version according to https://github.com/numpy/numpy/issues/22520#issuecomment-1434046055

I have not tested, but 3.8.5 would work.


Update share-your-code-in-tfvc-vs.md

Added note that creating a workspace on a network drive is not supported

@andrey-shuvalov : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Kanban setup

Me @TaiwoEnoch and @karanJ2212 made a kanban board for Ruby on rails group project

Set up kanban board

Assign tasks to kanban board

Link to kanban

Hi Team,
Your project is complete!  There is nothing else to say :shipit:
Congratulations! 🎉

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Enable default value in Relationship Dropdown

Laravel Version: 5.5
Voyager Version: 1.0
PHP Version:7.1
Database Driver & Version: MYSQL

Description:
How to Enable default value in Relationship?
For Example in Category Model, Parent Id's default value is Null.
If we want to create a category as a Parent category , how it should be done in relationship

This is not currently possible.  It has been requested numerous times since 1.0 was released.  We're open for suggestions if anyone wants to open a PR

I've resolved this bug. How can I upload the changes?

Submit a pull request @pontInformat

@pontInformat I will create a video soon showing users how to do a PR, in the meantime if you wanted to post your solution here I can submit the PR 👍

@tnylea
With the "BelongsTo" relationship such as a product belongs to a user, I don't want to use a dropdown list of users to choose. I really want to match the authenticated user'id to the new product and never change it on updating. Is it possible now? I can't find a solution.


Revuo Q3 2017 - Russian Translation #349

Translate:

Monero Revuo 3Q 2017 100%

Calling to review:
@monerorus @LvMsterfild @AJIekceu4 @TheFuzzStone

send some fixes to @v1docq47 email

@monerorus , i will fix this soon.
@erciccione , unfortunately, there are no source files in the format .sla for Revuo Q3 2017. If you want, I can do arbitrary .pdf with pictures.

@v1docq47 This repo is not maintained by me, better ask @rehrar


Bump design-system deps to 0.14.0

Most interesting change is dropping ie7 support, which we can no longer test with saucelabs and which has <0.01% usage.

Changes, for ref https://github.com/cfpb/design-system/pull/1343
Want to ditch https://github.com/cfpb/consumerfinance.gov/blob/main/cfgov/unprocessed/css/enhancements/base.less in here too?


AND OR cucumber tags

I am not sure if cucumber supports AND, OR operations with tags. The default is OR I suppose but if I want to run multiple tests filtered by the tags how can I do that?

This is described in the readme, @shivmohan08 - see the description of the 'tags' property, here: https://github.com/samueltbrown/gradle-cucumber-plugin#cucumber-task-configuration


PR in all the Explainer changes we iterated over

This is the list of things we discussed during the review of the article.

@oyiptong PTAL, I have resolved the conflicts and hope this is fine now.

@tomayac this all looks good to me.
Perhaps, you could add a bit about design tools needing consistency across platforms. This use-case has come up quite a lot on discussing why the web's rendering stack does not have the appropriate support already built-in.

Nevermind, I'll add those bits about consistency.
Thanks for your contributions!


libc/time: remove lib_strptime

Summary
This code is licensed under BSD-4-Clause license which may render the OS unusable for some products.
Impact
libc/time
Testing
local build

@jerpelea normally people using NuttX will not endorse/promote NetBSD:
 * 4. Neither the name of The NetBSD Foundation nor the names of its
 *    contributors may be used to endorse or promote products derived
 *    from this software without specific prior written permission.

So maybe instead of removing it you could just put is depending on BSD LICENSE activation.

@acassis this is a 4 clause license

@acassis this is a 4 clause license and I think that we should look for other alternatives

Yes, but it is only an issue if someone want to endorse or promote the NetBSD name, so it is not a big issue IMHO.

@acassis

All advertising materials mentioning features or use of this software

must display the following acknowledgement:

   This product includes software developed by the NetBSD

   Foundation, Inc. and its contributors.

Attached is the regular 3 clause license
https://opensource.org/license/bsd-3-clause
As you can see there is a difference between the 2 and we should need to have a special case for this code instead of looking for a proper BSD or Apache implementation (if needed)

Gotcha, understood the point!

@acassis
BSD-2 clause license https://opensource.org/license/bsd-2-clause
BSD- 3 clause license https://opensource.org/license/bsd-3-clause
As you can see there is a difference between the OSI licenses and the 4 Clause one
If we keep the 4 Clause license we will have a special barrier for this code instead of looking for a proper BSD or Apache implementation (if needed).
Another point, for removing the code, is that all code scanning tools will be triggered by the code ignoring the fact that may not be enabled during the the build or not since they scan all existing code in the git.

but why not guard the code with BSD4 Kconfig? We even have config for GPL code, which is most restricted license.

@xiaoxiang781216 the BSD 4 clause code will trigger any code scanning tool and the problem is that it is in the NuttX core(libc).
This will potentially make NuttX less attractive for commercial products and will be avoided by companies.
GPL-2 is part of the apps folder which is why it can be guarded by a license ifdef.
The NuttX folder should not contain GPL or BSD-4 Clause

can we port musl version at the same time:
https://git.musl-libc.org/cgit/musl/tree/src/time/strptime.c
I am afraid that this change will break some apps which call strptime.

@xiaoxiang781216
please merge my commit and port the MIT one.
You can ask the musl Author if he agrees to re-license the code to Apache 2.0 for the NuttX project.


[Enhancement] Accept Call From Notification iOS

Bug Category

[ ] Credential Login
[ ] Token Login
[ ] Local Audio Issue
[ ] Remote Audio Issue
[ ] Audio Device Switching
[ ] Mute / Unmute
[ ] Hold / Unhold
[ ] Performance issues
[x] Other

SDK Version
telnyx_webrtc: ^0.0.1
Describe the bug
Could you please add feature "Accept Call From Notification iOS".

Any update on this ? , is it resolved in newer versions ?


Why is there no detail configuration about the was/websphere system here?

Pinpoint  claims to support the was/websphere  system, but there is no detailed  configuration method? Isn't this ridiculous?

Hi @hustcxx
Documentation is lacking yes, would you like to try it out and help improve it? It is an open source project after all.
Pull requests for documentation are always welcome :)

I am trying, but I have failed many times.Because I am using a production environment, I can only try to configure it at night, but I need to track the link urgently. I don't know if you have a better configuration method.

@Xylus  log file as
Caused by:com. google. inject. Creationexception: Unable to create injector, see the following errors
) Error injecting constructor, Java lang NoSuchMethodError: com/ibm/Lang/management/operatingSystemMXBean.getProcessCpuTimesByNS()]
while Locating com. navercorp.pinpoint.profiler monitor. DefaultAgentStartMonitor
at com.navercorp.pinpoint.profiler.context.module. ApplicationContextModule .configure(Applicationcontextmodule.Java: 260)
while Locating com. navercorp pinpoint.profiler monitor. AgentstatMonitor
1  error
at com. google. inject internal.Errors. throwCreationExceptionIfErrorsExist(Errors Java: 470)
com. google. inject internal. InternalInjectorCreator injectDynamically(InternalInjectorCreator java: 184)
at com. google in]ect. internal Internalin] creator bulld(Internalin]ecto creator, java: 110)
at com. google. in]ect. Guice. createinjector(Guice, java: 99)
at com. google in]ect. Guice. createinjector(Guice. java: 84
at com navercorp pinpoint profiler context module. defaultapplicationcontextsinit-(Defaultapplicationcontextjava
at com navercorp pinpoint profiler context module. Defaultapplicationcontext.init>(Defaultapplicationcontext java:
at com avert rp. n nt rofile a L Ag n s m B( fui gere. ava 1z0 gt.av
at com. navercorp pinpoint profiler. Defaultagent (Defaultagent java: 71)
15 more
Caused by: Java. lang. NoSuchMethod:com/ibm/Lang/managment/operatingSystemMXBean. getProcessCpuItmeByNS)
at com navercorp pinpoint.profiler.monitor metric. cpu .ibm.Java6CpuLoadMetric.getSnapshot(Java6cpuloadmetric Java: 47)
at com. navercorp pinpoint profiler monitor collector. cpu Default Cpuloadmetriccollector collect(Defaultcpuloadmetriccolector java: 40)
at com. navercorp pinpoint profiler monitor collector cpu. Default puloadmetriccolector collect(DefaultcpuloadMetricCollector .java: 26)

@hustcxx
What java version are you using (java -version)?
Better yet, could you post the DEBUG level log for pinpoint agent (including the start-up log)?
The log file should be in $PINPOINT_AGENT/log directory.

@Xylus
I have solved this problem。There is a new problem now.Log file as:
2018-07-04 14: 33: 34 [INFO ](com navercorp pinpoint bootstrap config. Defaultprofilerconfig) bytecode dump. enable=false
2018-07-04 14: 33: 34 [INFO ](com. navercorp pinpoint bootstrap. Pinpointstarter) pinpoint agent started normally
ADMUO116I：正在文件
/opt/IBM/web Sphere/App Server/profiles/Appsrvol/Logs/serverl/startserver. Log
中记录工具信息
ADMUO128I：正在启动具有 Appsrve1概要文件的工具
ADMU31eI：正在从服务器读取配置： server1
ADMU3O28I：在端口2809上检测测到冲突。可能的原因：a）已经有一个服务器 server1的实例在运行b）一些其他进程在使用端口2809
ADMU3027E：可能已经有一个服务器的实例在运行： server1
ADMUOIIIE:
由于发生以下错误，程序正在退出：com，ibm． websphere． management． exception， Adminexception
ADMU3e27E：可能已经有一个服务器的实例在运行： serverl
ADMU1211I：要获取故障的全部跟踪，使用－ trace选项。
ADMUO211I：在文件
/opt/IBM/web Sphere/Appserver/profiles/Appsrvol/Logs/serverl/startserver. Log
中可看到错误的详细信息

I don't understand what the log is saying. Could you describe it?

@Xylus
2018-07-04 14: 33: 34 [INFO ](com navercorp pinpoint bootstrap config. Defaultprofilerconfig) bytecode dump. enable=false
2018-07-04 14: 33: 34 [INFO ](com. navercorp pinpoint bootstrap. Pinpointstarter) pinpoint agent started normally
ADMUO116I：Recording tool information in file
/opt/IBM/web Sphere/App Server/profiles/Appsrvol/Logs/serverl/startserver. Log
ADMUO128I：Starting tool with Appsrve1 profile
ADMU31eI：Reading configuration from server: server1
ADMU3O28I：A collision was detected on port 2809. Possible causes: a) already have a server server1 instance running b) some other processes are using port 2809
ADMU3027E：There may already be an instance of the server running： server1
ADMUOIIIE:
due to the following error ，the program is exiting：com，ibm． websphere． management． exception， Adminexception
ADMU3e27E：There may already be an instance of the server running： server1
ADMU1211I：To get the full trace of the failure, use the -trace option.
ADMUO211I：In the file
/opt/IBM/web Sphere/Appserver/profiles/Appsrvol/Logs/serverl/startserver. Log
Can see the details of the error

The error seems to be related to your Websphere setup.

@Xylus
I have solved this problem。There is a new problem now.Log file as:
2018-07-04 14: 33: 34 [INFO ](com navercorp pinpoint bootstrap config. Defaultprofilerconfig) bytecode dump. enable=false
2018-07-04 14: 33: 34 [INFO ](com. navercorp pinpoint bootstrap. Pinpointstarter) pinpoint agent started normally
ADMUO116I：正在文件
/opt/IBM/web Sphere/App Server/profiles/Appsrvol/Logs/serverl/startserver. Log
中记录工具信息
ADMUO128I：正在启动具有 Appsrve1概要文件的工具
ADMU31eI：正在从服务器读取配置： server1
ADMU3O28I：在端口2809上检测测到冲突。可能的原因：a）已经有一个服务器 server1的实例在运行b）一些其他进程在使用端口2809
ADMU3027E：可能已经有一个服务器的实例在运行： server1
ADMUOIIIE:
由于发生以下错误，程序正在退出：com，ibm． websphere． management． exception， Adminexception
ADMU3e27E：可能已经有一个服务器的实例在运行： serverl
ADMU1211I：要获取故障的全部跟踪，使用－ trace选项。
ADMUO211I：在文件
/opt/IBM/web Sphere/Appserver/profiles/Appsrvol/Logs/serverl/startserver. Log
中可看到错误的详细信息
Is it because there are multiple applications installed under server1? And I have only one agentId .

@hustcxx How do you solve this problem?I also encountered this problem.

@shenhongwei33
This is because I configure the error place。Then I add this " -javaagent:/data/pp-agent/pinpoint-bootstrap-1.5.2.jar -Dpinpoint.agentId=pp20161122 -Dpinpoint.applicationName=MyTestPP" in the file server.xml the position of genericJvmArguments,and then restart the websphere.

@shenhongwei33
Every agent need jdk1.7+,so if your jdk version  is lower than 1.7,I suggest you use other trace tool.
By the way ,location of server.xml is in washome/appserver/profiles/appserver0/config/cells/hostname/nodes/hostname/servers/server1,and hostname is the name of youself host。
good luck!

@hustcxx
Thank you for your reply! I saw the agent in the pinpoint official website is compatible with jdk6, I am trying it!


How do you compile NodeJS for Android?

Hi!
How do you patch and compile latest releases of nodejs?

Sorry for late response. Just notice the issue. No patch and you can use the script to build nodejs:
https://github.com/dna2github/dna2oslab/tree/master/android/build


Simplified Syntax: move away from the single-item .timeWindow[] list

Problem to solve
The spec.timeWindow list of the SLO object accepts only a single item. This means time window options could be provided without using the timeWindow list with no loss of functionality.
Proposal
Following changes to the spec are proposed:

The timeWindow[] way of doing things is marked as optional, deprecated and to be supported for backwards compatibility only.
These additions to SLO.spec become the preferred way of defining time windows:kind: SLO
spec:
  window: duration-shorthand # assumed a rolling time window unless `calendar` is provided
  calendar: # if provided, the time window is to be treated as calendar-aligned; otherwise defaults to a rolling time window
    startTime: 2020-01-21 12:30:00
    timeZone: Europe/Brzyskorzystewko

Further details
This is one of the cases implementing suggestions from #160.

Why do you suggest making timeWindow[] deprecated? There are real-world examples of use cases where you want to have defined multiple time windows per SLO. For example, a calendar-aligned window that reflects SLA and a shorter rolling window that is an internal indicator for teams how well they deploy without downtimes, etc.
Maybe we should be more descriptive in our spec about possible use cases of multiple time windows. This is the broader discussion - do we want to include such things in the main spec or in some other document?


bf16->fp32 conversion issue.

Hello again, it's time for my monthly issue 😅
The conversion of from bfloat16 to float32 currently appears to be broken.
See the following repro:
import torch
import triton.language as tl
import triton

@triton.jit
def kernel(C):
    C = C + tl.arange(0, 128)
    acc = tl.zeros((128,), dtype=tl.float32)
    acc += tl.load(C).to(tl.float32)  #<--- issue is this conversion
    tl.store(C, acc.to(tl.bfloat16))

c = torch.empty((128), device="cuda", dtype=torch.bfloat16)
grid = lambda META: (1,)
kernel[grid](c)

Which produces this error:
RuntimeError: Internal Triton PTX codegen error:
ptxas /tmp/file6Aa6Qi, line 28; warning : ld
ptxas /tmp/file6Aa6Qi, line 29; error   : Arguments mismatch for instruction 'cvt'
ptxas /tmp/file6Aa6Qi, line 34; warning : st
ptxas fatal   : Ptx assembly aborted due to errors

Pinging @daadaada, since you appear to be the last to work on bf16 support.
Thanks :)

Issue seems to be related to the recent change of the underlying type of bf16->int16, I believe cvt.rn.f32.bf16 expects bfloat but gets i16.
Disabling the first branch and just using the fallback for <sm8.0, appears to be a workaround, but I guess there's some  overhead associated with that.

Hi @DanielHesslow
I can't reproduce this on my A100. Are you on the master branch?
And if possible, could you post the generated ptx code here?

Thanks for the quick reply. My dev machine is A6000, when relaunching it on another A100 it does indeed work alright. I don't believe there should be such a difference between A6000 and A100, so it's probably an issue with the setup on my machine. I'll keep this issue open for another few days while I try to hunt down the issue.
Thanks again!


Make Hosting.sln compile in vs

Added projects until it compiled

2017 or 2019? This isn't supposed to be necessary in 2019.

It's required for both, it doesn't compile in any version i tried.


Optimize http calls and cache more data on the portal to make it more responsive

Today, when switching to a different function, a lot of requests are made, leading to suboptimal perf.
I'm seeing the following calls:

Get the function info (scm site), e.g. /api/functions/HttpTriggerCSharp1. For some reason I see two calls for that!
Get the content of the main file via vfs, e.g. /api/vfs/site/wwwroot/HttpTriggerCSharp1/run.csx
Get the secrets via vfs, e.g. /api/vfs/data/functions/secrets/HttpTriggerCSharp1.json
Get the function status (main site), e.g. /admin/functions/HttpTriggerCSharp1/status
Get the old logs via vfs, e.g. /api/vfs/logfiles/application/functions/function/HttpTriggerCSharp1/
Start the logstream request, e.g. /api/logstream/application/functions/function/HttpTriggerCSharp1

Since each request comes with an OPTIONS request, that's a total of 14 requests made to the app (main or scm).
But if we assume that the portal user is not making changes by other channels, most of this can be cached in the portal. Potentially, everything can be cached except for the logstream request, and probably the status request, which we want to keep fresh.
And we already have a Refresh button for the function list. When this is pressed, the cache should be cleared and the current function should be refetch to make sure it has the latest data (this takes care of the rare 'edit outside portal' scenario).

Yes, I've been noticing the perf degredation as well. It used to be pretty snappy clicking function to function, but now there is a very noticeable delay that gives an overall feeling of sluggishness to the UI.

fixed by 6e6bf5a131197badfd9814e2a2ad18ea3c3caf4e


Temporary Return-Path check

Hi, recently I have encountered an issue where the email is being rejected due to the presence of Return-Path in the email.
I'm using Zitadel which sends out email with Return-Path in the headers (their code).
I noticed that mox rejects emails when Return-Path is presented. I'm wondering if mox can provide an option to disable this check.
I know complying with RFC is a good practise, but getting it resolved on Ziadel side is much harder. Nevertheless, thanks for your hardwork!

hi halyul, thanks for the report.
Indeed mox is being too strict and not very helpful here. I've changed the check so it only triggers in "pedantic mode".

Thanks for your fast response! Looking forward to the new version!


WelsMallocz  bug

Hi,
I found a logic bug in the memory allocation.
In the Welsmallocz function below, Kuisize is an unsigned int and used as a parameter of the Welsmalloc function
Kuisize is calculated in the Welsmalloc function, which is the result value of this is a signed int type
I think this is obviously a problem and may cause errors.
void* CMemoryAlign::WelsMallocz (const uint32_t kuiSize, const char* kpTag) {
void* pPointer = WelsMalloc (kuiSize, kpTag);
if (NULL == pPointer) {
return NULL;
}
// zero memory
memset (pPointer, 0, kuiSize);
return pPointer;
}
void* WelsMalloc (const uint32_t kuiSize, const char* kpTag, const uint32_t kiAlign) {
const int32_t kiSizeOfVoidPointer     = sizeof (void**);
const int32_t kiSizeOfInt             = sizeof (int32_t);
const int32_t kiAlignedBytes          = kiAlign - 1;
const int32_t kiTrialRequestedSize    = kuiSize + kiAlignedBytes + kiSizeOfVoidPointer + kiSizeOfInt;
const int32_t kiActualRequestedSize   = kiTrialRequestedSize;
const uint32_t kiPayloadSize          = kuiSize;
uint8_t* pBuf = (uint8_t*) malloc (kiActualRequestedSize);

Hello, it seems that you know this code very well, would like to ask, do you know the Module this file directory is used for? What is the difference between gmp-openh264.cpp and common openh264?

Hi @bird-rookie it really does not seems good, but it won't be a bug as function malloc will use type size_t as input parameter, and this is also unsigned type.
Of course, it will be better to use all uint32_t in this calculation to make fewer misunderstandings.

has been fixed in PR #3464


Fix a switch statement not being exhaustive after ARKit 1.5 update

With ARKit 1.5 introduced in iOS 11.3 a new case was added to the
enumeration ARCamera.TrackingState.Reason called .relocalizing.
This new case not present in the switch statement causes the
project to fail during building.

I have made a similar fix at https://github.com/ARCLKit/ARKit-CoreLocation/pull/1

thanks @adrgrondin


Context and Structure > FRDS should be FDRS at the bottom of the page

Already logged as https://github.com/IFRCGo/go-web-app/issues/624 (links also need updating)


WIP: dynamic internal imports

Similar to how we use a custom __getattr__ in __init__.py to lazily import attributes, and cache the results, I've added logic to manually cache the BaseModel import in our internal operations.

Follow up thoughts:

Should we support relative imports?
How much should we do this for external packages (typing, re, etc)

Note - we were inclined to make this change due to the promise of manually caching imports, as shown by:
In [1]: from functools import cache
   ...:
   ...: def simple_import():
   ...:     from pydantic import BaseModel
   ...:     return BaseModel
   ...:
   ...:
   ...: @cache
   ...: def fast_import_dc():
   ...:     from pydantic import BaseModel
   ...:     return BaseModel
   ...:
   ...:
   ...: def use_cached():
   ...:     return fast_import_dc()
   ...:

In [2]: %timeit simple_import()
4.11 µs ± 2.22 µs per loop (mean ± std. dev. of 7 runs, 1 loop each)

In [3]: %timeit use_cached()
25.1 ns ± 0.445 ns per loop (mean ± std. dev. of 7 runs, 10,000,000 loops each)

This resulted in a 5-10% speedup for various schema building cases!


[ANNOYANCE] - Adding a new package to environment requires too many clicks across buttons spread wildly on large screens

Describe the bug

I know there has been a usability study, but I wanted to share my experience anyways.

Adding a package to an environment is annoying. Some part of it is due to poor JupyterLab integration, this is I need to click:

"Conda Store" Menu
"Conda Store Package Manager" menu entry
"Log in"
Click "Cancel" after "Leave Site? Changes that you made may not be saved." dialog shows up - it shows up because the conda-store is not embedded in iframe and Oauth sequence causes window navigation
Switch back to my notebook
Save changes in my notebook
Switch back to Conda Store tab
Press "Log in" again
Enter login details, press login (sometimes not required)
JupyterLab loads again but Conda Store tab is gone, hence again:  "Conda Store" Menu
"Conda Store Package Manager" menu entry

I had opened issues for this already:

https://github.com/conda-incubator/jupyterlab-conda-store/issues/51
https://github.com/conda-incubator/jupyterlab-conda-store/issues/53
https://github.com/conda-incubator/jupyterlab-conda-store/issues/50

The following is specifically due to the conda-store-ui design - it just takes too many clicks and too much time to do a things as simple and as common as adding a new package:

Click on the namespace to expand it
Click on the environment name
Click "Edit" in top-right corner; note the UI jumps causing a distraction
Scroll down to find "Add package" button
Click "Add package"; the UI jumps/scrollbar jumps again
Enter the package name
Click on the correct package name from the jumping dropdown to discard it
Instinctively click "Add package" because of the button positioning (thinking that it is the Save button) - it is the  only visible button on the screen - my bad; I then need to remove the empty row so one more click/search for the Save button; see that it is not there; realise that I need to scroll
Scroll down; still do not see the Save button; realise that it is 20 centimetres to the right, in the bottom right corner
Click the save button

Maybe this is solved in the latest version - excuse me in that case - but in my defence I did look for a way to try the latest version easily and for screenshots of it but I could not find any.

Expected behavior

The design takes into account that one of the most common operations during interactive computing development is adding packages(*). With jupyterlab-conda-store I need ~20 clicks for what used to be a short keyboard-only sequence of:

Esc (switch to command mode)
A (add cell above)
%pip install package_I_need
Shift + Enter

The design takes into accounts the experience on large (4k) screens

(*) For example, I really do not change channels every time I go to edit environment. I set them once and maybe will add one or two channels during environment lifetime. Yet, channels show up above the "Save" button taking up precious space.
How to Reproduce the problem?
First I need to select an environment on the left with two clicks:
First I need to click on the Edit button which is 1 mile east:

Then I need to scroll down to click on "Add package"

Then I need to scroll down again and move my cursor 1 mile south-east:

Output
No response
Versions and dependencies used.
I don't know (https://github.com/conda-incubator/conda-store-ui/issues/406) but probably not the latest.
Anything else?
No response

Swapped labels to best reflect the scope/focus of this
@smeragoel  this aligns with other UX discussions and studies. Flagging so we do not miss this when revisiting worfklows and UI


Moved new ocr functionality to external components

Created extended components and flag to  activate and deactivate new functionality:

approved pending the quesiton about seleAfterCreate


find a bug

Please specify the steps to reproduce the problem.

I just clicked，you can click to see more

Closed since lack of details.


Fix build environment following cncf/udpa -> cncf/xds migration.

Signed-off-by: Harvey Tuch<EMAIL_ADDRESS>

CC @phlax

I'm working on getting CI setup for this  repository and main branch, stay tuned.

CI is working. @lizan could you take a look and merge? This should make cncf/xds live and we can freeze and redirect cncf/udpa here.

@htuch i reckon this is a fix for #4 but we might need dco enabled also

@phlax DCO is up, thanks.


Support sendgrid-ruby 6.0

Is there any reason that the library won't support sendgrid-ruby version 6 that was released in June 2019?
It appears in the project changelog that the only breaking change was the removal of sinatra for inbound messaging parsing, that this library wouldn't depend upon.

None. Updated, bumped and pushed in 2.4.0. Thanks for the heads up.

Absolutely, beat me to even attempting to test and submit a PR for it.
Thanks so much!


Bayes kits

This is the first step in a migration to just using the Bayes Impact GitHub repo as the go-to place for prompts resources.
After a verification process and adding additional resource links currently listed on the prompts pages to the repos, we will link straight to the repos from bayeshack.org (instead of to website prompts pages). This will be good.
This is just so we can get the logistics emails out.

Oops

lol 👍

🔥

lol
On Thu, Apr 21, 2016 at 10:37 PM, zhi<EMAIL_ADDRESS>wrote:

🔥
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/calhacks/website2/pull/12#issuecomment-213265991


[Feature] Open in new tab & detect already open

Issue: If I have a tab open, I need to make a new tab, then run "Open Daily/Weekly/Monthly Note" if I want it in a new tab.
I'd love if there was a checkbox option in the plugin to "Open Periodic Notes in New Tab".
Also, if there's already that tab open, to switch to it instead of opening a new tab. Obsidian plugin "Hotkeys for Specific Files" has an option called "Prefer Existing Panes" so that functionality is already implemented in another plugin and might be easily ported into this.

This would be a great feature.
I use Keyboard Maestro to bring Obsidian to the foreground and run the command to open today's note. Lowering the friction of getting to the daily note via a single shortcut/streamdeck button is huge, but this means I don't know what the tab's content was before being switched to the daily note.


[branch-3.0] Minor fixes to examples and integration test script

Description

Fix to scala version check in examples
Fix to allow iceberg integration tests to use staged sonatype repo

How was this patch tested?
Locally ran integration tests
python3 run-integration-tests.py --run-iceberg-integration-tests --version 3.0.0rc2 --maven-repo https://oss.sonatype.org/content/repositories/iodelta-1120

lgtm


Make the POC ConfigsManager as the new ConfigsManager Step 1

Technical Story
The alerter needs to be notified whenever there is a configuration change.
Description
Since we are now storing the configurations inside the database we must be able to detect a configuration change by listening to database events. This means that we need to migrate the POC logic that @simplyrider has developed and replace the old ConfigsManager
Requirements

[ ] The new configs manager is able to map the structure of the new configurations into the old structure. This is needed so that the alerter can continue operating without any changes.
[ ] The new configs manager is able to detect a change inside a configuration and send the entire configuration to the CONFIG_EXCHANGE with the correct routing key
[ ] Connect the new ConfigsManager with run_alerter.py in order for the manager to start

Extra attention should be put towards the following:

On startup we need to send all configurations from the database.
Error handling should be implemented similarly to the old ConfigsManager
Proper thread handling of the newly created threads.
Dynamic RabbitMQ routing keys based on configs.

Acceptance criteria
Given:  Any Substrate configuration change
Then: The ConfigsManager sends the correct configuration update with the correct routing key
Given:  Any Cosmos configuration change
Then: The ConfigsManager sends the correct configuration update with the correct routing key
Given:  Any Chainlink configuration change
Then: The ConfigsManager sends the correct configuration update with the correct routing key
Given:  Any General configuration change
Then: The ConfigsManager sends the correct configuration update with the correct routing key

Part of this ticket is to create a presentation to the team so that everyone is aware of what needs to be done.

Not merged. Will first have https://github.com/SimplyVC/panic/issues/334 merged into it since as-is, heartbeats do not work. Once this is merge is complete, we are to merge this branch into ui_iteration_2.


QR code History case sensitive

This pr solves the issue mentioned here
Earlier the history content was case insensitive but QR code were case sensitive . In this PR history is also made case sensitive
Current:

Expected:

I was actually working on this.
Code_of_Conduct
Anyway, as lionel mentioned, removing the lowercase condition isn't the answer.

I was actually working on this.

Sorry @Scar26 if that was the case . However from next time please let other fellow contributors know that you are working on an issue as you did not mention anywhere that you are working on this and I did not found any PR from your side to solve that issue .
Happy coding

@llaske it should work now

Nice. Thanks.

@ashish0910, @Scar26, thanks for your contribution.  Yes, it can be helpful to signal that you are working on something, but that does not stop anyone else from working on the same thing.  Signal is usually not mandatory.  What matters most is the problem is fixed.  The value decisiveness part of the code of conduct.
For trivial fixes, the investment is small, the solution obvious, and immediately accepted.  So the chances of a sense of wasted effort is lower.
For complex fixes, the investment can be large, the solutions diverse, and as a result maintainers (such as @llaske) may pick from more than one person.  Again, the chances of a sense of wasted effort is lower.
In the open source environment, we expect your changes to be copied by others.


Console Ticks on/off

Clean commit of the shell/console ticks on/off. Also some cleanup of prompt command to include a straight on/off command and coding style conformation.

It looks good.  Thanks, David!


Make the navbar more of a presentation component that does not define

its own handlers, and does not receive a dispatch method. Also clean up
the react-redux connect method used for some components and not others,
and only handle this at the root BrowserWindow state.
(Having to recreate this PR due to repo name changes, privacy changes, etc), original: https://github.com/mozilla/tofino/pull/34

r+'d @bgrins in #34


MAISI VAE transforms

Fixes # .
Description
MAISI VAE transforms
Checks

[x] Avoid including large-size files in the PR.
[x] Clean up long text outputs from code cells in the notebook.
[x] For security purposes, please check the contents and remove any sensitive info such as user names and private key.
[x] Ensure (1) hyperlinks and markdown anchors are working (2) use relative paths for tutorial repo files (3) put figure and graphs in the ./figure folder
[ ] Notebook runs automatically ./runner.sh -t <path to .ipynb file>

Thanks for the pr. It seems that this PR contains a variety of transform list dependent on mri or ct, and if it's only specific in vae training, I feel that we don't need not define classes or functions for these transforms separately. But if others don't have comments, we can do that in the first version.

Yes, multi-modal training is used only for VAE for now. It might be used for diffusion model in the future.


tests: stray kconfig test

A test to check for feature Kconfig options showing up without being
enabled, i.e. config options leaking because of missing guards in the
area where they are introduced.
The baseline test.config is the output from
west build -b qemu_x86 samples/hello_world/
It does have many kconfig options that should not be there, so this
needs to be updated once we have fixed some of the existing leakage.
Signed-off-by: Anas Nashif<EMAIL_ADDRESS>

I'm not following what this test is checking.  Can you provide an example of what would cause this test to fail?

@keith-zephyr

I'm not following what this test is checking. Can you provide an example of what would cause this test to fail?

if you build hello world now, you will get lots of stray options that should not be there in the .config, for example now you will get things like CONFIG_POSIX_PAGE_SIZE=0x1000 although POSIX is not enabled. This test captures a baseline of what Kconfigs should be enabled for a small basic application and fails if something is being enabled unintentionally. So if you add some Kconfig without a proper guard, this test will catch this and will only pass if you guard that option.....


added two tests for path with optional last param

Used existing test to create two new tests which have an optional last parameter. currently the tests are failing with an extra question mark on the end of the path.

All tests passing now, including the new ones.

Thanks for the fix.
I will take this and do a release in few hours.

published: 1.1.2


Update url_template to point to the new PyPI

PyPI has switched from the old legacy system at pypi.python.org to
Warehouse, with a new domain (pypi.org). This change fixes an erroneous
"No such package" error for any given package search.

Looks like this is still broken. Any chance you can merge this fix @bmwant?

sure, let me check that and I will merge asap

@jonafato relreased as 1.2.0

Thanks!


Remove TL074xN device, to be moved to the TI library

Please only merge in combination with https://github.com/LibrePCB-Libraries/Texas_Instruments.lplib/pull/2

Thanks :+1:


chore(master): release 0.87.0-alpha

:robot: I have created a release beep boop
0.87.0-alpha (2024-04-17)
Features

new (21472df)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/mafqla/yalis-blog/releases/tag/v0.87.0-alpha :sunflower:


Too much verbosity

Each time I start VSCode, the output pane opens and reports

I'm not interested in any of that - it has zero information to me, I'm not even programming in C#.
It makes me cursing C# each time while I'm closing the output pane window.
Make it go away, please.

@pkese Thanks for logging an issue. Closing as duplicate of https://github.com/OmniSharp/omnisharp-vscode/issues/5032. Fixed in #5041

🙏


spaces

As discussion https://stackoverflow.com/questions/42578061/ghostscript-and-spaces-in-filenames
I see that on the version 3.0.0 you already resolved this problem, but I'm using electron and after updating to v3.0.0 I got some problem.
so how can I fix this error without updating version to 3.0.0?
I'm using v2.0.7.

Hi @minhnhatspk,
the version 3.0.0 uses N-API and I can say that with some version of electron we there are some issues with N-API. I solved the space problem in version 3.0.0 because I added a new way to set parameter to pass at execute function like an array.
I'm interested on knowing the error that you get when use the version 3.0.0 with electron. Could you post it here?

Here is the error I got

ghostscript4js v3.0.0
electron v1.8.8
It also occurs the same error when I add --napi-modules to my command.

Do you know which version of Node.js embed the version of electron you are using?

Do you know which version of Node.js embed the version of electron you are using?

I'm using Node.js version 8.12.0


Add initial support for serializing signed transaction

Issue Number
#219

Overview

[ ] I have added draft implementation to serialize a signed transaction for Jourmungandr

Comments

@Anviking

Nice, will have a look later. Would it be possible/relevant to generate some golden test cases with jcli? (Haven't tried it out myself yet)

yes - that's my plan for the rest of the day today

@akegalj any updates on that one ?

any updates on that one ?

I am playing with jcli to add golden tests. Will wrap it up with that


feat(lesson-layout): extend layout section types to include review

extend LessonSectionName type to include review

@benprotheroe thanks for sorting this. 🤦🏼♂  I missed it because it is to the right of the exit quiz in Figma.


Doesn't work anymore

As of 3:30PM EST on 10/15/2023, this no longer works. I am getting the Adblock Blocker pop-up again. Just putting this here so other people know.

I get the pop-up, and then it disappears right away. However, a dim overlay persists, blocking scrolling and the player's controls (volume, seek, etc.).

This happens because google added another div with dimmer and z-index.
Add a line to the popupRemover function next to the popup constant declaration:
const backdrop = document.querySelector("tp-yt-iron-overlay-backdrop");
and just below that, add a branch to the condition(example of a full condition):
if (popup) {
                if (debug) console.log("Remove Adblock Thing: Popup detected, removing...");
                popup.remove();
                if (backdrop) {
                    backdrop.remove();
                };
                unpausedAfterSkip = 2;
                if (debug) console.log("Remove Adblock Thing: Popup removed");
            }

Probably a good idea to keep this issue open while updating it with whatever else Youtube comes up with

Just created new PR that seems to fix this issue (hope so). Try out new script version after approval


Database connection via socket

I just downloaded readerself and tried to connect to my database through a socket and got an error.
Is it possible at all to connect through an socket?

you can try with empty hostname or "localhost"
http://php.net/manual/en/mysqli.construct.php
"Can be either a host name or an IP address. Passing the NULL value or the string "localhost" to this parameter, the local host is assumed. When possible, pipes will be used instead of the TCP/IP protocol."

Both leaving it empty or entering "localhost" will establish a local connection via tcp/ip. This is not what I want, that's why I entered the socket path (note the colon at the beginning). I think the problem is that something tries to append a port to the socket path. A socket does not have a port. See the last line in my screenshot.