Error when starting server

This error comes up when I start my server

You need to update the JTV biomes config on your server to disable any locations. The locations I was adding were old locations that were no longer used, but still existed. I was just adding them back into the game. In the last update they removed all the unused locations.

Hello, I've run into this error as well and I'm troubleshooting now. Do you know which locations need to be removed from the config file? Thanks!

@mjtroyer all of them must be disabled ☹

Hello,
Just double checking. So all biomes in the .cfg need to set the locations and vegetation to false?
Even if I'd like to play through the ashlands and deep north?
For example:
Add Rocks and plants to the Ashlands
Setting type: Boolean
Default value: true
Ashlands Vegetation = true
Add Locations to the Ashlands
Setting type: Boolean
Default value: true
Ashlands Locations = true
Gets changed to: (for each biome)
Add Rocks and plants to the Ashlands
Setting type: Boolean
Default value: true
Ashlands Vegetation = false
Add Locations to the Ashlands
Setting type: Boolean
Default value: true
Ashlands Locations = false
Thanks!

Hello,
Just double checking. So all biomes in the .cfg need to set the locations and vegetation to false?
Even if I'd like to play through the ashlands and deep north?
Ashlands Vegetation = false
Ashlands Locations = false
Do this for each biome? Thanks!

No, not vegetation, just locations.

Perfect, thanks


I don't see the "Python Settings" tab in OBS Studio 28.1.2 (64 bit) on Linux Mint 20.3 Cinnamon

I read...

Make sure that you configure the correct version of Python within OBS in the "Scripts" window > "Python Settings" tab

... but I don't see "Python Settings" tab

What should I do?
In case it matters, I copied and pasted the following from the "Script Log."...
File "/home/y/zoom_and_follow_mouse.py", line 8
[zoom_and_follow_mouse.py]     <!DOCTYPE html>
[zoom_and_follow_mouse.py]     ^
[zoom_and_follow_mouse.py] SyntaxError: invalid syntax

and I confirmed that PyWinCtl is installed...
Name: PyWinCtl
Version: 0.0.42
Summary: Cross-Platform toolkit to get info on and control windows on screen
Home-page: https://github.com/Kalmat/PyWinCtl
Author: Kalmat
Author-email<EMAIL_ADDRESS>License: BSD 3
Location: /home/y/.local/lib/python3.8/site-packages
Requires: ewmh, xlib, PyRect
Required-by:

Had this same problem - the download is providing an XML metadata instead of the python script. Try viewing it raw and pasting its contents into a .py file.

Thanks for letting me know. I appreciate that. I found a similar solution in ffmpeg...
ffmpeg -f x11grab -follow_mouse centered -framerate 25 -video_size cif -i :0.0 -preset slow output.mkv

I'd like to find a way to follow the caret (the "text cursor") just as I can now follow the mouse. Do you know of a way to do that?

If this is still an issue, please reproduce and resubmit with current working versions of python, OBS, script and dependencies.


When Testing: No provider for toPayload!

I'm running into an issue where the EffectsTestingModule doesn't seem to be properly providing the Actions service.
We have an effect that is really doing nothing right now so should be a simple test:
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/switchMap';
import 'rxjs/add/operator/debounceTime';
import 'rxjs/add/operator/skip';
import 'rxjs/add/operator/takeUntil';
import { Injectable } from '@angular/core';
import { Effect, Actions, toPayload } from '@ngrx/effects';
import { Action } from '@ngrx/store';
import { Observable } from 'rxjs/Observable';
import { empty } from 'rxjs/observable/empty';

import * as courseActions from '../actions/course.actions';

@Injectable()
export class CourseEffects {

  @Effect()
  search$: Observable<Action> = this.actions$
    .ofType(courseActions.FILL)
    .debounceTime(300)
    .map(toPayload)
    .switchMap(query => {
      console.log('Effect should be firing when the FILL action is dispatched. Effect is firing');
      return empty<Action>();
    });

  constructor(private actions$: Actions) { }
}

Our test spec:
import { TestBed, inject } from '@angular/core/testing';
import { Actions } from '@ngrx/effects';
import { Observable } from 'rxjs/Observable';
import { EffectsTestingModule, EffectsRunner } from '@ngrx/effects/testing';
import * as courseActions from '../actions/course.actions';
import { CourseEffects }  from '../effects/course.effects';

describe('The Course Effects', () => {
  let runner: EffectsRunner;
  let courseEffects: CourseEffects;

  beforeEach(() => {
    TestBed.configureTestingModule({
      imports: [
        EffectsTestingModule
      ],
      providers: [
        CourseEffects
      ]
    });
    inject([EffectsRunner, CourseEffects], (_runner, _courseEffects) => {
      runner = _runner;
      courseEffects = _courseEffects;
    })();
  });

  it('should fire search effect when fill action is dispatched and complete action',
        (done) => {

    runner.queue({ type: courseActions.FILL });

    courseEffects.search$.subscribe(result => {
        expect(result.type).toEqual(courseActions.FILL);
        done();
    });
  });

});

This fails with the classic:

Error: Can't resolve all parameters for CourseEffects: (?).
at src/effects/course.effects.spec.ts:21:4

The only dependency of CourseEffects is Actions, which should be provided by the EffectsTestingModule
So I tried just injecting the Actions service, modifying the test like this:
 beforeEach(() => {
    TestBed.configureTestingModule({
      imports: [
        EffectsTestingModule
      ],
      providers: [
        //CourseEffects
      ]
    });
    inject([EffectsRunner, Actions], (_runner, _actions) => {
      runner = _runner;
      //courseEffects = _courseEffects;
    })();
  });

This results in an injection error for the Actions service:

Error: No provider for toPayload!
at src/effects/course.effects.spec.ts:21:4

This turned out to be an issue with how our tests were being bundled for phantomJS via Wallaby.
https://github.com/wallabyjs/public/issues/839#issuecomment-278485630


Change master nomenclature

Signed-off-by: Chen Dai<EMAIL_ADDRESS>Description
Change master nomenclature: Change master (mostly Github link) to main in docs and comments.
The only code using master nomenclature is in OpenSearch API call which doesn't seem have alternative clusterManager class or method:
RestQuerySettingsAction:
    final ClusterUpdateSettingsRequest clusterUpdateSettingsRequest =
        Requests.clusterUpdateSettingsRequest();
    clusterUpdateSettingsRequest.timeout(request.paramAsTime(
        "timeout", clusterUpdateSettingsRequest.timeout()));
    clusterUpdateSettingsRequest.masterNodeTimeout(request.paramAsTime(
        "master_timeout", clusterUpdateSettingsRequest.masterNodeTimeout()));

The following master in doc link are also not changed due to main branch missing:
./plugin/src/main/java/org/opensearch/sql/plugin/rest/RestQuerySettingsAction.java:82:    clusterUpdateSettingsRequest.masterNodeTimeout(request.paramAsTime(
./plugin/src/main/java/org/opensearch/sql/plugin/rest/RestQuerySettingsAction.java:83:        "master_timeout", clusterUpdateSettingsRequest.masterNodeTimeout()));
./bi-connectors/PowerBIConnector/OdbcConstants.pqm:1:// values from https://github.com/Microsoft/ODBC-Specification/blob/master/Windows/inc/sqlext.h
./docs/dev/Doctest.md:141:**Reference: [CrateDB Implementation](https://github.com/crate/crate/blob/master/blackbox/test_docs.py)**
./docs/dev/Doctest.md:145:    * https://github.com/crate/crate/blob/master/docs/general/dql/selects.rst
./workbench/test/polyfills/mutationObserver.js:9:// https://github.com/aurelia/pal-nodejs/blob/master/src/polyfills/mutation-observer.ts
./workbench/release-notes/sql-workbench.release-notes-<IP_ADDRESS>.md:28:- Initial merge from development branches to master ([#31](https://github.com/opendistro-for-elasticsearch/sql-workbench/pull/31))
./sql-odbc/libraries/rabbit/README:3:https://github.com/mashiro/rabbit/tree/master
./sql-odbc/src/sqlodbc/opensearch_types.h:214:    CONNECTION_AWAITING_RESPONSE, /* Waiting for a response from the postmaster.
./.github/workflows/link-checker.yml:17:        uses: lycheeverse/lychee-action@master
./sql-cli/src/opensearch_sql_cli/opensearch_style.py:61:        # https://github.com/jonathanslenders/python-prompt-toolkit/blob/master/prompt_toolkit/styles/defaults.py

PR reference:

https://github.com/opensearch-project/asynchronous-search/pull/116/files
https://github.com/opensearch-project/cross-cluster-replication/pull/355/files

Issues Resolved
https://github.com/opensearch-project/sql/issues/463
Check List

[ ] New functionality includes testing.

[x] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

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

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

np. master in github links can usually be replaced with HEAD, so it always points to latest commit on the default branch even if default branch changed. but i think it's not necessary

good to know that. thanks!

Codecov Report

Merging #551 (14578be) into main (8f3e661) will decrease coverage by 31.82%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##               main     #551       +/-   ##
=============================================
- Coverage     94.59%   62.76%   -31.83%
=============================================
  Files           276       10      -266
  Lines          7454      658     -6796
  Branches        550      118      -432
=============================================
- Hits           7051      413     -6638
+ Misses          349      192      -157
+ Partials         54       53        -1

Flag
Coverage Δ

query-workbench
62.76% <ø> (ø)

sql-engine
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...org/opensearch/sql/ppl/domain/PPLQueryRequest.java

...ensearch/sql/expression/ExpressionNodeVisitor.java

...h/sql/expression/conditional/cases/WhenClause.java

...g/opensearch/sql/data/model/ExprDatetimeValue.java

...h/planner/logical/rule/MergeFilterAndRelation.java

...arch/sql/opensearch/request/OpenSearchRequest.java

...org/opensearch/sql/data/type/WideningTypeRule.java

...in/java/org/opensearch/sql/data/type/ExprType.java

...rg/opensearch/sql/sql/config/SQLServiceConfig.java

...pensearch/sql/planner/physical/RenameOperator.java

... and 256 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8f3e661...14578be. Read the comment docs.


Bug: unexpected error occurs after choosing sass as css preprocessor

Describe the bug

As shown in the picture
To Reproduce
Steps to reproduce the behavior:

Use fastjs create and choose sass as css preprocessor
npm dev to start this project
Then the error occures

Expected behavior
No error
Screenshots

Additional context
For sass (that is, the file suffix is .sass), the correct syntax should be like Python, without curly braces and semicolons, and written only by strict indentations.
$primary-color: #FF0000

body
  margin: 0
  color: $primary-color

And scss (that is, the file suffix is .scss) is a superset of css, which means essentially all valid CSS is valid SCSS as well.
$primary-color: #FF0000;

body {
  margin: 0;
  color: $primary-color;
}

(See more: Sass Official Documentation)
Therefore, change .css to .scss or write a new set of .sass code separately
Version

Node.js: v18.12.1
fastjs-cli: v2.4.3

Hi, this problem is in todo list now, thanks for your issue!

This problem has been fixed in commit f957c2ad20e4fbe6e139af87ca6116435fac7bdc
And it will be publish at release v2.4.4


Bug Report: Deny RDP, Deploy-Diag-LA and Deploy-MDFC definitions not found when deploying ALZDefault policies

Describe the bug
Policy definitions appear to be missing from ALZ-Bicep\infra-as-code\bicep\modules\policy\assignments\lib\policy_assignments
Receive errors upon deployment: (I can resolve the "deny rdp from internet" error by copying from "\ALZ-Bicep\infra-as-code\bicep\modules\policy\definitions\lib\policy_definitions" into the policy assignments folder but I cannot resolve the policy sets by copying them along with their parameter files into policy assignments folder.
{
"status": "Failed",
"error": {
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.",
"details": [
{
"code": "BadRequest",
"message": "{\r\n  "error": {\r\n    "code": "PolicySetDefinitionNotFound",\r\n    "message": "The policy assignment create request is invalid. The policy set definition '/providers/Microsoft.Management/managementGroups/alz/providers/Microsoft.Authorization/policySetDefinitions/Deploy-Diagnostics-LogAnalytics' could not be found."\r\n  }\r\n}"
}
]
}
}
{
"status": "Failed",
"error": {
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.",
"details": [
{
"code": "BadRequest",
"message": "{\r\n  "error": {\r\n    "code": "PolicyDefinitionNotFound",\r\n    "message": "The policy assignment create request is invalid. The policy definition '/providers/Microsoft.Management/managementGroups/alz/providers/Microsoft.Authorization/policyDefinitions/Deny-RDP-From-Internet' could not be found."\r\n  }\r\n}"
}
]
}
}
{
"status": "Failed",
"error": {
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.",
"details": [
{
"code": "BadRequest",
"message": "{\r\n  "error": {\r\n    "code": "PolicySetDefinitionNotFound",\r\n    "message": "The policy assignment create request is invalid. The policy set definition '/providers/Microsoft.Management/managementGroups/alz/providers/Microsoft.Authorization/policySetDefinitions/Deploy-MDFC-Config' could not be found."\r\n  }\r\n}"
}
]
}
}
Steps to reproduce

Deploy ALZDefault Management Groups (without confidential) using custom parameter for "parTopLevelManagementGroupDisplayName"
Set parameters for logging to deploy Log Analytics into Australia East within a subscription sitting in the root management group (we're not doing sub deployment as part of this brownfield environment)
Create devops pipeline - comment out blocks for everything except 'Management Groups', "Logging' and 'Policy'
Run pipeline

Screenshots

Hey @DaniMathews,
Have you seen and followed the Deployment Flow guidance here: https://github.com/Azure/ALZ-Bicep/wiki/DeploymentFlow#high-level-deployment-flow
It looks like you haven't loaded the custom policy definitions in (step 2 from the deployment flow). https://github.com/Azure/ALZ-Bicep/tree/main/infra-as-code/bicep/modules/policy/definitions
Let us know
Thanks
Jack

Hi Jack,
My deployment is using the ALZDefault policy module. Do I need to use the custom module as well?
Kind Regards
Daniella
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Jack Tracey @.>
Sent: Thursday, February 9, 2023 9:42:54 PM
To: Azure/ALZ-Bicep @.>
Cc: Daniella Mathews @.>; Mention @.>
Subject: Re: [Azure/ALZ-Bicep] Bug Report: Deny RDP, Deploy-Diag-LA and Deploy-MDFC definitions not found when deploying ALZDefault policies (Issue #449)
Hey @DaniMathewshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FDaniMathews&data=05|01|dmathews%40microsoft.com|8673c0e6c54f4ccd68be08db0a92c8be|72f988bf86f141af91ab2d7cd011db47|1|0|638115397826684474|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=iLU66XREEBiAXjR5Pyi18UQl36xsLYwLVOZAfJWstAc%3D&reserved=0,
Have you seen and followed the Deployment Flow guidance here: https://github.com/Azure/ALZ-Bicep/wiki/DeploymentFlow#high-level-deployment-flowhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FALZ-Bicep%2Fwiki%2FDeploymentFlow%23high-level-deployment-flow&data=05|01|dmathews%40microsoft.com|8673c0e6c54f4ccd68be08db0a92c8be|72f988bf86f141af91ab2d7cd011db47|1|0|638115397826684474|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=ynAJpR%2BDCsHvxvcg302QAxoLl%2F3CpA0yBkVItVY8RJo%3D&reserved=0
It looks like you haven't loaded the custom policy definitions in (step 2 from the deployment flow). https://github.com/Azure/ALZ-Bicep/tree/main/infra-as-code/bicep/modules/policy/definitionshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FALZ-Bicep%2Ftree%2Fmain%2Finfra-as-code%2Fbicep%2Fmodules%2Fpolicy%2Fdefinitions&data=05|01|dmathews%40microsoft.com|8673c0e6c54f4ccd68be08db0a92c8be|72f988bf86f141af91ab2d7cd011db47|1|0|638115397826684474|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=p9E3nR57uKd%2FEEUu4lbsdIy2v5mL0SZcRqHofG4oFlQ%3D&reserved=0
Let us know
Thanks
Jack
—
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FALZ-Bicep%2Fissues%2F449%23issuecomment-1424053959&data=05|01|dmathews%40microsoft.com|8673c0e6c54f4ccd68be08db0a92c8be|72f988bf86f141af91ab2d7cd011db47|1|0|638115397826684474|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=1I4n%2BbhnwkrtQDHJaF1zLVXphTh1HrcJVaSosfCiWeE%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA43EBMQFL3TI6INIVWYG4DDWWTJ35ANCNFSM6AAAAAAUWOCBTQ&data=05|01|dmathews%40microsoft.com|8673c0e6c54f4ccd68be08db0a92c8be|72f988bf86f141af91ab2d7cd011db47|1|0|638115397826684474|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=PJ4LnUkuNvfpG77quE6O1AOe8hy9mlFrpW%2FF6F7LO68%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

Hi Jack,
My bad, I misunderstood that 'custom' means custom to the entire deployment and not just when you want to add custom definitions specific to the customer. I thought this line in the doco
"If you want to make all of the default Azure Policy Assignments that we recommend in the Azure Landing Zones conceptual architecture and reference implementation you can use the ALZ Default Policy Assignments module to do this for you"
meant that you didn't need to use the custom module at all. I understand now that it it's still required to 'load' the definitions and the assignment module is for assigning.
There's so much noise at Microsoft at the moment that I wasn't able to concentrate properly on my engagement!
Thanks for the quick response, deployment is working now.
Kind Regards
Daniella

From: Jack Tracey @.>
Sent: Thursday, 9 February 2023 7:42 PM
To: Azure/ALZ-Bicep @.>
Cc: Daniella Mathews @.>; Mention @.>
Subject: Re: [Azure/ALZ-Bicep] Bug Report: Deny RDP, Deploy-Diag-LA and Deploy-MDFC definitions not found when deploying ALZDefault policies (Issue #449)
Hey @DaniMathewshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FDaniMathews&data=05|01|dmathews%40microsoft.com|8673c0e6c54f4ccd68be08db0a92c8be|72f988bf86f141af91ab2d7cd011db47|1|0|638115397826684474|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=iLU66XREEBiAXjR5Pyi18UQl36xsLYwLVOZAfJWstAc%3D&reserved=0,
Have you seen and followed the Deployment Flow guidance here: https://github.com/Azure/ALZ-Bicep/wiki/DeploymentFlow#high-level-deployment-flowhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FALZ-Bicep%2Fwiki%2FDeploymentFlow%23high-level-deployment-flow&data=05|01|dmathews%40microsoft.com|8673c0e6c54f4ccd68be08db0a92c8be|72f988bf86f141af91ab2d7cd011db47|1|0|638115397826684474|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=ynAJpR%2BDCsHvxvcg302QAxoLl%2F3CpA0yBkVItVY8RJo%3D&reserved=0
It looks like you haven't loaded the custom policy definitions in (step 2 from the deployment flow). https://github.com/Azure/ALZ-Bicep/tree/main/infra-as-code/bicep/modules/policy/definitionshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FALZ-Bicep%2Ftree%2Fmain%2Finfra-as-code%2Fbicep%2Fmodules%2Fpolicy%2Fdefinitions&data=05|01|dmathews%40microsoft.com|8673c0e6c54f4ccd68be08db0a92c8be|72f988bf86f141af91ab2d7cd011db47|1|0|638115397826684474|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=p9E3nR57uKd%2FEEUu4lbsdIy2v5mL0SZcRqHofG4oFlQ%3D&reserved=0
Let us know
Thanks
Jack
—
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FALZ-Bicep%2Fissues%2F449%23issuecomment-1424053959&data=05|01|dmathews%40microsoft.com|8673c0e6c54f4ccd68be08db0a92c8be|72f988bf86f141af91ab2d7cd011db47|1|0|638115397826684474|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=1I4n%2BbhnwkrtQDHJaF1zLVXphTh1HrcJVaSosfCiWeE%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA43EBMQFL3TI6INIVWYG4DDWWTJ35ANCNFSM6AAAAAAUWOCBTQ&data=05|01|dmathews%40microsoft.com|8673c0e6c54f4ccd68be08db0a92c8be|72f988bf86f141af91ab2d7cd011db47|1|0|638115397826684474|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=PJ4LnUkuNvfpG77quE6O1AOe8hy9mlFrpW%2FF6F7LO68%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

Glad we got it sorted. 👍


ci: bump ViewInspector version for Xcode 16

CI: Bumps ViewInspector version to 0.10.0
There was an issue with ViewInspector and Xcode 16 (see https://github.com/nalexn/ViewInspector/issues/307) which was fixed in a newer version of the package. This updates the version consumed in this package to resolve this error.
Checklist
Before raising your pull request:

[ ] Ran the app locally ensuring it builds
[ ] Ran the tests locally ensuring they pass on Build
[ ] Pull request has a clear title with ticket ID and a short description about the feature or update
i.e. DCMAW-222: Added ReadID SDK to iOS app
[ ] Created a draft pull request if it is not yet ready for review

Before your pull request can be reviewed:

[ ] Met all of the acceptance criteria specified in the user story on Jira

[ ] Reviewed your own code to ensure you are following the style guidelines

[ ] Ran the app and tested the feature on a range of device sizes
Please include iPod Touch, iPhone SE and iPhone 11 as a minimum.

[ ] Written Unit and Integration tests if needed

[ ] Met all accessibility requirements?

[ ] Checked dynamic type sizes are applied
[ ] Checked VoiceOver can navigate your new code
[ ] Checked a user can navigate only using a keyboard around your new code

Before merging your pull request:

[ ] Ensure that the code coverage and SonarCloud checks have passed
[ ] Actioned and resolved all comments, reaching out to reviewers for clarifications if necessary.
[ ] Ran the app to ensure that no regressions have been caused by changes during code review.
[ ] Targeted the correct branch; develop, release or main

Closing because this is a local issue with Xcode 16, the runners need to use iOS 17.0 or newer to not break with this version bump


use placeholderDisplayName if no variableId for y label

Resolves #1585
Previously the scatterplot was showing a value returned by the compute. This PR tells the scatterplot to use the placeholder name given by the abundance app instead of the variable display name returned by the compute, when a true variable isn't actually going to be returned.
I saw two options for solving this issue. The first is what i've done here, and the second is to update this line with a nicer display name.
I chose this route of updating the frontend because eventually this display name should be driven by collection variable metadata (that doesn't exist yet). The compute, however, does not know about collection metadata. It's called "Ranked Abundance" but really it could rank any type of data (for example, it also currently can be used to rank pathway coverage data. Anyways, once the collection variable metadata with display name does exist, we would plug that into the relevant part of the plugin Options.
Tested on mbio and clinepi

courtesy tag @dmfalke


Update log4cats-slf4j to 1.0.1

Updates io.chrisdavenport:log4cats-slf4j from 0.4.0-M2 to 1.0.1.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.chrisdavenport", artifactId = "log4cats-slf4j" } ]

labels: library-update, semver-major

Codecov Report

Merging #66 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #66   +/-   ##
======================================
  Coverage    42.3%   42.3%
======================================
  Files          11      11
  Lines         208     208
  Branches        4       4
======================================
  Hits           88      88
  Misses        120     120

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9e9d220...93db7fa. Read the comment docs.


fix travis

saw you trying to fix travis, this did the trick for me on the quartz project

@rvanderwerf thanks! Do you know what is wrong with travis that this fixes it?

They are migrating to a new system, the clue is in the travis page says
it's running in legacy mode on the new system. It's a weird hack I know,
but that does fix it. I haven't looked into what re-doing the travis config
for the new system looks like yet. The current error is jdk barfs if the
host name doesn't map to what it's expecting for some reason.
On Wed, Jan 6, 2016 at 9:26 AM, Andrew Reitz<EMAIL_ADDRESS>wrote:

@rvanderwerf https://github.com/rvanderwerf thanks! Do you know what is
wrong with travis that this fixes it?
—
Reply to this email directly or view it on GitHub
https://github.com/groovy/groovy-android-gradle-plugin/pull/74#issuecomment-169356114
.

Cool thanks!


Online Theme Editor

Hi there. Theme editor is not working properly here. Can see and change themes.

On it now.

Fixed it up, thanks for the report.


No sound redirection in iOS

I tried the following Settings，But it doesn't work
Settings - > DeviceRedirection = YES;
Settings - > SupportDynamicChannels = YES;
Settings - > RemdeskVirtualChannel = YES;
Settings - > AudioPlayback = YES;
Settings - > AudioCapture = YES;
Settings - > RedirectClipboard = NO.
Settings - > RedirectPrinters = NO.
Settings - > RedirectSmartCards = NO.
Settings - > RedirectDrives = YES;
Settings - > RedirectHomeDrive = NO.
Settings - > DynamicDaylightTimeDisabled = YES;
I noticed these files in the project，Can they work?
rdpsnd_ios.c   TPCircularBuffer.c

https://github.com/FreeRDP/FreeRDP/wiki/BugReporting


Using the maven links

I'd like to use this library, but I have trouble wrapping my mind around maven and gradle 🙊
Could you elaborate on how to use the links on the wiki page as maven repository?
Is it even possible to use them in gradle? Sorry, if this is a dumb question, but I'm pretty
new to Java.
What I tried so far, was adding it this way into my build.gradle:
repositories {
    maven { // CompatLayer
        url = "http://jenkins.k-4u.nl/view/McJty/job/Compatlayer%201.10/"
    }
}

dependencies {
    deobfCompile "mcjty.lib:compatlayer:1.10-0.0.12alpha"
}

I will add this soon. Planning a new big release of compatlayer which works for rftools

I updated the wiki with some information on how to setup the maven in build.gradle

Works like a charm, thank you! 👍


Fix Night Brightness

Description
Very simple fix with dramatic user experience improvement.
This commit f641d7e8517255888440faf4d496e7f7fb3074e6 six months ago introduced a test to ensure that the wide camera was available for calculating the light_sensor value.  If the wide camera was not present,  the resulting brightness defaulted to 50%.  This was achieved by setting light_sensor = -1.
A small typo in the test ( >0 rather than >= 0) meant that light_sensor values of 0 would result in 50% brightness, while a light sensor value of 8 would result in 10% brightness.
Verification
I tested the resulting output at night in my garage to confirm that it worked.
It is a dramatic improvement in user experience.

Nice catch!


New sample: get any Microsoft AAD app permission (delegated or appliation) from its name

closes #344

Hey @michaelmaillot , thank you for submitting two samples in one - awesome!! 👏😊 This should be live shortly 😊


Move schemas and entity utils etc.. into common module

Move common interfaces and generation code to common module

@harshach, do we want to move this into common module? How about moving them to openmetadata-core?

+1 for openmetadata-core


plugin common-aliases will cause error

between line 24 and line 33 of file plugins/common-aliases/common-aliases.plugin.zsh, there is some code using alias:
# Command line head / tail shortcuts
alias -g H='| head'
alias -g T='| tail'
alias -g G='| grep'
alias -g L="| less"
alias -g M="| most"
alias -g LL="2>&1 | less"
alias -g CA="2>&1 | cat -A"
alias -g NE="2> /dev/null"
alias -g NUL="> /dev/null 2>&1"
alias -g P="2>&1| pygmentize -l pytb"

it will cause problem, for example, command
vim L

will explan to
vim | less

that's will make trouble.
suggest: do not use any alias -g, it won't always make things goes well.

Frankly I think that's a desired feature of the common-aliases plugin, not a bug. You can work around those aliases by putting stuff inside quotation marks: vim 'L'.
Otherwise you can:

Disable all global aliases: for alias in $(alias -g); do unalias $alias; done.
Disable the common-aliases plugin.
Modify the plugin to make those global aliases optional.

@mcornella
finally i unalias all of global alias at the end of my ~/.zshrc
for alias in $(alias -g | /usr/bin/env grep -oP '^.+?(?==)'); do
  unalias $alias
done

maybe it is a desired feature to use global alias, but sometimes it will make trouble. i dont think it is suitable. :stuck_out_tongue_closed_eyes:

Ooh. I would just copy the aliases you do want from that plugin to a custom file, and then not load the plugin. Those global aliases could still interact with code in other plugins and stuff that runs before control returns to your ~/.zshrc for unaliasing. Avoiding them in the first place would be cleaner than writing code to back them out later.
Also watch out for these aliases, which turn on interactive mode for some file-manipulation commands, which may make them unsuitable for use in scripts or pipelines which are intended to run headless, in background, or have stdin redirected.
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'

And this grep alias, which will override the setup done in lib/grep.zsh, and will break grep on OS X and possibly other BSDs. On those systems, the --color option must take an argument (never, always, or auto) and using it without one causes an error.
alias grep='grep --color'

And this thing at the bottom which is not an alias, but instead modifies completion behavior for ssh.
zstyle -e ':completion:*:(ssh|scp|sftp|rsh|rsync):hosts' hosts 'reply=(${=${${(f)"$(cat {/etc/ssh_,~/.ssh/known_}hosts(|2)(N) /dev/null)"}%%[# ]*}//,/ })'


Database  doesn't exist when trying to create database in 0.3.2

Hi, I'm updating our driver from 0.2.6 to 0.3.2 and found some difference in behavior.
We have few cases, when we need to create database from our code, and then write into it. Mostly in autotests, but not only. And that's when I ran into a problem - I cannot get the connection to create database, because there is no database. Minimal code example:
import java.sql.SQLException;

import org.springframework.jdbc.datasource.DataSourceUtils;

import ru.yandex.clickhouse.ClickHouseConnection;
import ru.yandex.clickhouse.ClickHouseDataSource;
import ru.yandex.clickhouse.settings.ClickHouseProperties;

public class CreateDatabaseExample {

    public static void main(String[] args) throws SQLException {
        String connectionUrl = "jdbc:clickhouse://localhost:8123/test_db";
        ClickHouseConnection clickHouseConnection = (ClickHouseConnection) DataSourceUtils.getConnection(
                new ClickHouseDataSource(connectionUrl, new ClickHouseProperties()));
        clickHouseConnection.createStatement().executeQuery("CREATE DATABASE IF NOT EXISTS test_db");
    }

}

This worked fine with 0.2.6, but now I get an exception:
Exception in thread "main" org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is ru.yandex.clickhouse.except.ClickHouseException: ClickHouse exception, code: 81, host: localhost, port: 8123; Code: 81. DB::Exception: Database test_db doesn't exist. (UNKNOWN_DATABASE) (version <IP_ADDRESS> (official build))

	at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
	at ru.yandex.metrika.clickhouse.CreateDatabaseExample.main(CreateDatabaseExample.java:19)
Caused by: ru.yandex.clickhouse.except.ClickHouseException: ClickHouse exception, code: 81, host: localhost, port: 8123; Code: 81. DB::Exception: Database test_db doesn't exist. (UNKNOWN_DATABASE) (version <IP_ADDRESS> (official build))

	at ru.yandex.clickhouse.except.ClickHouseExceptionSpecifier.specify(ClickHouseExceptionSpecifier.java:60)
	at ru.yandex.clickhouse.except.ClickHouseExceptionSpecifier.specify(ClickHouseExceptionSpecifier.java:30)
	at ru.yandex.clickhouse.ClickHouseStatementImpl.checkForErrorAndThrow(ClickHouseStatementImpl.java:1083)
	at ru.yandex.clickhouse.ClickHouseStatementImpl.getInputStream(ClickHouseStatementImpl.java:770)
	at ru.yandex.clickhouse.ClickHouseStatementImpl.getLastInputStream(ClickHouseStatementImpl.java:693)
	at ru.yandex.clickhouse.ClickHouseStatementImpl.executeQuery(ClickHouseStatementImpl.java:341)
	at ru.yandex.clickhouse.ClickHouseStatementImpl.executeQuery(ClickHouseStatementImpl.java:326)
	at ru.yandex.clickhouse.ClickHouseStatementImpl.executeQuery(ClickHouseStatementImpl.java:320)
	at ru.yandex.clickhouse.ClickHouseStatementImpl.executeQuery(ClickHouseStatementImpl.java:314)
	at ru.yandex.clickhouse.ClickHouseConnectionImpl.initConnection(ClickHouseConnectionImpl.java:95)
	at ru.yandex.clickhouse.ClickHouseConnectionImpl.<init>(ClickHouseConnectionImpl.java:79)
	at ru.yandex.clickhouse.ClickHouseDriver.connect(ClickHouseDriver.java:65)
	at ru.yandex.clickhouse.ClickHouseDataSource.getConnection(ClickHouseDataSource.java:44)
	at ru.yandex.clickhouse.ClickHouseDataSource.getConnection(ClickHouseDataSource.java:15)
	at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:158)
	at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:116)
	at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
	... 1 more
Caused by: java.lang.Throwable: Code: 81. DB::Exception: Database test_db doesn't exist. (UNKNOWN_DATABASE) (version <IP_ADDRESS> (official build))

	at ru.yandex.clickhouse.except.ClickHouseExceptionSpecifier.specify(ClickHouseExceptionSpecifier.java:55)
	... 17 more

The query for timezone and version is failing with the exception: https://github.com/ClickHouse/clickhouse-jdbc/blob/master/clickhouse-jdbc/src/main/java/ru/yandex/clickhouse/ClickHouseConnectionImpl.java#L95
Is it an expected behavior? Is there a workaround to this problem? Of course we can create connection without database, create db, then create another connection, but it would be nice to use only one connection at a time, if possible.

Thanks @debychkov for reporting the issue and explaining use case in detail. I'll take it as a bug and will fix it in 0.3.2-patch4.
By the way, the legacy driver ru.yandex.clickhouse.ClickHouseDriver is deprecated and will be removed in 0.4. I'd suggest you starting to integrate with the new driver com.clickhouse.jdbc.ClickHouseDriver.

Thank you! Is there any estimate on this patch date?

By the way, the legacy driver ru.yandex.clickhouse.ClickHouseDriver is deprecated and will be removed in 0.4. I'd suggest you starting to integrate with the new driver com.clickhouse.jdbc.ClickHouseDriver.

Noted, thanks again.

This is related to #605. Adding connection property createDatabaseIfNotExist as suggested is more convenient than multi-statement query.
Anyway, I'm going to make below two changes:

legacy driver: avoid database check in connection init query
new driver: 1) avoid database check in init query; 2) add createDatabaseIfNotExist (default to false) connection property

Is there any estimate on this patch date?

I hope I can fix another two issues in a day or two, and then release path4 on Sunday.


zero argument constructor issue in DioError

New Issue Checklist

[x] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name
flutter

Dio Version
4.0.0

Issue Description and Steps
Recently, I've migrated my previous project to null-safety where I've extended the DioError to catch the error message whenever occurs.
class NetworkFailure extends DioError {

  String? _message;

  String get message => _message!;

  NetworkFailure({message})
      : _message = message;

  @override
  String toString() {
    return "Error $message";
  }
}

The real issue I faced is in the Constructor of Network Failure which says about zero argument constructor
The superclass 'DioError' doesn't have a zero argument constructor.
Try declaring a zero argument constructor in 'DioError',
or explicitly invoking a different constructor in 'DioError'.

Sorry to take your time but can anyone share the idea of getting away from it?

UPDATE
I'm sorry to take anybody's time but I managed to fix this by simply passing RequestOptions along with the url path (in my case, it's the base URL) in the constructor.
Updated NetworkFailure Constructor
NetworkFailure({message})
      : _message = message,
        super(
          requestOptions: RequestOptions(path: HttpConfig.baseUrl),
        );


removed unused method

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.071%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4905

Relevant Lines:
5053

💛  - Coveralls


[REQ] Add Azure Function Core Tools

Could you please add the ability to add Azure Function Core Tools to the Remote container so that the func command line could be used?

Unless I am misunderstanding, are you asking to add this ability to the VS Code Remote - Containers? If that's the case, then could you create an issue in the microsoft/vscode-remote-containers repo instead?


Getting offset in characters / codepoints

How do I convert indexes / pointers to raw char* to codepoint / character offsets?
I was also looking at utilising the raw_get method, but I am not sure if it's the right thing to do:
str.raw_get(offsetInBytes) - str.begin();
PS. I posted it in Stackoverflow as well: https://stackoverflow.com/questions/49716774/tiny-utf8-getting-offset-in-characters-codepoints

Thank you for your question! The method get_num_resulting_codepoints was renamed in Version 2 to get_num_codepoints and additionally was made private.
I have drafted a new release "2.0.2", that makes get_num_codepoints public again (along with get_num_bytes and get_num_bytes_from_start).
You can use it the same way as you did before. However, the solution with subtracting iterators is a little bit more elegant as it does exactly the same and is equally efficient. I would stick to that one :)
Jakob


Add support for kml:Location

This doesn't currently implement kml:Location (10.10 in the spec), but it should be straightforward to implement here.
This would involve creating a Location struct in a new src/types/location.rs file with properties similar to Point. This is different in that its coordinates are in separate latitude and longitude elements instead of a single comma-separated line like Point.
Once the type is created it can be added to the Kml enum and a setup for parsing it added to the reader and writer implementations.
It looks like this is mostly used inside of kml:Model, so this is mostly preparation for implementing that struct.

Hey, will take a shot at this.


[moor_ffi] Implement overrideForAll and overrideFor

Im not sure if I'm missing something, but these function do not appear to be implemented, eventhough the documentation references them for use.

Ouch, how could I miss that :man_facepalming: Thanks for the contribution :+1:!

Just released moor_ffi 0.3.1 which contains this fix.


reclassification of motif similarity

Class "motif similarity evidence" (ECO:0000028) should be a child of "match to sequence model evidence" (ECO:0000202), since a motif is essentially a type of sequence model inferred from a collection of aligned sequences.

This change has been applied.


Support for log4jxmlevent on dotnetcore

Feature Request
NLog version: 4.4.0-betaV15
Platform:  .NET Core
Current NLog config (xml or C#, if relevant)
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" autoReload="true">

  <targets async="true">
    <target name="xmlFilePerDay" keepFileOpen="true" xsi:type="File" fileName="${shortdate}.log" layout="${log4jxmlevent}">
    </target>
  </targets>

  <rules>
    <logger name="*" minlevel="Info" writeTo="xmlFilePerDay" />
  </rules>
</nlog>

Why do we need it?
Well, the log4j XML Format is well being adapted by numerous tools, therefore it would be pretty nice to have it. Is there a specific reason to leave this layout out?

Will check this!

I think we could add this, it now needed an appdomain (which isn't there on .NET Core), but we could implement it without it.

This has been added to the first beta of NLog 5! (the new name for .NET core support)
https://www.nuget.org/packages/NLog/5.0.0-beta01


chore(master): release 1.9.9

:robot: I have created a release beep boop
1.9.9 (2023-04-13)
Bug Fixes

使用动态路由时，多级路由只有一个子路且父路由未使用alwaysShow时，子路由未添加至路由中 (9b330a1)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/kailong321200875/vue-element-plus-admin/releases/tag/v1.9.9 :sunflower:


Add collate for columns (MySQL)

This had been requested in #599 a year ago, but a PR was never created.
I have included a test that passed when i ran it.

@rhys-vdw Please have a look at this.

very useful please add

@alexrsagen can you add docs for this feature? Otherwise, lgtm

@tjwebb Is this okay? 2fae475

I have no idea how that one check failed, but i'm sure i didn't touch that, and the only thing i just changed was index.html... It said it timed out, so must be slow vm or old Node.js version causing that.

I re-triggered the test :) it was just usual timeout when some test doesn't complete in 5000ms... Not sure if there is real problem in somewhere in our codebase or is it just random lagging of travis, which causes it. It happens maybe once in every 20 build or so.

@elhigu Great, thanks :)
I think the timeout issue is more than likely a problem with travis, as they create a very small VM or container for every test they run, so they can't use many resources.
Could you or another collaborator merge this please? Currently i'm using table.string("email").comment("' collate 'utf8_unicode_ci") to get past without the function i'm committing here :)

@alexrsagen code looks fine to me. We are trying to push out 0.10 so I would rather merge this after it is released... we hope to be able to make releases in faster cycle in future.

@elhigu Ah i see. Thanks for clarifying :)


Delete unused branches

Remote branches which have already been merged into master may be deleted if they are not used.

deleted.


Long tap with additional symbols

Hi!
Are there any solutions for long tap like this?

Hi @Said13
You could implement something similar by implementing custom long press handling. I will add something like this eventually, but for keyboard extensions, the callout bubble can't expand beyond the edges of the keyboard. So, we need to come up with some good ux to get this done.

@danielsaidi Looking forward for this feature. This would make a huge typing efficiency instead of having to press shift all the time to get special characters.

I would love to implement it, but I guess it'd have to force the keyboard to add additional spacing on top, since such callouts can't extend beyond the keyboard's edges for custom keyboards.

I'll build a couple of keyboard apps with the current version and eat my own dogfood, before I add more features. I'd like to polish what's already there before I add new stuff.

There're cases when you always display a toolbar above, like the custom keyboard app I'm building now.
I'll try to add callout bubbles without special characters selection for now, since I'll have to do it anyway.

I think I'll solve this in SwiftUI only and provide button modifiers to add secondary actions, popup actions etc. and have standard views that are used by default, with the option to replace these views with custom ones.

I'll try to implement this as a SwiftUI exclusive feature in 3.2.

Hey @danielsaidi, I have this sorted as part of #93 if you'd like to consider that implementation! I'll try to start putting up pieces of it this weekend.

Perfect! Not sure if we can reuse the UIKit approach with some wrapping, or if we should rewrite it entirely in SwiftUI.

I have finally implemented a first version of this, see the attached screenshot! 🎉
This a SwiftUI exclusive implementation, although the general, locale-based data source over secondary inputs for each character is UIKit/SwiftUI agnostic. This data source currently supports English and Swedish, but can easily be extended to support more locales.
This callout is automatically enabled for the SystemKeyboard as well as to any views that uses the keyboard action gesture modifier. I have merged this to master, so I'd love for you to give it a try and tell me what you think.

I have finally implemented a first version of this, see the attached screenshot! 🎉
This a SwiftUI exclusive implementation, although the general, locale-based data source over secondary inputs for each character is UIKit/SwiftUI agnostic. This data source currently supports English and Swedish, but can easily be extended to support more locales.
This callout is automatically enabled for the SystemKeyboard as well as to any views that uses the keyboard action gesture modifier. I have merged this to master, so I'd love for you to give it a try and tell me what you think.

I have just released KeyboardKit 3.4, which has SwiftUI support for this.
I would love some extra eyes in the result and would love to improve the overall look and feel over time.

I have just released KeyboardKit 3.4, which has SwiftUI support for this.
I would love some extra eyes in the result and would love to improve the overall look and feel over time.


Notification LED is not working

Hi,
i'm using cordova android 3.4.0. I added your plugin and so far it works perfect, apart from the led when i receive a notification while the application is closed and the celular is switched off. The vibration works and it's displayed on the lock screen but unfortunatelly no led (and maybe it's also possible to turn on the celular on receiving a notofication? )
Is this a problem of this pluging or do i have add an other plugin to solve this. If yes, please let me know which one as i'm really really confused of all these plugins.
Mana thanks in advance,
Caipigott

@caipigott no, it's a bug. I will fix it in an upcoming release.

Addressed in #108 which should get merged soon.

Hi,
i saw that an update was published for this issue, but unfortunatelly there is still no led flashing on receiving a message. I found inside the commit that "To use, add the iconColor key to plugin android options". I'm pretty new to this, so can you help me where I have to add this, and how exactly it has to look like?
Many thanks for your help,
Caipigott

@caipigott hasn't been merged yet. Soon though.

@caipigott re-test with the upcoming 1.3.0 release and re-open if it doesn't fix your issue.


WHY-2306 constraints in whylogs-python

https://whylabs.atlassian.net/browse/WHY-2306
Defines ValueConstraint and SummaryConstraint and affiliated structures.
These can be used to define boolean tests to be run during logging or on whylog profile summaries.
# value constraints are applied to every value that is logged
v = ValueConstraint(Op.LT, 3.6)

# constraints may have an optional name
s = SummaryConstraint('min', Op.LT, 300000, name='< 30K')

Constraints can be associated with feature names for profile logging,
conforming_loan = ValueConstraint(Op.LT, 548250)
smallest_loan = ValueConstraint(Op.GT, 2500.0, verbose=True)

high_fico = ValueConstraint(Op.GT, 4000)

non_negative = SummaryConstraint('min', Op.GE, 0)

dc = DatasetConstraints(None, value_constraints={'loan_amnt':[conforming_loan, smallest_loan],
                                                 'fico_range_high':[high_fico]},
                              summary_constraints={'annual_inc':[non_negative]})

profile = session.log_dataframe(data, 'test.data', constraints=dc)

Normally constraints just count the number the total number of tests and failures, but they can also be marked verbose to log every failure.
v = ValueConstraint(Op.GT, 2500.0, verbose=True)

2021-02-10 16:05:09,072 - whylogs.core.statistics.constraints - INFO - value constraint value GT 2500.0 failed on value 2400.0
2021-02-10 16:05:09,074 - whylogs.core.statistics.constraints - INFO - value constraint value GT 2500.0 failed on value 2300.0
2021-02-10 16:05:09,075 - whylogs.core.statistics.constraints - INFO - value constraint value GT 2500.0 failed on value 2000.0
2021-02-10 16:05:09,077 - whylogs.core.statistics.constraints - INFO - value constraint value GT 2500.0 failed on value 2400.0

After profiling, a report can be generated showing which constraints were run and how many times they failed.
Constraint failures by feature -
loan_amnt:
    test_name          total_run    failed
    value LT 548250         1000         2
    value GT 2500.0         1000        20
fico_range_high:
    test_name        total_run    failed
    value GT 4000         1000      1000
annual_inc:
    test_name                total_run    failed
    summary min GE 0/None            0         0

notebooks/constraints.ipynb has more details and example usage.
Still TBD:

This PR adversely affects coverage of datasetprofile.py and columnprofile.py.  Add some unit tests to bring this back up.
Show an example of reading constraints from a file.

Overall looking good. Just commenting on mostly docstring + some API choices

my merge must have broken something - I'm working on it.


Feature/swopscha/logging

Updating logging with various SLIC levels:

introduce SLIC_<>_ROOT where appropriate
move various warnings to SLIC_INFO or SLIC_DEBUG
ensure SLIC_WARNINGS are user appropriate
modify error messages

Tag: bmhan12  -- tribol uses slic pretty extensively

@kennyweiss , @ebchin , @rieben1 , @white238 - This PR is ready for review. The main thrust is to reduce the amount of logging various physics packages may experience during testing. This utilizes SLIC macros and reduced a lot of warnings to lesser levels. We can set a single logging level through initialize() or optionally we have the ability to set the logging level per coupling scheme through a new API function. Ultimately it will be the host-codes responsibility to reset the logging level if the tribol one differs.

Note: I removed the logging level input in tribol::initialize() in favor of letting the host code set this. This does not address the issue of a host-code not natively using slic, which can/will be addressed in a future PR. A host-code can still set the logging level per individual coupling scheme, but for now the assumption is that slic has been initialized by the host-code and will be finalized or handle resetting the logging level.


Expected behavior of fullscreen and maximized in MacOS

After PR https://github.com/tomaka/winit/pull/457 is merged,  I am going to implement following missing / incorrect (https://github.com/tomaka/winit/issues/66, https://github.com/tomaka/winit/issues/300) of display features in macos:

Window::set_fullscreen and WindowBuilder::with_fullscreen
Window::set_maximized and WindowBuilder::with_maximized
Window::set_decoration

However,  i didn't know what is the expected behavior of "Full Screen" in macos :

Should full screen show / hide / auto-hide the menu bar ?
Should maximized show / hide / auto-hide the dock ?
If i implemented this changes, will it break others projects (e.g. alacritty @jwilm) ?

I don't think hiding the dock is necessary - I would expect this to simply set the outer dimensions of the window to the size of the screen.

When i clicked on "green icon" (e.g safari) , it will take up the whole screen but set the menubar and dock to auto-hide.
When i clicked on "green icon" with Option, it will not hide the dock but just make the outer dimensions to the size of the screen.
So should we map set_maximized to "green icon" or map to "green icon with Option" instead?

Yes I think following safari's conventions is a good idea. That is, mapping set_maximized to "green icon with Option" and set_fullscreen to "green icon".
I cannot comment much further on auto-hiding the dock as I did not use the dock.

Just to throw my two cents in here, I agree with following Safari's convention, which I believe is just macos convention. I imagine anyone who wants faux full-screen behavior that leaves the menu bar and dock intact would already be using a window manager that can achieve this (I use hammerspoon for this).

Indeed, i just implemented these features following standard macos convention, which is just calling NSWindow::toggleFullscreen: for fullscreen and NSWindow::zoom for maximized.
However, set_decoration and with_fullscreen are little bit tricky:

Calling toggleFullscreen: and zoom: on a non-resizable window in MacOS is no-op by default, i have to do it manually (use setFrame for zoom) or set it to resizable tempority and restore it back. (for toggleFullScreen
Normally, the implementation of with_fullscreen is just calling toggleFullscreen after window initialization, but when a winit app are launched from a fullscreen app (e.g. from a FullScreen VS Code Terminal), it creates a new virtual desktop and a transition animation, which tasks one sec and cannot be disable. In this animation time, all toggleFullscreen events will be failed. The PR just make another toggleFullscreen call with delay to do it again until it success.

Have we considered supporting two distinct fullscreen modes? One being the Safari-like mode that Mac desktop apps use at the current desktop resolution, with hidden menu bar and dock, and the other being a true fullscreen with captured display (custom resolution and no menu bar or dock at all) as games tend to use.
On Windows these equate to fullscreen borderless window, versus regular fullscreen (i.e. the choice of fullscreen modes that Blizzard presents in their games).

As i knew, in PR #270 ,  custom resolution are removed in X11 implementation, so i made the same change to #457 And in the MacOS side, i didn't implement resolution either.
The problem of custom resolution is, not all resolutions are supported by hardware, and there is still no api to query the supported resolution list right now. On the other hand, as stated in #270:

GPU scaling is cheap enough that apps should just scale to whatever the physical resolution is and not do any mode switching

For example, let say we are using OpenGL as backend, it is not hard to create an framebuffer with custom resolution and then copy to screen frame buffer.

What I would like is a fullscreen on a new "desktop" with dock and menubar hidden, maybe even cmd+tab disabled so application can handle it in a custom way. I made a pull request to the underlying cocoa library to support necessary APIs. Would be nice if we could expose this through winit.

@vbo That PR is what we needed, right now i didn't touch the Fullscreen options, so the default will be used.
And we could expose this in WindowExt and WindowBuilderExt, but i think i would recommend to create another PR to address it.

@vbo When i am trying to using  NSView:: enterFullScreenMode:withOptions:, , i found that (NSViewFullScreenModeOptionKey) is missing too, when i do not have any other options to bypass it, would you mind to bind it in your cocoa library too ?

Sure, I'll take a look. That PR already merged-in though, so this is going to be separate.

Yes, thanks


Update Enable Application Insights integration section to use APPLICATIONINSIGHTS_CONNECTION_STRING instead of APPINSIGHTS_INSTRUMENTATIONKEY

Section Enable Application Insights integration states the instrumentation key should be registered in APPINSIGHTS_INSTRUMENTATIONKEY, while this should nowadays be APPLICATIONINSIGHTS_CONNECTION_STRING if I understand the documentation on this page correctly: be https://learn.microsoft.com/en-us/azure/azure-monitor/app/migrate-from-instrumentation-keys-to-connection-strings

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

ID: 86aff194-f810-3c21-e322-cdda05dfc734
Version Independent ID: 0864707c-97a7-1166-1bd4-ef9ea212c64e
Content: Configure monitoring for Azure Functions
Content Source: articles/azure-functions/configure-monitoring.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@Ruud2000
Thanks for your feedback! We will investigate and update as appropriate.

Thanks @ ruud2000 were fixing this now!


Assign object {row} to state

I'm trying to migrate my application which currently uses react-bootstrap-table to react-bootstrap-table-next but I'm having a problem.
What I am trying to do:
is to get the object of the selected line.
My code
const selectRow = {
        mode: 'radio',
        hideSelectColumn: true,
        clickToSelect: true,
        bgColor: 'red',
        onSelect: (row) => {
           console.log(row)
          }
      };

<div className="col-lg-12">
                             <BootstrapTable keyField='id' data={ products } columns={ columns } selectRow={ selectRow }   />
                        </div>

result obtained
When I click on the line, it assigns the color red and prints the object to the selected line
but when I try to put the object in the state:
const selectRow = {
        mode: 'radio',
        hideSelectColumn: true,
        clickToSelect: true,
        bgColor: 'red',
        onSelect: (row) => {
           console.log(row)
           this.setState({banco: row});
          }
      };

The selected line object is assigned to {banco} property as expected, but the line does not turn red.

Sorry for lately fixed.....
RELEASE NOTE
now you can call setState in selectRow.onSelect and we support a feature that you can reject the selection, please check this and here is example


WRQ-19328: Fix React 18.3 warnings in storybook-utils

Checklist

[x] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[ ] At least one test case is included for this feature or bug fix
[x] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
defaultProps in function components will be removed in React 19
Resolution
Fix React 18.3 warnings in storybook-utils related to the defualtProps and fix mergeComponentMetadata to read default prop values of components properly.
Additional Considerations
Links
WRQ-19328
Comments

Let's add a changelog for this.


dd

Any idea why I can't use the dd command with ff4d?
I have ff4d running in a folder called dropbox. This is my command:
sudo dd if=/dev/xvda1 of=/home/ubuntu/matt/ff4d/dropbox/Backups/

And this is the error I get:
dd: failed to open ‘/home/ubuntu/matt/ff4d/dropbox/Backups/’: Permission denied

Any (safe) way around this?

This is the correct (and safe) behavior for dd. From man dd:
...
     The dd utility copies the standard input to the standard output.  Input
     data is read and written in 512-byte blocks.  If input reads are short,
     input from multiple reads are aggregated to form the output block.  When
     finished, dd displays the number of complete and partial input and output
     blocks and truncated input records to the standard error output.
...
     of=file  Write output to file instead of the standard output.  Any regu-
              lar output file is truncated unless the notrunc conversion value
              is specified.  If an initial portion of the output file is
              seeked past (see the oseek operand), the output file is trun-
              cated at that point.
...

It looks like your of argument (/home/ubuntu/matt/ff4d/dropbox/Backups/) is a directory, not a file or block device.
What did you expect your command to do? If you expected it to make a copy of your Xen disk image, you need to give a path to a file or block device (and you probably want to umount the disk first within your Xen virtual machine, otherwise you're likely going to have inconsistencies, but I don't know how Xen devices work, so you'll likely need to research this more). If you expected it to make a copy of your file hierarchy, dd is the wrong tool (try researching rsync).
Either way, this has nothing to do with ff4d. Please close this issue.


jemalloc compile error on CentOS 7

Hi @mikeowens,
I'm running into a strange problem with CentOS 7, ruby 2.5.7, jemalloc-3.6.0-1, glibc-headers-2.17-292:
$ make
[  1%] Building CXX object src/CMakeFiles/rhtml_lib.dir/rhtml.cpp.o
In file included from /opt/ruby25/include/ruby/ruby-2.5.0/ruby/missing.h:25:0,
                 from /opt/ruby25/include/ruby/ruby-2.5.0/ruby/defines.h:154,
                 from /opt/ruby25/include/ruby/ruby-2.5.0/ruby/ruby.h:29,
                 from /opt/ruby25/include/ruby/ruby-2.5.0/ruby.h:33,
                 from /root/mod_ruby/src/ruby.hpp:5,
                 from /root/mod_ruby/src/rhtml.cpp:3:
/usr/include/jemalloc/jemalloc.h:137:46: error: declaration of ‘void* malloc(size_t)’ has a different exception specifier
 JEMALLOC_EXPORT void *je_malloc(size_t size) JEMALLOC_ATTR(malloc);
                                              ^
In file included from /opt/ruby25/include/ruby/ruby-2.5.0/ruby/defines.h:120:0,
                 from /opt/ruby25/include/ruby/ruby-2.5.0/ruby/ruby.h:29,
                 from /opt/ruby25/include/ruby/ruby-2.5.0/ruby.h:33,
                 from /root/mod_ruby/src/ruby.hpp:5,
                 from /root/mod_ruby/src/rhtml.cpp:3:
/usr/include/stdlib.h:465:14: error: from previous declaration ‘void* malloc(size_t) throw ()’
 extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur;
              ^

The ruby package was compiled with jemalloc included, so my /opt/ruby25/include/ruby/ruby-2.5.0/x86_64-linux/ruby/config.h has:
#define HAVE_LIBJEMALLOC 1
#define RUBY_ALTERNATIVE_MALLOC_HEADER <jemalloc/jemalloc.h>

That trickles down to mod_ruby's #include <ruby.h> to include the jemalloc.h:
JEMALLOC_EXPORT void    *je_malloc(size_t size) JEMALLOC_ATTR(malloc);

and then it does an #include <stdlib.h> which defines malloc as:
/* Allocate SIZE bytes of memory.  */
extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur;

We had no problems with the ruby install itself.  jemalloc seems to be working fine with it.  I've also seen some references that jemalloc v3.6 is a little old, and some of these things were fixed in v4 and later.  However, it's been difficult to find an actual RPM distro of jemalloc for C7 that's not from the standard EPEL repo.  (Compiling from source isn't really an option, as these will be production machines maintained with puppet)
My next approach was to try and find a way to undefine HAVE_LIBJEMALLOC from the mod_ruby compilation, but overriding the defines in ruby's config.h is proving to be very difficult.
You have any advice on what to do here?
Thanks!

@mikeowens, I have a quick recreation of this in docker with this commit: https://github.com/calh/mod_ruby-1/commit/8db5bceef3402cb1708cc591725703f83e1de337
$ ./script/docker_build
Sending build context to Docker daemon  2.307MB
Step 1/22 : FROM centos:centos7
. . .
Step 11/22 : RUN cmake . && make -j4 && make install
 ---> Running in 2b50a72cd247
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- PLATFORM: linux
-- SYSTEM: Linux-5.3.0-46-generic
-- VERSION: 5.3.0-46-generic
-- ARCH: x86_64
-- LSB_RELEASE_ID: CentOS
-- SYSTEM: 5.3.0-46-generic (linux/CentOS/settings.cmake)
-- LINUX_DISTRO: CentOS Linux release 7.7.1908 (Core)
-- RELEASE_DATE: Wed, 22 Apr 2020 17:04:32 +0000
-- VERSION:      3.0.0
-- SOVERSION:    3.0.0
-- RUBY_INCLUDE_ARCH_PATH: /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/x86_64-linux
-- RUBY_INCLUDE_PATH: /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0
-- RUBY_ARCH_DIR: /usr/local/rvm/rubies/ruby-2.5.7/lib/ruby/2.5.0/x86_64-linux
-- RUBY_LIBRARY: /usr/local/rvm/rubies/ruby-2.5.7/lib/libruby.so.2.5.7
-- RUBY_ARCH_LIB_DIR : /usr/local/rvm/rubies/ruby-2.5.7/lib/x86_64-linux
--
-- -------------------------------------------------------------------------------
--  BUILD_SHARED_LIBS = OFF
--  CMAKE_INSTALL_PREFIX = /usr/src/mod_ruby
--  CMAKE_BUILD_TYPE = RelWithDebInfo
--  CMAKE_MODULE_PATH =
--  Project_DEPENDS = ""
--  BUILD_WITH = ""
--  INSTALL_DOC = ON
--  Change a value with: cmake -D<Variable>=<Value>
-- -------------------------------------------------------------------------------
--
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/src/mod_ruby
Scanning dependencies of target rhtml_lib
[  1%] [  3%] Building CXX object src/CMakeFiles/rhtml_lib.dir/rhtml.cpp.o
Building CXX object src/CMakeFiles/rhtml_lib.dir/ruby_rhtml.cpp.o
Scanning dependencies of target shared_lib
Scanning dependencies of target static_lib
[  5%] [  7%] Building CXX object src/CMakeFiles/shared_lib.dir/ruby_rhtml.cpp.o
Building CXX object src/CMakeFiles/static_lib.dir/ruby_rhtml.cpp.o
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/missing.h:25:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:154,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/rhtml.cpp:3:
/usr/include/jemalloc/jemalloc.h:137:46: error: declaration of ‘void* malloc(size_t)’ has a different exception specifier
 JEMALLOC_EXPORT void *je_malloc(size_t size) JEMALLOC_ATTR(malloc);
                                              ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:120:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/rhtml.cpp:3:
/usr/include/stdlib.h:465:14: error: from previous declaration ‘void* malloc(size_t) throw ()’
 extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur;
              ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/missing.h:25:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:154,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/rhtml.cpp:3:
/usr/include/jemalloc/jemalloc.h:139:5: error: declaration of ‘void* calloc(size_t, size_t)’ has a different exception specifier
     JEMALLOC_ATTR(malloc);
     ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:120:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/rhtml.cpp:3:
/usr/include/stdlib.h:467:14: error: from previous declaration ‘void* calloc(size_t, size_t) throw ()’
 extern void *calloc (size_t __nmemb, size_t __size)
              ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/missing.h:25:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:154,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/rhtml.cpp:3:
/usr/include/jemalloc/jemalloc.h:141:18: error: declaration of ‘int posix_memalign(void**, size_t, size_t)’ has a different exception specifier
     size_t size) JEMALLOC_ATTR(nonnull(1));
                  ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:120:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/rhtml.cpp:3:
/usr/include/stdlib.h:502:12: error: from previous declaration ‘int posix_memalign(void**, size_t, size_t) throw ()’
 extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
            ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/missing.h:25:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:154,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/rhtml.cpp:3:
/usr/include/jemalloc/jemalloc.h:143:5: error: declaration of ‘void* aligned_alloc(size_t, size_t)’ has a different exception specifier
     JEMALLOC_ATTR(malloc);
     ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:120:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/rhtml.cpp:3:
/usr/include/stdlib.h:508:14: error: from previous declaration ‘void* aligned_alloc(size_t, size_t) throw ()’
 extern void *aligned_alloc (size_t __alignment, size_t __size)
              ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/missing.h:25:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:154,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/rhtml.cpp:3:
/usr/include/jemalloc/jemalloc.h:144:56: error: declaration of ‘void* realloc(void*, size_t)’ has a different exception specifier
 JEMALLOC_EXPORT void *je_realloc(void *ptr, size_t size);
                                                        ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:120:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/rhtml.cpp:3:
/usr/include/stdlib.h:479:14: error: from previous declaration ‘void* realloc(void*, size_t) throw ()’
 extern void *realloc (void *__ptr, size_t __size)
              ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/missing.h:25:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:154,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/rhtml.cpp:3:
/usr/include/jemalloc/jemalloc.h:145:39: error: declaration of ‘void free(void*)’ has a different exception specifier
 JEMALLOC_EXPORT void je_free(void *ptr);
                                       ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:120:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/rhtml.cpp:3:
/usr/include/stdlib.h:482:13: error: from previous declaration ‘void free(void*) throw ()’
 extern void free (void *__ptr) __THROW;
             ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/missing.h:25:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:154,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/rhtml.cpp:3:
/usr/include/jemalloc/jemalloc.h:172:47: error: declaration of ‘void* valloc(size_t)’ has a different exception specifier
 JEMALLOC_EXPORT void * je_valloc(size_t size) JEMALLOC_ATTR(malloc);
                                               ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:120:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/rhtml.cpp:3:
/usr/include/stdlib.h:497:14: error: from previous declaration ‘void* valloc(size_t) throw ()’
 extern void *valloc (size_t __size) __THROW __attribute_malloc__ __wur;
              ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/missing.h:25:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:154,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/ruby_rhtml.cpp:5:
/usr/include/jemalloc/jemalloc.h:137:46: error: declaration of ‘void* malloc(size_t)’ has a different exception specifier
 JEMALLOC_EXPORT void *je_malloc(size_t size) JEMALLOC_ATTR(malloc);
                                              ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:120:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/ruby_rhtml.cpp:5:
/usr/include/stdlib.h:465:14: error: from previous declaration ‘void* malloc(size_t) throw ()’
 extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur;
              ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/missing.h:25:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:154,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/ruby_rhtml.cpp:5:
/usr/include/jemalloc/jemalloc.h:139:5: error: declaration of ‘void* calloc(size_t, size_t)’ has a different exception specifier
     JEMALLOC_ATTR(malloc);
     ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:120:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/ruby_rhtml.cpp:5:
/usr/include/stdlib.h:467:14: error: from previous declaration ‘void* calloc(size_t, size_t) throw ()’
 extern void *calloc (size_t __nmemb, size_t __size)
              ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/missing.h:25:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:154,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/ruby_rhtml.cpp:5:
/usr/include/jemalloc/jemalloc.h:141:18: error: declaration of ‘int posix_memalign(void**, size_t, size_t)’ has a different exception specifier
     size_t size) JEMALLOC_ATTR(nonnull(1));
                  ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:120:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/ruby_rhtml.cpp:5:
/usr/include/stdlib.h:502:12: error: from previous declaration ‘int posix_memalign(void**, size_t, size_t) throw ()’
 extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
            ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/missing.h:25:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:154,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/ruby_rhtml.cpp:5:
/usr/include/jemalloc/jemalloc.h:143:5: error: declaration of ‘void* aligned_alloc(size_t, size_t)’ has a different exception specifier
     JEMALLOC_ATTR(malloc);
     ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:120:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/ruby_rhtml.cpp:5:
/usr/include/stdlib.h:508:14: error: from previous declaration ‘void* aligned_alloc(size_t, size_t) throw ()’
 extern void *aligned_alloc (size_t __alignment, size_t __size)
              ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/missing.h:25:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:154,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/ruby_rhtml.cpp:5:
/usr/include/jemalloc/jemalloc.h:144:56: error: declaration of ‘void* realloc(void*, size_t)’ has a different exception specifier
 JEMALLOC_EXPORT void *je_realloc(void *ptr, size_t size);
                                                        ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:120:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/ruby_rhtml.cpp:5:
/usr/include/stdlib.h:479:14: error: from previous declaration ‘void* realloc(void*, size_t) throw ()’
 extern void *realloc (void *__ptr, size_t __size)
              ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/missing.h:25:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:154,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/ruby_rhtml.cpp:5:
/usr/include/jemalloc/jemalloc.h:145:39: error: declaration of ‘void free(void*)’ has a different exception specifier
 JEMALLOC_EXPORT void je_free(void *ptr);
                                       ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:120:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/ruby_rhtml.cpp:5:
/usr/include/stdlib.h:482:13: error: from previous declaration ‘void free(void*) throw ()’
 extern void free (void *__ptr) __THROW;
             ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/missing.h:25:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:154,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/ruby_rhtml.cpp:5:
/usr/include/jemalloc/jemalloc.h:172:47: error: declaration of ‘void* valloc(size_t)’ has a different exception specifier
 JEMALLOC_EXPORT void * je_valloc(size_t size) JEMALLOC_ATTR(malloc);
                                               ^
In file included from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/defines.h:120:0,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby/ruby.h:29,
                 from /usr/local/rvm/rubies/ruby-2.5.7/include/ruby-2.5.0/ruby.h:33,
                 from /usr/src/mod_ruby/src/ruby.hpp:5,
                 from /usr/src/mod_ruby/src/ruby_rhtml.cpp:5:
/usr/include/stdlib.h:497:14: error: from previous declaration ‘void* valloc(size_t) throw ()’
 extern void *valloc (size_t __size) __THROW __attribute_malloc__ __wur;
              ^
make[2]: *** [src/CMakeFiles/rhtml_lib.dir/rhtml.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [src/CMakeFiles/rhtml_lib.dir/ruby_rhtml.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/rhtml_lib.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

I was able to get this running by installing the jemalloc 5.2.1 source.  (See https://github.com/calh/mod_ruby-1/commit/d3f22bf1ff25b31e5ce8f17ace7b1d4031a4a43c)  I don't really enjoy this solution, because now I have to steal RPM specs from jemalloc and build my own internal RPM.
If you have any other ideas, let me know!

It basically looks like a classic name collision in C and while it might be possible to conditionally compile a way out, I am not sure what would work. If you come up with something I would be glad to look at putting it in.

I ended up just taking my original approach and hacking up an RPM spec for jemalloc 5.2.1 and using it in our internal repo.  Not the greatest solution, but it's functional and works fine.


Collapse a node's children after double-clicking

Related to #6.
When double-clicking a node, we expand the graph by showing all its children nodes and associated edges. However, there's no way to go back, once the children are displayed. Along with the "hide" node, we should look at providing a "hide children" option to allow the user to prevent the graph from exploding in size.

Makes sense 👌🏽.
Can we change it from "Unexpand neighbours" to "Collapse neighbours" instead?


Snippet for queueing a build definition

Hi,
Are you able to give me an example showing how to queue a build definition?
Thanks.

Figured it out myself, here is an example:
var buildInstance = new Build
{
    Definition = new DefinitionReference
       {
         Id = definition.Id
       },
      Project = definition.Project,
};

await buildConnection.QueueBuildAsync(buildInstance);

Call GetDefinitionsAsync or GetDefinitionAsync off the BuildHttpClient to get the definition.


Fix statements in nullable-types/index.md for C#

Summary
In https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/nullable-types/, assignment statements in the overview section was inconsistent (didn't end with a semi-colon or ended with a period)
This change is to fix them so that every statement in the section is a valid statement.

Doesn't appear in the build list in the OPS portal. Closing and reopening to begin new build.


[v1.1] Use indexer when listing cached types by hash

Relates to rancher/fleet#1842
Backport of #326
Adds special case for listing objects only by exact hash selector. Keeping an index of objects sharing the same hashes alleviates the CPU usage in certain scenarios. This index is only configured for those types for which cache have been configured.

Updated after #326 has been merged.

I needed this change in v1 in order to be able to use it in Fleet (master branch already upgraded to v2, but existing release branches still use v1).

CI is consistently failing but it's unrelated to my changes. I've opened #352 to address it


PowerShell task on Linux - The specified drive root "net:[4026532114]" either does not exist, or it is not a folder.

Environment

Server - Azure Pipelines

rcss-willistowerswatson - PPM - release id 262

Agent - Hosted or Private:

Private: 2.140.2 on RHEL 7.3

Issue Description
Using PowerShell v2.* with Inline mode:

The task writes to stderr stream (and we fail the task on stderr from docker commands).
I have never seen an error like the one below and can't seem to find anything on Google.
I am not even sure if it's a VSTS issue or pwsh itself.
The task fails sporadically, but I've seen this issue a couple of times.

I think this is a pwsh issue.
The task prints the command line that it uses to launch pwsh. You can try logging into the machine, run the same command line, and hopefully it produces the same error.
It sounds like someone connected a psdrive at one point, but that fails to connect now? A search of the issues on pwsh may produce better insight.

@ericsciple Is there a way to recall the content of a temporary PS file that VSTS creates when executing an inline script? Unfortunately the file from my log gets deleted after the task finishes. I wonder if there's anything else that it puts into that file.

@xenalite sorry for the delayed response. Do you have the advanced fail-on-standard-error option checked? You may want to uncheck that option.
Here is how the script is generated.


"Suggest edit" feature not working on website

Hello, when I try to use "suggest edit" option on website, here for example: https://docs.flame-engine.org/1.0.0/game.html#changing-component-priorities-render-update-order I'm getting error 404.

This feature has been removed from the latest versions of the docs (https://docs.flame-engine.org/main/), right @st-pasha?
To suggest and edit you can navigate to the markdown file on GitHub and press the pen.

All markdown files can be found here.

Yes, it was removed because (1) it's always possible to go to GitHub and find the doc file there; and (2) this feature cannot work reliably because doc files may move or significantly change between versions, so suggesting an edit to any version other than the main may not work as intended.


TabbedCarouselView

Hi, can you share the new link of this? Thank you very much

Ok. I'll wait. Thank you very much

Have u implement TabbedCarouselView on this? Because I checked again your CarouselView inside TabbedPage and it seems that it's work like charm. Thanks :)


TopAnat on strains

In GitLab by @marcrr on Jan 23, 2017, 16:34
TopAnat on strains only or strain-organ. Of high interest to livestock. Also possible for human (GTEx) if data is totally secure back-end.

chose strains like we chose developmental stages

include strains in graph, like developmental stages #111

In GitLab by @marcrr on Jun 20, 2019, 08:58
moved to Roadmap suggestions

In GitLab by @marcrr on Jun 20, 2019, 08:58
closed


rebuild apk can not login/link the google fit account

Information

Apktool Version (apktool -version) - 2.4.1
Operating System (Mac, Linux, Windows) - windows
APK From? (Playstore, ROM, Other) - Playstore

Steps to Reproduce

apktool d base.apk
apktool b base -o mybuild.apk
sign and install the apk
open the application, the application needs to login/link google fit account, but the rebuild version can not login/link the google fit account.
I am not sure if i need to config something if the application needs to link google account.

APK

Google login can't work if apk has been signed and signature is different than original. It is normal
You must keep APK unsigned with disabled signature check on rooted device to work.
https://platinmods.com/threads/how-to-install-an-unsigned-apk-root-lucky-patcher.43/

Google login can't work if apk has been signed and signature is different than original. It is normal
You must keep APK unsigned with disabled signature check on rooted device to work.
https://platinmods.com/threads/how-to-install-an-unsigned-apk-root-lucky-patcher.43/
if i dont want to root my device.
is it possible to add my own  signature for the apk?
i find out that if apk needs google sign-in service, the developer have to uploda some SHA key.
So, i am thinking to register my keysotre and upload the SHA key.
and modify the google res/string_name google_api_key....etc (i dont know what else to modify)
does this work?

As mentioned above - Google login can detect malformed signatures in applications. There is nothing fortunately Apktool can do this.


signs in request path confuse CF/S3 routing

https://github.com/sveltejs/kit/discussions/5748

workaround in<EMAIL_ADDRESS>
in path is not consistent with other build artifacts. Will find out if it's intentional or a bug.


Unable to install SG 6.6.0-25.3

Hi,
I have some diffculty to install SG 6-6.6.0-25.3, the command line /usr/share/elasticsearch/bin/elasticsearch-plugin install -b com.floragunn:search-guard-6:6.6.0-25.3 returns the error :
Downloading com.floragunn:search-guard-6:6.6.0-25.3 from maven central
Exception in thread "main" java.io.FileNotFoundException: https://repo1.maven.org/maven2/com/floragunn/search-guard-6/6.6.0-25.3/search-guard-6-6.6.0-25.3.zip....
When I try to download the zip from : https://docs.search-guard.com/6.x-25/search-guard-versions , I have also an 404 not found
thanks you for the feedback
ES 6.6.0

Thanks for letting us know. The download links have been corrected: https://docs.search-guard.com/6.x-25/search-guard-versions


feat: adding new gtm tag for unlocking publishing (request)

Summary | Résumé
Adds new data-* class selector for google tag manager (gtm) to trigger on Unlock Publishing requests
Pull Request Checklist
Please complete the following items in the checklist before you request a review:

[x] Have you completely tested the functionality of change introduced in this PR? Is the PR solving the problem it's meant to solve within the scope of the related issue?
[x] The PR does not introduce any new issues such as failed tests, console warnings or new bugs.
[ ] If this PR adds a package have you ensured its licensed correctly and does not add additional security issues?
[x] Is the code clean, readable and maintainable? Is it easy to understand and comprehend.
[ ] Does your code have adequate comprehensible comments? Do new functions have docstrings?
[ ] Have you modified the change log and updated any relevant documentation?
[ ] Is there adequate test coverage? Both unit tests and end-to-end tests where applicable?
[ ] If your PR is touching any UI is it accessible? Have you tested it with a screen reader? Have you tested it with automated testing tools such as axe?

Will review and get into the release upcoming on Mon.


Taking into account how many paragraphs are pasted

Coverage increased (+0.004%) to 41.296% when pulling 47b796b46a4d638c72d763697879f47f22bce768 on livvius:bugfix/1563_limiting_parsys_on_multiple_paste into 5bed9b77ea1804a93d3d084a9a5d1ba748d8cdbb on Adobe-Consulting-Services:master.


Mac OS build fails due to clang and sed usage

Hi! My name is Denis, and I tried to build snakeware on my MacBook. But I have had some issues:

sed utility which is obviously in Makefile in snakeware/snakeware/buildroot may not be used on macOS with option -r. The issue show itself like this:
(base) user@omelched-MacBook snakeware % sudo ./build.sh x86-64
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
For some reason in macOS this option is renamed to -E and replacing that Makefile line 349: sed -n -r... with sed - n -E... solved that problem for my case.
Maybe it will be a good idea to do this action in build.sh before make based on which OS you are building on.
the second problem is that, for quite obvious reasons, macOS specifies Clang as main compiler and this causes issues because buildroot had to be made with GCC (I presume). Therefore, the issue happens:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
/Applications/Xcode.app/Contents/Developer/usr/bin/make -j1 O=/Users/user/git_repo/snakeware/snakeware/buildroot/output HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" syncconfig
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
You must install 'gcc' on your build machine
So if we try ti call /usr/bin/gcc that would be Clang:
(base) user@omelched-MacBook snakeware % /usr/bin/gcc
clang: error: no input files
I'm still stuck on that issue but i think that some manipulation with HOSTCC and HOSTCXX in Makefile to define them as separately installed gcc-9 and g++-9 will help. At least I will try it tomorrow.
And as that solution will be confirmed I suggest to add some tweaks to support native macOS build too.

Anyway, I'll do my best to help you with this interesting project!

Hi, thank you for your interest! MacOS and Windows are not supported dev platforms for this project, we recommend running Linux in a VM or dual-booting, etc.


How to tokenize in a custom webview?

My extension provides a language client, a grammar, and a custom webview, and in some cases I need to be able to colorize my language the same way the vscode editor does.
Is there a client API that I can call that can tokenize my code for me, similar to what textToHtmlTokenizer.ts is doing?
Do I have to do all this myself? https://github.com/microsoft/vscode-textmate and then add my language client's semantic tokens on top of that and everything? Seems like a lot of work...

Specifically for tokenizing a new string that is not in the editor buffer (like the editor hover widget does already).

I'm sorry, we currently don't expose any tokenization APIs, not in the extension host, and also not in the webviews, so the only way to do this currently is to do it by yourself using vscode-textmate and loading up your grammar and theme manually.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!