Make the YCSB load phase more robust

The YCSB load phase consists of inserting records into the DB. Currently, a single failed insertion to the DB would fail/abandon the entire load phase. For a DB service that has a 99.9% availability SLA (which isn't that bad), it can legitimately fail one insert operation out of 1000. For YCSB users, this means they will have a (very) hard time to load that DB with just a few thousands of records. (I had to deal with a DB with 99.9% availability and had a very hard time to load that DB with just 5000 records, the closest I got was 4535 successful insertions and then a single failure caused the entire load to fail...).
Repeating the load process won't help because the new load process will repeat the key sequence numbers from 0 - X and simply overwrite existing records instead of adding new ones.
A better solution is to make the load process more robust by retrying a failed insertion (the retry will use the same key).
The code executed during the load phase is CoreWorkload.java:doInsert() (Note: it's NOT the doTransactionInsert()), and currently doInsert() returns false immediately after it sees a failure from _db.insert().
I'm proposing we add some (very) simple retry behavior in doInsert(), we can retry up to N times (N configurable) with randomized wait time between retries (wait time can also be made configurable).
I have already made a private fix for this and it enabled me to load pretty much as many records to my DB as I wanted (up to 100,000) with the retry limit set at just 5. (yes, working with a DB of 99.9% availability, 5 retries will "fix" almost everything for you. :-)

Guys, let me know what your thoughts are, happy to submit a PR for this!

@stfeng I think configurable retry on load is a good idea. A couple of ideas to go along with your initial proposal:

Configurable number of (subsequent, or maybe not subsequent) failures that would trigger a full stop to loading. Example of the need for this is if there truly is a DB issue, you don't want to have to sit through all the remaining retries before the load would finish.
Default retry number should probably be 0 to conform to current behavior
Warnings should be logged to stderr or stdout for each retry, along with reason for failure, to inform the user
A failed insert should probably get a new Status, something to the effect of "Failed but retrying"

p.s. what DB are you using? I have done successful benchmarks on Couchbase and MongoDB with 100,000,000 records without much issue during loading. Then again there may be retry logic built into some DB drivers.

I'm also curious what datastore binding you're using.
A given datastore shouldn't fail the load when a given insert fails, it should just count the number of failed responses.
We've been trying to remove any retry code from our datastore bindings, because we want folks to get a realistic idea of what their application will get out of the box when using a given driver. So if we can pass some kind of "you should retry" parameter to the driver that talks to whatever datastore, that'd be fine.

@busbey - The load is failed by the CoreWorkload and ClientThread classes upon a single insertion failure in the following functions (as shown below). I completely agree that a DB binding should NOT retry a failed operation, it should just return failure code to its caller, and then the DBWrapper class (in YCSB core) will log and report that failed operation to a measurement class and show up in the final status summary. I am not going to change any of these.
What has caused me headache is: with even just one single failed insert operation, the core workload logic (and ClientThread.java code) would abandon the entire load process, here is the code:
In CoreWorkload.java:
public boolean doInsert(DB db, Object threadstate)
{
int keynum=keysequence.nextInt();
String dbkey = buildKeyName(keynum);
HashMap<String, ByteIterator> values = buildValues(dbkey);
if (db.insert(table,dbkey,values).equals(Status.OK))
return true;
else
return false;
}
In ClientThread.java which calls the above function in the following while loop that implements the "load" phase:
   while (((_opcount == 0) || (_opsdone < _opcount)) && !_workload.isStopRequested())
    {

      if (!_workload.doInsert(_db,_workloadstate))
      {
        break; <--- This breaks out of the while loop on one single failure.
      }

      _opsdone++;

      throttleNanos(startTimeNanos);
    }

To fix this, I am proposing that we add retry logic to the CoreWorkload.java class in the doInsert() function: when an insertion to the DB fails, retry up to K times (as configured by the user and the default is 0), and the retry must use the same key name so we leave no "holes" in the integer key name space. Then why not retry in the ClientThread.java code? Because if we retry there, a new key sequence number will be used to do the insertion and we will leave "holes" in the key name space, which means subsequent reads or updates may fail of "not-found" errors. The only place that knows how to construct a key name properly is the coreworkload class which calls keysequence.nextInt() in a stateful manner, so if there is a failure to insert a particular key, we should let the coreworkload class to do the retry, because it knows exactly which key name it should use for the retry.
Re: which db binding I was using:
I was using a "managed" noSQL DB service in the cloud (google cloud datastore), the test client runs on  GCE VMs and there are multiple hops and layers from my client to the service and its backend. In such environment, a service availability of 99.9% or above isn't too shabby, but that also means 1 out of 1000 or 2000 or 3000 requests may fail. A robust client should be able to tolerate this, and simply retrying usually addresses such problem pretty well.
I have tested using a private fix to CoreWorkload.java on my end with a retry limit of 5, before the fix, I wasn't able to load anywhere more than 5000 records to my DB, but after the fix, loading 100,000 or more records has not been a problem at all.
Re: kruthar's comments:

Yes, there will be a configurable max retry limit, and by default it will be 0 meaning no retry to conform with current behavior.
yes, when retry happens, a message will be output to the stderr so user knows. The failures will still reported to the measurement class (by DBWrapper class) as it is today, I'm not going to change those.
As to the suggestion of trigger a full stop of the load process if/when the DB is really in "trouble", a user can achieve this by setting the retry limit to a reasonably low value (such as 2 or 3) and if the DB is really doing poorly then at some point that retry limit will be violated and the load process will stop. I want to keep things here and the number of knobs low for the user. I know in theory I can add a global variable called "totalAllowedRetryCountSinceTheBeginningOfLoad" ;) and ask the user to configure that variable in addition to the per-insert retry limit.... but I'd like to do that later when there is a strong need for it.

Thank you both for the great discussions! Let me know if you have further questions or concerns on this, otherwise, I will submit a PR soon...

Hi Folks, just a quick update that I have not forgotten this issue and I still plan to submit a PR for this fairly soon, in O(days). (Having been busy with work on something else....)

Folks, I've submitted a PR for this. Please take a look. Thanks!

#527 was merged


MD031 fix in ordered list adding extra list item markers

Source
1.  ```js
    alert('hello!');
    ```
2.  ```js
    document.querySelector('html').style.backgroundColor = 'purple';
    ```
3.  ```js
    const myWordmark = document.createElement('img');
    myWordmark.setAttribute('src','https://blog.mozilla.org/press/wp-content/themes/OneMozilla/img/mozilla-wordmark.png');
    document.querySelector('h1').appendChild(myWordmark);
    ```

Result
1.  ```js
    alert('hello!');
    ```
2.
2.  ```js
    document.querySelector('html').style.backgroundColor = 'purple';
    ```
3.
3.  ```js
    const myWordmark = document.createElement('img');
    myWordmark.setAttribute('src','https://blog.mozilla.org/press/wp-content/themes/OneMozilla/img/mozilla-wordmark.png');
    document.querySelector('h1').appendChild(myWordmark);
    ```

Also noticed this for unordered lists
Source:
There are two ways to specify a page action: with or without a [popup](/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Popups).

- **Without a popup:** When the user clicks the button, an event is dispatched to the extension, which the extension listens for using [`pageAction.onClicked`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/pageAction/onClicked "Fired when a browser action icon is clicked. This event will not fire if the browser action has a popup."):
- ```js
  browser.pageAction.onClicked.addListener(handleClick);
  ```
- **With a popup:** the `click` event is not dispatched. Instead, the popup appears when the user clicks the button. The user then interacts with the popup. When the user clicks outside of the popup, it closes automatically. See the [Popup](/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Popups) article for more details on creating and managing popups.

Result
There are two ways to specify a page action: with or without a [popup](/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Popups).

- **Without a popup:** When the user clicks the button, an event is dispatched to the extension, which the extension listens for using [`pageAction.onClicked`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/pageAction/onClicked "Fired when a browser action icon is clicked. This event will not fire if the browser action has a popup."):
-
- ```js
  browser.pageAction.onClicked.addListener(handleClick);
  ```

- **With a popup:** the `click` event is not dispatched. Instead, the popup appears when the user clicks the button. The user then interacts with the popup. When the user clicks outside of the popup, it closes automatically. See the [Popup](/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Popups) article for more details on creating and managing popups.

I do not see the first behavior in the demo site. Please try there? https://dlaa.me/markdownlint/
I do see the second one.

Yeah, maybe the OL version is fixed in the core. I'm getting these from markdownlint-cli, but I see the same correct fix in the browser

This fixes both scenarios you report above.


submit badge fails with only ASCII char in languages

Submitting https://github.com/dealii/dealii using repo or UR fails with "Implementation languages must be a comma-separated list of names using only ASCII characters". This seems to be a bug because I can not proceed.

What is the value you were using for implementation languages?

We use GitHub's API to guesstimate the programming languages in use (if the repo is on GitHub).  In the case of dealii/dealii, that means we download curl https://api.github.com/repos/dealii/dealii/languages which produces this:
{
  "C++": 108991602,
  "Roff": 2811659,
  "C": 778173,
  "CMake": 515666,
  "Cuda": 318762,
  "Objective-C": 109735,
  "Fortran": 104907,
  "Python": 96753,
  "Matlab": 72060,
  "Jupyter Notebook": 47239,
  "Shell": 45765,
  "Assembly": 34839,
  "Makefile": 33256,
  "Gnuplot": 14030,
  "HTML": 8332,
  "Perl": 7055
}

I don't see any characters in that list that should cause us trouble...!

What is the value you were using for implementation languages?

I am not using any "value". I am selecting the repo on the "new badge" page and click "submit github repository". That fails.

Weird. As you can imagine, that is not supposed to happen. Let me see if I can figure out what's going on. Is there any kind of message that you received that might help us track this down?

No, this is all I got:

Thanks, that helps.

Oh, I think I see the problem.  Though the message says "ASCII characters", in reality it's pickier and does not allow embedded spaces... and "Jupyter Notebook" has an embedded space.  I think we're going to have to be less picky :-).

I've verified that's the problem.  I need to fix it, and then get it through our continuous integration tests to ensure I haven't broken anything.  I plan to make a minor fix that will be less picky.
Thanks for reporting the problem, and sorry for your trouble!

I believe it's fixed.  Please try again.  Let me know if it works or not.. if it doesn't work, we'll reopen the issue.

P.S.: I need to go to sleep, so I may not respond for a while.

Let me know if it works or not.

works. :+1:

Excellent, and sorry about the trouble.


Add :streaming option to DataFrame.to_csv/3

I have a use case where I would like to stream a large lazy DataFrame to a CSV without having to load the entire dataset in memory, and I was looking to implement a streaming option to the to_csv/3 function, similar to DataFrame.to_parquet/3.
I've already been able to make this work in a fork using the Polars sink_csv function under the hood.  Please let me know what you think and I will submit my PR.  Thanks!

Yes, a pull request would be welcome to any of our API‘s that do not support streaming yet


[WIP] Updates to support st2 packaging

Another attempt based on #1677 and #1916.
This time more incremental and hopefully less breaking and more smooth.
TODO:

[x] Make sure latest version of pip (7.0) is available on all the build servers

I finally managed to track down all the CI/CD pipeline issues and everything now passes so I went ahead and merged changes into master.
We still need to be a bit careful when rolling out a new "major" release (0.14.0 / 1.0.0) since some of the stuff has changed, but it should really only affect st2client if anything (I did fix and test all the st2client related issues locally, but it's also possible that our workflows do some weird stuff with it which I didn't catch :P)


Feat/add token to reader sa

Q
A

Bug fix?
no

New feature?
yes

API breaks?
no

Deprecations?
no

License
Apache 2.0

What's in this PR?
This PR adds the feature to cluster-registry to work with Kubernetes 1.24 >= and OpenShift 4.11.
Why?
service-account-token  Secret handling has changed in Kubernetes 1.24 and above and works differently in OpenShift 4.11. cluster-registry can't create the cluster secret without this change.
Additional context
Kubernetes 1.24 and above and OpenShift 4.11 handles service-account-token secrets differently than the previous versions. This change makes cluster-registry to able to work with these distributions and versions.
Checklist

[x] Implementation tested
[x] User guide and development docs updated (if needed)

@tiswanso You'r right. It's more suitable in a separate PR with other version bumps. I restored the previous version.


Design methods to allow connector to assume user workspace

Assume user workspace (workspaceId) is used now with current functionality. Add method to APIHandler to return integer id using user for key. In the future allow the use of another workspace name to obtain this workspaceId. Remove the workspaceId from the config so that the integrator is not required to look up the integer id.

Modified TogglAPIConnector and TogglDataAPIHandler. This was tested. The ticket is closed.


Integration Test - Release - 2019/02/19 20:17:23

Auto create for integration test. IssueCommandFlow

@PRMergerTest2 : Thanks for your contribution! The author, @v-caxian, has been notified to review your proposed change.


Electron Compatibility

Downloading the package and running it through electron brings up problems when trying to get the ChromeTabs class.

I would really like to use this in my electron app, +1


Add project_metadata the DBs class. Instantiate it in main.py and let its path be .gpteng

Add a field called project_metadata in the DBs class, that is of type DB.
Set project_metadata_path .gpteng
Use it when instantiating DBs
Move: memory, archive, file_list.txt, to project_metadata
(Also, separate PR: start writing all_output.txt to memory)

Checklist

[X] gpt_engineer/project_metadata.py ✅ Commit eec2cae

• Define the `DB` class in `gpt_engineer/project_metadata.py`.

[X] gpt_engineer/db.py ❌ Failed

• Import the `DB` class from `gpt_engineer.project_metadata`.
• Modify the `DBs` class to include a `project_metadata` field of type `DB`.

[X] gpt_engineer/main.py ❌ Failed

• Import the `DB` class from `gpt_engineer.project_metadata`.
• Instantiate the `project_metadata` field of `DBs` with the path `.gpteng`.

[X] gpt_engineer/main.py ❌ Failed

• Move the `memory`, `archive`, and `file_list.txt` to the `project_metadata` directory.

Closing, since solved in #720, right @RareMojo ?


Remove the "-d" delete indicators when using the new API

Fixed in https://github.com/cudeso/misp2sentinel/commit/ffde3d9b132c33929e28675ca4abc7b22f96558c#diff-4d7c51b1efe9043e44439a949dfd92e5827321b34082903477fd04876edb7552

Not sure if it's ok to comment on something closed, but I was trying to understand what this thread was about.  When using the Graph API version of this script I had issues with it "deleting" (changing the Active field to false in the ThreatIntelligenceIndicators table) for any indicator not seen between two runs of the script.  This prohibited using the script to import specific indicators at a time as at the next run it would mark than as not active.  I'm not see this same behaviour using the  new API.  Has this -d option always existed?


Macos: Stuck after clicking "Open trace"

Im on MacOS 14.4.1 (23E224)
I did a go install honnef.co/go/gotraceui/cmd/gotraceui@latest and got
> gotraceui -version
gotraceui v0.4.0

The UI launched ok, but when I clicked on the "Open trace" button in the middle of the windows, the entire window froze. After a while, this is printed to the terminal
2024-04-08 11:34:49.939 gotraceui[69592:6884378] *** Assertion failure in -[NSOpenPanel _initBridgeAndStuff], NSSavePanel.m:432

I suspect this has something to do with the "Privacy & Security" setting on MacOS that prevented the process from accessing the file system.

I'm afraid I can't help with that, as I don't use macOS. https://git.sr.ht/~whereswaldon/gio-x/tree/main/item/explorer/explorer_macos.m and https://git.sr.ht/~whereswaldon/gio-x/tree/main/item/explorer/explorer_macos.go is the code that runs on macOS to use the "open file" dialog.

Note that you can pass the trace file as an argument to gotraceui, to avoid using the "Open trace" button.


Fixing on contact start and end being called every 20 frames. New behaviour for if the object is still colliding

Summary
Adds new logic for making sure that an object is still colliding with the bone which means the OnContactEnd and OnContactBegin aren't called every 20 frames. Will now be called when the object enters and exits collision, even when it is only the finger tip colliding.
Contributor Tasks
These tasks are for the merge request creator to tick off when creating a merge request.

[ ] Pair review with a member of the QA team.
[x] Add any release testing considerations to the MR for the next release.
[ ] Check any relevant CHANGELOG files have been updated.
[x] Ensure documentation requirements are met e.g., public API is commented.
[x] Consider any licensing/other legal implications for this MR e.g. notices required by any new libraries.
[x] Add any relevant labels such as breaking to this MR.
[ ] If this MR closes a Jira issue, make sure the fix version on the JIRA issue is set to the correct one.

Reviewer Tasks
Add any instructions or tasks for the reviewer such as specific test considerations before this can be merged.
Use emojis in review threads to communicate intent and help contributors.

[ ] Code reviewed.
[ ] Non-code assets e.g. Unity assets/scenes reviewed.
[ ] Documentation has been reviewed. Includes checking documentation requirements are met and not missing e.g., public API is commented.
[ ] Checked and agree with release testing considerations added to MR for the next release.

Closes JIRA Issue
If this MR closes any JIRA issues list them below in the form Closes PROJECT-#

This PR requires a changelog entry :)

This PR requires a changelog entry :)

PR now has a changelog entry ready for review

tested this with a log when oncontactend and oncontactbegin is called, this change stops it from repeatedly calling when one (or any number of) bone is contacting
Also tested the IE example scenes which all continue to work as expected, particularly focused on softly pushing objects to exacerbate any issues this may have cause, none were found


doc: update github sync deploy instructions

/assign @jlewi @chensun

/lgtm
/approve
/hold
@Bobgy One suggestion would be to use a kustomize config map generator. This would ensure the config map has a unique has based on the content id.

/unhold
I wouldn't worry too much on the suffix, we only use the config map for job and cronjob.
Suffix would make one off jobs harder to configure.


Single step BPs obsoletions: protein C-terminal amidation & children

Dear all,
For the project of removing single step BPs from the ontology (and moving them to MFs as appropriate), I will obsolete this branch that has no annotations:

GO:0018033 protein C-terminal amidation
GO:0018034 C-terminal peptidyl-alanine amidation
GO:0018035 C-terminal peptidyl-arginine amidation
GO:0018036 C-terminal peptidyl-asparagine amidation
GO:0018037 C-terminal peptidyl-aspartic acid amidation
GO:0018038 C-terminal peptidyl-cysteine amidation
GO:0018040 C-terminal peptidyl-glutamic acid amidation
GO:0018039 C-terminal peptidyl-glutamine amidation
GO:0018041 C-terminal peptidyl-glycine amidation
** Consider: GO:0004504 'peptidylglycine monooxygenase activity'
** and GO:0004598 'peptidylamidoglycolate lyase activity'
GO:0018042 C-terminal peptidyl-histidine amidation
GO:0018043 C-terminal peptidyl-isoleucine amidation
GO:0018044 C-terminal peptidyl-leucine amidation
GO:0018045 C-terminal peptidyl-lysine amidation
GO:0018046 C-terminal peptidyl-methionine amidation
GO:0018047 C-terminal peptidyl-phenylalanine amidation
GO:0018048 C-terminal peptidyl-proline amidation
GO:0018049 C-terminal peptidyl-serine amidation
GO:0018050 C-terminal peptidyl-threonine amidation
GO:0018051 C-terminal peptidyl-tryptophan amidation
GO:0018052 C-terminal peptidyl-tyrosine amidation
GO:0018053 C-terminal peptidyl-valine amidation

Thanks, Pascale

In fact, looking further, only c-terminal peptidylglycine has been identified, see PMID:35124797.


Unable to make lint addon work in TypeScript context

I'm working on integrating CodeMirror into my Angular 2 project for a custom scripting language. Getting it running worked fine, getting my own mode registered and working works fine, and implementing the show-hint addon worked fine too.
However, integrating the linter does not work. I've tried all variations (registerHelper, setting a lint object with a getAnnotations field in the config, setting a lint function in the config), but the linter function is simply not called.
I've gone with the old fashioned way and put some HTML script tags into my index.html file, and from there out it works fine.
What's the difference between the show-hint.js and lint.js plugins that makes lint.js not play nice with typescript / es6 imports? My imports look as follows:
import * as CodeMirror from 'codemirror';
import 'codemirror/addon/hint/show-hint';
import 'codemirror/addon/lint/lint';

Most likely your module bundler ends up duplicating the main library (lib/codemirror.js) because it considers the relative paths to it found in the addons to be different from the plain 'codemirror' you use. This can usually be fixed by configuring your bundler differently, but I'm not familiar with the various bundlers. (To diagnose whether this is happening, you can add a console.log to the top level of lib/codemirror.js and see if it is run multiple times)

That makes sense now you mention it; I had the same problem with Angular. In my situation I have an app which depends on a library (my codemirror component) via a symlink. I can fix that. I've removed the codemirror dependency from the 'app'. I really need to figure out how to properly develop an includeable TS / Angular module. Thanks!


Cannot grant camera permission in task module - shield button missing

We have a Teams app that uses media permissions to access device camera. Everything was working fine and users were able to grant required permissions for the app using the shield icon in top right corner of the task module popup (next to the x button).
Now, this shield button doesn't show anymore, so users are unable to grant the required permissions. Has something changed in latest Teams version and granting permissions is no longer supported in task modules? The icon is still showing correctly in personal and tab app, but we need it in task modules as well, as we trigger them from chat messages.

@xelossan - Thanks for reporting your issue. We will test this and update you soon.

This is Jocelynn the art and owner writer of this phone.  I have had difficulty's with doing anything on my phone.  Can you see what is interfering?

@Nivedipa-MSFT we're using the latest version of both Teams SDK (@microsoft/teams-js 2.13.0) and Bot Builder SDK (Microsoft.Bot.Builder 4.20.0).
I cannot provide any code snippet as this is a part of much larger app, but I can give more details.
We have app that uses media permissions, defined as follows in app manifest:
"devicePermissions": [       "media"     ],
In our app, we open dialogs (previously called task modules) both from client side code, like that:

and from chat messages sent from our bot. Here, after users click the button in the message, we return standard TaskModuleResponse.

In both cases, everything worked fine previously - our app was launched in popup window, and user could allow access to the camera using the shield button.
Now, after one of Teams updates, but not sure which one, when popup is launched from chat message, the shield button is no longer displayed (it still works as expected when launched via Teams SDK).

@xelossan - Thanks for providing details. We will test this and update you soon.

Yes, it was previously displaying shield icon when task module was opened from chat. It was the scenario that we were using in production, and it completely stopped working as users can no longer grant camera permissions.

@xelossan - We are checking this with engineering team, we will let you know once we get any updates on it.

@Nivedipa-MSFT do you have any updates?

@xelossan - We have raised a bug for the same. Engineering team is working on it. We will let you know once we get any updates on it.

@xelossan - Engineering team has considered this as feature request. To achieve your requirements, we recommend you give your feedback in Teams Feedback Portal


=TLS1.0 client for 0.11-devel

It would be epic if we could bump the http client's ssl_delegate to >= tls1.0: https://github.com/cpp-netlib/cpp-netlib/blob/0.11-devel/boost/network/protocol/http/client/connection/ssl_delegate.ipp#L30
Perhaps:
#if defined(SSL_TXT_TLSV1_2)
  context_.reset(
      new asio::ssl::context(service_, asio::ssl::context::tlsv12_client));
#elif defined(SSL_TXT_TLSV1_1)
  context_.reset(
      new asio::ssl::context(service_, asio::ssl::context::tlsv11_client));
#else
  context_.reset(
      new asio::ssl::context(service_, asio::ssl::context::tlsv1_client));
#endif

Nevermind, reading the docs again and the client/server matrix. This doesn't make sense, SSLv23 is the best choice.


Usability refactor for instructor dashboard

Merge after rebasing #377 !
Mostly text changes:

Make tab names more consistent
Make chart names more consistent
Add chart descriptions
Add tab headers
Add experimental help tab with FAQ
Add X/Y labels

New design has a block of descriptive text at the top of each tab and each chart has a description that can be accessed from the hamburger menu on the top right:

Translatable X/Y labels have been added where necessary:

Experimental translatable help menu to provide answers to the most common questions:

Also added new fields for localization of charts (description, x/y labels) and updated the locale file.

@SoryRawyer I'm about to rebase on your PR but if you'd like to take a look...

@Ian2012 looks like we're running into this problem on the k8s test: https://stackoverflow.com/questions/51240768/passing-long-configuration-file-to-kubernetes

@Ian2012 looks like we're running into this problem on the k8s test: https://stackoverflow.com/questions/51240768/passing-long-configuration-file-to-kubernetes

We can change the file location and use a PVC as we do for asset creation

This has been rebased, hopefully I didn't lose any of your changes @SoryRawyer , can you double check? It was a complicated set of changes.

I think I'm going to remove the Help tab / FAQ for the moment to try to get this to pass, and look at how we can resolve the k8s issue separately.


Adding a linter with a basic configuration

This adds a markdown linter as a GitHub action to ensure that the texts which are being added use consistent and correct markdown syntax.

There are two formatting issues on the main /readme.md that would block deliveries.

forced width of tables, looks horrible without
would need a solution or exclude MD033 inline haml and MD045 missing alt string on image
Note that in 'theory' MD supports dots for spaces but is practically not working. Neither did I find anything else working.

Forced newlines in cells.
would need a solution or exclude MD033 inline html
In theory MD supports .. or \ for forced nl but in practice table rows required a continues line, so can't newline. Besides \ +nl or .. + nl does not work anyways as it seems.


fix: update data

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


InAppUtils.loadProducts alway return empty array and purchase got invalid_product

Hi guys
these are my code to do in app purchase ios react native
it used to be work but right now it's not working anymore.
result after i loadProducts i alway got empty array
and then i call purchaseProduct alway got response 'invalid_product'
buyConsumePurchaseIOS(productId, amount){
var products = [
      'myapp.app.5credits',
      'myapp.app.10credits',
      'myapp.app.15credits',
    ];
    InAppUtils.loadProducts(products, (error, loadedProduct) => {
      console.log('error load product', error)
      console.log('available products', loadedProduct)
      if(error) return
      console.log(productId);
      InAppUtils.purchaseProduct('myapp.app.5credits', (error, response) => {
        console.log('res',response)
        console.log('ERROR', error)
        if(error){
          this.setState({
            showLoading: false
          })
          return
        }
        if(response && response.productIdentifier) {
          // Alert.alert('Purchase Successful', 'Your Transaction ID is ' + response.transactionIdentifier);
          // Alert.alert('Purchase Successful', 'Thank you for purchase ' + amount + ' credits');
          this.addCredit(amount)
        }
      });
    });
}

version
"react": "16.2.0",
"react-native": "0.55.4",
"react-native-in-app-utils": "^6.0.1",

xcode Version 10.1 (10B61)
Please help
Thank you

How to accept new agreement ?

@13ArturBruno  in apple develop account

苹果开发帐户中的@13ArturBruno

@13ArturBruno in apple develop account

Do you need to set up tax?


Select a vehicle and switch Camera Focus to it

Context

in my project, I have a point cloud data (collection of points with coordinates and colors) and a JSON file describing the trajectory of vehicles (coordinates, orientation associated with timestamp).
All the vehicles are equally important, there is no primary one. The coordinates are in absolute values.

Requirement

I want to be able to dynamically select a vehicle (by mouse) to switch the Camera Focus so that I can have 3 views: Top-view, perspective and driver view of that vehicle.

The current gap

I learned that XVIZ data (at least in the KITTI sample data) are organized around a primary vehicle (in the stream /vehicle_pose) that stream data from sensors can have a pose offset relative to that vehicle pose.

Wishlist

data level (XVIZ): allows to represent coordinates in the absolute value, not offset relative to any primary vehicle.
code level (streetscape.gl)

provide options to dynamically select a vehicle to switch the Camera focus to it.
allow to use the absolute value coordinates

Wishlist

data level (XVIZ): allows to represent coordinates in the absolute value, not offset relative to any primary vehicle.

code level (streetscape.gl)
...

allow to use the absolute value coordinates

Our framework support different kinds of coordinate systems, you can find in xviz doc and search for coordinate. In your case, you can use IDENTITY.
Also there is another example NuTonomy converter using IDENTITY coordinate system.
But our framework do expect a PRIMARY_VEHICLE_POSE stream in every frame.

As mentioned by @xintongxia the default coordinate transform for a stream is IDENTITY so you can use absolute coordinates right now.  While we just made a vehicle pose optional #348, the camera controls are all based around the notion of there being a specific vehicle that you can care about.  The assumption was if you had no pose, all data was centered around the origin, like when viewing raw sensor data.
For now can you pick a vehicle manually while converting the data?  You can disable camera position and header tracking after the fact.
I agree it would be great to track a primitive instead of a vehicle, we have a similar feature in an internally streetscape.gl based application.

Thank you @jlisee and @xintongxia about the hints of coordinate topic. It's really helpful to my work.
Technical note about this ticket:
I dig into the code to find the solution for this feature. I learned that

(POINT 1) file streetscape.gl/modules/core/src/components/log-viewer/core-3d-viewer.js -> function _getViewState(): the information (longitude, latitude, bearing) of frame.trackPosition is used to calculate "trackedPosition" which will be passed to DeckGL for Camera settings -> I guess this point is the key to make change to solve this ticket by smartly building the right "trackedPosition" associated to the primary vehicle (pose) or a selected non-primary vehicle (please help confirm this point).

(POINT 2) I follow-up to see how "frame.trackPosition" is calculated. This question leads me to the file at xviz/modules/parser/src/parsers/parse-vehicle-pose.js where the calculation happen in the data conversion phase with XVIZ package.

export function getTransformsFromPose(vehiclePose) {
  const {longitude, latitude, altitude = 0} = vehiclePose;

  const origin =
    Number.isFinite(vehiclePose.longitude) && Number.isFinite(vehiclePose.latitude)
      ? [longitude, latitude, altitude]
      : null;
  const pose = new Pose(vehiclePose);

  const vehicleRelativeTransform = pose.getTransformationMatrix();

  // If mapOrigin is not specified, use a faux position of [0, 0, 0]
  // deck.gl needs a lon/lat position to target the camera
  const trackPosition = addMetersToLngLat(             // ####### trackPosition calculation happens here
    origin || [0, 0, 0],
    vehicleRelativeTransform.transformVector([0, 0, 0])
  );

  return {
    origin,
    vehicleRelativeTransform,
    trackPosition,
    heading: (pose.yaw / Math.PI) * 180
  };
}

At the root, this calculation requires below items

class Pose for calculation (from https://github.com/uber-web/math.gl/blob/master/docs/api-reference/pose.md)
with the inputs: location and orientation of primary vehicle (pose)

MY HYPOTHESIS (please help confirm if it's correct): by connecting the above 2 points, we have 2 below statements

STATEMENT 1: in order to switch the Camera Focus to other non-primary vehicles (that respect to its moving orientation), we also need their orientation information to calcualte the Camera settings to pass to DeckGL in POINT 1
STATEMENT 2: if STATEMENT 1 is correct, then it's XVIZ API limitation which currently doesn't support to include orientation information to vehicle primitives. See https://avs.auto/#/xviz/api-reference/xviz-builder/xviz-builder?section=XVIZPrimitiveBuilder

QUESTION:

Could you help confirm these points above?
Do you have any concrete timeline to release this feature?

Thank you very much!

The vehicle based camera can track the vehicle but not track it's orientation.  Given that it should be possible for an initial version of this to be built without requiring any orientation information or control.

My workaround solution:

In the file [1], the function  _getViewState() calculates the parameters trackedPosition (longitude, latitude, bearing) which tells the Camera where to focus. By making change in this entry point, I can resolve this problem.

[1] avs_visualizer/modules/core/src/components/log-viewer/core-3d-viewer.js

My workaround solution:

In the file [1], the function  _getViewState() calculates the parameters trackedPosition (longitude, latitude, bearing) which tells the Camera where to focus. By making change in this entry point, I can resolve this problem.

[1] avs_visualizer/modules/core/src/components/log-viewer/core-3d-viewer.js

could you give me some suggestions about this. I wanna control the camera target, but I just set VIEW_MODE but more detailed angle or pose. thank you.


Abstraction for resolve_torch_dtype_device(dtype: Dtype, device: Device) -> tuple[quantization_type, torch.device, torch.dtype]

Feature request
Too much boilerplate template:
Resolves loading, quantization, and device
Eg. if
device: auto -> torch.cuda.is_available() -> cuda or mps.
dtype: float32 -> float32, no quantization
dtype: float16 -> float16, no quantization
dtype: bfloat16 -> float16, no quantization
dtype: auto -> (bfloat16 if possible else float16) if device is cuda else float32, no quantization
dtype: int8 -> float32, int8 quantization
dtype: fp8 -> float32, fp8 quantization
Motivation

Your contribution

@michaelfeil I believe this method should exist as a method of https://github.com/michaelfeil/infinity/blob/62a07c9d91b8bddb999001277563dbbde24844d4/libs/infinity_emb/infinity_emb/env.py#L24
or a method in the same file?


Getting the below error while running the script for offline migration?

New-AzureRmDataMigrationTask : Cannot bind parameter 'SelectedDatabase'. Cannot convert the
"Microsoft.Azure.Management.DataMigration.Models.MigrateSqlServerSqlMIDatabaseInput" value of type "System.String" to type
"Microsoft.Azure.Management.DataMigration.Models.MigrateSqlServerSqlMIDatabaseInput".
At line:10 char:22

-SelectedDatabase  $selectedDbs`

                 ~~~~~~~~~~~~~~

CategoryInfo          : InvalidArgument: (:) [New-AzureRmDataMigrationTask], ParameterBindingException
FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.Azure.Commands.DataMigration.Cmdlets.NewDataMigrationTask

-BackupFileShare : The term '-BackupFileShare' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At line:11 char:3

-BackupFileShare $backupFileShare

+ CategoryInfo          : ObjectNotFound: (-BackupFileShare:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

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

ID: 0a4fc2bc-d5a1-2f2c-c703-8049aed559a6
Version Independent ID: c645b6d2-eedc-70ef-1dc7-1fa9f3b1ff3d
Content: Migrate SQL Server to Azure SQL Database Managed Instance with Database Migration Service and PowerShell
Content Source: articles/dms/howto-sql-server-to-azure-sql-mi-powershell.md
Service: dms
GitHub Login: @pochiraju
Microsoft Alias: rajpo

@Anmolgan81 We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


Pydantic model_dump(exclude_unset=True, ...) causes model.write to ignore mutation

Here's an MWE:
import ribasim_testmodels

model = ribasim_testmodels.trivial.trivial_model()
model.solver.saveat = 86400.0
model.write("here")

If you now check the TOML, I'd expect to see a non-default saveat entry, but instead:
starttime = 2020-01-01 00:00:00
endtime = 2021-01-01 00:00:00
database = "database.gpkg"

I believe this is due to the (expected) behavior of exlude_unset, see also:
https://github.com/pydantic/pydantic/discussions/5749
Creating a new object does work, probably because the solver entry is detected as being set by pydantic?
model = ribasim_testmodels.trivial.trivial_model()
model.solver = ribasim.Solver(saveat=86400.0)
model.write("here")

TOML:
starttime = 2020-01-01 00:00:00
endtime = 2021-01-01 00:00:00
database = "database.gpkg"

[solver]
saveat = 86400.0

Given that this seems expected behavior by pydantic, I'm not sure it's easy to fix (without dirty hacks).
A pragmatic solution might be something like this:
model.solver = ribasim.solver.update(saveat=86400.0)

The update method just returns a new object.
You can argue this is consistent with how you're supposed to work with pandas and xarray, where the inplace operations are mostly discouraged or removed; although you might as well make the object immutable in that case to avoid confusion?

Another thoughts: this can be avoided entirely by not using exclude_unset. This then writes all the defaults to the TOML, but that's fine. I mostly prefer having the settings in that way, because it explicitly communicates what e.g. the solver settings are.

I'll try a fix by making a relationship between Model and its children.


ISSUE530

What is the purpose of the change
fix #530 bug
Brief changelog
before calculate RT, send message to the broker, connect to it.
amount support 1, old version return NaN
change System.currentMills() to System.nanoTime()
Verifying this change

Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage decreased (-0.09%) to 43.116% when pulling c822df8efe58bc21746862d65c7c8cea9cb6134d on Black-Mamba24:develop into 0f153b9dcfec0dd272d995ba578acd2ccd412e68 on apache:develop.


Open filtered results from document view

Question from Jo Guldi:

Some researchers will be curious about the ability to click through the speaker or date field from an individual source citation, i.e. from an individual speech, can I click on Benjamin Disraeli and search just his speeches, or just his speechess about democracy

#658 mentions something like this specifically for debates (where jumping to all speeches from a debate should also affect sorting).
For other fields with a search filter, such as speaker or party, there could be a link to add a filter on that field, i.e. to only see results where the field has that value.
I'm not sure whether the new search should include the current query and search filters, i.e. restrict the search further, or just show everything from that day/speaker/party/etc.
Either version could streamline users' workflow, but it would also clutter up the interface more.

This feature is now much easier to build than when I created the issue. You can use a few lines of code to generate a link:
filterLink = (field: CorpusField, document: FoundDocument, baseQueryModel: QueyrModel) => {
    const filter = field.makeSearchFilter();
    filter.setToValue(document.fieldValue(field));

    const queryModel = baseQueryModel.clone();
    queryModel.addFilter(filter);

    const routerLink = ['/search', document.corpus.name]
    const queryParams = queryModel.toRouteParams();
    return [routerLink, queryParams]
}

Concept:


Create 2nd Lockdrop landing page

Required Tasks

[ ] create a landing page that will allow users to access every lockdrop related pages

Description
Estimated dev time
around 2 working days

~ Wed or Thursday.

Sneak peek of what I'm making so far


Flutter App is not working for Dart 3

Hello,
I wanted to follow your programm sessions to programm my own Chat App. But your instructions are most of the time not working because it is not compatible with Dart 3. Could you please update the Code? Furthermore some Package like the one for Emojis are not Dart 3 compatible

yes, same issue happens. Planning to buy the full project, but it seems not maintainable project.


--config flag does not work when App.open event is fired in nw.js

The problem is that you get a raw commandline. But in 0.21.6 the number of arguments (splitted by a parsing function) is not te same on OSX and Windows. Currently only selectors without config option work.

Example result on Windows 7:
0:""C:\Users\username\AppData\Roaming\npm\node_modules\allume\node_modules\nw\nwjs\nw.exe""
1:""C:\Users\username\AppData\Roaming\npm\node_modules\allume""
2:"cc.demo"
3:""{"foo":"bar"}""

Example result on OSX El Capitan:
0:"/usr/local/lib/node_modules/allume/node_modules/nw/nwjs/nwjs.app/Contents/MacOS/nwjs"
1:"Support/allume"
2:"/usr/local/lib/node_modules/allume"
3:"../cc.demo/"


Create invoice Doesn't use currencies

When creating invoices, instead of converting currency values,  it takes value as satoshis

Now the error is different when using COP currency
lightningd 'invoice' failed with '{'code': -32602, 'message': "msatoshi: should be positive msat or 'any': invalid token '0'"}'.
520

Already progress in othet thread


send on closed channel panic at logserver/logserver.go:185

Description
The lambda function we use with this extension periodically crashes at this line https://github.com/newrelic/newrelic-lambda-extension/blob/9d74a5ccb257af21f29826be0497c827c7cb5855/lambda/logserver/logserver.go#L185
Steps to Reproduce
I have no specific steps, sorry. We just run the extension along with our production lambda.
Expected Behavior
No panics.
Relevant Logs / Console output
[NR_EXT] Log server terminating: http: Server closed
[NR_EXT] http: panic serving X.X.X.X:55518: send on closed channel

goroutine 36 [running]:
26
	2023-09-14T09:41:00.133+02:00
	net/http.(*conn).serve.func1()
27
	2023-09-14T09:41:00.133+02:00
	/usr/local/go/src/net/http/server.go:1850 +0xbf
28
	2023-09-14T09:41:00.133+02:00
	panic({0x980920, 0xce7e60})
29
	2023-09-14T09:41:00.133+02:00
	/usr/local/go/src/runtime/panic.go:890 +0x262
30
	2023-09-14T09:41:00.133+02:00
	/home/circleci/project/lambda/logserver/logserver.go:185 +0x276
31
	2023-09-14T09:41:00.133+02:00
	net/http.HandlerFunc.ServeHTTP(0xc0000ea2a0?, {0xcef040?, 0xc0000ea2a0?}, 0xa4245f?)
32
	2023-09-14T09:41:00.133+02:00
	/usr/local/go/src/net/http/server.go:2109 +0x2f
33
	2023-09-14T09:41:00.133+02:00
	net/http.(*ServeMux).ServeHTTP(0x0?, {0xcef040, 0xc0000ea2a0}, 0xc000384f00)
34
	2023-09-14T09:41:00.133+02:00
	/usr/local/go/src/net/http/server.go:2487 +0x149
35
	2023-09-14T09:41:00.133+02:00
	net/http.serverHandler.ServeHTTP({0xcee0c8?}, {0xcef040, 0xc0000ea2a0}, 0xc000384f00)
36
	2023-09-14T09:41:00.133+02:00
	/usr/local/go/src/net/http/server.go:2947 +0x30c
37
	2023-09-14T09:41:00.133+02:00
	net/http.(*conn).serve(0xc00008c8c0, {0xcef520, 0xc000387b00})
38
	2023-09-14T09:41:00.133+02:00
	/usr/local/go/src/net/http/server.go:1991 +0x607
39
	2023-09-14T09:41:00.133+02:00
	created by net/http.(*Server).Serve
40
	2023-09-14T09:41:00.133+02:00
	/usr/local/go/src/net/http/server.go:3102 +0x4db

Your Environment
Extension version:
arn:aws:lambda:eu-west-1:451483290750:layer:NewRelicLambdaExtension:33

We will take a look at this. The extension should not be panicking ever. We are sorry you are experiencing this.

please see #172

A fix will be shipped with the next lambda layer version

Please try this with the version of the layer that just shipped. Closing this ticket as resolved. Re-open it if this or a similar issue persists.


Create rouenbs

www.rouenbs.fr
https://www.neoma-bs.com/en/

@hprasadraj Please rename lib/domains/fr/rouenbs to lib/domains/fr/rouenbs.txt
Thank you.

@hprasadraj You might miss my previous comment. Please react.

Apologies @philipto , I tried to change the file format but not sure why i am not able to do it.
Can you cancel this pull request. I will create a new pull request.

Apologies for the late action.
renamed, please review and approve the commit.
Thank you.

@philipto  Thank you very much!!


Grouping UI MVP

Checked for duplicates
Yes - I've already checked
Alternatives considered
No - I haven't considered
Related problems
We need to design basic UI capabilities in order to represent the new planning elements that will be added to model hierarchical task networks as described in discussion:
Discussion grouping
Describe the feature request
In particular, we need to decide:
how to show/differentiate compound from primitive activities
how to show task networks that can be dragged and dropped as we do with activities
how to display a task network in the plan, or in other words, the decomposition of a compound activity into a list of sub activities and relations among them

Action Juan: Arrange demo of TaskNet visualization
Configure temporal relations parameters via UI: could be similar to the way it is done for activity arguments.
Starting Next Sprint Planning: Start discussion on the approach to visualize compound tasks. Visualization of tasknet internals for later

I've updated the ticket description above to flesh out some design requirements based on discussions earlier this week, & I'd like to get @lklyne working on this in our next sprint (starting 7/22). We decided to split this into two parts and not include the more difficult task of visualizing HTNs in part 1 - opened a draft ticket for Part 2 here: #1386 . @jmdelfa please let me know (or edit in place above) if I've gotten any details wrong.

Initial discovery: https://www.figma.com/board/ZebAe57i6RM7iZq4rOMBoH/Aerie-%231375---Timeline-Grouping?node-id=0-1&t=eGOzPKLbUXU5cjrA-1

Hoping to address #1169 with this too

This is ready for dev with a few outstanding questions remaining. https://www.figma.com/design/nQ2TqzIr0Kl1SIzqT246Ro/Aerie-%231375-Compound-activities?node-id=65-35353&m=dev&focus-id=69-58754
Remaining questions:

What happens on drag for an activity that has children? How do we show out of date in the timeline?
How do we show when something is out of date in the hierarchy / structure section in the instance details panel
What do we show similar to anchors in the timeline to show relationships? (probably v2)


using the php command

I am having mixed results with the cy.php command bundled with this library. I'll often get this error:
CypressError: Timed out retrying after 4000ms: cy.its()errored because the property:result does not exist on your subject.
Which I had deduced was happening due to the php I am executing not returning a value, but that assumption has been challenged a bunch of times to the point where I really have no idea what that error represents.
Is there a particular interface I should be adhering to when using the cy.php command and when returning data from the php I am executing therein?

It seems to wait some kind of return value always, I was having the same problem when attaching two models together and easiest fix I found is null coalescing operator:
cy.php(`App\\Models\\Program::find(${program.id})->tags()->attach(${tag.id}) ?? true`);


Taylor diagram is not using fcst_var_val_1/2 values in creating queries

Replace italics below with details for this issue.
Describe the Problem
While addressing some questions about generating Taylor Diagrams via METplus Discussions, it has been discovered that the fcst_var_val_1 setting in the Taylor Diagram yaml config file is NOT being used.   Users will need to set the fcst var under the series_val_1 setting to include the fcst_var value to be used in querying and filtering the input data.
Additionally, the dump_points support isn't available.  The fcstdev, ostdev, and pr_corr values should be saved to a file when dump_points is set to True.
Expected Behavior
Provide a clear and concise description of what you expected to happen here.
Environment
Describe your runtime environment:
1. Machine: (e.g. HPC name, Linux Workstation, Mac Laptop)
2. OS: (e.g. RedHat Linux, MacOS)
3. Software version number(s)
To Reproduce
Describe the steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
Post relevant sample data following these instructions:
https://dtcenter.org/community-code/model-evaluation-tools-met/met-help-desk#ftp
Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee

[ ] Select engineer(s) or no engineer required
[ ] Select scientist(s) or no scientist required

Labels

[ ] Select component(s)
[ ] Select priority
[ ] Select requestor(s)

Projects and Milestone

[ ] Select Organization level Project for support of the current coordinated release
[ ] Select Repository level Project for development toward the next official release or add alert: NEED CYCLE ASSIGNMENT label
[ ] Select Milestone as the next bugfix version

Define Related Issue(s)
Consider the impact to the other METplus components.

[ ] METplus, MET, METdataio, METviewer, METexpress, METcalcpy, METplotpy

Bugfix Checklist
See the METplus Workflow for details.

[ ] Complete the issue definition above, including the Time Estimate and Funding Source.
[ ] Fork this repository or create a branch of main_<Version>.
Branch name: bugfix_<Issue Number>_main_<Version>_<Description>
[ ] Fix the bug and test your changes.
[ ] Add/update log messages for easier debugging.
[ ] Add/update unit tests.
[ ] Add/update documentation.
[ ] Add any new Python packages to the METplus Components Python Requirements table.
[ ] Push local changes to GitHub.
[ ] Submit a pull request to merge into main_<Version>.
Pull request: bugfix <Issue Number> main_<Version> <Description>
[ ] Define the pull request metadata, as permissions allow.
Select: Reviewer(s) and Development issues
Select: Organization level software support Project for the current coordinated release
Select: Milestone as the next bugfix version
[ ] Iterate until the reviewer(s) accept and merge your changes.
[ ] Delete your fork or branch.
[ ] Complete the steps above to fix the bug on the develop branch.
Branch name:  bugfix_<Issue Number>_develop_<Description>
Pull request: bugfix <Issue Number> develop <Description>
Select: Reviewer(s) and Development issues
Select: Repository level development cycle Project for the next official release
Select: Milestone as the next official version
[ ] Close this issue.

This is something that should be handled by the not-yet available aggregation support that will be in the METcalcpy repository


Removes weird encoding problem

I found using the module to break when querying gitlab.com. There are clearly people publishing repo's with different character sets.
Above changes removes that problem.

👍


Discuss: Should beforeMatch die now that we have multi-class?

Before match:
      {
        beforeMatch: /\b(class|interface|enum|extends|implements|new)\s+/,
        match: JAVA_IDENT_RE,
        keywords: "class interface enum extends implements new",
        className: "title.class"
      },

But now this is trivial with multi-class:
      {
        match: [
          /\b(class|interface|enum|extends|implements|new)/, /\s+/,
          JAVA_IDENT_RE
        ],
        className: { 1: "keyword", 3: "title.class" }
      }

Does beforeMatch add so much clarity as to still be worth keeping as sugar?  The bottom approach looks simpler to me in many ways.    Right now it's also possible to use beforeMatch AND multi-class at the same time which seems kind of convoluted.  I'm not sure when that would be necessary vs just a larger multi-class matcher.
CC @highlightjs/core

Yes, it should.  Discussion in #3137


IoT Analytics fixes and additions

A number of fixes for IoT Analytics: Datastore AWSProperty name duplicated/shadowed the Datastore AWSObject name; RetentionPeriod class was listed twice, added ChannelStorage and DatastoreStorage AWSProperties.
Adds an example IoTAnalytics.py template.
I think this brings IoTAnalytics up to sync with CloudFormation - I've started using it to make some IoTAnalytics resources.
Also added IotAnalytics and StepFunctions to iot.Action property for iot.py

Changed Attributes  prop for AddAttributes from a json_checker to a dict type. It's the same dict format as RDS.DBParameterGroup - the CloudFormation won't provision as a JSON string.

Thank you!


Make sure instance members are always list value

Changelog Description
Make sure the instance members are always list value
Related issue: https://github.com/ynput/ayon-unreal/issues/65, https://github.com/ynput/ayon-unreal/issues/64, https://github.com/ynput/ayon-unreal/issues/63
Additional info
Please the PR along with this ticket https://github.com/ynput/ayon-core/pull/859
And with this setting below or with the backend ticket https://github.com/ynput/ayon-backend/pull/328.

name: unrealuasset
directory: {root[work]}/{project[name]}/{hierarchy}/{folder[name]}/publish/{product[type]}/{product[name]}/{@version}
filename: {originalBasename}.{ext}

***There are some limitations for loading the uasset/umap btw. You need to perform "delete" the files manually to make it visible. (which is strange)
https://github.com/user-attachments/assets/739cf10e-e119-470b-81c3-43d7504114eb
Testing notes:

Create UAsset/Umap/Camera Instance
Close the publisher
Open the publisher again
Publish
Should be published successfully without error.

It doesnt fail on me when performing Publish for Uasset but results into just _CON entity in the publish folder.... is that correct??

have you tried with ayon-core and ayon-backend altogether?

@moonyuet nope, sry my bad....didnt pull those other PRs


custommachine controller improve

https://github.com/kurator-dev/kurator/blob/main/pkg/controllers/custommachine_controller.go#L73
Now withi the above call, it always fail. And this controller falls into a dead loop
We should check calling of UpdateReferenceAPIContract

The above links are broken. Does this bug still exist in the current version of Kurator?


hector_quadrotor_description" does not exist.

Thanks for your helpful answer!
Now I install the gazebo9, and I met a new error again:
Errors     << hector_quadrotor_description:check /home/yinjie/ws_moveit/logs/hector_quadrotor_description/build.check.008.log
CMake Error: The source directory "/home/yinjie/ws_moveit/src/hector_quadrotor-kinetic-devel/hector_quadrotor_description" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
make: *** [cmake_check_build_system] Error 1
and
Could not find a package configuration file provided by
"hector_pose_estimation" with any of the following names:
hector_pose_estimationConfig.cmake
hector_pose_estimation-config.cmake

Add the installation prefix of "hector_pose_estimation" to
CMAKE_PREFIX_PATH or set "hector_pose_estimation_DIR" to a directory
containing one of the above files.  If "hector_pose_estimation" provides a
separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:7 (find_package)
Can I ask a more question? why are the directory hector_gazebo and hector_gazebo empty?

Can I ask a more question? why are the directory hector_gazebo and hector_gazebo empty?

Let me start with your last question. When cloning a repository with submodules, you should run the command git clone --recurse-submodules <repo_url.git> . Otherwise, those directories will be downloaded empty to your local. Since I will not do any implementation on those packages, I have made them submodules.
I recommend you to have a clean clone as I suggested. It should solve your actual problem, too.

I'm deprecating this issue because of one month inactivity.


Kronecker product

Background
1/ The Kronecker product of two arbitrarily-sized matrices A(n,m) , B(p,q) is a block matrix  of size (np, mq) that is useful in solving for the matrix X in matrix equations such as AXB = C. 2/ In addition, in random matrix theory, it is becoming increasingly important to learn from a partially-observed random matrix and predict its missing elements. The study of such matrix-variate distributions leverages the Kronecker product (and the helper "vec" vectorization function) to move back and forth between matrix-variate and multi-variate distribution and by doing so greatly simplifies matrix variate statistics.
Proposal
A native implementation of the Kronecker product and helper function vec in mat64. (And possibly extensions to the multivariate package mvt.)
Potential impact of proposal
Considerably reduced effort for the  statistician and algebraist to write, test, and publish robust Golang applications.

I was actually thinking about this a month ago when I wrote an answer in slack. The implementation is trivial and I'm happy to take this on, possibly over the weekend.

Well that's embarrassing; I just wrote one and then saw that a Kronecker was already declared. Time travelling me has already written this (two years ago). Reassuringly, I wrote it the same way both times, though there is an optimisation that I included this time that may be worth considering.
index d0c66509..c7a0597a 100644
--- a/mat/dense_arithmetic.go
+++ b/mat/dense_arithmetic.go
@@ -686,6 +686,12 @@ func (m *Dense) Kronecker(a, b Matrix) {
        ra, ca := a.Dims()
        rb, cb := b.Dims()

+       // Minimise the number of Scale calls.
+       if rb*cb < ra*ca {
+               a, b = b, a
+               ra, rb = rb, ra
+               ca, cb = cb, ca
+       }
        m.reuseAsNonZeroed(ra*rb, ca*cb)
        for i := 0; i < ra; i++ {
                for j := 0; j < ca; j++ {

@gcwenes Are you happy to close this?

yes - closed
Geert C. Wenes
+1<PHONE_NUMBER>
On Mon, Jun 28, 2021 at 1:23 AM Dan Kortschak @.***>
wrote:

@gcwenes https://github.com/gcwenes Are you happy to close this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gonum/gonum/issues/1690#issuecomment-869427745, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUTQXSH2QEPK6EUFAMFC3CTTVAPNXANCNFSM47IZADHQ
.


Password/Email combo won't work

I'm running Commento++ 1.8.7 via Cloudron, and it seems to be working well for the most past.
Unfortunately, I have this one weird issue, where I can log into the backend for moderation, settings, etc. But when I try to log into the comment section on a blog where Commento++ is used, I get the notification that my e-mail/password combo is invalid.
Now, it's the very same combo I use to log into the backend, so it's definitely the correct password. I've searched far and wide, but I still can't find anyone who's having the same issue, let alone a solution.
Would be a bundle of gratitude if you could point me to what I'm doing wrong.

Hey there, @stormgrass !
Sorry to hear your having issues. Have you tried inviting a different email? Let me know if that helps.
P.S: Easypanel has Commento too!(when PR is merged ofc, and you aren't paying 20$ a month ontop of your VPS)

I have a similar issue and I think I tracked it down to be reproducible in the following situation:

Create a new account via comment section with email<EMAIL_ADDRESS>Login works perfectly fine with this new account
Delete the account<EMAIL_ADDRESS>
Now the mail<EMAIL_ADDRESS>seems to be burned:

It is not possible to sign in (obviously, because the account is deleted)
It is not possible to create a new account with that email (which should be possible)
Resetting the password for<EMAIL_ADDRESS>works somehow (mail is send, reset link works), but the account is still deactivated and login fails with error "Invalid email/password combination."


NamedTuple sidecasts are incorrect in the interpreter

Every NamedTuple can be cast to another NamedTuple with the same key-value pairs but in a different order, as they are subtypes of each other. This doesn't work in the interpreter:
{x: 1, y: 2}.as({y: Int32, x: Int32})                    # => {y: 1, x: 0}
{x: 1, y: 2, z: 3}.as({y: Int32, z: Int32, x: Int32})    # => {y: 3, z: 0, x: 1}
{x: 1, y: "2", z: 3}.as({y: String, x: Int32, z: Int32}) # Invalid memory access (signal 11) at address 0xd

Apparently a similar thing also happens for Tuple upcasts:
{1, 2, 3}.as({Int32 | String, Int32, Int32}) # Invalid memory access (signal 11) at address 0xe

This is because the interpreter assumes all elements have the same alignment as the whole tuple.


Notebook Plugin cannot be used under Spyder 6.

Issue Report Checklist

[ ] Searched the issues page for similar reports
[ ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[ ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[ ] Tried basic troubleshooting (if a bug/error)

[ ] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[ ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
When I install notebook plugin in to Spyder 6, it will install spyder 5...
What steps reproduce the problem?

pip install spyder-notebook

What is the expected output? What do you see instead?

Open Spyder 6, got notebook tab.

Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

Spyder version:
Python version:
Qt version:
PyQt version:
Operating System name/version:

Dependencies

PASTE DEPENDENCIES HERE

Hey @chunqishi, thanks for reporting. A new version of Spyder-notebook compatible with Spyder 6 will be released after its first stable version is also released (as you probably know, that version is still in beta).


Remove references to hashicorp/template in our example environment

User Story
As a modernisation platform engineer I would like to remove references in our code to the deprecated hashicorp/template provider.
User Type(s)
MP engineers
Value
Keeping the platform up to date with provider changes improves our security posture and allows us to take advantage of new features. Additionally, since the deprecation of the template provider, we are unable to run terraform locally on M1 laptops without compiling a binary since the binary isn't being distributed. This is highly undesirable: we should be striving to keep the experience uniform across developer devices.
Questions / Assumptions / Hypothesis

Identify any references to these resources in example folder in modernisation-platform-environment repo and convert them to built-in template function or the new provider.
Definition of done

[ ] example environment converted
[ ] readme has been updated
[ ] user docs have been updated
[ ] another team member has reviewed
[ ] tests are green

Reference
How to write good user stories

Temp solution (using hashicorp/dri/template):
https://github.com/ministryofjustice/modernisation-platform-terraform-bastion-linux/pull/49
https://github.com/ministryofjustice/modernisation-platform-terraform-bastion-linux/pull/50

Final solution (using templatefile terraform function):
https://github.com/ministryofjustice/modernisation-platform-terraform-bastion-linux/pull/52

This is done.


CLOUD-1983: Initial implementation of BPMS templates

Initial implementation of BPMS templates for OpenShift, including:

Ephemeral business central
Execution server + PostgreSQL DB

Remarks:

Execution server and BC controller credentials (user/pass) are hardcoded so they match on both templates.
The only HTTP is supported.
No need to create "bpmsuite-service-account"

See my comments above, @errantepiphany
Thanks!

Added the Smart Router component

@goldmann @errantepiphany I've modified the template to use the businesscentral-monitoring image instead of the full BC, as will be used in BBVA

I've merged in this PR so we can move forward. Any future changes will require a new PR.


Allow auto-selection in select boxes to be determined via a prop

Summary
The listbox role definition speaks about allowing the automatic selection of an option in a single select as an optional feature. A prop can be provided to allow this functionality to be toggled on or off.
💬 Description
Selects may benefit from two modes of selection: automatic and manual.
Automatic - The current select behaviour where as a user navigates through options using the keyboard arrow keys, the option currently focussed becomes selected without need for additional input from user.
Manual - The user can navigate through the options in a select input, but must use the 'space' or 'enter' key to manually select it or not.
💰 Use value
Provides flexibility into the component so that it can be used in different use cases.
Additional info
Tell us anything else useful to help us understand your suggestion.
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/listbox_role

https://github.com/mi6/ic-ui-kit/issues/515

This is on hold while work is completed on multiselect- some work is being done there which may be relevant. Also, work completed here may cause conflicts with multiselect


Conda env creation fails with package conflicts

Hi,
when I try to generate the conda environment, it spends ages to fix package conflicts, then finishes but there is no new environment appearing in my list.

I updated the environment.yaml file and now it should work.
Could you try again?

Hmmm....
$ conda env create -f environment.yaml
Collecting package metadata (repodata.json): done
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
- Killed

It works for me with conda 4.9.2. Also it will only work on linux and only for python 3.7. Maybe it helps to pin the python version, I updated the environment file.

$ git pull
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 8 (delta 3), reused 8 (delta 3), pack-reused 0
Unpacking objects: 100% (8/8), done.
From https://github.com/mobie/mobie-utils-python
   ed0af38..2cad57a  master     -> origin/master
Updating ed0af38..2cad57a
Fast-forward
 environment.yaml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
(base) [schorb@login mobie-utils-python]$ conda env create -f environment.yaml
Collecting package metadata (repodata.json): done
Solving environment: - Killed

Which conda version are you using?
Also Killed probably means that you are running out of memory, so maybe run it somewhere where you have more RAM (I guess the conda solver can become pretty memory hungry)


Microverse Desktop Portfolio Version

This is a portfolio desktop version and the mobile version made using HTML  and CSS.
The core concepts of HTML, CSS, and GitHub were implemented. Using HTML, I was able to create a dynamic and responsive webpage that incorporates text, images, and hyperlinks. With CSS, I was able to style and customize the layout and design of the page, creating a unique and visually appealing user experience. In addition, the project has been managed and stored using Github, which provides a powerful and reliable version control system.

As per the feedback, I wrote the description of my PR. The mobile menu and logo are now displayed.Thanks for the feedback


Fix with-jest example

Running the with-jest example  results in the following error:
 FAIL  __tests__/index.test.js
  ● Test suite failed to run

    SecurityError: localStorage is not available for opaque origins

      at Window.get localStorage [as localStorage] (node_modules/jsdom/lib/jsdom/browser/Window.js:257:15)
          at Array.forEach (<anonymous>)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        0.943s
Ran all test suites.
error Command failed with exit code 1.

Upgrading the dependencies (jest) to the latest version helps!
More info
Related: #4776

I also have this problem.

I updated the "jest.config.js" with testURL: "http://localhost/" and it worked.

@lourencorodrigo yes that did work with an older version.
The problem was based on a new version of JSDOM bug they fixed it in the meantime.
The latest one doesn't need this configuration.


Navbar title as card title or speech title?

Should we use the navbar title for the name of active document instead of active part of app (component).

@isaaclo123 @Blazerp thoughts?

This is technically done albeit no live updating atm


some problem about the first booster's leaf value

Hi, Mr.Chen:
Recently,I am doing some regression task using Xgboost.When I want to understand  the predicitions at row level.I found something strange for me!
I think the prediction should always be sum of boosters'leaves.But I found The first booser's prediction is always a little bigger than the value of Its prediction leaf ,though the following boosters' prediction is the same as  the value of Its prediction leaf.
Sorry for my poor English,please run the following code:
from sklearn.datasets import load_boston
import xgboost as xgb

boston = load_boston()
dtr = xgb.DMatrix(boston.data,boston.target)
param = {}
param['objective'] = 'reg:linear'
param['silent'] = 1
param['nthread'] = 8
param['eval_metric'] = 'rmse'

param['learning_rate'] = 0.5
param['min_split_loss'] = 0.
param['min_child_weight'] = 1.
param['reg_lambda'] = 0.
param['reg_alpha'] = 0.
param['max_depth'] = 3
param['subsample'] = 1.
param['colsample_bylevel'] = 1.0
param['colsample_bytree'] = 1.0
param['seed']=2016
num_round = 5
early_stopping_rounds = 50
evals = [(dtr,'tr')]

plst = list(param.items())
eval_rets = {}
bst = xgb.train(params = plst,dtrain = dtr, num_boost_round=num_round,
                evals=evals, early_stopping_rounds=early_stopping_rounds, evals_result=eval_rets)

print "booster0 leaf value:",bst.predict(dtr,ntree_limit=1)[0]
print "booster0 leaf index",bst.predict(dtr,pred_leaf=True,ntree_limit=1)[0]
print "not match!!"
print "="*10
print "booster1 leaf value:",bst.predict(dtr,ntree_limit=2)[0]-bst.predict(dtr,ntree_limit=1)[0]
print "booster1 leaf index:",bst.predict(dtr,pred_leaf=True,ntree_limit=2)[0]
print "match!!"
print "="*10
print "booster2 leaf value:",bst.predict(dtr,ntree_limit=3)[0]-bst.predict(dtr,ntree_limit=2)[0]
print "booster2 leaf index:",bst.predict(dtr,pred_leaf=True,ntree_limit=3)[0]
print "match!!"
print "="*10
print "booster3 leaf value:",bst.predict(dtr,ntree_limit=4)[0]-bst.predict(dtr,ntree_limit=3)[0]
print "booster3 leaf index:",bst.predict(dtr,pred_leaf=True,ntree_limit=4)[0]
print "match!!"

There is a base score in xgboost, which translate to global bias without any trees

Trank you for replying me!
I see,base_score is default 0.5.


New Repo Steps

Before/Upon move to rancher/ do

[x] 1. Request EIO create:

[x]    1. GitHub rancher/kuberlr-kubectl repo,
[x]    2. Docker Hub repo,
[x]    3. Secrets for the GitHub to push to dockerhub

[x] 2. Find and replace mallardduck/rancher-kuberlr-kubectl to rancher/kuberlr-kubectl,
[x] 3. Find and replace mallardduck/rancher-kuberlr to flavio/kuberlr,
[x] 4. Find and replace rancher-kuberlr-kubectl to rancher/kuberlr-kubectl,
[x] 5. Find and replace rancher-kuberlr to flavio/kuberlr,
[x] 6. Update workflows to use EIO provided secrets
[x] 7. Add renovate (maybe it'll help catch docker tags used to build)
[x] 8. Review CIs and ensure all images and releases are published,
[ ] 9. PR Shell to use the correct rancher/kuberlr-kubectl as the base for it.
[ ] 10. Produce Shell POC image.
[ ] 11. Complete RFC process and wait for review.
[ ] 12. Merge Shell PRs and produce shell releases,
[ ] 13. Send PRs (or create issues) to rancher/charts to update any usage of rancher/kubectl and rancher/shell to use correct rancher/kuberlr-kubectl or rancher/shell image,

Renovate added here: https://github.com/rancher/kuberlr-kubectl/pull/4
And it already caught 2 PRs for us; bumping kuberlr and GHA workflows


Another:
SELECT s.*,sq.SQL_TEXT FROM V$SESSION s
LEFT OUTER JOIN V$SQL sq ON sq.SQL_ID=s.SQL_ID
WHERE s.TYPE='USER'
Problem:  column SQL_ID doesn't exist
Declares V_$SESSION and V_$SQL:
CREATE OR REPLACE VIEW SYS.V_$SESSION AS
select "SADDR","SID","SERIAL#","AUDSID","PADDR","USER#","USERNAME","COMMAND","OWNERID","TADDR","LOCKWAIT","STATUS","SERVER","SCHEMA#","SCHEMANAME","OSUSER","PROCESS","MACHINE","TERMINAL","PROGRAM","TYPE","SQL_ADDRESS","SQL_HASH_VALUE","PREV_SQL_ADDR","PREV_HASH_VALUE","MODULE","MODULE_HASH","ACTION","ACTION_HASH","CLIENT_INFO","FIXED_TABLE_SEQUENCE","ROW_WAIT_OBJ#","ROW_WAIT_FILE#","ROW_WAIT_BLOCK#","ROW_WAIT_ROW#","LOGON_TIME","LAST_CALL_ET","PDML_ENABLED","FAILOVER_TYPE","FAILOVER_METHOD","FAILED_OVER","RESOURCE_CONSUMER_GROUP","PDML_STATUS","PDDL_STATUS","PQ_STATUS" from v$session
CREATE OR REPLACE VIEW SYS.V_$SQL AS
select "SQL_TEXT","SHARABLE_MEM","PERSISTENT_MEM","RUNTIME_MEM","SORTS","LOADED_VERSIONS","OPEN_VERSIONS","USERS_OPENING","EXECUTIONS","USERS_EXECUTING","LOADS","FIRST_LOAD_TIME","INVALIDATIONS","PARSE_CALLS","DISK_READS","BUFFER_GETS","ROWS_PROCESSED","COMMAND_TYPE","OPTIMIZER_MODE","OPTIMIZER_COST","PARSING_USER_ID","PARSING_SCHEMA_ID","KEPT_VERSIONS","ADDRESS","TYPE_CHK_HEAP","HASH_VALUE","CHILD_NUMBER","MODULE","MODULE_HASH","ACTION","ACTION_HASH","SERIALIZABLE_ABORTS","OUTLINE_CATEGORY" from v$sql
Possible solution ( I'm not entirely sure ):
SELECT
s.*,
sq.SQL_TEXT
FROM
V$SESSION s, V$SQL sq
WHERE
sq.ADDRESS = s.SQL_ADDRESS AND s.TYPE = 'USER'

This is more complicated.

Package procedures list metadata is not supported by Oracle 9 and earlier. There is no workaround. The same about recycle bin. I will just remove these elements from navigator tree for Oracle < 10.
I'll play with sessions info reading. Outer join by address seems to be working on new oracle as good as on 8.


swayconfig updates for 9.1 release

I'm planning on updating these in upstream vim before the 9.1 release next month, but thought it should probably go here first.

Mentioned options seem to be covered by the syntax file at this point.


[SMD-147] Fix project numbers in validation messages not being in the…

Extract a list of active projects during extraction, then use this to reorder the projects to represent their position on the sheet in validation messages.
Initally the problem was that if only projects 1, 2, 4, 7 were active they would fill slots 1,2,3,4 on page so we need a way to map the first list to the second

[ ] Unit tests and other appropriate tests added or updated
[ ] README and other documentation has been updated / added (if needed)
[ ] Commit messages are meaningful and follow good commit message guidelines (e.g. "FS-XXXX: Add margin to nav items preventing overlapping of logo")

How to test
If manual testing is needed, give suggested testing steps
Screenshots of UI changes (if applicable)

@Connor-OS if this is rebased we should be able to approve it


multistage dockerfile example

@jasoncolburne any update on this?

It was just an example for Kent @m00sey , feel free to do with it as you see fit. Kent made further improvements to the build so ask him about it

Just added this commit, and one more from me, in https://github.com/WebOfTrust/keripy/pull/571.


Update contribution guidelines

Signed-off-by: Bob Fraser<EMAIL_ADDRESS>

@soodpr Updated commit to include URL reference to CONTRIBUTING.md


bbnk,

https://github.com/d3/d3-brush/blob/a9bd39ee12054525c5f79a020824aa9169509148/src/brush.js#L153

bbnk


Poor graphics rendering performance in Windows when Terminal is the foreground/active app

Environment
Windows build number: 10.0.19041.388
Windows Terminal version (if applicable): 1.1.2021.0
CPU: Ryzen 9 9300X
GPU: GeForce 2080 Ti
Monitor settings: 3840x1600 @ 144 Hz w/ Nvidia G-Sync enabled

Steps to reproduce

Open Windows Terminal and ensure Terminal is the foreground (active selected) app.
Move mouse cursor OR shake Terminal to minimize all other apps on screen.

Expected behavior
General rendering performance in Windows should not be affected by Terminal.
Actual behavior
The mouse cursor appears slow/choppy when Terminal is in the foreground, and the problem immediately goes away when you click on another window to make Terminal no longer the foreground app. This problem not only affects the rendering of the mouse cursor, but other graphics as well (e.g. if you shake the Terminal window to auto-minimize all other open apps, the visual effects for the minimize action also appears sluggish).
Note this can also be repro'd when Terminal is minimized and the taskbar icon is clicked to restore the app - the visual effects for the restore action is sluggish.

Almost certainly this issue https://github.com/microsoft/terminal/issues/649
Adding the setting "experimental.rendering.software": true is the recommended temporary workaround right now.

Yup, that looks like it. Thanks @jack775544 for the quick pointer to that bug. This can be closed as duplicate.

/dup #649

Thanks everyone!


Better logic to handle osv versions list

The best way to understand this PR is to try this search on the master and with this branch.
vdb --search "pkg:maven/org.springframework/spring-core@5.2.5?type=jar"

The fix version would be missing in the master since we do know or store the fix version correctly while dealing with the versions array.

Yup, good point. I didn't want to introduce the rich library to vdb to keep it lightweight. Are there any settings available for tabulate to improve the rendering?


add standby timer processing logic, separate existing timer processing logic into active & standby part

failover version check of activity / decision / user timer / workflow timer in next PR.
timer failover in next PR

Coverage increased (+0.002%) to 63.251% when pulling 7be290ec07a5a2b6954a8da7b2b1fd57b5d7caea on timer-Q-process into 473c5241936127b547a3cc7e54c4ae24209b2f1f on master.


Copy to ClipBoard option not working properly for Installation Command

The problem
When I click the option of copy to clipboard for the stylex installation command.

It picks the $ sign also and when I copy it in the terminal, it does not work directly, first I have to remove the $ sign and then the command works.

That is the same behavior with other plug-in installations.

How to reproduce
Go to the Installation section, click on the copy to Clipboard Option, and then CTRL+V in the terminal and press enter error will come.
Expected behavior
The commands should run directly without having to remove the $ manually every time.
Environment (include versions). Did this work in previous versions?
Ubuntu Linux

The $ sign is likely used for illustrative purposes. Perhaps it can be omitted, as we are utilizing the CodeBlock Component from Docusaurus

I would like to work on it , and see what would be the best option and accordingly make the changes

It's yours @moodyMayank

Hey @moodyMayank are you working on it ? or may i add a quick fix for it

Hello, please check #151 for the fix of this issue. Thank you.


Incorrect comment formatting for email replies.

Hi the team,
Great appreciation is here to show to you for your excellent work on Gitalk project.
Gitalk works well on my blog, except for the formatting for email replies. Thus the issue.
Since Gitalk is by dint of GitHub issue, GitHub may send emails to participates of the related issues. When these participates reply the email, his/her reply would be posted on the issues (figure 1), and then be synchronized to the bound blog post (figure 2).

As you could see, Gitalk gives incorrect formatting for the comment from email. Please consider to check and fix it.

@Liam0205 released v1.6.0 can fix.

@booxood
Thanks. Currently (1.6.0), it shows like this:


added new route to query and filter data by month

Need to remember if there are capitals in the column names, they need to be escaped!


Small Adjustments

Description

Migrated things to my new domain.
Added Screens for the new 7.0.0 themes and updated the README.
Added some things for the themes to handle typescript better.

Motivation and Context

It is all part of the plan.
How Has This Been Tested?

Works on my linux box.
Types of changes

[X] Bug fix (non-breaking change which fixes an issue)
[X] Non-Functional Change (non-user facing changes)

Checklist:

[X] I updated the version.
[X] I updated the changelog with the new functionality.


Ethan: Watch play.google.com/store/apps/details?id=com.powerful.magic.spell.casting

Ethan requests the watch of the watch_keyword play\.google\.com/store/apps/details?id=com\.powerful\.magic\.spell\.casting. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

play\.google\.com/store/apps/details?id=com\.powerful\.magic\.spell\.casting has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by Machavity in Charcoal HQ


Support React 16.3

can you approve my PR? With just the lifecycles I can switch from recompose to recompact in our project.


CalendarProcessing Subject

Hi, Why does the Set-CalendarProcessing command in step 3 removes the Organizer from subject and keeps the original meeting subject?  Is this a requirement for SRS to work?
If yes, can a warning be provided that it does that?  There are security implications (say the meeting subject is "Process to fire user X", now that user X could see it just browsing the calendar in Outlook) and user implications (Train them to have generic subjects so above does not happen).
If no, then can that part be adjusted to just AutoAccept meetings?

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

ID: 8289b8af-2562-69bc-7d7e-a47845bf4ebe
Version Independent ID: 4097b196-fdca-df05-4c78-27e5cc03abfc
Content: Skype Room System single forest on-premises deployments
Content Source: Skype/SfbServer/deploy/deploy-clients/single-forest-on-premises-deployments.md
Product: skype-for-business-itpro
GitHub Login: @jambirk
Microsoft Alias: jambirk

Thing is, when you do this command, users in Outlook cannot see the Organizer when attempting to create a meeting in the future (in order to adjust internally any conflicts).  Just keep in mind

@AndreaBarr
This is a Skype issue not a SharePoint/OneDrive issue so adding it to the SharePoint uservoice would be pointless 😊
Salutations / Regards / Cordial Saludo
Pascal Verdieu
Windows Systems intermediate Administrator / Information Technology
Administrateur intermédiare Systèmes Windows / Technologie de l'information
VIA Rail Canada
3 Place Ville Marie, Suite 500, Montréal, Québec, H3B 2C9
T :<PHONE_NUMBER> / C :<PHONE_NUMBER> / E<EMAIL_ADDRESS><EMAIL_ADDRESS>Thank you for being on board! / Merci d’être partant !
From: AndreaBarr<EMAIL_ADDRESS>Sent: Thursday, September 13, 2018 3:23 PM
To: MicrosoftDocs/OfficeDocs-SkypeForBusiness<EMAIL_ADDRESS>Cc: Pascal Verdieu<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] CalendarProcessing Subject (#682)
@PChipVIAhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_PChipVIA&d=DwMFaQ&c=7T-TmBDHmd8pPB-TR4ileg&r=OGN54_dhuGa5uXHYXeLhPNiMp8wDVQkBNWZiaRgWLHE&m=Ikope660cfz-9HLS3_wgsacWXeFeXG4VeZMsNtbbnfE&s=lgCiRTrFTsWIvTzFqI7mWi7ttIiAKYTWriNjFHNQOo4&e= Thank you for this feedback.
I want to make sure this calander issue gets addressed properly. Support should be able to help you with this issue. Also for the warning being issues please put in a feature request on user voice.
Here is a quick video on opening a ticket: https://www.youtube.com/watch?v=puuOy0sEg1Yhttps://urldefense.proofpoint.com/v2/url?u=https-3A__www.youtube.com_watch-3Fv-3DpuuOy0sEg1Y&d=DwMFaQ&c=7T-TmBDHmd8pPB-TR4ileg&r=OGN54_dhuGa5uXHYXeLhPNiMp8wDVQkBNWZiaRgWLHE&m=Ikope660cfz-9HLS3_wgsacWXeFeXG4VeZMsNtbbnfE&s=-wYkgCyPthSDrN9mJ0pAwYmYdWIdpy3nn7sMWSUYBAU&e=
If you don't mind please keep us posted here on the resolution and I really want to get this information you are discovering back into the docs.
I know the product teams are always looking for user feedback and how to make the OneDrive / SharePoint better. They keep a close tab on User Voice https://sharepoint.uservoice.comhttps://urldefense.proofpoint.com/v2/url?u=https-3A__sharepoint.uservoice.com&d=DwMFaQ&c=7T-TmBDHmd8pPB-TR4ileg&r=OGN54_dhuGa5uXHYXeLhPNiMp8wDVQkBNWZiaRgWLHE&m=Ikope660cfz-9HLS3_wgsacWXeFeXG4VeZMsNtbbnfE&s=XT177QTxTerphPBiZLxi1rNyAu-Vy3DKM5GZMe756nA&e= and if you don't mind it would be awesome if you could look through and give your input in User Voice and if you don't see a similar request already you could open one. Let us know and we can up-vote your request too.
Thank you for your contribution to make the docs better! Much appreciated!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_MicrosoftDocs_OfficeDocs-2DSkypeForBusiness_issues_682-23issuecomment-2D421122593&d=DwMFaQ&c=7T-TmBDHmd8pPB-TR4ileg&r=OGN54_dhuGa5uXHYXeLhPNiMp8wDVQkBNWZiaRgWLHE&m=Ikope660cfz-9HLS3_wgsacWXeFeXG4VeZMsNtbbnfE&s=DbD5bMPtSBsn2vSWDMfZR92XBMUJz_o45E4Nd0uINaU&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AnhDbC-5FqQZT1Y-5FGzhg0-2DsCYZ7j-2DqeRIlks5uarB-2DgaJpZM4WByDA&d=DwMFaQ&c=7T-TmBDHmd8pPB-TR4ileg&r=OGN54_dhuGa5uXHYXeLhPNiMp8wDVQkBNWZiaRgWLHE&m=Ikope660cfz-9HLS3_wgsacWXeFeXG4VeZMsNtbbnfE&s=c_VRu0FH4zildn89oItS9SD0-1uo_Q0UhpUP7EE_bbI&e=.

@PChipVIA sorry about that I didn't grab the right user voice link. Here is the right link.
https://microsoftteams.uservoice.com/forums/555103-public


Problems with knex using postgres driver

I encountered some problems while trying to use this library with apollo-server setup using PostgreSQL as database and knex. My setup doesn't use objection ORM, it just calls knex queries straight from the resolver.
I forked the library and added posgres driver to isolate the issue from my setup. I created a new table, cities, since my initial problem was concerning a calculated column, which shows distance between coordinates in the database compared to coordinates in the query.
Most of the added code is here. The file contains detailed comments on the problem. I also added notes to the readme on how to run dockerized posgres to test this on. By the way, this can not be tested on sqlite since it doesn't have the necessary math functions to calculate distances.
I encountered two problems.

.groupBy('id') is needed when selecting the columns using .select(). Even though the exact same query is generated with .select(['*']) and omitting the select altogether. When driving the sqlite driver, this problem doesn't occur. See implementation2 in the file linked before.
When adding the custom column to the select array, it works fine when using only first pagination parameter. The column appears in the results and results can be sorted based on the calculated column. Using anything else than first breaks the query. See implementation3.

Any idea what might be causing this?
If you would like to include the test cases in the repo, I can clean them up and do a PR. There are no tests tho, didn't have time to setup postgres tests. I also added some general notes on the readme, feel free to copy them if you feel so :)

Another example here, playground available here, try this query:
query {
  restaurants(
    first: 10
    lat: 65.012643
    lng: 25.471445
    orderBy: "distance"
    orderDirection: asc
  ) {
    totalCount
    edges {
      cursor
      node {
        id
        distance
      }
    }
  }
}

Change first to last and it goes boom.

@jtiala I've submitted a few PRs that might fix the issues you mentioned above since these issues were first created. Do you have time to try the latest version of the library and see if that fixes your problems?

Thanks! I'll try to find some time on the weekend to test this out.


use 'writeln' instead of appending newline character

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Eh2406 (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

@bors r+

:pushpin: Commit 706c8242e32229c3243033191750359eaf908ce3 has been approved by Eh2406

:hourglass: Testing commit 706c8242e32229c3243033191750359eaf908ce3 with merge 58be9793af7737c358b550f95aaed2433f2c2b09...

:sunny: Test successful - checks-actions
Approved by: Eh2406
Pushing 58be9793af7737c358b550f95aaed2433f2c2b09 to master...


Link on website is broken

The GitHub link on https://people.cs.uchicago.edu/~jhr/tools/ml-doc.html has an extra https//: https://https//github.com/JohnReppy/ml-doc-tools

Thanks for pointing that out.  It is fixed now.


[INLONG-10704][Sort] Sort Add Oceanbase Support

Fixes #10704
Motivation
Added support for Oceanbase data sources to adapt to the Oceanbase ecosystem. close #10704

Modifications
It mainly adds oceanbase data source support and uses the oceanbase-client driver to connect.

It mainly adds oceanbase data source support and uses the oceanbase-client driver to connect. And write oceanbase's ExtractNode logic and LoadNode logic. The specific implementation logic is the same as mysql.Added support for oceanbase on the front-end page. Since the jdbc-inlong processing logic in the flink15 connection lacks the jdbc dialect, an error is reported. This is modified here.
Verifying this change
(Please pick either of the following options)

[ ] This change is a trivial rework/code cleanup without any test coverage.

[ ] This change is already covered by existing tests, such as:
(please describe tests)
Here's how the page test works

[ ] This change added tests and can be verified as follows:
Please use the following test classes for testing  org.apache.inlong.sort.parser.MySqlExtractNodeToOceanBaseLoadNodeTest
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Documentation

Does this pull request introduce a new feature? (yes / no) yes
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)  Data source types have been added to the README.md
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a follow-up issue for adding the documentation

please add test result with real data from any source to oceanbase

What kind of test data is needed and where to put it

please add test result with real data from any source to oceanbase

What kind of test data is needed and where to put it

You can refer to inlong-sort/sort-end-to-end-tests/sort-end-to-end-tests-v1.15/src/test/java/org/apache/inlong/sort/tests/Mysql2StarRocksTest.java
or package your code to manager container. Then start a job to verify the oceanbase connector work properly.If all right, plz
provide some screenshots~

please add test result with real data from any source to oceanbase

What kind of test data is needed and where to put it

You can refer to inlong-sort/sort-end-to-end-tests/sort-end-to-end-tests-v1.15/src/test/java/org/apache/inlong/sort/tests/Mysql2StarRocksTest.java
or package your code to manager container. Then start a job to verify the oceanbase connector work properly.If all right, plz provide some screenshots~

The logic of Oceanbase and MySQL is the same, using MySQL-CDC, and the following is tested in the form of a remote debug project jar package through local source code

This step shows that the pre-configuration logic is passable, and the corresponding CDC can be found and flinksql can be generated，Below is the generated flinksql
FlinkSqlParseResult(tableEnv=org.apache.flink.table.api.bridge.java.internal.StreamTableEnvironmentImpl@42554211, createTableSqls=[CREATE TABLE table_mysqtooceanbase(
id INT,
user_name STRING)
WITH (
'inlong.metric.labels' = 'groupId=mysqtooceanbase&streamId=mysqtooceanbase&nodeId=mysqtooceanbase',
'topic' = 'mysqtooceanbase.mysqtooceanbase',
'properties.bootstrap.servers' = '<IP_ADDRESS>:9092',
'connector' = 'kafka-inlong',
'inlong-msg.debezium-json.schema-include' = 'false',
'inlong-msg.debezium-json.encode.decimal-as-plain-number' = 'true',
'inlong-msg.inner.format' = 'debezium-json',
'format' = 'inlong-msg',
'inlong-msg.debezium-json.timestamp-format.standard' = 'SQL',
'inlong-msg.debezium-json.ignore-parse-errors' = 'true',
'inlong-msg.debezium-json.map-null-key.literal' = 'null',
'inlong-msg.debezium-json.map-null-key.mode' = 'DROP',
'inlong-msg.ignore-parse-errors' = 'false',
'scan.startup.mode' = 'earliest-offset',
'properties.group.id' = 'kafka-local_mysqtooceanbase.mysqtooceanbase_consumer_group'
), CREATE TABLE table_oceanbase(
PRIMARY KEY (id) NOT ENFORCED,
id INT,
user_name STRING)
WITH (
'inlong.metric.labels' = 'groupId=mysqtooceanbase&streamId=mysqtooceanbase&nodeId=oceanbase',
'connector' = 'jdbc-inlong',
'url' = 'jdbc:mysql://Confidentiality:4848/test',
'username' = 'Confidentiality@tt1',
'password' = '123456',
'table-name' = 't_ds_user'
)], loadSqls=[INSERT INTO table_oceanbase
SELECT
id AS id,
user_name AS user_name
FROM table_mysqtooceanbase ])
Go to flink-ui to find that the task has also been submitted

LGTM~


⚠ Bofrost.at has degraded performance

In e9ad567, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1438 ms

Resolved: Bofrost.at performance has improved in a92a0b0.