[Feature Request] Have Preview Images sorted by Natural Order

Currently the images are sorted:
model.10.png
model.11.png
model.6.png

Should be:
model.6.png
model.10.png
model.11.png

It would make organizing images a bit easier when naming them.

Im pretty sure its ordering that way because of how windows orders files. You could rename the files to model.06.png and it will probably sort the way you want.

Windows explorer shows the correct order. It's a python on windows thing.
I usually see natsort library being used for stuff like that.

You could rename the files to model.06.png and it will probably sort the way you want.

yeah I've been padding the files with 0's as a workaround.

If it is solved by just naming your files with padded 0s when you want numerical ordering... Is that not good enough?
Trying to add numerical sorting gets annoying. Its slightly easier with the strict name matching but even then there are edge cases that complicate things.
For example... how would you sort this set of files:
model.10.png
model.preview.8.png
model.png
model.02.png
model.preview.png
model.2.png

Do you go based solely on the number? Do .preview files get sorted in with the rest or later? or before? What about when they dont have a number? etc.
And thats not even getting into the can of worms that trying to numerically order the loose name matching would be.
I suppose I could add something only for strict naming.

I didn't bother with preview. I just stuck with model.001.png, model.002.png, etc. once I saw the order being weird.
Oh yeah, don't worry about trying to implement a sorting fix if it's too much of a pain. Padding with 0's is perfectly viable.
It's a feature request, but super low pri.


Walking back through the Thread will continue even after leaving the Thread

Describe the bug
If you leave a Thread while the node is still going back through history, it will continue even after the LEAVE block.
To Reproduce
Steps to reproduce the behavior:

I joined an old thread with many entries
The node began go back through history
I issued a textile threads rm ABDK
The node issued a LEAVE block
The node continued to walk back through old blocks

Expected behavior
Leave the thread

Opened this bug when I saw it on the CLI. But the implications in the mobile ui are here,
https://github.com/textileio/go-textile/issues/704


Support not closing UWP keyboard on air taps with TMP_InputField

Describe the problem
When TMP_InputField is used with the system keyboard air taps will cause the Hololens keyboard to close. This happens very easily, especially for unexperienced Hololens users.
Describe the solution you'd like
I would like an option to disable air taps closing the keyboard when using TMP_InputField.
Describe alternatives you've considered
There is a  DisableUIInteractionWhenTyping property which unfortunately does not seem to do anything in regards to TMP_InputField. Alternatively I have tried setting the ProcessPaused property whenever the keyboard is visible (TouchScreenKeyboard.visible), but this also disables closing via the enter button.

We were having the same issue and were able to find a workaround, so here it is in case anyone else experiences this :)
Note: I unfortunately do not have the time to submit a PR and I'm not even sure if this "fix" is the desired behaviour of MRTK with the ProcessPaused flag...
Step 1 - Register events for the input fields' onSelect and onDeselect events.
We have our own wrapper MonoBehaviour which we use for our input field logic, so the following code is from that wrapper class.
        private void Start()
        {
            ...
            _inputModule = CameraCache.Main.GetComponent<MixedRealityInputModule>();
            _inputField.onSelect.AddListener(PauseInputModuleProcess);
            _inputField.onDeselect.AddListener(UnpauseInputModuleProcess);
            ...
        }

        private void PauseInputModuleProcess(string _)
        {
            _inputModule.ProcessPaused = true;
        }

        private void UnpauseInputModuleProcess(string _)
        {
            _inputModule.ProcessPaused = false;
        }

Step 2 - Invoke base.Process() method if processing is paused (MixedRealityInputModule.cs)
        ...

        public override void Process()
        {
            using (ProcessPerfMarker.Auto())
            {
                // Do not process when we are waiting for initialization
                if (ManualInitializationRequired || ProcessPaused)
                {
                    base.Process(); // <--- This line
                    return;
                }

        ...

We appreciate your feedback and thank you for reporting this issue.
Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.
Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.
Please note that MRTK3 was released in August 2023. It features an all-new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visit https://www.mixedrealitytoolkit.org.
Thank you for your continued support of the Mixed Reality Toolkit!


{Freeway-Bug} [Adaptive Cards> FlightItinerary.json]: Focus order is not in sequential way in FlightItinerary.json card

Target Platforms
UWP
SDK Version
3.0.2206.2001
Application Name
Adaptive Cards
Problem Description
Test Environment:
OS version: 22H2 (Build 25182.1010)
Browser: Edge Dev (106.0.1356.0)
Application: AdaptiveCardVisualizer
Application Version: 3.0.2206.2001
Screen Reader: Narrator
Repro Steps:

Open the Adaptive Card Visualizer application.
Turn on the Narrator through Ctrl+ windows+ enter key and press caps lock + space bar key to turn on the scan mode.
Navigate to the 'FlightItinerary.json' through tab key and activate it.
Now, navigate to 'San Francisco' and 'Amsterdam through up/down arrow key.
Observe the issue.

Actual Result:
On FlightItinerary.json card, focus order is not in sequential manner. Focus order is of San Francisco> Amsterdam> SFO> Image to> AMS.
Expected Result:
On FlightItinerary.json card, focus order should be in sequential manner**. Focus order should be in a way San Francisco> SFO>Image to> Amsterdam> AMS**
User Impact:
People with cognitive disability will get impacted if focus order is not in sequential way due to which user will have difficulty in making track of the content properly..
MAS Reference link:
https://liquid.microsoft.com/Web/Object/Read/MS.Accessibility/Requirements/01.03.02
“Have feedback to share on Bugs? Please help fill Trusted Tester Bug Feedback (office.com) “
Screenshots
https://user-images.githubusercontent.com/104483005/189816358-c2e0a76e-0e05-44b5-a3bf-29afb12cc923.mp4
Card JSON
NA

Sample Code Language
No response
Sample Code
No response

Focus order issue is observed after acting the set due date control.
https://user-images.githubusercontent.com/117892125/201320045-4e66d745-7378-45c9-8d7e-85c6a50aa45a.mp4

This issue has been fixed and will be included in our next release. I am closing this issue for now. Once new version is available, if the issue persists please open a new issue to track.

Issue has been fixed in below test Environment, hence Adding A11yTTValidated tag.
Test Environment:
OS Version: 22H2 (Build 25314. 1010)
Application: Adaptive Card Visualizer (Version 3.2.2303.22003)
PFA for Reference: Adaptive cards UWP~ Fixed issue.mp4
https://user-images.githubusercontent.com/104483005/228218906-99e1055e-0db8-4f2e-aea9-2863e30cccea.mp4


Wants to Add Puzzle Game

I want to add a Puzzle game

Sorry, someone is already working on this. Do not be demotivated and raise a new issue.


https://www.roblox.com/users/favorites/list-json: Bad argument #1 to 'pairs' (table expected, got nil)

https://www.roblox.com/users/favorites/list-json sometimes gives a value that is not expected, causing a failure on the entire item stack.
https://github.com/ArchiveTeam/roblox-marketplace-comments-grab/blob/70d0be1358b67d03cc0e86afced115b01a0610e7/roblox-marketplace-comments.lua#L442-L445
Log from https://transfer.archivete.am/inline/11YctO/robloxlua442.txt:
702=200 https://www.roblox.com/users/favorites/list-json?assetTypeId=12&cursor=&itemsPerPage=100&userId=16312417
703=200 https://www.roblox.com/users/favorites/list-json?assetTypeId=11&cursor=&itemsPerPage=100&userId=16312417
Lua runtime error: roblox-marketplace-comments.lua:442: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
	[C]: in function 'pairs'
	roblox-marketplace-comments.lua:442: in function <roblox-marketplace-comments.lua:193>.
Process WgetDownload returned exit code -6 for Item user:2263779676 user:2910048 user:2263800966 user:93128045 user:2306656213 user:3461152274 user:1370957193 user:46111180 user:2277748847 user:16312417
Failed WgetDownload for Item user:2263779676 user:2910048 user:2263800966 user:93128045 user:2306656213 user:3461152274 user:1370957193 user:46111180 user:2277748847 user:16312417
Waiting 10 seconds...

I suggest checking if json contains the expected values and sleep retrying if not.

Fixed as of 2e73586.


The Kubernetes Effect - Igniting Transformation in Your Team

Ref: https://twitter.com/FranklyBriana/status/1224716048445952007
https://kccnceu20.sched.com/event/Zh36
With @brianafrank
Note: had an intro call with Briana and Sarah from IBM's PR team on 2/10.

HackMD: https://hackmd.io/dK8qoCd2SKe6SU_NCvzyLw?both


Vue treats null expression as undefined?

Not sure if it's just me misunderstanding how things work, but Vue is apparently treating null expression as undefined. Here is a failed test case to demonstrate the issue.
If this is confirmed to be a bug, I can try to work on a fix.

@yyx990803 Any idea?


WIP: Advance experiments for input refactorings.

Cleaning up new input data structures.

@swift-ci please smoke text os x platform


Worker dependency to last stable (Exposureapp-4087)

This PR removed the beta version of the worker dependency due unexpected exceptions(class not found).
Issue is also present in Beta2/Beta1.
10.Dez, 17:00 update:
(set to Draft/onHold, until we have details from Google about impact of this exception or any further recommendations)
@d4rken @thomasaugsten

closed due to workmaner update to beta02.
See Exposureapp-4087 for details.


put btc/aleo implementations into seperate crates

would fix some issues with features when building binaries. also just makes sense

Sadly rocket doesn't support this the way we are using it.
I'll do a pr that keeps the interfaces the same but swaps to axum.

2 hours refactor.
Also, 1 hour added request client to server for calling jsonrpcs.


Ensure TypeChecker#getTypeAtLocation returns a defined result

Fixes #25577

This function was basically assumed to return a defined result everywhere. It's only had the  | undefined type annotation since #22088.
I tried getting a repro but couldn't find a situation where it would return undefined and we have signature help -- may have to do with parse error handling causing an unusual node to be present there.


Chore: Remove 'Home' from 'Open Source Programs' Page Navbar

Category

[ ] Documentation
[ ] Resource Addition
[x] Codebase
[ ] User Interface
[ ] Feature Request

Description

We need to remove the 'Home' link from the 'Open Source Programs' page navbar.

I want to work under this issue as a contribution under JWOC'24

Once your PR for the issue that you're already assigned to gets merged, you will be considered for this issue. If anyone asks to be assigned before your PR is merged, he/she will be assigned to this issue.

You're assigned.


Manual: add tabs with Kotlin code for samples (chapter 9.6 - 9.8: Executing commands)

Merged and published the HTML.
Thank you for the contribution!


[WIP] controls: plugins can add generic controls to start a container

This patch adds a way for plugins to add controls to start a new
container such as GDB for debugging. This does not require the plugin to
know the list of Docker containers, nor does it require to communicate
with the Docker daemon at all. The plumbing is done in the probe itself.
The plugin merely advertises the name of the GDB-like container to use.
This is achieved through two new fields in the report that the plugin
sends to the probe.
    "controls": {
      "ctrl-one": {
        "id": "ctrl-one",
        "human": "Ctrl One",
        "icon": "fa-futbol-o",
        "rank": 1,
        "always_propagated": true,
        "start_image": "albanc/toolbox"
      },
    }

Notice the two new optional fields:

AlwaysPropagated (default: false): this asks the new control tagger
(probe/controls/tagger.go) to add the control on all nodes of the topology. In
this way, the plugin does not need to know the list of nodes and it does not
need to duplicate the work from the probe.

StartImage (default: empty): if not empty, the probe will not forward the
command to the plugin but do the job itself instead. It creates a new Docker
container from the specified image and starts it. A window in the Scope UI is
immediately created and attached to the container.

The plugin developer can simply create an image that will start a
debugger such as GDB or strace. The container will be created with the
following environment variables: $SCOPE_PLUGIN_ID, $SCOPE_CONTROL_ID,
$SCOPE_IMAGE, $SCOPE_APP_ID, $SCOPE_NODE_ID. From $SCOPE_NODE_ID, the
image can determine which process to gdb or strace.
Previously, the controlID given by the plugin was converted before being
added in the report in the following form: pluginID~controlID. Now, if
the StartImage field is not empty, the controlID added in the report
will now have this form: pluginID~controlID~encodedImage. encodedImage
uses url.QueryEscape() to make sure that slashes in image names don't
bother Scope App.

TODO & questions:

[ ] This patch was partially tested with https://github.com/kinvolk/scope-debugger but at the moment, "start_image" does not point to an image that uses $SCOPE_NODE_ID, so the full chain has not been tested.
[ ] I am not so happy with the way I patched the struct controlsByPlugin (probe/plugins/registry.go). I think it will need to be clarified.
[ ] This does not compile anymore after a rebase on master
[ ] The report data structure (report/controls.go) is changed by this patch and this is visible by Scope App. Even though the go json parser ignore unknown fields, I am not sure about the compatibility with an older Scope App. I am pondering about using a different data structure for the communication between the plugin and the Probe.

Nice work. A few comments after reading the description (I haven't checked the code).

"always_propagated": true,

I am not sure the name is descriptive enough, also, I am not sure if propagating it on the probes is the best way to go (we could simply do it in the app when rendering and save all that duplicated information in all the nodes).
Also, systematically adding the control without any filtering seems simplistic but it's a good start.

"start_image": "albanc/toolbox"

Cool! Again, it's probably a bit simplistic but a good start. Restart policies? When should it be garbage collected? Will the used always be responsible of ending it (e.g. with ^D).

I am not sure the name is descriptive enough, also, I am not sure if propagating it on the probes is the best way to go (we could simply do it in the app when rendering and save all that duplicated information in all the nodes).

Right, that would save bandwidth. If Scope App is an old version without this and Scope Probe + plugins are using a new version, propagating in the app would not work. But maybe we don't care about not-updated app.

Cool! Again, it's probably a bit simplistic but a good start. Restart policies? When should it be garbage collected? Will the used always be responsible of ending it (e.g. with ^D).

I wanted to let it to the user terminate the container (either with ^D or by closing the pseudo-terminal inside Scope App). So the container would only exist as long as it is visible in the app. My patch does not currently terminate correctly the container when closing the terminal, but that was the intention.
Do you have a use case with restart policy?
I have not thought about garbage collection. Scope could do the docker rm as soon as the container stops.

If Scope App is an old version without this and Scope Probe + plugins are using a new version, propagating in the app would not work. But maybe we don't care about not-updated app.

We normally suffer the opposite problem (probes being older than the app, we update Weave Cloud very regularly. So, yeah, we don't care too much about the opposite problem.

Do you have a use case with restart policy?

Not at this point, and maybe that's a sign that we shouldn't make it too complicated at this point.

I have not thought about garbage collection. Scope could do the docker rm as soon as the container stops.

I am fine with this, we should make sure that's the behavior before merging.
Also, would you mind rebasing?

Also, would you mind rebasing?

We have done that now, thanks.

@alban @schu Do you plan to work on this anytime soon? Otherwise, can we close this PR?


mirrorTexture can't handle sprites

Bug repro on https://www.babylonjs-playground.com/#HEJBM7
Expected result: sprites should be reflected/rendered on mirrorTexture
Current result: Uncaught TypeError: mesh.isReady is not a function

This is per design. The renderList can only contain meshes
Sprites are not mirrored as they are 2d objects.
But you can instead use planes with billboard mode. Example of billboard: https://www.babylonjs-playground.com/#0720FC#14


Adds Support for Keyfile Key

Previously, the module could specify a keyfile (i.e. /etc/keyfile)
but could not create the file and populate it with a key. This
patch introduces the key parameter that allows a user to specify
the key to use for keyfile-based authentication.

@danehans any update for Hunner's questions?

@hunner checking for keyfile and not key was intended for backwards compatibility. Since the existing code creates the file but not the key, I did not was to enforce the key or some default param.


ci: Monorepo build test

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.


Is there a plan to release it as a dotnet tool?

This is a great tool. If there are any plans to release it as a dotnet tool in the future for easier installation and use?

I'd love to do this, been on my personal backlog. Back from vacation now! Thanks for filing the issue for visibilty/tracking.

Done! dotnet tool install --global SKonsole --version 1.0.0 . Will need to do some more work, but high level, this is available now! Please give feedback and/or open new issues.


all functions must be outlined

delay() should not be defined as inline
https://github.com/nerdralph/ArduinoShrink/blob/0be8e6e51a0a9d6e777af99215987eb6c4d94866/src/ArduinoShrink.h#L7
Inline functions in ArduinoShrink.h can cause a bug when the sketch code does not call delay() but a 3rd-party library used by the sketch does.  As an inline function, delay() does not get compiled into ArduinoShrink.a as intended.

fixed in v0.6.1


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_a52vtyvwiu/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_a52vtyvwiu/clone/recipe/meta.yaml:28: missing_pip_check: For pypi packages, pip check should be present in the test commands
WARNING: /tmp/abs_a52vtyvwiu/clone/recipe/meta.yaml:38: missing_description: The recipe is missing a description
ERROR: /tmp/abs_a52vtyvwiu/clone/recipe/meta.yaml:38: http_url: http://pytest-flask.readthedocs.io/ is not https
Errors were found


Maintain scroll position on iframe reload

When the iframe pane is being used as a live preview, it would be ideal if on revision of a given content type that the iframe maintained its scroll position when reloaded.

Update on this in case anyone else is interested in the future:
I made an adjustment to the plugin to have this work locally that avoids any CORS issues. What I'm doing is instead of updating the src attribute of the iframe on reload, I'm using the fetch API on my source URL on reload, grabbing the HTML, and putting that into the srcdoc attribute. By updating the inner HTML of the iframe, you do not have to adjust your scroll position, and in order to do that without cross-origin issues, the HTML within the iframe must be inline.
I'm not making a PR for this since it's kind of hack-y and probably goes against most peoples use case but if there's interest I can share more details.


Load examples manifest via HTTP

What

Closes https://github.com/rerun-io/rerun/issues/4278
Closes https://github.com/rerun-io/rerun/issues/3190 - it's now possible to patch the manifest for a previously released version, starting with the next release.

[x] Stop including examples_manifest.json as part of the binary in favor of downloading it from app.rerun.io
[x] Move re_viewer/build.rs logic to a separate binary crate
[x] Native: Manifest URL override via a runtime env var
[x] Web: Manifest URL override via query param (manifest_url)
[x] CI: Build and upload examples_manifest.json together with every build of the web app for:

/commit
/pr
/version/nightly
/version/{tag}
/prerelease
/latest

[x] PR template: Link to app using both nightly and PR examples manifest

Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[x] I have tested the web demo (if applicable):

Nightly
PR

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG

PR Build Summary
Docs preview
Examples preview
Recent benchmark results
Wasm size tracking

I pulled in an unrelated change, prettier v3 expects lowercase doctype, but prettier v2 expects it uppercased. The vscode extension has yet to update to prettier v3, so the solution for now is to downgrade the version in pixi.toml to v2.
prettier/prettier#15476


chore:  enable ruff final settings

Drafting this PR to allow all Team members to be on the same page.
Will be enabled once code base is compliant.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 24.33%. Comparing base (62c589e) to head (ae93b1b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #38      +/-   ##
==========================================
+ Coverage   24.31%   24.33%   +0.01%
==========================================
  Files          78       78
  Lines        6793     6794       +1
==========================================
+ Hits         1652     1653       +1
  Misses       5141     5141

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


Remove TOD driver / Add TOD task

This pull request addresses issue #98.

Before I can merge this, I need to add tests to make sure the right fields of the time are being returned when using the {utc:*} and {local:*} identifiers.


Expose event indices to persistence callbacks to support event subscription

I've been playing with intercepting persistence to allow subscription to an actors event stream -
I've got a  persistence provider that wraps an existing provider, and I want to be able to do something like the following  (replay all events since startIndex and then stream remaining events as they arrive)
   var sub *eventstream.Subscription
   sub = streamingProvider.ReceiveActorEvents(actorName, startIndex, func (event,index) { ..})

Internally this:

subscribes to the incoming live events from the provider and buffers them
Fetches all events from the start index using ProviderState.GetEvents
Replays the persisted events
Replays the buffered events
streams the remaining live events as they arrive

The issue I'm having is that if you want to replay a consistent subset of the journal  ( using ProviderState.GetEvents) and then subscribe to the events as they are propagated I need to  be able to de-duplicate events that have already arrived on the stream and those that are returned by the persistence query.
I can't do that  at present as the event identity is thrown away by ProviderState.GetEvents.
A simple change to support this would be to put the event index into the callback params of GetEvents  (perhaps wrap the callback param event in a struct to avoid breaking the interface in future)
e.g.:
	GetEvents(actorName string, eventIndexStart int, callback func(messageIndex int ,e interface{}))

Also, doesn't the arg have to be a proto.Message ?

I think,
1、 load the plug-in through the WithMiddleware , this plug-in buffers all income events.
2、use state ProviderState.GetEvents persistence events，throw buffered event from plug-in
so,is ok?


Update SA1600 to show inheritance example.

Can the change be merged to master or is there another action on my side?

It should automaticalyl merge once the build completes.

It did not. 🤡

/azp run


Initial Installation Issue - ImportError: No module named solvers

Trying to get initial installation and having a little trouble.
MacOS
pip 10.0.1
Python 2.7.15
After running: $ pip install pydfs-lineup-optimizer
Output shows:
Requirement already satisfied: pydfs-lineup-optimizer in {{PATH}} (2.0.0)
Requirement already satisfied: PuLP>=1.6.8 in {{PATH}} (from pydfs-lineup-optimizer) (1.6.8)
Requirement already satisfied: typing in  {{PATH}} (from pydfs-lineup-optimizer) (3.6.4)
Requirement already satisfied: pyparsing>=2.0.1 in {{PATH}} (from PuLP>=1.6.8->pydfs-lineup-optimizer) (2.2.0)
After attempting to do initial import: from pydfs_lineup_optimizer import get_optimizer, Site, Sport
I get the following error:
Traceback (most recent call last):
File "test.py", line 1, in
from pydfs_lineup_optimizer import get_optimizer, Site, Sport
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pydfs_lineup_optimizer/init.py", line 7, in
from pydfs_lineup_optimizer.lineup_optimizer import LineupOptimizer
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pydfs_lineup_optimizer/lineup_optimizer.py", line 6, in
from pydfs_lineup_optimizer.solvers import PuLPSolver, SolverException
ImportError: No module named solvers
Please let me know if I can provide anymore information.
Hoping to get this resolved, this looks awesome!

Kevin

Try to install it again, now it should work

Resolved.
Thanks again!


The forums aren't working

I was trying to fix #31 , but none of the sub forums will load.

Wdym they don't load? Could you send the error message?

File "/usr/lib/python3.11/site-packages/flask/app.py", line 2552, in __call__

return self.wsgi_app(environ, start_response)
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/lib/python3.11/site-packages/flask/app.py", line 2532, in wsgi_app

response = self.handle_exception(e)
           ^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/lib/python3.11/site-packages/flask/app.py", line 2529, in wsgi_app

response = self.full_dispatch_request()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/lib/python3.11/site-packages/flask/app.py", line 1825, in full_dispatch_request

rv = self.handle_user_exception(e)
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/lib/python3.11/site-packages/flask/app.py", line 1823, in full_dispatch_request

rv = self.dispatch_request()
     ^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/lib/python3.11/site-packages/flask/app.py", line 1799, in dispatch_request

return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Open an interactive python shell in this frame]

File "/home/sky/Documents/Code/Snazzle/main.py", line 183, in topics

response = dazzle.get_topics(subforum, sf_page)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/sky/Documents/Code/Snazzle/dazzle.py", line 41, in wrapper

with open(f'{DAZZLE_DIR}/{fname}', "wt", encoding='utf-8') as f:
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Oh, it looks like you just need to add a few lines where it creates the file if it doesn't exist
I'm using my Mac right now, which is where my dev environment got screwed up, so I can't really work on it rn (so you have to do it, sorry)

Never mind. I guess my local version was out of date or something. It works now


Slowness trying to send many telemetries using TelemetryClinet in C#

Hi,
I'm using the ApplicationInsights NuGet in C#:

My usecase is a bit different, since our system is performance sensative, we log telemetries in a file and then want to upload it to application insights.
Our code may generate 100Ks or even millions of telemetries, we then have a code that goes over the files and uploads them to application insights using the TelemetryClient in C#.
We noticed it takes ~10m to upload 300K of records which is way more than what we expected.

We tried increasing the buffer size like this without success (was still 10m):
     var configuration = TelemetryConfiguration.CreateDefault();
     configuration.ConnectionString = connectionString;
     var channel = new InMemoryChannel
     {
         MaxTelemetryBufferCapacity = 10000
     };
     configuration.TelemetryChannel = channel;

     _telemetryClient = new TelemetryClient(configuration);

     _telemetryClient.Context.Session.Id = sessionId ?? Guid.NewGuid().ToString();

We tried creating 10 different TelemetryClient instances, splitting the telemetries into batches and uploading, still - 10m.

We went over the code, we can see that it buffers the telemetries and then sends them in batches to the azure service but we couldn't figure out why it is taking so much time.
Would appriciate if someone can enlighten me.
Many thanks,
Gilad

I found the issue, it was related to a delay that happens between each send. I took ownershhip by calling flush manually when i want and it fixed the issue.


Allow translate custom provide in app.module.ts

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ X ] Support request
[ ] Other... Please describe:

Current behavior

I need to send translated texts to a library with an InjectionToken:
app.module.ts
{
  provide: LIBRARY_STRINGS,
  useFactory: (translocoService) => {
    return translocoService.translate('DASHBOARD');
  },
  deps: [TranslocoService]
}

But translations is not ready and i can't return an observable or subscribe to selectTranslate():
Missing translation for 'DASHBOARD'
Is it possible to load the translations to translate the InjectionToken?
I know this is more a question about angular behavior, but if you could help me with your library it would help me a lot.
Thank you
Environment

Angular version: 8.2.11

Browser:
- [ X ] Chrome (desktop) version 76
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:
- Node version: XX
- Platform:

Others:

@DiV666 I'm afraid the only way you can achieve that is by preloading the language
I'm closing this since it's more of an Angular related issue than Transloco, if you need more assistance please refer to our gitter channel


Feat/strict null checks

Fixes #10
Takes care of most cases for strictNullChecks.
Basic pseudocode for fix:

For objects that are possibly null/undefined, adds the definite assignment assertion (e.g. v.toString(); -> v!.toString(); if v is possibly null/undefined)
For variables, parameters, or properties that are assigned to null or undefined, expands their declaration to include those assigned types (e.g. function foo(a: number) -> function foo(a: number|null) if a is assigned to null in foo)
For arguments that don't match the parameter types of functions that they are passed into, adds the definite assignment assertion (e.g. Math.abs(n) -> Math.abs(n!) if n is possibly null/undefined).

Cases not taken care of:

Pushing values into an empty array, couldn't fix because diagnostic isn't emitted by the compiler.
For inline functions, as of now it just automatically adds both null and undefined types to the parameter, I couldn't think of a smart way to infer what exact types it should expand to.

TODO:

For classes/interfaces that need to be imported, need to figure out how to add import statements.

Fixed for all the review comments! I also added additional fixes that takes care of certain edge cases, especially when instantiating an empty array (it's default type is never[] which makes it impossible to perform any operations on the array with the strictNullChecks flag on. Right now, I explicitly change the type to any[] and will try to further address this to avoid any when addressing noImplicitAny.

I plan on including the golden files as part of the PR that'll implement the testing suite, which will be ready soon!


QRCode Generation Performance Improvements (DEV,EXPOSUREAPP-8113)

The core idea is to leverage an image loading library (which has caching, sampling, efficient bitmap generation) and let it treat our qrcode strings like image sources.

Use image loading library Coil with custom pipeline to efficiently generate QrCode image data.

Custom Fetcher that turns the qrcode data into a size agnostic bitmatrix (i.e. 1 for black square, 0 for white square).
Custom bit matrix decoder that turns the size agnostic QrCode data into a perfectly scaled bitmap for the target ImageView.

Margin can't be specified anymore for generated QrCodes.

Every generated qrcode has a margin of at least 1 square size, as the margin is necessary for it to be scanned on dark backgrounds.
If more margin is necessary for design purposes, that's up to the ImageView.

"QrCodeLength" can't be specified anymore.

The generated qrcode data is size agnostic, just 1 or 0 for black or white scare.
The bitmap will be generated with perfect size for each ImageView, Coil will take care of caching, re-use and downsampling.

You specify the error correction level and the charset, and set an image target and the rest is automatic.

Special size requirements, e.g. QrCode for posters can be passed via Coil size requirements and will automatically be considered.

Can be re-used for all future QrCode generation needs:

Local testing showed a performance improvement between from 2x to 20x depending on the device and screen.
Generating the right size bitmaps seems to have the biggest impact on initial load, while the details screens profit from caching.
Overall nice for everyone, but I hope this also has a positive impact on #3549.
Basic use:
imageView.loadAny(CoilQrCode(content = certificate.qrCode)) {
    crossfade(true)
    placeHolderView(image, progressBar)
}

Advanced use, (e.g. poster stuff):
val req = ImageRequest.Builder(context).apply {
    data(
        CoilQrCode(
            content = traceLocation.locationUrl,
            options = QrCodeOptions(correctionLevel = correctionLevel)
        )
    )
    size(template.qrCodeLength)
}.build()
context.imageLoader.execute(req).drawable

Testing
View QR Codes in the app:

Certificates
Tracing
RATProfile
Posters

Why Coil over Picasso, Glide, Fresco?
Overall Coil and Glide are pretty close to what I'm looking for. Glide is more powerful (or rather flexible), but we don't need that extra power and Coil is more lightweight as a dependency, using mostly libraries we already include. This could have been done with any of these libraries though.

Coil is also Kotlin friendly library and uses Coroutines. it is best choice for a Kotlin project.

Tested on device looks very good 👍 with caching. Transition to qrcode full screen seems to be broken now , it does not have the smooth transition like before

Tested on device looks very good 👍 with caching. Transition to qrcode full screen seems to be broken now , it does not have the smooth transition like before

I can still see the smooth transition. Which certificate did you see this happen with?

Currently still fixing screenshots:
https://app.circleci.com/pipelines/github/corona-warn-app/cwa-app-android?branch=chore%2Fqrcode-screenshot-test

Screenshots passed:
https://app.circleci.com/pipelines/github/corona-warn-app/cwa-app-android/18241/workflows/84dc4c2b-0324-4860-b43d-31c0604f618c/jobs/155302/steps
QRCodes seem to have been generated on all screenshots too :partying_face:
Screenshot from 2021-07-21 16-13-58

Tested on device looks very good 👍 with caching. Transition to qrcode full screen seems to be broken now , it does not have the smooth transition like before

I can still see the smooth transition. Which certificate did you see this happen with?

It is broken for me, it is not a blocker we can improve it in another PR. this one is already big enough
PR:
https://user-images.githubusercontent.com/25054729/126509157-7e4e057c-4934-4827-82cb-bc5d8d6f665a.mp4
2.6:
https://user-images.githubusercontent.com/25054729/126509193-6e68cad6-5c33-4b99-a8ad-6fa3e986eee6.mp4


Server ACLs

Rendered: see 'docs' status check

Implements the proposal for https://github.com/matrix-org/matrix-doc/issues/1383
Closes https://github.com/matrix-org/matrix-doc/issues/1383
Closes https://github.com/matrix-org/matrix-doc/issues/709

lgtm, other than thinko on defining the ? glob char, and various suggested tweaks for clarity & context.

lgtm - i cheekily pushed a wording tweak about legacy/noncompliant servers to your branch; hope it was okay :)


Navbar: Increase size of links hitbox

Related issues
Fixes #1690.
Fixes #1194.
Description
Add a hitbox and margin to links to better the focus state of navbars.
Types of change

New feature (non-breaking change which adds functionality)

Live previews

https://deploy-preview-1691--boosted.netlify.app/examples/navbars
https://deploy-preview-1691--boosted.netlify.app/examples/footers

Checklist

[x] I have read the contributing guidelines
[x] My code follows the code style of the project (using npm run lint)
[ ] My change introduces changes to the documentation
[ ] My change introduces changes to the migration guide
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] All new and existing tests passed

All looks good to me. No issues.


docker-free installation seems to be light on documentation

Hi!
I was looking at this to set up trivially internally, and aside from the (fixable) issue of no immutable artifacts to install (ie packages) I see no simple instructions.

[ ] package build - me

Aside from taking apart the Alpine docker config and emulating that on Enterprise Linux (even photon), what other instructions do we have in some consolidated and hyper-legible format?

[ ] installation idiodirections (lather, rinse, repeat) - needed

I'll probably find some the moment I submit this ticket, so watch for deletion.  With luck I'll win budget this week for the installable bit.

All you need to do is use Nginx configuration I posted.
Download this project and extract it to www dir.

I saw the reference to the nginx config in the docker project, for sure.
For #2 , files sprayed onto a filesystem with no validation options was deemed risky a while ago - even for files sprayed in as lowly static files on day one - because we want to be able to confirm they're still just static files like we deployed on day one (with signed checksums).  Atomic install, explicit dependencies, clean removal, other features, blah blah.
No worries.  The packaging is simple, and you don't have to accept it back if it's out of scope; all good.
Thanks for the 1-2 install hints!


No install-crd reference on README

I have followed https://github.com/kiali/openshift-servicemesh-plugin#building-and-deploying-the-operator to build and deploy the operator. At the end of make cluster-push operator-create install-cr the following message appears:
The CRD does not exist. You should install the operator.

Looking at the code, first stage of install-cr command is to wait for crd, but no crd is installed previously. I have seen another make command called install-crd, so probably the make command to execute is:
make cluster-push operator-create install-crd install-cr

Since crd installation on scripts is always done before cr install, maybe it is better to include install-crdas a prerrequisite of install-cr


Update Gradle to 6.8.2

A version bump to the Gradle wrapper version. The latest versions of Gradle improve the behavior of build.gradle.kts scripts greatly, which this project uses everywhere.

Thanks @dperez37 !


Bug 2089877: Adding 5 minutes timespan utilization card VM overview

Signed-off-by: Matan Schatzman<EMAIL_ADDRESS>
📝 Description
Added time span of 5 minutes for utilization card at VM overview
🎥 Demo

run i18n @metalice


Scenario Outline is not distinguished from Example/Scenario in the parser

@bbqsrc can you please describe implications of this issue? Are there any Feature variants that have troubles while parsing? Or is it just generated AST not compliant with official test cases?

iirc Scenario Outline has different potential fields than Example/Scenario. They're different things, but the parser doesn't treat them as such.

@bbqsrc it looks like it's not a bug, but a feature introduced in Gherkin 6.0.13 😆


include testdata in docker image - and load automatically

CI is failing because it is (still) loading the test data outside the docker init (in addition to now loading it inside init).

Yep, just realized, removed that from IM CI


Post id

Is there any way to change these values to numbers [1,2,3...]

Not possible, the plugin uses these strings so that it can create a new value between two existing values without needing to update all others.
If it used numbers, the plugin could potentially need to write a change to every other document.


search function not working?

i browse my db and picked a word and tried searching for it. no results were returned
so i tried case sensitive. no results were found
so i just stuck the vowel "a" only.
again. no results were found
at this point. i am concluding the search function is not working

Can you provide some details like what you have imported to the database and what the bitcannon log window shows?

hi
i am using the default json file. i have crontab set up to kill and then launch the app every hour.
currently i have 44000 torrents in the db
i did not upgrade from a previous version.
i am using the default mongodb of centos6 mongodb-server-2.4.12-2.el6.x86_64 - why is this an issue?

the latest version of mongodb on fedora is 2.4.9 - very funny

You will need to use mongodb 2.6 as 2.4 doesn't have the functions necessary to do flexible text searches.


Refactoring

I'm not sure why this change is necessary. Can you elaborate? I personally don't find this change to help with readability, and I don't think it addresses a bug.

I think it will work faster

If this change is faster (which it definitely wouldn't be for every case), it would be insignificant. I'm going to pass on this change, but thanks for trying to help.


Defect: Test 14 (alloc_comp_get_convert_nums) gets stuck

Please make sure to put any logs, terminal output, or code in
[fenced code blocks]. Please also read the [contributing guidelines]
before submitting a new issue.
Defect/Bug Report
I have built Open Coarrays version 2.2.0 on a virtual machine. This was successful, but running "make test" gets stuck in test no. 14 - alloc_com_get_convert_nums. While I do not know how long it should take, I have left it running for at least half an hour before I decided it would not work.

OpenCoarrays Version: 2.2.0 <!-- caf --version or ./install.sh --version -->
Fortran Compiler: gfortran 7.3.0
C compiler used for building lib: gcc 7.3.0
Installation method: none - running "make test"
Output of uname -a: Linux markus-VirtualBox 4.15.0-30-generic #32-Ubuntu SMP Thu Jul 26 17:42:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
MPI library being used: OpenMPI 2.1.1-8
Machine architecture and number of physical cores: Intel 64 bits, 8 cores
Version of CMake:

Observed Behavior
The test no. 14 starts, but does not finish in a reasonable time
Expected Behavior
The test starts and runs in a similar time as the others and after that all other tests are run to completion
Steps to Reproduce
Run "make test"

I am not sure how to find out how many cores are actually used by the VM.
Oh, just found that - there is a single CPU (out of the eight available)
assigned to the box. I ran a very simple test (hello, world) with -np 40
within that same box. No problem, but of course they were not dependent on
each other.
Just tested with 8 cores assigned: that makes no difference - test 14 still
hangs.
OpenMPI 2.x was the package I found. Perhaps I should try to find that
newer series.
Regards,
Arjen
2018-08-15 19:23 GMT+02:00 zbeekman<EMAIL_ADDRESS>
Thanks for the bug report. In virtualbox, how many cores have you
dedicated to the VM? OpenMPI seems to be pretty picky when oversubscribed,
I'm wondering if this is related to that issue.
I also wonder whether using MPICH or the more recent OpenMPI 3.x series
might resolve the problem. OpenCoarrays requires a lot of MPI features, and
it is possible that OpenMPI 2.1.1-8 is simply too old, or has bugs, for
these newer MPI features.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sourceryinstitute/OpenCoarrays/issues/578#issuecomment-413270863,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvsR_UJczl_onifhtxsfebrRrDFdEekks5uRFksgaJpZM4V8H8F
.

It's likely that some tests will fail when severely oversubscribed with certain MPI implementations. You can allocate more cores to the machine in Virtualbox:

Open VirtualBox
Select VM
Press the settings gear icon
Click the system tab
Click the processor sub-menu/tab
Slide the number of CPUs up to a higher value

This might not resolve the issue though. It might be a bug in OC or it may be due to an older OpenMPI.
I think the cafrun launcher script automatically passes --oversubscribe to mpiexec/mpirun but if not you can add it yourself cafrun -np 8 --oversubscribe ./a.out. You can also check what would be invoked with the -s or --show option to verify that the correct arguments are passed to the MPI launcher:
cafrun --show -np 4 ./a.out

Hm, I have experimented with these options:

--show simply shows the command passed to mpirun
Only if I add --oversubscribe explicitly, does it show up with --show
I first put --oversubscribe before the -np 4, but then the program does
not run at all

I had the test program run once with 3 images, but that must have been a
lucky coincidence, as I cannot repeat it.
The current settings are such that the virtual machine uses three cores.
Regards,
Arjen
2018-08-16 17:30 GMT+02:00 zbeekman<EMAIL_ADDRESS>
It's likely that some tests will fail when severely oversubscribed with
certain MPI implementations. You can allocate more cores to the machine in
Virtualbox:

Open VirtualBox
Select VM
Press the settings gear icon
Click the system tab
Click the processor sub-menu/tab
Slide the number of CPUs up to a higher value

[image: screenshot 2018-08-16 11 25 48]
https://user-images.githubusercontent.com/279612/44218215-3ba1a780-a147-11e8-8f90-4efd6075e938.png
This might not resolve the issue though. It might be a bug in OC or it may
be due to an older OpenMPI.
I think the cafrun launcher script automatically passes --oversubscribe
to mpiexec/mpirun but if not you can add it yourself cafrun -np 8
--oversubscribe ./a.out. You can also check what would be invoked with
the -s or --show option to verify that the correct arguments are passed
to the MPI launcher:
cafrun --show -np 4 ./a.out
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sourceryinstitute/OpenCoarrays/issues/578#issuecomment-413586100,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvsRxkgzU0331n533azcnfXF9U9FJq4ks5uRZAJgaJpZM4V8H8F
.

As an experiment: it seems I can indeed get MPICH3 for this virtual
machine. If I install that, how can I verify that that MPI version is used?
Regards,
Arjen
2018-08-17 10:42 GMT+02:00 Arjen Markus<EMAIL_ADDRESS>
Hm, I have experimented with these options:

--show simply shows the command passed to mpirun
Only if I add --oversubscribe explicitly, does it show up with --show
I first put --oversubscribe before the -np 4, but then the program
does not run at all

I had the test program run once with 3 images, but that must have been a
lucky coincidence, as I cannot repeat it.
The current settings are such that the virtual machine uses three cores.
Regards,
Arjen
2018-08-16 17:30 GMT+02:00 zbeekman<EMAIL_ADDRESS>
It's likely that some tests will fail when severely oversubscribed with
certain MPI implementations. You can allocate more cores to the machine in
Virtualbox:

Open VirtualBox
Select VM
Press the settings gear icon
Click the system tab
Click the processor sub-menu/tab
Slide the number of CPUs up to a higher value

[image: screenshot 2018-08-16 11 25 48]
https://user-images.githubusercontent.com/279612/44218215-3ba1a780-a147-11e8-8f90-4efd6075e938.png
This might not resolve the issue though. It might be a bug in OC or it
may be due to an older OpenMPI.
I think the cafrun launcher script automatically passes --oversubscribe
to mpiexec/mpirun but if not you can add it yourself cafrun -np 8
--oversubscribe ./a.out. You can also check what would be invoked with
the -s or --show option to verify that the correct arguments are passed
to the MPI launcher:
cafrun --show -np 4 ./a.out
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sourceryinstitute/OpenCoarrays/issues/578#issuecomment-413586100,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvsRxkgzU0331n533azcnfXF9U9FJq4ks5uRZAJgaJpZM4V8H8F
.

Hm, I have experimented with these options:

--show simply shows the command passed to mpirun
Only if I add --oversubscribe explicitly, does it show up with --show
I first put --oversubscribe before the -np 4, but then the program does
not run at all

These are all intended behaviors, however, the last one is a bug #467, currently the argument parsing is very bad. This has been on my todo list to fix for some time, but this is a volunteer project for me, so, I'm not sure when it will get done.

I had the test program run once with 3 images, but that must have been a
lucky coincidence, as I cannot repeat it.

I'm guessing this is an OpenMPI issue.

As an experiment: it seems I can indeed get MPICH3 for this virtual
machine. If I install that, how can I verify that that MPI version is used?

Well, how are you installing open-coarrays? If you are doing it through package management, i.e., sudo apt-get install open-coarrays-bin ... then it will be built against whichever MPI distribution the package maintainers choose. (Usually they pick OpenMPI and build everything with that.) That way users can link against multiple MPI libraries.
I would recommend building from source if you want to use MPICH. If you can uninstall OpenMPI or at least remove it from your PATH and environment variables (like MPI_HOME), install MPICH and make sure it IS on your $PATH, then you can follow the instructions in INSTALL for a quick and easy build. (You will need CMake, binaries for linux can be gotten from http://www.cmake.org/download or through your package manager (sudo apt install cmake-bin cmake-data or something like that)

Hi @arjenmarkus,
I can't reproduce this, at least not with the latest version of OpenCoarrays and OpenMPI and MPICH, with GFortran 8.3.
It is possible that if you only have one processor allocated to your VM that certain MPI distributions can't make progress and will lock up: Process one sits waiting for process two, but the OS/MPI implementation never allows process 2 (running on the same core) to make any progress and send a message/ack.
Something in the latest tooling with OpenMPI 4.0.0 breaks three OpenCoarrays tests. I think theses are bugs in OpenMPI.
The following tests FAILED:
         14 - alloc_comp_get_convert_nums (Failed)
         23 - alloc_comp_send_convert_nums (Failed)
         69 - issue-515-mimic-mpi-gatherv (Failed)

Since I cannot reproduce the issue, and I suspect this is particular to running with only 1 core in combination with a particular MPI distribution.
As I mentioned above, beyond allocating more cores and/or switching MPI implementations, with OpenMPI you should pass --oversubscribe after -np 4:
cafrun -np 4 --oversubscribe ./alloc_comp_get_convert_nums

when using OpenMPI.


fixes issues #1 and #2 on master

Thank you for your work. But we have decided to change the base image to one that is better documented and supported.


Help with helpers.awk

Hello,
I hope it is okay to ask a more general question here. As far as I can tell from the example, creating a list of blog entries on the home or blog page is a manual process. I would like to autmate this using a helper function.
This is, what I have right now:
function list_blogs(  list) {
  CMD="ls -lD\"%Y-%d-%m\" site/blog/*"
  while ((CMD | getline) > 0) {
    sub("site", "")
    sub(".md|.adoc|.rst", ".html")
    list = list"
"$6""
  }
  return list
}

It kind of works. However... let's assum the CMD output lists 5 files. I'll end up with 6 entries on the page. 5 of them are correctly parsed and one entry is just the raw CMD output. This confuses me...
On a side note, I think what I'm doing here is pretty ugly. If there's a better way, I'd appreceate a bump into the right direction.
An alternative way to do this would be a shell script and assigning .sh with the shell in the zod config.
How are you creating the document lists on your blog?
Thanks and best regards,
Stefan

Hi,
update:
function list_blogs() {
  "ls -1" | getline > 0
  return list
}

This function also returns the first hit. I'm not sure why.
This code returns nothing, as expected.
awk 'BEGIN { while (("ls -1" | getline) > 0) { } }'

Best regards,
Stefa

Update: It is working now. The updated function looks like this:
function list_blogs() {
  CMD="ls -lUD\"%Y-%d-%m\" site/blog/*"
  while ((CMD | getline line) > 0) {
    sub("site", "", line)
    sub(".md|.adoc|.rst", ".html", line)
    split(line, res)
    list = list""res[6]" "
  }
  close(CMD)
  return list
}

Using a variable instead of plain getline fixes this issue.
Best Regards,
Stefan


ACE Cost estimates mismatch with Azure Pricing calculator estimates

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

ACE Version
arm-estimator v1.0.0-alpha4
ARM Template Configuration File
{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
    "contentVersion": "<IP_ADDRESS>",
    "metadata": {
      "_generator": {
        "name": "bicep",
        "version": "<IP_ADDRESS>792",
        "templateHash": "12664076982723927521"
      }
    },
    "functions": [],
    "resources": [
      {
        "type": "Microsoft.Web/serverfarms",
        "apiVersion": "2022-03-01",
        "name": "logicapp",
        "location": "westeurope",
        "sku": {
          "name": "WS1",
          "tier": "WorkflowStandard"
        },
        "properties": {}
      }
    ]
  }

Expected Behavior
We should get same price in ACE tool with Azure Pricing calculator for Logic app Workflow "Standard Plan 1". Even if i check with plan 2 and 3, It also don't matches. Not able to understand how it's exactly working.
Click Me - > Pricing calculator page
Actual Behavior

Run the Command

PS D:\Azure\Bicep\cost-estimates> arm-estimator .\logicapp.json <sub_id> azcost

Output

Estimations:

-> [Create] logicapp (Microsoft.Web/serverfarms) [Total cost: 152.14 USD | Delta: +152.14 USD]

Aggregated metrics:

-> Standard | Logic Apps | vCPU Duration | 0.1972 for 1 Hour
-> Standard | Logic Apps | Memory Duration | 0.0141 for 1 GiB Hour

-------------------------------

Summary:

-> Total cost: 152.14 USD
-> Delta: +152.14 USD

I'll check that but can you verify if you're using correct licensing program when using Pricing Calculator?

@kamil-mrzyglod , I am unable to find Microsoft Online Services Agreement. The only option which I see is Microsoft Customer Agreement which is part of (CSP Program), where Microsoft partner company orders and provision the subscription to the customer like what we used to do.

@ajinkya101 Are you signed in to the calculator? The reason I'm asking is because pricing an be different depending on the selected program.

Oh, After signed in, Now I can see the option for Microsoft Online Services Agreement. But the pricing looks same for both program. The thing which is bothering also is with Workflow standard plan 3 there is huge difference in cost.
ACE tool - 456.41 USD
Pricing Calc - 719.93 USD

Nonetheless, those reported metrics are the only metrics I found coming from the Retail API. Maybe Logic App cost is coming from additional metric I didn't took into consideration.
WS3 is indeed invalid. It's caused by the fact, that WS3 is 4x bigger than WS1 while I assumed 3x only.

@ajinkya101 Okay, I found it - it's caused by invalid calculation made by ACE. Price is per vCore and per GiB, while ACE is just taking values as they are without multiplying by the number of allocated resources. It's going to be fixed soon.

Extract after the fix:
-> [Create] logicapp (Microsoft.Web/serverfarms) [Total cost: 177.52 USD | Delta: +177.52 USD]

Aggregated metrics:

-> Standard | Logic Apps | vCPU Duration | 0.1972 for 1 Hour
-> Standard | Logic Apps | Memory Duration | 0.0141 for 1 GiB Hour

-> [Create] logicapp22 (Microsoft.Web/serverfarms) [Total cost: 355.03 USD | Delta: +355.03 USD]

Aggregated metrics:

-> Standard | Logic Apps | vCPU Duration | 0.1972 for 1 Hour
-> Standard | Logic Apps | Memory Duration | 0.0141 for 1 GiB Hour

-> [Create] logicapp222 (Microsoft.Web/serverfarms) [Total cost: 710.06 USD | Delta: +710.06 USD]

Aggregated metrics:

-> Standard | Logic Apps | vCPU Duration | 0.1972 for 1 Hour
-> Standard | Logic Apps | Memory Duration | 0.0141 for 1 GiB Hour

The rest of the difference comes from the fact that ACE is assuming 720hrs per month while Pricing Calculator takes 730hrs by default. It's up to decide later which value seems more correct.


Adding a playground?

I wonder, if there could be a minimal playground added to GitHub pages, so people can easily define schemas and check against sample data. What do you think? I am eager to contribute to such a feature, too.

@jankapunkt I think either that or a link to a preconfigured codesandbox in the readme makes sense. Happy to look at a PR adding either.


cleanup(docfx): fine tune linters

This change is

I think I will leave this alone until I have time to think about it.

Ah, thanks. Reordering is NOT what we want.


[e2e]: nodejs push branch1 default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/8387452141
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.nodejs.push.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.nodejs.push.branch1.default.slsa3.yml
Trigger: push
Branch: branch1
Date: Fri Mar 22 08:29:31 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/8387445981
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.nodejs.push.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.nodejs.push.branch1.default.slsa3.yml
Trigger: push
Branch: branch1
Date: Fri Mar 22 08:43:54 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/8387449122
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.nodejs.push.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.nodejs.push.branch1.default.slsa3.yml
Trigger: push
Branch: branch1
Date: Fri Mar 22 08:46:31 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/8399889370
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.nodejs.push.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.nodejs.push.branch1.default.slsa3.yml
Trigger: push
Branch: branch1
Date: Sat Mar 23 06:13:13 UTC 2024
Tests are passing now. Closing this issue.


Add custom class to icon for CSS control

Is there any way to define a custom class for custom icon markers to control them via CSS?

You can apply a custom image for you marker, for more advanced stuff please refer to google maps documentation:
https://developers.google.com/maps/documentation/javascript/reference#MarkerOptions


Mark Current Tag as "Active"

Is there currently a way built in to mark the current tag as "Active" so that it can be styled differently in order to make the selection more obvious to the user?

Hi Camille,
right now, there isn't a feature like that ready to go, but it's definitely something that could be added soon.

The way I did this is as follows:
Your filter button would look like this: Beginer
Add a script in the header of your html page as follows:

Then in order to display the filter used add this at the top somewhere:


Prometheus metrics

Hi,
Does your helm chart support prometheus/grafana metrics. We would like to keep tabs on the number of scans/. times/ successes. failures etc.
I do not find a way to do it on your docreader/ facesdk helm chart.

Hi @michelefa1988,
Our apps do support Prometheus via /metrics endpoint
https://docs.regulaforensics.com/develop/face-sdk/web-service/administration/monitoring/

https://github.com/regulaforensics/helm-charts/releases/tag/faceapi-0.1.4


Support aarch64 multi-arch manifests

I would like to use and test this project though it would be great if I can install it on my multi-arch cluster. In order to do that it looks like the controller and kube-rbac-proxy needs to be multi-arch. It seems as though the current image mafiests for kube-rbac-proxy started building separate builds for architecture in 0.8.x and this image is only building for amd64.
skopeo --override-arch aarch64 inspect docker://gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0-arm64
{
    "Name": "gcr.io/kubebuilder/kube-rbac-proxy",
    "Digest": "sha256:5a9f8e2f60fc4d02e364fa0192c01c79e8fac7e0c6a01cbc5b17152d6f21deae",
    "RepoTags": [
        "v0.4.0",
        "v0.4.1",
        "v0.5.0",
        "v0.8.0",
        "v0.8.0-amd64",
        "v0.8.0-arm64",
        "v0.8.0-ppc64le",
        "v0.8.0-s390x"
    ],
    "Created": "2020-11-04T16:22:18.100348695Z",
    "DockerVersion": "18.06.0-ce",
    "Labels": null,
    "Architecture": "amd64",
    "Os": "linux",
    "Layers": [
        "sha256:5c7fe08dec514a5105d43dfcae1a5a45be002bcd3251dd178ced702aecfb7531",
        "sha256:9d443775309fe30cb1c2b25750352e70004cf26baaf32c81daff7f5a05375845"
    ],
    "Env": [
        "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        "SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt"
    ]
}

Looks like we'd need to swap the kube-rbac-proxy image and build this image for multi-arch. Would any help be wanted? A helm chart would be great..

@anthr76 kube-rbac-proxy is an optional package (it comes from kubebuilder init)
I may comment: https://github.com/guilhem/freeipa-issuer/blob/b68a4fc1578a8324d8963cb353466710fbd340cc/config/default/kustomization.yaml#L17

you can do your own "base" by only including manager and crd kustomization folder.
FAR more simple than an helm chart ;)

Issue related: https://github.com/kubernetes-sigs/kubebuilder/issues/966#issuecomment-804027885


Post fluent / fluentImpl changes

This won't be ready for main until after #263 has been merged - the second commit are the new changes.
@iocanel I see that the changes to have fallbacks everywhere are incomplete - several locations do not do proper null handling of the collection field.  However I would like to propose rather than simply adding/refactoring those in, to simplify the methods to consolidate where the builder is coming from.
To assist with that these changes include a lookup table for all of the known types to avoid reflection for known types, but from what I can see locally you typically save less than 1 microsecond per invocation when the type is found in the instanceof chain or this lookup table vs calling builderOf.  So it would be fine to not even use this additional lookup method as well.
With that there are also several deprecations to the subtype methods.  For all of these methods there is a more general method that will work.  In particular removeMatchingFromXXXCollection methods should just use the removeMatchingFromCollection method - there's no conversion to a bulider involved there at all.  With the other consolidation of the builder logic, I would go further and deprecate methods like removeAllFromXXXCollection, withXXXField as there is also a removeAllFromCollection, withField, etc.

@iocanel do you have any thoughts on this direction - moving towards removing what could be seen as extra collection methods?

Just to make sure we are on the same page. The idea is that by adding a method that creates the builder of a class, we don't need a concrete impl per descendant, right?
This sounds like a good idea to me.
I think that instead of deprecating these methods we should completely remove them.
Next release (0.100.0) is going to have big incompatible changes anyway and our major version number does not promise stability anyway :smile: .
Regarding the idea of using a lookup table vs reflection, IMHO it makes sense if we can completely eliminate reflection. I wouldn't add it to this PR though as its already long and hard to fully review.

Just to make sure we are on the same page. The idea is that by adding a method that creates the builder of a class, we don't need a concrete impl per descendant, right?

Yes, the only difference between removeAllFromSub1Collection and removeAllFromSub2Collection is that creation of the respective builders.  There is already, or one is added by these changes, a more general method removeAllFromCollection that accepts the super type and will use the common builder method.

I think that instead of deprecating these methods we should completely remove them.

Ok, I'll update the pr with that.

Regarding the idea of using a lookup table vs reflection, IMHO it makes sense if we can completely eliminate reflection. I wouldn't add it to this PR though as its already long and hard to fully review.

The lookup table/switch is part of this pr - createDescendantBuilderMethod.  In fabric8 we have if/else instanceOf chains that are 250 types long, so it seems advantageous to use a switch.  If the item matches one of those classes directly, then we'll create the corresponding builder.  If it's editable in general, in particular the automatically created EditableFoo classes, then the fall through call to builderOf will handle it.  So only if item class is not in directly in the descendant list and the item is not editable would builderOf then use reflection - are there cases where users create subtypes of non-editable pojos, but still expect them to use the builder of the parent type?

@iocanel is there a snapshot available? We can move fabric8 master to that to resolve the downstream check error.


how to forbid others presenter mode?

Hi, there. Thanks for this great work and I really enjoy this project!
I am not sure if this is a feature or I can find someway to fix it: I want to share my slides to other audiences, but it is annoying that everyone accessible to this slides can use the presenter mode. Is there any method I can forbid this and only use the presenter mode by myself?

I guess we could have something like http://localhost:3000/1?view that hides the UI so you can share the URL to others? If so, I am open for PR :)

I guess we could have something like http://localhost:3000/1?view that hides the UI so you can share the URL to others? If so, I am open for PR :)

Thanks for your timely reply!
I tried , however I can also enter presenter mode from it. I do not know if I understand your suggestion correctly?

Yes, it's not there for now - I was proposing a feature. If it looks good to you, maybe you can try to implement it and send a PR.

I think this is an interesting issue when you want to give access to your presentation to others, but don't want them to go to presenter view and start messing the main presentation you are doing.
I don't think having a parameter in the URL is enough, because someone can still change it and go to the presenter view.
Maybe we can have a workflow like this one:

add a frontmatter option in the slides like privacy: 'private' (will be 'public' by default)
if privacy is 'private' then:

hide the presenter button in the control bar
generate a token and display it when launching the dev server: presenter mode  > http://localhost:3030/presenter?token=abc
only allow access to /presenter to people who have the right token in the URL (only if you are on dev mode)

What do you think ?


Trouble with pseudoscripts

Issue Summary
I am having trouble figuring out how to tag a certain type of pseudoscript (degree, asterisk, single/double/triple/quad prime) expression in order to get proper MathJax output--for when a pseudoscript should modify the base rather than the superscript. For the PDF, we use accent="false" on the mo tag containing the pseudoscript when we want it to modify the superscript and we don't use accent="false" when we want it to modify the base, but this seems to make no difference in the MathJax. Is there any way to get varying levels of pseudoscripts like we want for these types of expressions? Please see attached for a couple of examples.
pseudoscript examples.docx
Steps to Reproduce:
I consider this to be a bug because, when the pseudoscript is at the wrong level, it could change or confuse the meaning of the science.
Technical details:
MathJax Version: master - latest commit: MathJax.js v2.7.5
Client OS: Windows
Browser: Chrome Version 91.0.4472.114 (Official Build) (64-bit)
Renderer: HTML-CSS
Thank you!

This would be a bug if the behavior you describe where part of the MathML3 specification, however it is not.  The accent attribute only affects munderover, munder, and mover constructions, not the sub-sup counterparts.  This can be seen in several locations in the specification.  The first is the attribute table, where the accent attribute is described:

Specifies whether this operator should be treated as an accent (diacritical mark) when used as an underscript or overscript; see munder, mover and munderover.

This only references munderover and its brethren, and not msubsup.  Second, in the description of munder (and related tags), you have wording like the following:

If base is an operator with movablelimits="true" (or an embellished operator whose mo element core has movablelimits="true"), and displaystyle="false", then overscript is drawn in a superscript position. In this case, the accent attribute is ignored.

This indicates that then an mover with movable limits is converted to the equivalent of msup, the accent attribute is explicitly indicated to be ignored.  Since the movable limits version should render the same as if it were an actual msup, that suggests that msup (and related tags) should also ignore accent.
Finally, in the section on pseudo scripts, there is no mention at all of the accent attribute.  If it were to make the distinction that you indicate, this would be where that should be documented, but it is not.
So all this suggests that the functionality you describe is not part of the specification, and so the fact that MathJax doesn't do it is not a bug.
The way that MathJax handles pseudo-scripts is that if a super- or subscript consists only of pseudo-script characters (like two U+2032 primes), then they are converted to their larger, unscaled versions, otherwise they are rendered as normal (i.e., they are pseudo-scripts, not actual scripts).  That means, in particular, if the super- or subscript contains a pseudo-script and anything other than that, the pseudo-script is not altered.  This is to handle the second situation in your example:
<math xmlns="http://www.w3.org/1998/Math/MathML">
  <msubsup>
    <mi>H</mi>
    <mn>1</mn>
    <mrow>
      <mi>k</mi>
      <mo>°</mo>
    </mrow>
  </msubsup>
</math>

where the U+00B0 is a pseudo-script for the preceding "k".  In this case, the degree sign should not be made larger and lower.  That also means your first example will also leave the degree sign as a pseudo-script, and not substitute the larger version.  The MathML3 specification doesn't really address how to handle the output you want to generate.  One option in MathJax is to use
<math xmlns="http://www.w3.org/1998/Math/MathML">
  <msubsup>
    <mi>H</mi>
    <mn>1</mn>
    <mrow>
      <mi>k</mi>
      <mo>,</mo>
      <mo>∘</mo>
    </mrow>
  </msubsup>
</math>

which is not as semantic, but I'm not sure I understand the semantics of your expression anyway.
While your suggestion to use accent to control the interpretation of the super- or subscript as a pseudo-script or not is interesting, and does disambiguate these situations, it is not part of the MathML3 spec, and I would not recommend overloading an existing attribute with that functionality (partly because the accent attribute's default value is specified by the operator dictionary, and that is set up for munderover; those values may not be appropriate for pseudo scripts).
MathJax does have an internal value that tells it whether to use the variant-form or not, and that is exposed on the MathML so that the semantic-enrichment process (which goes through MathML) will be able to properly retain it.  You could use that to force the U+2032 into its larger version:
<math xmlns="http://www.w3.org/1998/Math/MathML">
  <msubsup>
    <mi>L</mi>
    <mrow>
      <mi>l</mi>
      <mo>,</mo>
      <mi>j</mi>
    </mrow>
    <mrow>
      <mo class="MJX-variant">′</mo>
      <mi>n</mi>
    </mrow>
  </msubsup>
</math>

in MathJax v2 (the attributes are different in v3, however).
You can't use this trick for the U+00B0 because the STIX fonts don't have a variant form for this, as they do for U+2032.  You could make a variant form by altering MathJax's font data, however; for example, adding
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  "HTML-CSS": {
    fonts: ["STIX"]
  }
});
MathJax.Hub.Register.StartupHook"'HTML-CSS Jax Ready", function () {
  MathJax.OutputJax["HTML-CSS"].FONTDATA.VARIANT["-STIX-variant"].remap[0xB0]= [0x25E6, "normal"];
});
</script>

before the script that loads MathJax would allow
<math xmlns="http://www.w3.org/1998/Math/MathML">
  <msubsup>
    <mi>H</mi>
    <mn>1</mn>
    <mrow>
      <mi>k</mi>
      <mo>,</mo>
      <mo class="MJX-variant">°</mo>
    </mrow>
  </msubsup>
</math>

to render as

which might be sufficient for your needs.

Davide- I have been testing out your recent suggestions, and most seem to really be working out well! I'm having trouble still with degree and asterisk in the case where we'd like to force them to a larger version. Could you please see my comments/screenshots in the attached file and let me know if you can see something I'm doing wrong here?
Thanks,
Julie
Pseudoscript Config Updates.docx

The second image in your file looks like MathJax didn't run at all.  That is probably due to an error in the configuration script.  The line
MathJax.Hub.Register.StartupHook"'HTML-CSS Jax Ready", function () {

should be
MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready", function () {

(the change is from Hook"' to Hook(".  Looks like a bad edit on my part (I fixed it in the code block in my original comment above).  Sorry about that.

Is there something additional I should add in the coding for asterisk too?

Try using ∗ (asterisk operator) rather than * (asterisk), as the operator is not positioned as a superscript.
Also, it would be best if you don't send Word files, here.  You can insert images into the GitHub editor, and it is a rich-text editor, so there is no need for Word, and it makes is harder for me to view your comments.  It should help me a lot if you could avoid Word fo us in the future.

@dpvc Sorry about the Word files! I'll definitely try to avoid those in here for the future. Fixing the typo helped for degree--thank you! Could you please send me the specific coding needed including the asterisk change you suggested too? I tried adding
remap[0x2a]= [0x2217, "normal"]
to the rest of the script in a few different ways but was not successful. I'm sure I just didn't add it properly. I know nothing about HTML coding.

What I had meant was switch
     <mo class="MJX-variant">*</mo>

to
     <mo>≱</mo>

in your encoding of the expression.  But you can do a MJX-variant remap if you want, as follows:
MathJax.Hub.Config({
  "HTML-CSS": {
    fonts: ["STIX"]
  }
});
MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready", function () {
  MathJax.OutputJax["HTML-CSS"].FONTDATA.VARIANT["-STIX-variant"].remap[0xB0]= [0x25E6, "normal"];
  MathJax.OutputJax["HTML-CSS"].FONTDATA.VARIANT["-STIX-variant"].remap[0x2A]= [0x2217, "normal"];
});

Then
<math xmlns="http://www.w3.org/1998/Math/MathML">
  <msubsup>
   <mi>L</mi>
   <mrow>
     <mi>l</mi>
     <mo>,</mo>
     <mi>j</mi>
   </mrow>
   <mrow>
     <mo class="MJX-variant">*</mo>
     <mi>n</mi>
   </mrow>
 </msubsup>
</math>

renders as

@dpvc OK yep I'm getting the expected results now for degree and asterisk too! Is there any reason to go with one option over the other? I.e.,
to use ≱ and ◦
vs
MathJax.Hub.Config({
"HTML-CSS": {
fonts: ["STIX"]
}
});
MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready", function () {
MathJax.OutputJax["HTML-CSS"].FONTDATA.VARIANT["-STIX-variant"].remap[0xB0]= [0x25E6, "normal"];
MathJax.OutputJax["HTML-CSS"].FONTDATA.VARIANT["-STIX-variant"].remap[0x2A]= [0x2217, "normal"];
});
? Wouldn't the MJX-variant remap keep it a little more semantically correct?

Sorry, another typo on my part.  It is ∗ not ≱.

Wouldn't the MJX-variant remap keep it a little more semantically correct?

That depends on what you mean.  I don't know what

means, and how the circle symbol is used, here.  It doesn't seem to make sense as degrees to me, but I don't know much  Chemistry notation, so you can't go any me.  As for the asterisk, again, I don't know what

means, and how to interpret the asterisk in it.  U+002A is an asterisk that usually means something like a footnote, whereas U+2217 is the asterisk operator, so as "*n" it would be attached to the "n" as a prefix operator, and that expression is the superscript of the "L".  That seems more likely to be the correct semantics, rather than a footnote with an "n" (but that is from my non-Chemistry point of view).

Yes, I noticed the typo and fixed it when I tested it out but then still apparently copied and pasted the x2271 into my comment! As for the semantics comments, thanks, we'll have to think on that, but I now know how to get either option to work, so that's great. Thank you again!!

@dpvc Hi again. Thank you for all the help--most suggestions so far have been looking great! I've been testing out pseudoscripts a lot recently. Things seem to be looking pretty good, except degree is still looking a little odd to me. I've been trying to use the MJX-variant remap, as discussed above.
I think asterisk looks pretty good:

for
<mi>H</mi> <mo>*</mo><mo>,</mo> <msup> <mi>H</mi> <mo class="MJX-variant">*</mo> </msup> <mo>,</mo> <msup><msub> <mi>H</mi><mn>1</mn></msub> <mo class="MJX-variant">*</mo> </msup> <mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><mo class="MJX-variant">*</mo> </msubsup> <mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><mrow><mi>k</mi><mo>,</mo><mo class="MJX-variant">*</mo></mrow> </msubsup> <mo>,</mo><msubsup><mi>H</mi><mn>1</mn><mrow><mi>k</mi><mo>*</mo></mrow></msubsup> <mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><mrow><msup><mi>k</mi><mo class="MJX-variant">*</mo></msup></mrow> </msubsup> <mo>,</mo><msubsup><mi>H</mi><mn>1</mn><msubsup><mi>k</mi><mi mathvariant="normal">M</mi><mo class="MJX-variant">*</mo></msubsup> </msubsup>
I think prime (including single/double/triple/quadruple prime) is also looking good (I've been testing out using the mathsize attribute on the primes, since sometimes they seem too big to me, so this is why there are two versions below, one with mathsize="8pt" and one with no mathsize attribute):

for
<math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>H</mi> <mo mathsize="8pt">′</mo><mo>,</mo> <msup> <mi>H</mi> <mo class="MJX-variant" mathsize="8pt">′</mo> </msup> <mo>,</mo> <msup><msub> <mi>H</mi><mn>1</mn></msub> <mo class="MJX-variant" mathsize="8pt">′</mo> </msup><mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><mo class="MJX-variant" mathsize="8pt">′</mo> </msubsup> <mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><mrow><mi>k</mi><mo>,</mo><mo class="MJX-variant" mathsize="8pt">′</mo></mrow> </msubsup> <mo>,</mo><msubsup><mi>H</mi><mn>1</mn><mrow><mi>k</mi><mo mathsize="8pt">′</mo></mrow></msubsup> <mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><mrow><msup><mi>k</mi><mo class="MJX-variant" mathsize="8pt">′</mo></msup></mrow> </msubsup> <mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><msubsup><mi>k</mi><mi mathvariant="normal">M</mi><mo class="MJX-variant" mathsize="8pt">′</mo></msubsup> </msubsup> </math><math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>H</mi> <mo>′</mo><mo>,</mo> <msup> <mi>H</mi> <mo class="MJX-variant">′</mo> </msup> <mo>,</mo> <msup><msub> <mi>H</mi><mn>1</mn></msub> <mo class="MJX-variant">′</mo> </msup><mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><mo class="MJX-variant">′</mo> </msubsup> <mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><mrow><mi>k</mi><mo>,</mo><mo class="MJX-variant">′</mo></mrow> </msubsup> <mo>,</mo><msubsup><mi>H</mi><mn>1</mn><mrow><mi>k</mi><mo>′</mo></mrow></msubsup> <mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><mrow><msup><mi>k</mi><mo class="MJX-variant">′</mo></msup></mrow> </msubsup> <mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><msubsup><mi>k</mi><mi mathvariant="normal">M</mi><mo class="MJX-variant">′</mo></msubsup> </msubsup> </math>
Though I am able to get degree to at least be at the intended level now (i.e., to appear to modify either the base "H" or superscript "k" in my examples), degree still is looking odd/quite small to me. Here's what it looks like using the MJX-variant remap:

for
<mi>H</mi> <mo>°</mo><mo>,</mo> <msup> <mi>H</mi> <mo class="MJX-variant">°</mo> </msup> <mo>,</mo> <msup><msub> <mi>H</mi><mn>1</mn></msub> <mo class="MJX-variant">°</mo> </msup><mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><mo class="MJX-variant">°</mo> </msubsup> <mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><mrow><mi>k</mi><mo>,</mo><mo class="MJX-variant">°</mo></mrow> </msubsup> <mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><mrow><mi>k</mi><mo>°</mo></mrow></msubsup> <mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><mrow><msup><mi>k</mi><mo class="MJX-variant">°</mo></msup></mrow> </msubsup> <mo>,</mo><msubsup><mi>H</mi><mn>1</mn><msubsup><mi>k</mi><mi mathvariant="normal">M</mi><mo class="MJX-variant">°</mo></msubsup> </msubsup>
Does something seem off here to you too? Note if I instead use straight x25e6 characters throughout rather than doing the remap, they seem to look better:

for
<mi>H</mi> <mo>◦</mo><mo>,</mo> <msup> <mi>H</mi> <mo>◦</mo> </msup> <mo>,</mo> <msup><msub> <mi>H</mi><mn>1</mn></msub> <mo>◦</mo> </msup><mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><mo>◦</mo> </msubsup> <mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><mrow><mi>k</mi><mo>,</mo><mo>◦</mo></mrow> </msubsup> <mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><mrow><mi>k</mi><mo>◦</mo></mrow></msubsup> <mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><mrow><msup><mi>k</mi><mo>◦</mo></msup></mrow> </msubsup> <mo>,</mo><msubsup><mi>H</mi><mn>1</mn><msubsup><mi>k</mi><mi mathvariant="normal">M</mi><mo>◦</mo></msubsup> </msubsup>
I would've expected the MJX-variant remap and using the actual x25e6 character to match up pretty well, but they're definitely smaller in the remap case (compare variable nos. 2, 3, 4, 7, and 8 in both versions). Any idea what's going on?
Note: In the asterisk case, the MJX-variant remap and using the actual x2217 character match up together as I'd expect (remap screenshot/tagging above, actual x2217 character below):

for
<mi>H</mi> <mo>∗</mo><mo>,</mo> <msup> <mi>H</mi> <mo>∗</mo> </msup> <mo>,</mo><msup><msub> <mi>H</mi><mn>1</mn></msub> <mo>∗</mo> </msup> <mo>,</mo> <msubsup> <mi>H</mi><mn>1</mn><mo>∗</mo> </msubsup> <mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><mrow><mi>k</mi><mo>,</mo><mo>∗</mo></mrow> </msubsup> <mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><mrow><mi>k</mi><mo>∗</mo></mrow></msubsup> <mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><mrow><msup><mi>k</mi><mo>∗</mo></msup></mrow></msubsup> <mo>,</mo> <msubsup><mi>H</mi><mn>1</mn><msubsup><mi>k</mi><mi mathvariant="normal">M</mi><mo>∗</mo></msubsup> </msubsup>

OK, it turns out that there was another remapping already in place that turned U+00B0 into U+2218 (RING OPERATOR), and so our remapping of U+00B0 was never being used.  (I have been working with v3 for four years, now, and no longer rambler all the v2 details.)
One solution would be to remap U+2218 to U+25E6, but probably better is to delete the original remapping:
MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready", function () {
  delete MathJax.ElementJax.mml.mo.prototype.remapChars['\u00B0'];
  MathJax.OutputJax["HTML-CSS"].FONTDATA.VARIANT["-STIX-variant"].remap[0xB0]= [0x25E6, "normal"];
  MathJax.OutputJax["HTML-CSS"].FONTDATA.VARIANT["-STIX-variant"].remap[0x2A]= [0x2217, "normal"];
});
MathJax.Hub.Register.StartupHook("SVG Jax Ready", function () {
  delete MathJax.ElementJax.mml.mo.prototype.remapChars['\u00B0'];
  MathJax.OutputJax.SVG.FONTDATA.VARIANT["-STIX-Web-variant"].remap[0xB0]= [0x25E6, "normal"];
  MathJax.OutputJax.SVG.FONTDATA.VARIANT["-STIX-Web-variant"].remap[0x2A]= [0x2217, "normal"];
});

That should get you the result you are looking for.

@dpvc Thank you. Yep that looks much better!

@dpvc We ran into some trouble w/ this one when we were trying to implement it. We are getting this error:

Per one of my colleagues: In short, the variable MathJax.OutputJax.SVG.FONTDATA.VARIANT["-STIX-Web-variant"].remap does not exist when StartupHook "HTML-CSS Jax Ready" is triggered.
This works fine in my simple file where scripts are declared in , but we get this error in Literatum, which adds the MathJax script element and x-mathjax-config element through document.getElementsByTagName("head")[0].appendChild(). I think this happens post page load.
If I comment out the offending lines and check MathJax.OutputJax.SVG.FONTDATA.VARIANT["-STIX-Web-variant"].remap after the page loads, it exists and has values.  All other config options load fine.
Any idea for what we could be missing? Let me know if you'd need to see our full current configuration. Thank you!


XDebug support

Is there a possibility to use XDebug out of the box?

Hi Alexey,
What are the requirements for XDebug? If it’s something people will find
useful the. Hi see no reason why not
Thanks,
Matt
On Sat, 16 Mar 2019 at 22:33, Alexey Anufriev<EMAIL_ADDRESS>wrote:

Is there a possibility to use XDebug out of the box?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mattrayner/docker-lamp/issues/50, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADVzNgUogyfcl07NW-RLCC_FaV6ZT5B-ks5vXXE3gaJpZM4b4EML
.

--
Matt Rayner
http://www.mattrayner.co.uk/

Great, so I saw plenty of articles on how to use XDebug from inside the docker together with some IDE, for example PhpStorm.
That would be nice if you can integrate this.

Hi @alexey-anufriev - php debug is now installed as default on the 1604 and 1804 images - is that all you need to get it working or is there additional configuration?
Thanks,
Matt

I've closed this issueuie off now, if you have any further issues with XDebug, please let me know


Introduce CloudEvent to KEDA

Introduce CloudEvent to KEDA
Checklist

[X] Commits are signed with Developer Certificate of Origin (DCO)

Relates to https://github.com/kedacore/keda/pull/4968
Relates to https://github.com/kedacore/keda/issues/3533

Given the functionality we are planning, the information we should share on how it works etc; what do you think if we use this approach for docs @zroubalik  & @JorTurFer?

Concept page on how it works, what scenarios it enables and how it compares to Kubernetes events (CRDs to be used)
Operations page to list all supported events, with pointer to concept page

Concept docs should also include this/or similar view to this one:


Resume immediately when the video already played

Hello Sir.
Thank your for library.
I have an issue , for now I still don't know how to control that. I want to resume video immediately when scroll down or scroll up. (like Facebook) (apply this for the video already playing then pause state).
I have just try to put MMPlayerLayer in each cell then when cell is invisible I set it's pause then play it again when that cell visible but really laggy.
In this library seems to cache the last time of video then init and play with that time. but in this way I need to wait indicator loading.
One more thing. I really want to keep the last thumb when the video pause.
Can you help me.
Thank you so much.

@MillmanY  I have an issue , for now I still don't know how to solve that.
Issue: -  Play video immediately on scrolling of tableview.


Hi @spirillen

Hi @spirillen
I looked through this list and noticed lots of .ru domains and got interested since I am in Russia actually. Turns out list contains some (maybe not high quality) legit websites, like for example stratege.ru
You can check using local search engine, it shows green crown symbol for websites with "constant and returning userbase": https://yandex.ru/search/?lr=213&text=stratege
Originally posted by @m-svo in https://github.com/StevenBlack/hosts/issues/1090#issuecomment-557862300

Hmmm github is weird now... this should not have been here, please delete it Steven @StevenBlack


Use audited secp256k1 lib.

Codecov Report

Merging #136 (b1c4aeb) into main (6eb6e15) will decrease coverage by 0.36%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #136      +/-   ##
==========================================
- Coverage   96.49%   96.13%   -0.37%
==========================================
  Files          20       20
  Lines        2342     2329      -13
  Branches      205      204       -1
==========================================
- Hits         2260     2239      -21
- Misses         82       90       +8

Flag
Coverage Δ

unittests
96.13% <100.00%> (-0.37%)
:arrow_down:

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

Impacted Files
Coverage Δ

src/kems/dhkemPrimitives/secp256k1.ts
91.17% <100.00%> (-1.00%)
:arrow_down:

src/utils/misc.ts
88.09% <0.00%> (-9.53%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Awesome Arch

All about Arch (linux)
[Arch Linux] is an independently developed, x86-64 general purpose GNU/Linux distribution versatile enough to suit any role. Development focuses on simplicity, minimalism, and code elegance. Arch is installed as a minimal base system, configured by the user upon which their own ideal environment is assembled by installing only what is required or desired for their unique purposes.

please assigne it to me

Sure, go on with it

Sure, go on with it

please add the hactober fest label


CI: Switch to M1 macOS runners.

Browser tests don't pass.

```
Set timeout to 20 seconds...
  Executing bindgen...
Running headless tests in Firefox on [http://<IP_ADDRESS>:49243/](http://<IP_ADDRESS>:49243/`)
Try find webdriver.json for configure browser's capabilities:
Not found
Starting new webdriver session...
driver status: signal: 9 (SIGKILL)
driver stdout:
1707018675469	geckodriver	INFO	Listening on <IP_ADDRESS>:49243
Error: http://<IP_ADDRESS>:49243/session: status code 500
Stack backtrace:
0: std::backtrace_rs::backtrace::libunwind::trace
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
1: std::backtrace_rs::backtrace::trace_unsynchronized
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: std::backtrace::Backtrace::create
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/backtrace.rs:331:13
3: anyhow::error::<impl core::convert::From for anyhow::Error>::from
4: wasm_bindgen_test_runner::headless::Client::doit
5: wasm_bindgen_test_runner::headless::run
6: wasm_bindgen_test_runner::main
7: std::sys_common::backtrace::__rust_begin_short_backtrace
8: std::rt::lang_start::{{closure}}
9: core::ops::function::impls::<impl core::ops::function::FnOnce for &F>::call_once
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:284:13
10: std::panicking::try::do_call
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
11: std::panicking::try
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
12: std::panic::catch_unwind
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
13: std::rt::lang_start_internal::{{closure}}
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/rt.rs:148:48
14: std::panicking::try::do_call
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
15: std::panicking::try
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
16: std::panic::catch_unwind
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
17: std::rt::lang_start_internal
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/rt.rs:148:20
18: std::rt::lang_start
19: _main
error: test failed, to rerun pass --test browser
Caused by:
process didn't exit successfully: /Users/runner/Library/Caches/.wasm-pack/wasm-bindgen-cargo-install-0.2.90/wasm-bindgen-test-runner /Users/runner/work/all-is-cubes/all-is-cubes/all-is-cubes-wasm/target/wasm32-unknown-unknown/debug/deps/browser-fc7dced543cc4705.wasm (exit status: 1)
note: test exited abnormally; to see the full output pass --nocapture to the harness.
Error: Running Wasm tests with wasm-bindgen-test failed
Caused by: Running Wasm tests with wasm-bindgen-test failed
Caused by: failed to execute cargo test: exited with exit status: 1
full command: cd "/Users/runner/work/all-is-cubes/all-is-cubes/all-is-cubes-wasm" && CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER="/Users/runner/Library/Caches/.wasm-pack/wasm-bindgen-cargo-install-0.2.90/wasm-bindgen-test-runner" GECKODRIVER="/Users/runner/Library/Caches/.wasm-pack/geckodriver-999daedc01c233f5/geckodriver" WASM_BINDGEN_TEST_ONLY_WEB="1" "cargo" "test" "--target" "wasm32-unknown-unknown"
Error: command wasm-pack test --headless --firefox failed, exit status: 1
</details>

I tried the suggestion to pass --nocapture locally and it caused the tests to fail to start with no useful details.

92000b399422d9efdce4cd7ff097f5012bd11dc0 fixes the problem, which seems to be simply that Firefox isn't installed. The rest of this PR is no longer needed since M1 is now rolled out by default.


Install with HA Core

Hi, I'm using HA Core so I can't use add-on.
Is this sw installable and usable NOT as an add-on?

Hey there,
thanks for showing interest in  my project :) The add-on is a docker container so it can be launched without relying on HA. Unfortunately the add-on can't be used only having HA Core installed at its current state, because the communication between activity-assistant and Home Assistant relies on the supervisor API. I will change the way the add-on communicates with HA in the future. I have exams coming up so this may take a while :/ I will let you know, when the changes are implemented and upstream.

Hey there,
thanks for showing interest in  my project :) The add-on is a docker container so it can be launched without relying on HA. Unfortunately the add-on can't be used only having HA Core installed at its current state, because the communication between activity-assistant and Home Assistant relies on the supervisor API. I will change the way the add-on communicates with HA in the future. I have exams coming up so this may take a while :/ I will let you know, when the changes are implemented and upstream.

Hello Chris, long time ago you had in plan to switch from supervisor API to another way.
I think also some api in the meanwhile has been deprecated / substituted.
Are you still working on this?
Thanks a lot, bye
Dario

Hey there,
yes, I picked the project up again. Sry for the late reply. I did update the supervisor API for the current HA version. With the Home Assistant integration, I plan on developing in the future, the communication between HA and Activity Assistant has to rely on HAs Long lived access tokens. Therefore I will migrate the base to work with either and make dependence on the Supervisor API optional. I am not sure when this is going to happen, but hopefully this year ^^

Hey Chris, I kind of started down the same journey and watching your video presentation on Youtube. I haven't seen a lot of work done in this area and your experience is useful. Are you still looking at this at all, or interested in it? I haven't taken a look at your code yet. My approach to this was going to be a little different then what you did. If you were still working on it, I was curious what you've learned since then.


Bug - missing image of itch.io GitHub page

The img src in the README is the image relative link, not the full url.
Browsing the website for icons, I noticed the itch.io logo is a broken link image.
I'll raise a PR with the fix :+1:

Fixed in #453