[ScrollView] Use onScroll without event throttling

I want to use the onScroll handler to setState another component in relation to the ScrollView's contentOffset changing its value.
But the throttling of onScroll causes noticeable jumps. Sometimes the component that has setState called on it will never even update until much later on.
Is there a better way to achieve what I want?

Have you tried setting the throttling interval below 16?

@ide Yeah, it's at 15.

The jittering is likely due to the setState calls being too slow. If you replace the setState call with a console.log call does the performance noticeably improve?

It's hard to tell if performance improves when I take out the forced re-render of the component, no?
Is there a way to batch my setState with the changing contentOffset?

It's hard to tell if performance improves when I take out the forced re-render of the component, no?

Well, yeah - my guess is that re-rendering is too slow.

Is there a way to batch my setState with the changing contentOffset, or is onScroll called after the ScrollView is "re-rendered"?

It's easier for me to explain the entire flow of events. When a native scroll event occurs on the main thread, it schedules a JS onScroll event for the next tick of the JS render loop (assuming no throttling) which runs every 16ms.
At the next tick on the JS thread, React runs your JS onScroll handler and your code calls setState which schedules a re-render before the end of the JS tick. At the end of the tick, the React subtrees with state changes are re-rendered and a JSON description of changes to the native views is sent back down to native. This all happens synchronously on the JS thread -- meanwhile the main thread is free to run UIKit code without being blocked by JS. But if your JS is too slow, that also means the main thread won't receive new updates in the meantime.
The native code processes the JSON description of changes on the shadow thread where it computes layout. Then it schedules the layout information to be applied to the native views at the next tick of the main thread. If you have a lot of expensive changes to the native views, this can take more than 16ms and your app will drop frames.
So basically if you've already configured the JS scroll view to throttle at 16ms or lower, you're already getting scroll events as often as possible. In fact you may want to increase the throttling so that you don't overload the system with too much work (React Native suffers from thundering herds atm).

I noticed the same thing when I implemented a parallax effect.
In my case onScroll was updating an animated value linked to the height of another component.
The lag is not in this configuration is very slight, maybe a frame or 2 when you scroll down really quickly before the height has caught up.
Not sure there's something that can be done for now.
Or we would need the ability to run some JS code on the main thread.

I setup this project as an example of what I'm trying to do. Cheers! :smile:

I think what you're looking for is something like this:
onScroll={Animated.event(
[{nativeEvent: {contentOffset: {y: this.state.yValue}}}]
)}

You can then animate your view using the state values & interpolate. I do this for a pull to refresh animation inside my renderHeader function:

<View style={{height: 100, justifyContent: 'center', alignItems: 'center', marginTop: -100}}>
              <Animated.View style={{
                backgroundColor: colors.white,
                width: 40,
                height: 40,
                borderRadius: 20,
                alignItems: 'center',
                justifyContent: 'center',
                opacity: this.state.yValue.interpolate({ inputRange: [-80,0], outputRange: [1, 0]}),
                transform: [
                  {scale: this.state.yValue.interpolate({ inputRange: [-80,0], outputRange: [1, .5]}),
                extrapolate: 'extend'}
                ]}}>
                <Text style={{color: colors.black, fontSize: 16}}>RCT</Text>
              </Animated.View>
 </View>

Cool! I didn't know there was a new Animation library! Thanks, @yamill!

@ide @brentvatne  Looks resolved here.

@ide @brentvatne
I'm not sure this is resolved. I'm using the same tactic as @yamill to do animations and experiencing some very noticeable delays. The onScroll events simply do not come through the javascript bridge fast enough...
You can see the issue occurring in this gif: http://i.imgur.com/r15gMy1.gifv. The blurred background image is an Animated view that is having its height animated to always be aligned with the orange/gray bar, and its top animated to scroll off the screen as you scroll down. A console.log() in my render() method proves that this entire view is only being rendered once, therefore all the animations are being performed outside of the render loop. You can't notice it with gentle scrolling (beginning of the gif), but with fast scroll flicks (end of the gif) the problem rears its head real quick with the image noticeable snapping into the correct position after a big delay. My scrollEventThrottle is very low.

@marcshilling
Did you find a solution to this?
I have a similar issue with a View I'm animating according to the scroll position.  More or less like this: http://stackoverflow.com/questions/34389672/scroll-the-view-simultaneously-as-the-scrollview-scrolls
And there is a noticeable lag in the performance.

@marcshilling @zoharlevin Have either of you tested with your Xcode project set to Release instead of Debug? If so, it would be nice to hear thoughts from anyone at Facebook about how to continue forward. :smile:

@aleclarson
I'm working on Android, not ios.   I haven't tried a release apk yet, but I did try disabling JS Dev Mode which made no difference.
Also, as I understand the option for scrollEventThrottle is relevant only to ios.
Do you have any other suggestions I could try to improve the performance?
It seems like just a fraction of a second behind the actual scroll, but it's definitely noticeable.  I wrote a demo app in native android which did the same thing with no lag at all, so I'm really eager to achieve the same level of performance in my react-native app.

@zoharlevin nope, ended up changing our design requirements because we couldn't get the performance :(
@aleclarson yes, the problem is still apparent in a bundled release build.
Unless I'm missing something, I think this example is an example where React Native is just not gonna cut it performance-wise. Will have to drop down to a native scroll view.

I think the best way to solve this is with a JS-based ScrollView. You can get onScroll events before the values are updated in native land.

Resolved.  Put both of the components which you want to sync their movement into a ScrollView. Btw, If you want to scroll one of the them in other direction, it also can be achieved, wrap the target by a View component.

@shendajht What do you mean by put both components into a ScrollView?
I don't see how does that meet this requirement (being able to sync scroll position with something).
Can you provide a more concrete exmaple?

We'll have to wait for native drivers in AnimatedJS to be completed before we can achieve an Animated.Value that reacts to the scroll position without being delayed or losing frames.

@aleclarson Thanks for the article, I have a better understanding of the situation now.
And while this is the case, this issue should be open since there is not solution for it right now.

I am having a similar issue. Instead of throttling the event, onChange/scrollEventThrottle seem to pass me most of the events, just tremendously delayed ( like 15 seconds for the last events to come through after scrolling as completely stopped ). So it stopes scrolling, but I get several events for 15 seconds, and none of them are accurate on position until the last several seconds.
Any thoughts?

@alexprice91  - hey, I also have problems with scrollEventThrottle, especially in DEBUG mode. It was defiantly a lot faster in RELEASE. I then also build my onw throttle, which worked for my usecase
   onScroll={(e) => {

                const currentScrollPos = e.nativeEvent.contentOffset.y
                const sensitivity = 50

                if (Math.abs(currentScrollPos - this.state.lastScrollPos) > sensitivity) {

                            this.props.doSomething()
                            this.setState({lastScrollPos: e.nativeEvent.contentOffset.y })
                      }
  } }

(I set lastScrollPos to 0 in the constructor() )

Got it, thank you! I forget about the latency involved with debugging in chrome, so thanks!
Sent from my iPhone

On Jul 27, 2016, at 3:37 PM, Thorben Andresen<EMAIL_ADDRESS>wrote:
@alexprice91 - hey, I also have problems with scrollEventThrottle, especially in DEBUG mode. It was defiantly a lot faster in RELEASE. I then also build my onw throttle, which worked for my usecase
onScroll={(e) => {
            const currentScrollPos = e.nativeEvent.contentOffset.y
            const sensitivity = 50

            if (Math.abs(currentScrollPos - this.state.lastScrollPos) > sensitivity) {

                        this.props.doSomething()
                        this.setState({lastScrollPos: e.nativeEvent.contentOffset.y })
                  }

} }
(I set lastScrollPos to 0 in the constructor() )
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Same problem, anyone resolve this issue?

@mariodev12 You can use Animated.event with native driver today.
From react native blog:

It also works with Animated.event, this is very useful if you have an animation that must follow the scroll position because without the native driver it will always run a frame behind of the gesture because of the async nature of React Native.

Hey!  I know this is old but I wanted to say thanks to those who provided insight here.
I've been trying to get a pinned header & footer solution working and synced scrolling was one of the key pieces.  What I have works but isn't optimal.
If you want to follow along I put together a StackOverflow post that points to a working Expo Snack.
Thanks again!


interface

this splits sources up into stores and interfaces

please squash, maybe branch first :)

if it's OK with you, I"m going to just leave this as mostly-squashed. I don't quite know what I'm doing wrong to make all those commits three commits, but it's better than nowt.

maybe i shouldn't commit each fix during the rebase?

:unamused: :dart:

WILL MERGE


Is it possible to restart a ViewMenu after it times out?

Is it possible to restart a viewmenu after times out, so that the buttons are accessible again?

It is not possible. It not being possible isn't on the libraries end though, it's because the discord interaction would have ended and you can't restart it once it's stopped.

I actually got it to "restart" by just subclassing the viewmenu, than writing a restart function that just sets timed out to false, and is running to true, than it appends to active sessions and refreshes and enables the buttons.

I replied on the wrong account lol


Generalize Grafana dashboard

Kepler-Exporter.json dashboard has been generalized taking OpenShift Carbon USA legacy dashboard as an example. This PR partially addresses #119 issue.
Dashboard is now possible to import by hand and opens up correctly, not throwing any errors. This change doesn't include the URL changes necessary in manifests/openshift/04-grafana-dashboard.yaml.

thank you @Feelas, this looks good to me, can you post a screen shot of your dashboard?

@Feelas I loaded the dashboard, it looks something missing. The datasource in my environment is prometheus, but it is not showing in the dashboard. The A/B/C series labels need a update too.

This is how it looks for me - notice that the Namespace and Pod fields are loaded properly.

I have removed all of the hardcoded datasource references, so interesting what the difference is, since I don't have any import problems with this definition.
I tried to load up Your modified dashboard after replacing all Prometheus UIDs by hand and then export it using native Grafana exporting feature (Share -> Export -> Export for sharing externally) but afterwards it asks for the datasource when importing manually & doesn't work when importing thru GrafanaDashboard CR, thus no-go there.

cool! Let's merge it


Changed ConditionalWeakTable to use a bump allocator

The code originally used a free list store in the table's next
pointers.  However, due to the lock-free reads, the free list
can never be added to. It is created freshly when copying/resizing.
At this point the entries array can be consolidated, and an index
can be kept for where to insert the next entry.
The design counts down from the top, so comparisons for
fullness use 0, rather than having to load the array length.
Fix #872

Hi @mjp41, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla2.dotnetfoundation.org.

TTYL, DNFBOT;

Also, could you please sign the CLA?

LGTM otherwise

@mjp41, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, DNFBOT;

Could you please squash into single commit so that it is ready to merge?

Thanks for the feedback @jkotas, hopefully everything is satisfactory now.

:+1:


Checking the internal structure of response arrays

While using spring cloud contract for testing our API returning an array of json objects, I have two issues/questions.

When my contract contains:

response {

    status 200

    body([

[

                    name : "ben",

            age : 33

                ],

        [

                     name : "mary",

            age : 8

                ]
    ])
    headers {

        contentType(applicationJsonUtf8())

    }

}

in the generated test the following json is correctly tolerated:
[
    {
        "name" : "ben",

        "age" : 33

    },
    {
        "name" : "mary",

    	"age" : 8

    }
]

but also this is allowed: (mixed up values)
[
    {
        "name" : "ben",

        "age" : 8
    },
    {
        "name" : "mary",

    	"age" : 33

    }
]

I see, that this is due to the fact that the generated test only contains assertions like:
assertThatJson(parsedJson).array().contains("name").isEqualTo(„ben“);

assertThatJson(parsedJson).array().contains("age").isEqualTo(33);

assertThatJson(parsedJson).array().contains("name").isEqualTo(„mary“);

assertThatJson(parsedJson).array().contains("age").isEqualTo(8);

Is there a possibility to check that the values are correctly grouped in the json objects contained in the array?

A more serious problem occurred to me, when we changed our (WIP-) API in order to support paging.
After the change the API returned:

{
"content": [
    {
        "name" : "ben",

        "age" : 33

    },
    {
        "name" : "mary",

    	"age" : 8

    }
],
"totalPages": 1,
"totalElements": 1,
"last": true,
"size": 20,
"number": 0,
"first": true,
"numberOfElements": 1
}

As this change is NOT downwards compatible the test should break, but the generated assertions (see above) seem to ignore the depth level of the array. Thus, the test is still green.
As our motivation to use spring cloud contract for testing the interaction of our micro services to have breaking tests in such a case, I really like to have an option to define that in the contract.

The best option will be to use the testMatchers section. Then you can do any sort of combination in the way you please. You can use regex or execute via a command and check a concrete ordering. Read more about this here - http://cloud.spring.io/spring-cloud-static/spring-cloud-contract/1.0.3.RELEASE/#_dynamic_properties_in_matchers_sections

Another option is to turn on the experimental feature of creating tests with order assertion - http://cloud.spring.io/spring-cloud-static/spring-cloud-contract/1.0.3.RELEASE/#_limitations_2  . You can set a system property spring.cloud.contract.verifier.assert.size=true and see if that helps.

Thank you for the fast response! I will try to use the testMatchers, but I would really love to have automatically generated assertions for the internal array structure :-).
By the way: when I use testMatchers AND a pattern for the response body, then unfortunately, I do not get any assertions generated from the body pattern.

Yeah that's deliberate. You can use either of those. If you use testMatchers then you have to control fully the assertion process.
If you want the internal structure to be checked try the size assertion check. But it's an experimental feature.
JSON is such a terrible structure that it's very difficult to ensure in an automated fashion that proper JSON paths will be generated. So if the experimental feature will not work for you then you'll have to write the response assertions yourself :(

When setting the system property spring.cloud.contract.verifier.assert.size=true, I see no difference in the generated test.
But setting <assertJsonSize>true</assertJsonSize> in the plugin configuration helps.
The only difference in generated tests is, that now the size is checked automatically. Is this right or should there be any additional assertions?

spring.cloud.contract.verifier.assert.size=true this should be set in the surefire plugin. Good that you found the <assertJsonSize>true</assertJsonSize> cause I've forgotten about it :P
Yeah the size should be checked but I thought that I implemented an experimental check of index but most likely I only wanted to do it and haven't done it. So actually you don't have any other option than to do a manual check :/
Or you can file a PR to add support for indexed checks :D

Thank you for your help and the discussion! I look forward for the future enhancements of your project, and maybe, if I have the time, think about a PR :-).

No problem :)
Will definitely try to think about making this better. For now you'll have to go with the manual check though.


Adapt demo pages to CloseButton API

correct descriptions and example source code
correct headings to unified name for Close Button sections

Needs PR 275 from fritz2 core project merged in order to work.


Rename to plain 'regex-repo' and update documentation for release.

Overview
Let's put the package in the root (removing the '@liquid-labs' org qualification from the package name).
Deliverables

[ ] rename the package
[ ] add 'css' and 'javascript' to the keywords

Work for this issue will begin begin on branch work-liquid-labs/regex-repo/29.


fix: ft metadata not found

Try out this version of the Hiro Wallet - download extension builds.

Error surfaced bc canTransfer wasn't successfully filtering out tokens when the new api returned an error string in the data object. I added this temp fix for now until this issue is completed to expose new types for the Hiro api:
https://github.com/hirosystems/token-metadata-api/issues/132

Doesn't this logic belong in isTransferableStacksFungibleTokenAsset? We invoke this function elsewhere that also needs this logic probably

Yeah, good point, I'll move it. It is just used for hasMemo below but missed that, otherwise code refers to the canTransfer prop after this point. Hoping the types PR from api team gets merged today so can fix properly.


backend, net: support connect to backend with username and password

What problem does this PR solve?

Issue Number: close #652
Problem Summary:
Users only provide username and password in traffic replay. There are no clients in traffic replay.
What is changed and how it works:

Support connect to backend with username and password in Authenticator and BackendConnManager.

Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Notable changes

[ ] Has configuration change
[ ] Has HTTP API interfaces change
[ ] Has tiproxyctl change
[ ] Other user behavior changes

Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

Codecov Report
Attention: Patch coverage is 55.20833% with 86 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@2c9d650). Learn more about missing BASE report.

Files with missing lines
Patch %
Lines

pkg/proxy/net/auth.go
50.00%
30 Missing and 12 partials :warning:

pkg/proxy/backend/authenticator.go
41.17%
20 Missing and 10 partials :warning:

pkg/proxy/net/mysql.go
70.83%
14 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #653   +/-   ##
=======================================
  Coverage        ?   68.95%
=======================================
  Files           ?       86
  Lines           ?     8452
  Branches        ?        0
=======================================
  Hits            ?     5828
  Misses          ?     2188
  Partials        ?      436

Flag
Coverage Δ

unit
68.95% <55.20%> (?)

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

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


[rm_dm, dv] Introduce JTAG DMI monitor, DMI RAL and add CSR tests

This PR introduces a simpler JTAG DMI agent, which will eventually replace jtag_riscv_agent. It adds the JTAG DMI monitor and the JTAG DMI register model for the DMI CSRs in RV_DM.
The subsequent PRs are changes made to other testbench components to support the running of CSR tests using this RAL model, which is accessed not over TL, but over JTAG, indirectly via JTAG DTM DMI register.
Finally, the last commit instantiates it in the RV_DM testbench and runs the standard suite of CSR tests on it.
The large size of this PR is due to an SVG block diagram, as well as the DMI RAL space captured as hjson spec that is rendered into the RAL model using the reggen tool.

Thanks!


Login not working with Laravel + Inertia + React

Hello, I realized that Laravel's manual authentication does not work with inertia, I am doing everything as the documentation says but the user's credentials are not kept saved.
web.php

AuthController

SignIn view React

HandleInertiaRequest

Error

I would suggest looking at how the Laravel Breeze + React Inertia stack works.

Hi! @Hernanarica
I know this issue has been closed, but I've encountered the same situation. Have you made any discovery regarding this topic?

@FuzzyNat26 Hello! Yes, since I was never able to solve it from the programming side, what I did was create a new project and start everything from scratch, migrating the views, controllers, etc., etc., and the authentication now worked.

Thanks for the reply.
I came across the same conclusion, which is pretty weird on what's bugged out the authentication.


engine increment could be off

Describe the bug
'i' is incremented in wrong place in the engine code (I think).
var engine = (function () {
  function play() {
    raf = requestAnimationFrame(step);
  }
  function step(t) {
    var activeInstancesLength = activeInstances.length;
    if (activeInstancesLength) {
      var i = 0;
      while (i < activeInstancesLength) {
        var activeInstance = activeInstances[i];
        if (!activeInstance.paused) {
          activeInstance.tick(t);
        } else {
          var instanceIndex = activeInstances.indexOf(activeInstance);
          if (instanceIndex > -1) {
            activeInstances.splice(instanceIndex, 1);
            activeInstancesLength = activeInstances.length;
          }
        }
        i++;
      }
      play();
    } else {
      raf = cancelAnimationFrame(raf);
    }
  }
  return play;
})();

Apologies if I'm not seeing something obvious. Shouldn't the variable i be incremented in the if ! paused clause above, so it is not incremented when the else clause is run? And while at it, why is the instanceIndex computed from the activeInstances when it is known to be the value of i?
Hope I'm not wrong about these. But prepared to have egg on my face...
It only affects one tick, so it might not be noticed very easily.

Hi @FrankReh - thanks for flagging, I will take a look at this, in the meantime PR's are welcome


Feedback for “Hypersub Onboarding”

Hola,
Tried to subscribe to /success and can't verify my email address.

any luck? what is your email?


Update calico/cni Docker tag to v3.22.5

This PR contains the following updates:

Package
Update
Change

calico/cni
patch
v3.22.2 -> v3.22.5

[!WARNING]
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update (v3.22.5). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.


Currently script is only compatible with Firefox browser, make it work with other browser such as Chrome and Edge

can i get it assigned ?

can i get it assigned ?

can i get this assigned?

can i get this assigned?

@maverickayush7 you have been assigned

assign me this

can i get this assigned?

can i be assigned to this

@maverickayush7 I need an update by 9:30, else I will reassign this issue

can i get assigned to this

can i get assigned

can i work on this

can i work on #2

@Vaarun-Kamath i am 70 % done just fixing some bugs i'll be done soon

its done i am doing pr

@DedLad you have been assigned this issue

can i get assigned if this is still open?

@DedLad reply if you are working on this issue

can u assign this issue to me?

Can I work on this issue?

@anirudhsudhir you are assigned


Support regexes as markers to trigger mentions

Adds user autocomplete to text-based stellar sending. r? @keybase/react-hackers

Sick


ecshreve: some simple cleanup

This PR does some basic cleanup.

change some of the error checks to be inline if err := someFunc(); err != nil {
tweak some comments for readability and godoc conventions
regenerate docs

This should be a no-op, but I did sanity check by running locally.

@brittonhayes feel free to merge whenever you have time, I don't have write access so can't merge it myself :)


bugfix: use NetworkManager for ubuntu netplan

The template config was hardcoded to eth0 and google dns.
This pr changes to NetworkManager instead, which is the default on Ubuntu 20.04 and 22.04.
NOTE: I'm not sure if we should change debian as well, I tried with debian12 and it seems like network-manager isn't installed by default, and NetworkManager.service was not loaded.

@Adphi Checked, fair enough!
It's weird though, maybe it's a desktop ver. only thing? (I checked NetworkManager on Ubuntu desktop)


Ferret doesn't complete filenames ending in ".nc"

Reported by Jonathan S Callahan on 16 Jul 2001 19:08 UTC
If I say
yes? use AVHRR
Ferret will find the file if it is named AVHRR.cdf but not if it is named
AVHRR.nc.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/289

Comment by ansley.b.manke on 24 Jul 2010 01:03 UTC
Fixed long since.


SDL2 rendering: Error InvalidOperation executing command: BindVao

Hello,
I am trying to run icefoxen's Triangle SDL example, with minor modifications to match the current release (here is the diff):
47c47
<         gfx_window_sdl::init(&mut builder);
---
>         gfx_window_sdl::init::<ColorFormat, DepthFormat>(builder).unwrap();
50,51c50,52
<     let pso = factory.create_pipeline_simple(include_bytes!("shader/triangle_150.glslv"),
<                                 include_bytes!("shader/triangle_150.glslf"),
---
>     let pso = factory
>         .create_pipeline_simple(include_bytes!("shader/triangle_120.glslv"),
>                                 include_bytes!("shader/triangle_120.glslf"),

I am using SDL and I changed the shader version to 120 to be able to use GFX in WebGL. However, even when compiling to native (I'm on OS X), I get:
thread 'main' panicked at 'Error InvalidOperation executing command: BindVao'
which #1126 is supposed to solve.
Thank you for your help. If you wish maybe I can contribute something back like SDL or WebGL examples once I get this working.

Thanks for filing the issue!
I think #1126 is not relevant here.
We are missing a check for VAO support in the GL backend: https://github.com/gfx-rs/gfx/blob/190728a711cb1a0da8a747ea795275b10f9b0d8d/src/backend/gl/src/lib.rs#L516
The backend should have a flag in its private capabilities and check for it, similar to how self.share.private_caps.frame_buffer_supported is handled. This is a relatively easy task, if you want to take a stab at it.

There is already one of these flags: private_caps.array_buffer_supported corresponds to GL_ARB_vertex_array_object. I've been able to remove the error by wrapping the body of Command::BindVao with a check for this property being true. However I'm not sure this will create the correct behaviour in all cases. Is it OK to just skipping binding the VAO?

Yes, let's do that

On Jun 18, 2017, at 13:58, Adrià Garriga<EMAIL_ADDRESS>wrote:
There is already one of these flags: private_caps.array_buffer_supported corresponds to GL_ARB_vertex_array_object. I've been able to remove the error by wrapping the body of Command::BindVao with a check for this property being true. However I'm not sure this will create the correct behaviour in all cases. Is it OK to just skipping binding the VAO?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


Incompatabilities

Enjoying the mod currently, but found out that theres certain incompatibilities with other mods.
*The Tree Extractor can not export liquids to nearby containers (even when configured). I tested this with BC fluid pipes and tanks. wooden pipes work, but standard pipes refuse to connect, and it doesnt recognize BC tanks. Also tested Fluiducts from Thermal Expansion; they do not connect at all, and neither do portable tanks.
*The liquid latex apparently is treated as lava/hot liquid in Thermal Expansion equipment, producing light and detonating base tier piping.
Will report any other strange interactions if I find them. good job so far-- things are really lookin great with this.

Machines do not auto eject, do you mean that?

no- its not connecting to pipes or tanks period.


increase ephemeral storage for k8s 1.29-1.31 test presubmits

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/lgtm


Make clicking buttons dispatch submit; fix button type

Subsumes and builds on #1088. PTAL @Joris-van-der-Wel or @Sebmaster.

looks good

LGTM too


Fix for #410 (unpredictable precision)

Fixes issue #410
Floating point output stream formatter added to serialize double/float values nice & tidy.

Does this reduce the precision of things like vessel state vectors or (lng, lat) information in scenario files ?

No, it doesn't.
Vessel state vectors might get a little better precision if anything would change.
It depended a lot on which MFD was set and/or what camara mode - hence unpredictable.
But never was it left any better than 6.

I've looked at some "prominent" Vessel Addons to see whether they use oapiWriteScenario_float or oapiWriteScenario_vec but it seems almost all used the "oapiWriteScenario_string work-around" - as that was the only way to guarantee the output format accuracy/precision until now.
So: confidence is high! 😄

Ok, Thanks.  Ready for merge ?

Yes, ready.


How to define filter (1/2/3) without using encrypted DNS requests?

I visited all of dnswarden's test domains, and it says:

It works. You have properly configured your dns to DnsWarden's adblocking dns servers.

In my home router I did set the IP numbers <IP_ADDRESS> and <IP_ADDRESS> , which both are the same in all of the three non-encrypted filters normal, ad-block, adult-filter. But how to tell my router to use adult-filter instead of ad-block ?
The only thing which is different are the port numbers 5353* , 2053* , 53*
But I don't know how to fix them for my home router. Actually I would prefer encryption, but FritzBox doesn't support this, yet.

I'm sorry, you are out of luck here. Not many routers support to use custom dns ports. But i'll try to work on this, something like single IP for different type of dns. No promises, I don't like to have too many front-end servers.

@gloschtla Good news: the new beta software for Fritz!Box brings you DoT-Support [1]
@bhanupratapys ... the downside, however, no possibility to define a non-standard server port. Which leads me to the question how the differentiation of servers by filter list leads to, because the different domains (uncensored-dot.dnswarden.com, adblock-dot.dnswarden.com, ...) resolve to the same IP addresses. Does the client send the server name with every request? Unfortunately, I couldn't find this out from RFC 7858. Thank you in advance!
[1] https://avm.de/fritz-labor/frisch-aus-der-entwicklung/frisch-aus-der-entwicklung/

@DerMAp , fritz box should be using default port 853, just like private dns in android 9+ where you have no option to configure to the non standard port. Majority of the client software are designed to send SNI, so that I can sort out the dns requests based on their SNI and route them accordingly.

Hi @bhanupratapys ,
Thanks for the prompt response. Looking into the TLS "Client Hello" with Wireshark reveals that the Fritz!Box does not use the SNI Extension (nor ESNI).
So which type of filter is chosen in this case?
And is the SNI-to-filter-list algorithm proprietary or based on some kind of a standard?
If so, I'd like to approach AVM and ask for implementation.
I also tried to obtain a reference, but the only other client I have here is kdig, which allows for setting "+tls-hostname=STR; Use TLS with a remote server hostname check.", which, unfortunately, does not make use of the TLS SNI extension either.
This brought me to the double-check for SNI using openssl which tells me that Wireshark can extract the SNI information correctly.
Regards,
DerMAp

So which type of filter is chosen in this case?

If there is no SNI present during handshake, then it defaults to normal dns which doesn't do any filtering.

And is the SNI-to-filter-list algorithm proprietary or based on some kind of a standard?

It is a standard protocol which is being used in haproxy and nginx since ages.

I also tried to obtain a reference, but the only other client I have here is kdig, which allows for setting "+tls-hostname=STR; Use TLS with a remote server hostname check.", which, unfortunately, does not make use of the TLS SNI extension either.

Try with +tls-sni=
kdig -d @<IP_ADDRESS> +tls +tls-sni=adblock-dot.dnswarden.com doubleclick.net
kdig -d @<IP_ADDRESS> +tls +tls-sni=uncensored-dot.dnswarden.com doubleclick.net
kdig -d @<IP_ADDRESS> +tls +tls-sni=adult-filter-dot.dnswarden.com pornhub.com

Update : I'll configure servers to use adblocking filter list when no sni is being sent, so that fritz box users can use it too. Should be live in couple of hours.

Plaintext dns should now support adblock/adult-filter/uncensored dns on port 53.
Adblock dns
<IP_ADDRESS>
2a01:4f8:1c1c:75b4::1
Uncensored dns
<IP_ADDRESS>
2a01:4f8:1c1c:5e77::1
Adult-filter dns
<IP_ADDRESS>
2a01:4f8:c0c:62a7::1


[rfc] - WAND lock control loop gain

After reviewing the lock method code have discovered that the control loop has the gain set by the product of the set gain and the poll time. This would seem to suggest this is a integrative term, but would only seem to make sense in the limit of a very slowly converging lock.
I have calibrated our laser controllers to get a proper gain factor and turned this control loop into a simple proportional term by removing this poll time factor. We were hoping that there might be some clarification for why this was the method that was used and if there is a interest to improve the lock to make a proper integrator term.

This would seem to suggest this is a integrative term, but would only seem to make sense in the limit of a very slowly converging lock.
I have calibrated our laser controllers to get a proper gain factor and turned this control loop into a simple proportional term by removing this poll time factor. We were hoping that there might be some clarification for why this was the method that was used and if there is a interest to improve the lock to make a proper integrator term.

Yes, currently there is only an integrator, designed for relatively slow feedback loops.
https://github.com/OxfordIonTrapGroup/wand/blob/492e0ba97ba1ba4eef3c11105d25e4bbf76c84ab/wand/frontend/wand_server.py#L237
I don't think I understand your question. Can you explain what you think a "proper integrator term" and "simple proportional term"  would look like in this context?

This would seem to suggest this is a integrative term, but would only seem to make sense in the limit of a very slowly converging lock.
I have calibrated our laser controllers to get a proper gain factor and turned this control loop into a simple proportional term by removing this poll time factor. We were hoping that there might be some clarification for why this was the method that was used and if there is a interest to improve the lock to make a proper integrator term.

Yes, currently there is only an integrator, designed for relatively slow feedback loops.
https://github.com/OxfordIonTrapGroup/wand/blob/492e0ba97ba1ba4eef3c11105d25e4bbf76c84ab/wand/frontend/wand_server.py#L237
I don't think I understand your question. Can you explain what you think a "proper integrator term" and "simple proportional term"  would look like in this context?


Simple test about self training data, but the result is so strange.

Hi，
Attached is the target image (Image61.tif, characters are"330") and all train data(.traineddata, .box and .tif).
SimpleTest.zip
traindata1\fontyp.traineddata
Trained data just includes "3". The result is 333.
traindata2\fontyp.traineddata
Trained data includes "3" and "5". The result is 355 and why the second character isn't "3"?
The situations are the same using tesseract-OCR 3.02 or 3.05.00dev .
Could anybody help me? Thanks a lot!!

More information:

OS is windows 7.
Tesseract-OCR 3.02 or 3.05.00dev .
Command line:
Tesseract Image61.tif result -l fontyp

Please use tesseract user forum for asking support.

Thanks.


Cannot override sass styles

##Problem is that when I try to apply custom scss styles to already defined css framework class, they did not working unless they are added like:
import styles from '../../css/style.scss';
className={styles.item}

which delete current styles from my css framework..
My target:
import styles from '../../css/style.scss';

export default class Class extends React.Component {

  constructor() {
    super();
  }

  render() {
    return (

      );
    }
};

and scss
.item {
    .content {
        .header {
            text-transform: capitalize;
        }
    }
}

So I want to save all styles from css framework and just to extend or override with my own from scss

I had to use:
require("!style!css!sass!../../css/style.scss");
instead of:
import styles from '../../css/style.scss';


Move to the new DataMgr API

Depends on https://github.com/intel-ai/omniscidb/pull/558

@kurapov-peter Could you please rebase and include the submodule update in the PR?


Temperature, humidity and luminosity sensor display

I have several temperature sensors, of different types. But, all are created in Indigo as devices and display the current temp in Celsius as the states "state" and "temperature." HomeKit Bridge Server Option is set as "Thermostats are Celsius." However, in HomeKit, all the temps display as -1.0 I have the same issue with humidity and light sensors.

Please Simulate For Server Item and post the results so I can see how HomeKit is seeing this device.

20 Mar 2018 at 17:28:59
HomeKit Bridge                  Simulating HomeKit values for Bergerie temp
HomeKit Bridge                  ##### DEVICE DATA DUMP #####
HomeKit Bridge                  address : Bergerie InterfaceKit |a 0
batteryLevel : None
buttonGroupCount : 0
configured : True
description :
deviceTypeId : phIfKitSensor
displayStateId : state
displayStateImageSel : None
displayStateValRaw : 12.7
displayStateValUi : 12.7
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState :
folderId :<PHONE_NUMBER>
globalProps : MetaProps : (dict)
com.perceptiveautomation.indigoplugin.Phidgets : (dict)
address : Bergerie InterfaceKit |a 0 (string)
buttonFlagSensor : false (bool)
cVal1 :  (string)
cVal2 :  (string)
decimalPlaces : 1 (string)
phIfKitSensorModel : 1125t (string)
phSensorIfKitAnalogInput : 0 (string)
phSensorIfKitId :<PHONE_NUMBER> (string)
phSensorIfKitSerial : 338124 (string)
phTemp1 : cel (string)
id : 752380798
lastChanged : 2018-03-20 16:39:53
lastSuccessfulComm : 2018-03-20 16:39:53
model : InterfaceKit Sensor
name : Bergerie temp
ownerProps : com.perceptiveautomation.indigoplugin.Phidgets : (dict)
address : Bergerie InterfaceKit |a 0 (string)
buttonFlagSensor : false (bool)
cVal1 :  (string)
cVal2 :  (string)
decimalPlaces : 1 (string)
phIfKitSensorModel : 1125t (string)
phSensorIfKitAnalogInput : 0 (string)
phSensorIfKitId :<PHONE_NUMBER> (string)
phSensorIfKitSerial : 338124 (string)
phTemp1 : cel (string)
pluginId : com.perceptiveautomation.indigoplugin.Phidgets
pluginProps : com.eps.indigoplugin.homekit-bridge : (dict)
protocol : Plugin
remoteDisplay : True
states : States : (dict)
lastUpdate : 2018-03-20 16:39:53 (string)
state : 12.7 (real)
temperature : 12.7 (real)
subModel :
supportsAllLightsOnOff : False
supportsAllOff : False
supportsStatusRequest : False
version : None
HomeKit Bridge                  ##### DEVICE SIMULATION DATA #####
HomeKit Bridge                  Service :
alias : Bergerie temp
model :
subModel :
indigoType : indigo.Device
pluginType : indigo.Device.com.perceptiveautomation.indigoplugin.Phidgets.phIfKitSensor
type : TemperatureSensor
desc : Temperature Sensor
objId : 752380798
serverId :<PHONE_NUMBER>
invertOnState : False
convertFahrenheit : False
required : (List)
CurrentTemperature : 0.0
optional : (List)
StatusActive
StatusFault
StatusTampered
Name
StatusLowBattery : 0
native : True
requiresPlugin : (List)
actions : (List)
loadOptional : False
characterDict : (Dict)
CurrentTemperature : 0.0

This is an unsupported plugin temperature sensor.  If it were a sensor device in Indigo or even an on/off or dimmable device in Indigo it would work, but because it's a custom device there is no support built in.  I'm not doing plugin devices at this point because I would end up coding the plugin in perpetuity trying to support every custom device any plugin creates.
There is a plan to handle these types of devices in the future but we aren't there yet.  In the meantime you can try using Masquerade or even Homebridge Buddy Wrappers and you can most certainly get this into HomeKit Bridge.

Thanks. Makes sense. Did I miss that limitation in the wiki?

Yes and no, it's in the FAQ.

Masquerade worked.  Though, not straight away.  I had to quit and restart the Home app before it got the temp .  Thanks

WOOT!

I'll leave this open as a future enhancement when the custom device definitions are coded in.

I'll probably add this to the next release since I'm doing some plugin coding.  Probably being the operative word here :).

Thanks. But, don't rush it for me, I am getting on fine with Masquerade.  Though, if you do add it, I will certainly test it for you.
One other question... Do you know if there is there a HomeKit service for energy monitors?
Richard

On 22 Mar 2018, at 03:20, Colorado Four Wheeler<EMAIL_ADDRESS>wrote:
I'll probably add this to the next release since I'm doing some plugin coding. Probably being the operative word here :).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Colorado4Wheeler/HomeKit-Bridge/issues/77#issuecomment-375156952, or mute the thread https://github.com/notifications/unsubscribe-auth/ADK6cQa22-Bbyk8ZGjp6ZQH0GIODksKNks5tgwpjgaJpZM4SyN0A.

There isn’t yet, but it’s being looked at.

This temperature sensor is supported in the next 1.0.2 release (after the current beta 3)


Rank Prefix BUG

Okay I just realized it now everytime when I do /lp editor and then after putting all the permission and save the file and reload the plugin. The rank prefix is bugged where I tried to promote myself to another rank and still the prefix stays the same but my rank was changed or was promoted. it is a weird bug because it doesn't do this to all the ranks but only to a one or two ranks. When I check to see the lp editor I can still see on the list of permissions that the rank prefix is still there, I tried promoting and demoting my self or setting myself to a specific rank but still it keeps on the same prefix. I happen to encounter this many times or maybe everytime I use the lp editor

Does the correct prefix show when you run /lp user <user> info?
Could you give a short reproducible example I could follow myself in order to make the issue happen?


Introduce Authorizer interface and configure server using flags

This diff includes a bunch of changes:

Add the Authorizer interface used by the Operator server for authorizing requests. Unauthorised requests are automatically rejected by the server. In the future I want to rework this to use the recently added grpc builtin interceptor` system: https://github.com/iamqizhao/grpc-go/blob/master/interceptor.go.

Replace use of environment variables by flags (implemented using the stdlib flag package) for configuring services. Configuration settings can be defined as attributes (only strings are supported for now)  of a <Service>Config protobuf message. The main advantage here is discoverability:

<EMAIL_ADDRESS>~/src/github.com/sr/operator [next]$ chatoopsd --help
Usage of chatoopsd:
  -buildkite-api_token string

  -gcloud-default_image string

  -gcloud-default_machine_type string

  -gcloud-default_network string

  -gcloud-default_zone string

  -gcloud-project_id string

  -gcloud-service_account_email string

  -gcloud-startup_script string

  -listen-addr string
        Listen address of the operator server (default "localhost:3000")
  -papertrail-api_key string

In the near future I want to use comments embedded in the protobuf files for the help text.

Users now have to provide their own func main() implementation as the protoc-gen-operatord does not generate one anymore. This changes is needed for letting users provide their own authorizer and provides a lot more flexibility for e.g. using a custom listener. Checkout chatoops for an example.

This also includes an incomplete implementation of the localoperator generator which combines both the server and client in a single binary.

can you add some tests?
On Sat, May 28, 2016 at 21:12 Simon Rozet<EMAIL_ADDRESS>wrote:

Merged #20 https://github.com/sr/operator/pull/20.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sr/operator/pull/20#event-675318202, or mute the
thread
https://github.com/notifications/unsubscribe/AAACtuFoXGiv0VIxMdZldhnVaF1vN1pLks5qGOgHgaJpZM4IpMFK
.

@lstoll Sure. I rebased on top of master as well.


Sonoff WiFI, 2CH DC5V / 7-32V wont work

HI,
i just instaled a sonoff 2ch dc5v / 7-32v but ha wont recognize. Can you add this support?
Thanks

SOrry, my mistake. The device is fully compatible!


Gem update indications

At @ronaldtse's request (https://github.com/metanorma/metanorma.com/pull/177), I am going  to start putting into my metanorma.com updates the phrase \[added in (URL)(, URL)+\], pointing to the metanorma gem updates in which a new feature first appears:
If an individual reference identifier is wrapped in `nofetch()`, the reference details for that
item are not looked up, though other items still will be [added in https://github.com/metanorma/metanorma-standoc/releases/tag/v1.3.8]:

I need you to preprocess that pattern, and render it online into something less obtrusive, e.g. (Added: https://github.com/metanorma/metanorma-standoc/releases/tag/v1.3.8[metanorma-standoc v.1.3.8]). I need you to do it, because I want this as simple for me to do as possible, and as inobtrusive for the user as possible.

While we're at it allow me to add that it would be even better to link the implementation to an issue, which in turn can link to PRs and commits 👍


Add highlight.js

For meaningful highlighting we want to use highlight.js. For this it would be good when we update the version via build.rs while building the application. ;)

One could also think about using npm here and do 'npm update highlight.js' while build process.
So it would be easier to integrate and to stay up to date, on the other hand we would have an additional dependency here.


Name feats

New Features

config: prefix and strip_prefix
name
aliases

Codecov Report

Merging #6 (34595ba) into main (3e0cff7) will decrease coverage by 0.85%.
The diff coverage is 95.65%.

@@            Coverage Diff             @@
##             main       #6      +/-   ##
==========================================
- Coverage   99.48%   98.63%   -0.86%
==========================================
  Files           5        5
  Lines         193      219      +26
  Branches       30       39       +9
==========================================
+ Hits          192      216      +24
- Misses          0        1       +1
- Partials        1        2       +1

Flag
Coverage Δ

unittests
98.63% <95.65%> (-0.86%)
:arrow_down:

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

Impacted Files
Coverage Δ

autoregistry/__init__.py
100.00% <ø> (ø)

autoregistry/registry.py
97.72% <88.23%> (-1.50%)
:arrow_down:

autoregistry/config.py
100.00% <100.00%> (ø)

autoregistry/exceptions.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Where to get the usable storage plugin for CentOS 7.4 with SATA disk?

Description
I'm currently using virtualbox to install IML. The manager frontend was successfuly installed(running on CentOS 7.4) and I have use "add server" to add 2 virtualbox vm(CentOS 7.4). But after that in the frontend's storage tab, it complained no storage plugin was installed. So that I can not create MGT because no storage can select for create it. I'm using Virtualbox 5.1.22 and each vm has attach a 20GB SATA virtual disk.
Repro
After install IML and add 2 vm.
Version
What version of IML?
IML <IP_ADDRESS>RC1
What Operating System?
CentOS
What Operating System version?
CentOS 7.4.1708

Hi @guoguixin,
The storage tab is used as a frontend for custom storage plugins; you don't need to reference it to create a fs.
Please see this doc starting here for a reference of how to create a managed fs: https://intel-hpdd.github.io/Online-Help/docs/Creating_new_lustre_fs_3_0.html#3.4
The order of setup for a new managed Lustre FS is:

configuration/servers

Deploy selected servers.

configuration/volumes

Confirm primary / failover is as expected

configuration/Power Control

Setup PDU's / IPMI for each server.

configuration/File Systems

Select MGT MDTs and OSTs and create the fs.


Handle client disconnection when retrying to assign an Erizo

*** Description ***
This PR aims to fix some inconsistence in the data structure when the rpc of addPublisher and addSubscribe return AFTER the client disconnected.
In the actual state, if a client connects, try to publish, the agent respond but the JS goes in timeout state at the addPublisher rpc, the roomController's that.addPublisher function call itself recursively.
But IF the client close the tab during this process of retry, the ondisconnect method in Cient.js is called and removes all the streams (BUT the streams are added in the array only when the state === 'initializing'), and when the JS is ready, it sends back to the client,js the initializing message, the stream is added to the array AFTER the client is gone and remains here forever. This cause also the ErizoJS to think that there's always someone connected and never close itself.

updated PR description
Changed some things as you suggested


Bricked BFUS (Y21ga)

Hello roloeoroleo,
I got another BFUS with 9.0.19 firmware today.
I was able to install version 0.1.9.
Then I tried to update to 0.2.0 (from webinterface).
After that the camera seems not to work anymore.
Then I used y21ga_unhack.tar.gz on empty card to revert the hack.
This seems to work.
Then I installed again y21ga_0.1.9.tgz but now the cam seems to be bricked...
Yellow light stays on and no "click" of the shutter anymore.
I have a backup of all partitions but when I try the new unbrick procedure, nothing happens.
The yellow light is still on all the time
What exact files do I need to reflash the cam (with hopefully working bootloader)?
I created and tried the files:
uboot_y21ga
kernel_y21ga
rootfs_y21ga
home_y21ga
backup_y21ga
env_y21ga
one_y21ga.bin
I have no serial connection at the moment.
This is the second cam, I bricked 8-)
Is there an existing problem when I try to install/remove the hack?
Uwe

The "know" issue is the free space.
backup partition is working with too little free space and it is enough to write some files to corrupt the partition.
For example the hack procedure writes 1 file to the backup partition.
And the old unhack procedure writes 1 file (the same as above).
But the new unbrick procedure works at bootloader level, so it's able to restore the backup partition even if it's corrupted.
You have to copy to the sd only the file backup_y21ga as described in the readme:
https://github.com/roleoroleo/yi-hack-Allwinner-v2/tree/master/unbrick
And if you create the file with the command ./build.sh hacked, the hack procedure doesn't need to write to the backup partition (so it's better if you want to use the hack again).

I tried this (backup_y21ga), but nothing happens (yellow LED is still on).
The I tried with additional backup files...
Hopefully the bootloader is still working.
Any other ideas?
Uwe

Try another sd card or try to reformat it.

This did the job!
With 32GB card it doesnt work.
With another 2GB card I was able to "repair" the cam ;-)
Thanks
Uwe

I was also able to reanimate my old cam 8-)))))
Uwe

Uwe
Could you please share your working backup.  I have trouble (can't flash yi-hack and  connect to wifi) with the same camera model as you mentioned.

Hi MarcinJanCiesielski,
don't you have a backup?
My problem was a not working SD card.
You should try differnt cards...
Uwe

Hi @uklatt
I got YI Home 1080p cameras in such state (unable to connect to WiFi) - I did backup but it is the backup of such faulty state.
I want to repair them. At first I flash yi-hack (Flash folder was renamed to Flash.done) but nothing changed when it comes to connecting. Cameras are BFUS and the firmware version is <IP_ADDRESS>_202007141512. My WiFi is 2.4 and is also OK - I have another YI camera (of different type) where I successfully flashed another yi-hack and connected to my WiFi.
My last hope is to flash original working backup from another cam and try to connect to WiFi.
Marcin

If the other cam is the same model (9.0.19.....) you can use it to restore the 1st cam.
Use only backup partition.

@roleoroleo
Thank you for answer.
I need clarify situation: I have 3 YI Home 1080p (same type: BFUS, same firmware <IP_ADDRESS>_202007141512) but every single one has the same problem - unable to connect to WiFi. I have backups of cams, but if I swap backups the problem stays.
The came which works is YI Dome 1080p PTZ - it's completely different model and firmware so I can't use it.

Did you try this?
https://github.com/roleoroleo/yi-hack-Allwinner-v2/wiki/Change-WiFi-credentials

@roleoroleo
Yes, I tried it. After this operation cams stayed disconnected, but I have no opportunity to check whether yi-hack is applied or not - I can only see that during flashing folder Flash is renamed to Flash.done and AFAIC having yi-hack applied is necessary to conduct operation you mentioned.
I read about similar problem (not connecting to WiFi) on 4pda (Yi Home 720p) - not enough space on partition so I thought my problem is similar and if I flash original blank partitions I will solve it.

You could try to flash the partition obtained with "hacked" argument.
If the problem is the free space, you should solve it.

I downloaded "blank original" backup partition, prepared "unbrick file" according to new unbrick procedure. I flashed prepared file and I fixed all 3 cameras. All connect to WiFi flawlessly.
Thanks for interesting in my issue.


Support for GHC 7.10.3 up to GHC 8.4.1 with adding Semigroup instance

Built and tested

Thanks @varosi. Looks reasonable to me. Will give @dmcclean a chance to look before I merge. If he doesn't object of merge by tomorrow I will merge this.
As a side note we should also add more travis test cases, including your ghc84 one.

I have added changes for Travis to test with.

libtinfo.so.6: cannot open shared object file: No such file or directory

I think that somehow we have to install this library on Travis, but I don't have much experiance with it. @bjornbm, could you help on that? All other compilers seems to work fine there. I already tested all of them locally on my Windows 10.

Thanks again. I took a quick look and this looks relevant. I'm not familiar with Travis CI though (@dmcclean set it up for us) and don't have time to investigate more right now. I propose to comment out the GHC 8.4 line in .travis.yml for now and open a new issue to investigate.

Thanks!

Awesome, thanks @varosi and @bjornbm!


Button with scheme: :invisible has different font colors

Version
0.19.0
Steps to reprdocue

Use an Primer::Beta::Button with scheme: :invisible
Compare how the button looks w/o a trailing or leading visual
The issue can be seen here: https://view-components-storybook.eastus.cloudapp.azure.com/view-components/lookbook/inspect/primer/beta/button/invisible_all_visuals

Actual behaviour

Without an additional visual, the button font is blue
With an additional visual it is black

Expected behaviour

The font color should always be the same
I assume, the default should be black according to this specification: https://primer.style/components/button#invisible

This is expected behavior


Automated Package Upgrade

:tada: This PR is included in version 5.3.59 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Maximum call stack size exceeded when DatePicker inside a modal.

Environment

Tech
Version

material-ui-pickers
1.0.0-rc.10

material-ui
1.0.0-beta.47

React
16.3.2

Browser
Chrome

Platform
Elementary

Moment
2.22.2

Steps to reproduce

Have a DatePicker inside of a Material-UI Dialog/Modal
Click on datepicker

Expected behavior
DatePicker modal opens without errors being logged when clicked.
Actual behavior
The following errors are logger:
Uncaught RangeError: Maximum call stack size exceeded.
at HTMLDocument.Modal._this.enforceFocus (VM1034 Modal.js:185)
at HTMLDocument.value (VM385 Modal.js:246)
at HTMLDocument.Modal._this.enforceFocus (VM1034 Modal.js:185)
at HTMLDocument.value (VM385 Modal.js:246)
at HTMLDocument.Modal._this.enforceFocus (VM1034 Modal.js:185)
at HTMLDocument.value (VM385 Modal.js:246)
at HTMLDocument.Modal._this.enforceFocus (VM1034 Modal.js:185)
...
Live example
Go here https://codesandbox.io/s/y2v3wz3lzx
I can work around this issue by passing disableEnforceFocus to <Dialog/>, but that is not ideal. Being able to pass Dialog/Modal options to the DatePicker would allow for a much better solution. That way a shared ModalManager or disableEnforceFocus could be passed to the Dialog.

Hi @Baradoy, were you able to fix this, I am facing the same issue.

Sorry, @kamalpy I have not had a chance to do anything with this yet. I set 'disableEnforceFocus' on the non-DatePicker modal for the moment. Hopefully in a week or two I can come back to this.

@Baradoy has there been any progress on this issue? We've encountered this issue when implementing this into one of our applications, and would love to have a fix.
If it's a matter of adding some additional props to allow for the passing of shared values, I'm happy to attempt a crack at it, time permitting, although I can't promise my implementation would be the cleanest 😆

Closing in favor of #552
Help is welcome ;)

I'm also experiencing this bug. I have a form inside a FocusTrap HOC using focus-trap-react. When the date picker is opened, this error appears. If I remove FocusTrap, the error doesn't occur. I'm not sure if this is a bug with FocusTrap, the date picker, or the modal component.

Closing in favor of #552

@cherniavskii how exactly does that solve the issue? The problem still exists while using datepicker inside of bootstrap modals - because bootstrap tries to trap focus inside the modal, while your library is trying to trap focus outside of it, in the popover portal.

The easier way to achieve the above hack is to set disablePortal on the dialog (for mobile) and popper (for desktop):
<DatePicker
	...
	slotProps={popper: { disablePortal: true }, dialog: { disablePortal: true } }}
	...
/>


Unable to run compiled application on linux

Hello,
I have attempted to get a compiled server executable to run on linux but I keep getting Unhandled Exceptions. I am compiling in VS2013/VS2015 on Win8.1x64
I have not been able to get even the included samples to run on my Debian 8 box, executing for instance the "EncryptionSample/EncryptionServer.exe" I get the following:
Unhandled Exception:
System.NotImplementedException: The method or operation is not implemented.
at System.Net.NetworkInformation.NetworkInterfaceFactory+LinuxNetworkInterfaceAPI.GetNetMask (System.Net.IPAddress address) <0x41c958b0 + 0x00017> in <filename unknown>:0
at System.Net.NetworkInformation.NetworkInterface.GetNetMask (System.Net.IPAddress address) <0x41c95880 + 0x0001c> in <filename unknown>:0
at System.Net.NetworkInformation.LinuxUnicastIPAddressInformation.get_IPv4Mask () <0x41c957d0 + 0x00043> in <filename unknown>:0
at Lidgren.Network.NetUtility.GetBroadcastAddress () <0x41c6d870 + 0x000f6> in <filename unknown>:0
at Lidgren.Network.NetPeerConfiguration..ctor (System.String appIdentifier) <0x41c6d4d0 + 0x0015b> in <filename unknown>:0
at EncryptionServer.Program.Main (System.String[] args) <0x41c6ad50 + 0x0004f> in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.NotImplementedException: The method or operation is not implemented.
at System.Net.NetworkInformation.NetworkInterfaceFactory+LinuxNetworkInterfaceAPI.GetNetMask (System.Net.IPAddress address) <0x41c958b0 + 0x00017> in <filename unknown>:0
at System.Net.NetworkInformation.NetworkInterface.GetNetMask (System.Net.IPAddress address) <0x41c95880 + 0x0001c> in <filename unknown>:0
at System.Net.NetworkInformation.LinuxUnicastIPAddressInformation.get_IPv4Mask () <0x41c957d0 + 0x00043> in <filename unknown>:0
at Lidgren.Network.NetUtility.GetBroadcastAddress () <0x41c6d870 + 0x000f6> in <filename unknown>:0
at Lidgren.Network.NetPeerConfiguration..ctor (System.String appIdentifier) <0x41c6d4d0 + 0x0015b> in <filename unknown>:0
at EncryptionServer.Program.Main (System.String[] args) <0x41c6ad50 + 0x0004f> in <filename unknown>:0

I saw another issue posting here that stated to include __CONSTRAINED__ in the defined symbols field, which causes the compiler to use PlatformConstrained.cs instead of PlatformWin32.cs, when applying this change my error changes to:
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'Lidgren.Network.NetRandom' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Lidgren.Network.MWCRandom' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Lidgren.Network.NetUtility' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
at Lidgren.Network.NetUtility..cctor () <0x4080ea90 + 0x00085> in <filename unknown>:0
--- End of inner exception stack trace ---
at Lidgren.Network.NetRandomSeed.GetUInt64 () <0x4080b230 + 0x000f7> in <filename unknown>:0
at Lidgren.Network.NetRandomSeed.GetUInt32 () <0x4080b1f0 + 0x0000b> in <filename unknown>:0
at Lidgren.Network.NetRandom..ctor () <0x4080afc0 + 0x0001f> in <filename unknown>:0
at Lidgren.Network.MWCRandom..ctor () <0x4080af30 + 0x0000f> in <filename unknown>:0
at Lidgren.Network.MWCRandom..cctor () <0x4080af80 + 0x00027> in <filename unknown>:0
--- End of inner exception stack trace ---
at Lidgren.Network.NetRandom..cctor () <0x4080ad50 + 0x00027> in <filename unknown>:0
--- End of inner exception stack trace ---
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'Lidgren.Network.NetRandom' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Lidgren.Network.MWCRandom' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Lidgren.Network.NetUtility' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
at Lidgren.Network.NetUtility..cctor () <0x4080ea90 + 0x00085> in <filename unknown>:0
--- End of inner exception stack trace ---
at Lidgren.Network.NetRandomSeed.GetUInt64 () <0x4080b230 + 0x000f7> in <filename unknown>:0
at Lidgren.Network.NetRandomSeed.GetUInt32 () <0x4080b1f0 + 0x0000b> in <filename unknown>:0
at Lidgren.Network.NetRandom..ctor () <0x4080afc0 + 0x0001f> in <filename unknown>:0
at Lidgren.Network.MWCRandom..ctor () <0x4080af30 + 0x0000f> in <filename unknown>:0
at Lidgren.Network.MWCRandom..cctor () <0x4080af80 + 0x00027> in <filename unknown>:0
--- End of inner exception stack trace ---
at Lidgren.Network.NetRandom..cctor () <0x4080ad50 + 0x00027> in <filename unknown>:0
--- End of inner exception stack trace ---

I see it mentioning MWCRandom inside NetRandom, the only line I can find referencing that is:
public static NetRandom Instance = new MWCRandom();
I'm unsure how to proceed further as my internet research does not pull up much on the way of MWC.
Leaving out __CONSTRAINED__, I am able to run the executables in Windows without any issue.
I am using the mono-complete package v4.2.1 on my linux box.
Any help is appreciated, Thanks.

The first exception is based on mono, it doesn't support GetNetMask() in the version you are using. Update maybe?

Had the same problem. Upgraded from mono 4.2.1 to <IP_ADDRESS>. Problem is fixed then.


tech: refactor github comment to use Capgemini Microsoft Bot

Purpose
This PR replaces the out-of-the-box GitHub task to create a comment with a custom task that uses a GitHub App to make the request. This is preferred so that it's not a named user.
Approach
As above.
TODOs

[ ] Automated test coverage for new code
[ ] Documentation updated (if required)
[ ] Build and tests successful

Please note, that the build (test) failures are not related to these changes. These are being investigated separately.

Closes #126


Placeholder visible when a value is pre-selected

Describe the bug
Placeholder text is visible when dropdown has a selected value prior to plugin initialization.
To Reproduce
Steps to reproduce the behavior:

Go to https://tom-select.js.org/examples/
Scroll down to <select> <option disabled>
Notice that next to Nikola Tesla there is also Select a person... placeholder text visible.

Expected behavior
Dropdown has a selected value, therefore placeholder text should not be visible.
Continuing on the steps above, if you open the dropdown and click on Nikola Tesla option (so, just selecting again the option that is already selected), then the placeholder text goes away. The two states (on page load and after clicking the option) are the same, so the representation should also be the same, i.e. without the placeholder.
Perhaps this is not so straight forward for multi-select case, not sure what is the desired behavior there. But for single-select case, it is clear - selected value == hidden placeholder.
Additional context
Add any other context about the problem here.

OS: Mac 11.2
Browser Chrome
Version 88.0.4324.192 (Official Build) (x86_64)
Device: Macbook pro

The is actually the intended default behavior at the moment. Leaving it as is makes it easier to customize with plugins (dropdown_input and input_autogrow) or to use the controlInput setting.


Added the Speech To Text Button

Added the "Speech to Text" button.

Note
Be sure to allow the use microphone option on the website.

Issue: #34
Preview:
https://user-images.githubusercontent.com/91705825/194049825-33a17c66-1de6-488d-8742-f7035fbc3a94.mp4

@Shivam-Katare Is your branch updated?

@Shivam-Katare Is your branch updated?

Yes @Susmita-Dey my branch is Updated


Remove deprecated "register" keyword from half.h

The "register" keyword is deprecated and is ignored by modern compilers.  It is causing compiler warning spam in C++11 projects that use OpenEXR.  This commit removes the offending two occurrences.
Thanks!

LGTM.

Any chance that this might be merged, then?  Thanks in advance!

Believe it or not, but it looks like "register" still affects code generation for x86-64 with gcc 4.8.x and resulted in code for the half-from-float constructor that is slightly worse without the register keyword in the source.  Since gcc 4.8 is still part of the VFX reference platform for the next year, it may not be time for this yet.

Further tests with proper optimization show no difference in code generation, so there's no longer any reason to hold off on this.  I'm going to merge a similar PR that's for the develop branch.  Thanks!


Rust MUSL support

Checklist:

[x] Read the Code of Conduct and Contributing Guidelines.

[x] Followed the commit message guidelines.

[x] Stack adheres to Appsody stack structure.

Modifying an existing stack:

[x] Updated the stack version in stack.yaml

This PR switches the Rust target to MUSL, allowing static linking of all built binaries. This reduces the production image size (tried with hello world provided by appsody init) from:
rust-appsody-test   latest              527bcec585bd        About a minute ago   1.02GB

To:
rust-appsody-test         latest              9ad501bba26b        26 seconds ago      2.85MB

Related Issues:
Related to https://github.com/appsody/stacks/issues/515

Can you also change the path in the launch.json config since this PR changes the directory where the binary is generated :)

@slinkydeveloper This PR looks really good, thanks for raising it!

@skoh7645 Could we also change the rocket stack to this? Or does it need the rust-slim image to run?

@slinkydeveloper Can you also add a user to the production dockerfile so we don't run as root

@skoh7645 this one https://github.com/appsody/stacks/pull/526/commits/9a39c02fc42020decf8a8691d633cd245a10b415 should do the trick

I can't manage to reproduce the CI failure locally, any ideas?

I ran this build on my branch locally with appsody stack validate on verbose and found that this was the error:

So it's not a problem with your stack. There is an issue open on this https://github.com/docker/for-linux/issues/484


Update troubleshooting docs

This PR makes a few small updates to troubleshooting docs in response to some user issues:

encourages users to check the ACME authorization URL when debugging failed orders/challenges (see cert-manager#4676 for context
tries to make webhook troubleshooting docs easier to find by linking them in FAQs

/kind cleanup

/lgtm


IoT Edge stops sending telemetry after WSSD Agent and Vmmem CPU and EFLOW.vhdx Disk usage climb to excessive levels.

After about 20 minutes the CPU and Disk usage climbs very high and IoT Edge stops sending telemetry and PowerShell, Linux connection, etc. stop responding.
This issue of excessive CPU and Disk usage causing things to stop streaming and stop responding repeats even with a fresh installation of Windows 10 IoT Enterprise 2019 LTSC and EFLOW. The only thing that stays the same is the Azure DPS X509 enrollment with IoT Hub group deployment of 2 modules (simulated temperature sensor and streaming analytics reset module). This same deployment has worked on four other Ubuntu Linux computers and 2 Raspberry PIs for three months without issues.
Rebooting the computer restarts telemetry and all is calm for another 20 minutes or so until the excessive CPU and DIsk usage starts back up again.

WSSD Agent Service CPU usage 25% initially. Then 28% after 20 minutes. Not much change.

Vmmem CPU usage <1% initially. Then 25% after 20 minutes. Big change.

AzureIoT EdgeForLinux-v1-EFLOW.vhdx 48Kbps initially.  Then 14 Mbps after 20 minutes then 160 Mbps after 25 minutes. Big change.

Is there a leak or something building up that is not properly managed behind the scenes?

I am not sure how to find out what is causing the high disk and memory usage and the effective shutting down of telemetry.

The Disk will keep running at nearly full capacity after an hour or more until rebooted even after telemetry stops sending. The CPU and Disk keep operating at very high capacity with the SSD LED on the front panel on solid.
What steps could be taken to troubleshoot? Since I cannot see logs when the computer is not responding, are we able to store logs on the computer to view when booting up and stopping iotedge from working?  Would it be possible to eliminate the deployment, delete the containers and start with just two modules, the edgeAgent and the edgHub and see if the problem is related to the containers?
I will post screen clippings after submitting this issue.

Here are two screen clippings which show initial and after 20 minutes CPU and Disk usage.

@dmaxwel,
Thank you for the very thorough report.  We have a fix for the excessive CPU utilization of WSSDAgent and will make it available in our next servicing update.  If all goes well this update will be available the week of July 26th.
Terry Warwick
Microsoft

OK, I noticed, by the way, that it seemed calm when I had just the SimulatedTemperatureSensor running alone. When adding the Azure Streaming Analytics module to do a simple reset of the temperature module then the trouble began and after 15 or 20 minutes the entire PowerShell window is useless and telemetry stops.
In the next week to 10 days until this update comes out, I will experiment with other types of modules to see if that makes a difference.

I had this exact issue on the public preview (before the GA). Increasing the virtual machine memory from 1 GB (default) to 2 GB (or more) fixed the issue for me. It seems that the issue is related to the virtual machine excessively using the Linux swap space on the virtual disk caused by the lack of memory availability. Though, I was not able to reproduce the issue on the GA.

@TerryWarwick we encounter the same issue. Is there a workaround available?

@samuelbertrand your tip seems to have provided a solution for this problem of everything coming to a halt. I should have thought about that but didn't.  The upgrade of virtual machine memory has solved one additional problem.  The Vmmem CPU utilization is very low now and the Disk usage is nearly 0% after an hour of running with the original two modules (SimulatedTemperatureSensor, and my Azure Streaming Analytic temperature reset mdule).
Here are the steps I did to get to this point (taken from the PowerShell functions for IoT Edge for Linux on Windows web page:
https://docs.microsoft.com/en-us/azure/iot-edge/reference-iot-edge-for-linux-on-windows-functions )
Stop-EflowVM
Set-EflowVM -memoryInMB 4096
Start-EflowVM
That redeployed the Linux virtual machine with 4GB of RAM allocated.
I don't know how to to find out how much memory that the virtual machine has when running so am not sure what it was before doing this.  @samuelbertrand mentioned 1 GB (default) above. Now it is set to 4 GB.
After doing that, I also did the following:
sudo systemctl stop iotedge
sudo docker image list
sudo docker rmi "idofdockerimage"
Repeated the removal of docker images until all docker images were deleted.
Then
I then went into the Azure IoT Edge Deployments and changed the priority of the desired deployment containing the Azure Streaming Analytics module so that when the iotedge service restarts it will download the correct containers and runtimes of edgeAgent and edgeHub.
Then
sudo systemctl start iotedge
Then in the Azure IoT Edge portal, went to the IoT Hub, IoT Edge devices, then clicked on this device and then clicked on "Troubleshoot". This has become a very valuable addition to the portal and I appreciate that. I was able to see logs of each module.
After an hour all is calm.
However, the WSSD Agent CPU utilization is still at 26% and so the upcoming release will be appreciated to reduce that.

@dmaxwe22 What version of EFLOW are you using?

@ms-vincent can you tell me how to find the EFLOW version? I downloaded it around the 15th of July. Why do you ask?

PS C:\WINDOWS\system32> Get-EflowVM | Format-List
VmConfiguration    : @{ID=1b07306e9a1fc5c; name=DESKTOP-G5K33IS-EFLOW; properties=; tags=}
EdgeRuntimeVersion : @{IotEdgeVersion=1.1.3; MobyEngineVersion=19.03.15+azure; MobyCliVersion=19.03.15+azure}
EdgeRuntimeStatus  : @{SystemCtlStatus=System.Object[]; ModuleList=System.Object[]}
SystemStatistics   : @{TotalMemMb=3747; UsedMemMb=847; AvailableMemMb=2749; TotalStorageMb=9900; UsedStorageMb=1441; AvailableStorageMb=8041; CpuCount=4; KernelVersion=<IP_ADDRESS>-1.cm1 #1 SMP Fri Jun 4
11:14:43 UTC 2021}

Hi @dmaxwe22
We have released our latest EFLOW update that fixes the high CPU usage by WSSD Agent. Thank you for your detailed information about the high memory usage, and it's nice to know that you were able to solve it by assigning more memory to the EFLOW VM. For more information on our latest update, check 1.1.2107.0 Release Notes.
Thanks,
Francisco

Is there any other ways to validate that the update has been deployed? I'm seeing high CPU even after installing 1.1.2107.0.  There is no deployment set and the only module running is EdgeAgent.  Just wanted to make sure I had the bits deployed correctly before opening a new issue:

Not sure if its related or not, but edgeAgent logs look like this:

Hi @nenright,
Can you run Get-EflowVM | Format-List in PowerShell so that we can understand your VM configuration?
Thanks,
Francisco

Does the version upgrade require a machine reboot? After rebooting the host things appear back to normal however I don't know if its something that will creep back over time.
Get-EflowVM | Format-List

VmConfiguration    : @{ID=13dfb745fe82122; name=PSFD-NENRIGHT-EFLOW; properties=; tags=}
EdgeRuntimeVersion : @{IotEdgeVersion=1.1.4; MobyEngineVersion=19.03.15+azure; MobyCliVersion=19.03.15+azure}
EdgeRuntimeStatus  : @{SystemCtlStatus=System.Object[]; ModuleList=System.Object[]}
SystemStatistics   : @{TotalMemMb=787; UsedMemMb=278; AvailableMemMb=450; TotalStorageMb=9900; UsedStorageMb=652;
                     AvailableStorageMb=8831; CpuCount=1; KernelVersion=<IP_ADDRESS>-3.cm1 #1 SMP Mon Jun 28 13:00:04 UTC
                     2021}

@nenright,
Thanks for your information. I'm seeing that you're using a 1GB VM - Can you assign 2GB to the VM using the Set-EflowVm command?
Also, could you please share information about your Windows version? You can type winver directly in Windows and will get the whole information.
Thanks,
Francisco

I'm no longer experiencing the behavior on my test device after the reboot - it is currently working as expected even with 1 gig.  test device is on 21H1 OS Build 19043.1165
we did see this in the field that had a device configured with 2 cores and 4GB. After a reboot of that device we think it resolved itself as well.  I may have another device in the field in the high cpu/mem state but I'm not 100% sure (currently don't have a good way to monitor the VM Host remotely).  If this is of interest to you, I can try to coordinate with the client to get some downtime to remote in and get some details.
if a reboot is needed after edge is updated with wus going forward, we'll just need to know that to coordinate.

@fcabrera23, I believe my test machine is back in the high cpu/memory state.  I haven't done anything with it since my previous post. It's provisioned but no deployments set.  edgeAgent is the only running module.  The memory and cpu load appears to get worse over time.
Windows update indicates that KB5005565) was installed and there is a pending restart. I assume if I do, memory and CPU will return.  Let me know if there is anything I can collect for you while it is in this state.

Hi @nenright,
Can you try doing a Get-EflowVm | Format-List and share the output? We are seeing an increase in the Docker logs file that can end up in this situation.
Thanks,
Francisco

So some more info...  looks like the Antimaleware scan was what was causing things to spike.  after 20ish min, things calmed down although ever ~1 second the hyper-v compute and wssdagent cycle through a ~3 second high cpu period so they go up and down.  Maybe the metrics scrape (its trying to scrape the metrics for edgeHub but it isn't deployed)?
here is the get-eflowvm output.
PS C:\Users\nenright> Get-EflowVm | Format-List VmConfiguration    : @{ID=13dfb745fe82122; name=PSFD-NENRIGHT-EFLOW; properties=; tags=} EdgeRuntimeVersion : @{IotEdgeVersion=1.1.4; MobyEngineVersion=19.03.15+azure; MobyCliVersion=19.03.15+azure} EdgeRuntimeStatus  : @{SystemCtlStatus=System.Object[]; ModuleList=System.Object[]} SystemStatistics   : @{TotalMemMb=787; UsedMemMb=269; AvailableMemMb=453; TotalStorageMb=9900; UsedStorageMb=903; AvailableStorageMb=8579; CpuCount=1; KernelVersion=<IP_ADDRESS>-3.cm1 #1 SMP Mon Jun                      28 13:00:04 UTC 2021}

Hi @nenright,
After more investigation, we didn't see any modules generating excessive logs in journal logs, so we checked how the journald is designed again. It turns out that the memory usage is bound to the possible maximum of the active log file (the one currently written to).

This value can be correlated to the setting of  "SystemMaxFileSize". The lower the value is, the less of the working memory the journald will take. By default, this value of "SystemMaxFileSize" is 1/8 of the maximum total logs size (1GB in EFLOWVM by default), so hypothetically, the journald at most will map 250MB (125MB for active system journal + 125MB for active user journal) into the working memory. And for the resource constraint device, this behavior may be not ideal.
Customers that do not want this behavior can modify the "/etc/systemd/journald.conf" to add "SystemMaxFileSize" to indirectly cap the journald memory usage.
Just for testing purpose, one can modify the file, and then do the following without VM reboot:

sudo systemctl daemon-reload
sudo systemctl restart systemd-journald
sudo journalctl --rotate


chore: migrate documentation site to 11ty [CSS-294]

Description

How and where has this been tested?

How this was tested:
Browser(s) and OS(s) this was tested with:

Screenshots

To-do list

[ ] If my change impacts other components, I have tested to make sure they don't break.
[ ] If my change impacts documentation, I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have tested these changes in Windows High Contrast mode.

[ ] This pull request is ready to merge.

Moving work into #2093


[PE-D][Tester A] Inappropriate Delete Error Message

Although the correct command is used (but wrong index number), the response in the output box mentions the above, even though it is a known command. Perhaps the team may want to adjust the error message.

Labels: severity.Low type.FeatureFlaw
original: BuffWuff1712/ped#8

Wrong command its supposed to be delete_<guest/vendor>


SCRIPT1002 error on IE 11

I use Laravel5.3 + Vue2.
Works fine on both Chrome and Firefox.But on IE11 gives me SCRIPT1002 error.
I found the problem file is that  utils.js and ClickOutside.js, which is related to ES6.
Do I have any way to compile all the vue-strap to ES5 format?

I tried to use babel to compile these two files to es5 format. The error disappears.
./node_modules/.bin/babel node_modules/vue-strap/src/directives/ClickOutside.js -o node_modules/vue-strap/src/directives/ClickOutside.js
./node_modules/.bin/babel node_modules/vue-strap/src/utils/utils.js -o node_modules/vue-strap/src/utils/utils.js


Remove app.googleAnalyticsTrackingId and related scripts

The analytics plugin removed the need for app.googleAnalyticsTrackingId and the script tags in packages/app/public/index.html. More context: https://discord.com/channels/687207715902193673/1007303347914690610/1014108244664401952
Signed-off-by: Elizabeth Hobbs<EMAIL_ADDRESS>Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[X] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[X] All your commits have a Signed-off-by line in the message. (more info)

Or maybe @freben this week?