host of the symbiont common name - for Symbiont-associated (SA) package

New term details
Term name - host of the symbiont common name
Structured comment name -symb_host_name
Definition - Common name of the host of the symbiotic organism under study.
Expected value - unique identifier
Value syntax - {text}
Example - snail
Packages(s) - symbiont-assiociated

Additional context
Term created as part of Symbiont associated package.

Update as per agreed-upon pattern.
Term name - host of the symbiotic host common name
Structured comment name -host_of_host_name
Definition - Common name of the host of the symbiotic host organism.
Expected value - common name
Value syntax - {text}
Example - snail
Packages(s) - symbiont-assiociated

The expected value was 'unique identifer', but that did not match the definition, syntax, or example, so I changed it to "common name".
spreadsheet updated

Confirmed in MIxS v6 Term Updates sheet and included in v6 update log


Introduce an AbstractPage class to allow base page fields to be customised per-project

Proposed here: https://groups.google.com/d/msg/wagtail/4459qj1tNiU/rpaxthnn16MJ

I'm still not convinced this is necessary, but I have seen an implementation which could work.
Puput (a Wagtail blog app) has a mechanism which lets you extend the entry page model. It works because the EntryPage model extends an abstract model which can be overridden in settings.
Migrations also have to be accounted for, since by default they would be placed directly into the global Python module directory for wagtail/wagtailcore. Puput asks you to override your MIGRATION_MODULES Django setting to make EntryPage migrations occur in a local project folder. More info on this is in the docs.

Django Oscar has many models that can be overridden. It may be beneficial to look at their implementation: https://github.com/django-oscar/django-oscar
Any abstract_models.py file is a good place to start looking.

Hello, I was looking for this feature in the documentation before. I was writing a proposal but I don't know why I search again for issues and got lucky! :)
now the proposal and why:
Is your proposal related to a problem?
At this time I'm trying to make special categories for search in elastic search, this could be made by content_type but my categories have some special requirements with extra fields, so... I finally decide to make my category and relate to Page (wagtailcore.Page). It's easy if I do it with M2M but Page class is very close, nobody can write an additional field like a foreign key or another field as global scope for all my pages. In my case, I want to make (1:N) with my category where one page has only one category but one category can be on many pages.
How I said before I will use this for search and group by field this in the project logic
Describe the solution you'd like
My possible solution is not new, Django provides a setting for using your user with the minimum fields that's Django needs for example for auth. You can see more info here
Then if you make it the same way, you can provide an AbstractPage with the same fields and we can modify the model without conflicts.
in this way, Django needs to get this model at the first app contact to generate migrations. and create util for getting the page to centralize the model for all plugins and own new pages. for example get_page_class()
If you read before comments and google group comments, you can see people need to custom his page model, can we discuss again this issue?
Thank you

Hi @bergran! A very late response I know but I opened an RFC for this last year if you have any comments you'd like to add: https://github.com/wagtail/rfcs/pull/53


Statement on data privacy

Feature
Can you add an explanation if data gets uploaded or shared to a third party site or service or if this extension runs completely local and offline?
Thanks!
Alternative solutions or implementations
No response
Other context
No response

Good suggestion, we can put this into the README. The extension works directly on the user's client.


sprints/list

i got this error while go here sprints/list

ubuntu 16.0.4
mysql 5.7
php 7.1
laravel 5.4
and i got severals Trying to get property of non-object, such as here : notes/store

@Datazource  try to run the seeders  php artisan db:seed --class=SettingSeeder


Complete copy edit

@rotycenh

OPS Build status updates of commit 9fb7ab8:
:clock10: Preparing: average preparing time is 45 sec(s)

OPS Build status updates of commit 9fb7ab8:
:clock10: Incremental building: average incremental building time is 22 sec(s)

OPS Build status updates of commit 9fb7ab8:
:warning: Validation status: warnings

File
Status
Preview URL
Details

bread/toc.json
:warning:Warning

Details

toc.json
:warning:Warning

Details

building-blocks/extending-templates/toc.json
:warning:Warning

Details

docs/cloud-adoption/infrastructure/mainframe-migration/application-strategies.md
:white_check_mark:Succeeded
View

bread/toc.json

[Warning] Error happen when converting bread/toc.json to Pdf. Details: Could not find a part of the path 'T:\p5sf\bread\toc.json'.

toc.json

[Warning] Error happen when converting toc.json to Pdf. Details: Could not find file 'T:\p5sf\toc.json'.

building-blocks/extending-templates/toc.json

[Warning] Error happen when converting building-blocks/extending-templates/toc.json to Pdf. Details: Could not find a part of the path 'T:\p5sf\building-blocks\extending-templates\toc.json'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add documentation for FEVER baseline

Addresses #1289.
This PR adds the documentation and scripts needed to replicate and evaluate FEVER document retrieval using anserini, which after some BM25 tuning, outperforms the TF-IDF baseline in the paper at almost every value of k 🎉! Results are listed in the docs.

Thanks for adding this! I was wondering if we should move these python scripts to anserini-tools? @lintool, I'm not sure what we want to still keep here.

I think we can get it checked in first and then move around.
Related - I was wondering if we can switch away from the MS MARCO custom retrieve.py script? It really is supposed to a one-off. I'd rather use SearchCollection and use the standard TREC run format. There's a TSV topic reader, so it shouldn't be too difficult a switch.
I'm fine with an early merge, and then other PRs to fix.


[Adaptive Card: info icon]: Screen reader is not reading information that appears after expanding information icon on 'Public adaptive card schema' Preview.

https://microsoft.visualstudio.com/OS/_workitems/edit/36485981

This issue seems to invalid test case.

Card is not expanded correctly due to missing data

One potential solution for this issue is to tell the ToggleVisibility action to move focus to the element that it just set to Visible. However, this potentially breaks situations where the ToggleVisibility action is actually being used to toggle the visibility of several items such as in https://microsoft.visualstudio.com/OS/_workitems/edit/38275351 (instead of being used to 'open up a new control').
Looking deeper, this issue, #6264, #6274 all stem from the same underlying problem:
Users want an expander control, but their only option right now is to simulate an expander by using a button with the ToggleVisibility action on it.
After some discussion, @carlos-zamora and I are thinking the best way to solve these issues is to implement a new control that is truly an expander. Then, that control can do the following:

Update its own image and alt text when expanded/unexpanded (solving #6274)
Move focus to its 'expanded content' when it gets expanded (solving this issue and #6264)

@jonmill @paulcam206, I've set up a meeting with all of us to discuss this!

@jwoo-msft @paulcam206  Should we close this since ToggleVisibility is deprecated?


Add channel validation for use cmd

When executing dswitch use <channel> where channel is not in
channels list. Dswitch throws an error and create directory with
channel provided.

Thanks for the fix.
I will publish it tomorrow.

released as 2.0.1


Unusual ownership behavior of bind-mounted volumes

Steps to reproduce the issue:

Create a Dockerfile
In the Dockerfile, include: FROM node:6
In the Dockerfile, include a new user and switch to that user like so:

RUN useradd -m -s /bin/bash pureuser
WORKDIR /home/pureuser
USER pureuser

Build the image and run your container:
docker run --rm -itv $(pwd):/home/pureuser/src imagename bash

Describe the results you received:
Note that the volume will be mounted but the owner of the folder will be node instead of pureuser, which effectively breaks the functionality because pureuser doesn't have superuser privileges.
Describe the results you expected:
The owner should really be pueruser, since that's the user that is logged in when you run the container. Using --user pureuser doesn't change anything in this regard.
This also affects composability of containers, because all of my purescript containers on Docker hub used to work fine with the above command until the nodejs docker team decided to include a node user in all of the containers to hotfix some issue a month or so ago.

$ docker --version
Docker version 1.12.3, build 6b644ec

When bind-mounting a directory (or files) from the host, those files are mounted as-is in the container; docker does not change permissions on those files, because doing so would change those permissions on the host (consider bind mounting -v /home/users/myname/:/somewhere resulting in your home directory permissions being changed to a different user 😱)
You can change the permissions of those files on the host, before bind-mounting them in the container so that they match the uid:gid of the user inside the container; see my answer on stack overflow on this subject; http://stackoverflow.com/a/29251160/1811501
Note that there are situations where files may be bind-mounted with different permissions inside the container;

when using boot2docker / virtualbox, files and directories are always owned by uid:gid 1000:1000 due to limitations of virtualbox guest additions
when using docker for mac, permissions are "ignored", so that any process in the container sees them as if they are owned by that user.

This is not something that can be fixed currently, but may be possible in future, depending on certain features being implemented in the Linux kernel.
I'm going to close this issue for that reason, but feel free to comment after I closed

@thaJeztah I think there might be a misunderstanding on what is the issue here. I'll try to clarify:

I have a purescript project with a number of files. On my host machine (no docker involved), the owner of these files and folders is risto:risto, like this:

$ ls -alF
...
-rw-r--r--   1 risto risto   310 Dec 14 12:00 package.json
drwxr-xr-x   2 risto risto  4096 Oct 23 02:27 .pulp-cache/
drwxr-xr-x   3 risto risto  4096 Nov 30 10:20 src/
...

I run docker run --rm -itv $(pwd):/home/pureuser/src gyeh/purescript:0.10.1 bash as usual to work on my project
Docker mounts /home/pureuser/src and it has this ownership inside the container:

$ pwd
/home/pureuser
$ ls -alF
...
drwxr-xr-x 8 pureuser pureuser 4096 Dec 14 11:01 src/
...
$ ls -alF src/
drwxr-xr-x   2 pureuser pureuser  4096 Oct 23 00:27 .pulp-cache/
-rw-r--r--   1 pureuser pureuser   310 Dec 14 11:00 package.json
drwxr-xr-x   3 pureuser pureuser  4096 Nov 30 09:20 src/

So obviously docker does change the ownership of the files inside the container (but not on the host machine). This is how I set it up and expect the container to work.

About a month or so ago, the container my gyeh/purescript containers are based off of, node:6, was updated to include a node user. This conflicts with the pureuser user I created in the container. Now when I run the same command, this is what happens:

$ pwd
/home/pureuser
$ ls -alF
...
drwxr-xr-x 8 node node 4096 Dec 14 11:01 src/
...
$ ls -alF src/
drwxr-xr-x   2 node     node      4096 Oct 23 00:27 .pulp-cache/
-rw-r--r--   1 node     node       310 Dec 14 11:00 package.json
drwxr-xr-x   3 node     node      4096 Nov 30 09:20 src/

Obviously it's ownership of the folder is now node instead of pureuser. This is unintuitive and not very composable, because I based my container off of node:6, but the actual logged in user is pureuser. Shouldn't it be pureuser:pureuser instead of node:node?
I can modify the Dockerfiles I've hosted to get this working, but so far I haven't found any solution that works besides giving up and basing things off of the base container's node user, which could change again without warning and break my containers again.

For some reference, see the last comments on this issue and this issue. But this is really a limitation/bug of docker and not this specific container, since this can happen easily with any base container.

I'm running Linux if that's helpful info.

I think the issue here is that the node:node or pureuser:pureuser names are simply a presentation of the numeric uid:gid values mapped to a name (from /etc/passwd inside the container).
Previously, the node image did not have a user added, so the first user that was added (pureuser) got uid:gid X:Y.
Now that the node image itself already adds a user, that user (node) gets uid:gid X:Y, and the next user that's being added (pureuser) gets X+1:Y+1. Because of this, files with the same uid:gid would previously show pureuser to be the owner, but now node.
You can see this happening if you run the following;
docker run -it --rm node:6 sh -c 'useradd -m -s /bin/bash pureuser && tail -n 2 /etc/passwd'

node:x:1000:1000::/home/node:/bin/bash
pureuser:x:1001:1001::/home/pureuser:/bin/bash

What does ls -n show (i.e., show the numeric id's instead of the id's mapped to a name)? And what does cat /etc/passwd show?

Ah yeah, you're right. ls -n is showing 1000:1000, which is the same uid:gid as risto:risto on the host machine. Since now node has uid:gid of 1000:1000 instead of pureuser, which is 1001:1001, then it shows the owner as node. I see the issue now with making the current implementation more flexible.

fwiw, if there's no reason to have two users in your images, it may be worth switching your app to assume it's running as node; you can then remove the adduser line, and basically run the same as before.

Yeah that would be one solution, but it makes composing containers more frustrating. The nodejs team that wrote that container might decide to fix the new issue by removing that user again, for example, which would again spontaneously break my containers if they were pulled from docker hub after the change. I would also need to update docs on each change like this and I have no control over it.
Maybe there should be a version attribute just like libraries but for containers, so you can do something like node:6:v1.0 or node:6:commit_hash, so that base containers don't spontaneously change without the author's knowledge. Afaict there's no way to tell if base containers have changed, or to freeze the base container to a particular version.


[ISSUE #8046] Fix authentication context build for no extFields

Which Issue(s) This PR Fixes

Fixes #8046
Brief Description
Fix authentication context build for no extFields
How Did You Test This Change?
start producer/consumer without ak/sk

Codecov Report
Attention: Patch coverage is 49.18033% with 31 lines in your changes are missing coverage. Please review.

Project coverage is 42.83%. Comparing base (b39f65e) to head (190bf00).
Report is 13 commits behind head on develop.

Files
Patch %
Lines

...lient/impl/consumer/DefaultMQPullConsumerImpl.java
0.00%
6 Missing :warning:

...mq/client/impl/producer/DefaultMQProducerImpl.java
0.00%
4 Missing :warning:

...ocketmq/client/consumer/DefaultMQPullConsumer.java
0.00%
3 Missing :warning:

...g/apache/rocketmq/client/impl/MQClientAPIImpl.java
82.35%
2 Missing and 1 partial :warning:

...n/builder/DefaultAuthenticationContextBuilder.java
0.00%
1 Missing and 1 partial :warning:

...on/builder/DefaultAuthorizationContextBuilder.java
0.00%
1 Missing and 1 partial :warning:

...pl/consumer/ConsumeMessageConcurrentlyService.java
0.00%
2 Missing :warning:

.../apache/rocketmq/common/stats/MomentStatsItem.java
0.00%
2 Missing :warning:

.../rocketmq/client/impl/ClientRemotingProcessor.java
0.00%
1 Missing :warning:

...nt/impl/consumer/ConsumeMessageOrderlyService.java
50.00%
1 Missing :warning:

... and 5 more

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #8047      +/-   ##
=============================================
- Coverage      42.88%   42.83%   -0.05%
- Complexity     10348    10353       +5
=============================================
  Files           1270     1270
  Lines          88673    88692      +19
  Branches       11398    11400       +2
=============================================
- Hits           38029    37993      -36
- Misses         45950    46004      +54
- Partials        4694     4695       +1

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


Android: Add the ability to replace an existing notification when using createTriggerNotification

We have notifications in one of our apps, which remind users to do scheduled exercises. If they don't do the exercise within 20 minutes of the scheduled exercises session time, we deliver another notification to re-prompt them.
To avoid cluttering their notification drawer, we want to replace the old notification with the new one (if it's still present when the second one is delivered).
Our first idea was to schedule them with the same notification ID. This works fine if the repeat notification isn't scheduled until after the first one is delivered, but we want to schedule both at the same time. Scheduling multiple notifications at the same time, with the same ID, results in them being overwritten so only the last scheduled one is delivered.
For now, we've patched Notifee locally so that we can provide a data property to, if present, calculate the OS delivery ID differently at display time but it'd be nice if Notifee had support for doing this out of the box. Our patched version can be found here.

Not stale

Not stale

Probably best to submit a PR but definitely a useful enhancement to have 👍🏻

Very true but there isn't anything wrong with submitting a draft pr which can then be reviewed.
Research can also be done if needed until a fit for purpose solution is found and implemented 🤔

Not stale

Not stale

Not stale

Not stale

Not stale

Not stale

Not stale

Not stale

Not stale

Not stale

Not stale

Not stale

Not stale

Not stale

Not stale

Not stale


RelatedProcess model

Update RelatedProcess model
Add childID and comments.
Remove ValidateMixin
call_before decorator
Roughly port PelatedProcess test mixin
Remove decorator
Extract loki-specific test logic
Sum ensure methods into mixinSetUp
Bring relatedProcesses validators
Exctract loki-specific test logic from the relatedProcesses test mixin
Update roles of the RelatedProcess model make it whitelist-based.
Test childID
BaseMigrationRunner & BaseMigrationStep
Mechanism for efficient migration description.
IResourceManager interface
RelatedProcesses universal view & util to enable it
RelatedProcess include util
Update log messages, etc.
Refine relatedProcess test

This change is

Pull Request Test Coverage Report for Build 2773

56 of 152 (36.84%)  changed or added relevant lines in 10 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-2.04%) to 70.841%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/openprocurement/api/models/schema.py
10
16
62.5%

src/openprocurement/api/plugins/related_processes/utils.py
3
9
33.33%

src/openprocurement/api/validation.py
2
10
20.0%

src/openprocurement/api/plugins/related_processes/views/related_processes.py
11
37
29.73%

src/openprocurement/api/migration.py
19
69
27.54%

Totals

Change from base Build 2769:
-2.04%

Covered Lines:
1861

Relevant Lines:
2627

💛  - Coveralls


Modified storage, UI and 2 commands.

changed command keywords for two commands, updated error message for invalid course add format.
modified storage controller default location to data folder. Deleted old storage files.
modified ResultDisplay to snap to bottom on any text change.

Coverage decreased (-2.3%) to 78.528% when pulling 032c79859776f1788249b6cb6a357204a89ed4d8 on m-aslam-mj2:corecode into 2df0d0dbb3cc4eddf82cd2a578814c2fdb210fae on CS2113-AY1819S1-T16-1:master.


UI: support a ref attribute on data elements to reuse content

We could use a ref attribute to refer to an external data tag value, so user can reuse the settings of templates or payloads.

Won't do for we will upgrade to the new UI plugin.


Add vosk interface to streaming

Add a second websocket endpoint that returns vosk-interface like responses

PoC is done in /example


fix: Mysql should support more data types. #923

Description
fix: Mysql should support more data types. #923
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #923
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

@pkedy Phil, would you pls. to review this change again?

@pkedy any update on this?


Add TOC

Mobile on top. Large screen on right. Like quarto.
Reference:

https://docs.astro.build/en/basics/layouts/#markdownmdx-layouts
https://medium.com/@rezahedi/how-to-build-table-of-contents-in-astro-and-sectionize-the-markdown-content-78bee84e6a7f
https://kld.dev/building-table-of-contents/

Closed by #55


mat: export Dense.SolveTwoChol

@btracey Please take a look.

Shouldn't this be a method on Cholesky instead? (Probably the one that is A).

func (a *Cholesky) SolveTwo(m *Dense, b *Cholesky) error? I don't know. It's sort of troubling since the destination is nestled in the middle.

Is it that different from func (c *Cholesky) Solve(m *Dense, b Matrix) error?

Not really. I'll fix it.

PTAL


[Feature] Gauteng District Data

Source https://www.facebook.com/ward56.jhbsouth/photos/a.1786382144979883/2637016066583149/?type=3
Need to create csv for all regions. Put in data/district_data/

Any specific structure required or can I just go for it?

@codeChap Check the WC format in the district_data folder.

@codeChap

Just got a note from a spokesperson that the first 2 cannot be used as they are not verified. Created a file with gauteng regions. CLosing this.


Issues related to skipped AYON bootstrap

Is there an existing issue for this?

[X] I have searched the existing issues.

Please describe the feature you have in mind and explain what the current shortcomings are?
There is a room for some improvements when setting up local AYON instance without actually using boostrap process. Bootstrap provides you with already build AYON Launcher, dependency package and set of addons so you don't have to do all of it manually.
So when you setup the instance, you need to do several obvious things in specific order:

build ayon-launcher and upload it
create addons from openpype and upload them
create bundle and set all necessary addon versions and installer
create dependency package for the bundle and upload it and set it for the bundle

When you do all those steps, you can run AYON Launcher, but you'll quickly find that there are still few critical things missing.
ayon-third-party addon
this addon provides ffmpeg and OpenImageIO tools. You'll find out that it is missing indirectly, most likely when you'll try publish some image data and Extract Review plugin will crash on missing ffmpeg probe.
Here lies first point of improvement - errors rising from missing ffmpeg and OIIO components should suggest that you are probably missing ayon-third-party addon. Maybe even validator that validates that would be in order.
ayon-ocio
another addon that is needed whenever you turn on Color Management in AYON settings. When missing, this result in error directly when launching DCC from the Tray, stating that OCIO configs cannot be found (but not mentioning the addon at all)
How would you imagine the implementation of the feature?
I understand that when you skip bootstrapping, you are taking all technical responsibility on yourself, but there should be at least hints in resulting errors about what might be wrong. This needs to be documented obviously too.
Are there any labels you wish to add?

[X] I have added the relevant labels to the enhancement request.

Describe alternatives you've considered:
No response
Additional context:
No response
[cuID:OP-7605]

I think this is more about documentation and cleanup of dependencies than anything else. If ayon-core gets a dependency on third party libraries and ocio, that should be hint enough + noting in the docs what is the actually minimal installation.


[HOTFIX] Assign node-status response in watchdog

When merging master to compatible, there was a conflict. In master, I noticed the result of a node-status called was being discarded (o, Python!) in the watchdog.
Restore the assignment of the response. This change is already in compatible.

!approved-for-mainnet


Angular Universal not working

Using a fresh git clone and running npm run universal, when you load the the page, you get:
EXCEPTION: document is not defined
ORIGINAL STACKTRACE:
ReferenceError: document is not defined
    at new RippleRenderer (/Users/codyl/dev-files/angular-webpack2-starter/node_modules/@angular/material/material.umd.js:193:31)
    at new MdRipple (/Users/codyl/dev-files/angular-webpack2-starter/node_modules/@angular/material/material.umd.js:327:32)
    at AppView._View_MdButton1.createInternal (MdButton.ngfactory.js:63:24)
    at AppView.create (/Users/codyl/dev-files/angular-webpack2-starter/node_modules/@angular/core/bundles/core.umd.js:9178:25)
    at TemplateRef_.createEmbeddedView (/Users/codyl/dev-files/angular-webpack2-starter/node_modules/@angular/core/bundles/core.umd.js:7263:18)
    at ViewContainerRef_.createEmbeddedView (/Users/codyl/dev-files/angular-webpack2-starter/node_modules/@angular/core/bundles/core.umd.js:5103:39)
    at NgIf.Object.defineProperty.set [as ngIf] (/Users/codyl/dev-files/angular-webpack2-starter/node_modules/@angular/common/bundles/common.umd.js:1632:41)
    at AppView._View_MdButton0.detectChangesInternal (MdButton.ngfactReferenceError: document is not defined
    at new RippleRenderer (/Users/codyl/dev-files/angular-webpack2-starter/node_modules/@angular/material/material.umd.js:193:31)
    at new MdRipple (/Users/codyl/dev-files/angular-webpack2-starter/node_modules/@angular/material/material.umd.js:327:32)
    at AppView._View_MdButton1.createInternal (MdButton.ngfactory.js:63:24)
    at AppView.create (/Users/codyl/dev-files/angular-webpack2-starter/node_modules/@angular/core/bundles/core.umd.js:9178:25)
    at TemplateRef_.createEmbeddedView (/Users/codyl/dev-files/angular-webpack2-starter/node_modules/@angular/core/bundles/core.umd.js:7263:18)
    at ViewContainerRef_.createEmbeddedView (/Users/codyl/dev-files/angular-webpack2-starter/node_modules/@angular/core/bundles/core.umd.js:5103:39)
    at NgIf.Object.defineProperty.set [as ngIf] (/Users/codyl/dev-files/angular-webpack2-starter/node_modules/@angular/common/bundles/common.umd.js:1632:41)
    at AppView._View_MdButton0.detectChangesInternal (MdButton.ngfactory.js:42:25)
    at AppView.detectChanges (/Users/codyl/dev-files/angular-webpack2-starter/node_modules/@angular/core/bundles/core.umd.js:9325:18)
    at AppView.detectViewChildrenChanges (/Users/codyl/dev-files/angular-webpack2-starter/node_modules/@angular/core/bundles/core.umd.js:9351:23)
ory.js:42:25)
    at AppView.detectChanges (/Users/codyl/dev-files/angular-webpack2-starter/node_modules/@angular/core/bundles/core.umd.js:9325:18)
    at AppView.detectViewChildrenChanges (/Users/codyl/dev-files/angular-webpack2-starter/node_modules/@angular/core/bundles/core.umd.js:9351:23)

@meenie Material alpha-9 broke it's compatibility to Universal, but alpha 8 works fine, see this thread: https://github.com/qdouble/angular-webpack2-starter/issues/97
The Bootstrap and Universal Branch works without issue (https://github.com/qdouble/angular-webpack2-starter/tree/bootstrap-and-universal), so it's a material issue, not a Universal issue.

Good to know! Suppose I should have looked at closed issues first :).  Thanks!

So, I've tried the bootstrap-and-universal branch. Switched over, ran npm install, then npm run universal and the following errors happened:
    Hash: d4fbc14ee34793a1ac77
    Version: webpack 2.1.0-beta.25
    Time: 1741ms
    [./constants.js] ./constants.js 2.8 kB {0} [built]
    [./helpers.js] ./helpers.js 1.16 kB {0} [built]
    [./src/app/app.module.universal.node.ts] ./src/app/app.module.universal.node.ts 331 bytes {0} [built] [failed] [1 error]
    [./src/polyfills.server.ts] ./src/polyfills.server.ts 81 bytes {0} [built]
    [./src/rxjs.imports.ts] ./src/rxjs.imports.ts 891 bytes {0} [built]
    [./src/server.routes.ts] ./src/server.routes.ts 332 bytes {0} [built] [failed] [1 error]
    [./src/server.ts] ./src/server.ts 1.88 kB {0} [built]
        + 38 hidden modules

    ERROR in ./src/server.routes.ts
    Module parse failed: /Users/codyl/dev-files/angular-webpack2-starter/src/server.routes.ts Unexpected token (3:19)
    You may need an appropriate loader to handle this file type.
    | // Routes with html5pushstate
    | // ensure routes match client-side-app
    | export const routes: string[] = [
    |   'lazy',
    |   'sync'
     @ ./src/server.ts 19:0-41

    ERROR in ./src/app/app.module.universal.node.ts
    Module parse failed: /Users/codyl/dev-files/angular-webpack2-starter/src/app/app.module.universal.node.ts Unexpected character '@' (19:0)
    You may need an appropriate loader to handle this file type.
    | import { AppComponent } from './app.component';
    |
    | @NgModule({
    |   declarations: [
    |     AppComponent,
     @ ./src/server.ts 18:0-60

    ERROR in index.js from UglifyJs
    SyntaxError: Unexpected token punc «,», expected punc «:» [index.js:410,7]

can you try it from a fresh clone before I investigate? I know sometimes there can be issues caused by switching between branches
git clone -b bootstrap-and-universal https://github.com/qdouble/angular-webpack2-starter.git

@qdouble: Using a fresh clone and it still happens.

→ node -v
v6.1.0

→ npm -v
3.8.6

okay, I see it... must be something that popped up recently, will try to hunt it down

Should be fixed with this commit: https://github.com/qdouble/angular-webpack2-starter/commit/fd0208670b9fb05d30debeeecd1c09eb319afa0e
Probably don't need that there, but seems to fail if I don't create any rules and broke when I removed what I set there from the material branch.


HADOOP-17601. Upgrade Jackson databind in branch-2.10 to <IP_ADDRESS>

Upgrade Jackson databind in branch-2.10 from <IP_ADDRESS> to <IP_ADDRESS>: https://issues.apache.org/jira/browse/HADOOP-17601
Two known vulnerabilities found in Jackson-databind:
CVE-2021-20190 high severity
CVE-2020-25649 high severity

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
10m 57s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ branch-2.10 Compile Tests _

+1 :green_heart:
mvninstall
15m 24s
branch-2.10 passed

+1 :green_heart:
compile
0m 21s
branch-2.10 passed with JDK Azul Systems, Inc.-1.7.0_262-b10

+1 :green_heart:
compile
0m 18s
branch-2.10 passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~16.04-b08

+1 :green_heart:
mvnsite
0m 22s
branch-2.10 passed

+1 :green_heart:
javadoc
0m 23s
branch-2.10 passed with JDK Azul Systems, Inc.-1.7.0_262-b10

+1 :green_heart:
javadoc
0m 18s
branch-2.10 passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~16.04-b08

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 13s
the patch passed

+1 :green_heart:
compile
0m 14s
the patch passed with JDK Azul Systems, Inc.-1.7.0_262-b10

+1 :green_heart:
javac
0m 14s
the patch passed

+1 :green_heart:
compile
0m 12s
the patch passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~16.04-b08

+1 :green_heart:
javac
0m 12s
the patch passed

+1 :green_heart:
mvnsite
0m 14s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
xml
0m  2s
The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
0m 14s
the patch passed with JDK Azul Systems, Inc.-1.7.0_262-b10

+1 :green_heart:
javadoc
0m 13s
the patch passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~16.04-b08

_ Other Tests _

+1 :green_heart:
unit
0m 12s
hadoop-project in the patch passed.

+1 :green_heart:
asflicense
0m 25s
The patch does not generate ASF License warnings.

33m 15s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2835/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2835

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient xml

uname
Linux 690657b0e940 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-2.10 / 616256b

Default Java
Private Build-1.8.0_282-8u282-b08-0ubuntu1~16.04-b08

Multi-JDK versions
/usr/lib/jvm/zulu-7-amd64:Azul Systems, Inc.-1.7.0_262-b10 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_282-8u282-b08-0ubuntu1~16.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2835/1/testReport/

Max. process+thread count
93 (vs. ulimit of 5500)

modules
C: hadoop-project U: hadoop-project

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2835/1/console

versions
git=2.7.4 maven=3.3.9

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Thanks @jojochuang !
Can you please commit the change to branch-2.10?

Sorry my bad. Merged.


Use .gitignore by default for excluding paths

Use .gitignore file by default for excluding paths from linting.

As .gitignore is used for git tracked files specifically, I don't think its wise to use it for tslint. There is a converation ongoing here about the idea of using .tslintignore, so going to close this as a dupe.


Update cert manager image in the EKS-A bundle with new image

Description of changes:
The cert-manager-ctl image was replaced with cert-manager-startupapicheck image in #3790 when cert-manager was bumped to v1.15.3. This PR updates the corresponding field in the EKS-A bundle to match the upstream image.
Testing (if applicable):
make eks-a
make lint
make unit-test
make generate
make generate-manifests
make release-manifests
make build-all-test-binaries
make -C release manifests
make -C release update-bundle-golden-files

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/test eks-anywhere-e2e-presubmit

/approve

/lgtm

/hold

/unhold


Permanent Session - Remember my login - idsrv.session expiration

While in idsrv3 idrv.session cookie has an expiration time of approx one month in idsrv4 the cookie expires at the end of the browser session. I guess this is the reason why I am not able to make a permanent session even when "Remember my login" is checked. Is there an intention to change it in future versions ?

Those cookies do different (but related) things, so I'm a little confused by the question. We're still working on some of these parts, so I'm not yet sure what direction we will end up with. Do you have a specific use-case or feature request?

Thank you for your answer.
My application is not very critical regarding security, and so I currently use an idsrv3 based solution using implicit flow and "Remember my Login" functionality. Now I started to port to idsrv4 and I am afraid my customers will be unhappy when they have to login whenever they start a browser session.
So I started to analyze the difference between idsrv3 and idsrv4 login flow of http messages and detected that idsrv4.session cookie has only session lifetime. Than I compared idsrv3 and idsrv4 sources and found that this functionality is not available any more (or not until now) in idsrv4. "Remember me" checkbox is ignored. Can you tell me if it is planned to support it in future versions ? If not, can you give me a hint how I can add this functionality ?
Of course I can tinker some cookie storage logic, but I want to do it in an OIDC compliant way.
I searched in the OpenID connect specs, but got no answer for my problem.

In IdSvr4 the entire UI for login will be the responsibility of the developer (you) and not the framework (us). So you can issue your own persistent cookie if you want. If the current UI does not honor the "remember me", then that's a bug in the sample.

I understand that "remember me" is not really part of the OIDC specs and therefore idsrv4 will not support this functionality (other then idsrv3). So I have the choice to continue using idsrv3 or add the missing functionality on my side. Ok, thanks, I have the info needed to decide.

What Brock is saying is - that in idsrv4 we are separating the UI from the protocol bits.
Remember Me is a UI feature. Once we get closer to RTM we will have a standard UI implementation that will support remember me OOB.

Great to hear, implementing it inside idsrv4 will be a much better solution than tinkering arround !!

I've done some thinking on this... session ID cookie is, in a sense, derived from the authentication cookie, but it's hard to have the session cookie know the options used for the main authentication cookie. We do need 2 cookies, and it's unfortunate that these could get of of sync. I'm wondering if it makes sense to:

put the session ID into the properties of the main authentication cookie, and when we need to emit the session ID cookie we read the value from the main authN cookie. if it's absent in the main authN cookie we add it (and re-issue the main authN cookie).

have middleware in IdSvr that always emits the session cookie if it's absent on the incoming request. Sort of a self-healing session ID. this way if the main authN cookie changes, we won't get out of sync (or at least we'll correct ourselves the next time a request is made into IdSvr).

Ok, I'll track this here: https://github.com/IdentityServer/IdentityServer4/issues/240


Jobsearch Use-Case

You can now enter data in "professional » search job", that's tailored to be matched with the hokify job-offers.
Doesn't include yet:

icons
sparql-queries
manually entered job-offers

test:

post job search with all details
compare the generated RDF against the following json-ld pseudo-code (taken from our modelling document):

```json
{
  "won:is" : {
    "@type": "s:Person",
  }

  "won:seeks": {
    "@type": "s:JobPosting",

    "s:employmentType": "Full-time", // full-time/vollzeit, part-time,... - use a dropdown
    "s:industry": ["Computer Software", "Design"], // match by checking for intersection + text-similarity and translations

    //"s:baseSalary": {...}, // free-form-text in hokify json; can't match :|

    "s:hiringOrganization": { // for ppl who only want offers from a specific organization (rather niche tho)
      "@type": "s:Organization",
      "s:name": "Google", // JSON - company
    },

    "s:jobLocation": [
      {
        "@type": "s:Place",
        "s:geo": {
          "@id": "https://satvm05.researchstudio.at/won/resource/need/rsiiungn085u/location/6l7plycz2g", // unique id; i assume it's necessary for the geo-service
          "@type": "s:GeoCoordinates",
          "s:latitude": "48.216931",
          "s:longitude": "16.361197"
        },
        "s:address": { // couldn't match that atm either + using nominatim guarantees that addresses are resolvable
          "@type": "s:PostalAddress",
          "s:addressCountry": "AT",
          "s:addressLocality": "Vienna"
        }
      },
      {
        "@type": "s:Place",
        //...
        "s:address": {
          //...
          "s:addressLocality": "Graz"
        }
      }
    ],

  }
}

An error occurs when adding a location to a new custom post and sometimes also to a new job search:

A parsing error occurs in the transport route picker:

So something went wrong with the refactoring of location.js

Should be fixed now. Please avoid using this in javascript, as it's notoriously unclear what it refers to. Rather stick to pure/side-effect free functions where everything is contained in the function signature as far as possible :)


Fix 10472: Invalid emitted code for await expression

Fix #10472
Depended on if we will merge master to release-2.0, i will cherry-pick the change in as appropriate

👍


Add Prepared statement sql to query lifecycle events

The commit makes two changes at a high level.
(1) Modifies QueryInfo and BasicQueryInfo for EXECUTE statements to include
sql query from the corresponding PREPARE.
(2) Update QueryMetadata to include the prepared sql for QueryCreated and
QueryCompleted events.
This partly fixes:  https://github.com/prestodb/presto/issues/12009

This was approved on prestodb but never merged: https://github.com/prestodb/presto/pull/12020
Applied the same patch to prestosql. @electrum

@cla-bot check

Merged. Thanks for your contribution!


D flip flop $DFFSR_NPP not defined for ICE40

First off I'm a total beginner in the fpga world but I was intrigued when I found about the FOSS toolchain. Thank you for your great work.
The design that I'm trying to synthesize is the sump2 logic analyzer for the ICOBoard but I get the following error from arachne-pnr:
top.blif:11335: fatal error: unknown model `$_DFFSR_NPP_'

After searching thought the sources  I found that $DFFSR_NPP  flip flop is not present for  ICE40 devices.
Is there any limitation for this module to not be present for ICE40 devices?

Is there any limitation for this module to not be present for ICE40 devices?

I think this is a question you have to direct to Lattice (or SiliconBlue), not me. I did not design the iCE40 devices. But it is quite common for FPGAs to not support SR flip-flops. Most of them don't.
(In some cases the vendor tools output a warning message that the developer ignores because he doesn't understand it and the tools implement the SR-FF as a FF with async reset, a second FF with async set, a latch that remembers if set or reset was last used, and a MUX that select one of the two FFs based on the latch output.

The design that I'm trying to synthesize is the sump2 logic analyzer

Then this is a sign that the HDL code for sump is badly broken and needs to be fixed.


How to get the Derivatives (Jacobians)

Hi, @jedeschaud
I think you've done a great job in the field of SLAM. The results of CT-ICP is significant. The coding is good too. Would you please tell me how to get the derivatives (jacobians) of CTPointToPlaneFunctor with respect to the corresponding two poses? I see you didn't use any form of cost function defined in ceres such as AutoDiffCostFunction. So i wonder how the optimization works by gradients?
https://github.com/jedeschaud/ct_icp/blob/1ba7ce704e9994d39076089ea3fc0dc4d856fe84/src/ct_icp/cost_functions.h#L71

Hi @YangSiri,
So we are indeed actually using the AutoDiffCostFunction,
However in the file you refered to, we only define the Cost Functors,
The cost functions are defined here:
https://github.com/jedeschaud/ct_icp/blob/1ba7ce704e9994d39076089ea3fc0dc4d856fe84/src/ct_icp/ct_icp.cpp#L229
Does this answer your question ?
Best regards,

Thanks, @pdell-kitware
I see your point. So i wonder whether you analytically infer the derivatives which i'm working on recently.
Very glad to receive your reply~

Hi, @YangSiri ,have you analytically infer the derivatives?
I'm working on it recently, and cannot get a good result.


Automation triggers even it switched off

Home Assistant release with the issue:
0.82 (started from ~0.8x)
Last working Home Assistant release (if known):
somwhere 0.7x (I don't remember)
Operating environment (Hass.io/Docker/Windows/etc.):
native homeassistant on Ubuntu 18.04
Component/platform:
automation
Description of problem:
I have a automation which "kills" (switch off) itself on run. Its initiak state is OFF too. (other automation switch it ON)
After HA start/reload, the initial off state is OK, the automation not triggers. But after switched on, triggered and switched itself off again, it still runs on every new trigger.
(Already issued in #11838 but that is closed)
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
- id: scene_anybody_home
  alias: Scene set when anybody arrives home
  initial_state: off
  trigger:
    platform: mqtt
    topic: "tele/rf-bridge/RESULT"
  condition:
    condition: and
    conditions:
      - condition: template
        value_template: '{{ trigger.payload_json.RfReceived.RfKey == 15 }}'
      - condition: state
        entity_id: input_boolean.somebody_at_home
        state: 'on'
  action:
    - service: automation.turn_off
      entity_id: automation.scene_set_when_anybody_arrives_home
    - service: script.cover_open_if_sun_above_horizon
    - service: script.minimal_light_if_sun_below_horizon
    - condition: state
      state: home
      entity_id: device_tracker.junior_3t
    - service: media_player.turn_on
      entity_id: media_player.hifi

Traceback (if applicable):
Dec  1 07:40:47 penguin hass[16170]: 2018-12-01 07:40:47 INFO (MainThread) [homeassistant.components.automation] Executing Scene set when anybody arrives home
Dec  1 08:01:19 penguin hass[16170]: 2018-12-01 08:01:19 INFO (MainThread) [homeassistant.components.automation] Executing Scene set when anybody arrives home

Additional information:

#11838

@balloobbot
The problem still persist in 0.84, 0.85
I upgraded to 0.86 only 2 days ago, not enough data yet.

Just checking, the name of the automation is "scene_anybody_home" but the entity_id for the automation.turn_off is "automation.scene_set_when_anybody_arrives_home". That, imo, looks incorrect, or something from the configuration is missing.

@Lewenhaupt No. Entities called by a generated id from name (or alias) lowercased and whitespaces changed to underline, not the "id" parameter, you set. I know, it's strange, but works. I see, the automation turns off and on correctly, but sometimes still triggers.

Right, my bad! Another option, seeing as this is something you want to do once, could you perhaps turn it into a service instead? That way you can trigger it from the same place you you turn the input boolean on from?

22 mars 2019 kl. 09:52 skrev junior013<EMAIL_ADDRESS>@Lewenhaupt No. Entities called by a generated id from name (or alias) lowercased and whitespaces changed to underline, not the "id" parameter, you set. I know, it's strange, but works. I see, the automation turns off and on correctly, but sometimes still triggers.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


[DW1000Ranging] TAG/ANCHOR address should not be random

It is difficult to identify anchors if their addresses are random. Especially, if there is no wired connection between them.
There should be an option for a static address  ( DW1000RangingClass::startAsAnchor / startAsTag ).

This is on my list of things to do next week :)

I've got this sorted! ha..haa...EASY!

Is there a method of administering static addresses/names to the anchor/tag as we flash the devices?

have you made it yet Mike , we count on you a lot =))

Sorry for never replying, I stoped working on this project some time ago. In DW1000Ranging.cpp there are two functions DW1000RangingClass::startAsTag void DW1000RangingClass::startAsAnchor
In these the following code creates the address
	randomSeed(analogRead(0));
	_currentShortAddress[0] = random(0, 256);
	_currentShortAddress[1] = random(0, 256);
I simply changed the function to take the last two bytes of the long address currentAddress which is set when you start a tag or anchor.

Changed by @gautierhattenberger . Thanks.


Check kube-scheduler restarting in Operator

Move logic of kube-scheduler restart waiting from e2e tests to Operator
Create flag if CSI is Running or deploy csi-baremetal-node only after restart

Was implemented under another issue.


Booting problem EFI v1.2.3

Hi! Can't boot with EFI v1.2.3.
The progress bar is blinking from the beginning and on the 60% restarts the laptop.
Who knows where is might be a problem?
High Sierra 10.13.5 (EFI 1.2.2)
Mi Notebook Pro 15.6 i7 / 16GB with factory BIOS firmware.

@MikitaKurlovich Make sure you delete BOOT and CLOVER folders and then copy them from the pack in release page. If you don't mind, can I have a look at your CLOVER folder?

I'm sure absolutely. I did it 3 times. First time from the Clover Configurator and after that in win10 (Explorer++)
After that, I tried to make changes separately (update kexts which works before with the same names) but there is the same problem.
Now my BOOT and CLOVER folder similar like in EFI v1.2.2. Is it will be useful for you?
I decided to update my EFI because I have a problem with HDMI output. When I plug in external monitor my laptop monitor turns black and does not change after disconnecting the HDMI cable.

HDMI problem can be solved by close the lid for a few seconds and reopen it. I will restore my device to 10.13.5 to check whether if it works or not.

@stevezhengshiqi I can update my macOS to 10.13.6 and will try again.

One more question about 3.5 audio output. Is it work correctly? I hear only noise...

I think 3.5 audio output is all about CodecCommander.kext and SSDT-ALC298_XiaoMiPro, which I haven't made any changes yet. CodecCommander.kext has to be put in /L/E and rebuild the kextcache.

So… I tried to update to the 10.13.6 from the App Store and at the 60-65% I got a error. Now I can’t boot Mac :/

I think it's because the removal of IntelGraphicsDVMTFixup.kext. I will put it back in my 1.2.3 release.

I encountered the same problem when installing daliansky’s 10.13.6 image using the latest v1.2.3 EFI release. It keeps restarting at about 60%. I tried both removing EFI then copy, and overriding, but neither worked. After I switch to the 5-14  release and 10.13.4, the problem gone.
BTW, if I keep using the 5-14 release, can I upgrade the system to 10.13.6 through Mac App Store?

@stevezhengshiqi Thanks a lot! I will try it later.


Unable to make POST request to jenkins - status 400

Harbormaster build log says -
400 Bad request
Your browser sent an invalid request.

On opening the link below, build starts successfully-
https://f5361d02.ngrok.io/job/v3 test/buildWithParameters?job=v3 test&PHID=PHID-HMBT-6ewovqeovgbpq4cfimpj&DIFF_ID=209&token=PHID-CDTL-shhug7eqi5m65k3hyssb
But the build is not being triggered on its own.(Although I have applied the authentication token in the jenkins configuration)

@Chhayak74 I too ran into the same problem, did you find any solution to this?

@riteshshrv I missed out on installing 'Build Token Root Plugin'. After installing it, everything is working perfectly.


[Android] Actions.pop() transition slow

Hi,
I create iOS & Android mobile app with this plugin
iOS version is work very smoothly
But Android version seems not smooth on transition, especially on Actions.pop()
Here is my NavBar.js
import React, {
  Component,
  PropTypes,
  StyleSheet,
  Navigator,
  BackAndroid,
  View,
  Text,
  TouchableOpacity,
  ToolbarAndroid,
} from 'react-native'
import { Actions } from 'react-native-redux-router'

export default class NavBar extends Component {
  static propTypes = {
    header: PropTypes.string,
  }

  componentWillMount () {
    const { navigator } = this.props

    this.isChildRoute = () => (
      navigator &&
      navigator.getCurrentRoutes().length > 1
    )

    BackAndroid.addEventListener('hardwareBackPress', () => {
      if (this.isChildRoute()) {
        Actions.pop()
        return true
      }

      return false
    })
  }

  getAction = () => {
    const actionsForParentRoute = [
      { title: 'Refresh',
        route: this.props.route.name,
        show: 'always'
      },
      { title: 'Foo',
        route: 'foo',
        show: 'always'
      },
      { title: 'Bar',
        route: 'bar',
        show: 'always',
      },
    ]

    if (this.isChildRoute()) {
      return {
        actions: [
          { title: 'Back', show: 'always' }
        ],
        onActionSelected: () => {
          // transition on `pop` doesn't work smoothly
          Actions.pop()
        }.bind(this)
      }
    }
    return {
      actions: actionsForParentRoute,
      onActionSelected: (position) => {
        const { route, title } = actionsForParentRoute[position]
        Actions.replace({
          name: route,
          title: title,
        })
      }
    }
  }

  render () {
    const { actions, onActionSelected } = this.getAction()

    return (
      <ToolbarAndroid
        style={styles.toolbar}
        title={this.props.title}
        titleColor='#fff'
        actions={actions}
        onActionSelected={onActionSelected}
      />
    )
  }
}

const styles = {
  toolbar: {
    backgroundColor: '#f44336',
    height: 56,
  }
}

I think is was an issue in RN that was recently solved in the latest release.

RN 0.16.0 use babel 6, which didn't work well with react-redux :(

My current solution is sceneConfig={Navigator.SceneConfigs.FloatFromBottomAndroid} on Schema rather than use react-native-redux-router Animation
It's work smoothly now


refactor: replace notification-component-icon, with notification-icon

Replaces React with Vue.
Supports scoped styles to avoid style bleed out.
resolves #125

/cc @mindblender

Deployed with uPortal-start, I'm seeing the following error in both Firefox and Chrome.

@jonathanmtran you should add the vuejs lib like here https://github.com/uPortal-contrib/uPortal-web-components/tree/master/%40uportal/esco-content-menu#html

I added Vue per @jgribonvald's suggestion, but the icon still doesn't render

@jonathanmtran
npm run build

edit build/static/js/demo.html to
<meta charset="utf-8">
<title>notification-icon demo</title>
<script src="https://unpkg.com/vue"></script>
<script src="./notification-icon.js"></script>

<notification-icon debug notification-api-url="sample-notifications.json"></notification-icon>

copy public/sample-notifications.json to build/static/js/sample-notifications.json
npx serve build/static/js

visit http://localhost:5000/demo

We're getting somewhere ... looks the styles need to be tweaked a bit at this point
Firefox ESR

Latest Firefox

Chromium

I'm seeing that as well, working to cleanup the styles.

Also you don't provide a .npmignore file ?

Not yet, this currently isn't being released to npm.
When it is, either a .npmignore or a files attribute in package.json will be added.

IE support blocked by https://github.com/vuejs/vue-cli/issues/3096

This is what I'm seeing with 6ddd42d

Firefox ESR

Firefox

Chromium


Fix version

Got a failure on release here. I am not sure that actually worked before? Trying to fix this here.
I think there are two issues.

[x] The version is not parsed properly (see here)
[x] I think the pypi auth token was never set (or got lost during the transfer).

@norlandrhagen  did you set up the publishing in the first place?

Ok lets see if this works for the release.


Properly handle trailing line and block comments

For example:
code // trailing
or
code/* trailing*/
or
code/* trailing
trailing next line too
*/```

mostly corrected in block overflow, not dealt with any of the other 3 scenarios

Disabled handling of trailing single line comments. In the future this would be a cool thing to investigate and possibly support.


Add support for YTDL-PATCHED

YTDL-PATCHED
ytdl-patched is a up-to-date version (snapshot) of yt-dlp and with few changes/ new features.
This issue is to request for adding the ytdl-patched as new backend.

Will try to use ytdl-patched in the future, or you can also try changing the file name to yt-dlp.exe, roughly they share the same parameters (I haven't tried it yet, but in yt-dlp and youtube- dl is common)

Will try to use ytdl-patched in the future, or you can also try changing the file name to yt-dlp.exe, roughly they share the same parameters (I haven't tried it yet, but in yt-dlp and youtube- dl is common)

Okay I’ll try it.

Hello
I adjusted the GUI so that you can automatically map YTDL-PATCHED without changing the file name.
Please pay attention when using, only keep one kind of executable file (yt-dlp or ytdl-pattched or ...) to avoid misuse of GUI.
I didn't take the time to test this project, I made them generic on the premise that they all inherit from youtube-dl.
Hope this fits your needs :)


Fix for missing pip node status

Also changed the child process to spawn instead of execSync and removed the "None" action option.

Thank you @FrederikPM for the quick development!
I checked that execSync is changed to spawn and the state of the node is displayed.

I have also checked that errors are displayed.

Unlike the venv node, there is no indicator of Stanby, but I think this is fine for the pip node.
It makes for easier to see the whole flow.
The reason I included the None option is that in some cases other pip commands are used other than list, install, and uninstall.
There are many variations of the pip command, as follows.
https://pip.pypa.io/en/stable/cli/pip/
I think it is fine to implement other pip commands when they become necessary.
What do you think about the list of pip commands?

Hmm. What do you say about having a command input instead which would allow the user to input <command> [options] .... as specified by the pip documentation such then no action select is needed?
The pip node could then simply consist of the command input row and, when multiple virtual environments are supported, a select menu for the venv.

@FrederikPM
Well, I have not implemented the pip node according to the pip documentation so far, but it might be a good idea to change it.
Implementing that will be done later, and I merge this Pull Request.
Thank you for the quick development and your suggestions!


Error running server

I have downloaded the release v0.44 (agar-mini-map-v0.44-win-x64.zip), I have executed the install and build without any errors, but when I try to run the server I get this error:

I'm using the following software:

Windows 7 x64
Node.js v0.12.7
Python 2.7.10
Microsoft NET Framework 2.0 SDK
Microsoft Visual Studio Community 2015 RC

Try to remove node_modules and npm install again
Spyroh<EMAIL_ADDRESS>於 2015年7月20日週一 下午4:59 寫道：

I have downloaded the release v0.44 (agar-mini-map-v0.44-win-x64.zip), I
have executed the install and build without any errors, but when I try to
run the server I get this error:
[image: minimap server error]
https://cloud.githubusercontent.com/assets/13414586/8772665/44dbb1cc-2ece-11e5-90ca-852287eb1059.png
I'm using the following software:

Windows 7 x64
Node.js v0.12.7
Python 2.7.10
Microsoft NET Framework 2.0 SDK
Microsoft Visual Studio Community 2015 RC

—
Reply to this email directly or view it on GitHub
https://github.com/dimotsai/agar-mini-map/issues/13.

Ok.
Here is the result of doing that:

@Spyroh I am not sure whether VS2015 works well or not at the compiling process. But I have already done npm install and npm run build in the release agar-mini-map-v0.44-win-x64.zip, so you don't have do it again, just do npm run start and it should work.
However, if you want to build the dependencies by your self, VS2013 would be more suitable.

Oh ok, I didn't know that I could do the npm run start directly (I was just following the instructions on the README.md). I just want to run the server ASAP so I don't want to build anything myself if it's not needed.
Unfortunately if I do that (just unzip and npm run start on the server folder) I get exactly the same error on the screenshot on the first post. :-(

@Spyroh Is your nodejs x64 version?

I was using the x86 version (lol) that was the problem.
It runs perfectly now with just unzipping and npm run start.
Thx. :-)

I'm having the same problem. Btw see this and recommend me what to download:

We currently don't support Windows 32-bit yet.

Oh, please do make it 32- bit.
On Aug 21, 2015 10:53 PM, "Dimo"<EMAIL_ADDRESS>wrote:

We currently don't support Windows 32-bit yet.
—
Reply to this email directly or view it on GitHub
https://github.com/dimotsai/agar-mini-map/issues/13#issuecomment-133511811
.

plz agar mini map in win-32bit plz :'c
very many people use win-32 at need this map in the game


use tracing e.g. debug! instead of println!

Can control log level and better instrumentation tooling

Closed by #16


OutOfMemory error on uploading file

Hello
I'm implementing a service for uploading files, which requries uploading huge files to server
I do it in chunks which requires a lot of requests.
After some time I always get outofmemory exeception:
 Throwing OutOfMemoryError "Failed to allocate a 2060 byte allocation with 1328 free bytes and 1328B until OOM"
04-04 13:02:27.608 7536-10064/by.set.pibox E/art: Throwing OutOfMemoryError "Failed to allocate a 3904 byte allocation with 0 free bytes and 0B until OOM" (recursive case)
04-04 13:02:27.751 7536-10064/by.set.pibox E/art: "pool-15-thread-1" prio=5 tid=96 Runnable
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:   | group="main" sCount=0 dsCount=0 obj=0x32c0aee0 self=0xe13af000
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:   | sysTid=10064 nice=0 cgrp=default sched=0/0 handle=0xdd40e880
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:   | state=R schedstat=(<PHONE_NUMBER>2<PHONE_NUMBER> 12061 ) utm=2248 stm=982 core=3 HZ=100
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:   | stack=0xdb821000-0xdb823000 stackSize=1036KB
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:   | held mutexes= "mutator lock"(shared held)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:   native: #00 pc 0000485c  /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+23)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:   native: #01 pc 00003005  /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+8)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:   native: #02 pc 00243911  /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, char const*, art::mirror::ArtMethod*)+68)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:   native: #03 pc 002267e9  /system/lib/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+140)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:   native: #04 pc 00229ac7  /system/lib/libart.so (art::Thread::ThrowOutOfMemoryError(char const*)+258)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:   native: #05 pc 0013ce97  /system/lib/libart.so (art::gc::Heap::ThrowOutOfMemoryError(art::Thread*, unsigned int, art::gc::AllocatorType)+818)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:   native: #06 pc 0013eda7  /system/lib/libart.so (art::gc::Heap::AllocateInternalWithGc(art::Thread*, art::gc::AllocatorType, unsigned int, unsigned int*, unsigned int*, art::mirror::Class**)+634)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:   native: #07 pc 00229f0d  /system/lib/libart.so (art::mirror::Array* art::mirror::Array::Alloc<true>(art::Thread*, art::mirror::Class*, int, unsigned int, art::gc::AllocatorType, bool) (.constprop.210)+884)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:   native: #08 pc 0022a3fd  /system/lib/libart.so (_jobject* art::Thread::CreateInternalStackTrace<false>(art::ScopedObjectAccessAlreadyRunnable const&) const+176)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:   native: #09 pc 001fca8b  /system/lib/libart.so (art::Throwable_nativeFillInStackTrace(_JNIEnv*, _jclass*)+18)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:   native: #10 pc 00000c1d  /data/dalvik-cache/arm/system<EMAIL_ADDRESS>(Java_java_lang_Throwable_nativeFillInStackTrace__+80)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:     at java.lang.Throwable.nativeFillInStackTrace!(Native method)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:     at java.lang.Throwable.fillInStackTrace(Throwable.java:166)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:     at java.lang.Throwable.<init>(Throwable.java:95)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:     at java.lang.Error.<init>(Error.java:48)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:     at java.lang.VirtualMachineError.<init>(VirtualMachineError.java:46)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:     at java.lang.OutOfMemoryError.<init>(OutOfMemoryError.java:44)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:     at okio.Segment.<init>(Segment.java:58)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:     at okio.SegmentPool.take(SegmentPool.java:46)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:     at okio.Buffer.writableSegment(Buffer.java:1120)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:     at okio.Buffer.write(Buffer.java:940)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:     at okio.RealBufferedSink.write(RealBufferedSink.java:95)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:     at com.squareup.okhttp.RequestBody$2.writeTo(RequestBody.java:96)
04-04 13:02:27.752 7536-10064/by.set.pibox E/art:     at com.squareup.okhttp.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:887)
04-04 13:02:27.753 7536-10064/by.set.pibox E/art:     at com.squareup.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:749)
04-04 13:02:27.753 7536-10064/by.set.pibox E/art:     at com.squareup.okhttp.Call.getResponse(Call.java:268)
04-04 13:02:27.753 7536-10064/by.set.pibox E/art:     at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:224)
04-04 13:02:27.753 7536-10064/by.set.pibox E/art:     at by.set.pibox.upload.uploadService.HttpUploadTask$1.intercept(HttpUploadTask.java:122)
04-04 13:02:27.753 7536-10064/by.set.pibox E/art:     at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:221)
04-04 13:02:27.753 7536-10064/by.set.pibox E/art:     at com.squareup.okhttp.Call.getResponseWithInterceptorChain(Call.java:195)
04-04 13:02:27.753 7536-10064/by.set.pibox E/art:     at com.squareup.okhttp.Call.execute(Call.java:79)
04-04 13:02:27.753 7536-10064/by.set.pibox E/art:     at by.set.pibox.upload.uploadService.HttpUploadTask.loadToAzure(HttpUploadTask.java:227)
04-04 13:02:27.753 7536-10064/by.set.pibox E/art:     at by.set.pibox.upload.uploadService.HttpUploadTask.upload(HttpUploadTask.java:159)

I use two instances of OkHttp, one gets the url for uploading, and the other
loads the chunk to the cloud service.
Here's the code for file uploading:
HashMap<String, String> headers = response.getHeaders();
            String url = response.getUrl();

            int readCount;
            byte[] buffer;
            FileInputStream stream = new FileInputStream(file);
            stream.skip(uploadedBodyBytes);
            byte[] readBuffer = new byte[PART_SIZE];
            readCount = stream.read(readBuffer, 0, PART_SIZE);
            buffer = new byte[readCount];
            System.arraycopy(readBuffer, 0, buffer, 0, readCount);
            stream.close();

            RequestBody content = RequestBody.create(MediaType.parse(contentType), buffer, 0, buffer.length);
            Request.Builder builder = new Request.Builder();

            for (Map.Entry<String, String>entry : headers.entrySet()) {
              builder.addHeader(entry.getKey(), entry.getValue());
            }

            Request azureRequest =  builder.url(url).put(content).build();
            Response azureResponse = client.newCall(azureRequest).execute();
            if (azureResponse.code()/100==2 &&shouldContinue) {
                Log.e(getClass().getSimpleName(), azureResponse.code() + " " + azureResponse.message());
                uploadedBodyBytes +=readCount;
                if (uploadedBodyBytes>=totalBodyBytes)
                    confirmUpload();
                else {
                    broadcastProgress(uploadedBodyBytes, totalBodyBytes);
                    upload();
                }
            }

Issue was previously closed :Previous link
But this can't be the case, because actually the response body returned by the cloud service is empty
In fact, I removed these parts of code, used only for debugging, but still get the same error
Please help

What does calling upload() do? It looks like you're recursively uploading these parts which will keep every part's byte[] referenced on the stack as ineligible for garbage collection. This is effectively the same as reading the entire file into memory.
You should use an imperative approach which re-uses the same byte[], or better yet just uses Okio's Okio.source mechanism whose skip method actually works. You might be silently sending corrupt data since FileInputStream's isn't guaranteed to skip the amount you pass it.

Well, upload calls the server for the url for the next chunk
Okay, thanks,I will try to use Okio and see what happens

Well damn it, got away from OutOfMemory error, and now get TooManyFilesx exception after uploading around 240 chunks
Suspending all threads took: 74.024ms
04-05 13:08:04.230 30682-764/by.set.pibox W/System.err:     at libcore.io.IoBridge.socket(IoBridge.java:623)
04-05 13:08:04.230 30682-764/by.set.pibox W/System.err:     at java.net.PlainSocketImpl.create(PlainSocketImpl.java:198)
04-05 13:08:04.230 30682-764/by.set.pibox W/System.err:     at java.net.Socket.checkOpenAndCreate(Socket.java:687)
04-05 13:08:04.230 30682-764/by.set.pibox W/System.err:     at java.net.Socket.setSoTimeout(Socket.java:541)
04-05 13:08:04.230 30682-764/by.set.pibox W/System.err:     at com.android.org.conscrypt.OpenSSLSocketImpl.setSoTimeout(OpenSSLSocketImpl.java:1018)
04-05 13:08:04.230 30682-764/by.set.pibox W/System.err:     at com.android.org.conscrypt.OpenSSLSocketImplWrapper.setSoTimeout(OpenSSLSocketImplWrapper.java:111)
04-05 13:08:04.230 30682-764/by.set.pibox W/System.err:     at com.squareup.okhttp.Connection.setTimeouts(Connection.java:482)
04-05 13:08:04.230 30682-764/by.set.pibox W/System.err:     at com.squareup.okhttp.Connection.connectAndSetOwner(Connection.java:375)
04-05 13:08:04.230 30682-764/by.set.pibox W/System.err:     at com.squareup.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:128)
04-05 13:08:04.231 30682-764/by.set.pibox W/System.err:     at com.squareup.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:328)
04-05 13:08:04.231 30682-764/by.set.pibox W/System.err:     at com.squareup.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:245)
04-05 13:08:04.231 30682-764/by.set.pibox W/System.err:     at com.squareup.okhttp.Call.getResponse(Call.java:267)
04-05 13:08:04.231 30682-764/by.set.pibox W/System.err:     at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:224)
04-05 13:08:04.231 30682-764/by.set.pibox W/System.err:     at com.squareup.okhttp.Call.getResponseWithInterceptorChain(Call.java:195)
04-05 13:08:04.231 30682-764/by.set.pibox W/System.err:     at com.squareup.okhttp.Call.execute(Call.java:79)
04-05 13:08:04.231 30682-764/by.set.pibox W/System.err:     at by.set.pibox.upload.uploadService.HttpUploadTask.loadToAzure(HttpUploadTask.java:254)

Without a sample to reproduce the problem there's not a whole lot we're going to be able to discern here. Sounds like you're leaking file handles in the latest thing.

I'm not sure how to recreate such a sample, any ideas?
I inspected the allocation and memory, seems to be fine with the files If i have done it right

Please use Stack Overflow for support on this.

Looks like it's the  bug of the library in the end.
Just try making a lot of requests to different urls and you will get the same type of error. Seems like OkHttp just doesn't close old connections fast enough.
Fixed it with custom HttpURLConnectionImpl, closing connections and streams right after uploading chunk


For master

Tested this on a kirkstone build env and at least compilation seems to work fine! Thanks :)


Allow interactive webpage

Possibly by using two HTML documents and choosing which one to display based on the options.
The interactive version could include the copy-tex extension.

Would solve #2


Implements the device delete endpoint

Added support for deleting devices using the go client. Needed as I want to add support for removing devices in the terraform provider as another user requested here
This commit adds the capability of deleting devices based on their IDs.

Hello @pellegrino, thank you for this! I am currently transporting a Soviet era Lada from Portugal to the UK but will take a look as soon as I am back next week

Hey, @davidsbond that sounds like fun!
No worries, just let me know if you would like to see any changes, whenever you are ready to.

Just made the changes you suggested and also updated the README.md to fix its code example.

Cool, thanks @pellegrino this looks good to me


Improved and redesigned Color Picker

As I was looking for a next project, it was mentioned that the color picker could be improved, as the default java is not visually pleasant and the substance color picker lacks features such as an alpha slider.
I propose that I develop a new color picker, with the features the devs need, I would appreciate any suggestions or feedback.
Mockup:

PS: A feature I didn't draw in would be a section with pallets/color presets.
Also a feature that was discussed on the discord chat was a live-preview, so as the user slid the color sliders, the new color would be previewed on the game window (ex: grounditem color highlight)

Would love to see this added :)


nixos/qemu-vm: make it possible to use UEFI without bootloaders

Description of changes
useEFIBoot is somewhat misleading, but we should make it possible to enable UEFI environment / firmware without buying into a bootloader.
This makes it possible.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
23.05 Release Notes (or backporting 22.11 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

[ ] Fits CONTRIBUTING.md.

It might make sense to split this into useEfiVariables and useEfiFirmware.
Ultimately they don't choose boot process -- each of them controls the presence or absence of one of two flash devices (firmware and variables) in the VM to be launched.
--- a/nixos/modules/virtualisation/qemu-vm.nix
+++ b/nixos/modules/virtualisation/qemu-vm.nix
@@ -1002,8 +1002,10 @@ in
         "-initrd ${config.system.build.toplevel}/initrd"
         ''-append "$(cat ${config.system.build.toplevel}/kernel-params) init=${config.system.build.toplevel}/init regInfo=${regInfo}/registration ${consoles} $QEMU_KERNEL_PARAMS"''
       ])
-      (mkIf cfg.useEFIBoot [
+      (mkIf cfg.useEfiFirmware [
         "-drive if=pflash,format=raw,unit=0,readonly=on,file=${cfg.efi.firmware}"
+      ])
+      (mkIf cfg.useEfiVariables [
         "-drive if=pflash,format=raw,unit=1,readonly=off,file=$NIX_EFI_VARS"
       ])
       (mkIf (cfg.bios != null) [

I'm not allowed to go for breaking changes for now, let's do this after the restriction is removed. :)


Not urgent print of primary image / top picture not visible on PDF / prints

Not urgent print of primary image / top picture not visible on PDF / prints
In admin we sometimes wish to print pages or PDF pages directly from the website, the top image / primary image is a blank box. Can we somehow make this printable?

User: See in registry
System: Chrome 100.0.4896 / Windows 10.0.0
Referer: https://www.gbif.org/event/33MQ8ZI9xuC98AekewiMr8/gbif-community-webinar-diversifying-the-gbif-data-model
Window size: width 3200 - height 1621
API log
Site log
System health at time of feedback: OPERATIONAL

Thanks @akristensen Currently there is no HTML image, but only a div with a background image. So it doesn't show in prints.
Take make it work we need to use an image/picture/figure tag instead. Which isn't unreasonable, but just not the way it is implemented. Unless you want to bump it from "not urgent" then I'm tempted to leave it as an improvement for the next iteration of these pages. Which mean that it wouldn't be this year. If it is frustrating, then I will look at a fix sooner. Let me know


Catch PHP 7 Errors and rethrow them as Exception

This will make sure that the Symfony Console application returns a non-zero exit code
Fixes #1117

@stof What do you think? I really think this can help to make sure failures are correctly handled on CI.

Scrutinizer is complaing because it doesn't understand \Error

Could we have a Behat scenario covering this case to prevent regressions ?

@stof I'd love to, but can you point me in the right direction?

Well, write a scenario in https://github.com/Behat/Behat/tree/master/features reproducing the case triggering an Error at a point where your patch is needed to get the proper exit code.
I even suggest you to try running your scenario without the patch as well, to see it failing (otherwise it means that either your patch is useless or your scenario does not cover it).

I cannot even reproduce it anymore, so it could be that it fixed itself. 🙈

Well, maybe it was fixed in the Symfony Console component in the meantime. I don't remember which changes we made in the component in this timeframe, but I know that some work on this topic was done at some point.

@stof Its amazing how you can keep track of every single repository on the internet 🙌 Thanks for your help and keep it up 💪


Add openresty batch span processor and metrics reporter

This PR adds a few things:

A batch span processor aimed at running within high-volume openresty deployments.[^1] This implementation ended up being different enough from the existing batch span processor that I created a new one. Happy to refactor the existing batch span processor instead, if you prefer @yangxikun. The implementation takes care to ensure that no changeable data is shared within ngx.timer.at invocations. Each batch export gets its own exporter and http client instance.
A Lua implementation of the OpenTelemetry's Ruby SDK's MetricsReporter, which can be used to send metrics about the export pipeline. This is useful for monitoring. PR#28, which I closed has code which instruments the batch_span_processor implementation, but I did not include that here. Happy to add.
Multiple returned values from call_collector within otlp.lua. These return statements are used for metrics reporting.
Adds fallback http client configuration based on opentelemetry.global settings.

[^1]:  The lua-nginx-module docs describe data sharing within a single nginx worker: You can also share changeable data among all the concurrent requests of each Nginx worker process as long as there is no nonblocking I/O operations (including ngx.sleep) in the middle of your calculations. As long as you do not give the control back to the Nginx event loop and ngx_lua's light thread scheduler (even implicitly), there can never be any race conditions in between.

Thanks @yangxikun! In reply...

Export each batch spans will consumes one nginx timer, and the nginx timer has some limitation(lua_max_pending_timers and lua_max_running_timers etc): https://github.com/openresty/lua-nginx-module#ngxtimerat

I think I understand. So the current implementation of batch_span_processor has the batch_to_process field in order to reduce number of nginx timers? I think that is a good optimization. I am curious: have you encountered issues with running out of nginx timers in production?

Why we should create exporter and http client interface for each batch, is there any data race?

I reread the http_client code, and I do not think there is a data race currently. However, if we want multiple batches to re-use the same HTTP connection, then we would have a data race (we would need to store stateful http connection as field on otlp exporter instance). With current implementation, though, we do not need to initialize a new http_client for each exporter. exporter.otlp does not mutate state, so we do not need to create new copy for each export.[^1]

The original implemetation of batch span processor may have some "data race" about self.batch_to_process.
Such as some call about process_batches_timer(self, self.batch_to_process) and process_batches(nil, self, self.batch_to_process), We can fix this data race by a temp var, just like in flush_batches:

I agree with this. I can make a PR to make that change.
I think there is another data race in batch_span_processor.lua, specifically with .is_timer_running. I don't think we can set this field on the batch span processor from a running nginx timer.
So the big question: should I try to change existing batch_span_processor to remove all data races, or update this one? I am fine with either choice.
[^1]: I wonder if we need to remove the ngx.sleep calls from the exporter, since sleep surrenders control to the nginx event loop. Not sure.

I tried to modify existing BSP to remove data races here https://github.com/yangxikun/opentelemetry-lua/pull/31. Could be an alternative.

The original BSP implement use is_timer_running to make sure one export spans timer in one nginx worker. This design is learned from https://github.com/apache/apisix/blob/f78d0459837c22723f6481af54b37d00932386fe/apisix/utils/batch-processor.lua
I have encountered out of nginx timers when stress Testing my lua module.

The original BSP implement use is_timer_running to make sure one export spans timer in one nginx worker. This design is learned from https://github.com/apache/apisix/blob/f78d0459837c22723f6481af54b37d00932386fe/apisix/utils/batch-processor.lua
I have encountered out of nginx timers when stress testing my lua module. 😓
I prefer to fix the data race in existing batch_span_processor.

OK, will continue conversation on https://github.com/yangxikun/opentelemetry-lua/pull/31!


[Create New Issue]: Binary Search for repeated elements

Description
I will be demonstrating and implementing the code for Binary Search Algorithm for repetitive elements
Domain
C/CPP
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


Create Automated Test Cases

Description:
Set up automated test cases for the Terraform modules using Terratest or similar tools to validate:

Module syntax correctness
Dependency configurations
Outputs for given inputs

** The primary goal is to validate:**

Module Syntax Correctness: Ensure all Terraform syntax and configurations are error-free.
Dependency Configurations: Verify that all module dependencies and provider setups work as intended.
Outputs for Given Inputs: Confirm the module produces accurate outputs for various input scenarios, including edge cases.

Additionally, we need to decide:

Testing Environment: Should we use mock infrastructure or real environments?
Integration: How do these tests integrate into the CI/CD pipeline for ongoing validation?

Assigned To:
@PournimaTivatane12


Add support for Python3.7 (#151)

Fixes #151

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

...can you, please, merge? thanks!

I get an unending spew of
Unexpected ptrace(2) exception: waitpid() indicated a WIFSTOPPED process, but got unexpected signal 11

with this branch.

@tavianator What kernel/distribution are you using?

Arch Linux, kernel 4.18.14-arch1-1-ARCH

@tavianator Can you verify that SELinux is not denying the ptrace call?

I just used it on Arch Linux with kernel 4.19.8-arch1-1-ARCH and did not get any errors, maybe there was something fixed related to this bug.

@metafex Hmm, maybe something I'm doing wrong then, still reproduces for me.  What's your ./configure line, etc.?

@tavianator I ran configure without any parameters, it perfectly detects python 3.7 for me. I attached pyflame to a uwsgi process in a container though, how are you running it?

$ ./src/pyflame -t python3 -c 'import time; time.sleep(5); print("Hello world")'
Unexpected ptrace(2) exception: waitpid() indicated a WIFSTOPPED process, but got unexpected signal 11
Unexpected ptrace(2) exception: waitpid() indicated a WIFSTOPPED process, but got unexpected signal 11
Unexpected ptrace(2) exception: waitpid() indicated a WIFSTOPPED process, but got unexpected signal 11
...

The crash happens in the Python process when doing PtraceCallFunction(pid, addrs.tstate_get_addr);

friendly ping - any reason why this is not merged yet? Having py37 support would be really helpful...

The person that originally wrote pyflame no longer works at Uber. I have not been able to get an Uber open source contact, so if anyone knows of one, let me know.

Hi, is anybody trying to build this with python 3.7 installed by pyenv? I cannot get how to pass path to Python3.7 for build pyflame. Can help me?

@hound672 I think people have switched to https://github.com/benfred/py-spy these days


Unable to install charts in a subdirectory

I have tried to use reckoner to install the RO autospotting chart and I encounter this error:
2018-12-19 10:05:12 Kims-MacBook-Pro.local root[7282] INFO Installing autospotting
2018-12-19 10:05:18 Kims-MacBook-Pro.local root[7282] ERROR Error with subprocess call: helm upgrade --install autospotting /Users/kimschles/workspace/projects/redcanary/redcanary-infrastructure/helm/cache/archive/git@github_com:reactiveops_autospotting-ci_git/ --namespace=kube-system --version=0.1.3 --set=image=quay.io/reactiveops/autospotting:0.1.3 --set=environment.REGIONS=us-east-2 --set=environment.ALLOWED_INSTANCE_TYPES=m5.*
2018-12-19 10:05:18 Kims-MacBook-Pro.local root[7282] ERROR Error: no Chart.yaml exists in directory "/Users/kimschles/workspace/projects/redcanary/redcanary-infrastructure/helm/cache/archive/git@github_com:reactiveops_autospotting-ci_git"

2018-12-19 10:05:18 Kims-MacBook-Pro.local root[7282] ERROR Error: no Chart.yaml exists in directory "/Users/kimschles/workspace/projects/redcanary/redcanary-infrastructure/helm/cache/archive/git@github_com:reactiveops_autospotting-ci_git"

2018-12-19 10:05:18 Kims-MacBook-Pro.local root[7282] ERROR Helm upgrade failed. Rolling back autospotting
2018-12-19 10:05:18 Kims-MacBook-Pro.local root[7282] ERROR ERROR: Some charts failed to install and were rolled back
2018-12-19 10:05:18 Kims-MacBook-Pro.local root[7282] ERROR  - autospotting

When I cd $HELM_HOME I can see the different helm charts. The charts maintained by other folks are tar files, and our charts are directories named their git remote. The autospotting directory has a Dockerfile, README.md and quay.config. There's also an autospotting directory that is empty, and that's where the I'm expecting the Chart.yaml but it's not there.

the issue was the chart wasn't in the tagged release.  I pushed a new tag with the chart included and reckoner was able to deploy the chart.


Remove all styling from hopscotch.less

Many libraries follow the practice of breaking up their stylesheets into smaller pieces with one main file that imports all the others. See Bootstrap or Foundation for examples of this.
This can be really useful if you want to e.g. import the library using npm and customize it a bit, but avoid unnecessarily duplicating code in your project. You can simply copy the main file with imports to your repo and point most imports to original files in node_modules while pointing some to your own customized versions (vars.less in most cases).
All I did was I moved styling from hopscotch.less to a separate file (core.less) and imported it in the same place. This way, hopscotch.less becomes the primary file with nothing but imports.

Hi @mzgajner,
Thanks for submitting this PR! This change makes sense to me. I'll pull this in by EOD tomorrow if there are no objections.


Refactor the CSS File

Objective
Currently areas within the CSS file can be consolidated and ensure a more DRY approach. Additionally adjustments can be made to better improve the mobility of this project.

Primary Objective

Use CSS Layers to set up various parts of the project
Begin nesting styling within elements/classes

Creating these styling components should clear up the excessive use of  found within the html file

This issue has been met.


New function - move event from one calendar to other ( change calendar of event)

Hello Oihsan, Your app is really cool. Im using it daily. I have idea to new feature. It will be greate if shoud be added.
Change calendar event:

Sometimes is necessary move event from one calendar to other. It will be greate to integrate like

Example

actual event - Calendar personal -> need to move to calendar meetings
mcal changeCal personal meetings 'event with investors'

Kind Regards

moving only the current event would be enough for you?
otherwise, identifying which event to move might be a little cumbersome to implement.

Hello ,
thanks for quick reply. It will be better to move any of event. Not only actual. ( in case that event have any id it should be like mcal changecal personal meeting ID ; and ofcourse add id to (e.g) mcal show personal events detail
Many thanks
Ing. Petr Mikeš	 https://www.mikysound.com/
MikySound.com https://www.mikysound.com/
Phone: +420 774 990 659	CTO - Technical Director
E-mail<EMAIL_ADDRESS>https://www.mikysound.com/	Czech Republic
Web: www.MikySound.com https://www.mikysound.com/	COMVERGA a.s.

6. 6. 2024 v 19:03, ihsan @.***>:
moving only the current event would be enough for you?
otherwise, identifying which event to move might be a little cumbersome to implement.
—
Reply to this email directly, view it on GitHub https://github.com/0ihsan/mcal/issues/4#issuecomment-2153001382, or unsubscribe https://github.com/notifications/unsubscribe-auth/AESPQT4EBHDPQQWDK6TSW33ZGCI6ZAVCNFSM6AAAAABI5CV6N6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJTGAYDCMZYGI.
You are receiving this because you authored the thread.

you can now do mcal move newcalendar <eventid>. but you can only change events within range[midnight, now].
you can mcal list to see the event ids. event ids are relative:

0 is the most recent event (current or last).
1 is one previous.
2 is two previous, etc.

Hello amazing. Working really fine.
One more idea. It will be great to have chance filter by :
mcal list  to show ids for specific calendar.
example:
mcal list –> show all events
mcal list Meetings -> show events from calendar Meetings
and second point:
range [midnight , now] is little bit limited.
it should be great to have chance to specify like
mcal settings range -365D // range minus 1 year from now
or
mcal list Meetings -365D // show all events in range [-354D to now]
Hope that this ideas should match with you.
Thanks
Ing. Petr Mikeš	 https://www.mikysound.com/
MikySound.com https://www.mikysound.com/
Phone: +420 774 990 659	CTO - Technical Director
E-mail<EMAIL_ADDRESS>https://www.mikysound.com/	Czech Republic
Web: www.MikySound.com https://www.mikysound.com/	COMVERGA a.s.

7. 6. 2024 v 1:55, ihsan @.***>:
you can now do mcal move newcalendar . but you can only change events within range[midnight, now].
you can mcal list to see the event ids. event ids are relative:
0 is the most recent event (current or last).
1 is one previous.
2 is two previous, etc.
—
Reply to this email directly, view it on GitHub https://github.com/0ihsan/mcal/issues/4#issuecomment-2153592862, or unsubscribe https://github.com/notifications/unsubscribe-auth/AESPQTZQNBI6QCM27S6NTC3ZGDZI5AVCNFSM6AAAAABI5CV6N6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJTGU4TEOBWGI.
You are receiving this because you authored the thread.

Do you think that what was written below should be possible to improve?
Petr

7. 6. 2024 v 9:34, @.***:
Hello amazing. Working really fine.
One more idea. It will be great to have chance filter by :
mcal list  to show ids for specific calendar.
example:
mcal list –> show all events
mcal list Meetings -> show events from calendar Meetings
and second point:
range [midnight , now] is little bit limited.
it should be great to have chance to specify like
mcal settings range -365D // range minus 1 year from now
or
mcal list Meetings -365D // show all events in range [-354D to now]
Hope that this ideas should match with you.
Thanks

closing. see comment: https://github.com/0ihsan/mcal/pull/5


Running Singer on a small dataset

Hello I'm running singer on a test dataset. 6,345 variants and 234 samples. I ran the following command
./singer_master -m 1.25e-8 -vcf chr21_subset_234_samples -output chr21_subset_234_samples.chunk1.vcf.gz -start 0 -end 1e6 -recomb_map chr21_grch38_genetic_map
I'm not sure how to interpret the error message. in the logfile below:
singer_error.txt
Thank you,
Shareef

Hi Shareef,
It seems that SINGER didn’t read any mutations from your command:

Can you let me know of your exact command?

Best regards,
Yun

On Dec 19, 2024, at 2:37 PM, Shareef Khalid @.***> wrote:
Hello I'm running singer on a test dataset. 6,345 variants and 234 samples. I ran the following command
./singer_master -m 1.25e-8 -vcf chr21_subset_234_samples -output chr21_subset_234_samples.chunk1.vcf.gz -start 0 -end 1e6 -recomb_map chr21_grch38_genetic_map
I'm not sure how to interpret the error message. in the logfile below:
singer_error.txt https://github.com/user-attachments/files/18203834/singer_error.txt
Thank you,
Shareef
—
Reply to this email directly, view it on GitHub https://github.com/popgenmethods/SINGER/issues/28, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANATC4B7Q4J2MGOS7TO56NT2GNDBHAVCNFSM6AAAAABT56LUHSVHI2DSMVQWIX3LMV43ASLTON2WKOZSG42TCNJVGE3DIMQ.
You are receiving this because you are subscribed to this thread.


How do we use stories.json on Chromatic?

Question
How to use chromatic stories.json in GitHub Actions with test-runner?
Background
Our storybooks are hosted on chromatic, then we're aiming to execute interaction test in GitHub Actions by using Chromatic hosting stories.json. However, we cannot pass through authentication by this test-runner. I've tried like this
$ REFERENCE_URL=<chromatic-permalink> TARGET_URL=<chromatic-permalink> yarn test-storybook

Cited from https://github.com/storybookjs/test-runner#2-running-against-locally-built-storybooks-in-ci

NOTE: Building Storybook locally makes it simple to test Storybooks that could be available remotely, but are under authentication layers. If you also deploy your Storybooks somewhere (e.g. Chromatic, Vercel, etc.), the Storybook URL can still be useful with the test-runner. You can pass it to the REFERENCE_URL environment variable when running the test-storybook command, and if a story fails, the test-runner will provide a helpful message with the link to the story in your published Storybook instead.

Hey @hayata-yamamoto, thanks for using this library!
Generally you might not need to use the library in conjunction with Chromatic because Chromatic is a test-runner that will provide you a similar experience automatically. Can you explain your use case? I'm quite interested.
I think it's nice to be able to run the test-runner as a required step before running Chromatic, so that if there are failures you don't end up making unnecessary Chromatic builds, and if everything passes you will be sure Chromatic will build successfully.
Still, to answer your question, you would need to do something like this:
1 - If your Chromatic is private, you can't bypass the authentication. You need a script to build the project and run the tests against it locally (no need for stories json mode this way). Follow this for more details.
2 - Add a new step after Chromatic finishes publishing Storybook
# chromatic.yml
on: push

jobs:
  deployment:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v2
        with:
          fetch-depth: 0 # Required to retrieve git history
      - name: Install dependencies
        run: yarn
      - name: Publish to Chromatic
        uses: chromaui/action@v1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
      - name: Run storybook tests
        run: 'REFERENCE_URL=${{ steps.chromatic-publish.outputs.storybookUrl}} yarn test-storybook:ci'

The step will build and run tests against a local Storybook, but if there are errors it will use the REFERENCE_URL which will have the correct Chromatic link.
If your Chromatic is public, then you don't need to do step 1 and your run command would just be:
TARGET_URL=${{ steps.chromatic-publish.outputs.storybookUrl}} yarn test-storybook --stories-json

I hope you don't mind, I'll close this issue as it's been responded!

Thanks a lot


Recognize rebar templater's list format

Rebar's templater uses tagged tuples to accept lists in .script files. This fix makes couch_log.app script to recognize this convention.

+1


reborrow error: clarify that we are reborrowing from that tag

@saethlin I found the current message not entirely clear, so what do you think about this?

Yup, this sounds fine to me

@bors r+

:pushpin: Commit cc42cb1b21c31af582ee109d7069224f91c9f278 has been approved by RalfJung
It is now in the queue for this repository.

:hourglass: Testing commit cc42cb1b21c31af582ee109d7069224f91c9f278 with merge e16705de25de50995416ac8a7b1442cadae43906...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing e16705de25de50995416ac8a7b1442cadae43906 to master...


Change before_filter to be before_action

Fixes a deprecation warning for rails 5. Fixes https://github.com/bugsnag/bugsnag-ruby/issues/266.

Thanks @sgringwe, the change looks good. I think I'll roll this into an upcoming release with a few other Rails 5 enhancements.