Refreshing icons and Material Icons font

Using consistent material icon for Remove from Hotbar action (removing custom one)
Addressing comments from #3810
Updating material icons font to its extended version
Cleaning up /fonts and /icon folder by removing unused stuff.

https://user-images.githubusercontent.com/9607060/137891636-07733781-552d-4281-80aa-54aed02e6183.mov

Closing in favor of https://github.com/lensapp/lens/pull/4086 to prevent breaking changes and unnecessary font file replacement.


🩹 (fiberi18n): Fix request concurrency errors

fix https://github.com/gofiber/contrib/issues/721

Add more Signature in docs
Change MustGetMessage(param interface{}) (string, error), GetMessage -> MustLocalize, Localize , Similar to github.com/nicksnyder/go-i18n/v2
use ctx as param, avoid concurrency errors

pls update the go.mod version to /v2

@Skyenought Can you add a test for localize. It should be good to go after that

@Skyenought you may need to run go mod tidy since the go version change to 1.19

May as well also add 1.21 to the test file

@gaby After I run go mod tidy, go.sum and go.mod don't change.

@gaby After I run go mod tidy, go.sum and go.mod don't change.
So I don't know what went wrong.

So I don't know what went wrong.

Try this, delete your go.sum file then run go mod tidy

Useless, go.sum is unchanged from its original content.

It doesn't look like it's working.

I'm not sure what's going on, the CI for main is also failing.
Lets try this, make your go.mod the following the run go mod tidy
module github.com/gofiber/contrib/fiberi18n/v2

go 1.19

require (
	github.com/gofiber/fiber/v2 v2.49.0
	github.com/nicksnyder/go-i18n/v2 v2.2.1
)

Why paseto's CI was wrong? It hasn't changed at all.

Why paseto's CI was wrong? It hasn't changed at all.

 not found in language "zh"
--- PASS: TestLocalize (0.00s)
    --- PASS: TestLocalize/test_localize (0.00s)
PASS
ok      github.com/gofiber/contrib/fiberi18n/v2 0.042s
?       github.com/gofiber/contrib/fiberi18n/v2/example [no test files]

Do we really need all thos go mod tidy? That can cause inconsistent tests

W

i don't know, it just test.Maybe a PR is needed to modify the github action

We don't need them, none of the other repos are using this. The problem is probably something else.

So what should I do?

Lets remove it, and see what happens.

still fail

@Skyenought let me do a separate PR, to see if it fails

@Skyenought @ReneWerner87 @efectn Turns out... this is failing cause of the recent changes in go1.21 with the GOTOOLCHAIN. If you don't run go mod tidy, it just fails since go.mod doesn't match the go binary.
https://tip.golang.org/doc/go1.21
https://tip.golang.org/doc/toolchain
I'm not sure how you manage minimum versions now?

The solution is to set GOTOOLCHAIN=local

@gaby This shell didn't take effect.
if [ "${{ matrix.go-version }}" -eq "1.21.x" ]; then
  go env -w GOTOOLCHAIN=local
  go test -v -race ./...
else
  go test -v -race ./...
fi

@Skyenought You can remove the GOTOOLCHAIN stuff, the failures are causing by changes in the go.mod file of gofiber/fiber.

@gaby What about govulncheck's problem?

@Skyenought tests are passing now, we need a new release of Fiber to fix this across all middlewares

Emmm, govulncheck fail, ignore it?

Emmm, govulncheck fail, ignore it?

Lets wait for the new release of Fiber. PR looks good overall. :-)

@Skyenought new release is out, can you run:
go get -u
go mod tidy
In all the middlewares, to pick the release up

@Skyenought Can you update your branch with master. The go.mod changes were done there to avoid release issues

i did the update

@Skyenought pls check

https://github.com/gofiber/contrib/actions/runs/6070122064/job/16465594404?pr=723#step:4:63


Adding solution to Enormous Input Test (.py)

Related Issue
Solved issue number: #206
Describe the changes you've made
Added Solution to codechef problem "Enormous Input Test".
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Language used for coding
Python3.6
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] New and existing unit tests pass locally with my changes.
#https://github.com/Nivedita967/Data-Structure-and-Algorithms/issues/206#issuecomment-780656440

You have documented your code also. So, check all the checkboxes.

Please recheck, Now I have checked all the checkboxes #https://github.com/Nivedita967/Data-Structure-and-Algorithms/pull/279#issuecomment-781184039

Please recheck, Now I checked all checkboxes #https://github.com/Nivedita967/Data-Structure-and-Algorithms/pull/279#issuecomment-781184039

Now everything is Perfect. Nice work :)


⚠ Processors has degraded performance

In 2df550e, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 94 ms

Resolved: Processors performance has improved in 0528a61.


How to create a Rectangle Shadow VIew Using SkiaSharp

Hi ,
I created one Rectangle Shadow View using Skiasharp. I wanted to add child elements inside this view but It is not working as expected.
    public class ShadowView : ContentView
    {
        public ShadowView()
        {
            SKCanvasView sKCanvasView = new SKCanvasView();
            sKCanvasView.PaintSurface += OnPaintSurface;
            Content = sKCanvasView;
        }

        void OnPaintSurface(object sender, SKPaintSurfaceEventArgs e)
        {
            var skCanvas = e.Surface.Canvas;
            var skinfo = e.Info;
            skCanvas.Clear();

            var RectangleStyleFillShadowColor = new SKColor(255, 0, 0, 255);

            var RectangleStyleFillShadow = SKImageFilter.CreateDropShadow(0f, 0f, 20f,20f, RectangleStyleFillShadowColor, SKDropShadowImageFilterShadowMode.DrawShadowAndForeground, null, null);

            var RectangleStyleFillColor = new SKColor(255, 255, 255, 255);

            var RectangleStyleFillPaint = new SKPaint()
            {
                Style = SKPaintStyle.Fill,
                Color = RectangleStyleFillColor,
                BlendMode = SKBlendMode.SrcOver,
                IsAntialias = true,
                ImageFilter = RectangleStyleFillShadow
            };
            var top = (float)(skinfo.Height * 0.1);
            var left = (float)(skinfo.Width * 0.1);
            var bottom = (float)(skinfo.Height);
            var right = (float)(skinfo.Width * 0.1);
            skCanvas.DrawRect(new SKRect(20f, 20f, skinfo.Width-20, skinfo.Height-20), RectangleStyleFillPaint);
        }
    }

Xaml: Here the border is not displaying
<StackLayout
            HorizontalOptions="FillAndExpand"
            Orientation="Vertical"
            VerticalOptions="FillAndExpand">
           <local:ShadowView HeightRequest="150" HorizontalOptions="FillAndExpand" Margin="20">
               <Label Text="Hello" HorizontalOptions="Center" VerticalOptions="CenterAndExpand"/>
            </local:ShadowView>
        </StackLayout>

Hi @mattleibow ,
Thanks for your reply.
Can you please give sample because, I created this as an custom control where I will add many number of Xamarin Controls inside the SkiaShadow View like below
<local:ShadowView HeightRequest="150" HorizontalOptions="FillAndExpand" Margin="20">

</local:ShadowView>
Can you please help me... I attached the screenshots for clear understanding.
Regards
Sylendra

You cannot set the Content property of the ContentView (the skia canvas) and in the XAML (the stack layout).
I just did a test and instead of a ContentView (single child) I used a Grid (multiple children) and it appears to do hat you want. You may have to tweak the paddings and margins.

Hi @mattleibow ,
If I use your code which you sent previously ,is it be adaptable to any screen...?
Why because by using SkiaSharp seems it can be very useful to create any 2d drawings and very customised controls which cannot be done with custom renderers.
If we want to add children to skia sharp controls what will be the alternative ...?
Regards
Sylendra

You should be able to use my code. Your code will also work if your view type is a layout - such as a grid.
The main issue here is that the skiasharp views are not layouts and cannot have children. If you want something "inside" the view, you have to use a layout - such as a grid - and then add the canvas and the rest of the views.


Error is reset when focus is lost

Bug type
Component
Component name
MudTextField
What happened?
Property Error is true, but when the focus is lost the error text is gone

Expected behavior
When Error is true do not clear the validation
Reproduction link
https://try.mudblazor.com/snippet/mEmQETvRFeqEnLxO
Reproduction steps

Focus the element
Unfocus it (click somewhere)
Validation is lost even though Error is true

Relevant log output
No response
Version (bug)
6.0.10
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

There indeed seems to be a bug here.
The Error property is reset here, seemingly on focus lost:
https://github.com/MudBlazor/MudBlazor/blob/558707de6030a032ef959df9b56b627e458e5832/src/MudBlazor/Base/MudFormComponent.cs#L304

When working with a ViewModel, it would be very convenient to bind the "Error" and "ErrorText" attribute directly. At the moment this is not possible, without declaring a "@bind-Errors" on the MudForm, but even then the flickering from error to no error and back to error doesn't look nice.

When working with ViewModels it would be very practical to bind to Error and ErrorText directly, even if no Validation is declared. I think this could be solved pretty well without too many side effects, if MudFormComponent.ValidateValue() would exit immediately if the Validation attribute is not specified (null) in the razor page.

@henon do you have an idea how this can be fixed easily? This was brought up again in the discord.

https://github.com/MudBlazor/MudBlazor/blob/558707de6030a032ef959df9b56b627e458e5832/src/MudBlazor/Base/MudFormComponent.cs#L304

The thing is, even if we change this condition to something like below, and will override only if the error count is > 0:
if (errors.Count > 0)
{
	Error = true;
	ErrorText = errors[0];
}

It will fix this case, but the existing unit tests will be broken. Is such usage of Error / ErrorText a valid use-case?
But either way, this is a bug in MudBlazor and this is why it's not recommended to directly write in own parameters after the component is rendered.
A private field should be used or Error / ErrorText should be two way bindable, and then the parent component that uses @bind-ErrorText will receive the new value, re-render itself, and it turn cause the child component to be re-rendered with new ErrorText.

yes, we need to make it two-way bindable


Stable exit refactor

STILL MISSING THE REFACTOR OF THE TESTS

Refactored buildExitExactBPTIn;
Refactored buildExitExactTokensOut;

There seems to be a lot of content that is already present on stable-join-refactor - should we review this only after that PR is merged?
Maybe setting the base of this PR to be stable-join-refactor should be enough to get it ready for review?


Eating up promises?

It seems that promises are not propagating with Kotatsu. Not sure why, might be Babel loading some crappy polyfill or something? Seen it happen in the browser. Not sure how to test, but rather painfull. Using a module that works fine separately in Node, but running with kotatsu the errors get swallowed somehow?
I can create an example as soon as I get some time :)

Well this is cumbersome indeed. Let me know when you find the use case so we can bust this bug.

You are not adding the Babel polyfill somewhere? I know the Babel promise polyfill could override the native one in the browser which catches any errors not manually caught.

No. I don't add the Babel polyfill.

Or else the polyfill is sneaky and includes itself without my knowledge :).

Not having a project to track progress here now, so will clean up issues list for you a bit :)


[6.1] IRGen: Fix anonymous context descriptors of alwaysEmitIntoClient functions

Explanation: Relative references from context descriptors to types outside of the current module need to use indirect relative references. If direct relative references are used instead linking will fail.
Scope: This situation can occurr with alwaysEmitIntoClient functions returning opaque types combined with availability and the use of -enable-anonymous-context-mangled-names (which is enabled at Onone).
Reviewer: John M.
Original PR: https://github.com/swiftlang/swift/pull/78017
Risk: Low. Should only affect cases that would have previously failed to link.
rdar://140356479
(cherry picked from commit d31e4a574578271ace4ddfe3156d69963051adab)

@swift-ci test

@swift-ci test linux


Support for relative urls in batch payload #122

This pull request enables setting the BatchPayloadUriOption to support relative urls (#122).
var settings = new ODataClientSettings(httpClient, new Uri("odata/v1", UriKind.Relative))
{
    BatchPayloadUriOption = Microsoft.OData.BatchPayloadUriOption.RelativeUri
};

I will also provide unit tests soon.

@watfordgnf Thank you for the fast feedback.
I added 2 unit tests but i am not sure if they are added in the right place. I also adjusted the Mockdata "by hand" is there a way to generate the proper request/response mock somehow automatically?
Should this be tested with IntegrationTests instead?
I also recognized that the feature will only be available for OData V4, should this be added in the comment for the new setting?

@watfordgnf Can I do something more to complete this pull request?

@NilsEngelbach I haven't had an opportunity to pull this down locally and test it. I'm changing jobs in just over a week, so things are a bit busy :)

@NilsEngelbach I ran tests for your PR and there were more than 300 unit test failures, Obviously something went wrong. Please make sure all tests pass.
Since the change can be tested using integration tests, can you write at least one such test for TripPinTests (part of Simple.OData.CLient.IntegrationTests)? And since this is OData 4 only change, perhaps it's worth to mention in XML comments for new ODataClientSettings.

@watfordgnf no worries and all the best for the new job, I was just surprised because your first response was so quick :)
@object I reverted my unit tests which were causing trouble with the other unit tests and added TripPin Integrationtests.
But it looks like the services does not support relative uris (the batch reader is missing the base uri) and returns the error:
{
  "error":{
    "code": "InternalServerError",
    "message": "The relative URI 'Airlines' was specified in a batch operation, but a base URI was not specified for the batch writer or batch reader.",
    "innererror":{
      "message": "The relative URI 'Airlines' was specified in a batch operation, but a base URI was not specified for the batch writer or batch reader.",
      "type": "Microsoft.OData.Core.ODataException",
      "stacktrace": "at Microsoft.OData.Core.ODataBatchUtils.CreateOperationRequestUri(Uri uri, Uri baseUri, IODataUrlResolver urlResolver)
          at Microsoft.OData.Core.ODataBatchReader.ParseRequestLine(String requestLine, String& httpMethod, Uri& requestUri)
          at Microsoft.OData.Core.ODataBatchReader.CreateOperationRequestMessageImplementation()
          at Microsoft.OData.Core.ODataBatchReader.InterceptException[T](Func`1 action)
          at Microsoft.OData.Core.ODataBatchReader.CreateOperationRequestMessage()
          at Microsoft.Test.OData.Services.ODataWCFService.Handlers.BatchHandler.Process(IODataRequestMessage requestMessage, IODataResponseMessage responseMessage)
          at Microsoft.Test.OData.Services.ODataWCFService.Handlers.RequestHandler.Process(Stream requestStream)
          at Microsoft.Test.OData.Services.ODataWCFService.Handlers.RequestHandler.Process(Stream requestStream)
          at Microsoft.Test.OData.Services.ODataWCFService.Handlers.RootRequestHandler.Process(Stream requestStream)"
    }
  }
}

Who operates/maintains the TripPin Service?
I checked the request messages from the integration tests and they look correctly.
I also tried the new setting with my own OData service and it is working as expected...

@watfordgnf no worries and all the best for the new job, I was just surprised because your first response was so quick :)
@object I reverted my unit tests which were causing trouble with the other unit tests and added TripPin Integrationtests.
But it looks like the services does not support relative uris (the batch reader is missing the base uri) and returns the error:
{
  "error":{
    "code": "InternalServerError",
    "message": "The relative URI 'Airlines' was specified in a batch operation, but a base URI was not specified for the batch writer or batch reader.",
    "innererror":{
      "message": "The relative URI 'Airlines' was specified in a batch operation, but a base URI was not specified for the batch writer or batch reader.",
      "type": "Microsoft.OData.Core.ODataException",
      "stacktrace": "at Microsoft.OData.Core.ODataBatchUtils.CreateOperationRequestUri(Uri uri, Uri baseUri, IODataUrlResolver urlResolver)
          at Microsoft.OData.Core.ODataBatchReader.ParseRequestLine(String requestLine, String& httpMethod, Uri& requestUri)
          at Microsoft.OData.Core.ODataBatchReader.CreateOperationRequestMessageImplementation()
          at Microsoft.OData.Core.ODataBatchReader.InterceptException[T](Func`1 action)
          at Microsoft.OData.Core.ODataBatchReader.CreateOperationRequestMessage()
          at Microsoft.Test.OData.Services.ODataWCFService.Handlers.BatchHandler.Process(IODataRequestMessage requestMessage, IODataResponseMessage responseMessage)
          at Microsoft.Test.OData.Services.ODataWCFService.Handlers.RequestHandler.Process(Stream requestStream)
          at Microsoft.Test.OData.Services.ODataWCFService.Handlers.RequestHandler.Process(Stream requestStream)
          at Microsoft.Test.OData.Services.ODataWCFService.Handlers.RootRequestHandler.Process(Stream requestStream)"
    }
  }
}

Who operates/maintains the TripPin Service?
I checked the request messages from the integration tests and they look correctly.
I also tried the new setting with my own OData service and it is working as expected...

That's sad. TrinPinSerice is built and maintained by Microsoft. I suggest you keep the test but mark it as ignored, so it can be activated it they update the service implementation.

I hosted the TripPinService (https://github.com/OData/ODataSamples/tree/master/Scenarios/TripPin/src/webapi) locally and the Integrationtests are working with this local service.
I created an issue https://github.com/OData/ODataSamples/issues/140 and disabled the failing tests.

Thank you for the PR. Merged and released as version 5.21.0


Motors do not move properly when xFB is positive (leg moving forward past the hip axis)

Due to the different way that the kinematic model is calculated for this situation was well as some of the motors changing directions in between v5 to present this part of the code needs to be reworked

Code for xFB (leg moving forward / backward) is working for backward movement and will base forward code upon the current design

This issue has been resolved by adding a rule to handle positive xFB values differently in the kinematic model


Delete database after a certain time

We need to delete the database (after 1 week, maybe?), so that we can pull in a fresh list of bus stops and bus routes.

implemented it with purging after 30 days.


Add python3 compatibility validation

What does this PR do?
Run pylint --py3k to determine if an integration, or custom check will be able to run with python 3
Motivation
Python 2 dying
Review checklist

[ ] PR has a meaningful title or PR has the no-changelog label attached
[ ] Feature or bugfix has tests
[ ] Git history is clean
[ ] If PR impacts documentation, docs team has been notified or an issue has been opened on the documentation repo
[ ] If PR adds a configuration option, it has been added to the configuration file.

Additional Notes
Anything else we should know when reviewing?

Codecov Report

Merging #2736 into master will decrease coverage by 7.46%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2736      +/-   ##
==========================================
- Coverage   84.68%   77.21%   -7.47%
==========================================
  Files         657       21     -636
  Lines       37189      610   -36579
  Branches     4462       65    -4397
==========================================
- Hits        31492      471   -31021
+ Misses       4383      113    -4270
+ Partials     1314       26    -1288

Any chance we can achieve the same without shelling out?


Revert "chore: resolve gradle 8 incompatibility warning (#57)"

This reverts commit 85c6fa5311cabfa4d6604b7b96aa7e7717066b28.

Code coverage got lost.


Skip processing non-parameterized classes in setup_param

Very minor addition, which gives an easy 5-10% speedup in creating Parameterized objects. Between this, the shared_defaults context manager, and Cython we can now squeeze out a 3x speedup when creating HoloViews Image Elements.

Coverage increased (+0.04%) to 70.131% when pulling 8d5bf11c706f2fe2bcc3af7fc5d337d20ca6add2 on skip_unparameterized into 1f94abcc3855d449504ff899fdddc622a5362e52 on master.

This looks like a safe change to make, but I'm curious about when it would have any effect.  Is this designed to skip the "object" base class from all Parameterized classes, or is it for mixin non-Parameterized classes that are alongside the Parameterized ones in the hierarchy for this class?  Basically, when does a non-Parameterized class come up as a subclass of a Parameterized class?

I'm not quite sure where the speedup is coming from when instantiating objects which just inherit from Parameterized but I can consistently reproduce it. There are also a few places in HoloViews where we have unparameterized baseclasses and mixins (e.g. AttrTree), which don't need to be processed.

Straightforward optimization, which has been ready to merge for a long time. Merging.


Update sample app to include Afterpay V2 example

We need to make a network request to the mock/local server. There were any number of ways to do this but I chose retofit/moshi because why not.
The rest of the flow in the sample activity should be pretty straight forward.

Looks good to me. Is there a reason to keep the commented out dependency in the gradle file?

yeah it's so we/and other devs can easily switch back between what's in this repo versus what version we've pushed to maven. Its sort of a way to check that what ended up on maven is functional.


No documentation on CucumberConfig

I just noticed that as the struct CucumberConfig is not reexported, its documentation is not published (and with it the usage of the interface is a bit oblique).
Can we publish the documentation without giving direct access to the struct?
Maybe create_config should have been a static method (new) ...

Since its part of our public API (via create_config) it probably ought be reexported from crate root.
Do you foresee any issue in making it public?

No, I don't really.
I originally separated the factory method from the struct just so that no further path separator was needed (compared to the previous start function).
Although now I lean towards an embedded factory method - but I can live with both versions.


ci: update run-vcpkg (hope for caching)

according to commits there have been some changes related to caching,
unable to determine if they actually fix anything.

should probably try using checkout directly to have the vcpkg checkout existing to see if other paths of run-vcpkg then work.

Oh it worked with the v3.3 :tada:


virt-handler: Restrict node access

What this PR does
As of today a virt-handler has "full" access to all Nodes. Therefore installing Kubevirt means that every node will have a service account that can be miss used to influence the scheduling of other Pods, potentially with a more privileged service account.
This PR introduces validationAdmissionPolicy, that will prevent the virt-handler user from:

changing the node's spec
adding/removing/updating labels and annotations not owned by kubevirt.

Fixes #
Why we need it and why it was done in this way
The following tradeoffs were made:

This change will take affect only on cluster that support validatingAdmissionPolicy v1.
e2e test were introduced, but due to bazel related https://github.com/google/cel-go/issues/947 - unit tests will be -introduced in later PR (see draft https://github.com/kubevirt/kubevirt/pull/12021)

The following alternatives were considered: Full alternative discussion on https://github.com/kubevirt/community/pull/246
This PR is relying on https://github.com/kubevirt/kubevirt/pull/12009
Special notes for your reviewer
This PR takes https://github.com/kubevirt/kubevirt/pull/11982 commits and:

adds FG management
fixes e2e test reducing computational cost
fixes vap deletion

Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[x] Design: A design document was considered and is present (https://github.com/kubevirt/community/pull/246) or not required
[x] PR: The PR description is expressive enough and will help future contributors
[x] Code: Write code that humans can understand and Keep it simple
[x] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note

Introduce validatingAdmissionPolicy to restrict node patches on virt-handler

Changes: Addressed flakyness

/approve
/hold

/hold
Depends on another pr

I'm not sure I understand why this PR is merging two different changes regarding node restriction.
Also, I don't think we should use a FG for this use case.
I suggest we discuss this offline
/hold

/close
In favor https://github.com/kubevirt/kubevirt/pull/11982


fix failing asp job

ASP data download is failing:
see: https://github.com/bcgov/nr-rfc-climate-obs/actions/runs/9571094612

fixed with PR: https://github.com/bcgov/nr-rfc-climate-obs/pull/75


WIP: Implement components configmap compression

This PR updates the manifest generator to compress the components in the infrastructure provider manifest configmap.
The capi installer controller is updated to handle the compressed components. We need to keep the old uncompressed configmap suport around untill all provider update to latest manifest generator.

So far this is looking good, pending fixing the lints and adding tests.

To help with code review on repos that compress the configMap I have made the generator write the modified manifests into infrastructure-components-openshift.yaml in plainText form. This file is not consumed by anything.

Great idea!

/lgtm


Allow custom TextSelectionControls inside SelectableText.

Use case
Right now it is only possible to have the Cupertino and material appearance of the selection control. And this is limited to the Copy/Cut/Paste/Select All options.
Having the ability to customize the selection control would bring us more freedom to build custom solutions.
Do you want to search on google a selected text? Or call a selected phone number? Highlight the selected text? Make it bold?
The implementation doesn't look difficult as it would be just adding the optional param and use it if it is not null and isSelectabe = true. Check here were to add it.

Please comment the details you mentioned here in the duplicate issue
duplicate of https://github.com/flutter/flutter/issues/36985


fix: update test to reduce create fleet payload size v0.35.x

Fixes #N/A
Description
Fixes issue where create fleet calls can fail. This will only fail in the test suite due to filtering being done on the scheduler side, so it only affects standalone nodeclaims (which are unsupported).
How was this change tested?
E2Es
Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

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

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

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 78.165%

Totals

Change from base Build<PHONE_NUMBER>8:
0.0%

Covered Lines:
5692

Relevant Lines:
7282

💛  - Coveralls


Python interpreter or virtual environments not being listed when opening a specific folder

Issue Type: Bug

Behaviour
Expected vs. Actual
Expected: Python installation should be detected and a list of the Python interpreter and any virtual environment shouldbe displayed.
Actual: When opening a specific folder, the Python installation is not detected. A pop up stating that Python is not installed comes up. No available Python interpreters or virtual environments are shown.
Steps to reproduce:

Open folder: C:\Users\user_name\Desktop\University\4. Spring 2022[CS-1205] Algorithm Design and Analysis (Professor Name)\code
Open a .py file

Diagnostic data

Python version (& distribution if applicable, e.g. Anaconda): 3.9.7
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): PipEnv
Value of the python.languageServer setting: Default

User Settings

defaultLS: {"defaultLSType":"Pylance"}

downloadLanguageServer: true

envFile: "<placeholder>"

venvPath: "<placeholder>"

venvFolders: "<placeholder>"

condaPath: "<placeholder>"

pipenvPath: "<placeholder>"

poetryPath: "<placeholder>"

languageServer: "Pylance"

linting
• enabled: true
• cwd: "<placeholder>"
• Flake8Args: "<placeholder>"
• flake8Enabled: false
• flake8Path: "<placeholder>"
• lintOnSave: true
• banditArgs: "<placeholder>"
• banditEnabled: false
• banditPath: "<placeholder>"
• mypyArgs: "<placeholder>"
• mypyEnabled: false
• mypyPath: "<placeholder>"
• pycodestyleArgs: "<placeholder>"
• pycodestyleEnabled: false
• pycodestylePath: "<placeholder>"
• prospectorArgs: "<placeholder>"
• prospectorEnabled: false
• prospectorPath: "<placeholder>"
• pydocstyleArgs: "<placeholder>"
• pydocstyleEnabled: false
• pydocstylePath: "<placeholder>"
• pylamaArgs: "<placeholder>"
• pylamaEnabled: false
• pylamaPath: "<placeholder>"
• pylintArgs: "<placeholder>"
• pylintPath: "<placeholder>"

sortImports
• args: "<placeholder>"
• path: "<placeholder>"

formatting
• autopep8Args: "<placeholder>"
• autopep8Path: "<placeholder>"
• provider: "autopep8"
• blackArgs: "<placeholder>"
• blackPath: "<placeholder>"
• yapfArgs: "<placeholder>"
• yapfPath: "<placeholder>"

testing
• cwd: "<placeholder>"
• debugPort: 8000
• nosetestArgs: "<placeholder>"
• nosetestsEnabled: undefined
• nosetestPath: "<placeholder>"
• promptToConfigure: true
• pytestArgs: "<placeholder>"
• pytestEnabled: false
• pytestPath: "<placeholder>"
• unittestArgs: "<placeholder>"
• unittestEnabled: false
• autoTestDiscoverOnSaveEnabled: true

terminal
• activateEnvironment: true
• executeInFileDir: "<placeholder>"
• launchArgs: "<placeholder>"

experiments
• enabled: true
• optInto: []
• optOutFrom: []

insidersChannel: "off"

tensorBoard
• logDirectory: "<placeholder>"

Extension version: 2022.0.1786462952
VS Code version: Code 1.64.0 (5554b12acf27056905806867f251c859323ff7e9, 2022-02-03T04:22:20.678Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1800)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.86GB (1.12GB free)

Process Argv
--crash-reporter-id 6c73aa67-01c6-431e-8394-db5f8769137e

Screen Reader
no

VM
0%

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
pythonvspyl392cf:30425750
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30433059
pythonvs932:30410667
vs360:30404995
vsrem710:30416614

Moving the folder to another folder (in this case the Desktop) worked. No errors were being shown. Is the problem in the way my earlier folder is named? It seems unlikely because everything was working all fine until my VSCode was updated to the January release. Right until then it was working with no issues.

I have the same issue with VSCode (Mac). The item in the status bar, where one previously could select the interpreter has disappeared.

@TJKlein this actually isn't the same issue for you as you're probably in an experiment we are running; see https://github.com/microsoft/vscode-python/issues/18283 .

@Tashi21 That could indeed be the case, can you provide the logs as mentioned in the issue template?
Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

Experiment 'pythonaacf' is active
Experiment 'pythonTensorboardExperiment' is active
Experiment 'pythonSurveyNotificationcf' is active
Experiment 'PythonPyTorchProfiler' is active
Experiment 'pythonDeprecatePythonPath' is active
[ERROR 2022-1-5 4:32:5.252]: Failed to initialize source map support in extension
[ERROR 2022-1-5 4:32:6.56]: SyntaxError: Invalid regular expression: /c:(\|/)Users(\|/)tashi(\|/)Desktop(\|/)Ashoka(\|/)4. Spring 2022(\|/)[CS-1205] Algorithm Design and Analysis (Debayan Gupta)(\|/)code/: Range out of order in character class
at new RegExp ()
at replaceMatchesWithCharacter (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\process\logger.ts:56:17)
at d.getDisplayCommands (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\process\logger.ts:40:23)
at d.logProcess (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\process\logger.ts:30:33)
at s.emit (events.js:315:20)
at shellExec (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\process\proc.ts:47:14)
at Object.result [as shellExecute] (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\pythonEnvironments\common\externalDependencies.ts:19:20)
at Object.t.getInterpreterInfo (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\pythonEnvironments\base\info\interpreter.ts:44:11)
at c.result [as workerFunc] (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\pythonEnvironments\base\info\environmentInfoService.ts:21:5)
at start (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\utils\workerPool.ts:27:27)
[ERROR 2022-1-5 4:32:6.994]: SyntaxError: Invalid regular expression: /c:(\|/)Users(\|/)tashi(\|/)Desktop(\|/)Ashoka(\|/)4. Spring 2022(\|/)[CS-1205] Algorithm Design and Analysis (Debayan Gupta)(\|/)code/: Range out of order in character class
at new RegExp ()
at replaceMatchesWithCharacter (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\process\logger.ts:56:17)
at d.getDisplayCommands (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\process\logger.ts:40:23)
at d.logProcess (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\process\logger.ts:30:33)
at s.emit (events.js:315:20)
at shellExec (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\process\proc.ts:47:14)
at Object.result [as shellExecute] (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\pythonEnvironments\common\externalDependencies.ts:19:20)
at Object.t.getInterpreterInfo (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\pythonEnvironments\base\info\interpreter.ts:44:11)
at c.result [as workerFunc] (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\pythonEnvironments\base\info\environmentInfoService.ts:21:5)
at start (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\utils\workerPool.ts:27:27)
Python interpreter path: ~.virtualenvs\Python-mngXoFa0\Scripts\python.exe
[ERROR 2022-1-5 4:32:7.174]: getActivatedEnvironmentVariables SyntaxError: Invalid regular expression: /c:(\|/)Users(\|/)tashi(\|/)Desktop(\|/)Ashoka(\|/)4. Spring 2022(\|/)[CS-1205] Algorithm Design and Analysis (Debayan Gupta)(\|/)code/: Range out of order in character class
at new RegExp ()
at replaceMatchesWithCharacter (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\process\logger.ts:56:17)
at d.getDisplayCommands (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\process\logger.ts:40:23)
at d.logProcess (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\process\logger.ts:30:33)
at s.emit (events.js:315:20)
at shellExec (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\process\proc.ts:47:14)
at P.getActivatedEnvironmentVariablesImpl (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\interpreter\activation\service.ts:157:51)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
[ERROR 2022-1-5 4:32:7.248]: SyntaxError: Invalid regular expression: /c:(\|/)Users(\|/)tashi(\|/)Desktop(\|/)Ashoka(\|/)4. Spring 2022(\|/)[CS-1205] Algorithm Design and Analysis (Debayan Gupta)(\|/)code/: Range out of order in character class
at new RegExp ()
at replaceMatchesWithCharacter (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\process\logger.ts:56:17)
at d.getDisplayCommands (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\process\logger.ts:40:23)
at d.logProcess (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\process\logger.ts:30:33)
at s.emit (events.js:315:20)
at shellExec (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\process\proc.ts:47:14)
at Object.result [as shellExecute] (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\pythonEnvironments\common\externalDependencies.ts:19:20)
at Object.t.getInterpreterInfo (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\pythonEnvironments\base\info\interpreter.ts:44:11)
at c.result [as workerFunc] (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\pythonEnvironments\base\info\environmentInfoService.ts:21:5)
at start (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\utils\workerPool.ts:27:27)
[ERROR 2022-1-5 4:32:7.353]: SyntaxError: Invalid regular expression: /c:(\|/)Users(\|/)tashi(\|/)Desktop(\|/)Ashoka(\|/)4. Spring 2022(\|/)[CS-1205] Algorithm Design and Analysis (Debayan Gupta)(\|/)code/: Range out of order in character class
at new RegExp ()
at replaceMatchesWithCharacter (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\process\logger.ts:56:17)
at d.getDisplayCommands (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\process\logger.ts:40:23)
at d.logProcess (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\process\logger.ts:30:33)
at s.emit (events.js:315:20)
at shellExec (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\process\proc.ts:47:14)
at Object.result [as shellExecute] (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\pythonEnvironments\common\externalDependencies.ts:19:20)
at Object.t.getInterpreterInfo (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\pythonEnvironments\base\info\interpreter.ts:44:11)
at c.result [as workerFunc] (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\pythonEnvironments\base\info\environmentInfoService.ts:21:5)
at start (c:\Users\tashi.vscode\extensions\ms-python.python-2022.0.1786462952\src\client\common\utils\workerPool.ts:27:27)
[ERROR 2022-1-5 4:32:8.248]: No python is installed or a refresh has not already been triggered
Starting Pylance language server.
[ERROR 2022-1-5 4:32:9.311]: No python is installed or a refresh has not already been triggered
Diagnostic Code: NoPythonInterpretersDiagnostic, Message: Python is not installed. Please download and install Python before using the extension.
Linter 'pylint' is not installed. Please install it or select another linter".
SyntaxError: Invalid regular expression: /c:(\|/)Users(\|/)tashi(\|/)Desktop(\|/)Ashoka(\|/)4. Spring 2022(\|/)[CS-1205] Algorithm Design and Analysis (Debayan Gupta)(\|/)code/: Range out of order in character class
[ERROR 2022-1-5 4:33:7.396]: No python is installed or a refresh has not already been triggered

Fixed with https://github.com/microsoft/vscode-python/pull/18878, should be out in the pre-release version of the extension in a day. To try it:


File names in file list don't seem to match file names in dataset(s)

e.g. https://github.com/cogsys-tuebingen/mobilestereonet/blob/main/filenames/ds_test.txt#L1 doesn't seem to match the filenames in DrivingStereo as in the dataset provided on the linked website: https://drivingstereo-dataset.github.io/, which, e.g., are in the form 2018-07-11-14-48-52_2018-07-11-15-45-53-241.jpg. also the folder structure seems to be different. it seems to be the same issue for SceneFlow.
is there any mismatch in the version of the dataset(s) or preprocessing required? in case, is the preprocessing described somewhere (maybe i missed it?).

The training and test files are similar to the original datasets. We have just renamed them in order.


Fix DoubleDoor Tweak desync

Adds a !world.isRemote check to the Double Door tweak to prevent door desync if onItemUseFirst returns true.
The issue can be reproduced by right clicking a double door with the Chiseled Bit Bag from Chisels & Bits in your hand. The clicked door stays closed, the other door will open though, but only on the client, meaning you can't actually walk through.
Here's a GIF showing the issue as well: http://blay09.net/pics/DoubleDoor.gif

Is there no other way? The time spent on syncing packets is significant from a latency/perception perspective. :(

The ideal way would probably be an additional interact event in Forge that is published after onItemUseFirst is called. Otherwise I can only think of hacky ways like activating both doors in the event handler, cancelling the event so onItemUseFirst doesn't even get called and manually sending a C08PacketPlayerBlockPlacement to the server.


Details (optional)
What are hyperscalers and how did this term originate?

I'd like to work on it.

Hi @PadminiRai, I just assigned Golden Signals to you. Please finish that term first before claiming a new one — thank you!

Can I work on this issue @CathPag? I already pinged you up for the other issue right there!

@hady68, here you go.
@shambashib20, unfortunately, hady68 claimed the issue before you did. If you claimed another issue, you shouldn't be claiming a new one anyways. We only assigned one issue per person :)

@hady68, please make sure to read the style guide before getting started — that is very important.

@hady68, I'll open this issue up again since it's been assigned to you over a month and we haven't seen any PR yet. If you have been working on something and were about to submit, please let me know and I'll reassign it to you.

After some consideration, the maintainers couldn't determine if this term should be included in the Glossary per our new guidelines (terms must meet the cloud native definition or be a foundational term to understand it). For that reason, we will not include this term until we have found a good reason to do so.


Added favicon, fonts, colors, other basic styling

Overview of changes

changed favicon to the TMD 'M'
updated some strings on the site
add Lora as a font -- we now have a mix of Lora and Open Sans. It's not the most consistent, but I think it works
added TMD colors
cropped our logo to a square

Screenshots

I might not be able to redeploy until Wednesday, but feel free to merge this whenever.


user undefined after restart app on IOS

my user is undefined after restart app, only on IOS.

Can you provide an example please?

You need to store your login tokens in the storage and then pass them to the keycloak instance (...authTokens).


Integrate with code verification service

Purpose
Implements a CodesAPI strategy and uses it to verify codes
Fixes UML-819
Checklist

[ ] I have performed a self-review of my own code
[ ] I have added relevant logging with appropriate levels to my code
[ ] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[ ] I have added tests to prove my work
[ ] The product team have tested these changes

Coverage decreased (-0.06%) to 80.344% when pulling 5de6e39770af73739aa83c5d5e269c1fb0f59f59 on UML-819-code-service-integration into 182a4d2dcff9e1fb0ef5bca8475405e09d3c8245 on master.


No longer compatible with Sketch 45

I'm running Sketch v45.2 and anytime I run the the symbol organizer it just deletes all my symbols.

@michaels3d are you using the latest version of the plugin (11.4)? Sketch 45 introduced a nasty bug, which was addressed back in 45.0 (https://github.com/sonburn/symbol-organizer/issues/25). I have also verified Symbol Organizer works in 45.2.

Oh wow, thanks for the reply.  I had updated the plugin before I wrote that message, but it looks like for some reason it wouldn't take.  I had to completely uninstall the plugin and then reinstall it.  Now all is good.  Thanks a bunch!


file view is disordered after moving notes from one folder to another

reproduce steps

open obsidian
change theme from default to Blue Topaz
create two folders like this:

move note 'a' from folder '1' to folder '2', the file list goes disordered like this, the hierarchy structure is broken:

click 'collapse all' and 'expand all', the disorder disappears, file view gets restored:

more information
this bug only happens in a few themes (not with the default theme), Blue Topaz is among them.
for the moment i not quite sure it is Obsidian or the theme (very likely) that causes this bug.
i will submit to other themes if this bug is identified to be caused by theme, not Obsidian itself.

Sorry for the late reply. This phenomenon has not been reproduced in the latest bt theme.

Not at all, may you had a nice holiday.
For now, I manage to reproduce this issue on my laptop, with the latest Obsidian application and the latest Blue Topaz theme (reinstalled from online). Issue persists.


Persisting data per user

Version info
Angular:
4.0.0
Firebase:
4.1.2
AngularFire:
4.0.0 rc.1
Debug output
core.es5.js:1084 ERROR Error: Uncaught (in promise): Error: PERMISSION_DENIED: Permission denied
Error: PERMISSION_DENIED: Permission denied
Firebase Security Rules (not working)
{
"rules": {
"users": {
"$user_id": {
// grants write access to the owner of this user account
// whose uid must exactly match the key ($user_id)
".write": "$user_id === auth.uid"
}
}
}
}
Expected behavior
Persist data separately for each logged in user.
Actual behavior
User authentication works and so does write operations to the DB reference but each user logged in sees the same data source whereas I want each logged in user to persist their own and only see that.

your rules are wide open - as in anyone can READ any data. You just need to add one ".read": "$user_id === auth.uid" line like below:
{
  "rules": {
    "users": {
      "$user_id": {
        ".read": "$user_id === auth.uid", // ONLY this user can READ this data
        ".write": "$user_id === auth.uid" // ONLY this user can WRITE this data
      }
    }
  }
}

That should resolve your security rules.

Hi @WebAddict thanks for your help but the issue still persists but now I have a rough idea of what needs to be solved after reading through security rules under the main documentation. After changing the rules from public to user under
(https://firebase.google.com/docs/database/security/quickstart) it still says the client does not have permission to access the data.

I think you need to provide your code, it could be a code issue (as for example you are trying to access resource before you get logged in, here is an example that you can start with:
this._angularFireAuth.idToken.subscribe((authState) => {
      if (!!authState && !!authState.uid) {
        this._userProfileSubscription = this._angularFireDatabase.object(`/users/${authState.uid}`).subscribe((user) => {
          this._fillUserProfile(user);
        });
      } else {
        if (!!this._userProfileSubscription) {
          this._userProfileSubscription.unsubscribe();
        }
        this._userProfileSubject.next(null);
      }
    });


Questions Section is Empty When Opening The App

Problem
We got a bug report from Julie:

I was running through the app on my phone one last time before sending it on to others here at the University of Utah. Today when I click on the ‘Questions’ section, I am getting a blank screen with no option to complete any assessments. Do you have any idea why this is happening?

Solution
Investigate the current application and why the questions screen is currently empty.
First ideas: The schedule is only defined to run for a fixed amount of days, the application just has no additional tasks that should be scheduled. Therefore the scene is empty.
Additional context
If the assumption above is correct, we should add an informant if there are no tasks that are scheduled to inform the user that they are only scheduled for X number of days.
Code of Conduct

[X] I agree to follow this project's Code of Conduct and Contributing Guidelines

@PSchmiedmayer attempting to address this issue on the Template Application with this PR: https://github.com/StanfordSpezi/SpeziTemplateApplication/pull/20

This issue is being addressed by the following PR on the SpeziTemplateApplication repository: https://github.com/StanfordSpezi/SpeziTemplateApplication/pull/20. The changes can be included here once it is merged.


Update artemis-jms-server, ... to 2.38.0

About this PR
📦 Updates

org.apache.activemq:artemis-jms-server
org.apache.activemq:artemis-openwire-protocol
org.apache.activemq:artemis-protocols

from 2.37.0 to 2.38.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
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.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.apache.activemq" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.apache.activemq" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #1022.


Generic Attestations

This epic encapsulates all work related to generalizing the attestation protocol to support adding new kinds of attestations (i.e. Phone-Number type, discord handle, social media accounts, preferred payment currency etc). See brainstorming doc here.
https://www.notion.so/clabsco/Generic-Attestations-Brainstorming-f6aa3f9debde498d8f5f4376a5f7e2bd
This is an extension of the work started in the epic https://app.zenhub.com/workspaces/cap-backlog-board-600598462807be0011921c65/issues/celo-org/celo-monorepo/7540

Closing this epic (having closed and reviewed the tickets in it) because the work is very similar to the ASv2 smart contract design and this epic can be re-opened in the future if necessary.


Process one instance at a time

Right now fontmake generates and saves UFO for all instances, then removeoverlaps them all, then save them.  Will be much more memory-efficient and as such probably even faster, if we process one instance completely, then the next, then the next...

I think this is addressed with the latest release.
We now call ufo2ft compileOTF/compileTTF on each UFOs in a generator expression that yields the built TTFont object one by one, then we save it to disk and continue to the next ufo. Ufo2ft filters are now responsible for running the expensive preprocessing operations like removing overlaps, converting outlines, etc.
Also, fontmake can now be told to only build a specific instance, by passing that instance's full name (the "name" attribute in the designspace document which uniquely identify the instance") to the -i/--interpolate option (no argument still means build all instances).
So in theory now one could use GNU make or similar to call multiple fontmakes in parallel each building one instance, like I think @khaledhosny did for one of his projects (forgot which one).


请问你们有没有遇到这种情况，运行freeze-graph时报错

Key conv52/batch_normalization/beta not found in checkpoint
[[node save/RestoreV2 (defined at freeze_graph.py:29) ]]

hi, 请问你解决这个问题了吗?


Malware alarm

When the 64 bit download for Windows is checked by www.virustotal.com the following alarm comes up
"2 security vendors flagged this file as malicious"

I doubt anything can be done about this unless the official micro releases are code signed (which costs hundreds of $ per year to do properly).

Ok, thanks


New Crowdin translations

Enjoy!

Hey @teolemon,
Something went wrong with the build.
TravisCI finished with status errored, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.
View build log
TravisBuddy Request Identifier: 7af7d980-ce02-11e8-b4b8-efdbea9fb873


Foxx Services aren´t distributed to all coordinators in a cluster

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:

[ ] 2.8
[x] 3.0
[ ] self-compiled devel branch

On this operating system:

[ ] DCOS on

[ ] AWS
[ ] Azure
[x] own infrastructure

[ ] Linux

[ ] Debian .deb
[ ] Ubuntu .deb
[ ] SUSE   .rpm
[ ] RedHat .rpm
[ ] Fedora .rpm
[ ] Gentoo
[ ] docker - official docker library
[ ] other:

[ ] Windows, version:
[ ] MacOS, version:

this is an AQL-related issue:
[ ] I'm using graph features
Foxx
This question was originally asked by Martin Frstr in the GoogleGroup: https://groups.google.com/forum/#!topic/arangodb/h4PYiCetznc
I struggle to install Foxx-Apps via the Webinterface reliably. Even when the cluster is up and running with all nodes beeing sound and healthy, i can't figure out how i'm supposed to install a Service troughout the whole cluster.
I came across different scenarios so far: Once installing on one coordinato mirrored the service meta informations to the other coordinator. But on the second coordinator none of the sources was available and i could neither open the "API" Tab nor could i communicate with the service via the WEB-API. On the first coordinator everything worked perfectly.
In another installation attempt all of a sudden it worked on both, but i since than could not replicate that success.
So long story short - My Question: How is one supposed to install a Foxx-Service in a Cluster Setup with multiple Coordinators. (i'm under the Impression that i red something about it somewhere in the docs that stated you should install the service on every coordinator, but i can't find it anymore).
Any hint/help would be greatly appreciated!
Thanks in advance

Will be part of the next 3.2 release.

We're pleased to anounce that ArangoDB 3.2 containing this is now available for download - Closing.


Native "Deploy to Azure" support for bicep files

Currently, we can deploy templates defined in JSON straight from Github like so:
[![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/encoded-url-to-template.json)|
Example
|
It would be great to see bicep support for this so we can use it accordingly
[![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/encoded-url-to-template.bicep)|

Noice 👍

This will be unblocked once we have a compile/decompile service. This will also unblock supporting template export as a bicep file, or deploying bicep code directly in the portal through the Custom Deployment experience.

It irks me that all "Deploy to Azure" buttons rely on (classic) ARM. This dirties all of GH and more places with "incorrect" templates.  When this is unblocked lots of old ARM in GH can be "upgraded" to Bicep.


Running run_def_tests.cmd left-pad on windows does not process any type definitions

Independently of running with or without arguments, run_def_tests.cmd does not seem to process any files in the final test suite as done by Travis
D:\flow-typed\cli>node dist\cli.js validate-defs ..\definitions
All libdefs are named and structured correctly. (Found 225)
D:\flow-typed\cli>node dist\cli.js run-tests selenium-webdriver
Running definition tests in D:\flow-typed\definitions\npm...
Fetching all Flow binaries...
All tests passed!
D:\flow-typed\cli>cd ..

FYI: I just published v2.1.0 which contains this fix

Solved!


dartanalyzer outputs strange message for const and generics

With the following code:
class A<T> {
  const A(T value) : this._(value);
  const A._(T value) : value = value;
  final T value;
}

void main(){
  print(const A<int>(1).value);
}

and running dartanalyzer
$ dartanalyzer --version
dartanalyzer version 1.23.0-dev.11.11
$ dartanalyzer test.dart
Analyzing test.dart...
     info • A value of type 'int' can't be assigned to a parameter of type 'T' at test.dart:2:29 • const_constructor_param_type_mismatch
     info • A value of type 'int' can't be assigned to the field 'value', which has type 'T' at test.dart:8:9 • const_constructor_field_type_mismatch

If I change the file to:
class A<T> {
  const A(this.value);
  final T value;
}

void main(){
  print(const A<int>(1).value);
}

then I get:
$ dartanalyzer test.dart
Analyzing test.dart...
No issues found!

@scheglov Is this coming from the new type inference work?

No, I don't think so.
We just don't instantiate the redirect constructor.
https://codereview.chromium.org/2837743002

https://github.com/dart-lang/sdk/commit/04b40ad15dc242f78a70e6b4700a551c5107a154


Sync Stopped at 501450 (Using copy of BTC Data Dir)

Can you reliably reproduce the issue?
If so, please list the steps to reproduce below:

Open program using a copy of the BTC DataDir

Expected behaviour
I expect it to sync past the fork block of 501451
Actual behaviour
Sync stays at block 501450 (Never gets past "Connecting to peers...")
What version of bitcoin-core are you using?
Bicoin2x Core version v<IP_ADDRESS>-92a0756-dirty (64 bit)
Machine specs:

OS: Windows 10 (Spring Creators Update)
CPU: Core i7 7980x
RAM: 64G
Disk size: 1TB
Disk Type (HD/SDD): SSD

Any extra information that might be useful in the debugging process.
2017-12-31 22:21:46 Bitcoin version v<IP_ADDRESS>-92a0756-dirty
2017-12-31 22:21:46 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2017-12-31 22:21:46 Assuming ancestors of block<PHONE_NUMBER>000000003b9ce759c2a087d52abc4266f8f4ebd6d768b89defa50a have valid signatures.
2017-12-31 22:21:46 Setting nMinimumChainWork=000000000000000000000000000000000000000000723d3581fe1bd55373540a
2017-12-31 22:21:46 Using the 'standard' SHA256 implementation
2017-12-31 22:21:46 Using RdRand as an additional entropy source
2017-12-31 22:21:46 Default data directory C:\Users\Douglas McLaughlin\AppData\Roaming\Bitcoin2X
2017-12-31 22:21:46 Using data directory F:\Wallets\Bitcoin Segwit2x
2017-12-31 22:21:46 Using config file F:\Wallets\Bitcoin Segwit2x\bitcoin2x.conf
2017-12-31 22:21:46 Using at most 125 automatic connections (2048 file descriptors available)
2017-12-31 22:21:46 GUI: "registerShutdownBlockReason: Successfully registered: Bitcoin2x Core didn't yet exit safely..."
2017-12-31 22:21:46 Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements
2017-12-31 22:21:46 Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements
2017-12-31 22:21:46 Using 10 threads for script verification
2017-12-31 22:21:46 init message: Verifying wallet(s)...
2017-12-31 22:21:46 scheduler thread start
2017-12-31 22:21:46 Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2017-12-31 22:21:46 Using wallet wallet.dat
2017-12-31 22:21:46 CDBEnv::Open: LogDir=F:\Wallets\Bitcoin Segwit2x\database ErrorFile=F:\Wallets\Bitcoin Segwit2x\db.log
2017-12-31 22:21:46 Cache configuration:
2017-12-31 22:21:46 * Using 2.0MiB for block index database
2017-12-31 22:21:46 * Using 8.0MiB for chain state database
2017-12-31 22:21:46 * Using 440.0MiB for in-memory UTXO set (plus up to 286.1MiB of unused mempool space)
2017-12-31 22:21:46 init message: Loading block index...
2017-12-31 22:21:46 Opening LevelDB in F:\Wallets\Bitcoin Segwit2x\blocks\index
2017-12-31 22:21:47 Opened LevelDB successfully
2017-12-31 22:21:47 Using obfuscation key for F:\Wallets\Bitcoin Segwit2x\blocks\index:<PHONE_NUMBER>000000
2017-12-31 22:21:54 LoadBlockIndexDB: last block file = 1115
2017-12-31 22:21:54 LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=34, size=36024327, heights=501417...501450, time=2017-12-28...2017-12-28)
2017-12-31 22:21:54 Checking all blk files are present...
2017-12-31 22:21:55 LoadBlockIndexDB: transaction index disabled
2017-12-31 22:21:55 LoadBlockIndexDB(): address index disabled
2017-12-31 22:21:55 Opening LevelDB in F:\Wallets\Bitcoin Segwit2x\chainstate
2017-12-31 22:21:55 Opened LevelDB successfully
2017-12-31 22:21:55 Using obfuscation key for F:\Wallets\Bitcoin Segwit2x\chainstate:<PHONE_NUMBER>000000
2017-12-31 22:21:56 Loaded best chain: hashBestChain=00000000000000000015c5471244cd732db51b772891efe775887c053c25d2b3 height=501450 date=2017-12-28 18:00:28 progress=0.997037
2017-12-31 22:21:56 init message: Rewinding blocks...
2017-12-31 22:21:58 init message: Verifying blocks...
2017-12-31 22:21:58 Verifying last 6 blocks at level 3
2017-12-31 22:21:58 [0%]...[16%]...[33%]...[50%]...[66%]...[83%]...[99%]...[DONE].
2017-12-31 22:22:08 No coin database inconsistencies in last 7 blocks (15962 transactions)
2017-12-31 22:22:08  block index           21341ms
2017-12-31 22:22:08 init message: Loading wallet...
2017-12-31 22:22:08 nFileVersion = 150100
2017-12-31 22:22:08 Keys: 0 plaintext, 1133 encrypted, 924 w/ metadata, 1133 total
2017-12-31 22:22:08  wallet                  174ms
2017-12-31 22:22:08 setKeyPool.size() = 999
2017-12-31 22:22:08 mapWallet.size() = 44
2017-12-31 22:22:08 mapAddressBook.size() = 46
2017-12-31 22:22:08 mapBlockIndex.size() = 501684
2017-12-31 22:22:08 nBestHeight = 501450
2017-12-31 22:22:08 Imported mempool transactions from disk: 0 successes, 0 failed, 0 expired
2017-12-31 22:22:08 torcontrol thread start
2017-12-31 22:22:08 AddLocal([2601:281:c902:291f:94cf:5f65:b601:743e]:8333,1)
2017-12-31 22:22:08 Discover: SunsetShimmer - 2601:281:c902:291f:94cf:5f65:b601:743e
2017-12-31 22:22:08 Bound to [::]:8333
2017-12-31 22:22:08 upnp thread start
2017-12-31 22:22:08 Bound to <IP_ADDRESS>:8333
2017-12-31 22:22:08 init message: Loading P2P addresses...
2017-12-31 22:22:08 Loaded 65185 addresses from peers.dat  199ms
2017-12-31 22:22:08 init message: Loading banlist...
2017-12-31 22:22:08 init message: Starting network threads...
2017-12-31 22:22:08 net thread start
2017-12-31 22:22:08 dnsseed thread start
2017-12-31 22:22:08 opencon thread start
2017-12-31 22:22:08 msghand thread start
2017-12-31 22:22:08 addcon thread start
2017-12-31 22:22:08 init message: Done loading
2017-12-31 22:22:08 GUI: Platform customization: "windows"
2017-12-31 22:22:08 GUI: PaymentServer::LoadRootCAs: Loaded  43  root certificates
2017-12-31 22:22:09 receive version message: /Satoshi:0.15.1(RIP 2X)/: version 70015, blocks=501944, us=<IP_ADDRESS>:59346, peer=0
2017-12-31 22:22:10 UPnP: ExternalIPAddress = <IP_ADDRESS>
2017-12-31 22:22:10 AddLocal(<IP_ADDRESS>:8333,3)
2017-12-31 22:22:10 UPnP Port Mapping successful.
2017-12-31 22:22:10 ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader:<PHONE_NUMBER>000000004b269ece007638e0992a83ac12210565a45d101544dae2, not-hardfork, incorrect block version (code 16)
2017-12-31 22:22:19 Loading addresses from DNS seeds (could take a while)
2017-12-31 22:22:21 receive version message: /Satoshi:<IP_ADDRESS>/: version 70015, blocks=501944, us=<IP_ADDRESS>:61183, peer=1
2017-12-31 22:22:27 receive version message: /Satoshi:0.15.1/: version 70015, blocks=501944, us=[2601:281:c902:291f:94cf:5f65:b601:743e]:61215, peer=2
2017-12-31 22:22:30 213 addresses found from DNS seeds
2017-12-31 22:22:30 dnsseed thread exit
2017-12-31 22:23:12 receive version message: /Satoshi:0.15.1/: version 70015, blocks=501944, us=<IP_ADDRESS>:8333, peer=3
2017-12-31 22:23:34 receive version message: /Satoshi:0.15.1/: version 70015, blocks=501944, us=<IP_ADDRESS>:61508, peer=4
2017-12-31 22:23:37 receive version message: /Satoshi:0.14.2/: version 70015, blocks=501944, us=<IP_ADDRESS>:8333, peer=5
2017-12-31 22:23:40 receive version message: /Satoshi:0.15.1/: version 70015, blocks=494782, us=<IP_ADDRESS>:61530, peer=6
2017-12-31 22:23:52 receive version message: /Satoshi:0.13.0/: version 70014, blocks=501944, us=[2601:281:c902:291f:94cf:5f65:b601:743e]:61569, peer=7
2017-12-31 22:24:15 receive version message: /Satoshi:0.15.1/: version 70015, blocks=487558, us=<IP_ADDRESS>:8333, peer=8
2017-12-31 22:24:19 ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader:<PHONE_NUMBER>000000004b269ece007638e0992a83ac12210565a45d101544dae2, not-hardfork, incorrect block version (code 16)
2017-12-31 22:24:19 ERROR: invalid header received
2017-12-31 22:24:19 ProcessMessages(headers, 40098 bytes) FAILED peer=0
2017-12-31 22:24:19 ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader:<PHONE_NUMBER>000000004b269ece007638e0992a83ac12210565a45d101544dae2, not-hardfork, incorrect block version (code 16)
2017-12-31 22:24:19 ERROR: invalid header received
2017-12-31 22:24:19 ProcessMessages(headers, 40098 bytes) FAILED peer=4
2017-12-31 22:24:20 ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader:<PHONE_NUMBER>000000004b269ece007638e0992a83ac12210565a45d101544dae2, not-hardfork, incorrect block version (code 16)
2017-12-31 22:24:20 ERROR: invalid header received
2017-12-31 22:24:20 ProcessMessages(headers, 40098 bytes) FAILED peer=1
2017-12-31 22:24:20 ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader:<PHONE_NUMBER>000000004b269ece007638e0992a83ac12210565a45d101544dae2, not-hardfork, incorrect block version (code 16)
2017-12-31 22:24:20 ERROR: invalid header received
2017-12-31 22:24:20 ProcessMessages(headers, 40098 bytes) FAILED peer=2
2017-12-31 22:24:21 ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader:<PHONE_NUMBER>000000004b269ece007638e0992a83ac12210565a45d101544dae2, not-hardfork, incorrect block version (code 16)
2017-12-31 22:24:21 ERROR: invalid header received
2017-12-31 22:24:21 ProcessMessages(headers, 40098 bytes) FAILED peer=7
2017-12-31 22:24:27 ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader:<PHONE_NUMBER>000000004b269ece007638e0992a83ac12210565a45d101544dae2, not-hardfork, incorrect block version (code 16)
2017-12-31 22:24:27 ERROR: invalid header received
2017-12-31 22:24:27 ProcessMessages(headers, 40098 bytes) FAILED peer=3
2017-12-31 22:24:42 receive version message: /Satoshi:0.15.1/: version 70015, blocks=501945, us=<IP_ADDRESS>:61754, peer=9
2017-12-31 22:25:15 version handshake timeout from 8
2017-12-31 22:28:05 receive version message: /Satoshi:0.15.1/: version 70015, blocks=501945, us=<IP_ADDRESS>:8333, peer=10

Looks like it is still trying to connect to the BTC network rather than the B2X network.  Are there any ADDNODE lines that can be added for the new network?

Ok, I found them:
addnode=<IP_ADDRESS>:8333
addnode=<IP_ADDRESS>:8333
addnode=<IP_ADDRESS>:8333
addnode=<IP_ADDRESS>:8333


how to use this code?

Edit data path inside extract_data.m
Run thesis_on_emotion_detection_from_ECG.m file to get results.

Note: I hardly remember this code as it was done a long time ago. Some plot generation might be turned off. Please check the codes inside and also the comment out parts.

thank you for answer

I am looking for the method of electrocardiogram cutting. Few people will do the cutting of T and P waves. I would like to ask how you wrote it in the first place, or has anyone written related open code?

This algorithm can detect the position of p, R and t peaks. It can not cut any portion about those peaks. But, if you assume a fixed period and cut the portions from both sides of any peak, you can cut the related portion.
The accuracy of R peak detection is sufficiently well but p and t peak detection accuracy is relatively lower.
As I have already replied, I dont remember much about this code, perhaps you have to go through the code and understand yourself. If you need any explanation, please let me know.
I am sorry, I dont know any open source repo for ecg cutting algorithm.

I actually dont remember at this moment. However I found this by google search-
https://jp.mathworks.com/matlabcentral/answers/317951-convert-dat-to-txt-or-mat


Palindrome Cpp code

This code contains function called palindrome that checks if input string is plindrom or not
String called plindrom are look like this
E.g: maam i.e read from start or end spellings are same

This code contains function called palindrome that checks where input string is plindrom or not
String called plindrom are look like this
E.g:  maam i.e read from start or end spellings are same

@umirz87 this works, add this to the description of the contribution and we're done.

Done

I have added the description kindly accept


More API Changes

This introduces a few significant changes to the API across all layers and does a lot of cleanup:

The process of handling binding of WorkerItems has changed.  Previously a WorkerItem did not get its id and reference to the worker during construction, but afterwards when onBind is called.  Not WorkerItem is now a class which requires a Context, which can only be generated by a WorkerRef.  This context includes the unique id for the worker item.  While the worker item is still not bound during construction, now WorkerItem has access to its id and to the worker during construction.
The Server DSL has been modified so now both layers of initialization involve constructing classes.  A new Initializer replaces the old ServiceContext that had mutable variables.
Most of the code around Tasks has been gutted.  I will be creating a new issue to address cleaning this up.

Starting a service now looks like this:
Server.start("hello", 8080){ worker => new Initializer(worker) {

  def onConnect = context => new Service[Http](context) {

    def handle = {
      case req => Callback.successful(req.ok("hello"))
    }
  }
}}

Using the Server.basic method (which defaults to a vanilla initializer), the code can still be shortened as such:
Server.basic("hello", 8080){ new Service[Http](_) {
  def handle = {
    case req => Callback.successful(req.ok("hello"))
  }
}}

As usual, the vast majority of code changes are in the tests.

Current coverage is 81.92%

Merging #311 into develop will decrease coverage by -0.60% as of eb5fc0e

@@            develop    #311   diff @@
=======================================
  Files            64      64
  Stmts          3307    3280    -27
  Branches        460     458     -2
  Methods
=======================================
- Hit            2729    2687    -42
  Partial           0       0
- Missed          578     593    +15

Review entire Coverage Diff as of eb5fc0e

Powered by Codecov. Updated on successful CI builds.

created #312 to address the task code

Decided to just include the task fixing code in this PR.  Wasn't very much, so I'm going to close #312

Added in a new Constructor to Service to address #247


Links are in HTTP, they should be by HTTPS by default

Where are the links you are referring to?

@t-k- I'm talking about the links that are presented when a search is made

why is it necessary?

@t-k- Not enabling https by default is a potential security vulnerability. For example, if one is connected to stackexchange, and then gets to an http version of the site, an attacker may make a man-in-the-middle attack.
It's not necessary. But it's definitely much better and not something difficult to implement. (Open up the urls with notepad++ and replace http:// with https:// automatically)

@poccouy2 I think MSE is using mostly http, by that I mean MSE will not force you to any https link of its posts. And most likely Google also will give you http links of MSE. As search engine. First I think it is not a expected behavior to change the original links crawled and read from MSE. Second I think there are people want trade off security for fast loading, especially for sites not exchanging very important data like MSE or people living out side of US with a slow Internet access like my situation right now.
I will close this issue but welcome other opinion from people.
Sorry for my late reply.

I'm leaving this here because it is somewhat related: A specific rule has been created for your website so that users of the HTTPS-Everywhere plugin will always be redirected to the HTTPS version of your website, even if an attacker tries to MiTM and redirect to an HTTP version.

@lmffeexd Approach0 does have HTTPS as default, it is the links that Approach0 directs users to are currently HTTP. This does not affect Google to rank Approach0 as HTTPS site. Just like Google homepage is in HTTPS, but Google will nevertheless direct you to HTTP site if your query hits that site.

"starting to use HTTPS as a ranking signal" does not mean the search results are all HTTPS links. It just means Google is presumably prioritizing HTTPS sites in search result.

@t-k-  Yes, I mentioned that only to show that the current trend in the web is to move all traffic to HTTPS. Soon, Firefox and Chrome will start disabling some features for HTTP websites.

@t-k-

I think MSE is using mostly http, by that I mean MSE will not force you to any https link of its posts.

This has changed, now all SE links will go to HTTPS https://meta.stackexchange.com/questions/292058/network-wide-https-its-time
I think it's time now for you to reconsider applying this enhancement suggestion.

@lmffeexd Thank you for bringing up this news.
Now I still do not think it is time to switch to all-https, based on the following reasons:
I am against the idea to force https by manually replacing all http prefix to https in search results. This may be simple to do, however, it does not obey search engine principle, and it is not elegant obviously. That being said, if we switch to crawling https://math.stackexchange.com instead, crawler will save hyperlinks in https but it takes more time to crawl https pages and consequently we may need to re-crawl all document on MSE. I have to mention again that I am maintaining this project in my part-time, crawler is running on a single laptop and network is slow.
Second, approach0.xyz itself is in https, so Google will treat approach0.xzy as https site. Besides, there is no obvious security reason to switch to https search results for a math QA website search engine.


unhandled errors

any ideas why I see these errors in console.log? or how I would go about debugging them?
17/04/2013 15:54:57 :: Error writing to /var/lib/carbon/whisper/servers/t-voduzi-pre/iostat/dm-0/reads_per_second.wsp
17/04/2013 15:54:57 :: Unhandled Error
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/twisted/python/threadpool.py", line 210, in _worker
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib64/python2.6/site-packages/twisted/python/context.py", line 59, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib64/python2.6/site-packages/twisted/python/context.py", line 37, in callWithContext
return func(*args,**kw)
File "/usr/lib/python2.6/site-packages/carbon/writer.py", line 158, in writeForever
writeCachedDataPoints()
---  ---
File "/usr/lib/python2.6/site-packages/carbon/writer.py", line 124, in writeCachedDataPoints
whisper.update_many(dbFilePath, datapoints)
File "/usr/lib/python2.6/site-packages/whisper.py", line 538, in update_many
return file_update_many(fh, points)
File "/usr/lib/python2.6/site-packages/whisper.py", line 572, in file_update_many
__archive_update_many(fh,header,currentArchive,currentPoints)
File "/usr/lib/python2.6/site-packages/whisper.py", line 640, in __archive_update_many
if __propagate(fh, header, interval, higher, lower):
File "/usr/lib/python2.6/site-packages/whisper.py", line 444, in __propagate
(lowerBaseInterval,lowerBaseValue) = struct.unpack(pointFormat,packedPoint)
struct.error: unpack requires a string argument of length 12
17/04/2013 15:54:57 :: Sorted 41 cache queues in 0.000016 seconds
17/04/2013 15:54:57 :: Error writing to /var/lib/carbon/whisper/servers/t-voduzi-pre/sockets/tcp_alloc.wsp
17/04/2013 15:54:57 :: Unhandled Error
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/twisted/python/threadpool.py", line 210, in _worker
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib64/python2.6/site-packages/twisted/python/context.py", line 59, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib64/python2.6/site-packages/twisted/python/context.py", line 37, in callWithContext
return func(*args,**kw)
File "/usr/lib/python2.6/site-packages/carbon/writer.py", line 158, in writeForever
writeCachedDataPoints()
---  ---
File "/usr/lib/python2.6/site-packages/carbon/writer.py", line 124, in writeCachedDataPoints
whisper.update_many(dbFilePath, datapoints)
File "/usr/lib/python2.6/site-packages/whisper.py", line 538, in update_many
return file_update_many(fh, points)
File "/usr/lib/python2.6/site-packages/whisper.py", line 572, in file_update_many
__archive_update_many(fh,header,currentArchive,currentPoints)
File "/usr/lib/python2.6/site-packages/whisper.py", line 640, in __archive_update_many
if __propagate(fh, header, interval, higher, lower):
File "/usr/lib/python2.6/site-packages/whisper.py", line 444, in __propagate
(lowerBaseInterval,lowerBaseValue) = struct.unpack(pointFormat,packedPoint)
struct.error: unpack requires a string argument of length 12

FWIW I've experienced sth similar with corrupted whisper files (struct.error actually) and at least on 0.9.13 this seems to crash/stop the thread writing to disk, therefore caching all metrics in memory if running with unlimited cache size
17/06/2015 00:56:12 :: [console] Error writing to PATH/data/WriteLatency/min.ws
p
17/06/2015 00:56:12 :: [console] Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 191, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext
    return func(*args,**kw)
  File "/usr/lib/python2.7/dist-packages/carbon/writer.py", line 158, in writeForever
    writeCachedDataPoints()
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/carbon/writer.py", line 137, in writeCachedDataPoints
    whisper.update_many(dbFilePath, datapoints)
  File "/usr/lib/python2.7/dist-packages/whisper.py", line 577, in update_many
    return file_update_many(fh, points)
  File "/usr/lib/python2.7/dist-packages/whisper.py", line 611, in file_update_many
    __archive_update_many(fh,header,currentArchive,currentPoints)
  File "/usr/lib/python2.7/dist-packages/whisper.py", line 683, in __archive_update_many
    if __propagate(fh, header, interval, higher, lower):
  File "/usr/lib/python2.7/dist-packages/whisper.py", line 483, in __propagate
    (lowerBaseInterval,lowerBaseValue) = struct.unpack(pointFormat,packedPoint)
struct.error: unpack requires a string argument of length 12

I ran into the same problem a few days after a big cleanup of whisper files (I simply rm'd some metrics I did not need anymore)

Ran into same issue while trying to do scaling . Simply removed the files which quick got recreated .
grep 'Error writing to '   /opt/graphite/storage/log/carbon-cache/carbon-cache-a/console.log |awk '{print $NF}'  |sort -u | xargs  rm -f

Curious what version of Graphite/Carbon folks are using that encounter this problem. IIRC this was related to corrupted Whisper files created during a full disk, and a fix finally went in to address this. I don't remember when this went in or which version but it would be nice to narrow it down.


Avoid SSH if possible

But stay simple

I think I understood something now: We really want to exclude the SSH stuff from the release image.
So I mean we do not want the following lines in our release.
https://github.com/dneise/acs_test/blob/b97b4905e730c61cf5e26e318c915a6b135385b6/Dockerfile#L266-L282
My reasons for removing these lines are:

using SSH in docker is an anti-pattern. @emiliogq reminded me of this many times.
Having sshd setup like what I show above, is not general, and we want to ship something that is usable by many people.
It is very simple to ship 2 images. One generic .. for everybody .. without strange sshd setups. ... and one for newcomers (with sshd ... until we have a better idea.)

For the naming I would propose something like:

acs:2020.4  - for the generic release
acs:2020.4-ssh - for the release, which might be used by very few newcomers only. (We can monitor download numbers and track if anybody is actually suing the ssh version at all)

Another alternative would be ... we ship really only the image without sshd at all.
And then on a very easy to find website, we tell newbies, who might have never used docker before something like this:

Install docker on your machine
do docker pull dneise/acs_test:2020.4. This downloads the image, so the coming steps are quick, and newbies do not have to wait forever.
Download the beginner Dockerfile (we must give them a download link .. no copy &paste from a website)
(The beginner dockerfile will look like this  vvvvv)

FROM dneise/acs_test:2020.4
#   ^^^^^^^^^^^^^^^^^^^^^^^^ --- we need to move to a better named repository ... this starts to annoy me already

# Here we make sure, that sshd is setup correctly. Using sshd is a docker anti-pattern
# but for simplicity we do it nevertheless.
# NOTE! We allow empty passwords.
RUN  sed "s@#X11UseLocalhost yes@X11UseLocalhost no@g" -i /etc/ssh/sshd_config && \
     sed "s@#UseDNS yes@UseDNS no@g" -i /etc/ssh/sshd_config && \
     sed "s@#PermitEmptyPasswords no@PermitEmptyPasswords yes@g" -i /etc/ssh/sshd_config
# sshd needs these keys to be created.
RUN /usr/bin/ssh-keygen -A

# We tell docker, that we plan to expost port 22 - the default SSH port.
# With: docker run -dP   docker decides which port to use on the host
# With: docker run -d -p 10022:22  we decided that port 22 should be exposed as 10022.
# Both variants have their use cases.
EXPOSE 22

# As a last step we, we start the SSH daemon.
CMD ["/usr/sbin/sshd", "-D"]

do: docker build . --tag=acs:2020.4-ssh
(SInce it builds on top of an already downloaded image, this will be really quick)
do docker run --name=acs acs:2020.4-ssh

And from here on it works just like before.
What are the pros/cons for this approach.
Pros:

We have a really generic image, no docker anti-pattern already locked-in into the image.
We only supply 1 image, so this is less work.
newbies already learn docker build & docker run
Even though they have to build a docker image ... it will be really fast .. so it will feel good ... not annoying.

Cons:

Newbies have to follow a rather long step-by-step (maybe 10 steps until acscommandcenter is running) list ... much room for errors.
Newbies already need to learn docker build.

I think there are more pros .. than cons.

I am not sure I understand. How can acscommandcenter be used like this?

But independent of the question about the commandcenter: Yes .. newbies should learn the good patterns .. and if we teach them anti-patterns, then we are bad teachers. And I would rather be a good teacher, if I can.

I am not sure I understand. How can acscommandcenter be used like this?

You can "share" the desktop of your local machine to the container without ssh-ing

Yes one can.
But the command you showed above:

docker run --rm -it -v $PWD:/test -w /test acs-image

Will not allow users to do that.

I am sure you are aware of this, but for later reference. Here are two blog posts, I found about this topic:

http://wiki.ros.org/docker/Tutorials/GUI
http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker/

I usually do:
docker run -it -u $UID -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix:rw" gui-image

Yes one can.
But the command you showed above:

docker run --rm -it -v $PWD:/test -w /test acs-image

Will not allow users to do that.

I am sure you are aware of this, but for later reference. Here are two blog posts, I found about this topic:

http://wiki.ros.org/docker/Tutorials/GUI
http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker/

Does that also work on a Mac?

Wait one second ... -u $UID .. doesn't this require a user of your UID to exist in the image? Is it save to assume this is the case?

So ... anyway to shorten this whole discussion. I think we should just remove the SSH stuff from the Dockerfile and write a little "tutorial" into our README.md on how to use this image with GUIs.
I would also propose ... we give some hints on: How to make your life easier, if you have to work with Docker and GUIs all the time. Like, shell aliases, or whatever we currently do, in order to not forget these long command line arguments.
I will open a PR.