Having no posts makes footer links in Author profiles not clickable.

Hello! I'm slowly setting up my Ghost blog and I noticed on the Casper theme that the links aren't clickable on the author page when the author has no posts.

The page when the links aren't hovered over.

Here I'm holding the mouse over the link which does highlight the text when the links are working on the homepage.
The screenshots where taken with the --fullpage option in Firefox's console, so the whole page is in the screenshot.

I can verify this - a quick inspection in the Developer Tools shows that the main author page content block (the part with the author name and bio) extends a bit into the footer, and it also happens to have a higher z-index than the footer does, leading to the footer links being un-clickable.
I was able to fix it temporarily by applying a higher z-index to the footer, but there might be a better solution.

I deleted the Ghost user and now when there is no posts on the home page the footer links are not working there either.


real time usage

can I use the code in real time without the traj file?
if not- what do i need to do to make it wark without the traj file?

found the answer in a closed issue, thanks


fix: Update Ansible pip package to '2.5.5' (#163)

Ansible version '2.5.2' has a bug that will display "[ERROR]:" when
running a dynamic inventory script
(https://github.com/ansible/ansible/issues/39007) due to an appended new
line character. This issue is resolved by
https://github.com/ansible/ansible/pull/39019 which is included in
Ansible version '2.5.5'.

Seems like a good idea to also update Ansible in the 'dev-software-install' branch.


Fix Parametric Map compliance issues

I realized that the Parametric Map IOD requires the Modality LUT Transformation step in the grayscale rendering pipeline to be an identity transformation (i.e., it requires Identity Pixel Value Transformation rather than Pixel Value Transformation): https://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_A.75.5.html
That also means only unsigned integer values can be stored. They can still be mapped to a different range of "real world" values though using Real World Value Mapping.
Also fixed several other compliance issues.

@cgorman I added a unit test for Parametric Map that will test the dimension index lookup in case spatial coordinates are not preserved. That part of the code was previously not covered.
I also went ahead and fixed #135.

@cgorman also realized that #122 was actually not yet implemented. Fixed that and added a unit test.


removed 'encode()' on line 75 in /databuilder/extractor/snowflake_metadata_extractor.py

Summary of Changes
Removed encode() from line 75 of amundsendatabuilder/databuilder/extractor/snowflake_metadata_extractor.py because there is no reason to convert this from a string to byte encoding.
This is the only piece of the SnowSQL Query that is being passed to snowflake with an encoding.
Tests
No tests because the change is very intuitive.
Documentation
N/A
CheckList
Make sure you have checked all steps below to ensure a timely review.

[x ] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[ x] PR includes a summary of changes.
[ x] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[x ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain docstrings that explain what it does

[x ] PR passes make test
[ x] I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message"

Hi @mtsadler please, what is the issue that you are facing? We have no issues with this extractor.


Allow to redefine CacheKeysFactory in Hibernate Cache Factory 5.2+

Using hibernate.cache.keys_factory setting

Done


[Table] dense layout for mat-table

Bug, feature request, or proposal:
feature request
What is the expected behavior?
Like for mat-list, a dense layout mode should be available to show tables with a modified row height and font size to show more packed information
What is the current behavior?
No such layout exist
What is the use-case or motivation for changing an existing behavior?
Table with a lot of rows and no particularly crowded cells might use it to show more rows in a single page.

This should be pretty easy by overriding a little css. Or making your own version from CdkTable. Otherwise, probably covered under https://github.com/angular/material2/issues/4597

Duplicate of #4597


[Improvement] Trim database value in the JDBC URI

What would you like to be improved?
All databases can be viewed, even if the user specifies a JDBC URI with a schema name when creating a JDBC catalog like MySQL or PostgreSQL. For example, if the JDBC URL is jdbc:mysql://<IP_ADDRESS>:33540/db1, when we uses listSchema API to list schemes in the catalog,  some other schemas can still be seen.
How should we improve?
So I suggest we shorten the last database name to in the creating process.

In the Trino,  the mysql connector only  supports the jdbc url without a database.  But, the postgressql connector only supports the url with a database.

the postgressql connector only supports the url with a database

This shouldn't be an issue. In Gravitino,  each PostgreSQL catalog is separated by database, so it seems be to okay for PG. I will only trim the database for MySQL, Doris, and leave PostgreSQL as is.

I think it should throw an error instead of trimming the database.


Appstudio update rhtap-demo-component-ntdr

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI has failed.There was an error creating the PipelineRun: rhtap-demo-component-ntdr-on-pull-request-
creating pipelinerun rhtap-demo-component-ntdr-on-pull-request- in namespace rhtap-demo-dev-amco-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request


Uncaught Error: Cannot read property 'object' of undefinedTypeError: Cannot read property 'objec...

[Enter steps to reproduce:]

...
...

Atom: 1.17.0 x64
Electron: 1.3.15
OS: Unknown Windows version
Thrown From: Atom Core
Stack Trace
Uncaught Error: Cannot read property 'object' of undefined
TypeError: Cannot read property 'object' of undefined
at ObjectsRegistry.get (D:\Program Files\Atom x64\resources\electron.asar\browser\objects-registry.js:41:28)
at EventEmitter. (D:\Program Files\Atom x64\resources\electron.asar\browser\rpc-server.js:306:31)
at emitMany (events.js:127:13)
at EventEmitter.emit (events.js:201:7)
at WebContents. (D:\Program Files\Atom x64\resources\electron.asar\browser\api\web-contents.js:222:13)
at emitTwo (events.js:106:13)
at WebContents.emit (events.js:191:7)
At D:\Program Files\Atom x64\resources\electron.asar\renderer\api\remote.js:217

Error: Cannot read property 'object' of undefined
TypeError: Cannot read property 'object' of undefined
    at ObjectsRegistry.get (D:/Program Files/Atom x64/resources/electron.asar/browser/objects-registry.js:41:28)
    at EventEmitter.<anonymous> (D:/Program Files/Atom x64/resources/electron.asar/browser/rpc-server.js:306:31)
    at emitMany (events.js:127:13)
    at EventEmitter.emit (events.js:201:7)
    at WebContents.<anonymous> (D:/Program Files/Atom x64/resources/electron.asar/browser/api/web-contents.js:222:13)
    at emitTwo (events.js:106:13)
    at WebContents.emit (events.js:191:7)
    at metaToValue (D:/Program Files/Atom x64/resources/electron.asar/renderer/api/remote.js:217:13)
    at undefined.remoteMemberFunction (D:/Program Files/Atom x64/resources/electron.asar/renderer/api/remote.js:113:18)
    at AtomEnvironment.module.exports.AtomEnvironment.getWindowDimensions (D:/Program Files/Atom x64/resources/app/src/atom-environment.js:663:1)
    at AtomEnvironment.module.exports.AtomEnvironment.storeWindowDimensions (D:/Program Files/Atom x64/resources/app/src/atom-environment.js:697:1)
    at WindowEventHandler.module.exports.WindowEventHandler.handleWindowBlur (D:/Program Files/Atom x64/resources/app/src/window-event-handler.js:184:1)
    at D:/Program Files/Atom x64/resources/app/src/window-event-handler.js:3:1

Commands
     -7:08.2.0 intentions:highlight (input.hidden-input)
     -7:07.9.0 core:save (input.hidden-input)
  4x -3:11.8.0 intentions:highlight (input.hidden-input)
     -3:11.2.0 fuzzy-finder:toggle-file-finder (input.hidden-input)
     -3:10.9.0 core:paste (input.hidden-input)
  7x -3:06.6.0 core:backspace (input.hidden-input)
     -3:04.0 core:confirm (input.hidden-input)

Non-Core Packages
autocomplete-paths 1.0.5
change-case 0.6.5
color-picker 2.2.5
docblockr 0.9.4
editorconfig 2.2.2
emmet 2.4.3
file-icons 2.1.6
git-plus 7.8.0
git-time-machine 1.5.9
highlight-selected 0.13.1
intentions 1.1.2
language-babel 2.61.0
language-batch 0.4.0
linter 2.1.4
linter-htmlhint 1.3.3
linter-jshint 3.1.2
linter-php 1.3.2
linter-ui-default 1.5.4
merge-conflicts 1.4.5
minimap 4.28.2
minimap-git-diff 4.3.1
minimap-selection 4.4.0
monokai 0.24.0
php-twig 4.0.0

Thanks for taking the time to contribute!
We noticed that this is a duplicate of #11692. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Issue with authentication middleware flow

The issue is that yield next is part of the try {} catch(err) {} block.
It should not be like that, any next middleware could raise and error that would be caught up within the block. That is unacceptable. The control flow should be straight-forward and only own expected errors should be caught. This kind of approach will prevent the error from being shown in the console and response will be returned with issue being masked as another error.

This solution will not do as it would always call the yield next, even when some conditions are not met. Need a better control flow that would work for all the cases:

Does not shadow errors
Does not try to run next middleware if conditions are not met.


Getting column "1" does not exist when passing bigint to knex.raw query

Not sure if I am doing something wrong or if this is an issue, so I thought I would post.
I have this JS:
const UPDATE = `
UPDATE my_table
SET some_bigint = :someBigInt:
WHERE some_id = :someId:
  AND other_id = :otherId:;
`

await knex.raw(UPDATE, {
  someId,
  otherId,
  someBigInt: 1n
})

Then I am getting this error on the latest knex (0.95.15).
UPDATE my_table
SET some_bigint = "1"
WHERE some_int_id = 0
  AND other_int_id = 0;
 - column "1" does not exist
    at Parser.parseErrorMessage (/Users/my/test/node_modules/pg-protocol/dist/parser.js:287:98)
    at Parser.handlePacket (/Users/my/test/node_modules/pg-protocol/dist/parser.js:126:29)
    at Parser.parse (/Users/my/test/node_modules/pg-protocol/dist/parser.js:39:38)
    at Socket.<anonymous> (/Users/my/test/node_modules/pg-protocol/dist/index.js:11:42)

Is this an issue with bigints in the raw query, or something I'm doing wrong?

i think you need to wrap number in knex.raw to avoid it bein interpreted as a column name there

why do you use raw there in the first place, btw?

Yeah haha I realize I can just use knex().update.


Custom package extension?

Would it possible to change the package extension from *.tar.gz for example to *.gpm?
Maybe as option or with a config file?

Would it possible to change the package extension from *.tar.gz for example to *.gpm?
Maybe as option or with a config file?

Our philosophy is to use existing technologies/standards as transparently as possible.
We don't see the point of creating new file extensions if they don't convey any specific semantic or features. It's just confusing.

Idea behind a custom extension was easier separation of gpm packages from tar.gz archives.
So I could add some sources including tar.gz files to gpm repository without matching git-lfs track pattern.

I see. The way we designed it, GPM-compliant git repositories don't store non-GPM-compliant files.
I guess the current implementation won't mind either way.
I'll give it some thinking. Maybe something like .gpm.tar.gz.

It would be just a nice to have! Not a must have to me...
Optional gpm.tar.gz would be fine too.

Hi,
GPM sounds amazing, pretty much exactly what we have been looking for to manage releases and dependencies.
Except we already have a package file which does have a custom file ending ".nipkg". This package file just packages two other tar.gz files and a manifest file.

GPM sounds amazing, pretty much exactly what we have been looking for to manage releases and dependencies.
Except we already have a package file which does have a custom file ending ".nipkg". This package file just packages two other tar.gz files and a manifest file.

@Flydroid PR welcome :+1:


LSP: Return custom schema (osmd:/) URIs for go to definition in LSP

This enables us to implement to parse the URI and to invoke o#/metadata
in LSP client to retrieve metadata source.
I think we might need to expose a capability for this via LSP mechanism in order
not to break anything for clients that know nothing about osmd:/ URIs but I am
not sure how to do that. Maybe @david-driscoll can chime in?
Also I am not 100% sure about osmd:/ URI schema, maybe the path should be formed differently?
Also Helpers.cs:FromUri(DocumentUri uri) has custom code that builds "metadata filename" as does SymbolExtensions.cs:GetFilePathForExternalSymbol but that code is internal.
https://github.com/OmniSharp/omnisharp-roslyn/blob/master/src/OmniSharp.Roslyn/Extensions/SymbolExtensions.cs#L293-L297

You can take a look at corresponding emacs LSP implementation for this feature here (should be fairly readable)
-https://github.com/emacs-lsp/lsp-mode/pull/2573

You can take a look at corresponding emacs LSP implementation for this feature here (should be fairly readable)
-https://github.com/emacs-lsp/lsp-mode/pull/2573

Thanks a lot, did you test this with decompilation enabled?
since decompilation is a feature toggle to replace metadata, it should work out of the box with this change too.

Thanks a lot, did you test this with decompilation enabled?
since decompilation is a feature toggle to replace metadata, it should work out of the box with this change too.

Also Helpers.cs:FromUri(DocumentUri uri) has custom code that builds "metadata filename" as does SymbolExtensions.cs:GetFilePathForExternalSymbol but that code is internal.

you can can InternalsVisibleTo for OmniSharp.LanguageServerProtocol to OmniSharp.Roslyn

Also Helpers.cs:FromUri(DocumentUri uri) has custom code that builds "metadata filename" as does SymbolExtensions.cs:GetFilePathForExternalSymbol but that code is internal.

you can can InternalsVisibleTo for OmniSharp.LanguageServerProtocol to OmniSharp.Roslyn

Thanks a lot, did you test this with decompilation enabled?
since decompilation is a feature toggle to replace metadata, it should work out of the box with this change too.

Decompilation works too! Actually I never tried it myself, cool. You go jump to transitively from metadata file to metadata file as well:

Thanks a lot, did you test this with decompilation enabled?
since decompilation is a feature toggle to replace metadata, it should work out of the box with this change too.

Decompilation works too! Actually I never tried it myself, cool. You go jump to transitively from metadata file to metadata file as well:

Also Helpers.cs:FromUri(DocumentUri uri) has custom code that builds "metadata filename" as does SymbolExtensions.cs:GetFilePathForExternalSymbol but that code is internal.

you can can InternalsVisibleTo for OmniSharp.LanguageServerProtocol to OmniSharp.Roslyn

This sounds a little bit dirty to me.. and I wonder if the nicer thing would be to lift the of "external symbol file path" abstraction into a separate class or just mark the method public?

Also Helpers.cs:FromUri(DocumentUri uri) has custom code that builds "metadata filename" as does SymbolExtensions.cs:GetFilePathForExternalSymbol but that code is internal.

you can can InternalsVisibleTo for OmniSharp.LanguageServerProtocol to OmniSharp.Roslyn

This sounds a little bit dirty to me.. and I wonder if the nicer thing would be to lift the of "external symbol file path" abstraction into a separate class or just mark the method public?

Also Helpers.cs:FromUri(DocumentUri uri) has custom code that builds "metadata filename" as does SymbolExtensions.cs:GetFilePathForExternalSymbol but that code is internal.

you can can InternalsVisibleTo for OmniSharp.LanguageServerProtocol to OmniSharp.Roslyn

That sounds a little bit dirty to me.. :) and I wonder if the nicer thing would be to lift the of "external symbol file path" abstraction into a separate class or just mark the method public? But yeah, I can add the InternalsVisibleTo attribute, -- that should get the job done.

I have updated the commit by adding a small note here as a comment w.r.t. $metadata$ filename schema. Somehow I didn't feel to be authoritative to do any of the larger scale changes.

I have added tests for the LSP.OmniSharpDefinitionHandler + go to definition in metadata: 6fa8458e860e5dfaec17d4f2a710ddbea94d3fd6

@razzmatazz ,
I have cloned your fork

git clone https://github.com/razzmatazz/omnisharp-roslyn.git
git checkout -b lsp-expose-metadata-uri-on-definition origin/lsp-expose-metadata-uri-on-definition
./build.sh --publish-all --archive
unzipped  omnisharp-osx.zip from artifacts/packages
set lsp-csharp-omnisharp-roslyn-server-dir to newly unzipped path

yet I am still getting this error when I run lsp-goto-type-definition on Ilogger.LogInformation with cursor on LogInformation.

lsp-describe-session
 `-[-] csharp:59758
    |-[-] Buffers
    |  `-[+] ProxyFunction.cs
    `-[-] Capabilities
       |-[-] workspace:
       |  |-[X] fileOperations:
       |  `-[-] workspaceFolders:
       |     |-[X] changeNotifications: t
       |     `-[X] supported: t
       |-[X] implementationProvider:
       |-[X] experimental:
       |-[-] executeCommandProvider:
       |  `-[+] commands: [omnisharp/executeCodeAction omnisharp/executeCodeAction]
       |-[-] documentOnTypeFormattingProvider:
       |  |-[X] moreTriggerCharacter: [} )]
       |  `-[X] firstTriggerCharacter: ;
       |-[-] codeLensProvider:
       |  `-[X] resolveProvider: t
       |-[X] workspaceSymbolProvider:
       |-[X] documentSymbolProvider:
       |-[X] referencesProvider:
       |-[X] definitionProvider:
       |-[-] signatureHelpProvider:
       |  `-[X] triggerCharacters: [. ? []
       |-[-] completionProvider:
       |  |-[X] triggerCharacters: [.  ]
       |  `-[X] resolveProvider: t
       |-[X] hoverProvider:
       `-[-] textDocumentSync:
          |-[-] save:
          |  `-[X] includeText: t
          |-[X] change: 1
          `-[X] openClose: t

Let me know if you need something else or if I could have done anything different!

@CsBigDataHub you also need to use updated lsp-mode that can read resulting refs to code in dll:

https://github.com/emacs-lsp/lsp-mode/pull/2573

Not sure if you noticed that..

@razzmatazz Is it possible for you to pull the latest changes from lsp-mode master branch into razzmatazz:lsp-expose-metadata-uri-on-definition. Looks like the code is little outdated and triggering errors.

@filipw @david-driscoll
I have tested this PR and can confirm that it works well with emacs lsp-mode. please refer to my notes in https://github.com/OmniSharp/omnisharp-roslyn/pull/2079#issuecomment-851558705, https://github.com/emacs-lsp/lsp-mode/pull/2573#issuecomment-852184791.
This is a handy feature and would like to see it merged. Thanks for maintaining omnisharp.
@razzmatazz Thanks for this feature.

Any progress on this? I was hoping this can be merged so we can start seeing metadata in Emacs!
Friendly ping, @david-driscoll @filipw

Can we have some update on this PR, please? I would love to see this merged 🙂

Hey. I am cancelling this, as lsp-csharp.el in emacs-lsp will introduce support  for this using an alternative lsp server:

https://github.com/emacs-lsp/lsp-mode/pull/3096

Other people can resubmit content of this PR but I don't want to wait another year...


assertion was thrown building DefaultTextStyle

Steps to Reproduce
════════ Exception Caught By widgets library ═══════════════════════════════════════════════════════
The following assertion was thrown building DefaultTextStyle(debugLabel: (dense body1 2014).merge(whiteMountainView body1), inherit: false, color: Color(0xffffffff), family: Roboto, size: 15.0, weight: 400, baseline: ideographic, decoration: TextDecoration.none, softWrap: wrapping at box width, overflow: clip):
'package:flutter/src/widgets/framework.dart': Failed assertion: line 4004 pos 12: '_state._element == null': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=BUG.md

When the exception was thrown, this was the stack:
#2      new StatefulElement (package:flutter/src/widgets/framework.dart:4004:12)
#3      StatefulWidget.createElement (package:flutter/src/widgets/framework.dart:802:38)
#4      Element.inflateWidget (package:flutter/src/widgets/framework.dart:3082:40)
#5      Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)
#6      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
...
════════════════════════════════════════════════════════════════════════════════════════════════════

@deboLing This is a question better suited for StackOverflow, since there doesn’t seem to be anything wrong with Flutter itself, but related to the implementation. Closing, as this is not an issue report. See https://flutter.dev/community for support options.
If you disagree, feel free to comment and I will reopen the issue.


How do I add a role object to the appRoles property?

I'm trying at add an additional appRole but this doesn't seem to work.
az ad app update --id 12345678-1234-4321-1234-1234567890ab --add appRoles @"
     {
       "allowedMemberTypes": [
           "User"
       ],
       "description": "Administrators Only",
       "displayName": "Admin",
       "id": "4f8f8640-f081-492d-97a0-caf24e9bc134",
       "isEnabled": true,
       "origin": "ServicePrincipal",
       "value": "Administrator"
   }
"@

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

ID: 921aa920-c25f-5227-aabb-49116da38fa7
Version Independent ID: 9b5a53ad-edf8-4d89-f8e6-cde01b7866f6
Content: az ad app
Content Source: src/command_modules/azure-cli-role/azure/cli/command_modules/role/_help.py
Service: active-directory
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

Graph role support is not supported yet. This actually is missing across all SDKs, We are looking for resources to on-board this.

I'm trying to do the same thing.  This command actually seems to succeed and modify the application, but fails with argument of type 'NoneType' is not iterable when reading the response data.
az ad app update --id 0ff68287-25f5-4f9a-89d7-4f387994e2e8 --add appRoles=@"{"allowedMemberTypes":["User"], "description": "User","displayName": "User","id": "18d14569-c3bd-439b-9a66-3a2aee01d14f","isEnabled": true,"value": null}"@ --debug

logs
msrest.http_logger : Request URL: 'https://graph.windows.net/eb61ad58-722d-4237-a534-5945a8f870b5/applications/c983e753-17dc-4eac-bfcb-91b499e2dc25?api-version=1.6'
msrest.http_logger : Request method: 'GET'
msrest.http_logger : Request headers:
msrest.http_logger :     'User-Agent': 'python/3.6.5 (Linux-4.4.0-17763-Microsoft-x86_64-with-debian-stretch-sid) requests/2.19.1 msrest/0.5.5 msrest_azure/0.5.0 azure-graphrbac/0.40.0 Azure-SDK-For-Python AZURECLI/2.0.46'
msrest.http_logger :     'Accept-Encoding': 'gzip, deflate'
msrest.http_logger :     'Accept': 'application/json'
msrest.http_logger :     'Connection': 'keep-alive'
msrest.http_logger :     'Authorization': '*****'
msrest.http_logger :     'x-ms-client-request-id': '8b5a8c34-d1db-11e8-ab40-54e1adf38bd0'
msrest.http_logger :     'CommandName': 'ad app update'
msrest.http_logger :     'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger :     'accept-language': 'en-US'
msrest.http_logger : Request body:
msrest.http_logger : None
msrest.http_logger : Response status: 200
msrest.http_logger : Response headers:
msrest.http_logger :     'Cache-Control': 'no-cache'
msrest.http_logger :     'Pragma': 'no-cache'
msrest.http_logger :     'Content-Type': 'application/json; odata=minimalmetadata; streaming=true; charset=utf-8'
msrest.http_logger :     'Expires': '-1'
msrest.http_logger :     'Server': 'Microsoft-IIS/10.0'
msrest.http_logger :     'ocp-aad-diagnostics-server-name': 'wIQemZ+5vqMn85aXsgJ+yzAwtRuiwLPflul5H4QC6Xs='
msrest.http_logger :     'request-id': 'dbbc0b6c-6b1d-4ad4-b4b3-1a25fd3373d3'
msrest.http_logger :     'client-request-id': '8b5a8c34-d1db-11e8-ab40-54e1adf38bd0'
msrest.http_logger :     'x-ms-dirapi-data-contract-version': '1.6'
msrest.http_logger :     'ocp-aad-session-key': '8DpX_A0ey1Qa4TKMMRqhtl8DFPNDjdbrvVya9HypCZ6eDvlrxL1kjrkJ4OewFA2AZV4ajZ68fTcq-RCkj03q1f1MgBg9x6jUbTYUIchXUqjGXVMPEpGyW_JU5v6TwAgFJkODg2oyfMLviCK6G2FXrg.IM6H55KysYqfxHqki0vHnHV8yFXChro5AtLe3WD2iRk'
msrest.http_logger :     'DataServiceVersion': '3.0;'
msrest.http_logger :     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger :     'Access-Control-Allow-Origin': '*'
msrest.http_logger :     'X-AspNet-Version': '4.0.30319'
msrest.http_logger :     'X-Powered-By': 'ASP.NET'
msrest.http_logger :     'Duration': '356225'
msrest.http_logger :     'Date': 'Wed, 17 Oct 2018 07:09:15 GMT'
msrest.http_logger :     'Content-Length': '2278'
msrest.http_logger : Response content:
msrest.http_logger : b'{"odata.metadata":"https://graph.windows.net/eb61ad58-722d-4237-a534-5945a8f870b5/$metadata#directoryObjects/@Element","odata.type":"Microsoft.DirectoryServices.Application","objectType":"Application","objectId":"c983e753-17dc-4eac-bfcb-91b499e2dc25","deletionTimestamp":null,"acceptMappedClaims":null,"addIns":[],"appId":"0ff68287-25f5-4f9a-89d7-4f387994e2e8","appRoles":[{"allowedMemberTypes":["User"],"description":"msiam_access","displayName":"msiam_access","id":"b9632174-c057-4f7e-951b-be3adc52bfe6","isEnabled":true,"value":null},{"allowedMemberTypes":["User"],"description":"User","displayName":"User","id":"18d14569-c3bd-439b-9a66-3a2aee01d14f","isEnabled":true,"value":null}],"availableToOtherTenants":false,"displayName":"clitest","errorUrl":null,"groupMembershipClaims":null,"homepage":null,"identifierUris":["https://identifier.clitest.local","https://clitest.local"],"informationalUrls":{"termsOfService":null,"support":null,"privacy":null,"marketing":null},"isDeviceOnlyAuthSupported":null,"keyCredentials":[],"knownClientApplications":[],"logoutUrl":null,"logo@odata.mediaEditLink":"directoryObjects/c983e753-17dc-4eac-bfcb-91b499e2dc25/Microsoft.DirectoryServices.Application/logo","logoUrl":null,"mainLogo@odata.mediaEditLink":"directoryObjects/c983e753-17dc-4eac-bfcb-91b499e2dc25/Microsoft.DirectoryServices.Application/mainLogo","oauth2AllowIdTokenImplicitFlow":true,"oauth2AllowImplicitFlow":false,"oauth2AllowUrlPathMatching":false,"oauth2Permissions":[{"adminConsentDescription":"Allow the application to access clitest on behalf of the signed-in user.","adminConsentDisplayName":"Access clitest","id":"fdadc2ee-2e1a-4480-9dca-922b2db8a00c","isEnabled":true,"type":"User","userConsentDescription":"Allow the application to access clitest on your behalf.","userConsentDisplayName":"Access clitest","value":"user_impersonation"}],"oauth2RequirePostResponse":false,"optionalClaims":null,"orgRestrictions":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":null,"publisherDomain":"csepcf.com","recordConsentConditions":null,"replyUrls":["https://reply.clitest.local"],"requiredResourceAccess":[],"samlMetadataUrl":null,"signInAudience":"AzureADMyOrg","tokenEncryptionKeyId":null}'
argument of type 'NoneType' is not iterable
Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 197, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 366, in execute
    cmd.exception_handler(ex)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/role/commands.py", line 31, in graph_err_handler
    raise ex
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 343, in execute
    result = cmd(params)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 182, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/arm.py", line 496, in handler
    add_properties(instance, arg_values, force_string)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/arm.py", line 806, in add_properties
    list_to_add_to = _find_property(instance, list_attribute_path)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/arm.py", line 985, in _find_property
    instance = _update_instance(instance, part, path)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/arm.py", line 975, in _update_instance
    elif part in getattr(instance, 'additional_properties', {}):
TypeError: argument of type 'NoneType' is not iterable
telemetry.save : Save telemetry record of length 2475 in cache
telemetry.check : Returns Positive.
telemetry.main : Begin creating telemetry upload process.
telemetry.process : Creating upload process: "/opt/az/bin/python3 /opt/az/lib/python3.6/site-packages/azure/cli/telemetry/__init__.py /home/matt/.azure"
telemetry.process : Return from creating porcess
telemetry.main : Finish creating telemetry upload process.

@yugangw-msft any news on this? It seems like it is currently not possible to automate adding appRoles which is somehow unsatisfying.
@mattdot is this workaround still working for you? I tried updating our manifest but it was not modified by executing this command.

Folks, I should get this support in by the middle of March

support has landed in 2.0.59, thanks @yugangw-msft!
Is there anyway this can be added (with examples preferably) to the MS docs?


Upgrades: Cordon/uncordon nodes during an online upgrade

As defined in #256, each worker node should be cordoned before upgrade, and uncordoned after successful upgrade.

Closed with #332


DIAM Client Secret

Mandatory fields are as follows -
client-id: service-config
env: DEV
realm: master
email<EMAIL_ADDRESS>

ℹ Best regards,
DIAM Support Team"


How to render markdown text after saving it in database

I'm using this in my application.
This is working fine as data is saving to database with markdown syntax.
Now, I want to render this data on a separate file.
How to render the data on view?

this is not an issue of this editor, its your job to find a solution to render md-files - there are many solutions out there.

I also need to render data, and I don't want to use a separate solution that duplicates exactly what this plugin does, as that both duplicates the code and might not even support the same subset of Markdown that this does. Exposing the rendered text would be a very nice feature.

It's up to the back-end framework , for example in django I use markdown before rendering the data, so there will be a way in your language or framework.

My language or framework is vanilla JS. Why should I have to load a second library when I already have one loaded?

I don't get all this editor does is append the formatting codes(** ,#, etc ) it's up-to the back-end language to store it as it is and display it with a markdown .

The editor has a built-in markdown renderer, which it uses to display markdown as HTML. We're arguing that that renderer should be exposed so we don't have to load a whole other renderer when there is already one included in SimpleMDE.
For anyone reading this, you can currently use the built-in renderer simply by calling:
simplemde.markdown(simplemde.value())

SimpleMDE uses Marked (https://marked.js.org/) as a renderer internally, and already includes that in dependencies. So I see it pretty logical to use that library.

To follow on from the post by @KristobalJunta here is the code you need
import * as marked from "marked";
var html = marked(input);


Are there any plans to support other download protocols

such as:P2P,BitTorrent,torrent,ed2k,thunder

I think this would bloat the download manager and make it heavier on usage. If additional download protocols should be supported in the future, they should come in plugins so each user can choose which one to enable or disable.
This topic has already been discussed in the Telegram group, go take a look there for more information.

such as:P2P,BitTorrent,torrent,ed2k,thunder

Hi @taotaoyouyou for now I don't have plan to add these protocols. (maybe later but not now)


Initial zeromq + type definitions

Typescript
ZMQ example
ZMQ  definition
Bitcore definition
Python ZMQ example

Coverage remained the same at 100.0% when pulling 602dc3790c6a68e9786614f24c6f0dc3d02ca2f0 on zeromq into<PHONE_NUMBER>0deb68cfa2dbfd602b08a668687920 on master.

:+1: LGTM. Merge whenever.


reversible dynamics test

This implements a simple example of the work in  Maclaurin, Duvenaud, and Adams. "Gradient-based Hyperparameter Optimization through Reversible Learning." We learn a linear regression model with SGD, and we differentiate the test set performance of the model with respect to the learning rate used at train time.
Right now, the code crashes with the error:
Optimized_ReversibleDynamics
Function call failed
...install/share/lua/5.1/autograd/runtime/codegen/Graph.lua:375: ...install/share/lua/5.1/autograd/runtime/codegen/Graph.lua:56: attempt to index global 'output' (a nil value)
stack traceback:
[C]: in function 'error'
...install/share/lua/5.1/autograd/runtime/codegen/Graph.lua:375: in function 'record'
.../install/share/lua/5.1/autograd/runtime/codegen/init.lua:44: in function 'generateFn'
.../install/share/lua/5.1/autograd/runtime/codegen/init.lua:93: in function 'dLearn'
test/test.lua:1639: in function <test/test.lua:1547>
[C]: in function 'xpcall'
...rs/belanger/torch/install/share/lua/5.1/totem/Tester.lua:556: in function '_pcall'
...rs/belanger/torch/install/share/lua/5.1/totem/Tester.lua:853: in function '_run'
...rs/belanger/torch/install/share/lua/5.1/totem/Tester.lua:727: in function '_runCL'
...rs/belanger/torch/install/share/lua/5.1/totem/Tester.lua:747: in function 'run'
test/test.lua:1658: in main chunk
[C]: in function 'dofile'
...nger/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:131: in main chunk
[C]: at 0x010d67cc40

There were a few more system bugs with grads of grads that I've fixed.
Also, the test has a few errors, specifically:

torch.Tensor() syntax doesn't work yet. Use torch.Tensor.new().
The training and data sets must be passed as (non-differentiable) params.
We don't yet support the 4 argument torch.add, or any of the torch.XXX functions that operate in place. I've written it as: params.W = params.W + grads.W * -metaParams.learningRate

With all that fixed, it gets a lot further. Let me know if the values being produced are nonsense or not.

   ReversibleDynamics = function()
      --This implements a very simple example of the concepts in:
      --Maclaurin, Duvenaud, and Adams. "Gradient-based Hyperparameter Optimization through Reversible Learning."
      --We learn a linear regression model with SGD, and differentiate the test set performance of the model with respect to the learning rate used at train time
      --Ideally this would be used to learn the learning rate using gradient descent. This test is more simple.
      --It just evaluates the gradient of the loss with respect to the learningRate for a few different learning rate values.
      --Also, Maclaurin et al. use SGD with momentum, but this test uses simple SGD.

      -- define trainable parameters:
      local numFeatures = 10
      local numOutputs = 3
      local numSamples = 250
      local numEpochs = 1

      --this sets up the true model from which the data is drawn
      local trueParams = {
         W = torch.randn(numFeatures,numOutputs),
         b = torch.randn(numOutputs)
      }

      --this is used to generate train and test datasets
      local function genDataset()
         local dataset = {}
         for tt = 1,numSamples do
            local x = torch.randn(1,numFeatures)
            local y = x*trueParams.W + trueParams.b
            table.insert(dataset,{x = x,y = y})
         end
         return dataset
      end
      local trainingSet = genDataset()
      local testSet = genDataset()

      -- define loss for linear regression model
      local linearRegressionLoss = function(params, x, y)
         local yhat = x*params.W + params.b
         local residual = y - yhat
         local loss = 0.5*torch.sum(torch.cmul(residual,residual))
         return loss
      end

      -- gradient of loss
      local dLinearRegressionLoss = autograd(linearRegressionLoss)

      --we learn the regression parameters using SGD with a fixed step size
      function gradientUpdate(metaParams,params,grads)
         params.W = params.W + grads.W * -metaParams.learningRate
         params.b = params.b + grads.b * -metaParams.learningRate
      end

      --this initializes the params that are optimized by learning.
      function getInitParams()
         local p =  {
            W = torch.zero(torch.Tensor.new(numFeatures,numOutputs)),
            b = torch.zero(torch.Tensor.new(numOutputs))
         }
         return p
      end

      --this learns a regression model on the train set and evaluates its squared loss on the test set
      --its behavior depends on the value of learningRate in metaParams
      function learn(metaParams, trainingSet, testSet)
         local params = getInitParams()
         for epoch = 1,numEpochs do
            for _,sample in ipairs(trainingSet) do
               local grads, loss = dLinearRegressionLoss(params, sample.x, sample.y)
               gradientUpdate(metaParams,params,grads)
            end
         end

         local testLoss = torch.zero(torch.Tensor(1))
         local numSamples = #testSet
         for _,sample in ipairs(testSet) do
            local g, tL = dLinearRegressionLoss(params,sample.x,sample.y)
            testLoss = testLoss + tL
         end
         return testLoss[1]
      end

      --this is the gradient of the test loss with respect to the learning rate used on the train data
      local dLearn = autograd(learn, { inline = false })

      --this just evaluates dLearn for a few choices of the learning rate. Eventually, we would like to learn the learningRate with gradient descent.
      for _,lr in ipairs({0.001,0.01,0.1}) do

         --this just evaluates the 'learn' function directly, in order to demonstrate that this code path works
         local testLoss1 = learn({learningRate = lr}, trainingSet, testSet)

         --this evaluates the derivative of the 'learn function.' Currently it is failing.
         local testLoss2, dMetaParams = dLearn({learningRate = lr}, trainingSet, testSet)
         print(testLoss2)
         tester:assert(testLoss1 == testLoss2,"value computed using 'learn' function does not match value computed by 'dLearn'")
      end
   end

Thanks for the help. I currently have it set up to closely mirror the paper
http://arxiv.org/pdf/1502.03492.pdf. It is working. I can tune my
hyperparameters by directly optimizing for dev set performance.
Unfortunately, if I scale things up I hit numerical overflow/underflow
issues, as discussed in sections 2.2 and 2.3 of the paper.
If you'd like to use the code as an example, I'd be happy to make a PR for
it in an examples directory or something. Unfortunately, it only works for
small problems, though. I'm closing the PR for now.
On Tue, Jan 26, 2016 at 2:05 AM luketwitter<EMAIL_ADDRESS>wrote:

There were a few more system bugs with grads of grads that I've fixed.
Also, the test has a few errors, specifically:

torch.Tensor() syntax doesn't work yet. Use torch.Tensor.new().
The training and data sets must be passed as (non-differentiable)
params.
We don't yet support the 4 argument torch.add, or any of the
torch.XXX functions that operate in place. I've written it as: params.W =
params.W + grads.W * -metaParams.learningRate

With all that fixed, it gets a lot further. Let me know if the values
being produced are nonsense or not.
ReversibleDynamics = function()
--This implements a very simple example of the concepts in:
--Maclaurin, Duvenaud, and Adams. "Gradient-based Hyperparameter Optimization through Reversible Learning."
--We learn a linear regression model with SGD, and differentiate the test set performance of the model with respect to the learning rate used at train time
--Ideally this would be used to learn the learning rate using gradient descent. This test is more simple.
--It just evaluates the gradient of the loss with respect to the learningRate for a few different learning rate values.
--Also, Maclaurin et al. use SGD with momentum, but this test uses simple SGD.
  -- define trainable parameters:
  local numFeatures = 10
  local numOutputs = 3
  local numSamples = 250
  local numEpochs = 1

  --this sets up the true model from which the data is drawn
  local trueParams = {
     W = torch.randn(numFeatures,numOutputs),
     b = torch.randn(numOutputs)
  }

  --this is used to generate train and test datasets
  local function genDataset()
     local dataset = {}
     for tt = 1,numSamples do
        local x = torch.randn(1,numFeatures)
        local y = x*trueParams.W + trueParams.b
        table.insert(dataset,{x = x,y = y})
     end
     return dataset
  end
  local trainingSet = genDataset()
  local testSet = genDataset()

  -- define loss for linear regression model
  local linearRegressionLoss = function(params, x, y)
     local yhat = x*params.W + params.b
     local residual = y - yhat
     local loss = 0.5*torch.sum(torch.cmul(residual,residual))
     return loss
  end

  -- gradient of loss
  local dLinearRegressionLoss = autograd(linearRegressionLoss)

  --we learn the regression parameters using SGD with a fixed step size
  function gradientUpdate(metaParams,params,grads)
     params.W = params.W + grads.W * -metaParams.learningRate
     params.b = params.b + grads.b * -metaParams.learningRate
  end

  --this initializes the params that are optimized by learning.
  function getInitParams()
     local p =  {
        W = torch.zero(torch.Tensor.new(numFeatures,numOutputs)),
        b = torch.zero(torch.Tensor.new(numOutputs))
     }
     return p
  end

  --this learns a regression model on the train set and evaluates its squared loss on the test set
  --its behavior depends on the value of learningRate in metaParams
  function learn(metaParams, trainingSet, testSet)
     local params = getInitParams()
     for epoch = 1,numEpochs do
        for _,sample in ipairs(trainingSet) do
           local grads, loss = dLinearRegressionLoss(params, sample.x, sample.y)
           gradientUpdate(metaParams,params,grads)
        end
     end

     local testLoss = torch.zero(torch.Tensor(1))
     local numSamples = #testSet
     for _,sample in ipairs(testSet) do
        local g, tL = dLinearRegressionLoss(params,sample.x,sample.y)
        testLoss = testLoss + tL
     end
     return testLoss[1]
  end

  --this is the gradient of the test loss with respect to the learning rate used on the train data
  local dLearn = autograd(learn, { inline = false })

  --this just evaluates dLearn for a few choices of the learning rate. Eventually, we would like to learn the learningRate with gradient descent.
  for _,lr in ipairs({0.001,0.01,0.1}) do

     --this just evaluates the 'learn' function directly, in order to demonstrate that this code path works
     local testLoss1 = learn({learningRate = lr}, trainingSet, testSet)

     --this evaluates the derivative of the 'learn function.' Currently it is failing.
     local testLoss2, dMetaParams = dLearn({learningRate = lr}, trainingSet, testSet)
     print(testLoss2)
     tester:assert(testLoss1 == testLoss2,"value computed using 'learn' function does not match value computed by 'dLearn'")
  end

end
—
Reply to this email directly or view it on GitHub
https://github.com/twitter/torch-autograd/pull/89#issuecomment-174864265
.

To clarify, my fork has an updated version of the test:
https://github.com/twitter/torch-autograd/blob/master/test/test.lua
If you'd like me to open an new PR for  that, I'd be happy to. My concern is that it's hard to make a well-defined test for it since it's hard to check that values have overflowed (they aren't nan or inf; they're just very big values).


Hidden bar breaks Logoer

Describe the bug
Logoer is an app that places an alternative logo on top of the apple logo on the top left of the screen. Running hidden bar moves the masking logo off the apple.
Steps to reproduce

Install https://github.com/lihaoyun6/Logoer.
Run Logoer and hidden bar at the same time

Expected behaviour
The Logoer masking image should stay where it is when hidden bar is run.
Environment
Desktop (please complete the following information):
MacBook Air M2
Sonoma 14.7 (23H124)
Issue also raised in Logoer

Quitting and relaunching both hidden bar and logger seems to fix the issue


Can we get a new release for crates.io?

Can we bundle current code into a new release?
And an update to the web sample https://fwcd.dev/tree-sitter-kotlin/ would also be very much appreciated.

After the latest update the playground is broken. Please update it too.

0.3.3 is now released. Note that #106 was reverted, because the parser got too large. The web version will be updated too, please be patient...

Thanks.


Analysis questions

Many thanks for this fantastic tool. My questions are not really an issue but more theoretical.

I presume if one does not have labels from the original datasets to be integrated, one could choose clustering resolutions for each dataset independently and then use cell hint to harmonise clustering across datasets?
Would it be possible to perform cell hint within a dataset? e.g. to harmonise different resolutions of clustering to find and optimise consensus clusters? This would an incredibly useful way to automate cluster resolution optimisation. If that is the case, would there be any appetite to develop this as an additional function?

@Nusob888

Yes
Thank you for this nice suggestion although currently it is not possible (at least not directly feasible) with CellHint. I will make such function late this month.

@Nusob888, please try cellhint.selfmatch to harmonize different annotations for the same set of cells. This function has been added in version 1.0.0. One thing to note is that harmonization was initially designed to unify cell type annotations from different datasets, this self-match function is thus a modified version for dealing with cells from only a single dataset.

Hi, I am going to try this function this week.
Can I check a few things for the use_rep option?
Would you recommend:

Calculating an embedding per dataset? or a latent embedding on the whole dataset?
Using the raw expression matrix rather than use_rep? Presumably this will better suited for datasets with strong batch effects?

Additionally:

Would you advise against using cell hint on pre-integrated data embeddings such as scVI? as that might defeat the point of correction agnostic harmonisation?

Thanks again for all the input

@Nusob888, use_rep is usually suggested rather than raw expression matrix, as the latter is time-consuming. A latent space on the whole dataset is preferred. For the choice of latent representation, it's flexible. Using PCA is correction-agnostic, but may be noisy in terms of batch effect (CellHint has an internal procedure to mitigate this but cannot exclude its influence). Pre-integrated embeddings such as scVI are also good alternatives, but note that the result will be tuned towards the structure defined by scVI.


Model broke app

After recent updates, this model started dropping app...
In gltfViever it also gives an error
Uploading CiroModel.glb.zip…

It looks like your sample asset didn't upload fully. Can you share another link?

It looks like your sample asset didn't upload fully. Can you share another link?

Sorry
CiroModel.glb.zip

Thread 1: "*** -[__NSArrayM objectAtIndexedSubscript:]: index<PHONE_NUMBER>854775807 beyond bounds [0 .. 35]"

By the way, with crashes like this, it's extremely helpful if you can share a complete backtrace instead of just the crash message.

I just had a problem with this model before, it displayed very strangely. Then after talking to a 3D modeler we realized that the problem was in the Color Attribute that was added in one of the 3D editors and after removing Color Attribute from the model everything worked fine.
Maybe this will be useful

There's still something wrong with the rendering that I'll continue to investigate, but I've pushed a change that should fix the crash. Very sorry about that.

There's still something wrong with the rendering that I'll continue to investigate, but I've pushed a change that should fix the crash. Very sorry about that.

It's all right! Thank you for your work!

I've implemented better handling of normalized integer accessors, which fixes the rendering errors I was seeing with this model. I would note that if you have a vertex color attribute whose contents is solid white for all vertices, it's wasteful to include it in the exported model. But at least now it will render correctly!

I've implemented better handling of normalized integer accessors, which fixes the rendering errors I was seeing with this model. I would note that if you have a vertex color attribute whose contents is solid white for all vertices, it's wasteful to include it in the exported model. But at least now it will render correctly!

It got better! Thank you!

Thank you for your recent issue reports. You have an uncanny knack for exposing edge cases that I have long known to be problematic, but that I didn't have sufficient motivation to investigate.

Is this issue fully resolved or is there some other action needed to resolve it?

Thank you for your recent issue reports. You have an uncanny knack for exposing edge cases that I have long known to be problematic, but that I didn't have sufficient motivation to investigate.

Glad I could help!

Is this issue fully resolved or is there some other action needed to resolve it?

Yeah, problem solved. Thank you!


Remove ssh configuration in buildspec

Issue #, if available:
Description of changes:

Remove ssh config configuration in buildspec, this is now configured in remote testing script.
Change the cpu/gpu test order to be consistent with other frameworks.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


refactor: use compatible client error checks

Now we are mixing the old and the new client. Error checks must support both types of errors: the old and the new one.

tests


api port binding isn't working with docker

v0.17.2 / Linux / arm64
Hello,
Running application with same config file on both docker an compiled release doesn't have the same behavior.
Api does not bind (and maybe stop source connection)
Here is config file

###############################################
# General parameters

# sets the verbosity of the program; available values are "warn", "info", "debug".
logLevel: debug
# destinations of log messages; available values are "stdout", "file" and "syslog".
logDestinations: [stdout]
# if "file" is in logDestinations, this is the file which will receive the logs.
logFile: rtsp-simple-server.log

# timeout of read operations.
readTimeout: 10s
# timeout of write operations.
writeTimeout: 10s
# number of read buffers.
# a higher number allows a higher throughput,
# a lower number allows to save RAM.
readBufferCount: 100000

# enable the HTTP API.
api: yes
# address of the API listener.
apiAddress: <IP_ADDRESS>:9997

# enable Prometheus-compatible metrics.
metrics: no
# address of the metrics listener.
metricsAddress: <IP_ADDRESS>:9998

# enable pprof-compatible endpoint to monitor performances.
pprof: no
# address of the pprof listener.
pprofAddress: <IP_ADDRESS>:9999

# command to run when a client connects to the server.
# this is terminated with SIGINT when a client disconnects from the server.
# the server port is available in the RTSP_PORT variable.
runOnConnect:
# the restart parameter allows to restart the command if it exits suddenly.
runOnConnectRestart: no

###############################################
# RTSP parameters

# disable support for the RTSP protocol.
rtspDisable: no
# supported RTSP stream protocols.
# UDP is the most performant, but doesn't work when there's a NAT/firewall between
# server and clients, and doesn't support encryption.
# UDP-multicast allows to save bandwidth when clients are all in the same LAN.
# TCP is the most versatile, and does support encryption.
# The handshake is always performed with TCP.
protocols: [udp, multicast, tcp]
# encrypt handshake and TCP streams with TLS (RTSPS).
# available values are "no", "strict", "optional".
encryption: no
# address of the TCP/RTSP listener. This is needed only when encryption is "no" or "optional".
rtspAddress: <IP_ADDRESS>:8554
# address of the TCP/TLS/RTSPS listener. This is needed only when encryption is "strict" or "optional".
rtspsAddress: :8555
# address of the UDP/RTP listener. This is needed only when "udp" is in protocols.
rtpAddress: :8000
# address of the UDP/RTCP listener. This is needed only when "udp" is in protocols.
rtcpAddress: :8001
# IP range of all UDP-multicast listeners. This is needed only when "multicast" is in protocols.
multicastIPRange: <IP_ADDRESS>/16
# port of all UDP-multicast/RTP listeners. This is needed only when "multicast" is in protocols.
multicastRTPPort: 8002
# port of all UDP-multicast/RTCP listeners. This is needed only when "multicast" is in protocols.
multicastRTCPPort: 8003
# path to the server key. This is needed only when encryption is "strict" or "optional".
# this can be generated with:
# openssl genrsa -out server.key 2048
# openssl req -new -x509 -sha256 -key server.key -out server.crt -days 3650
serverKey: server.key
# path to the server certificate. This is needed only when encryption is "strict" or "optional".
serverCert: server.crt
# authentication methods.
authMethods: [basic, digest]
# read buffer size.
# this doesn't influence throughput and shouldn't be touched unless the server
# reports errors about the buffer size.
readBufferSize: 2048

###############################################
# RTMP parameters

# disable support for the RTMP protocol.
rtmpDisable: no
# address of the RTMP listener.
rtmpAddress: :1935

###############################################
# HLS parameters

# disable support for the HLS protocol.
hlsDisable: no
# address of the HLS listener.
hlsAddress: :8888
# by default, HLS is generated only when requested by a user;
# this option allows to generate it always, avoiding an initial delay.
hlsAlwaysRemux: no
# number of HLS segments to generate.
# increasing segments allows more buffering,
# decreasing segments decreases latency.
hlsSegmentCount: 3
# minimum duration of each segment.
# the final segment duration is also influenced by the interval between IDR frames,
# since the server changes the segment duration to include at least a IDR frame in each one.
hlsSegmentDuration: 1s
# value of the Access-Control-Allow-Origin header provided in every HTTP response.
# This allows to play the HLS stream from an external website.
hlsAllowOrigin: '*'

###############################################
# Path parameters
paths:
  contre-allee:
    source: rtsp://<IP_ADDRESS>:554/stream0?username=admin&password=password
    runOnPublish:
    runOnPublishRestart: yes
    readUser: adm
    readPass: pass

On docker :
Starting frigate_rtsp-simple-server_1 ... done
Attaching to frigate_rtsp-simple-server_1
rtsp-simple-server_1  | 2021/08/18 21:28:35 I [0/0] rtsp-simple-server v0.17.2
rtsp-simple-server_1  | 2021/08/18 21:28:35 I [0/0] [RTSP] UDP/RTP listener opened on :8000
rtsp-simple-server_1  | 2021/08/18 21:28:35 I [0/0] [RTSP] UDP/RTCP listener opened on :8001
rtsp-simple-server_1  | 2021/08/18 21:28:35 I [0/0] [RTSP] TCP listener opened on :8554
rtsp-simple-server_1  | 2021/08/18 21:28:35 I [0/0] [RTMP] listener opened on :1935
rtsp-simple-server_1  | 2021/08/18 21:28:35 I [0/0] [HLS] listener opened on :8888

vlc can't connect
rtsp-simple-server_1  | 2021/08/18 21:35:16 I [0/0] [RTSP] [conn <IP_ADDRESS>:60198] opened
rtsp-simple-server_1  | 2021/08/18 21:35:16 I [0/0] [path contre-allee] created
rtsp-simple-server_1  | 2021/08/18 21:35:16 I [0/0] [RTSP] [conn <IP_ADDRESS>:60198] ERR: no one is publishing to path 'contre-allee'
rtsp-simple-server_1  | 2021/08/18 21:35:16 I [0/0] [RTSP] [conn <IP_ADDRESS>:60198] closed
rtsp-simple-server_1  | 2021/08/18 21:35:16 I [0/0] [RTSP] [conn <IP_ADDRESS>:60199] opened
rtsp-simple-server_1  | 2021/08/18 21:35:16 I [0/0] [RTSP] [session 224189300] opened by <IP_ADDRESS>:60199
rtsp-simple-server_1  | 2021/08/18 21:35:16 I [0/0] [RTSP] [conn <IP_ADDRESS>:60199] ERR: path must end with a slash (contre-allee)
rtsp-simple-server_1  | 2021/08/18 21:35:16 I [0/0] [RTSP] [conn <IP_ADDRESS>:60199] closed
rtsp-simple-server_1  | 2021/08/18 21:35:16 I [0/0] [RTSP] [session 224189300] closed
rtsp-simple-server_1  | 2021/08/18 21:35:16 I [0/0] [RTSP] [conn <IP_ADDRESS>:60200] opened
rtsp-simple-server_1  | 2021/08/18 21:35:16 I [0/0] [RTSP] [conn <IP_ADDRESS>:60200] closed

When running the binairy, api is available :
2021/08/18 22:28:55 I [0/0] [RTSP] UDP/RTP listener opened on :8000
2021/08/18 22:28:55 I [0/0] [RTSP] UDP/RTCP listener opened on :8001
2021/08/18 22:28:55 I [0/0] [RTSP] TCP listener opened on <IP_ADDRESS>:8554
2021/08/18 22:28:55 I [0/0] [RTMP] listener opened on :1935
2021/08/18 22:28:55 I [0/0] [HLS] listener opened on :8888
2021/08/18 22:28:55 I [0/0] [API] listener opened on <IP_ADDRESS>:9997
2021/08/18 22:28:55 D [0/0] [path contre-allee] [rtsp source] c->s SETUP rtsp://<IP_ADDRESS>:554/stream0/trackID=1 RTSP/1.0

Vlc is fine and i can curl api :
{"items":{"contre-allee":{"confName":"contre-allee","conf":{"source":"rtsp://<IP_ADDRESS>:554/stream0?username=admin\u0026password=password","sourceProtocol":"automatic","sourceAnyPortEnable":false,"sourceFingerprint":"","sourceOnDemand":false,"sourceOnDemandStartTimeout":10000000000,"sourceOnDemandCloseAfter":10000000000,"sourceRedirect":"","disablePublisherOverride":false,"fallback":"","publishUser":"","publishPass":"","publishIPs":null,"readUser":"adm","readPass":"pass","readIPs":null,"runOnInit":"","runOnInitRestart":false,"runOnDemand":"","runOnDemandRestart":false,"runOnDemandStartTimeout":10000000000,"runOnDemandCloseAfter":10000000000,"runOnPublish":"","runOnPublishRestart":true,"runOnRead":"","runOnReadRestart":false},"source":{"type":"rtspSource"},"sourceReady":true,"readers":[]}}}

Disabling api isn't solving vlc issue, so I'm not sure how i can provide more details, just let me know.
Regards

Not an issue. User's fault


Ground Markers with Text

I'd be happy to do this myself, but I have no idea where to start, if someone was willing to guide me onto the right path that'd be great, otherwise I just want this plugin a thing.
The idea of it is exactly what it sounds like, Ground Markers with text. You can type out the message or maybe even have a numbered option. So once you click on the numbered option, the first tile you mark would be a '1' with that Marker color, then the next mark would be '2' with that Marker color, up until the user turns off the numbered option. Then the next time the numbered option is selected again, it would start again at 1. (Maybe add an option that allows it to continue from a specified number too)

Duplicate of #8451


Revert #5238

As discussed in https://github.com/apache/incubator-tvm/pull/5238#issuecomment-707393506
Thanks for contributing to TVM!   Please refer to guideline https://tvm.apache.org/docs/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers by @ them in the pull request thread.

Thanks @ptrendx !


Pasting text throws an error

When I paste some random text from other sites, I've got an error: "Cannot read property 'length' of undefined"

fixed in v0.4.5


Use  to choose autosuggestion

Is your feature request related to a problem? Please describe.

When I start typing a command, and zsh shows an autosuggestion, is it possible to choose the autosuggestion by pressing the tab key or some other key instead of the right arrow key?
Moving my hand all the way to the right arrow key is slow, so is everyone only using the right arrow key to choose the autosuggestion?
Describe the solution you'd like

Pressing tab when an autosuggestion hint is shown should just choose the shown autosuggestion.

This is possible by adding this to your .zshrc:
bindkey '\t' end-of-line

I personally don't use it though, because sometimes the default tab behaviour is useful, like choosing directories

Yeah that's true.
So does everyone just move their hand all the way to the right arrow key then? Does anyone have a better method instead of overriding the tab key?

Well if you don't want to use right arrow key then you can put any other key instead of tab in that code I pasted above.
Btw also, I realized that you can do this
export ZSH_AUTOSUGGEST_STRATEGY=(
    history
    completion
)

Which allows the preview to fallback on using tab completion when there is no matching history.  This is pretty nice when choosing directories.  Which makes those times when you really need tab a bit less common.

I mostly use ^E for end-of-line (in emacs mode)

thx

I mostly use ^E for end-of-line (in emacs mode)

I'm use
bindkey '^I'      autosuggest-accept
ZSH_AUTOSUGGEST_CLEAR_WIDGETS+=(buffer-empty bracketed-paste accept-line push-line-or-edit)
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
ZSH_AUTOSUGGEST_USE_ASYNC=true

tab - history completion
shift+tab - autosuggest completion

@mindyourlifeguide did you write that incorrectly?
I tried using that, but it makes tab do autosuggest completion, and shift+tab do history completion backwards.
How would I invert the tab and shift+tab from those lines you pasted?

Specifically, I tested that while using cd
$ cd <completion shows a previous cd command>
If I use tab, it accepts it.
But I usually press tab to see all the subdirs in this dir and cycle through them, so I don't want to lose that behavior.

Specifically, I tested that while using cd
$ cd <completion shows a previous cd command>
If I use tab, it accepts it.
But I usually press tab to see all the subdirs in this dir and cycle through them, so I don't want to lose that behavior.

I wrote the combinations that I use)
These are right for you:
bindkey '^ I'   complete-word       # tab          | complete
bindkey '^ [[Z' autosuggest-accept  # shift + tab  | autosuggest

this seems to work as expected:
 bindkey '\t' autosuggest-accept

@be-rock as mentioned elsewhere, this clobbers the default tab behavior (for example ls ./<tab> will not suggest directories)

For some reason, none of the commands in this thread
bindkey '\t' autosuggest-accept
bindkey '^I'   complete-word
bindkey '^[[Z' autosuggest-accept

were working for me, at all. As in nothing would happen and it would default to cycling through all the entries.
At the end, i just went with
bindkey '\t\t' autosuggest-accept

This way, pressing tab twice quickly in succession autocompletes the suggestion, but if I press tab once and leave it, then I can cycle through all the possible suggestions.

I mostly use ^E for end-of-line (in emacs mode)

I love you man! Thanks

I'm using $ as completion. Similar to VIM end of line.
.zshrc
bindkey '$' autosuggest-accept

For some reason, none of the commands in this thread
bindkey '\t' autosuggest-accept
bindkey '^I'   complete-word
bindkey '^[[Z' autosuggest-accept

were working for me, at all. As in nothing would happen and it would default to cycling through all the entries.
At the end, i just went with
bindkey '\t\t' autosuggest-accept

This way, pressing tab twice quickly in succession autocompletes the suggestion, but if I press tab once and leave it, then I can cycle through all the possible suggestions.

thanks man...good suggestion. I am using the same

Hi is it possible to use tab for autosuggest-accept, and change ctrl + space for shell suggestion such as ls cycle through?

For some reason, none of the commands in this thread
bindkey '\t' autosuggest-accept
bindkey '^I'   complete-word
bindkey '^[[Z' autosuggest-accept

were working for me, at all. As in nothing would happen and it would default to cycling through all the entries.
At the end, i just went with
bindkey '\t\t' autosuggest-accept

This way, pressing tab twice quickly in succession autocompletes the suggestion, but if I press tab once and leave it, then I can cycle through all the possible suggestions.
I like this one the most

None of these are working for me. I just simply want to press tab twice to autosuggest accept.

Works for me. Generated via chat-gpt 4o:
# Bind Tab to accept the autosuggested word (from cursor to first space)
bindkey '^I' forward-word

# Bind Shift + Tab to accept the whole autosuggestion
bindkey '^[[Z' autosuggest-accept


Check setting module.workspace from env in server

I have some sites where I do this
HUGO_MODULE_WORKSPACE=hugo.work hugo server

Which no throw a "module not found" error suggesting that I have ... messed up.

False alarm. I had accidentally deleted the go.mod in that project.


fix(v2): Correctly resolve sw.js path on windows

Motivation
To ensure that the service worker is correctly referenced on builds on Windows operating systems. I created an issue and described the problem more here - #3420
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Tested on Windows and MacOS.
yarn start

Related PRs
N/A

Thanks, LGTM.
We already have a posixPath function in utils, do you think it would do the job instead? (just wondering, not very familiar to when this fn should actually be used):

Also noticed that our deploy previews do not have the correct manifest path due to using baseUrl, so I couldn't test the service worker on the deploy preview:

bad: https://deploy-preview-3431--docusaurus-2.netlify.app/manifest.json
good: https://deploy-preview-3431--docusaurus-2.netlify.app/classic/manifest.json

I think this is just due to our website pwa config, could you remove the leading / in pwaHead on docusaurus 2 site, so that we can test SW this more easily on the deploy preview as well?
          {
            tagName: 'link',
            rel: 'manifest',
            href: '/manifest.json',
          },

could become:
          {
            tagName: 'link',
            rel: 'manifest',
            href: 'manifest.json',
          },

And I think this should be enough to make it less sensitive to baseurl changes

Hi @slorber, sorry, I think I've made some mistake adding the change for the docusaurus config file on the v2 website, because I seem to have picked up someone else's commit.
I don't think the posix path function in utils is going to strip the drive letter off the path, so the problem would persist because path.resolve() will always include it and the sw.js should always be relative to the root directory.


Fix user manual (geometry.Polygon)

Connected to #526 and #500
Here I fix the wrong definition of the Polygon constructor in the user manual.
Also, the documentation about the "Attributes" (https://github.com/Toblerity/Shapely/blob/master/shapely/geometry/polygon.py#L196) seems to me a bit unclear and redundant with the user manual. However I don't know the policy of this repo about documentation.

Coverage remained the same at 79.919% when pulling 042b5e1821904aad0ccbf275dc4d24a9be51f23b on michelbl:doc-Polygon into e0e67f058e131af1a0241eb31da13b4ecc73f8ae on Toblerity:master.

Thanks @michelbl !


Porting echo command

Implementation of command echo, assigned in #242.
I also ran cargo clippy --all, so that I was sure I didn't introduce unnecessary warnings.
I'll be waiting for feedback, before going on with format.

thanks!


[usecase] Add test for background color

Fail BugID: XWALK-4809
Impacted TCs num(approved): New 1, Update 0, Delete 0
Unit test Platform: Android
Android test result summary: Pass 0, Fail 1, Block 0
BUG=https://crosswalk-project.org/jira/browse/XWALK-4856

LGTM


Longest Common Prefix [CH20]

🚀 Feature
Given array of strings, find the longest common prefix present in all the strings. Print the longest common prefix. If no common prefix is present, then print empty string ("").
example: input: "apple", "appology", "apps"
output: "app"
example: input: "dog", "cat", "lion"
output: ""
Have you read the Contributing Guidelines on Pull Requests?
Yes
Motivation
Helps in better understanding of strings
Pitch
It will help in better understanding of strings, substrings and their operations

I would like to work on this in Java for CH20.

I would like to work in C++ for the issue.

i would like to work on this issue in Python

i would like to work in C

i would like to work on this issue in c++ as part of hakin codes
@SKAUL05 @Abhijit2505 @plazzy99 @Kajol-Kumari

We are logging the scores for the Contributor's Hack 2020. If you have one or more than one PR merged during the program, make sure to fill this form


Switch to documentationjs for docs

I didn't realize there was no docs for this module.   So when we do create docs for this repo, we should use documentationjs for docs

Closing,  addressed in #161


Make Coeff into an associated type of the PolyConf trait

This PR makes a lot of search-and-replace code changes, so it will cause merge conflicts. Let's merge it soon.
It changes Coeff from a type to an associated type of the PolyConf trait. As part of that change, the static zero constant becomes a trait function that returns a reference to that constant. YASHE also needs some specific conversions, they are added as trait bounds.

Benchmark
Benchmark suite	Current: a3b178d	Previous: d942cc7	Ratio

This PR doesn't change performance at all. (Everything is within 1% normal variation.)


git-commit.el has been part of magit, maybe can remove git-commit.el ?

Hi, purcell,
Recently, I encountered a warning that it seems git-commit.el is already part of magit and doesn't need to be installed separately.

■  Emergency (emacsql): Uninstall the `git-commit' package.
The "git-commit.el" library is no longer distributed as a separate
package.  It is now distributed as part of the `magit' package.
The git-commit' package now does nothing but display this warning. If it is located earlier on the load-path' than magit' is, then that prevents the proper "git-commit.el" libraries from magit' from being
loaded.
Please uninstalling `git-commit' and then restart Emacs.

Should we update the configuration here to eliminate the warning?
https://github.com/purcell/emacs.d/blob/247d6e1cc534a30a2ceed9413f55a10bb3a53df0/lisp/init-git.el#L45

Yep, fixed, thanks!

Thank you !👍

I guess @tarsius will remove the git-commit package recipe from MELPA soon too — Jonas, let me know if you'd like me to do so.

The purpose of the fake git-commit package is to be installed as an update for people who already have an older git-commit installed. That way that transitional version/package, can inform the user that they need to uninstall it (and potentially open issues such as this one).
Without doing that older git-commit could end up remaining installed, which would become an issue, once the git-commit.el in magit has diverged enough.
I therefore intend to keep this fake package around for a while. That way, user who update their Emacs packages infrequently can also benefit from this transitional kludge.

Cool, I figured you'd have a transition plan so I didn't want to remove the package unilaterally without checking. Will leave it as-is, thanks.


Mapping network

Hi, I was looking at your code (I'm also thinking of implementing pi-gan) and had questions about the mapping network.

What is the idea behind the EqualLinear module?
Why are you normalizing the latent vector before passing it through the network?

As far as I can tell neither of these steps is mentioned in the paper so if you have another source for those steps that would be really helpful. Thanks!

@sidmani Hey Sid! Glad to meet someone else fascinated with the intersection of Nerf and GANs! I actually copied the mapping network code from my stylegan2 implementation. I'll correct it to match the paper's this week, after I code up the progressive growing part of the discriminator

Great, I haven't read stylegan2 yet so I'll take a look.


LWJGL3 Maximized Window Positioning

Allows the user to specify which window the app should maximise to.

Good point!


GPIO reset to initial state (IDFGH-1986)

Hi,
I have a project with a Type-C connector to a custom board. This means that my communication pins need to be configured based on the Type-C insertion way (face up or face down). I am doing some debugging because my Type-C connection doesn't work all the time and I would like to know how to get the initial state of some GPIO pins (input or output; pull-up state, etc). I am using gpio_reset_pin to delete the configuration of a GPIO, but I am not sure if this function sets its really initial state.
I posted this question on forum as well, but I have no response (https://www.esp32.com/viewtopic.php?f=2&t=12609)

Initial state depends on the gpio, just always set the state you want.  You can see exactly what gpio_reset_pin does
https://github.com/espressif/esp-idf/blob/879778a6772dfcb5f78ac458ae2a2a58e34e400e/components/driver/gpio.c#L333-L346

Can I read the config for a GPIO? Or is there any info about the initial state of each pin?

In the datasheet section a.4.  I don't think there is api to get gpio config so you would have to read registers.


Upload .pbix file Fail

Not sure how to debug what's wrong with an upload.  Have seen other powerbi.com postings of upload failing and I'm not sure howif they resolved theirs and therefore how to resolve mine.

As you can see all the proper credentials were entered.  I gave a valid path name, and the .pbix is not that large at 45mb.
Any ideas here?  Thanks, Tom Day.

This sample tool doesn't display verbose error output.  If you run a fiddler or other HTTP trace you may be able to see additional error information in the HTTP response.
If you don't see any useful information please provide the "RequestId" response header and I can help you dig into it further.

Hello Abreza--Thanks for that.  Very reassuring as I took another stab.  I used a smaller model built with the latest PowerBi and it uploaded successfully.  Not sure if either of those two things made a difference, but I'm pleased it uploaded successfully.
Thanks again,
Tom


Banner

@gemmabusoni is awesome and has somehow secured a free large printed banner for us. We just need to send her what to print on it.
@MaxWofford can you take point on this and coordinate with @gemmabusoni for the artwork's requirements?
/cc @jonleung

@MaxWofford any updates on this?

@zachlatta Sorry for not posting it here. I've been working with @gemmabusoni over PM. I'll move the conversation here.

Awesome! Thanks.
Remember you can always say:
steward notify me on mentions

To get Steward to ping you on all mentions on GitHub issues.
On Mon, Aug 24, 2015 at 2:10 PM, Max Wofford<EMAIL_ADDRESS>wrote:

@zachlatta https://github.com/zachlatta Sorry for not posting it here.
I've been working with @gemmabusoni https://github.com/gemmabusoni over
PM. I'll move the conversation here.
—
Reply to this email directly or view it on GitHub
https://github.com/hackedu/meta/issues/105#issuecomment-134381241.

--
Zach Latta
hackEDU |<EMAIL_ADDRESS>

:+1:

@gemmabusoni Is this time sensitive? I'll be busy until Sept. 8th and may not be able to finish this.

Ideally we'd have it by this Friday.
@gemmabusoni, would it be possible to have this sometime next week?
Potential logo change.
On Tuesday, August 25, 2015, Max Wofford<EMAIL_ADDRESS>wrote:

@gemmabusoni https://github.com/gemmabusoni Is this time sensitive?
I'll be busy until Sept. 8th and may not be able to finish this.
—
Reply to this email directly or view it on GitHub
https://github.com/hackedu/meta/issues/105#issuecomment-134835757.

--
Zach Latta
hackEDU |<EMAIL_ADDRESS>

@zachlatta I can design a banner tonight for either logo, but I'll need some specs.
@gemmabusoni What are the constraints on printing? (size, number of colors, etc.)

@MaxWofford
6 feet by 3 feet
full color
2 files: one  EPS and one PDF
Also: do we want groomlets only on the corners or 3 on top and 3 on the bottom?

I've talked with each of you independently about the potential "Hack Club"
rename.
Let's hold off on this until we decide whether we'll go ahead and move
forward with it.
On Fri, Aug 28, 2015 at 1:23 AM, Gemma Busoni<EMAIL_ADDRESS>wrote:

@MaxWofford https://github.com/MaxWofford
6 feet by 3 feet
full color
2 files: one EPS and one PDF
Also: do we want groomlets only on the corners or 3 on top and 3 on the
bottom?
—
Reply to this email directly or view it on GitHub
https://github.com/hackedu/meta/issues/105#issuecomment-135670872.

--
Zach Latta
hackEDU |<EMAIL_ADDRESS>

@zachlatta, I would actually like to postpone any serious renaming until we've consulted more people about it. From consulting one person yesterday, their recommendation was to not rename it to something more specific like "Hack Club" because it prevents us from doing other things besides clubs in the future.

I'll be gone until September 9th. Assigning to @zachlatta

Closing this issue for the time being. @gemmabusoni If this opportunity is still open feel free to  reopen it


Green algae recipes

Closes #41.

Current coverage is 91.72%

Merging #43 into master will not affect coverage as of cfa0151

@@            master     #43   diff @@
======================================
  Files           16      16
  Stmts         1691    1691
  Branches       171     171
  Methods          0       0
======================================
  Hit           1551    1551
  Partial          2       2
  Missed         138     138

Review entire Coverage Diff as of cfa0151

Powered by Codecov. Updated on successful CI builds.


The IMqttClientFactory does not have all the overloading methods for CreateMqttClient

I'm trying to do unit testing and this interface is missing
public IMqttClient CreateMqttClient(IMqttNetLogger logger, IMqttClientAdapterFactory adapterFactory)
kind of stuck for this...

Hi,
yes you are right. They are missing. I add all missing methods to the interfaces (also server).
Best regards
Christian

Thanks... I created a wrapper in the meantime to get around it. but would be good to have them in that interface.


HTTPS warnings

https://github.com/c3limited/magento2-environment-banner/blob/8b9edd7722a60092bbaa92d134a853a4f861e26a/view/adminhtml/templates/environment_text.phtml#L3
When loaded in a site using https, this reference to the font over http will cause the browser to squark about mixed content types. So I guess we need to change it to https, or if its not essential just use a system font and avoid another http request.

Thanks for raising the issue. The aim of the module is to be lightweight so I've removed the need for the font. I agree it's not really needed.


[bug] lv_list not remembering it's last position

I'll investigate this later today, but it seems like in dev-6.0,  lv_list no longer remembers it's last position. I'm willing to bet it's related to commit f5b8dd17b81eebae6fdd53dd581e2f5075c7e08f .

I also suspect that. Without the fix in https://github.com/littlevgl/lvgl/commit/f5b8dd17b81eebae6fdd53dd581e2f5075c7e08f lv_list_set_btn_selected was not working.

Fixed in #888


add release notes pipeline

Description 📋
Please include a summary of the changes made in this PR and provide any context necessary for the change.
Fixes # (issues)
Type of change 🤔
Please tick any that are relevant to this PR and remove any that aren't.

[ ] Bugfix (non breaking change which resolve an issue)
[ ] Feature (non breaking change which adds functionality)
[ ] Breaking Change (a change which would cause existing functionality to not work as expected)
[x] Documentation (a change to documentation)

Submission checklist ✅

[x] I have performed a self review of my changes
[ ] I have updated the documentation where relevant
[ ] My changes are well written and all ci is passing
[x] I checked GitHub Action FDIa ci.yml run successful and added unit-tests

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.18%. Comparing base (e235aaa) to head (0df8eeb).
Report is 1 commits behind head on master.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #193   +/-   ##
=======================================
  Coverage   77.18%   77.18%
=======================================
  Files          30       30
  Lines        1775     1775
=======================================
  Hits         1370     1370
  Misses        405      405

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Handled transposed xarray shapes correctly

The XArray interface shape method was not taking into account data that was transposed relative to the key dimensions of the element resulting in wrong densities and causing further issues with selecting on the resulting object.

[x] Fixes https://github.com/ioam/holoviews/issues/2258

Should be ready to merge now, once tests pass.

All the tests are failing so there is probably some real issue, not just transients...

Should be handled now.

I'll merge when the tests are green.

After a number of restarts due to transients, the tests are now green. Merging.


[Docs] Create Documentation for Download function

Describe the problem
We don't have documentation for the internal action that can be used to download data on appsmith. This action can be triggered by a button by setting its onClick property

Hey I am Hetu, one of the maintainers at Appsmith. This is a great issue for anyone looking to start contributing to the repo. Make sure you read our docs contributions guidelines before starting.
The signature of the function is mentioned here
I'm here if you need any help fixing this so feel free to tag me on this thread 😄

@hetunandu, I can take this up if this is still up for grabs

Hey @deepakchethan! Welcome to the Appsmith community 😄 assigning this to you. Do read the docs linked and incase of any doubts let me know. You can ask me for a review once you raise the PR.

Thank you @hetunandu, can you please take a look at https://github.com/appsmithorg/appsmith-docs/pull/13.

Approved and merged! 🎉 Thanks a lot of this @deepakchethan hope to see your contributions on some other issues as well 🙌

Fixed by appsmithorg/appsmith-docs#13


Is there a reason the non-headless version of opencv is used?

I was just trying to get CameraTraps working on a headless linux RTX3080 computer (in docker). The environment-detector.yml file installs opencv, which will only run if a lot of (UI) dependencies are installed.
I replaced it in my install with opencv-python-headless:
diff --git a/environment-detector.yml b/environment-detector.yml
index 90d6178..a55fec8 100644
--- a/environment-detector.yml
+++ b/environment-detector.yml
@@ -3,6 +3,7 @@ name: cameratraps-detector
 channels:
   - conda-forge
   - pytorch
+  - fastai

 dependencies:
   - python=3.8
@@ -17,7 +18,7 @@ dependencies:
   - matplotlib
   - nb_conda_kernels
   - ipykernel
-  - opencv
+  - opencv-python-headless
   - requests

   # for running MegaDetector v4

Happy to submit a PR, but would like to check if there is a use case where the non-headless part is needed.

Thanks for the suggestion!
Honestly the main reason is that this is the first I've ever heard of opencv-python-headless.  It seems like a good idea, but two other concerns came up, maybe you can talk me out of them?

The main concern is that we have an increasing set of users who are using process_video.py and its friends, which depends on OpenCV for video encoding/decoding, and a very cursory search on opencv-python-headless suggests that it might change the set of video tools that are installed.

I'm around 95% sure that nothing bad will come of adding another channel to the conda environment file, but this is one of those things where it worries me that I can't test this on all possible configurations.

(1) is the  larger concern here.  Do you know anything about the relationship between opencv-python-headless and the installation of ffmpeg and related utilities?
Also is the main benefit about installation time, or did you experience other issues related to the non-headless OpenCV install?  If it's mostly about installation time, I'm slightly inclined not to rock the boat, since I think installing PyTorch is the vast majority of the installation time anyway.

I can address the last question the easiest: I got an error when trying to run the system in a docker container:
ImportError: libGL.so.1: cannot open shared object file: No such file or directory

It seems that this can be resolved either by installing some things (which resulted in my case in a huge dependency-tree being pulled in), or alternatively use the headless version of opencv (in which case it all installs just fine in Docker).
I didn't consider which video codecs get installed -- I can actually imagine that installing the huge dependency-tree may pull in some additional codecs. Makes sense to be hesitant to change this if all it does is fix an issue that can easily be fixed some other way (by apt-get install ....)

Thanks... since we haven't heard of that issue before (including in various Docker environments), I think we'll play this one on the safe side and leave it as-is.  Thanks for the suggestion, though!  Hope everything else is working out w/MegaDetector for you, glad you found a way through this issue.


lost tabline color and statuline incomplete display when source .vimrc

environment

vim: vim8.2
vim-airline: v0.11
OS: debian10
Have you reproduced with a minimal vimrc: yes
What is your airline configuration:
let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#whitespace#enabled = 0
let g:airline_theme='gruvbox'
if you are using terminal:
terminal: xterm emulator(Xshell SSH Client)
$TERM variable: screen-256color
color configuration (:set t_Co?):no
if you are using Neovim:
does it happen in Vim: not use Neovim

actual behavior
when source .vimrc(use autocmd BufWritePost $MYVIMRC source $MYVIMRC in .vimrc)
lost tabline color and statuline incomplete display
expected behavior
display normally when source .vimrc
screen shot (if possible)
reproduced with a minimal vimrc, please notice tabline color and statuline first half

I'm sure colorscheme cause the problem, when I delete colorscheme gruvbox, everything is ok.
But I change some colorscheme like:
lifepillar/gruvbox8
junegunn/seoul256
tomasr/molokai
The same problem reappeared.

you may need a <nested> in your autocommand. Does it restore, if you use :AirlineTheme <whatever>?

you may need a <nested> in your autocommand. Does it restore, if you use :AirlineTheme <whatever>?

here is my minimal vimrc, the problem reappeared.

so what about: :AirlineTheme <whatever> does that fix it afterwards?

so what about: :AirlineTheme <whatever> does that fix it afterwards?

I use :AirlineTheme <whatever> does not fix it.
Before

After

But it fixed after I use :redraw!

I test Gvim, don't have this problem, but Gvim more and more slower after :w(sourcing vimrc), the cpu cost 100%.

after :w(sourcing vimrc), the cpu cost 100%.

Honestly, how often does that happen? I usually just start with a fresh copy. It's fast enough.

BTW. My host is raspberrypi3b+, is it possible that the performance is insufficient?

Don't know.

I'm very sure colorscheme morhetz/gruvbox cause this problem, everything is ok after I delete it.
Thanks for your patient.

Finally I find the culprit is autocmd, which cause high cpu usage. Should use augroup.
Tabline/statuline display incomplete can easy solve by :AirlineRefresh.
So the final config is:
augroup Vim
autocmd!
autocmd BufWritePost $MYVIMRC ++nested source $MYVIMRC ":AirlineRefresh"
augroup End
Nothing else is a problem.

Finally I find the culprit is autocmd, which cause high cpu usage. Should use augroup.
Tabline/statuline display incomplete can easy solve by :AirlineRefresh.
So the final config is:
augroup Vim
autocmd!
autocmd BufWritePost $MYVIMRC ++nested source $MYVIMRC ":AirlineRefresh"
augroup End
Nothing else is a problem.

I test sometimes, maybe it not solved...


LoginPopup throws "wrong reply URL" when logging in from routes

I'm submitting a...

[X] Bug report

Browser:

[X] Chrome version 74

Library version
Library version: 1.0.1

Current behavior
If I try to access my SPA from a route that is not listed in my app registration I get the "wrong reply URL" error. Eg: http://myapp.com works fine, but not http://myapp.com/about
Since the app uses dynamic routing it'd be impossible to add all routes and the Azure portal doesn't let me use wildcards for the app registration.
Expected behavior
Should be able to log in from any route not just the base address.
Minimal reproduction of the problem with instructions
This my UserAgentApplication config
  msalConfig: {
    auth: {
      clientId: "xxx",
      authority: "xxx"
    },
    cache: {
      cacheLocation: "localStorage",
      storeAuthStateInCookie: true
    }
  }

I initialise UserAgentApplication once inside vuex.
The rest of my code was taken from: https://docs.microsoft.com/en-us/azure/active-directory/develop/tutorial-v2-javascript-spa

You cannot have wildcards in the redirectUri for security reasons. More here.
You can do:

vuex stores the path in localStorage/cookie prior to authenticating.
Main route checks for a saved value after authenticating and if existing, delete the setting and transfer to the saved path.

@teocomi Thanks for the issue, If you use the redirectUri field in configuration, you can specify the redirect path.
The error is not complaining about the path you are logging in from, rather the path you are redirecting to.  If you don't set it, it defaults to your current page.
That way you can login from an page, but are redirected to a page that is white listed to receive the auth parameters returned from the server.
Closing for now, please reopen if this does not solve your problem

That worked, how could have I missed that!!!
Thanks Daryl!


Preserve original exception when deployments fail to read from S3

@hmusum or @freva please review and merge

😢

Wonder if it was JDK18 locally that made this pass?


invoiceplane: Build from source

Modernize package and build InvoicePlane from source

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@SuperSandro2000 can you help me with this one please :( i get this error when trying to build the web app from source:
yarn config v1.22.22
success Set "yarn-offline-mirror" to "/nix/store/pdi4afgpaycsqciwkq7j2czyj6z2x7zd-offline".
Done in 0.04s.
yarn install v1.22.22
[1/4] Resolving packages...
error Couldn't find any versions for "autoprefixer" that matches "^9.8.8" in our cache (possible versions are ""). This is usually caused by a missing entry in the lockfile, running Yarn without the --offline flag may help fix this issue.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 353783

x86_64-linux

:white_check_mark: 1 package built:

invoiceplane

Thank you @teutat3s fixed it :+1:

There's a merge conflict now because of the treewide move to pkgs/by-name.

Rebased and fixed :)

@teutat3s Just noticed that I had to add "grunt build" command (it doesn't get executed automatically as a post build script of package.json) and this requires to build the node-sass dependency. Please check if this approach is correct. It compiles the assets correctly now

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 353783

x86_64-linux

:white_check_mark: 1 package built:

invoiceplane

@ofborg build invoiceplane
@ofborg test invoiceplane


Indexing using [key in Foo['bar']] works inconsistently - works fine without generics, but doesn't work properly with generics

TypeScript Version: v4.1.0-insiders.20201009

Search Terms:
generic index key in
Code
type Action = {
  param: "one" | "two"; // Can also be "string", same bug happens
}

const func1 = (foo: { [key in Action['param']]: boolean }, bar: Action): void => {
  // Ok
  foo[bar.param];

  // Ok
  const k: Action['param'] = bar.param;
  foo[k];
}

// Call example
func1({ one: true, two: false }, { param: 'one' });

// The only difference here is adding a generic
const func2 = <Act extends Action>(foo: { [key in Act['param']]: boolean }, bar: Act): void => {
  // Error! (error text below)
  foo[bar.param];

  // Ok
  const k: Act['param'] = bar.param;
  foo[k];
}

Expected behavior:
foo[bar.param] should be just as successful as
  const k: Act['param'] = bar.param;
  foo[k];

Actual behavior:
foo[bar.param] in func2 throws this:
(property) param: "one" | "two"
Element implicitly has an 'any' type because expression of type '"one" | "two"' can't be
  used to index type '{ [key in Act["param"]]: boolean; }'.
  Property 'one' does not exist on type '{ [key in Act["param"]]: boolean; }'.

Playground Link:
https://www.typescriptlang.org/play?ts=4.1.0-insiders.20201009#code/C4TwDgpgBAggxsAlgewHZQLxQN4CgpRgCGATkQLYBcUARGhDVAD63ADuyNA3FAPS9QAwkXREANgGdkUAEbQaE4CUSoA5jQA0UCRWgyArqqgALImEioJuAL65c-KAHVkJANYSoAMxXQAtFFRpVQhUCGU4D2MwiFw4NEUvfVQ4AEZMKAAKT2RkamwoAG1XCBAoFVgEFFQCgHJiMnIagF0m6hkcsQgRKGstGVJqeCQ0AEpqADdkRAATTAA+HHw+AQB5VyXs5AL+kgA6eoomrjsCBzWluMtgKFdByrRag8am9J390gpjgk2io5s7BzCMRiKAQAAeFDAnVwniSqQy+Xo1CU+ggWnYuS84gk0F6OEIHyoUBq9BqPRGx3sAgAKlEoGgxKVpohPJ5osloIgPERpsy1FAiFBgqFwmUrl1ZshPBVhqhYvFrrDkgAmdIAHiGoLBwBC0w8QyqcyyOTyhWKpXKQ0ehOarVkHS66DxOzuwDGUEmM3mi1OAgAoiQSC4AIQbHLbUjvBp-AhLM7rAiXBK3GXWhrNV6Rp5fLzh1x-WxAA
Related Issues:
Maybe these, but I didn't really understand what these issues were talking about.
https://github.com/microsoft/TypeScript/issues/40809
https://github.com/microsoft/TypeScript/issues/40832
My idea
Maybe this issue happens because bar.param evaluates to 'one' | 'two' from Act['params'],
but foo evaluates to { [key in Act["param"]: boolean; } instead of { [key in ('one' | 'two'): boolean; }
So when generics are in action, foo: [key in ...] works differently from bar: ...

This is a correct error given how other parts of generics behave. You could write this call, which would be unsound:
const func2 = <Act extends Action>(foo: { [key in Act['param']]: boolean }, bar: Act): void => {
    // Allowed, albeit incorrectly
    const m: typeof bar.param = "two";
    // Would be unsound, given that the prior line is not an error
    const b: boolean = foo[m];
}

func2({one: true}, { param: "one"});

The reason it's unsound is a little sideways, though - when you read a property off bar, we treat that as if it were of the type of the constraint, rather than leaving it as a lookup type. This is usually desirable, but leaves you with a too-wide type to correctly index that back into something that's still being typed in terms of the generic values.
If you can prove to yourself that something like this isn't happening in an unsound way, using a type assertion like foo[m as keyof typeof foo] would be appropriate here


Fix version lookup

Fixes #159

@probablykasper could you fix merge conflict please, thanks!

@lemarier I think it should be fine now