Previously registered requestFilters are not used in the NetworkingEngine for a PreloadManager.

Have you read the FAQ and checked for duplicate open issues?
Yes, though this #6616 closed issue is similar and I left a comment there.
If the problem is related to FairPlay, have you read the tutorial?
No.
What version of Shaka Player are you using?
4.8.7.
Can you reproduce the issue with our latest release version?
Yes.
Can you reproduce the issue with the latest code from main?
Yes.
Are you using the demo app or your own custom app?
Custom.
If custom app, can you reproduce the issue using our demo app?
Yes.
What browser and OS are you using?
Chrome, Safari; Windows, MacOS.
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
N/A
What are the manifest and license server URIs?
From demo.
What configuration are you using?  What is the output of player.getConfiguration()?
With default from demo.
What did you do?
We've been having trouble with shaka.media.PreloadManager not sending cookies with preload requests despite the player's networking engine having a request filter to set request.allowCrossSiteCredentials = true.
I believe that this is due to the shaka.Player.makePreloadManager_ creating a networking engine for the preload manager in /lib/player.js#L2109.
const networkingEngine = this.createNetworkingEngine(getPreloadManager);
This new networking engine has empty sets for requestFilters_ and responseFilters_ for the preload manager.
I think a PreloadManager should expose a getNetworkingEngine(), and/or copy the sets from the player's networking engine, or use the same networking engine.
Using the Shaka demo website with uncompiled v4.8.7, I can use in the JS console:
const player = new shaka.Player();
await player.attach(document.getElementById('video'));

player.getNetworkingEngine().registerRequestFilter(function (_type, request) {
  request.uris = request.uris.map(uri => uri + (uri.includes('?') ? '&' : '?') + '__viaRequestFilter=true');
});

const manager = await player.preload(shakaAssets.testAssets[1].manifestUri);
manager.networkingEngine_.registerRequestFilter(function (_type, request) {
  request.uris = request.uris.map(uri => uri + (uri.includes('?') ? '&' : '?') + '__preload=true');
});

const manager2 = await player.preload(shakaAssets.testAssets[1].manifestUri);

What did you expect to happen?
I expected requests made from a PreloadManager to have the adjustments made by the registered request filter from the player's networking engine (ie, contains ?__viaRequestFilter=true).
In our custom app, this would be to set request.allowCrossSiteCredentials = true.
What actually happened?
Manifest requests are preloaded as-expected, using the request filters previously registered with player.getNetworkingEngine().registerRequestFilter().
But the preloaded segment requests, and perhaps other requests types, do not appear to use the same filters.
In our custom app, the failure to set request.allowCrossSiteCredentials = true causes 403 on the preloaded requests.

Are you planning send a PR to fix it?
Perhaps, at least to add getNetworkingEngine() to shaka.media.PreloadManager.

Here's a suggested fix.
https://github.com/jason-s13r/shaka-player/commit/044bae7ad2835f0e8bbdcf12e4d62200f84d05fc

That solution could work, but I don't want to offload too much of the work in getting the preload system to work onto the developer. It should ideally be as painless as possible to adopt.
For various technical reasons (stuff like tracking stats) we make a new networking engine for each preload manager.
Changing that might be possible, but I fear it'd be complicated. Instead, it might be easier to just have the new networking engine copy over any filter present in the player's networking engine, at the time the preload manager was made. Unless someone makes a habit of changing networking filters mid-playback, that should be a fairly simple-to-implement change that solves this issue. I'll give it a try.

Yep, agree on making it easy for the application developer.
The commit I made used that approach to copy each of the requestFilters_ from the Player's networking engine to the PreloadManager's networking engine. As well as the responseFilters_.
I'll be happy to open a PR with that commit.

@jason-s13r see: https://github.com/shaka-project/shaka-player/pull/6709

Whoops, I totally did not notice the commit you linked.
Oh well. I guess I'll take it as a vote of confidence that the PR we just merged is a solution that will work for you.


Show public role entry in sys.server_principals (#2765)

Description
Currently in Babelfish we don't show any public entry. We should show the public role as well. To achieve this I have added a public entry in the sys.server_principals by making changes in the ownership.sql and added relevant testcases.
A sysadmin login and a non-sysadmin login both see the public role in the sys.server_principals entries.
Example shown below:
--BBF Server
1> select name from sys.server_principals
2> go
name
------------
sysadmin
rcv

Changes Made:

Updated sys.server_principals view to show public role entry
Added test for the public role

Issues Resolved
Task: BABEL-4518
Test Scenarios Covered

Use case based - yes

Boundary conditions - yes

Arbitrary inputs - yes

Negative test cases - yes

Minor version upgrade tests -

Major version upgrade tests -

Performance tests -

Tooling impact -

Client tests -

Check List

[x] Commits are signed per the DCO using --signoff

Signed-off-by: P Aswini Kumar<EMAIL_ADDRESS>By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
203 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.01%) to 73.551%

Files with Coverage Reduction
New Missed Lines
%

contrib/babelfishpg_tsql/src/pl_handler.c
73
91.51%

contrib/babelfishpg_tsql/src/pl_funcs-2.c
130
41.77%

Totals

Change from base Build<PHONE_NUMBER>1:
0.01%

Covered Lines:
42481

Relevant Lines:
57757

💛  - Coveralls


Improve foreign record content in mustache environment?

Updated (11/07) Description
Using mustache we can access table columns formatted and unformatted data. Recently we added $moment to access data object too. We can follow the same pattern and add a new $fkeys which will be used to access outbound foreign key. To access the outbound foreignkeys of the table, you can use the schema and constraint name, i.e. given ["schema", "const"] as the constraint name of an outbound foreign key; you can use $fkeys.schema.const to access that foreign key. The available attributes for each foreign key are:

values: An object containing values of the table that the foreign key refers to. Both formatted and unformatted column values will be available here. For instance $fkeys.schema.const.values.col1 will give you the formatted value for the col1 and $fkeys.schema.const.values._col1 the unformatted.
rowName: Row-name of the foreign key.
uri: a uri to the foreign key. Currently the only usecase that we have for uri is to record app. But eventually we might want to be able to access to other apps too. Therefore we decided to follow the same pattern for contextualization. Under uri we will have the context names (detailed, compact, entryEdit, etc.). We will only implement the detailed for now.

Questions and concerns:

Mustache supports empty string for objects. Therefore you can access a foreign key with ["", "const"] constraint name using $fkeys..const.
We can change the fkeys to something more explicit that shows this is actually for outbound foriegnkeys ($outbound or $ofkeys?).
I wasn't sure about the values name. Is it good enough?
rowName only makes sense in the detailed context. We can contextualize that too. One suggestion by Karl was to use $fkeys.schema.const.CONSTARINT_NAME and then under that we can have uri, or rowName.

Previous Description

Assume I have a record with a foreign key column such as My Fkey 1.  The reference api is already fetching the corresponding row content for the record referenced by this foreign key.  It also has logic to compute a row name based on that content.  But, the mustache environment for the base record is not capable of exploiting this.  We should:

Continue to expose the raw foreign key column content in the {{{_My Fkey 1}}} variable.
[ ] Fix the formatted column content {{{My Fkey 1}}} to store the referenced row's row name for simple foreign keys.  Right now, this seems to be unformatted in many scenarios.
[ ] Expose the full denormalized foreign key content behind a new mustache environment sub-object. This should handle composite foreign keys too so should be organized by foreign key constraint name rather than column name.  This might require the use of mustache block scopes to make it safe for all constraint names, e.g.  {{#_foreignkeys}} {{#A Constraint Name}} {{{Foreign Column Name}}} {{/A Constraint Name}} {{/_foreignkeys}}.

The above concepts all rolled together imply a mustache environment that is structured like this:
{
  "Column Name 1": "formatted value including simple foreign key row name", ...
  "_Column Name 1": "raw column value", ...
  "_foreignkeys": {
    "A Constraint Name": {  "Foreign Column Name": "raw column value", ... }, ...
  }
}

I don't recall whether we also have a raw vs. formatted value distinction for the foreign record's fields. If so, those objects keyed by constraint name would also have keys for both the plain column name and the column name prepended by underscore.

@chiragsanghvi can you discuss with @RFSH in terms of what needs to be done?

I've come across another use case where this would be helpful: the mustache environment used for the foreign-key domain_filter_pattern expansion.  This would allow fields from one foreign key input in recordedit forms to influence what is available in the next foreign key input field.

I updated the description (first comment of this issue) to include what we discussed in the meeting. Can you please take a look?
@karlcz @hongsudt @robes

#552 has added $fkeys as described in the description to column-display, key-display, and row-markdown-pattern annotations.
The other part of this task is adding this variable to other usages of pattern expression syntax. These include:

domain_filter_pattern: Used for adding extra filter to the path that is being used for picking a foreign key value.

url_pattern : Used for asset url.

The current master code doesn't seem to handle column names with . in them.  I am experimenting with the template customizing the "ID" column display in this facet page:
https://synapse-dev.isrd.isi.edu/chaise/recordset/#1/Zebrafish:Synaptic Pair Study/*::facets::N4IghgdgJiBcDaoDOB7ArgJwMYFM6JHQBcAjdafEALRxIzADMBLJACxABoQBlATwjAAHIkywACAApgmGMdyJoovAPoBJALZgA5jjEBGZQwDWOXiAC6AXy7yoAOjEAZHBDsWu9CDqT5QmgB5wegAMXOpMEHDBllZWQA@sort(RID::desc::)
This is a query that should be selecting rows that have a non-null Std. Len. facet.  I tried the simple template expansion: {{{$fkeys.Zebrafish.Synaptic Pair Study_Image 1_fkey.values.Std_ Len_}}} and see an empty result even though if I navigate through the result row and its "Image 1" fkey link I'll see a Std. Len. value.
I tried using other columns from the same fkey and see that they will display, including ones that have a space in their name. So, I think it is the conversion of . into _ for the mustache environment that must be missing...?

@karlcz Yes, the issue is what you described. Although this problem existed before and it's not specific just to $fkeys. We're just replacing . with _ for the first level of objects (If you had a JSON object that one of the attributes had . in its name, you cannot access it).

Support for domain_filter_pattern has been pushed to master. We should be able to use $fkeys in that annotation now.

OK, I've successfully exercised this on my dev server.  Not sure if that is all this was waiting for to close it?


C++: Use isConstexpr instead of workaround in AddressConstantExpr

The addressConstantVariable predicate was the slowest single predicate when running the full LGTM suite on Chromium. Fortunately it's only executed once, but it could be easily made faster by using the new Variable.isConstexpr predicate instead of the slow workaround that was in its place.

The AddressConstantExpression::addressConstantVariable#f predicate now takes only 2.1s on Chromium, but it was equally fast before. The slow part was AddressConstantExpression::addressConstantVariable#f#antijoin_rhs, which is now entirely gone.


Delete mobileAppContentFile - No OData route exists that match template with http verb DELETE

Describe the bug
Using Graph Explorer (or Powershell), when attempting to delete an iOS LOB App Content File via Graph API as per Microsoft Docs, I get an error "No OData route exists that match template with http verb DELETE". With both v1.0 of Graph API as well as Beta
Using GET for the same URI works just fine. Resource is pulled correctly.
Docs: https://learn.microsoft.com/en-us/graph/api/intune-apps-mobileappcontentfile-delete?view=graph-rest-beta
Query: DELETE https://graph.microsoft.com/beta/deviceAppManagement/mobileApps/{mobileApp-id}/microsoft.graph.iosLobApp/contentVersions/{id}/files/{file-id}
As per Microsoft docs, the HTTP request should be: "DELETE /deviceAppManagement/mobileApps/{mobileAppId}/contentVersions/{mobileAppContentId}/files/{mobileAppContentFileId}"
No additional request body.
Using Powershell with "Remove-MgBetaDeviceAppManagementMobileAppAsiOSLobAppContentVersionFile -MobileAppId $matchingApps.Id -MobileAppContentFileId "{file-id}" -MobileAppContentId {id}"  results in the same error
I have relevant permissions: DeviceManagementApps.ReadWrite.All, DeviceManagementConfiguration.ReadWrite.All
Expected behavior
Return Code 204
Screenshots

Desktop:

OS: [e.g. iOS] Windows 11 23H2
Browser [e.g. chrome, safari]: Edge 129.0.2792.52

Hi @VerbalHerbal ,
This seems to be an issue with the Graph API. Please post this on the Microsoft Graph Q&A forum where the appropriate team should be able to assist you


Log pid file removal

What does this PR do?
Add logs to understand if the pid file is properly deleted

Motivation
On redhat 8, the process.pid file appears to stay even after the process-agent stops https://gitlab.ddbuild.io/DataDog/agent-linux-install-script/-/jobs/619450393/raw

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes
It should be visible in the failed Redhat 8 test

/merge


No completion for Monogame

I have auto completion for C# in general (for things like an int), but not for classes related to MonoGame.
I created a solution file, added the csproj file to it and the project builds and runs properly. I'm assuming I'm missing something, but I can't figure out what.

Please post the relevant details of your system:

OS
Vim/neovim version
.vimrc
plugins (if not included in .vimrc)

Arch Linux
vim 8.1 (1-2102)
Plugins: ale, asyncomplete, fzf, lightline, omnisharp-vim, spacegray, vimtex

set updatetime=750
set runtimepath=~/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/.vim/after
set tabstop=2
set shiftwidth=2
set softtabstop=2
set expandtab
set relativenumber
set number
set laststatus=2
filetype plugin on
filetype indent on

set grepprg=grep\ -nH\ $*
let g:tex_flavor = "latex"
let g:vimtex_view_method='zathura'
let g:vimtex_quickfix_mode=0
set conceallevel=1
let g:tex_conceal='abdmg'
let g:OmniSharp_server_stdio=1

:highlight SignColumn ctermbg=Black
colorscheme spacegray
set t_ut=

syntax on
map f :Files<CR>
set hlsearch

autocmd FileType cs nnoremap <Leader>cf :OmniSharpCodeFormat<CR>

augroup omnisharp_commands
    autocmd!

    " Show type information automatically when the cursor stops moving
    autocmd CursorHold *.cs call OmniSharp#TypeLookupWithoutDocumentation()

    " The following commands are contextual, based on the cursor position.
    autocmd FileType cs nnoremap <buffer> gd :OmniSharpGotoDefinition<CR>
    autocmd FileType cs nnoremap <buffer> <Leader>fi :OmniSharpFindImplementations<CR>
    autocmd FileType cs nnoremap <buffer> <Leader>fs :OmniSharpFindSymbol<CR>
    autocmd FileType cs nnoremap <buffer> <Leader>fu :OmniSharpFindUsages<CR>

    " Finds members in the current buffer
    autocmd FileType cs nnoremap <buffer> <Leader>fm :OmniSharpFindMembers<CR>

    autocmd FileType cs nnoremap <buffer> <Leader>fx :OmniSharpFixUsings<CR>
    autocmd FileType cs nnoremap <buffer> <Leader>tt :OmniSharpTypeLookup<CR>
    autocmd FileType cs nnoremap <buffer> <Leader>dc :OmniSharpDocumentation<CR>
    autocmd FileType cs nnoremap <buffer> <C-\> :OmniSharpSignatureHelp<CR>
    autocmd FileType cs inoremap <buffer> <C-\> <C-o>:OmniSharpSignatureHelp<CR>

    " Navigate up and down by method/property/field
    autocmd FileType cs nnoremap <buffer> <C-k> :OmniSharpNavigateUp<CR>
    autocmd FileType cs nnoremap <buffer> <C-j> :OmniSharpNavigateDown<CR>

    " Find all code errors/warnings for the current solution and populate the quickfix window
    autocmd FileType cs nnoremap <buffer> <Leader>cc :OmniSharpGlobalCodeCheck<CR>
augroup END

let g:ale_linters = {
\ 'cs': ['OmniSharp']
\}

@Rakete1111 OK, that looks OK. Next, try just running the server, without Vim. cd into the directory containing your .sln file, and then run ~/.cache/omnisharp-vim/omnisharp-roslyn/run, and post the output here. Hopefully there will be some hints in the output about why the server isn't running properly.

Here it is:
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Stdio.Host","Message":"Starting OmniSharp on arch 0.0 (x64)"},"Seq":1,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Services.DotNetCliService","Message":"DotNetPath set to dotnet"},"Seq":2,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"Located 1 MSBuild instance(s)\n            1: StandAlone 16.0 - \"/home/user/.cache/omnisharp-vim/omnisharp-roslyn/omnisharp/.msbuild/Current/Bin\""},"Seq":3,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"MSBUILD_EXE_PATH environment variable set to '/home/user/.cache/omnisharp-vim/omnisharp-roslyn/omnisharp/.msbuild/Current/Bin/MSBuild.dll'"},"Seq":4,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"Registered MSBuild instance: StandAlone 16.0 - \"/home/user/.cache/omnisharp-vim/omnisharp-roslyn/omnisharp/.msbuild/Current/Bin\"\n            MSBuildExtensionsPath = /usr/lib/mono/xbuild\n            BypassFrameworkInstallChecks = true\n            CscToolPath = /home/user/.cache/omnisharp-vim/omnisharp-roslyn/omnisharp/.msbuild/Current/Bin/Roslyn\n            CscToolExe = csc.exe\n            MSBuildToolsPath = /home/user/.cache/omnisharp-vim/omnisharp-roslyn/omnisharp/.msbuild/Current/Bin\n            TargetFrameworkRootPath = /usr/lib/mono/xbuild-frameworks"},"Seq":5,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Cake.CakeProjectSystem","Message":"Detecting Cake files in '/home/user/projects/BeispielMonogame'."},"Seq":6,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Cake.CakeProjectSystem","Message":"Could not find any Cake files"},"Seq":7,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.ProjectSystem","Message":"Detecting projects in '/home/user/projects/BeispielMonogame/BeispielMonogame.sln'."},"Seq":8,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.ProjectManager","Message":"Queue project update for '/home/user/projects/BeispielMonogame/BeispielMonogame.csproj'"},"Seq":9,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Script.ScriptProjectSystem","Message":"Detecting CSX files in '/home/user/projects/BeispielMonogame'."},"Seq":10,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Script.ScriptProjectSystem","Message":"Could not find any CSX files"},"Seq":11,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.WorkspaceInitializer","Message":"Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0"},"Seq":12,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.ProjectManager","Message":"Loading project: /home/user/projects/BeispielMonogame/BeispielMonogame.csproj"},"Seq":13,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.WorkspaceInitializer","Message":"Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100"},"Seq":14,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.WorkspaceInitializer","Message":"Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.EditorConfigWorkspaceOptionsProvider, Order: 200"},"Seq":15,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.WorkspaceInitializer","Message":"Configuration finished."},"Seq":16,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Stdio.Host","Message":"Omnisharp server running using Stdio at location '/home/user/projects/BeispielMonogame' on host -1."},"Seq":17,"Type":"event"}
{"Event":"started","Body":null,"Seq":18,"Type":"event"}
  It was not possible to find any installed .NET Core SDKs
  Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
      https://aka.ms/dotnet-download
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.ProjectManager","Message":"Successfully loaded project file '/home/user/projects/BeispielMonogame/BeispielMonogame.csproj'."},"Seq":19,"Type":"event"}
{"Event":"MsBuildProjectDiagnostics","Body":{"FileName":"/home/user/projects/BeispielMonogame/BeispielMonogame.csproj","Warnings":[],"Errors":[]},"Seq":20,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.ProjectManager","Message":"Adding project '/home/user/projects/BeispielMonogame/BeispielMonogame.csproj'"},"Seq":21,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.ProjectManager","Message":"Update project: BeispielMonogame"},"Seq":22,"Type":"event"}
{"Event":"ProjectConfiguration","Body":{"ProjectId":"44f15982-9e10-434c-b122-246c93cff711","TargetFrameworks":["netcoreapp2.0"],"References":["f9b57385e04dcef1","740a41f35e38e687","a650b002a55ee732","c3f49fb8fd06f5e4","ca01f9c6c9519128","a7db6d4c13eb109a","4787ec450370cdc","faae3cd2329a5f23","b136c9057d0eac41","a4be57a67913d9f2","c2f7e51423366080","9221249557edf7da","ac08b9147e6c6cc1","fc8f31a851b2f1e","51d17f0bd2990e1e","3d1fab7a1546aa70","75c42701c310d265","6eac5906d797823f","51b6b65db45d8317","977562ede61122d1","6f06be6c7dad3d57","782a823a2d8cd40","13bbf2cbcdb96469","a8b1d9f359d7b4f","5faa84ffcc646d16","3dd9e1e713ce28c1","bc70a3688f03b546","3e025539204a5d59","12bec27505c61c10","65e9cc7358ddee2e","7df5bfe00323a6a8","ce3f444652eead51","feebdde9a00fe94b","22d24df113118e04","6a8ada60e30e6abf","6001a9b860f7e43","e94e5ff7b2eb39a9","46b5412910b12f1a","eac4975c939bd705","d574426ce261f3cd","2620772be337bacb","ce4b86769789bfd2","4bca77302b767821","b42e3bf9c2caf9d","11d6a5981dd09f1d","2528657f041a0f71","385f6cb9a1a92341","8a6a053fd546c4b9","4bd5d70d9487a7","546da94a433dd46b","c8cd67501180cdb3","99380cc3f9cb0f62","6d26f5b6d581bb7a","e99748daf45287f7","88a79e3fbc9be5a5","baed534980001b3e","a094f278ebd28638","f02b6f1120327ed5","d8d06e6254ff9a8","7a37191fa2429c0","732e2f41e1ec328f","cc0b8a0dc4b5cc17","b3ec78066692ce40","b633596fb5206911","b1c086ddba588d7f","3935c25fc587591d","1fe2caf02ff5116","d1e401c8e175f133","d795c4b069f42de2","28889d355be716fb","987004758afb653e","a93a13f245d3dbf5","c2c7e5dd6bcf2f46","f40e391e11837c28","1f1effdb4f95fef","4b3556ed143bb1a1","990c07b3a694f061","16f3b3c6aa66dbea","bbc2c7fb9307d0f8","cae96c695fa0a849","23af2e185bf7f884","10682f5180926917","531413e8ae8921e9","cbb2e2956b8bc5a1","693159958e045249","abb76040f918f212","2978ebe3fa017619","d753dc831058d377","5d5ab2fae13c7cd7","6f36e9e201c8abbc","abef39459b5f8089","58b2ccb5d5268768","f4c238ed95a4c9e0","463559064b820a89","f46a5248555641f3","d9a0d90fcf36b125","3cab585c38879c80","d31ae060adc0cf68","b740561cbe999190","6f6cd086b29443f","3e2b84419c2678fe","16aa5cd16608904e","88efed4970ce8fb","525af1cb4f8c1ef","f9081118726c671d","1dc6ba4b51a92fe2","96ae799a9cd65a64","53da3fcaf9d4a664","7143cd55e6267a10","9c4f1e8060c475b4","5641b1bfbef8f076","c074fd9cba688aec","5d25704a6a0be6ed","7de0d61ed8a595ec","85c2a8db5105888","baae63d2bc6dd501","6e18d5f5513ced07","3297b865f846bd0a","762c57508db7a1c2","81016cf6be9235ed","96f5a81e8df6f19c","bc2ea691e56496f8","5d957776a3bc8463","4fcdd50549f35f69","1613d6b76156e26a","609f5396c0534146","31be6951d8a1de6e","d373f3c4566c70c6","b42e1bda5a17dc0e","3017ef0c38e2d837","92e480fdaacc79e0","ffb314483a45fa40","3159cfd5553fa1b8","6a5eaa177b0b8d54","add48a46678bd09d","c70f2a1b237f229d","3beb376886d63c97","363b07840a344182","f638dfb632c7bb3e","4fc1e02f10ba6dcc","7f7e058ceeba44c4","76fdeb10eb04a251","c229c6a3986d545b"],"FileExtensions":["-1257278712"]},"Seq":23,"Type":"event"}
{"Event":"ProjectAdded","Body":{"MsBuildProject":{"ProjectGuid":"00000000-0000-0000-0000-000000000000","Path":"/home/user/projects/BeispielMonogame/BeispielMonogame.csproj","AssemblyName":"BeispielMonogame","TargetPath":"/home/user/projects/BeispielMonogame/bin/Debug/netcoreapp2.0/BeispielMonogame.dll","TargetFramework":".NETCoreApp,Version=v2.0","SourceFiles":["/home/user/projects/BeispielMonogame/Game1.cs","/home/user/projects/BeispielMonogame/Program.cs","/tmp/.NETCoreApp,Version=v2.0.AssemblyAttributes.cs","/home/user/projects/BeispielMonogame/obj/Debug/netcoreapp2.0/BeispielMonogame.AssemblyInfo.cs"],"TargetFrameworks":[{"Name":".NETCoreApp","FriendlyName":".NETCoreApp","ShortName":"netcoreapp2.0"}],"OutputPath":"bin/Debug/netcoreapp2.0/","IntermediateOutputPath":"obj/Debug/netcoreapp2.0/","Configuration":"Debug","Platform":"AnyCPU","IsExe":true,"IsUnityProject":false}},"Seq":24,"Type":"event"}
{"Event":"ProjectChanged","Body":{"MsBuildProject":{"ProjectGuid":"00000000-0000-0000-0000-000000000000","Path":"/home/user/projects/BeispielMonogame/BeispielMonogame.csproj","AssemblyName":"BeispielMonogame","TargetPath":"/home/user/projects/BeispielMonogame/bin/Debug/netcoreapp2.0/BeispielMonogame.dll","TargetFramework":".NETCoreApp,Version=v2.0","SourceFiles":["/home/user/projects/BeispielMonogame/Game1.cs","/home/user/projects/BeispielMonogame/Program.cs","/tmp/.NETCoreApp,Version=v2.0.AssemblyAttributes.cs","/home/user/projects/BeispielMonogame/obj/Debug/netcoreapp2.0/BeispielMonogame.AssemblyInfo.cs"],"TargetFrameworks":[{"Name":".NETCoreApp","FriendlyName":".NETCoreApp","ShortName":"netcoreapp2.0"}],"OutputPath":"bin/Debug/netcoreapp2.0/","IntermediateOutputPath":"obj/Debug/netcoreapp2.0/","Configuration":"Debug","Platform":"AnyCPU","IsExe":true,"IsUnityProject":false}},"Seq":25,"Type":"event"}

That message about the Code SDKs looks very suspicious. I do have them installed though.
The verbose log has a few failures, I'm not sure if that's relevant or not:
{"Event":"log","Body":{"LogLevel":"DEBUG","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"Attempting to resolve 'Microsoft.Build.resources, Version=<IP_ADDRESS>, Culture=en-US, PublicKeyToken=b03f5f7f11d50a3a'"},"Seq":41,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"DEBUG","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"FAILURE: Could not locate '/home/user/.cache/omnisharp-vim/omnisharp-roslyn/omnisharp/.msbuild/Current/Bin/Microsoft.Build.resources.dll'."},"Seq":42,"Type":"event"}
  It was not possible to find any installed .NET Core SDKs
  Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
      https://aka.ms/dotnet-download
{"Event":"log","Body":{"LogLevel":"DEBUG","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"Attempting to resolve 'Microsoft.DotNet.MSBuildSdkResolver.resources, Version=<IP_ADDRESS>, Culture=en-US, PublicKeyToken=adb9793829ddae60'"},"Seq":43,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"DEBUG","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"FAILURE: Could not locate '/home/user/.cache/omnisharp-vim/omnisharp-roslyn/omnisharp/.msbuild/Current/Bin/Microsoft.DotNet.MSBuildSdkResolver.resources.dll'."},"Seq":44,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"DEBUG","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"Attempting to resolve 'Microsoft.DotNet.MSBuildSdkResolver.resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=adb9793829ddae60'"},"Seq":45,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"DEBUG","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"FAILURE: Could not locate '/home/user/.cache/omnisharp-vim/omnisharp-roslyn/omnisharp/.msbuild/Current/Bin/Microsoft.DotNet.MSBuildSdkResolver.resources.dll'."},"Seq":46,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"DEBUG","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"Attempting to resolve 'Microsoft.Build.Tasks.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'"},"Seq":47,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"DEBUG","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"SUCCESS: Resolved to '/home/user/.cache/omnisharp-vim/omnisharp-roslyn/omnisharp/.msbuild/Current/Bin/Microsoft.Build.Tasks.Core.dll' (name-only)."},"Seq":48,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"DEBUG","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"Attempting to resolve 'Microsoft.Build.Tasks.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'"},"Seq":49,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"DEBUG","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"SUCCESS: Resolved to '/home/user/.cache/omnisharp-vim/omnisharp-roslyn/omnisharp/.msbuild/Current/Bin/Microsoft.Build.Tasks.Core.dll' (name-only)."},"Seq":50,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"DEBUG","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"Attempting to resolve 'Microsoft.Build.Tasks.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'"},"Seq":51,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"DEBUG","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"SUCCESS: Resolved to '/home/user/.cache/omnisharp-vim/omnisharp-roslyn/omnisharp/.msbuild/Current/Bin/Microsoft.Build.Tasks.Core.dll' (name-only)."},"Seq":52,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"DEBUG","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"Attempting to resolve 'Microsoft.Build.Tasks.Core.resources, Version=<IP_ADDRESS>, Culture=en-US, PublicKeyToken=b03f5f7f11d50a3a'"},"Seq":53,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"DEBUG","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"FAILURE: Could not locate '/home/user/.cache/omnisharp-vim/omnisharp-roslyn/omnisharp/.msbuild/Current/Bin/Microsoft.Build.Tasks.Core.resources.dll'."},"Seq":54,"Type":"event"}

I wouldn't worry about the It was not possible to find any installed .NET Core SDKs error for now - I've been seeing that too in the 2 latest versions of OmniSharp-roslyn, and while it's annoying, it doesn't seem to prevent the server from working correctly.
More interesting to me is the FAILURE: Could not locate '/home/user/.cache/omnisharp-vim/omnisharp-roslyn/omnisharp/.msbuild/Current/Bin/Microsoft.Build.resources.dll error - that one has come up a few times before.
Try creating a ~/.omnisharp/omnisharp.json file like this:
{
   "MsBuild": {
      "UseLegacySdkResolver": true
   }
}

If that doesn't work, you could try installing mono.

That worked! Although I do still see the failure you mentioned. Oh well, thanks! (mono was already installed).


JSpecify: Handle @Nonnull elements in @Nullable content arrays

Handles unexpected error cases in JSpecify mode where an index is asserted @Nonnull (fizz[x]!=null)  but the array elements itself could be null (@Nullable String [] fizz).
Example
@Nullable String [] fizz ={"1"}
if (fizz[i] != null) {
    fizz[i].toString();
}

Current Behavior
This throws an error due to dereference of fizz[i]
New Behavior
There should be no error here unless it's outside the block. So only the latter dereference throws up an error in the below case.
@Nullable String [] fizz ={"1"}

if (fizz[i] != null) {
    fizz[i].toString();
}
fizz[i].toString();

@msridhar

We should add tests for the following cases:

Array expression is unhandled, like a method invocation (m()[i])
Array index is unhandled (m[i()])
Different index in conditional and deference (if (m[i] != null) { m[i+1].hashCode(); } should yield an error)

您好，邮件已经收到，查阅后会尽快给您回复！

I realized this change might have a deeper impact than we were expecting.  Right now, the creation of access path elements for array accesses is not gated on the flag for JSpecify mode, and passing the NullAway config into all relevant methods to do that would be kind of painful.  But, I believe this means that code like this will pass NullAway now, when it didn't before this change:
if (arr[i].f != null) {
  arr[i].f.toString();
}

@armughan11 can you write a test to confirm this?
@lazaroclapp do you see any high-level issues with not reporting warnings for code like the above?  It seems to be keeping in the spirit of NullAway, but it does potentially introduce new vectors of unsoundness, e.g.:
if (arr[i].f != null) {
  arr[j] = null; // overwrites a[i] if i == j
  arr[i].f.toString(); // still no warning from NullAway
}

Most programs don't code too much directly with arrays, but I wonder if we should do some more performance and sanity testing before landing this.

Just added the test and you're correct @msridhar. The test you mentioned works fine right now, but throws an error without our changes.

Gonna go ahead and merge this; I think we can address any concerns in follow-up PRs


refactor(firestore-shortern-urls-bitly): move package.json to func dir

Codecov Report

Merging #252 into next will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             next     #252   +/-   ##
=======================================
  Coverage   40.48%   40.48%
=======================================
  Files          20       20
  Lines         625      625
  Branches       81       81
=======================================
  Hits          253      253
  Misses        370      370
  Partials        2        2


remove support for native window frames

Globox was started as a question: is it possible to build a portable windowing library that gives complete freedom to its users?
So far, our answer has been quite successful in implementing cool features not usually seen in similar projects:

support for non-multi-threaded apps for macOS
support for not providing any system integration in macOS
support for live resize without using timer-based event pumps
support for background blur for every windowing system

These gimmicks, however, have a cost : using the native window frames requires an insane amount of hacks. After careful consideration, I think it is time to remove this feature from Globox, as it is not robust enough. My suggestion is to instead add another example implementing client-side window decorations using Willis, Cursoryx and DPIshit (my other libraries). This should help us clean the few dirty hacks of the project along the way, and it will very likely make some bug fixes a lot easier too.

Fixed as of 9fd7a0a82c45406e6e67eb4abb0799791189c047


accessing grid data from custom field

I created a custom field using itemTemplate, containing a button which calls a function when clicked.
But I need to pass some grid data to the function which is unique to the selected row.  How can I do this?

I am also have that issue

You can try:
itemTemplate: function (value, item) {                             return $("<button class='btn btn-info'>").text("Click me!")                                 .on("click", function () {                                    alert(item);                                    alert(value);                                 });                         }
From the docs:

itemTemplate is a function to create cell content. It should return markup as string, DomNode or jQueryElement. The function signature is function(value, item), where value is a value of column property of data item, and item is a row data item.


Use NonZeroUsize inside NodeId

This allows Option<NodeId> to be no larger than usize, and saves 32 bytes of memory per node.

This library looks really nice! This PR is a memory use improvement that you might be interested in.
It adds some CPU instructions for those + 1 and - 1, but hopefully that cost is small enough. A way to avoid that could be to have a dummy unused node at index zero. But then we’d have to come up with a dummy T value for it (requiring T: Default just for this seems unfortunate), or unsafely leave it uninitialized.
In the same spirit, it looks like NodeRef could also be made smaller by replacing its node field by a node() method similar to that of NodeMut. Since indexing is unchecked, I think the only cost would be the extra pointer indirection (NodeRef.tree → Tree.vec.ptr → Node v.s. NodeRef.node → Node). NodeRef may seem small already (relatively to, say, Node<T>) but in code that passes it around a lot, those copies/moves can add up.

But then we’d have to […] unsafely leave it uninitialized.

On further thought this isn’t so bad, with Vec::with_capacity + set_len. Let me do that instead :)

It's been ages but I'd like to merge this one since it's much less code and more convincingly correct. The branch is gone however so I can't reopen this PR, but I'm guessing I can grab the commits from GitHub some way.


Add openSUSE:Factory key

We need to add the signkey of openSUSE:Factory to the gpg keys as well, so that we can pull registry.opensuse.org/opensuse/nginx for the php tests. And for that, we need a newer podman…
Requires #221

This is still not going to work as the opensuse/nginx image is signed with the key D754694F9AB48CE9 which is whatever :shrug: but most certainly not the key from openSUSE:Factory

This is still not going to work as the opensuse/nginx image is signed with the key D754694F9AB48CE9 which is whatever shrug but most certainly not the key from openSUSE:Factory

This is the container signing key, aka the right one. I've updated the PR to fix this.

PHP tests have passed


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1764 ms

Resolved: Bofrost.at performance has improved in 872bb8d after 6 minutes.


TypeError

  File "logging\__init__.py", line 734, in format
  File "logging\__init__.py", line 465, in format
  File "logging\__init__.py", line 329, in getMessage
TypeError: not all arguments converted during string formatting
Logged from file sharder.py, line 83
Traceback (most recent call last):
  File "storj-gui-client\UI\file_download.py", line 102, in <lambda>
  File "storj-gui-client\UI\file_download.py", line 263, in create_download_finish_thread
  File "storj-gui-client\UI\file_download.py", line 287, in finish_download
  File "storj-gui-client\UI\utilities\sharder.py", line 101, in join_shards
WindowsError: [Error 5] Access is denied: 'C:\\Windows\\temp/*.*'

nowe wskazniki"title": "Shard downloaded"

2017-04-28 03:03:22,654 DEBUG "title": "Shard downloaded"
"description": "Shard at index "1 downloaded successfully.
2017-04-28 03:03:22,661 DEBUG "description": "Shard at index "1 downloaded successfully.
konczenie downloadu
"title": "Sharding"
2017-04-28 03:03:22,670 DEBUG "title": "Sharding"
"description": "Joining shards..."
2017-04-28 03:03:22,674 DEBUG "description": "Joining shards..."
Traceback (most recent call last):
  File "logging\__init__.py", line 861, in emit
  File "logging\__init__.py", line 734, in format
  File "logging\__init__.py", line 465, in format
  File "logging\__init__.py", line 329, in getMessage
TypeError: not all arguments converted during string formatting
Logged from file sharder.py, line 83
Traceback (most recent call last):
  File "logging\__init__.py", line 861, in emit
  File "logging\__init__.py", line 734, in format
  File "logging\__init__.py", line 465, in format
  File "logging\__init__.py", line 329, in getMessage
TypeError: not all arguments converted during string formatting
Logged from file sharder.py, line 83
Traceback (most recent call last):
  File "storj-gui-client\UI\file_download.py", line 102, in <lambda>
  File "storj-gui-client\UI\file_download.py", line 263, in create_download_finish_thread
  File "storj-gui-client\UI\file_download.py", line 287, in finish_download
  File "storj-gui-client\UI\utilities\sharder.py", line 101, in join_shards
WindowsError: [Error 5] Access is denied: 'C:\\Windows\\temp/*.*'

Download hangs, if i change the temp directory it work fine.

clicking on CANCEL when this error occurs does not work though.

Related to logs, but the logers is now almost refactored in branch develop

Fixed in branch develop


qt5: Libxml2212

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

hmm my power went out as I was 90% through the pcc64le build.
I have a aarch64 build with a log ready.
don't know if somebody can take on the ppc64le build
CPU_COUNT=20 python build-locally.py | tee ppc64le_log.txt

should get you going

linux_.zip


Exercise 6: Set Up General Journals. Repeated lab steps for Task 1

Module: 2
Lab: Exercise 6: Set Up General Journals
Task: 02
Step: 01
Description of issue
This lab has been repeated twice, the scenario are exactly the same, for Task 1 and Task 2.
Please update accordingly.
Thank you

Yes! The tasks are repeated.

Thank you for raising this issue. I am raising PR to remove this repeated task.


New ui for voip

New VoIP UI:

Local video attendee set dynamically according to screen size
New transparent header
New menu icons
Fix black screen issue after rotation or any incoming screen (ex: screen saver)

Note: this PR depends on a corresponding PR in the SDK side

LGTM


can,t find my device

windows , when i run dryrun url, tips "Searching for devices.." and no devices attached, however i can,t connect my devices,i am sure all the setting is right

Hi, each dryrun version you are using?

if you run adb devices what happens?

I'm experiencing the same problem. However "adb devices" returns list with one device attached.

can you show me the dryrun run log?

At the moment can't reproduce.
But it was something like:
Searching for devices...
no devices attached, but will still continue

Are you completely sure that the phone was being listed in the adb devices? because I use this everyday and that never happened to me.

Yes. Maybe it was somehow in conflict with Android Studio opened?
I was experiencing this only for the first times together with #54
After I tried with other git repo and dryrun got till gradle build, then device showed up.

Maybe adb was killed by android studio for some reason, some weird edge case.
Let me know if it happens again!
Thanks for reporting the issue


Adding lift plugin for ignition

I've ported over the lift plugin and restructured for both ignition and gazebo.
Currently ignition doesn't support nested models which was used in gazebo. So I created another lift sdf generation function specifically for ignition and edited door plugin to cater to that.

I merged master into ign_plugins, can you rebase the PR to reduce the size of the diff?

Looks good! Last question that came up in my latest test, is the order of doors opening intended? I feel it makes things unnecessarily slow at times, specifically when I run the demo scenario and:
ros2 run rmf_demo_tasks request_lift Lift1 L1 open
Upon reaching level 1 the doors open one at a time, that for a total of 4 doors takes quite a long time.
The closing looks good though, with all of them closing simultaneously.
Is this behavior intended?

Upon reaching level 1 the doors open one at a time, that for a total of 4 doors takes quite a long time.
The closing looks good though, with all of them closing simultaneously.
Is this behavior intended?

Not really intended. In my code, I'm just sending the door requests in a for loop, same way as closing. In my testing, the delay happens randomly for both opening and closing. So I guess it's due to door_superviser not being able to deal with so many requests at the same time quickly.

I tried to increase the queue size for the door subscriber, it helps a bit on my setup, can you check whether it is the same for your setup as well?

Just tested the two different queue sizes, but on my side, it doesn't seem to be making an observable difference to me...

OK fair enough, reverted, merging!


Write an indexer for flat text files

@yb1 You probably want to dump out the cleaned text in a simple text format, something like this:
URL1 document1 ....
URL2 document2 ...

And write an indexer for it. Look at IndexTweets.java and IndexWebCollection.java here:
https://github.com/lintool/Anserini/tree/master/src/main/java/io/anserini/index
The tweets indexer should be fairly easy to understand - it's single-threaded so it's slower. IndexWebCollection is multi-threaded and thus much faster.
I would start with a single-threaded implementation. Call the class IndexPlainText or something like that.

Since we have the ability to index JSON collections now, we're good.


Added "Interstella 5555: The 5tory of the 5ecret 5tar 5ystem"

Fixed the glaring omission of Daft Punk's Interstella 5555: The 5tory of the 5ecret 5tar 5ystem

movies is quite non-descriptive and too generic, why wouldn't you call it five.fiveFiveFive or five.daft ?

Because I assume other movies will need to be added later on, so this would only be the first of the list.
Same as five.singles.

I had the same thought as @tOverney and you're reply makes sense @YannickMG but unfortunately those are all singles by the band 'five' so i'm not sure it makes sense for this. I do LOVE the idea though, just think we can work on the method name.

I loved @tOverney's five.fiveFiveFive suggestion so I went with that.

Fantastic! Love it :) Can you just add a quick test and i'll merge it?

Done.

Thanks @YannickMG :D

Nice job :)


smoothness_prior is not exported from models.jl

I think that's just been missed and is a quick fix?

I see smoothness_prior is discussed in #97 and might need a bit more consideration.

This is now exported via ACE1x


Homework21: Pavel Mitrafanau

Good day, Sergey.
Made test cases (test folder) to check the operation of library and bank deposits modules (source folder, also i added all previous homework modules into it )
Pylint error W0201 occurs in test_bank_deposit, I haven’t found a way to fix it yet, so I temporarily added it to the exceptions

HTML report with test results added to the project tests folder

Fixed pylint E0401 error, all is correct now

Added single logger for test_library and for test_bank_deposit modules

Made silngle logger file in tests folder with logging settings


TCP Server example throws exception

Hello, nice library. I'd like to use it but straight away I have encountered this problem.
Built OK under MSYS2 on Windows 7 with Mingw64 compiler.
terminate called after throwing an instance of 'tacopie::tacopie_error'
what():  fail socket()
That's the TCP server example copied and pasted. The issue is in the tcp_server constructor.

Hi,
Thanks for reporting this issue!
I just doubled check the tcp_server example, and I noticed I have not included the call to WSAStartup which is necessary on Windows.
Before investigating if there is an issue in tacopie itself, I just want to make sure you did call WSAStartup in your example?
Basically, you would need to do something like this before using anything related to tacopie:
  //! Windows netword DLL init
  WORD version = MAKEWORD(2, 2);
  WSADATA data;

  if (WSAStartup(version, &data) != 0) {
    std::cerr << "WSAStartup() failure" << std::endl;
    return -1;
  }

and you would also need to call the following at the end of the execution of your program:
  WSACleanup();

These are windows requirement to initialize networking and tacopie does not call them internally. You would need to include <Winsock2.h> to use them.
I'll update the examples to include these calls as it might be misleading otherwise.
Just let me know if it solves your issue :)
Best!

Hi,
Thanks a lot, that has fixed it. I've encountered no issues at all and I've got a full TCP server implementation working nicely.
Cheers!

Awesome!
I'll close this issue then, but feel free to re-open it if you feel the need :)
Best


Add "OpportunityCategory" model stack (Model + ModelAdmin + Serializer + ViewSet)

[ ] name
[ ] slug
[ ] opportunities(many to many field)
[ ] created
[ ] updated

can you assign this to me please


Fix incorrectly transposed matrix for displayp3 colorspaces

When originally authored the matrix was authored transposed.  Further internal testing revealed this to manifest as an undesired shift towards red.
Before

After

Great catch, thanks @ld-kerley!  I'm CC'ing @doug-walker and @carolalynn on this PR, to make sure we're remaining aligned with the upcoming NanoColor project.

Also just cc'ing @meshula about this too.

@jstone-lucasfilm , here is what NanoColor would give for that conversion, based on the draft config that implements the ASWF Color Interop Forum color spaces.
1.2249401763e+00, -4.2056954710e-02, -1.9637554590e-02],
[-2.2494017628e-01,  1.0420569547e+00, -7.8636045551e-02],
[ 2.2204460493e-16, -5.5511151231e-17,  1.0982736001e+00

Thanks @doug-walker, and in this context, I'd have no objections to moving forward with the matrix transpose in this pull request.  Further in the future, we're planning to import our color transform graphs directly from NanoColor, at which point any differences in precision assumptions should be resolved.

Since @dgovil summoned me, the matrix Doug wrote out matches the results of the nanocolor implementation currently underpinning GfColor in OpenUSD.


Such interesting project so much followers and brunches and so little contributors?

Hello folks. I'm an expert in cellular automatons i.e. conway game of life and the similar. http://www.conwaylife.com/wiki/Michael_Simkin - Some background about me.
Anyway I wonder how complex would it be to also fit inside your reality some cellular automaton? but where the longer part would actually have more squares. How would it influence the automaton? Is there even a point in doing that?
And another question how hard would it be to implement inside Roblox? https://www.roblox.com/home.

For cellular automata (at least 2D automata), you don't really need an engine like this to simulate the effect.    You can just place portals on the grid that connect to the same or different realities.  Kind of like how the bottom row of the periodic table has a 'portal' to connect the lanthanides and actinides to the main table.  The update rules are pretty simple to modify for the portal boundaries.
I also found this hyperbolic cellular automata: https://dmishin.github.io/hyperbolic-ca-simulator/help.html

Is it possible to visualize the hyperbolic space in more user friendly manner? Hyperbolic CA could be interesting - if we would have nicer visualization for it. I mean in the video you can look only at a glider in hyperbolic space - that's it.
I also thought of something like CA on Serpinski carpet.
https://www.youtube.com/watch?v=nHe6vDpSlMs

Unfortunately, there is so much more 'space' in hyperbolic space compared to euclidean space, that things must get exponentially compressed in order to project it into normal euclidean space.  There are other projections though, but none are what I would call 'user friendly': https://youtu.be/xHvAqDuWG2M?t=6m27s

@HackerPoet how did you generate the collisions on the .obj files? I'm trying to understand the code and I see a bunch of c * and c [some numbers] which I understand are collisions but can't understand how you made them (if it's hardcoded or not). I wanted to make some custom levels but it's hard without knowing how to manipulate those files.

Hmm how about for starters "size regularization" stretching the radius so that every new layer of N-gons will be optimized to be the size of the rest of the grid. The concern to me is the adjacency graph, I don't mind to have distortions of the N-gons. What stops me from stretching this circle into infinity artificially, trying to keep everything with regular size? Just some polar transformation.

@marcofs They were all hard coded.  I selected which triangles I wanted to use for collisions, copied the line, and then replaced the 'f' with 'c'.  If you just want to get something working for visualization, you don't need to have any collisions other than the floor.  Or you could just make every single triangle a collier, though this may have some unintended consequences.
@simsim314 So you mean an equal-area projection?  That was in the video I linked at 11:23 and you can see how things get distorted as you move farther away, but the total area of each cell stays the same.  If you don't mind the distortions, you could use that.

I'm not sure what projection it is. I want something more or less simple:
O(1) approachable adjacency graph. Preferably calculable by function and not stored in matrix of adjacencies - as I want to have millions of nodes at least. So matrices of the size million on million even sparse matrices like this are still very computationally intensive. Just like in the plane you get (x,y) -> (x+1,y-1) neighbors. You have a 2d array. I can spend more time on getting the neighbors but not space. Now when I have neighbors I want also to represent it all in a sparce tree. Just like on plane you can divide the square to four squares, and store only the 0.25% of the information and not the whole grid. This is called Hash life algorithm, and hash life tree. So not only visualization but adjacency indecency and division of the indices into groups divided by some random line/plane/hyperplane don't know. I wonder if this is even possible in hyperbolic space - I don't know really.

I just need very effective visualization of the hyperbolic plane and very computationally chip neighbor function all represented in 2d grid locally at least not so much stretched. So that I could see a glider moving not as a tiny dot but as equal grid. I mean at least not stretched in the sence of 1000x1000 at least. I know it's exponential but make the calculation, maybe it will more look like a hive and the adjacency graph will only be slightly correlated with the general direction. And this will be some sort of "grater than life" CA in 2D representing just regular CA on hyperbolic plane, with some sort of strange hyperbolic property of "general direction". Like say after 10 layers the size of the circle will grow so that the glider will still be in that direction. Anyway I want to see 1000x1000 dot's on my screen each of them representing something else inside this CA, and I can zoom in and out of it and look in many directions, and what I see will have some sort of meaning. I mean I can zoom in and see more details, like in fractals.

Here is my explanation using golly:
https://www.twitch.tv/videos/392238658

How is any part of the discussion related to the issue's title?


[Database] Integrate the database to saving data

Done. Integrate with the postgresql, and encrypt the password;


README is not very helpful

Sorry if this may come out as rude. But I'm not a rust developer, I saw oxc on github explore feed, and wanted to try it out (you know, let it "oxidise" my javascript), but the README doesn't have those instructions.
Usually, one would like to include "Installation" and "Usage" headings to help new users learn how to use it...

Thanks for checking out this project! I didn't know you can find this project on github explore.
Are you expecting a linter or prettier for your JavaScript?
Unfortunately this project is currently work in progress, which means oxc is unusable right now. We'll probably get a workable linter with a few rules implemented within a month or so.
I'll clearly state this in the README.

Thank you. I understand that you are currently working on the internals so it's not very usable at the moment. thank you for making this and good luck!!


Module st7789 problems

Module st7789 exists only in Version 1.18.8 - Beta Bonanza but it doesn't work properly.

Module st7789 on GitHub documented as totally different one: https://github.com/pimoroni/st7789-python
The examples like to https://github.com/pimoroni/st7789-python/blob/master/examples/round.py

# Create ST7789 LCD display class.
disp = ST7789.ST7789(
    port=0,
    cs=ST7789.BG_SPI_CS_FRONT,  # BG_SPI_CS_BACK or BG_SPI_CS_FRONT
    dc=9,
    backlight=19,               # 18 for back BG slot, 19 for front BG slot.
    rotation=90,
    spi_speed_hz=80 * 1000 * 1000,
    offset_left=40
)

do not work in MicroPython 1.18.8 and are even not available in v1.19.10.

The module missed in MicroPython v1.19.10 installed in Thonny:

MicroPython v1.19 on 2022-11-18; Raspberry Pi Pico with RP2040
Type "help()" for more information.
>>> import st7789
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: no module named 'st7789'
>>> import ST7789
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: no module named 'ST7789'
>>>

Sure, we need to have some ability to find the actual version of Pimoroni st7789/ST7789 library (and all others too) because that's impossible to track all the GitHub changes for years and look for the ways to rebuild Pimoroni libraries pack to a consistent state and find the actual documentation. How kids would do all of that? I already asked about the issue #384 but for now the problem is the same and we even can't upgrade our old firmwares and codes due to the inconsistencies. 'picographics' module is not available always and it's not consistence between the versions the documentation is lacked too.

st7789 is handled via Picographics.
https://github.com/pimoroni/pimoroni-pico/tree/main/micropython/modules/picographics
Your posted links are to Python not Micro Python. Poke around here and you "might" find what your looking for.
https://github.com/pimoroni/pimoroni-pico/tree/main/micropython

@alphanumeric007 Thanks, but there is no the main Picographics feature described (multiple displays). Does it support for now and by which way? Is it required to load st7789  directly for multiple LCDs connection or use Picographics  instead (as I remember it was "group" parameter in the early versions but it's missed in the documentation for now). Also, where to find the migration guid from the previous Picographics versions as I've asked above?

I am currently running two Pico Display Pack V2's. It's a long read, might want to scroll to the bottom to get to what works.
https://github.com/pimoroni/pimoroni-pico/issues/299

The problem is the solution based on st7789 module which is not available more. I’ve started my ticket from the point that the old code doesn’t work on new firmware but the new code or just the documentation missing the feature. While it works on my device I can’t update nether the firmware nor the code as I want to do to prepare it to be used and modified by my kids. Picographics is the new true way? Ok. But how to upgrade the old devices saving all the functions?

I'm far from any kind of expert on this, just so you know.
My understanding is, go all new, or don't upgrade. I've been slowly going all new / Pico Graphics. When I can, I modify my old code so it works with Pico Graphics.

Specifically which of our products are you trying to use and what are you trying to accomplish?

@Gadgetoid I’ve forgot one more case to save screenshots from the display buffers. This feature is must have for oscilloscopes and other tools on RPI Pico devices. Does it work via Picographics for Pico Display Pack 2.0 (it’d be the best due to its size) and others (smaller displays are usable too if there is a problem with Pico resources)?

And I found the smaller display name: Pico Display Pack. So it’s fine to use one or more Pico Display Pack (or something other maybe, like to pretty round displays) together with Pico Display Pack 2.0 for the same project connected to a single Pico.


Can't seem to set os-type to Windows - always throws an error

Hi folks,
I'm trying to specify the os-type as Windows. Regardless of how I specify it, it doesn't seem to satisfy the parameter. Here's my github action step ...
      - uses: Azure/aci-deploy@v1
        with:
          name: xxx
          image: xxx.azurecr.io/xxx:${{ github.event.release.tag_name }}
          os-type: "Windows"
          location: "South Central US"
          dns-name-label: xxx
          resource-group: xxx
          registry-username: ${{ secrets.CONTAINER_REGISTRY_USERNAME }}
          registry-password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
          registry-login-server: xxx.azurecr.io

And below is the error output ...
Error: Error: The Value of OS Type must be either Linux or Windows only!

Closing this issue as the fix has been merged.


Create auto_assign-issues.yml

I think this should do the trick for auto-assignment of issues.

Does this require installing an add-on along with populating this file?

Nels already added it to the t-route part of the github. The file in the
pull request is all I believe it requires.
On Fri, Sep 18, 2020 at 11:31 AM jameshalgren<EMAIL_ADDRESS>wrote:

Does this require installing an add-on along with populating this file?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NOAA-OWP/t-route/pull/138#issuecomment-694961916, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AOIRIPAE7CMEJHJOKFO74GDSGOCR7ANCNFSM4RSEAOAA
.

--
Jacob E. Hreha
National Water Center
205 Hackberry Lane,
Tuscaloosa, AL  35401
Office:<PHONE_NUMBER> x71475
<EMAIL_ADDRESS><EMAIL_ADDRESS>http://nws.noaa.gov/oh/nwc/ http://www.nohrsc.noaa.gov/


InfluxDB send retry after IOError

Description:
This adds an optional max_retries parameter to the InfluxDB component
to specify if and how often the component should try to send the data
if the connection failed due to an IOError.
The sending will be scheduled for a retry in 20 seconds as often as the
user specified. This can be handy for flaky getwork connections between
the DB and Homeassistant or outages like daily DSL reconnects.
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#2485
Example entry for configuration.yaml (if applicable):
influxdb:
  host: <IP_ADDRESS>
  port: 20000
  database: DB_TO_STORE_EVENTS
  username: MY_USERNAME
  password: MY_PASSWORD
  ssl: true
  verify_ssl: true
  max_retries: 3
  default_measurement: state
  blacklist:
     - entity.id1
     - entity.id2
  whitelist:
     - entity.id3
     - entity.id4
  tags:
    instance: prod
    source: hass

Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] Tests have been added to verify that the new code works.

Please rebase it

Rebased. :)

@pvizeli So do you suggest to maintain use a fork of the official influxDB api? I don't think that this will go upstream. Especially as this would mean, that the API has to be aware of home-assistants scheduling system.

I don't think this belongs in the influxdb component, either. It's a matter of connection reliability not specific to influxdb.
Would it be possible to abstract it into a helper decorator, similar to how we have a throttle decorator, but for retries. That would then be reusable all over home assistant and have the same potential configuration.

It would be easy. It just takes the possibility to have specific log messages - and I'm not sure if its really worth having an decorator for that. Anyway, it could look like that:
in the influx component:
    @RetryOnError(hass, retry_limit=max_tries, retry_delay=20)
    def _write_data(json_body):
        try:
            influx.write_points(json_body)
        except exceptions.InfluxDBClientError:
            _LOGGER.exception("Error saving event %s to InfluxDB", json_body)

In util:
class RetryOnError(object):
    def __init__(self, hass, retry_limit=0, retry_delay=20):
        self.hass = hass
        self.retry_limit = retry_limit
        self.retry_delay = datetime.timedelta(seconds=retry_delay)

    def __call__(self, method):

        @functools.wraps(method)
        def wrapper(*args, **kwargs):

            def scheduled(retry=0, event=None):
                try:
                    method(*args, **kwargs)
                except Exception:
                    target = dt_util.utcnow() + self.retry_delay
                    if retry == self.retry_limit:
                        raise
                    track_point_in_utc_time(self.hass,
                                            functools.partial(scheduled,
                                                              retry + 1),
                                            target)

            scheduled()

        return wrapper

Looks still not very nice, is more code and lacks specific log messages.
Shall I go for that or leave it?

I'll like the helper decorator approach better. But I think @balloob should have a say.

My suggestion is that we have ca. 300-400 component/platform they could be the same Problem. So If we Need to have 30 lines per component/platform give that 10'500 lines that we need to maintenance and fill our bus and job handler with data and can make new problems.

Rebased and refactored the retry to a RetryOnError decorator in homeassistant.util (including unittests).

... and fixed another rebase error.

Sorry but that is to wired. I.e. you should only schedule new stuff is not a other schedule penden and you will go back to old problem. If you endless schedule stuff we run into a mem problem in some case. Let's make a PR here: https://github.com/influxdata/influxdb-python and fix that on base. But for now I'm silent and wait what Paulus mean.

@pvizeli No, I schedule only "max retries" times. I'm not seeing this in any for going upstream, because hey don't have any scheduling logic - so blocking would be the only thing they could do - which is not an option I think.
Of course, we can add fancy logic lo limit the number of "pending" calls - but I think that would add unnecessary overhead. I use the solution from here since a few weeks without any problems. As the calls are always dropped after some retries its also not a problem that it grows somehow in memory.

The requests are still orphaned because influxdb integration has no clue how many requests are still in flight or how many requests will hit the DB in the next X time.
As long as you keep it in influxdb, I'm fine with it.

This PR seems to have gone stale. Closing it. You can reopen it when you're ready to finish it.

I can't reopen it by myself.

Closing this again as there hasn't been any activity since re-opening.
Also is this solved by #8209?

It is not solved. I'll work on this if its open as soon as I've time. At
the moment it looks like I can get this done in the second half of August.
I don't understand why unsolved problems that are fixed and just need some
polishing are closed.
On Sat, Jul 8, 2017 at 11:49 AM Lewis Juggins<EMAIL_ADDRESS>wrote:

Closed #7247 https://github.com/home-assistant/home-assistant/pull/7247.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/pull/7247#event-1155454254,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAF3krw_R5x8lBIxgmIQtyRUztlzKiupks5sL1DFgaJpZM4NFbdd
.

So we know what's waiting for review, or ready to be merged.
A pull request signifies "My changes are ready, take my changes!", while this is not the case for this PR. I'd suggest continuing to work on the branch, and poke us when you're ready for review.
Perspective: If everyone raised a PR for their unfinished change, it would be a nightmare to triage.

Ok, For me it's dismissing work: "Go away". Especially as I cannot reopen it. And I don't want to work on closed PRs.
It works well. It is tested and can be merged I use it every day.  It is in the state "My changes are ready, take my changes!".
Only cosmetic changes were requested - after it was finished and working.
Is this the new policy, to close all working PRs where small changes are requested?

@janLo In general stale PR's are closed to keep the code base and PR's incoming maintainable. There's quite a few PR's to all the Home Assistant repositories and the people who review and merge are limited in numbers and are all doing it in their free time, with limited limited tools(Github Gui).
Taking it as "go away" is the last thing you should do since you've gotten valuable feedback on what some of the core maintainers think needs changing to integrate this into HA. There's nothing that prevents you from working on this in your own fork until the requested changes have been made and just simply put a reply on this PR to have this reopened at that time.
It's really  the minimal amount of effort  for everyone involved (submitters and maintainers) that can be done with the limited tools available.
If you have a better way of keeping a project the size of HA organized I'm sure that any feedback on that process would be greatly appreciated(but not in this PR). :smile:


Modifying MANIAC-V2 corrupts it

When just applying this to MANIAC-PC-V2, without any other change:
scummrp -gp maniacv2 . -od DUMP # export
scummrp -gp maniacv2 . -id DUMP # reimport the same dump

…scummrp seems to corrupt the game, because right after this, the game always starts in demo mode, at least in ScummVM. This problem also happens with the 0.4.0 scummrp.exe executable.
With a more verbose export, the following warnings appear:
17.LFL should actually end at 0x1F3B
Removed (33, 0x3E77) from the index
Removed (41, 0x160F) from the index
OIv2_0395 might actually be OIv2_0547 (unlikely)

but the first warning about 17.LFL is different on the French version of Maniac Mansion v2.
Removed (17, 0x1F3B) from the index
Removed (33, 0x3E77) from the index
Removed (41, 0x160F) from the index
OIv2_0395 might actually be OIv2_0547 (unlikely)

It appears that the original English v2 version of Maniac Mansion has more script bugs than the one already discovered in #12.
This ScummRP bug is potentially responsible for the fact that PR #14 still doesn't completely fix our ScummTR bug with the same variant of the game.

So, the bug is not only in the English V2 version of Maniac Mansion; I can also reproduce it with my French V2 version (included in my DOTT CDs). I think some Italian translators hit this bug, too.

There's probably something wrong in the V2 parser. Zak appears OK, but it still gives some warnings and has some FIXMEs. Reimporting an official translation inside Zak also produces different LFL files.
AFAIK, scummtr always behaved this way.
So, we probably have a bug or some limitations here, but I don't know how to fix that. ScummTR 0.5.1 will just disable support for MANIAC-V2 modifications.

Someone on oldgamesitalia reported that this bug makes the Italian Amiga version glitch in some way, unless you fix some offsets:
https://www.oldgamesitalia.net/forum/index.php?s=&showtopic=18982&view=findpost&p=385373

to fix the bug [with the Italian Maniac V2 Amiga version], you must substitute the following 4 bytes in file 45.LFL
offset 2a: from FF to 92
offset 2b: from FF to eb
offset 2c: from FF to 92
offset 2d: from FF to eb
basically, xor with ff (e.g. $eb92 xor $ffff = $146d) the offsets from which the graphics of object 8 and object 9 that make up the animation of the first character start
I got the correct values from the English version (or some other version)


chore(deps): update dependency @types/jest to ^26.0.5

This PR contains the following updates:

Package
Type
Update
Change

@types/jest
devDependencies
patch
^26.0.0 -> ^26.0.5

Renovate configuration
📅 Schedule: "before 1am on Monday" in timezone Europe/Vienna.
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


CollectionView prefetching

Are there any plans on implementing something similar to UICollectionViewDataSourcePrefetching so we can preload stuff like images before the cells containing them get visible?
It could be implemented as a callback that notifies us of the IndexPaths that are going to be presented and the ones that are going to be removed.

Right now you can use layout's insetVisibleFrame(by insets: UIEdgeInsets) and specify a negative insets to achieve the preloading effect. It is simple to use but it displays more cells.
I guess what you want is to only prefetch the data and not load the cells. Right now CollectionKit doesn't support it. but it should be easy to add.
You can probably realize this yourself. Maybe contributing as a PR.
I will just give some idea about this.
We can create a subclass of BasicProvider or add this function directly to BasicProvider.
In visibleIndexes(visibleFrame: CGRect) ask the layout to find visible indexes for a bigger area while keeping a list of what is displayed. then for those that are not on screen, you can call your own delegate or closure callback to prefetch the data.


Add 2-arg constructor for ArgumentException

Related MSAL PR: https://github.com/AzureAD/microsoft-authentication-library-for-android/pull/782

No longer needed


Fix vmac interface usage

Do not set ip on the interface where VRRP runs on top, but use the
VRRP interface when using VMAC.

Looking good so far but it lacks test coverage.

I'm sorry. But I'm not using puppet anymore so I don't care about this pull request.

Fair enough.


PNBarChart Can't work: yValues Error!

I use PNChart v0.7.5 with Swift at a New Project.
class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.

        var barChart = PNBarChart(frame: CGRectMake(0, 5.0, CGFloat(600), 145.0))
        barChart.backgroundColor = UIColor.clearColor()
        barChart.xLabels = ["Lun","Mar","Mie","Jue","Vie","Sab","Dom"]
        barChart.yValues = [83,204,102,108,300]
        barChart.strokeColor = UIColor(red:0.09, green:0.7, blue:0.55, alpha:1)
        barChart.strokeChart()
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

}

I've been working with this library with Swift as well, and have had to make a few changes to make it more Swift-friendly. You can take a peek/fork them here: https://github.com/adoxner/PNChart

Getting same thing with pure obj-c

Have nothing to do with swift! yLabelFormatter function pointer (block) is missing and there is no default for it.
Here is how you can fix it
PNBarChart * barChart = [[PNBarChart alloc] initWithFrame:frame];
//Do whatever
barChart.yLabelFormatter = ^(CGFloat yValue){
            CGFloat yValueParsed = yValue;
            NSString * labelText = [NSString stringWithFormat:@"%1.f",yValueParsed];
            return labelText;
        };

Note that I used barChart as an example, this can be applied to any PNChart

The problem is that you're adding 7 values on the XLabels and just 5 in YValues. It has to be the same number. The YLabels appear on your bar chart? I can't get them to work.

@acroventus That is a different thing, I don't think it's related to yLabelFormatter not being defined anywhere.

@mojtabacazi I think you're right but It might help anyways. I'm having troubles showing my YLabels on the bar chart with swift. I publish the new Issue, can you give me a hand with that please?

@acroventus sure, but not seeing any new issue, link?

@mojtabacazi Here's the link for the issue on the Swift version: https://github.com/kevinzhow/PNChart-Swift/issues/31

this work for me

@goocarlos:  based in your example and the corrections made by @adoxner, just replacing the conflicting line with the fixed in the @adoxner code, your example works fine.

I am a beginner for iOS and really need some help from here.
It has a question when I run this PNChart on the Ojb-C version.It seems like there is no such head file named UICountingLabel.h in the project.
So...how can I fix this problem？


Improve enumeration of inferred types in pipeline

PR Summary
Update the type inference for $_ so it uses the same enumeration as the foreach loop.
Update the native member completion for the *-Object commands to enumerate the types of the input object.
Update the member completion for foreach-object to not add the parenthesis when completing methods.
Update the type inference for Where, Sort and Select so the inferred type after these commands are enumerated.

PR Context

PR Checklist

[X] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

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

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

Breaking changes

[X] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[X] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

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

Tooling

[X] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

@MartinGC94 Please look CI fails.

@iSazonov Sorry, one more minor change so this works as expected:
$ThisIsAString = [System.IO.Directory]::EnumerateDirectories("C:\") | Select-Object -First 1
$ThisIsAString.<Tab>

@daxian-dbw - I would like your review as a SME.

@MartinGC94 You will need to do additional changes on the uses of that parameter within different methods. My suggested changes above didn't include those.


Alternative conda installation

I have tested the installation of rcoins on my system (OS X, intel processor) via conda and it worked fine with me - maybe the environment created via this file also works on linux? @vanlankveldthijs

This environment seems to work for installing R. However, renv::snapshot() > "2: Install the packages, then snapshot." fails when trying to install the "units" package.
I will look into installing additional dependencies manually (adding them to environment.yml) until it does build to completion.

But if using conda there should be no need of using renv afterwards, right? The rcoins conda environment should be it.
After having built and activated the conda environment, you could access the cloned rcoins repository,  open a R terminal and then do:
# install the package
devtools::install()
# run all tests
devtools::test()

Resoved after removed renv leftovers from previous attempts.


Braintree tokenizationParameters

Everything works fine, except when I go to input Sandbox tokanisation parameters from Braintree for Google Payment method I get this error:
UnparseableJsonResponse: API Version 2: Failed to parse JSON response string with 'INVALID_ARGUMENT' error: "(payment_options.google_provided_options.tokenization_parameters) braintree:client_key: Cannot find field."
JSON looks like this
     ],
            "tokenizationParameters": {
              "gateway": "braintree",
              "braintree:sdkVersion": "1.4.0",
              "braintree:apiVersion": "v1",
              "braintree:merchantId": "66xxxxxxxt2",
              "braintree:clientKey": "sandbox_9cxxxxxxxxxrzt2"
            }
          }
        },

Any ideas? Does it need to be specified as an array?

Hi @xtraad,
For the Google payment method, your tokenization parameters in index.js would look something like:
tokenizationParameters: {
    parameters: {
        "gateway": "braintree",
        "braintree:sdkVersion": "1.4.0",
        "braintree:apiVersion": "v1",
        "braintree:merchantId": "66xxxxxxxt2",
        "braintree:clientKey": "sandbox_9cxxxxxxxxxrzt2",
        "braintree:authorizationFingerprint": "sandbox_9cxxxxxxxxxrzt2"
    },
    tokenizationType: "PAYMENT_GATEWAY"
},

You will need to test using a device.
I will update the current sample with placeholder tokenizationParameters to avoid confusion of the expected format.

Placeholder tokenizationParameters have been added to the sample.


Add APA & BibTex converter

Coverage decreased (-1.4%) to 98.625% when pulling e1a62e302dc5202ed439689d6f1d0f388a9c795c on paxos:paxos/converter into 35c8e358940ea349afaadf343e71642f497c74dc on citation-file-format:master.

Hi @paxos, this project is @hainesr's, so I can't really help out with this PR should it be required, but can I ask why you closed it so quickly? Many thanks!

@sdruskat Thank you for your response :)
I accidentally opened the PR to early; its not ready yet. I will open a new PR once it is ready for review.

I accidentally opened the PR to early; its not ready yet. I will open a new PR once it is ready for review.

Thanks @paxos :+1:.
(You can also use the "Draft PR" functionality in GitHub (docs here), so you don't have to close and re-open :slightly_smiling_face:.)


VideoJs 7 support HLS with VHS

Hi, please can you add support VideoJs 7 with builtin HLS support via VHS

+1

Hi, cdnbye supports HLS with VHS, see https://github.com/swarm-cloud/hls-sw-p2p-engine/blob/main/demo/videojs-vhs.html

I should pay cdnbuy for my users traffic?
Ср, 23 февр. 2022 г. в 13:41, snowinszu @.***>:

Hi, cdnbye supports HLS with VHS, see
https://github.com/swarm-cloud/hls-sw-p2p-engine/blob/main/demo/videojs-vhs.html
—
Reply to this email directly, view it on GitHub
https://github.com/Novage/p2p-media-loader/issues/216#issuecomment-1048650670,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEIDECEKF3EUVOTD24H74LDU4S2WDANCNFSM5BF574HQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi, cdnbye supports HLS with VHS, see https://github.com/swarm-cloud/hls-sw-p2p-engine/blob/main/demo/videojs-vhs.html

Please do not advertise on open source projects. I have reported you btw.


Add Stack component.

The requested Feature
Add a new component named Stack which is a wrapper around the MUI Stack component.

@savindi7 Shall we move this to the umbrella issue?

Moved here https://github.com/wso2/oxygen-ui/issues/2.
Hence closing...FYI @Achintha444


Recent activity action not working

Fix github-recent-activity (https://github.com/marketplace/actions/github-activity-readme) ? There's a push defined in the action and the action execution fails with ✖  error     Event 'push' is not supported by this action.

Fixed in 2dd3fad75ae1e87900bc9d5c85080c10dd740bec
Issue was with push workflow trigger


Firebase SDK - Error on Push Notifications.

Throwing below error on all the browsers

When you first land up on the homepage.

Firebase Cloud Messaging supports only in localhost and the https enabled sites only
we need to have SSL Certificate for the site


Updated README to replace paragraph with table.

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[ ] Searched the bugtracker for similar pull requests
[ ] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[ ] I am the original author of this code and I am willing to release it under Unlicense
[x] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[x] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Explanation of your pull request in arbitrary form goes here. Please make sure the description explains the purpose and effect of your pull request and is worded well enough to be understood. Provide as much context and examples as possible.

This will look totally ugly in man pages.
There is no that much data to employ table for that.


Preview Account Info Data on the custom data download

Definition of Ready

[x] Does this meet the INVEST criteria?
[x] Does this have a clearly defined user?
[x] Does this have an estimate?
[x] Does this have acceptance criteria?
[x] Does this have sufficient context (wireframes, business rules, etc.)?
[x] Is this traceable to a feature, epic, or PI?

User Story
As a CAMPD custom data download user I want to preview my dataset so that I can confirm it contains my desired data
Acceptance Criteria
Given that a user has selected a data type and sub type
When the filter criteria page is displayed
Then user has the option to select owner/ operator
Given that a user has selected owner/ operator
When the functionality is displayed
Then the results populate in a list
Given that a user has selected owner/ operator
When the functionality is displayed
Then the user can select one or multiple owners/ operators
Given that a user has selected owner/ operator
When the search is executed
Then the system conducts a “contains” search on all operators/ owners
Given that a user has selected owner/ operator
When the search is executed and no results are found
Then the system notifies the user that "No owners/operators match your search"
Given that a user has applied filter criteria for owner/ operator
When the criteria is applied
Then the system displays a filter tag
Given that a user has applied filter criteria for owner/ operator
When any owner/operator criteria is cleared
Then the system clears the criteria from the filter
Given a user has selected filter criteria
When they select Preview Data
Then the filter criteria is reflected in the results
Given that a user has selected filter criteria
When the preview data functionality is displayed
Then the system displays a data table containing the data elements below for the selected criteria (limited to the first 100 records)
And the data table contains a scroll functionality to show all columns/rows
Given that a user has selected preview data
When the functionality is displayed
Then the system will display the dataset's total record count
Given that a user has previewed their dataset
When the data preview functionality is displayed
Then it includes the option to select a CSV or JSON file type (CSV is the default) and download
Given that a user has selected a file type
When the download is executed
Then the system creates a file in the format specified containing all records that match the parameters and downloads the file
Given that a user has downloaded their dataset
When the functionality is displayed
Then the system display the preview of the downloaded results.
Given that a user has applied filter criteria and has previewed their dataset
When any filter criteria is cleared
Then the system clears the criteria from the filter AND the download functionality is disabled until the dataset is previewed again
Does this Story require 508 Testing?

[ ] Implementing a new authoring tool that will produce code / content for the application
[ ] Implementing a 3rd party widget that will be part of the application
[x] Adding new / updating custom functionality
[ ] Adding new / updating a page template
[ ] Adding new / replacing existing functionality (unless the replacement has already passed 508 testing)
[ ] Full Site Review prior to a scheduled EPA 508 review
[ ] Planning a video that will appear on the application
[ ] Producing a video that will appear on the application
[ ] Producing Training materials
[ ] Producing documents

Context
Data Preview/ Results:
When the system identifies at least one record that matches the criteria, then for each record the system will display the data below and ordered by PRG_CODE> ACCOUNT_NUMBER
ACCOUNT_NUMBER
ACCOUNT_NAME
PRG_CODE
ACCOUNT_TYPE
ORISPL_CODE
UNITID
OWN_DISPLAY
OPR_DISPLAY*
STATE
EPA_REGION
NERC_REGION

There is an identical data element in the UNIT_COMPLIANCE_DIM table that is not the correct one. It has owner/operator combined; this one is the operator only.

Data Labels
Refer to the Final_CAMPD_Master Data Labels List_EPA CAMD file here
Results will display total record count (Viewing the first 100 of X records)
Results in preview are limited to the first 100 records
Results in preview will have a scroll functionality to show all columns/rows
Results columns are are sortable in ascending and descending order (alphanumeric order) . Sort is limited to the original 100 results
Testing
Test Case: TC373
Tester: @JanellC
508 Testing:
Tester: @aprematta
Definition of Done

[x] Have all Acceptance Criteria been agreed to and validated by the scrum team?
[x] Has the code been unit tested and peer reviewed?
[x] Have the functional tests been executed?
[x] Have all defects been reviewed and dispositioned, resolved, or deferred?
[ ] Has the user story been accepted by the Product Owner?
[x] Is the user story ready to be deployed to the test/staging environments?

TC373 passed @tlageman-epa  This ticket is ready for 508 testing.


[C++][Parquet] Add optional $PARQUET_BUILD_TOOLCHAIN environment variable option for configuring build environment

Some users will install a centralized build toolchain containing all of the build dependencies for Parquet. We should provide an environment variable option to help with this, rather than having to set each thirdparty $FOO_HOME variable separately.
see also ARROW-849
Reporter: Wes McKinney / @wesm
Assignee: Wes McKinney](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=wesm) / @wesm
Note: This issue was originally created as PARQUET-957. Please see the migration documentation for further details.

Wes McKinney / @wesm:
PR: https://github.com/apache/parquet-cpp/pull/304

Wes McKinney / @wesm:
Issue resolved by pull request 304
https://github.com/apache/parquet-cpp/pull/304


Synchronous Hooks

I would like to call hooks synchronously if possible
We are using WebSocketSubjectConfig to trigger some hooks before serialization.
e.g.
function notAnAsyncSerializer(msg: Data): WebSocketMessage {
  hooks.callHook(Hook.BEFORE_SERIALIZED, msg)
  const serialized = serialize(msg)
  hooks.callHook(Hook.SERIALIZED, serialized)
  return serialized
}

There is no way to convert an async call into a sync call so the only other way would be for the library to support it.
e.g. hooks.callHookSync(Hook.BEFORE_SERIALIZED, msg)
Any ideas?
Additional information

[ ] Would you be willing to help implement this feature?

All hookable internals are asynchronous. There are only interceptors you can add and are sync.
By the current code, I would use two simple callback options instead but if you can give more context of your project and usage can help better me understanding.

We are using the RxJS WebSocketSubject to handle asynchronous messages. However the serializer and deserializer in WebSocketSubjectConfig are synchronous functions. We added the hooks and it works fine, but we wanted to find out if we could make the hooks synchronous. Similar to how we call the other hooks with:
await hooks.callHook(Hook.SOME_HOOK, data)`.

We currently just use these hooks for logging, so that works fine, however we were wondering if we can intercept the message using a hook to transform the incoming data similar to a middleware pattern e.g.
function serializer(msg: Message): WebSocketMessage {
  const transformedMsg = hooks.callHookSync(Hook.BEFORE_SERIALIZED, msg)
  const serialized = serialize(transformedMsg)
  return hooks.callHookSync(Hook.SERIALIZED, serialized)
}

If you're the one that added hookable as a dependency I created a package that is the same thing but only uses sync functions


tileSize should provide X and Y (width and height) separately

Map tile should not have to be square.

That would make for some very awkward calculations

@enderk what's the use case for this?

Sorry for late response, so basically we have a game project, which has a map, using rectangular images which are produced by iso hexagon. Can be checked at
http://beta.medievan.com

Pist, you're going to want to switch to SSL. Passwords in the clear are not cool.
Anyhow, assuming you're building a mobile version of that app, the best recommendation I can give is to preprocess the map imagery and host them on your web site. There's a bunch of tools you can use to do this, Geoserver, MOBAC, and probably many more.
Looks cool by the way!

going to close this as it's not easily implemented since we heavily rely on osm slippy map still crs


Help style & content updates

Type of Change

[ ] Bug fix (non-breaking change, fixes #)
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] Nunit test is included
[X] Documentation
[ ] Build system

Purpose

To clean up grammar, style, spelling and other issues related to comment-based help and other text in functions.
Also migrated Write-Verbose and Write-Warning to Write-Message with appropriate parameters.
Working on #2219

Test failure was in executing startup scripts for 2016, not testing the code itself

thank you as always 👍