fails when gets "real" workflow

Seems like connection with shared lib is not properly configured...

Hey @seregasheypak - sorry for the delay here. It seems the test still fails. I spent a bit of time debugging and was able to resolve the Share Lib issues. However, I'm encountering a new issue once the "real" workflow starts and haven't quite had the time to get that one resolved. I'll update this PR once I've committed the working version.

Hey @seregasheypak - I went ahead and committed the fixes to the Share Lib setup. The "real" workflow still fails, but I'm getting closer to a resolution.
The "real" workflow was missing the input and output directories for the MR job, adding those allows the MR job to get submitted, however, Oozie is unable to retrieve the status of the job and ultimately fails, despite the MR job succeeding. This seems to be ATS/JHS related, but I haven't been able to resolve this failure yet. I'll continue to work on that as time permits.
If you have time to take a look, that would be much appreciated as well. As HDP 2.6 released this week, I'm going to be a bit tied up with that integration.
Thanks!

@sakserv I'm on black side (CDH). My guess that oozie cluster doesn't properly configure / mock presence / absence of shared lib (according to log output). I'm compiling your stuff with CDH and I get exactly the same result in CDH world.

@seregasheypak thanks for the continued patience. :)
I pushed some changes to the oozie test. I've commented out the Oozie client status polling so the test passes.
Note that the shared lib issues are resolved. I've also updated the MR jobs with the necessary input/output settings so they run.
At this point, the workflow can be submitted and the MR jobs successfully run. The remaining issue is that Oozie client is unable to poll the status of the MR jobs. This appears to be AHS related. I see the following log entry repeated until the number of attempts is exhausted.
2017-04-22 12:02:02 INFO  MapReduceActionExecutor:520 - USER[skumpf] GROUP[users] TOKEN[] APP[sugar-option-decision] JOB[0000000-170422120112054-oozie-skum-W] ACTION[0000000-170422120112054-oozie-skum-W@first] Trying to get job [job_local1119689956_0001], attempt [7]
I'm continuing to look into this. Please feel free to poke at the latest update as well.

Hey @seregasheypak - I've been able to get much further on tracking down the issue here, or should I say four issues here. :)
My fix to the sharelib was incorrect and the fact that oozie was expecting the sharelib to be on the local filesystem was a giveaway to the issue.
Here is what I've found so far:

The MR job needs the input and output set.
The configuration being set in OozieLocalCluster was not saved/serialized out to the oozie hadoop-conf directory. This was the big one, default configs were being written out. As a result, oozie and MR were running in local mode.
The sharelib was not actually being populated. The plumbing was there, but it was not being called.
The MR cluster was not using fixed ports for the Job History Server, so the status of the job could not be obtained by oozie.

I need to do some clean up of previous patches, and I'm now running into an issue with bash on my workstation (error=7 argument list too long), but I hope to have a fixed version up yet this weekend.

The issue I was having with too many arguments is due to the low limits on OSX and large classpath with all of the shared lib jars on it. I've added a Shared Lib Frameworks feature to only load the shared lib libraries that are needed for the type of Oozie job being run. This speeds up run times quite a bit versus loading the full shared lib. See the integration test for how to use it.
I'm about to push the final update here with the "real" workflow working. I will close this out once it gets through CI.
Thanks again for your patience. Please let me know if you still have trouble. You can open a new ticket or reopen one of the existing ones.

The fix has been committed. Thanks!


implement missing apis

missing apis while porting some of my code from https://www.nuget.org/packages/swigged.llvm/
to LLVMSharp v8

Thanks!


VIEW filter

Hi !
Since the "VIEW filter" update, the request to find a contact using his email no longer works.
I was used to do this :
$params = array(
'method' => 'VIEW',
'unique' =><EMAIL_ADDRESS>);
$result =$mj->contact($params);
But now, it returns the whole contact list...

Hey @TheExcalibur :airplane:
We just released a new PHP API wrapper.
It is now more PHP-ish (including namespace, PSR-0 compliance, and globally a better architecture).
All it requires is PHP 5.4
In addition to our API Guides, we would be happy to help you get started with it.
Guillaume, from Mailjet!

Thank's for the update ;-)

Le 17 nov. 2015 à 14:34, Guillaume Badi<EMAIL_ADDRESS>a écrit :
Hey @TheExcalibur
We just released a new PHP API wrapper.
It is now more PHP-ish (including namespace, PSR-0 compliance, and globally a better architecture).
All it requires is PHP 5.4
In addition to our API Guides, we would be happy to help you get started with it.
Guillaume, from Mailjet!
—
Reply to this email directly or view it on GitHub.


Getting a warning message using the custom widget

Hello,
I am getting this warning in the browser . Can you tell me how to fix this.
[Custom widget] Widget settings declared without edit mode. Data will not be stored to remote.
Thanks

Hey!
Thanks for reporting
Actually, it is not a warning. It is just info print that settings are not saved in view -mode.
I'll create a follow-up issue for our platform for removing info print in this case.


Suggestion: Ignore the step if the selector is undefined

Thanks for the library. It looks great!
Can the step be ignored without script error if the element selector does not return anything? This is useful when the elements are either hidden or not rendered in dynamic pages and the step is not valid.
If the last selector is invalid, the next button should not be displayed in the last but one step.
Currently when the element does not exits the next button does not work and the following script error occurs:
Uncaught TypeError: Cannot read property 'left' of undefined(anonymous function) @ enjoyhint.js:176

As a workaround, I am currently skipping the step if the element does not exist.
onBeforeStart: function () {
if ($('.step_element').length < 1) {
tour_instance.trigger('next');
}
}


The sitemap isn't showing any packages

I see no packages at all on the sitemap.xml now it's deployed to production. This is the entire content of it:
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
  <url>
    <loc>https://swiftpackageindex.com/faq</loc>
    <changefreq>weekly</changefreq>
  </url>
  <url>
    <loc>https://swiftpackageindex.com/</loc>
    <changefreq>hourly</changefreq>
  </url>
  <url>
    <loc>https://swiftpackageindex.com/privacy</loc>
    <changefreq>monthly</changefreq>
  </url>
</urlset>

For some inexplicable reason while implementing it I thought, well, we're not going to want to generate that for all 2.6k packages. When of course that's exactly what we want to do and I even said I want to use it to generate a test file from it 🤦


Output at original video resolution

Hi, and thank you for this code!
Is it possible to run remove anything on a video and output the result at the original video resolution (eg, HD / 4kUHD) ?
Or is the output downsampled to use the STTN model?
Thanks!

Currently, cannot. This is limited by video inpainting model. STTN has a fair performance but is not scalable to resolution. I'm also looking for a video inpainting model with both good performance and scalability.

Is it just a pixel dimension limitation that STTN has? My input was 1024x512 and 1.9 MB, and then the output was still 1024x512 but only 0.7 MB. I thought it might look blurrier, but when I went to grab some screenshots I couldn't really tell the difference between the two.


no such index [vue_storefront_catalog_taxrule]

Hello
I installed the 2X version of the vs bridge in Magento (with sample data), and indexing data into ES v7
When using the GraphQL to run this query
{
  products(
    filter: {
      sku: {
        like: "24-MB01"
      }
    }
  )
  {
    hits
  }
}

I get this error
app_1    | (node:73) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'length' of undefined
app_1    |     at SearchQuery.hasAppliedSort (/var/www/node_modules/storefront-query-builder/src/types/SearchQuery.ts:48:30)
app_1    |     at RequestBody.applySort (/var/www/node_modules/storefront-query-builder/src/elasticsearch/body.ts:336:26)
app_1    |     at RequestBody.buildQueryBodyFromSearchQuery (/var/www/node_modules/storefront-query-builder/src/elasticsearch/body.ts:189:10)
app_1    |     at /var/www/node_modules/storefront-query-builder/src/elasticsearch/index.ts:11:17
app_1    |     at step (/var/www/node_modules/storefront-query-builder/lib/elasticsearch/index.js:33:23)
app_1    |     at Object.next (/var/www/node_modules/storefront-query-builder/lib/elasticsearch/index.js:14:53)
app_1    |     at /var/www/node_modules/storefront-query-builder/lib/elasticsearch/index.js:8:71
app_1    |     at new Promise (<anonymous>)
app_1    |     at __awaiter (/var/www/node_modules/storefront-query-builder/lib/elasticsearch/index.js:4:12)
app_1    |     at buildQueryBodyFromSearchQuery (/var/www/node_modules/storefront-query-builder/lib/elasticsearch/index.js:50:12)
app_1    | (node:73) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 8)
app_1    | [Storefront-API] 73   - 07/22/2020, 9:33:12 AM  Object:
app_1    | {
app_1    |   "name": "ResponseError",
app_1    |   "meta": {
app_1    |     "body": {
app_1    |       "error": {
app_1    |         "root_cause": [
app_1    |           {
app_1    |             "type": "index_not_found_exception",
app_1    |             "reason": "no such index [vue_storefront_catalog_taxrule]",
app_1    |             "resource.type": "index_or_alias",
app_1    |             "resource.id": "vue_storefront_catalog_taxrule",
app_1    |             "index_uuid": "_na_",
app_1    |             "index": "vue_storefront_catalog_taxrule"
app_1    |           }
app_1    |         ],
app_1    |         "type": "index_not_found_exception",
app_1    |         "reason": "no such index [vue_storefront_catalog_taxrule]",
app_1    |         "resource.type": "index_or_alias",
app_1    |         "resource.id": "vue_storefront_catalog_taxrule",
app_1    |         "index_uuid": "_na_",
app_1    |         "index": "vue_storefront_catalog_taxrule"
app_1    |       },
app_1    |       "status": 404
app_1    |     },
app_1    |     "statusCode": 404,
app_1    |     "headers": {
app_1    |       "content-type": "application/json; charset=UTF-8",
app_1    |       "content-length": "509"
app_1    |     },
app_1    |     "warnings": null,
app_1    |     "meta": {
app_1    |       "context": null,
app_1    |       "request": {
app_1    |         "params": {
app_1    |           "method": "POST",
app_1    |           "path": "/vue_storefront_catalog_taxrule/_search",
app_1    |           "body": "{}",
app_1    |           "querystring": "",
app_1    |           "headers": {
app_1    |             "user-agent": "elasticsearch-js/7.7.1 (linux 4.19.76-linuxkit-x64; Node.js v10.21.0)",
app_1    |             "content-type": "application/json",
app_1    |             "content-length": "2"
app_1    |           },
app_1    |           "timeout": 5000
app_1    |         },
app_1    |         "options": {
app_1    |           "warnings": null
app_1    |         },
app_1    |         "id": 1
app_1    |       },
app_1    |       "name": "elasticsearch-js",
app_1    |       "connection": {
app_1    |         "url": "http://sfa_elasticsearch:9200/",
app_1    |         "id": "http://sfa_elasticsearch:9200/",
app_1    |         "headers": {},
app_1    |         "deadCount": 0,
app_1    |         "resurrectTimeout": 0,
app_1    |         "_openRequests": 0,
app_1    |         "status": "alive",
app_1    |         "roles": {
app_1    |           "master": true,
app_1    |           "data": true,
app_1    |           "ingest": true,
app_1    |           "ml": false
app_1    |         }
app_1    |       },
app_1    |       "attempts": 0,
app_1    |       "aborted": false
app_1    |     }
app_1    |   }
app_1    | }
app_1    |  +1565728ms
app_1    | POST /graphql - - ms - -

When I run bin/magento in:rei I get
Design Config Grid index has been rebuilt successfully in 00:00:00
Customer Grid index has been rebuilt successfully in 00:00:00
Category Products index has been rebuilt successfully in 00:00:00
Product Categories index has been rebuilt successfully in 00:00:00
Catalog Rule Product index has been rebuilt successfully in 00:00:02
Product EAV index has been rebuilt successfully in 00:00:01
Product Price index has been rebuilt successfully in 00:00:01
Catalog Product Rule index has been rebuilt successfully in 00:00:00
Stock index has been rebuilt successfully in 00:00:01
Catalog Search index has been rebuilt successfully in 00:00:03
Vsbridge Agreement Indexer indexer process unknown error:
{"error":{"root_cause":[{"type":"parse_exception","reason":"unknown key [index.mapping.total_fields.limit] for create index"}],"type":"parse_exception","reason":"unknown key [index.mapping.total_fields.limit] for create index"},"status":400}
Vsbridge Product Indexer index has been rebuilt successfully in 00:00:09
Vsbridge Category Indexer index has been rebuilt successfully in 00:00:01
Vsbridge Attributes Indexer index has been rebuilt successfully in 00:00:01
Vsbridge Cms Block Indexer index has been rebuilt successfully in 00:00:05
Vsbridge Cms Page Indexer index has been rebuilt successfully in 00:00:00
Vsbridge Review Indexer index has been rebuilt successfully in 00:00:02
Vsbridge Tax Rule Indexer index has been rebuilt successfully in 00:00:00

In ES I have the following indexes, after the index

Can you see where the issue is?

Hello.
What exact version of ES 7 instance do you have?

@afirlejczyk
version.number 7.3.2

OK, I tested branch 2.x and it's is working with ES 7.3.2 without a problem.
Are you sure you are on the correct branch because you can have this error when you are using changes from the master branch or from the 1.x version.
{
  "name" : "11746f32b224",
  "cluster_name" : "docker-cluster",
  "cluster_uuid" : "QMf2sjJERl2O9ZjmL_utZg",
  "version" : {
    "number" : "7.3.2",
    "build_flavor" : "default",
    "build_type" : "docker",
    "build_hash" : "1c1faf1",
    "build_date" : "2019-09-06T14:40:30.409026Z",
    "build_snapshot" : false,
    "lucene_version" : "8.1.0",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "You Know, for Search"
}
app@a6b3a6f5ad70:~/html$ php bin/magento vsbridge:reindex --store 1
Reindexing all VS indexes for store Default Store View...
Vsbridge Agreement Indexer index has been rebuilt successfully in 00:00:00
Vsbridge Product Indexer index has been rebuilt successfully in 00:00:00
Vsbridge Category Indexer index has been rebuilt successfully in 00:00:09
Vsbridge Attributes Indexer index has been rebuilt successfully in 00:00:01
Vsbridge Cms Block Indexer index has been rebuilt successfully in 00:00:00
Vsbridge Cms Page Indexer index has been rebuilt successfully in 00:00:00
Vsbridge Review Indexer index has been rebuilt successfully in 00:00:00
Vsbridge Tax Rule Indexer index has been rebuilt successfully in 00:00:00
Reindexing has completed!

@afirlejczyk Your instructions worked - Thank you
Adding some context, I followed the instructions below, when I originally installed the vs bridge
installation instructions: https://github.com/DivanteLtd/magento2-vsbridge-indexer/tree/2.x
config setup instructions: https://github.com/DivanteLtd/magento2-vsbridge-indexer/blob/2.x/docs/configuration.md
When I used your instructions I received the error
❯❯❯ composer require divante/magento2-vsbridge-indexer:2.x
    1/3:	https://repo.packagist.org/p/provider-2020-01$620c5563a8a00a1ce6a291fe151a4aa64fc66e6dacd3330b2ec9f061f704f689.json
    2/3:	https://repo.packagist.org/p/provider-latest$c24a57bf0d8a41a98a28f02aeb53c95110f9fc2c17ca70a504f9f0bebe34affc.json
    3/3:	https://repo.packagist.org/p/provider-2020-04$050c267181b1a6655cb070cab16e154de4863d9ac9e6e49d604841e74dbe2ca6.json
    Finished: success: 3, skipped: 0, failure: 0, total: 3
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package divante/magento2-vsbridge-indexer 2.x is satisfiable by divante/magento2-vsbridge-indexer[2.0-alpha, 2.x-dev] but these conflict with your requirements or minimum-stability.

Installation failed, reverting ./composer.json to its original content.

I fixed it by running
❯❯❯ composer require divante/magento2-vsbridge-indexer:2.x@dev

Thank you very much for the help <3

OK, I might have a different configuration in my Magento composer.json, so that's why my solution worked for me.
Yes, 2.0-alpha or 2.x-dev is the equivalent.
I'm glad the problem is solved.


Dask Xgboost Memory Error  Task has 30.61 GiB worth of input dependencies, but worker  has memory_limit set to 14.90 GiB.

Hi, Now I use dask and xgboost to train a 200G dataset, the code snippest like:
train_df =  dd.read_parquet(train_files, columns=[*model_features,  label_col], blocksize='64M')
val_df =  dd.read_parquet(val_files, columns=[*model_features,  label_col], blocksize='64M')
cluster = LocalCluster(processes=True, threads_per_worker=1,
n_workers=4, memory_limit='16GB')
client = Client(cluster)
Output error is:
2024-09-06 14:30:09,034 - distributed.shuffle._scheduler_plugin - WARNING - Shuffle f8a13ed66d77d62b5a6d7c8d37e27861 initialized by task ('shuffle-transfer-f8a13ed66d77d62b5a6d7c8d37e27861', 99) executed on worker tcp://<IP_ADDRESS>:57277
2024-09-06 14:32:03,606 - distributed.shuffle._scheduler_plugin - WARNING - Shuffle f8a13ed66d77d62b5a6d7c8d37e27861 deactivated due to stimulus 'task-finished-1725604323.598064'
2024-09-06 14:32:04,799 - distributed.scheduler - ERROR - Task 'lambda-6a341594-3645-4a9a-9521-1739c67e8778' has 30.61 GiB worth of input dependencies, but worker tcp://<IP_ADDRESS>:57276 has memory_limit set to 14.90 GiB.
2024-09-06 14:32:04,808 - distributed.scheduler - ERROR - Task 'lambda-157939a1-0fe0-445c-ae36-1ad5be5dc7f5' has 31.35 GiB worth of input dependencies, but worker tcp://<IP_ADDRESS>:57277 has memory_limit set to 14.90 GiB.
2024-09-06 14:32:04,817 - distributed.scheduler - ERROR - Task 'lambda-cdcc3746-b22b-4c35-8bc4-8142f64c15f0' has 30.93 GiB worth of input dependencies, but worker tcp://<IP_ADDRESS>:57302 has memory_limit set to 14.90 GiB.
2024-09-06 14:32:04,825 - distributed.scheduler - ERROR - Task 'lambda-b257bba5-e392-443c-b815-9c9c9aec2082' has 30.47 GiB worth of input dependencies, but worker tcp://<IP_ADDRESS>:57273 has memory_limit set to 14.90 GiB.
how do i to solve this problem? Thanks

Maybe this document can help https://distributed.dask.org/en/stable/worker-memory.html ?


New Track Matte action and connection settings

Changes

Added a "Track Matte" action for controlling the special "Alpha Matte", "Luma Matte" and "White Matte" blend modes (PVP 3.3+).
New connection options:

HTTPS Connection
Authentication token

Misc bug fixes and code cleanup.

Successfully tested against PVP 3.3.1 (4934).

Is there a standard port? Might be good to add that as default. Why the min/max for port number?

Thanks for merging.
There isn't a standard port, it picks one for you when you enable the network API. The min/max ports are sanity checks to prevent invalid TCP ports from being picked.


5.1.0: Outline Pane not loading

What steps will reproduce the problem?

Open Spyder
Load a Python Script with functions and classes
Outline pane will not show any of these functions or classes

Hey @sharon92, thanks for reporting. How did you install Spyder 5.1.0?

@ccordoba12 I used the standalone Installer for Windows 10 from here https://github.com/spyder-ide/spyder/releases/tag/v5.1.0

Ok, could you post a screenshot of what you're seeing?

I mean, an screenshot of the entire Spyder window.

Ok, thanks. Are code completion and warnings in the editor working for you?

@ccordoba12 Good Morning, the code completion and warnings (code errors are appearing [red cross for invalid syntax] but not the warn triangle [for unused variable]) seem to be working:

I have the same issue with the outline plane.
I use a linux (debian) system with the new v5.1.0.

Thanks @sharon92 for the extra info. I can confirm this bug is present in 5.1.0 and I'll try to fix it in our next release (5.1.1)

Update: I found a fix for this and it'll definitely be available in our next version.

@ccordoba12 Thank you for your good work 👍

Hi @ccordoba12, I don't know why you add the os:windows tag and change the name of the topic, because I had the same issue (https://github.com/spyder-ide/spyder/issues/16118#issuecomment-891863231) with my linux system?

If you installed 5.1.0 using pip (the only possible way right now), you should be have received a message saying that it's broken. That should be fixed in 5.1.1, but the problem reported by @sharon92 is specifically about the Windows installer.

yes i have installed v5.1.0 via pip. When I start spyder I do not get any message. The outline plane still shows nothing.


Selection Highlight Color Issue in Terminal

The selection highlight color in my terminal is black, which matches the background color, making it difficult to discern selected text. This issue persists when using commands in the terminal. As a result, it's challenging to identify which text is selected, hindering productivity and causing potential errors. We need to address this color contrast issue to improve user experience and usability when working with the terminal. The rest is Great Thank You.

Hi. thanks for the issue. this is solved and available to update in your vs code :metal:

Thanks for the quick fix! Really appreciate it. 🙏


Expand lsp snippets/functions

Is there a way to expand LSP functions/snippets? I have installed the necessary vsnip plugins and the Vim9 LSP plugin. Vsnip is enabled in the options and shown in :VimCompleteCompletors but when I press enter on a function, vimcomplete only inserts the function name.

After selecting the snippet type <space>, and see if it works. If Lsp snippets are not expanding, can you share your more details? Which Lsp server and which snippet?

<space> should expand the snippet, after you tab select. This works for vsnip snippets. It should work for Lsp snippets also. If not, let me know which Lsp server and which snippet.

Tried that, but didn't work. I'm using clangd as the language server. Here's what I tried doing:
https://github.com/girishji/vimcomplete/assets/60551350/3c0875e1-95d5-467c-9d12-501779be02b0

 will not expand snippet

I mapped  to  using inoremap <expr> <CR> pumvisible() ? "\<C-y>" : "\<C-g>u\<CR>" if that helps.

Have you unset completionTextEdit by any chance? In any case, it should have been set explictly in this plugin.
Can you try now?

Doesn't seem to work for me, I have checked that completionTextEdit is enabled. <c-y> doesn't insert the snippet, and <space> doesn't seem to do anything
https://github.com/girishji/vimcomplete/assets/60551350/cd2eeb31-cc64-4b5a-a03f-ce73cbe7c6fd

Can you check :imap and make sure you have no mapping for space and c-y?
Disable this plugin (or remove it), and try only Lsp client and check if it completes.
Set debug to true,  g:VimCompleteOptionsSet({completor: { debug: true}}), and type #inc and let the popup window appear, then do :messages and paste the output.

Actually found out that it was something else causing it. I used an autocmd to packadd lsp on certain filetypes, and I suppose that messed with the snippet support. I reverted the commit that referenced this issue, and it didn't change anything.
Thank you


Rename pool to context

Closes #99

@sschmid it's would be great to mention in getting start docs about the Pool to Context change.

@7ujian As a brand new user, I agree. I read the wiki thoroughly and dissected the Asteroids example project, but then immediately felt lost when one of the core pillars of Entitas wasn't functioning at all.

I hope to contribute to the documentation as soon as both i understand the existing documentation perfectly and have the time. in the following months perhaps.

@Propolandante I know that the docs and wiki are behind atm. In the last weeks / months I did a rather big change to the code base and I'm currently preparing for the next release. So I'm currently really busy with the code base. Once I'm done I try to update the wiki. In the meantime I try to as transparent as I can by sharing my current progress with issues / pull request / chat announcements so you guys have the chance to follow whats happening.

Do you have a date ? It's okay if you can't say one / don't know, I'm not in hurry, only wondering :)

@JuDelCo
I'm currently writing a new migration assistant to make things easier. the version itself is ready. bleeding edge is on develop. Also testing maxims dsl. I don't wanna rush the release and try to make upgrading less a pain. ETA: this month

Okay thanks ! ;)


Wrong focus for Duplicate/copy/paste/cut hotkeys for Node-Nodes in Editor in scene-tree when Script-editor open

Godot version
3.5.rc6.official
System information
Windows 10
Issue description
When i am using the Ctrl+C, Ctrl+D or Ctrl+V,Ctrl+X in the Scene-tree when only a "Node" type (no Node2D or Node3D type) is selected and the script-editor is open, it will copy/duplicate/paste a line of code in the script editor instead of the tree-view.
I think one of the reasons for this is, that if i select any Node2D or Node3D node in a scene, it will automatically jump to the 2D/3D View instead of the script-editor and in that view the Scene-tree has "priority" over the 2d/3d view (or rather doesnt conflict it i guess).
with "Wrong focus" in the title i want to describe that it seems it doesnt apply the actions to the wrong window/Tile/Panel in the editor, although im actually clicking on something in the scene-tree.
Steps to reproduce
The first examples show the expected behaviour, and the last ones will show the "unwanted" behaviour with the script-editor:
https://user-images.githubusercontent.com/24807557/179366167-a56fedab-b0d7-42b2-9f16-afb441767bfa.mp4
Create a new Scene with pure Nodes, open the script-editor and select a node in the scene-tree andand try to copy/duplicate/paste/cut. It will then proceed to do that action on the line of code currently selected instead.
Minimal reproduction project
No response

Duplicate of #52861
The issue is fixed in 4.0

Tested in Godot 4 alpha 11 and it works properly (after changing the hotkey from shift+ctrl+d to ctrl+d for text-editor)

With 3.5 stable this issue got worse, it now also happens with other scene-trees than nodes. The Editor is not swapping to the 2D anymore and i cannot copy/paste via hotkeys, until i swap to the 2D view.
3.5 stable:
https://user-images.githubusercontent.com/24807557/183307576-be18230a-5c0e-4530-9a70-cb03d7bc1814.mp4
In Godot 4 alpha 13 it works similar, but here it seems the scene-tree panel gets the focus and then its possible to work with the hotkeys, although the script-editor is still open.
4 alpha 13:
https://user-images.githubusercontent.com/24807557/183307580-309282fd-080c-4e68-9f72-c96143655743.mp4
Could it be possible that parts of the behaviour was backported to 3.5 but then the actual focus-logic itself wasnt?
As this ticket is archived, should i open a new ticket or is this info fine here?

There are 2 separate things here.
The first one is #63344. It's intended behavior, you can disable it in editor settings.
The other one is indeed #52861. In 4.0 the editor handles shortcut context much better, but seems like the wrong behavior in 3.5 might've affected #63344 in a bad way. You can comment in #52861, we should resolve it somehow eventually.


Learning ArgoCD for Billy and Alex

Describe the issue
Inorder to create CD part of Project Registry pipeline using shared ArgoCD. Billy need to learn some knowledge on ArgoCD and ci/cd basic knowledge
Additional context
https://learn.openshift.com/gitops/getting-started/
Will add more resource later
Definition of done
Have a basic idea of cd pipeline and have some hands on experience.

@w8896699 @ShovelHand  Would you like to have a session with me to go over the details of the registry app pipelines and Argo CD - as part of this ticket?

Hi @IanKWatts, I think I already have a basic concept of how our pipeline works. It would be really helpful if we go into detail after I have some hands-on experience. Unfortunately, I don't have time to play argo on my playground yet... So, I guess we can go into some detail later?
and I really appreciate that you offer this, Thank you!

@IanKWatts Pardon me, Ian. With all the confusion of getting going in a new position, I have kind of let this fall by the wayside. I will follow up with the links Billy has provided here, and pursuant to his comment above, I'd love to be included in any knowledge transfer you guys end up doing.

@ShovelHand No problem.


Feature/text coloring

This PR is for issue-290. It adds text-coloring to the information screen as seen in the attached picture. Text-coloring can be applied by running -t X X X X X X or --text-coloring X X X X X X with numbers 0 - 15. If number(s) is missing, the default color is white. Goes in order of title, ~, underline, title, colon, and info. Please review and any suggestions are appreciated. Thank you.

Hey everyone! Thanks for the review. I hope I was able to address your concerns.


[#4695] author order fix

Resolves #4695
Pull Request Checklist:

[X] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

Create a new resource
Add a handful (at least 5 let's say) authors
In edit mode, drag and drop the first or second author and make them the last author
Now move that same author from the end of the author list to the beginning again
Exit "edit" mode and you will see that the author order in "view" mode is retained

METRIC
VALUE

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-4703

@devincowan

When there are duplicates, we have to make an assumption about which one should actually be listed first. I think this assumption could result in many resources having altered author orders (as seen by the user on view of the resource landing page) after running the script. Can you think of any way to prevent that? I couldn't...

Looking at how we generate citation (https://github.com/hydroshare/hydroshare/blob/develop/hs_core/models.py#L2436), I don't think we have to worry about duplicates when fixing the ordering. I did some testing to confirm this.
NOTE: We don't want to fix the author ordering for any published resource.
If you can add tests for this management command we can be confident how it supposed to work.

I'm sure there is a more efficient way to query and run this modification than what I've added. I would love to learn from you if you have suggestions. Thanks

I can add comment to the management command code.

@pkdash thanks for the superb suggestions! I believe I've addressed all of your comments and learned some things along the way :)


Remove Rotation and Transform traits

Closes #143, #194
Given the interactions on IRC, they cause more confusion than perhaps they are worth. Perhaps we can re-add them in the future with a better API, but for now I would like to focus more on simplicity.
The following traits and types have been removed:

Rotation types and structs: Rotation, Rotation2, Rotation3, Basis3, Basis3
Transform types and structs: Transform, Transform2, Transform3, Decomposed, AffineMatrix3

I'm obviously not too happy about the Transform stuff removal.

I'll think about this some more. I think some common traits would be useful, but I definitely don't want to leave it in its current state. Have you been leaning on these heavily?

I've been using Decomposed and Transform for the "claymore" engine/game, and part of it ended up going to gfx_scene: https://github.com/gfx-rs/gfx_scene/blob/master/src/scene/cull.rs#L59
Of course, gfx_phase and gfx_scene need to be heavily refactored (if that's even possible without total redesign) to work with the latest gfx, but I didn't plan to change the way it interacts with cgmath.

Cheers, thanks for showing me!

I would support a redesign here - my experiences using cgmath have been positive, except for the fact that it feels like I often need to import several traits from the library just to get the expected basic functionality from a math library. I've started just including use cgmath::* wherever I need it. Removing some traits would help, and it would also make the documentation substantially clearer and easier to navigate. The overall comprehensibility of the library would be improved, as well.
I support this also because I recently ran into a big rat's nest when I needed to combine a rotation (Basis3) and a translation (Vector3) into a single 4x4 matrix. After spending a long time looking through the documentation of Basis3 for a way to convert it to a 4x4 matrix, I settled on this rather clunky formulation:
let translation = Matrix4::from_translation(object_position);
// Matrix3::from_rotation(x: Basis3) would be useful here:
let rotation: Matrix3<T> = object_rotation.into();
// Matrix4::from(object_rotation.into()) would fail here:
translation * Matrix4::from(rotation) // -> final matrix

The downside of removing the Basis structs is that I do like the guarantee of orthonormality...

Note that I've also added cgmath::prelude::* in the 0.8.0 release, which cuts down individual importing of traits.

Is this still being considered? I'd rather see it refactored rather than removed. Transform, Rotation and Decomposed are definitely useful.
What about only removing the traits and renaming/refactoring the structs? Perhaps rename Decomposed to Transform{2|3} and move the trait functions from both Transform and Rotation.
Decomposed<Vector3, R> to struct Transform3<Vector3, Quaternion>
Decomposed<Vector2, R> to struct Transform2<Vector2, Quaternion>

I'm actually thinking of going with Isometry like nalgebra.

https://en.wikipedia.org/wiki/Isometry
http://www.euclideanspace.com/maths/geometry/affine/index.htm

One tricky thing is Matrices are can be treated interpreted in different ways. A Matrix3 could either be interpreted as a 2D homogeneous transformation matrix, or a 3D rotation matrix. So implementing transformation constructors on matrices can be confusing. That was the idea behind the Basis and AffineMatrix wrapper structs.

@nbennet if you move the transform functions into the struct that comes from Decomposed, you'd not be able to use it in a generic interface where either Decomposed or Matrix4` would work. So the whole point of this abstraction will be ruined.
@bjz is this a problem though? Just implement both Transform2 and Transform3 for Matrix3 - problem solved.

@kvark I don't disagree about the abstraction. I was only suggesting an alternative in order to prevent them from being removed entirely.


Region Support for AWS GovCloud (US)

Note AWS Security Hub service is available in GovCloud as of April 2020.
Please up-vote if you want this feature. Do not submit a new feature request.

Shipped in V1.1


Style

Fix: style drop on redirect from not found

was fixed on dev

not yet

The problem occurs when we wrap the component not Found in MainLayout so I removed MainLayout.


Compatibility with network-run

This is a companion PR (note: here too into main2), to https://github.com/kazu-yamamoto/network-run/pull/9, following the discussion in https://github.com/kazu-yamamoto/http2-tls/pull/16.
The only change this PR makes is that it drops settingsOpenServerSocket, which is no longer used (users should call runWithSocket instead of run).
@kazu-yamamoto I'm okay with the approach that you have implemented in network-run:main2 and http2-tls:main2. I have a branch in grapesy against these two versions which works. The most important comment I have is that not only is user code now responsible for bracketing the socket creation, it is also responsible for calling listen on that socket, even if they call openServerSocket (as well as resolve, see https://github.com/kazu-yamamoto/network-run/pull/9. Just as an example, the code in grapesy to create the server socket now looks like this:
withServerSocket .. host port k = do
    addr <- Run.resolve Stream host (show port) [AI_PASSIVE]
    bracket (openServerSocket addr) close $ \sock -> do
      listen sock 1024
      ..
      k sock
  where
    openServerSocket :: AddrInfo -> IO Socket
    openServerSocket = Network.Run.TCP.openServerSocketWithOptions ..

This works, but is perhaps slightly less discoverable; in fact, if the user forgets that call to listen, the server will just fail to start with
Network.Socket.accept: invalid argument (Invalid argument)

which is not exactly obvious.
But having said that, I can work with this.

Merged.
Now main merged main2.

@edsko Please see https://github.com/kazu-yamamoto/network-run/pull/11


[AutoPR cognitiveservices/data-plane/CustomVision/Prediction/cognitiveservices/data-plane/CustomVision/Training] Add Custom Vision 3.0 API

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5164

Build output:

Build output:

Build output:

Build output:

Build output:

Build output:

Build output:

Build output:

Build output:


refactor: move RunPipeline and RunTask logic to runner

Summary
The RunTask logic can be reused between standalone and temporal mode,
so it is moved into runner, the standalone should be working without
problem at this point. Next step will be implementing temporal mode
Key Points

[ ] This is a breaking change
[ ] New or existing documentation is updated

LGTM


#4082 Merged all UI files into new CRA-directories

This code will work locally. Authors need to confirm their pieces still work with Egeria. After this PR, need to fix Dockerfiles.

set to draft so we can verify first (ie breakage of merge build)

Hi @grahamwallis, please could you confirm that Tex Dino and Tex are as you expect. I will test Glossary Author

Yes, will do - what is the new procedure for building with the revised folder structure?
I have been making further changes to Rex and Dino, so am hoping that the changes to the actual modules are minimal or zero, and that it's just the structure that has changed. @jmmadsen or @davidradl can you please confirm?

@grahamwallis I have taken all the various changes from the nodejs directory, and applied them to the cra-client and cra-server directories - basically because the code in there was out of date.

@jmmadsen I built the pr locally and ran a view server and metadata server. I had forgotten how to start the UI, I could not find how to do this in the docs in git. I had to look back in my slack messages and I ran npm start from the cra-server folder. If this is the way to start the dev ui please could you document this in the top level readme , which still refers to the old build system. Also mention how to build this in production mode. I suggest linking to the large cra readme md file from the top readme.

Also the npm start failed with "Failed to compile.
./src/components/GlossaryAuthor/components/GlossaryAuthorNavigation.js
Line 18:32:  Unexpected use of 'location'  no-restricted-globals
Line 29:9:   Unexpected use of 'location'  no-restricted-globals
Search for the keywords to learn more about each error.
"

the readme.md filein cra-client shows an error for me "Specification.COMMENT or Specification.SPEC_HEADING expected, got '## Table of Contents' "

@jmmadsen I applied the pr and compared the glossary-author folder in nodejs and the one in cra-client, the one in nodejs has been back leveled. The file CategoryChildren is present in nodejs in master and in the the pr's cra-client . The pr's nodejs does not have CategoryChildren. It looks like the patch has backed off the latest changes from nodejs in glossaryauthor

There are also differences between the repository explorer folders in nodejs and in cra-client. @grahamwallis is this what you would expect?

@davidradl I will work on updating the ReadMe. I am not sure about the backleveling, perhaps just a manual error?
@planetf1 To run locally in production, run npm build from within cra-client, then run npm prod from within cra-server.

@davidradl I will work on updating the ReadMe. I am not sure about the backleveling, perhaps just a manual error?
@planetf1 To start in production mode locally, run npm build from within cra-client, then run npm prod from within cra-server.

jonesn:cra-client/ (jmmadsen-mergeCRA) $ npm build                                                                                [15:47:40]
Top hits for "build"
————————————————————————————————————————————————————————————————————————————————
npm help install                                                         build:6
npm help config                                                          build:5
npm help explore                                                         build:5
npm help package-json                                                    build:4
npm help registry                                                        build:4
npm help rebuild                                                         build:4
npm help version                                                         build:4
npm help developers                                                      build:2
npm help semver                                                          build:2
npm help ci                                                              build:1
————————————————————————————————————————————————————————————————————————————————
(run with -l or --long to see more context)

I assume you mean:
jonesn:cra-client/ (jmmadsen-mergeCRA) $ npm run build                                                                                [15:47:44]

><EMAIL_ADDRESS>build
> react-scripts build

sh: react-scripts: command not found
npm ERR! code 127
npm ERR! path /Users/jonesn/IdeaProjects/egeria/open-metadata-implementation/user-interfaces/presentation-server/cra-client
npm ERR! command failed
npm ERR! command sh -c react-scripts build

npm ERR!      /Users/jonesn/.npm/_logs/2020-11-16T15_49_20_425Z-debug.log

But here we
a) Need to get those tools into a form that can be retrieved as part of a build process (like maven-frontend-plugin)
b) ensure we have a cross platform solution (windows needed too)
our build process does not assume the presence of locally installed tools
If this becomes essential I really think we need to split out the UI components into a seperate github project, as the requirements will become quite different to core egeria

Hi @planetf1 you are correct I meant npm run build and npm run prod respectively.
I agree on your latter points. To get around the issues you are seeing locally, can you try running npm install in both cra-client and cra-server before the npm commands?

@jmmadsen
I ran npm install for my local environment which pulled in the dependencies, albeit taking over 4 minutes. The npm build then took another 3 minutes but failed with
jonesn:cra-client/ (jmmadsen-mergeCRA) $ npm run build                                                                                [16:23:27]

><EMAIL_ADDRESS>build
> react-scripts build

Creating an optimized production build...
Failed to compile.

./src/components/GlossaryAuthor/components/GlossaryAuthorNavigation.js
  Line 18:32:  Unexpected use of 'location'  no-restricted-globals
  Line 29:9:   Unexpected use of 'location'  no-restricted-globals

Search for the keywords to learn more about each error.

I am getting more convinced we need to move the UI code to a new repo - different language, skills, tools, process, pipelines, distribution - and my own feeling is +7 minutes for one components would be an undesirable to building the core.

(that's just for the client)

I have opened #4110 to split presentation server into it's own
I'm thinking a good seed for the code will be after this PR merge?
Does that make sense - then I will look through the build pipeline aspects?

That makes sense to me. I will update once I'm able to take a look at it
again.
On Tue, Nov 17, 2020 at 10:06 AM Nigel Jones<EMAIL_ADDRESS>wrote:

I have opened #4110 https://github.com/odpi/egeria/issues/4110 to split
presentation server into it's own
I'm thinking a good seed for the code will be after this PR merge?
Does that make sense - then I will look through the build pipeline aspects?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/odpi/egeria/pull/4097#issuecomment-729029614, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANWXU2LF4JZZMPVFN57ZGC3SQKNQ5ANCNFSM4TUU32YQ
.

@jmmadsen Hi Jacob - just a heads-up, I have opened PR #4114 to make a number of improvements to Rex. When you revisit this (4082) PR could you please pull across the latest Rex files from nodes/src/client/components/RepositoryExplorer?

@grahamwallis Just pulled in your latest Rex code. Will update this PR with it soon.


errors: documentation for errors.Unwrap mentions non existing interface Wrapper

What version of Go are you using (go version)?

$ go version
go version devel +1ab063ce53 Fri May 17 22:32:30 2019 +0000 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/johan/.cache/go-build"
GOENV="/home/johan/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/johan/go"
GOPROXY="direct"
GOROOT="/home/johan/go/go"
GOSUMDB="off"
GOTMPDIR=""
GOTOOLDIR="/home/johan/go/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/johan/go/go/src/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build709384782=/tmp/go-build -gno-record-gcc-switches"

What did you do?
Check documentation for errors package in standard library.

What did you expect to see?
Correct documentation for errors.Unwrap, similar to the Is and As functions.
What did you see instead?
The documentation for the Unwrap function mentions a non existing interface called Wrapper. This interface has was removed by revert in commit 3e2c522d5c712fa2b1d18a101272abefc7dcb074
Also it's rather unclear how one would go about actually wrap an error. There is the Unwrap function with a short comment (that mentions the non existing Wrapper interface), but nothing much else that provide more context. How are errors chained? Up to 3pp library support?

Thanks for reporting this.
This issue has already been noticed, and it'll be fixed by CL 177617.

https://golang.org/cl/177618


feat: support wasm32 target

Related: FuelLabs/fuels-rs#351

@Br1ght0ne Seems like this PR is g2g once the alloc feature is configured correctly.
cc @digorithm

Yup, it's looking good to me (other than the alloc feat config).

It is in fact ready @adlerjohn!

Next step is to edit the code and include the signature primitives as part of the no-std package

Next step is to edit the code and include the signature primitives as part of the no-std package

I'll do this ASAP in a separate PR.


Deopt Underscore methods that change on arguments

All of our currently deoptimized Underscore methods (pick, omit, invoke, without, and difference) change behavior based on the number of arguments pass to the call. This both adds reduce (and friends), and explicitly deopts any method that depends on arguments from falling through the cracks.
Supersedes (and incorporates) #3810.

This is a little gross but so is most of the perf rain dancing we're doing around those parts.

explicitly deopts any method that depends on arguments from falling through the cracks

Do we really need to do this though?

That is need because raw underscore methods behave so.
Why optimisation of reduce-family methods matters? This methods are applied for collection once per time and are not called so often

Do we really need to do this though?

Necessarily, no. But'll it catch our screw-ups next time. And it might increase interop with underscore-like libraries that use arguments for other reasons.

underscore-like libraries that use arguments for other reasons

The only library this could refer to is Lo-dash. And afaik he doesn't do anything with arguments. Unless I'm mistaken?

The only library this could refer to is Lo-dash.

Not specifically, this could be any handwritten library.

And afaik he doesn't do anything with arguments. Unless I'm mistaken?

I think lodash is pretty in-line with underscore on the functions Backbone uses.

Anyone else object?


fix: remove DefaultInfo.files from js_library

Fixes #251

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

@alexeagle @gregmagolan @alex-torok feels like we should have an e2e test that breaks without this?


decide on transport serialization

Communicating with Remote DWNs
The following proposal has been brought forth by @csuwildcat :
Proposal
For HTTP specifically:

set the dwn-message HTTP Header to a base64url encoded DWeb Message
set the content-type HTTP header to application/octet-stream
provide data associated to the message as raw bytes in request body

Motivations
Prior to this proposal, data associated to a message was sent as the value of encodedData within the json message itself. e.g.
{
  "recordId": "bafyreibisb4ivk6abfwpy433uvuwkfofl53cs7t2svc5y6yf5eeijhlava",
  "descriptor": {
    "interface": "Records",
    "method": "Write",
    "protocol": "yeeter",
    "schema": "yeeter/post",
    "dataCid": "bafkreiffcx7w4zsv24w75qpfnswiakxfe3zams6lj4plxw3u2qyvrb5axm",
    "dateCreated": "2023-03-18T05:49:09.382549Z",
    "dateModified": "2023-03-18T05:49:09.382549Z",
    "published": true,
    "datePublished": "2023-03-18T05:49:09.382549Z",
    "dataFormat": "application/json"
  },
  "authorization": {
    "payload": "eyJyZWNvcmRJZCI6ImJhZnlyZWliaXNiNGl2azZhYmZ3cHk0MzN1dnV3a2ZvZmw1M2NzN3Qyc3ZjNXk2eWY1ZWVpamhsYXZhIiwiZGVzY3JpcHRvckNpZCI6ImJhZnlyZWlid3F1N25oanlwdWN4dHA2M3V0azduYWN2aTJ4Y3M1d2xjbjZ2eHRvNXZ0Z29oYnY2MnptIiwiY29udGV4dElkIjoiYmFmeXJlaWJpc2I0aXZrNmFiZndweTQzM3V2dXdrZm9mbDUzY3M3dDJzdmM1eTZ5ZjVlZWlqaGxhdmEifQ",
    "signatures": [
      {
        "protected": "eyJhbGciOiJFUzI1NksiLCJraWQiOiJkaWQ6aW9uOkVpRDJjSWhieTlWU1hwZDVWamx1MU44bXNVTVVfeXh5c0RaUmJvNUNuZW5HNmc6ZXlKa1pXeDBZU0k2ZXlKd1lYUmphR1Z6SWpwYmV5SmhZM1JwYjI0aU9pSnlaWEJzWVdObElpd2laRzlqZFcxbGJuUWlPbnNpY0hWaWJHbGpTMlY1Y3lJNlczc2lhV1FpT2lKclpYa3RNU0lzSW5CMVlteHBZMHRsZVVwM2F5STZleUpqY25ZaU9pSnpaV053TWpVMmF6RWlMQ0pyZEhraU9pSkZReUlzSW5naU9pSm5kV2hxTTFGNWMxUnZVeTFNWVRsdlVUaGpjemhtTmtsQmJua3RRelZSTUVOdmVEQlFRa1ZQTWxBMElpd2llU0k2SW5OQ1N6ZDVkbU5FWm5kMGVWVTBTSEpGT0ZoTWRtRTJaVlZWT0RGUlFtUXlSMU4zYkd4R1MzQmxUekFpZlN3aWNIVnljRzl6WlhNaU9sc2lZWFYwYUdWdWRHbGpZWFJwYjI0aVhTd2lkSGx3WlNJNklrcHpiMjVYWldKTFpYa3lNREl3SW4xZGZYMWRMQ0oxY0dSaGRHVkRiMjF0YVhSdFpXNTBJam9pUldsQ2IzRkhNalJ6WWpkd0xYVTVkWEF3T1hsV1dUUldNa1ZDV2pRNE1FSkNOMXB0WkRoR1ptRk5NbXBSWnlKOUxDSnpkV1ptYVhoRVlYUmhJanA3SW1SbGJIUmhTR0Z6YUNJNklrVnBRWEZ0WkVGS01tSkdVVXh5Y2xaVlZqWTRMVkJWUzA1WlgzbFBlRFpWYUhveFQzTTBNMU5TT0hCME0wRWlMQ0p5WldOdmRtVnllVU52YlcxcGRHMWxiblFpT2lKRmFVRkNkMEYxYkdGclJISkNkRkF5UzNwRVNsb3dUVkpIUlhWRVZVVkNhSGRWWVZkaldYVkhVblptTTFOM0luMTkja2V5LTEifQ",
        "signature": "6yNVeO7szT3d-QUpsp-cFVH62XCzSoVbcvzaqpEhh6sStwpXf_vDXuF9sXJ9byf7a3baolv99ZpkcCiQzDSoqQ"
      }
    ]
  },
  "contextId": "bafyreibisb4ivk6abfwpy433uvuwkfofl53cs7t2svc5y6yf5eeijhlava",
  "encodedData": "ikQOI8lvhkCaNG9DcH2IfiIi0sbsU9c5OfOVzPnQsMVib7BkkaY_WLuNkqExOQcRbeMsitaEi5sFvPjP7mSFCWK5OUPT7PGXZH4YEcdofWCUr9K1b6ceXbPeXWWuKLaEhyYB1gPAVCctSttbB2me_I_4d7zDl5iRtG-CPY8IeaDeSVVrDdT5t0iz3ef-deHUuq4wB-3jqhiJHfHvDZXdpYaql97z6H-bxF2cgi6j_oYp_GtTjaI1USYCv0cm8cvLuY8pCctBLNEgq0u59UfkWNl6Gs02DZ-DGwQ3qEvv6p3OrqUT8oms1sPjvOspbVRUTPrjGsW5fT2XJtH-WpICwHrR-0IcbVm3-YKOIEemhuVLeUcMuo5BhR46cxQvoZ20dEYC-YgPbca0k7l5D7GhOUUh0XTx4CzIi-8Z0EsvRJkQF0ISKYqU7HrTqxQFUECAf2MxKxRdv4EBc9SMbLX6qaljj14EHiAXe0gX1VFLUFMzUk9iPzCjbg8dpMeTVwEcPN3_zuTRDJ2EoAHPJu620TnJ4VXP9ZOXhePWh5tey8pPaSZf1PChLGrbZ5HN2nKk_v2L3Y5n6iDqC5lF0gbmMLxgf7omNHP_-qmyT5MJet-OmCpOShf4FA0IK4VulTdA2gXEjnZpxrZYLzNXgU6r13gu7cLt3COXuWTyrQ3nMsXrx5nUlCkNNP7Kztq2mZH6ABbVKEn-qnGOONcywbsmuFS4jeMaw7MzVnGzjrFBtSeZoXPI6DOrE4z1Rf7taFzEMneBjHPy2-6G5JeEeRFBs3sZZ3qFo2ldjaHUrH0aMSwGoTeVFc6n2K3CQszllELsBvjgBjtXGPMJ6w9_KF7G3nSH6LBtqm8MkDRA7MY8LUzjJ7pmtfLtUrwvxPvNmis-OgJ1OampVlVWaI9hVvGH6u53uK6FSA5mSJOo6-IpY_R3nN99GQHDMK2yg7AevbU38QxxuuG39h2joohs6Xsyk346nLeTzey2C0G9EahfetArCfL4q6sb3-u4hc3-9AqcfcPeSad0DEqJLdkDsK1B8B98y5P7dE5hzkS6jf4EsLbk8Gv3rp1N5Uv7Oua0BkcHuYRDOgFspZtxJtBrIfNjdgRMez3z2oUC7923WUzsccWTb_WR4Hq86LrfCEbK7rubQInPgoKFjcx8Enp6YPlgUrzzIQwC7RhEibJncxtx2s0Pj6AC7pCUwb1bhTUmixMtT43iQt9OK9EcfreK-a61hxc7qOkYB88gyu7FTQkBI3uCUMY6semKG8PUghetC39LQUm_58zphO6gNov5VF7SGvMjnJf98dlh-f9nyHY8MhA5OIPyhciFdJ2rM-aH-qifmWUA0D2bCFQDciJg8p8OBA"
}

including large amounts of data (e.g 4GB chonker Bluray) within a JSON object isn't feasible.
Critique
🤓
the proposal described above does make sending large amounts of data (e.g. 4gb Chonker BluRay) more memory efficient. the request body can be streamed straight to disk vs. having to load the entirety of it into memory

😥
Applying the method outlined in the proposal for every message sent over HTTP to a remote DWN can result in peculiarities and generally feels bespoke.
for example, browsers have limited support for sending streams using fetch. the only widely supported means to send large files without loading all of the data into memory requires the sender to include the desired File in FormData (example here). This approach ends up including the following metadata in the request body:
------WebKitFormBoundary4QVIO1AHFtUODFqB
Content-Disposition: form-data; name="file"; filename="test.mov"
Content-Type: video/quicktime

In order to support communication between browsers and remote DWNs we'll either have to:

expect all http requests that send data to include this metadata. This feels especially weird for non-browser scenarios (e.g. desktop agent, other servers, CLIs, mobile)
introduce spec text that tells implementers to sniff for metadata and ignore it if found. this is especially necessary in order to compute the correct CID on the server side

😥
DWNs are no longer transport agnostic. We'll have to include a section in the spec for each individual transport that we choose to support.
For example, data sent over websockets don't have headers after the initial http request made to establish the connection is upgraded.

😥
handling large amounts of data applies to 2 of 7 message types (RecordsWrite, RecordsCommit, and maybe RecordsCreate if we end up including that). the proposed appoach feels even more bespoke for the other 5 message types
Further, the message types that do need to support large amounts of data won't always necessarily have large data. Many use-cases will only require small structured data (e.g. tbDEX)

🥸
symmetry is lost w.r.t. how data is written vs. how query results are returned
to prevent people from having to make an additional request to get the data associated to any given message, query results will include encodedData in a message if the accompanying data is under some size threshold.
great. but at the very least, why not allow the same optionality for sending data? this is, imo, at least a little bit better
Alternative Approaches

:bulb: TODO: FILL OUT. explore separating large file handling

Observations
relevant specification text on http headers can be found here and here. There doesn't seem to be any size constraint for header values (referred to as field values in RFC 9110)

IMO we maybe should just try to do something basic that at least works for now.  entire companies have been built around figuring out how to move data efficiently 😅
perhaps we could start with something basic like

RecordsUploadPart that contains some arbitrary length chunk of data with an index and uploadId (perhaps also with some sort of timeout that indicates how long to persist while waiting for a RecordsUploadComplete?)
RecordsUploadComplete that contains the total count that will actually assemble all the data from each RecordsUploadPart that have the same uploadId (which the RecordsUploadComplete would also have) based on the index into a unified thing (and drop/delete any that are outside of the count)

generally speaking i think RecordsWrite should only ever be used for situations where all of the data is already there ready to go in one message (regardless of the size, tho maybe we could have some sort of RecordsWrite.MAX_DATA_SIZE?)
frankly there also could be a lot of value in having multiple ways to deal with large payloads.  a one-size-fits-all solution will probably not be the most efficient for all the different "kinds" of data and situations they are used/created in.  having different transport mechanisms under the hood might also be a good idea (or even necessary) for large data depending on the context

i gave this a shot in dwn-sdk-js#280 :)


[TC-550] User's DSes - when based on tenancy skip DS/User table

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-whatchanged/26/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/156/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR-trafficops-test/117/

this is not correct because what this is doing is it is filtering delivery services based on the current user's tenant. in this case we want to filter delivery services based on the current user's tenant AND the specified user's tenant.
for example, jeremy is logged in and jeremy's tenant=root so jeremy can see ALL delivery services, however, bob (id=4) can only see tenant B delivery services.

root <- this is jeremy's tenant
-- tenant A
-- tenant B <- this is bob's tenant

GET /api/users/4/deliveryservices should return the delivery services that Bob can see (but an additional filter is also required to ensure jeremy doesn't see more than he can)
where right now, it is returning the delivery services that jeremy can see.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/159/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR-trafficops-test/120/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-whatchanged/29/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-whatchanged/58/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/189/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR-trafficops-test/150/

GH issue #884


Bowtie and dedup options

Hi,
A couple of questions:

In the alignment I usually add -- no-mixed --no-discordant to my Bowtie2 settings, how can I go about doing this in the pipeline?
Is the duplicate and mitochondrial read removal by Picard done in one step, trying to separate the two and just do a duplicate removal.

Thanks.
Rob.

Hello Rob,

I just added -extra_param_bwt2 "[EXTRA_PARAMS]" so that you can freely
add any additional parameters that you want to use. Please don't forget to
quote [EXRTA_PARAMS].

Yes, chrM is also removed when duplicates are removed. Please see
https://github.com/kundajelab/atac_dnase_pipelines/blob/master/modules/postalign_bam.bds#L210
(for SE data set) and
https://github.com/kundajelab/atac_dnase_pipelines/blob/master/modules/postalign_bam.bds#L351
(for
PE). Please remove | grep -v 'chrM'. But chrM will still be removed in
the final stage of the pipeline (IDR, naive-overlap and blacklist
filtering).

If you want to keep all chrM, please remove all grep -v "chrM" commands
from the following files.
https://github.com/kundajelab/atac_dnase_pipelines/blob/master/modules/postalign_bam.bds
https://github.com/kundajelab/atac_dnase_pipelines/blob/master/modules/postalign_bed.bds
.
And then replace grep -P 'chr[\dXY]+[ \t]' with grep -P 'chr[\dMXY]+[ \t]' for the following files.
https://github.com/kundajelab/atac_dnase_pipelines/blob/master/modules/callpeak_idr.bds
.
https://github.com/kundajelab/atac_dnase_pipelines/blob/master/modules/callpeak_naive_overlap.bds
.
https://github.com/kundajelab/atac_dnase_pipelines/blob/master/modules/callpeak_blacklist_filter.bds
.
Thanks,
Jin
On Wed, Jul 19, 2017 at 5:12 AM, rbronste<EMAIL_ADDRESS>wrote:

Hi,
A couple of questions:

In the alignment I usually add -- no-mixed --no-discordant to my
Bowtie2 settings, how can I go about doing this in the pipeline?
Is the duplicate and mitochondrial read removal by Picard done in
one step, trying to separate the two and just do a duplicate removal.

Thanks.
Rob.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kundajelab/atac_dnase_pipelines/issues/60, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIOd_MNjaFuLff-E8mpKqDwyZ7MnYie2ks5sPfKpgaJpZM4Oco-i
.

One further question, if I invoke the -no_dup_removal flag, will this impact the removal of mitochondrial reads and blacklisted sites? Thanks.

Hi Jin,
Quick question, ran the pipeline in the following way and got the following error after each replicate stage (3 PE replicates) finished, and wound up with no QC:
bds atac.bds -species mm10 -nth 16 -mapq_thresh 20 -no_dup_removal 1 -chrsz /sonas-hs/tollkuhn/hpc_norepl/home/rbronste/mm10.chrom.sizes -gensz mm
Gpr.reader(565):	File not found '/mnt/grid/tollkuhn/hpc_norepl/home/data/rbronste/atac_dnase_pipelines/out/qc/rep1/298765_S1_R1_001_dedup.trim.PE2SE.nodup.pbc.qc'
Fatal error: modules/log_parser.bds, line 244, pos 34. Trying to access element number 0 from list 'arr' (list size: 0).
Creating checkpoint file: Config or command line option disabled checkpoint file creation, nothing done.
Fatal error: modules/ENCODE_accession.bds, line 184, pos 25. Map 'map_pbc' does not have key 'PBC1'.

Creating checkpoint file: Config or command line option disabled checkpoint file creation, nothing done.
Fatal error: atac.bds, line 385, pos 2. Task/s failed.

Creating checkpoint file: Config or command line option disabled checkpoint file creation, nothing done.


The Bake to Keyframes is not correct

Could you please provide more details?
Specific steps or examples would be helpful for investigating the problem.

When the fps is low during playback, bake simulation is different from the playback

First, I want to find out why the fps is dropping. Is the load caused by boneDynamicsNode? Can you check the details with the profiler?

It is not the boneddynamicsnode that causes this, but the rig itself. Will
the low fps play cause the baking effect to be different
Hiroyuki Akasaki @.***> 于2024年10月23日周三 08:00写道：

First, I want to find out why the fps is dropping. Is the load caused by
boneDynamicsNode? Can you check the details with the profiler?
—
Reply to this email directly, view it on GitHub
https://github.com/akasaki1211/boneDynamicsNode/issues/4#issuecomment-2430529322,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3FC5CNZRCK36IYGJ6LCU3Z43RITAVCNFSM6AAAAABQAPAFD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZQGUZDSMZSGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Assuming the Bake Simulation results are correct, playback may be the cause.
Is the Playback speed set to "Play every frame"?


Fix src origin for pages

In https://github.com/hacbs-contract/ec-cli/pull/445 the origin field was removed because of issues building
documentation upstream. Issue was resolved by using a valid origin value of 'ec-cli'

Trying to fix the downstream builds. Let's merge.


Please update FreeBSD version

The FreeBSD version in the cross dockers is 10.2 which is (a) very old/unsupported and (b) too old to allow building of rustup.  Could you update this to at least 10.3 please?

The FreeBSD images are now completely disabled because they are not building anymore. If you need them, please consider sending a PR to fix them.

FYI, a better option for FreeBSD is to run natively with www.cirrus-ci.com .

@asomers That assumes the person is trying to build an open-source project rather than, for example, trying to cross-compile something that isn't open-source for deployment to NearlyFreeSpeech.NET without paying for the a la carte compute units to run the compile on their end.


Unix toolchains will not try to use fat binaries.

However, the build system was trying to "lipo" several
architectures into one file even for those targets (only Windows
was exercising that part of the code, it seems).
This patch removes the copy for a bogus empty target, and modifies
the Unix toolchain to look into the architecture subdirectory,
instead of trying to use the platform directory. The Windows
toolchain already checked the architecture directory, and not the
platform one.
This should allow building two Linux or Android SDKs for different
architures side by side.
Some tests are modified to handle the new structure. The tests are
hardcoded to use x86_64 because their targets were originally
x86_64.

Please review @compnerd, @gottesmm, @jrose-apple

#14245 is a subset of this solution. #16194 seems like another similar solution. I will have a look at those comments (I didn’t check LLDB or SwiftPM, for example). And I will talk with them to figure out how to proceed.

I talked offline with @lanza and he is OK with me taking over this.
From what I have talked with him, my solution is completely forgetting the installation phase and some other changes in the toolchains. I will try to include those improvements here as soon as I can.

The latest version of the commit includes the changes in Nathan’s version that I didn’t catch, it also includes slightly modified version to correctly generate the install scripts for non-Darwin platforms.
To build a full package, changes in other projects are necessary:

apple/swift-corelibs-libdispatch#392
apple/swift-corelibs-xctest#225
apple/swift-corelibs-foundation#1710

With all those changes a utils/build-toolchain invocation successfully completes.

(not reviewing, just testing)
apple/swift-corelibs-libdispatch#392
apple/swift-corelibs-xctest#225
apple/swift-corelibs-foundation#1710
@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - 27c78343fff76e4bd4bb10573e768ded0c1c33e7

Build failed
Swift Test Linux Platform
Git Sha - 27c78343fff76e4bd4bb10573e768ded0c1c33e7

What about adding a flag to emit this path and changing the corelibs buildsystems to use the result of this rather than duplicating this logic across all three buildsystems. For example (names bikesheddable):
$ swift-config --libdir
/usr/lib/swift/linux/x86_64
$ swift-config --swiftmoduledir
/usr/lib/swift/linux/x86_64
$ swift-config --includedir
/usr/lib/swift
$ swift-config --static-libdir
/usr/lib/swift_static/linux/x86_64
$ swift-config --static-swiftmoduledir
/usr/lib/swift_static/linux/x86_64

You could also do this as an installed CMake config file or a pkg-config file. The advantage is that other build systems that need this knowledge (swifpm, a hypothetical swift library installer) could ask this tool as well.

Seems that the two builds failed because they tried to find the original commit from this PR, instead of the last version. Is there something I need to do for the CI to pick up the right one?
@kevints: sounds like a great idea, but I don’t see this swift-config tool anywhere. Will I need to introduce it? The tool will need to support the same target triples as the compiler (otherwise there’s no way to cross compile), and there will always be knowledge duplicated between the compiler and this tool. BTW, this solution was a intermediate solution that changed the least possible (and it is already quite large change, to be honest, but I don’t know how to break it further).

I see the problems now. I change that check to a precondition as one of the last things. I will try to find some time to check what’s happening on Darwin. The Linux one is stranger. I will see if I can reproduce and fix it. Thanks!

@drodriguez you'd have to introduce it. The advantage is that this tool would be built from this repository and so it would always have up-to-date information about these paths and downstream projects (like s-c-f and s-c-d) would just need to query this tool rather than duplicate its logic in the language of their own buildsystem). I suspect it would be less total code but I don't want to hold this change up if it proves more difficult than expected to implement.

I tested with a Darwin machine again and find two small problems during configuration which should be fixed in the last commit.  I will try to reproduce the Linux problem tomorrow (sadly the details are already gone from the CI server, and I didn’t save them anywhere).
@kevints: I don’t disagree that the tool is a good idea, but I wasn’t planning into creating a tool for this, since previously all the path calculation was already duplicated (but I agree that it was simpler). Anyway, I can try to create such tool as a follow up, because a new tool will add a lot more code to an already complicated diff.

apple/swift-corelibs-libdispatch#392
apple/swift-corelibs-xctest#225
apple/swift-corelibs-foundation#1710
@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - 83a31411a774332f27ae37bd65e0a5fac95385c3

Build failed
Swift Test OS X Platform
Git Sha - 83a31411a774332f27ae37bd65e0a5fac95385c3

Thanks for restarting the builds. I checked the Linux build and it doesn’t make that much sense. In my machine, lldb-server builds without problem, and looking into build.ninja I don’t see that lldb-server has that -lswiftReflection-linux-x86_64 which seems to happen in CI (it doesn't seem to have anything related to swiftReflection). libswiftReflection.a is built, and left in lib/swift/linux/x86_64/libswiftReflection.a but it doesn’t seems to be referred from LLDB ninja file. I have been using build-script --preset=buildbot_linux_1604 which seems to be the one used in CI (I have to change the presets a little to build/install libicu, since I’m not using Ubuntu). I will try to figure out if I can get an Ubuntu VM to work in similar conditions to CI.
In any case, deleting and restarting the build uncover another point where the name of the targets needed to change depending on the fatness of the platform. That should be the only change in the last version.
(I saved the logs from CI, just in case)

Let's try it again, then!
apple/swift-corelibs-libdispatch#392
apple/swift-corelibs-xctest#225
apple/swift-corelibs-foundation#1710
@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - 704316525c4780ed407853da45e33f4431bd124e

Build failed
Swift Test OS X Platform
Git Sha - 704316525c4780ed407853da45e33f4431bd124e

The problem was that I wasn’t exporting the static targets, only the shared targets. Also I wasn’t updating my checkout of LLDB, and that’s why I didn’t catch the problem sooner. Sorry about all the back and forth. 🤞

No worries, sometimes it takes multiple tries! Someone besides me is still going to have to review, though.
apple/swift-corelibs-libdispatch#392
apple/swift-corelibs-xctest#225
apple/swift-corelibs-foundation#1710
@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - c46d1f472cc16efae77388b028cfee619edebbc3

Build failed
Swift Test Linux Platform
Git Sha - c46d1f472cc16efae77388b028cfee619edebbc3

Fix the export of the static targets. Static targets were not exported if they also have a shared counterpart. Apply @compnerd feedback about replacing usages of is_darwin_based_sdk with simpler IN_LIST SWIFT_APPLE_PLATFORMS checks.

@drodriguez seems that the failures are related to the integration tests failing during s-p-m tests due to not linking Foundation and dispatch (can't find it is my guess).

@compnerd: I think you are missing the related PRs in your CI command. Like:
apple/swift-corelibs-libdispatch#392
apple/swift-corelibs-xctest#225
apple/swift-corelibs-foundation#1710
@swift-ci Please test
The missing symbols are XCTest, which currently leaves the products in the root directory, but the compiler is looking into the per-arch directory (to support multiple architectures without fat libraries support).

Please test with the following PRs:
apple/swift-corelibs-libdispatch#392
apple/swift-corelibs-xctest#225
apple/swift-corelibs-foundation#1710
@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha -<PHONE_NUMBER>1b17d18d72da89f60419c806d183ce

Build failed
Swift Test Linux Platform
Git Sha -<PHONE_NUMBER>1b17d18d72da89f60419c806d183ce

Seems that I can reproduce the errors in CI, but I don’t know where to start. The problems disappear if I compile without my code.
For missing_imports_repl:
build/Ninja-ReleaseAssert/swift-macosx-x86_64/bin/swiftc -frontend -target x86_64-apple-macosx10.9  -module-cache-path 'build/Ninja-ReleaseAssert/swift-macosx-x86_64/swift-test-results/x86_64-apple-macosx10.9/clang-module-cache' -sdk '/Applications/xcode_10.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk' -swift-version 4  -repl  < swift/test/Interpreter/SDK/missing_imports_repl.swift 2>&1 -I build/Ninja-ReleaseAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/missing_imports_repl.swift.tmp
<unknown>:0: error: fatal error encountered during compilation; please file a bug report with your project and the crash log
<unknown>:0: note: Symbol not found: __swift_FORCE_LOAD_$_swiftAppKit
…
0  swiftc                   0x000000010f3e5dd8 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 40
1  swiftc                   0x000000010f3e4da8 llvm::sys::RunSignalHandlers() + 248
2  swiftc                   0x000000010f3e63f2 SignalHandler(int) + 258
3  libsystem_platform.dylib 0x00007fff52128f5a _sigtramp + 26
4  libsystem_platform.dylib 0x00007ffee46e5ef0 _sigtramp +<PHONE_NUMBER>
5  libsystem_c.dylib        0x00007fff51ec61ae abort + 127
6  swiftc                   0x000000010b567ff1 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*)::$_1::__invoke(void*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool) + 529
7  swiftc                   0x000000010f378a9b llvm::report_fatal_error(llvm::Twine const&, bool) + 251
8  swiftc                   0x000000010f378b99 llvm::report_fatal_error(llvm::StringRef, bool) + 41
9  swiftc                   0x000000010c1c818b llvm::MCJIT::generateCodeForModule(llvm::Module*) + 2715
10 swiftc                   0x000000010c1c85ad llvm::MCJIT::finalizeObject() + 413
11 swiftc                   0x000000010b5beb6b REPLEnvironment::executeSwiftSource(llvm::StringRef, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) + 1403
12 swiftc                   0x000000010b5b9c03 swift::runREPL(swift::CompilerInstance&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool) + 1379
13 swiftc                   0x000000010b564d30 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 2976
14 swiftc                   0x000000010b5630fd swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3021
15 swiftc                   0x000000010b51549e main + 686
16 libdyld.dylib            0x00007fff51e1a015 start + 1

The problem is the line import MapKit. If I change to AppKit, it crashes in the same way. If I change it to Foundation, it works.
In the case of GLKit_jit.swift, the stack trace is not the same, but seems that the import triggers the crash.
$ build/Ninja-ReleaseAssert/swift-macosx-x86_64/bin/swiftc -frontend -target x86_64-apple-macosx10.9  -module-cache-path 'build/Ninja-ReleaseAssert/swift-macosx-x86_64/swift-test-results/x86_64-apple-macosx10.9/clang-module-cache' -sdk '/Applications/xcode_10.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk' -swift-version 4  -interpret  -module-name=main swift/test/Interpreter/SDK/GLKit.swift
Stack dump:
0.	Program arguments: build/Ninja-ReleaseAssert/swift-macosx-x86_64/bin/swiftc -frontend -target x86_64-apple-macosx10.9 -module-cache-path build/Ninja-ReleaseAssert/swift-macosx-x86_64/swift-test-results/x86_64-apple-macosx10.9/clang-module-cache -sdk /Applications/xcode_10.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -swift-version 4 -interpret -module-name=main swift/test/Interpreter/SDK/GLKit.swift
0  swiftc                   0x0000000103f28dd8 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 40
1  swiftc                   0x0000000103f27da8 llvm::sys::RunSignalHandlers() + 248
2  swiftc                   0x0000000103f293f2 SignalHandler(int) + 258
3  libsystem_platform.dylib 0x00007fff52128f5a _sigtramp + 26
4  libsystem_platform.dylib 0x00000000000006e0 _sigtramp +<PHONE_NUMBER>
5  libsystem_platform.dylib 0x0000000107e752e2 _sigtramp +<PHONE_NUMBER>
6  swiftc                   0x0000000100d0dc4d llvm::MCJIT::runFunction(llvm::Function*, llvm::ArrayRef<llvm::GenericValue>) + 461
7  swiftc                   0x0000000100d117f1 llvm::ExecutionEngine::runFunctionAsMain(llvm::Function*, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, char const* const*) + 1329
8  swiftc                   0x00000001000fbfbb swift::RunImmediately(swift::CompilerInstance&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, swift::IRGenOptions&, swift::SILOptions const&) + 3547
9  swiftc                   0x00000001000aa580 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 13296
10 swiftc                   0x00000001000a60fd swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3021
11 swiftc                   0x000000010005849e main + 686
12 libdyld.dylib            0x00007fff51e1a015 start + 1
Segmentation fault: 11

And finally Cocoa_repl.swift seems to be the same as the one with MapKit:
$ build/Ninja-ReleaseAssert/swift-macosx-x86_64/bin/swiftc -frontend -target x86_64-apple-macosx10.9  -module-cache-path 'build/Ninja-ReleaseAssert/swift-macosx-x86_64/swift-test-results/x86_64-apple-macosx10.9/clang-module-cache' -sdk '/Applications/xcode_10.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk' -swift-version 4  -repl  < swift/test/Interpreter/SDK/Cocoa_repl.swift 2>&1
<unknown>:0: error: fatal error encountered during compilation; please file a bug report with your project and the crash log
<unknown>:0: note: Symbol not found: __swift_FORCE_LOAD_$_swiftAppKit
Stack dump:
0.	Program arguments: build/Ninja-ReleaseAssert/swift-macosx-x86_64/bin/swiftc -frontend -target x86_64-apple-macosx10.9 -module-cache-path build/Ninja-ReleaseAssert/swift-macosx-x86_64/swift-test-results/x86_64-apple-macosx10.9/clang-module-cache -sdk /Applications/xcode_10.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -swift-version 4 -repl
1.	while processing REPL source:
// RUN: %target-repl-run-simple-swift | %FileCheck %s
// REQUIRES: objc_interop
// REQUIRES: swift_repl
import Cocoa
// CHECK: 0{{$}}
0  swiftc                   0x0000000105b9cdd8 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 40
1  swiftc                   0x0000000105b9bda8 llvm::sys::RunSignalHandlers() + 248
2  swiftc                   0x0000000105b9d3f2 SignalHandler(int) + 258
3  libsystem_platform.dylib 0x00007fff52128f5a _sigtramp + 26
4  libsystem_platform.dylib 0x00007ffeedf2efb0 _sigtramp +<PHONE_NUMBER>
5  libsystem_c.dylib        0x00007fff51ec61ae abort + 127
6  swiftc                   0x0000000101d1eff1 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*)::$_1::__invoke(void*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool) + 529
7  swiftc                   0x0000000105b2fa9b llvm::report_fatal_error(llvm::Twine const&, bool) + 251
8  swiftc                   0x0000000105b2fb99 llvm::report_fatal_error(llvm::StringRef, bool) + 41
9  swiftc                   0x000000010297f18b llvm::MCJIT::generateCodeForModule(llvm::Module*) + 2715
10 swiftc                   0x000000010297f5ad llvm::MCJIT::finalizeObject() + 413
11 swiftc                   0x0000000101d75b6b REPLEnvironment::executeSwiftSource(llvm::StringRef, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) + 1403
12 swiftc                   0x0000000101d70c03 swift::runREPL(swift::CompilerInstance&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool) + 1379
13 swiftc                   0x0000000101d1bd30 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 2976
14 swiftc                   0x0000000101d1a0fd swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3021
15 swiftc                   0x0000000101ccc49e main + 686
16 libdyld.dylib            0x00007fff51e1a015 start + 1
Abort trap: 6

With one the last changes in the CMake module I forgot to change one usage of IS_DARWIN, which ended up making the swiftc binary not having the right RPATH, so when it was used in the repl mode it couldn’t load libraries which depend on other libraries. It took me a long time to realize what was happening.

Please test with the following PRs:
apple/swift-corelibs-libdispatch#392
apple/swift-corelibs-xctest#225
apple/swift-corelibs-foundation#1710
@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 4f8ab602fe66b3db081d90a23aa971de6261c071

Build failed
Swift Test Linux Platform
Git Sha - 4f8ab602fe66b3db081d90a23aa971de6261c071


Add suppport for \imageof and \origof

Currently the symbols ⊶ (U+22B6 ORIGINAL OF) and ⊷ (U+22B7 IMAGE OF) are not supported. It is used in denoting the Fouriertransformations of functions for example
KaTeX implemented this 4 years ago. Here is the link to the corresponding issue on their side.

One reason MathJax doesn't have these is that the MathJax TeX fonts don't include the needed unicode characters (the issue you link to indicates that the fonts used by KaTeX also don't have the needed characters for these macros; that is because KaTeX took the MathJax fonts as the basis for theirs).
In general, we do not make macros for characters that we don't have in our fonts (with a few legacy exceptions), so we don't plan to add these macros at the moment.  You can, however, define them yourself using
$
\newcommand{\imageof}{\mathrel{\unicode{x22B7}}}
\newcommand{\origof}{\mathrel{\unicode{x22B6}}}
$

before you use them.  Alternatively, you can add them to your MathJax configuration using
MathJax = {
  tex: {
    macros: {
      imageof: '\\mathrel{\\unicode{x22B7}}',
      origof:  '\\mathrel{\\unicode{x22B6}}'
    }
  }
};

Note that the character displayed for this will vary from user to user depending on the fonts installed on their system, so they may not be good matches for the rest of the mathematics (and what you see may not be what others see).  MathJax v4 (currently out in beta release) has new fonts with wider character coverage, and the default fonts do include these glyphs, so in v4, the results will be more consistent.


Does not support 83.

It looks like I cannot run this on Edge 83 and cannot find anywhere to download old version of Chromium Edge. I like to start using this package. Does anyone have a link to where you can get old version of Chromium Edge 81.

Hello @potofpie
It sounds like the incorrect version of msedgedriver.exe is being used. Please try downloading msedgedriver.exe version 83 from https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/
Hope this helps!


Add support for webassembly_binding in cloudflare_worker_script

This remains a draft for now because I have not tested beyond running make test, I will attempt to make it run with terraform, I am quite new with the tool, so it may take some time.
Closes #178
cc @jacobbednarz

I found how to run acceptance tests:
[nix-shell:~/terraform-provider-cloudflare]$ TF_ACC=1 go test -v github.com/cloudflare/terraform-provider-cloudflare/cloudflare -run TestAccCloudflareWorkerScript
=== RUN   TestAccCloudflareWorkerScript_Import
--- PASS: TestAccCloudflareWorkerScript_Import (18.05s)
=== RUN   TestAccCloudflareWorkerScript_MultiScriptEnt
=== PAUSE TestAccCloudflareWorkerScript_MultiScriptEnt
=== CONT  TestAccCloudflareWorkerScript_MultiScriptEnt
--- PASS: TestAccCloudflareWorkerScript_MultiScriptEnt (37.41s)
PASS
ok  	github.com/cloudflare/terraform-provider-cloudflare/cloudflare	55.469s

Should I update CHANGELOG.md?

Thanks for the quick turn around @ldesgoui! No need to update the CHANGELOG, we'll drop that in once it lands to avoid resolving merge conflicts for it within your branch.


[IMPAC-851] UI updates on "Add transaction" panel

It's depend on [IMPAC-768]

@xaun just to remember that this PR depends on the PR for [IMPAC-768].

@agranado2k take a look at the broken build, seems an angular module is missing?


Emails not send with dynamic templates

Issue Summary
No emails are being sent using the send method.
Steps to Reproduce

Here is the code that I am using on a NodeJS server running on Firebase.

let result = await sendgridClient.send({
        to: ['sunny19071990<EMAIL_ADDRESS>        from<EMAIL_ADDRESS>        templateId: "d-e8282e44324d4c4b8740f05ae7282172",
        dynamicTemplateData: data, // complicated JSON object
})

Here is what I see in the activity section in the web app.

https://prnt.sc/utpqah

No emails are received.

Exception/Log
No errors when executing the code. I get the statusCode 202 in the response.
Technical details:

sendgrid-nodejs version: ^7.2.6
node version: 10

Hello @samarthagarwal,
Thanks for submitting a GitHub issue! We are very sorry that you are running into this problem. In order to better serve you, as this does not present itself as a library specific issue, we would like to ask that you reach out to our support team at https://support.sendgrid.com.
Thank you!
SendGrid DX Team


Change the font size and color

Hi, I am trying to learn about this library(gui.cs), I can't figure out how to change the font size and color of the Label. Can anyone help, thanks.
Best regards

The font size is only possible change on the properties or definition of the console/terminal.
For the color on label see this discussion (https://github.com/migueldeicaza/gui.cs/discussions/1667#discussioncomment-2579893).

ColorScheme is used to control colors because it allows you to specify what color to use under a veriety of situations (i.e. Normal, when Focused, when Disabled etc)

@BDisp Thanks for the quick answer, so I can assume that it is not possible to have labels with different font sizes. Since the font size depends on the terminal settings. Or am I wrong?

so I can assume that it is not possible to have labels with different font sizes. Since the font size depends on the terminal settings. Or am I wrong?

That is correct.  Although theres always ASCII art:
 /  \ / )( \  ( \/ )(  __) / _\ / )( \
(  O )) __ (   )  /  ) _) /    \) __ (
 \__/ \_)(_/  (__/  (____)\_/\_/\_)(_/

____ _  _    _   _ ____ ____ _  _
|  | |__|     \_/  |___ |__| |__|
|__| |  |      |   |___ |  | |  |

Not a bug. Closing.


It creates a action for a nightly release

Summary
It implements a action for having a nightly release for Fulcio.
This is part of a project for having a continuous deployment of Fulcio for Public good instance staging.

Release Note

Documentation

I didn't realize that we have CI to push a container to GCR whenever a commit is pushed to HEAD - https://github.com/sigstore/fulcio/blob/50abb65f0bdcb2c0290b3afb535bc77e339e1a19/.github/workflows/container-build.yml
Would this work instead? Do we need an easier way to discover these, would it help if we tagged these releases as well?
cc @cpanato

I would prefer we use the existing one, we will get rid from the cloudbuild soon as well
the existing images that we publish in github works for you?

Are we publishing at-HEAD containers to GHCR? From the GHA, it seems like we're only publishing to GCR (which for what it's worth, I think we should maintain given there's an SLO for GCR and not for GHCR)

Are we publishing at-HEAD containers to GHCR? From the GHA, it seems like we're only publishing to GCR (which for what it's worth, I think we should maintain, given there's an SLO for GCR and not for GHCR)

ahh yeah that is correct.
we also can start publishing to ghcr is need

It seems perfect. As I noticed, the tag used is the last commit hash right?

I'm closing this PR as we decided to use the images created by the container-build workflow


[QUESTION] Proper way of CRUD operations on nested collections with DBRef

Hello, I struggle with creating proper CRUD operations on nested collections with DBRef.
My questions are:

Should I use DBRef when at least one level of nesting occured?

2a. How to make proper CRUD operations on nested collection when using name resolver and DBRef on this collection? I mean, what can I upgrade and is my approach correct ?
For now in ViewModel I do mappings from app objects to POCOs (with AutoMapper) and then I have to make 2 calls to database - first, to add ID (DBRef) of new child object and latter is to insert child object to its own collection.
2b. Is it possible to update child collection, using .Update() on parent only ?
My code goes like this (i stripped some code, can provide more if needed):
ViewModel method which adds new CodeCheckRule (child) to RulesSet (parent):
        public void AddCodeCheckRule()
        {
            try
            {
...
                if ((bool)result)
                {
                    // Set ParentSetId
                    viewModel.VMObject.ParentSetId = SelectedRulesSet.Id;

                    // Adding nested object to it's own collection
                    var dtoCodeCheckRule = ObjectMapper.Mapper.Map<CodeCheckRuleViewModel, CodeCheckRule>(viewModel.VMObject);
                    CodeCheckRulesCollection.Collection.Insert(dtoCodeCheckRule);

                    // Storing reference to new object in nested collection
                    var setDTO = ObjectMapper.Mapper.Map<BindableRulesSet, RulesSet>(SelectedRulesSet);
                    setDTO.Rules.Add(dtoCodeCheckRule);
                    RulesSetsCollection.Collection.Update(setDTO.Id, setDTO);

                    CodeCheckRules.Clear();
                    var toConvert = CodeCheckRulesCollection.Collection.Find(x => x.ParentSetId == SelectedRulesSet.Id);
                    foreach (var rule in toConvert)
                    {
                        CodeCheckRules.Add(ObjectMapper.Mapper.Map<CodeCheckRule, BindableCodeCheckRule>(rule));
                    }
                }
            }
            catch (Exception ex)
            {
               ...
            }
        }

My Collection Name resolver and mapper:
...
            BsonMapper.Global.Entity<RulesSet>()
                .Id(x => x.Id)
                .DbRef(x => x.Rules, codeCheckRulesCollectionName);

            BsonMapper.Global.Entity<CodeCheckRule>()
                .Id(x=>x.Id)
                .DbRef(x => x.Qualifiers, operationDefinitionsCollectionName)
                .DbRef(x => x.Analyzers, operationDefinitionsCollectionName)
                .DbRef(x => x.Manipulators, operationDefinitionsCollectionName);
...

            BsonMapper.Global.ResolveCollectionName = (x) =>
            {
                switch (x)
                {
                    case Type type when type == typeof(RobotStandard):
                        return robotStandardCollectionName;

                    case Type type when type == typeof(RulesSet):
                        return rulesSetCollectionName;

                    case Type type when type == typeof(CodeCheckRule):
                        return codeCheckRulesCollectionName;

                    case Type type when type == typeof(RobotModel):
                        return robotModelsCollectionName;

                    case Type type when type == typeof(TechPacket):
                        return requiredTechPacketsCollectionName;

                    case Type type when type == typeof(OperationDefinition):
                        return operationDefinitionsCollectionName;

                    case Type type when type == typeof(RobotDefaults):
                        return robotDefaultsCollectionName;
                    default:
                        // return mulitple form of collection name - with "s" suffix
                        return x.Name + "s";
                }
            };

Parent Class (I show just Guid and collections, no other properties)
    public class BindableRulesSet : EditableViewModelObject
    {
 ...
        public Guid Id { get; set; } = Guid.NewGuid();

        public BindableCollection<BindableLocalizedString> Names { get; set; } = new BindableCollection<BindableLocalizedString>();

        public BindableCollection<BindableLocalizedString> Descriptions { get; set; } = new BindableCollection<BindableLocalizedString>();

        public BindableCollection<BindableCodeCheckRule> Rules { get; set; } = new BindableCollection<BindableCodeCheckRule>();
  ...
    }

Child class which has DBRef on parent class
 public class BindableCodeCheckRule : EditableViewModelObject
    {
...
        public Guid Id { get; set; } = Guid.NewGuid();

        public Guid ParentSetId { get; set; }

        public BindableCollection<BindableLocalizedString> Names { get; set; } = new BindableCollection<BindableLocalizedString>();

        public BindableCollection<BindableLocalizedString> Descriptions { get; set; } = new BindableCollection<BindableLocalizedString>();

        public BindableCollection<ICodeOperation> Qualifiers { get; set; } = new BindableCollection<ICodeOperation>();
        public BindableCollection<ICodeOperation> Analyzers { get; set; } = new BindableCollection<ICodeOperation>();
        public BindableCollection<ICodeOperation> Manipulators { get; set; } = new BindableCollection<ICodeOperation>();
...

Looking forward for advices :)

@Eagle2

Should I use DBRef when at least one level of nesting occurred?
No, once you have shared items, you should use DBRef, but if you just have a collection/list of items that are tightly coupled to a specific type, eg phone numbers of a user, there is no need to have a separate collection,

just use a list, but there is a trick, if prefer to create an id for a nested object, just remember liteDb will not automatically assign a new id for nested objects it is true, by logic
so
  class Phone
        {
            public Guid Id { get; set; }
            public string Value { get; set; }
            public string Title { get; set; }
        }

        class MyClass
        {
            public string Name { get; set; }
            public List<Phone> Phones { get; set; }
        }

then when inserting a new phone number, just create a new id
      var phone = new Phone {Id = Guid.NewGuid()};

and do not set id generation for GUID in a constructor, it just cost you extra operations when querying items from the database

2a

Please see this https://github.com/mbdavid/LiteDB/issues/1897

2b it possible to update child collection, using.Update() on parent only ?

Yes, there is a thing you must know, LiteDB Engine only look for the id of referenced entity, and noting else
this means if you have
  	   class Phone
        {
            public Guid Id { get; set; }
            public string Value { get; set; }
            public string Title { get; set; }

        }

        public class PhoneReferencer
        {
            public Guid Id { get; set; }
            public string Value { get; set; } // have the same name and type of Phone.Value
        }

        class User
        {
            public string Name { get; set; }
            [BsonRef("Phones")]
            public List<PhoneReferencer> Phones { get; set; }
        }

the query will works,
Notice we used PhoneReferencer type to reference Phones collection, but this collection is of type Phone not PhoneReferencer, but because both have GUID Id the logic will work for all CRUD operations, you can use that to prevent query all properties of Phone when using .Include(u => u.Phones)
I hope this helps you.


fix for disabled comment section

videos with comments disabled were throwing errors (eg: Youtube Topic Videos)

This code works fine for me on latest version (rc.22)
await youtube.getVideo<Video>("-LgYzva-xq8");

Seems like https://github.com/SushiBtw/discord-music-player is still using the older version (rc.20) which has this bug

Thanks for letting me know, will be pushing dmp  new version asap @Vap0r1ze.


added command alexa:route:list

Hello @Magentron,
I'm trying to test this PR locally and getting this error. I'm using Laravel 5.8.