Drive unit malfunctioning

Robot Model
Turtlebot4 Standard
ROS distro
Humble
Networking Configuration
Discovery Server
OS
Ubuntu 22.04
Built from source or installed?
Built from Source
Package version
Base: H2.6.
Expected behaviour
The robot should move forward or backward in a straight line when commanded to do so.
Actual behaviour
When commanding the robot to drive forward, the robot is spinning on the spot, alternating between clock-wise and counter-clock-wise every 500ms. The same happens when command backwards.
Error messages
Sep 20 14:40:55 uwbot-15-base user.notice create-platform: [WARN] [1726843255.423229455] [motion_control]: Reached backup limit! Stop Driving robot backward or disable
from safety_override parameter!
Sep 20 14:40:55 uwbot-15-base user.notice create-platform: 221,-221 meas_vel:191,-184
Sep 20 14:40:55 uwbot-15-base user.notice create-platform: [DBG] [SE]: !wheels_stopped - odom:473,-1182
Sep 20 14:40:55 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:221,-221 meas_vel:192,-159
Sep 20 14:40:55 uwbot-15-base user.notice create-platform: [WAR] Packet handler running too long exec_time: 21 id: 25
Sep 20 14:40:55 uwbot-15-base user.notice create-platform: [DBG] [SE]: !wheels_stopped - odom:1564,-2534
Sep 20 14:40:55 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:0,0 meas_vel:-1,0
Sep 20 14:40:55 uwbot-15-base user.notice create-platform: [DBG] [SE]: !wheels_stopped - odom:1552,-2524
Sep 20 14:40:55 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:-221,221 meas_vel:-171,196
Sep 20 14:40:55 uwbot-15-base user.notice create-platform: [DBG] [SE]: !wheels_stopped - odom:1907,-3046
Sep 20 14:40:55 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:221,-221 meas_vel:211,-191
Sep 20 14:40:55 uwbot-15-base user.notice create-platform: [DBG] [SE]: !wheels_stopped - odom:3457,-4595
Sep 20 14:40:55 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:221,-221 meas_vel:180,-185
Sep 20 14:40:55 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:12,-12 meas_vel:0,0
Sep 20 14:40:55 uwbot-15-base user.notice create-platform: [DBG] [SE]: !wheels_stopped - odom:4791,-5932
Sep 20 14:40:55 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:-221,221 meas_vel:-168,181
Sep 20 14:40:55 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:6,-6 meas_vel:0,0
Sep 20 14:40:55 uwbot-15-base user.notice create-platform: [DBG] [SE]: !wheels_stopped - odom:5025,-6164
Sep 20 14:40:55 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:-221,221 meas_vel:-171,197
Sep 20 14:41:15 uwbot-15-base user.notice create-platform: [DBG] [SE]: !wheels_stopped - odom:4766,-5905
Sep 20 14:41:15 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:-221,221 meas_vel:-148,170
Sep 20 14:41:15 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:3,-3 meas_vel:0,0
Sep 20 14:41:15 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:7,-7 meas_vel:0,0
Sep 20 14:41:15 uwbot-15-base user.notice create-platform: [DBG] [SE]: !wheels_stopped - odom:4492,-5628
Sep 20 14:41:15 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:0,0 meas_vel:-4,0
Sep 20 14:41:15 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:14,-14 meas_vel:0,0
Sep 20 14:41:15 uwbot-15-base user.notice create-platform: [DBG] [SE]: !wheels_stopped - odom:4635,-5769
Sep 20 14:41:15 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:221,-221 meas_vel:213,-179
Sep 20 14:41:15 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:3,-3 meas_vel:0,0
Sep 20 14:41:15 uwbot-15-base user.notice create-platform: [DBG] [SE]: !wheels_stopped - odom:5007,-6141
Sep 20 14:41:15 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:30,-30 meas_vel:0,0
Sep 20 14:41:15 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:6,-6 meas_vel:0,0
Sep 20 14:41:15 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:11,-11 meas_vel:0,0
Sep 20 14:41:15 uwbot-15-base user.notice create-platform: [DBG] [SE]: !wheels_stopped - odom:5373,-6509
Sep 20 14:41:15 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:-221,221 meas_vel:-160,166
Sep 20 14:41:15 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:11,-11 meas_vel:0,0
Sep 20 14:41:15 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:16,-16 meas_vel:0,0
Sep 20 14:41:16 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:6,-[INFO] [1726843276.166011929] [system_health]: CPU usage: max 84
[%] mean 78 [%] RAM usage: 31/59 [MB]
Sep 20 14:41:22 uwbot-15-base user.notice ntpd: ntpd: timed out waiting for <IP_ADDRESS>, reach 0x00, next query in 541s
Sep 20 14:41:48 uwbot-15-base user.notice create-platform: 6 meas_vel:0,0
Sep 20 14:41:48 uwbot-15-base user.notice create-platform: [DBG] [SE]: !wheels_stopped - odom:5395,-6532
Sep 20 14:41:48 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:-221,221 meas_vel:-157,177
Sep 20 14:41:48 uwbot-15-base user.notice create-platform: [DBG] [SE]: !wheels_stopped - odom:4341,-5481
Sep 20 14:41:48 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:-221,221 meas_vel:-185,173
Sep 20 14:41:48 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:-17,-17 meas_vel:0,0
Sep 20 14:41:48 uwbot-15-base user.notice create-platform: [DBG] [SE]: !wheels_stopped - odom:4223,-5363
Sep 20 14:41:48 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:221,-221 meas_vel:187,-177
Sep 20 14:41:48 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:11,-11 meas_vel:0,0
Sep 20 14:41:48 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:2,-2 meas_vel:0,0
Sep 20 14:41:48 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:2,-2 meas_vel:0,0
Sep 20 14:41:48 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:8,-8 meas_vel:0,0
Sep 20 14:41:48 uwbot-15-base user.notice create-platform: [DBG] [SE]: !wheels_stopped - odom:4991,-6131
Sep 20 14:41:48 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:221,-221 meas_vel:181,-180
Sep 20 14:41:48 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:15,-15 meas_vel:0,0
Sep 20 14:41:48 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:6,-6 meas_vel:0,0
Sep 20 14:41:48 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:7,-7 meas_vel:0,0
Sep 20 14:41:48 uwbot-15-base user.notice create-platform: [DBG] [SE]: !velocity_stopped - cmd_vel:3,-3 meas_vel:0,0

ubuntu@uwbot-15:~$ ros2 topic echo --once /battery_state
header:
stamp:
sec:<PHONE_NUMBER>
nanosec: 512095865
frame_id: ''
voltage: 15.463000297546387
temperature: 37.349998474121094
current: -0.8700000047683716
charge: 0.652999997138977
capacity: 1.0
design_capacity: 1.0
percentage: 0.6499999761581421
power_supply_status: 0
power_supply_health: 0
power_supply_technology: 0
present: true
cell_voltage: []
cell_temperature: []
location: ''
serial_number: ''
---

To Reproduce
Launch console application for keyboard teleoperation. Command the robot to move forward and backwards.
Other notes
Performed factory reset of the base, but this did not change the behavior.

We replaced the drive units of the base which did not fix the issue.

After cleaning the bumper inside I'm still getting:
header:
  stamp:
    sec: 0
    nanosec: 0
  frame_id: base_link
detections:
- header:
    stamp:
      sec:<PHONE_NUMBER>
      nanosec: 639798548
    frame_id: base_link
  type: 0
---
header:
  stamp:
    sec: 0
    nanosec: 0
  frame_id: base_link
detections:
- header:
    stamp:
      sec:<PHONE_NUMBER>
      nanosec: 991799204
    frame_id: base_link
  type: 0
---
header:
  stamp:
    sec: 0
    nanosec: 0
  frame_id: base_link
detections: []
---

And after this the robot still stops/turns around.

And /ir_intensity is showing:
---
header:
  stamp:
    sec:<PHONE_NUMBER>
    nanosec: 740484766
  frame_id: base_link
readings:
- header:
    stamp:
      sec:<PHONE_NUMBER>
      nanosec: 740484766
    frame_id: ir_intensity_side_left
  value: 0
- header:
    stamp:
      sec:<PHONE_NUMBER>
      nanosec: 740484766
    frame_id: ir_intensity_left
  value: 3
- header:
    stamp:
      sec:<PHONE_NUMBER>
      nanosec: 740484766
    frame_id: ir_intensity_front_left
  value: 0
- header:
    stamp:
      sec:<PHONE_NUMBER>
      nanosec: 740484766
    frame_id: ir_intensity_front_center_left
  value: 1
- header:
    stamp:
      sec:<PHONE_NUMBER>
      nanosec: 740484766
    frame_id: ir_intensity_front_center_right
  value: 4
- header:
    stamp:
      sec:<PHONE_NUMBER>
      nanosec: 740484766
    frame_id: ir_intensity_front_right
  value: 0
- header:
    stamp:
      sec:<PHONE_NUMBER>
      nanosec: 740484766
    frame_id: ir_intensity_right
  value: 1
---

Where all values are flickering from 0-4.

Setting reflexes_enabled: false in the motion_control yaml configuration does fix the behavior. My guess is that the bumper electronics have an issue (since it affects all bumpers). Temporarily this is acceptable but some functionality of the base is apparently still impacted - automatic docking does not work.

Hi there Alexander for creating this ticket.
I'm sorry to see your TB4 is experiencing this issue.
Could you please replicate your concern and then please share the Create3 logs?
Big thanks,
Rusty

@RustyCPR
Here is the log. I rebooted the robot and let it start completely. Then backed it off the base and drove it onto the base (manually). This is with reflexes_enabled: false, so I'm not sure if the issue is visible. If needed I can provide another log with reflexed_enabled: true. Just let me know.

base.log
Here is the log with reflexed_enabled: true. It immediately displayed the strange behavior. In this session I rebooted the base while the robot was on the dock. Then drove it backwards off the base. This resulted in the robot spinning, like it was trying to avoid an obstacle.

Hello @alexswerner
Thank you for sending these logs. We'll begin our analysis and let you know what we find. Looking forward to connecting soon.
Best Regards,
Saif

Hello @alexswerner ,
Apologies for the late reply on this. Reviewing the log details it seems that the drive issue may be due to a firmware issue on the Create 3. Would it be possible to try and:

Update the Create3 to the latest firmware version H.2.6, if this version is already loaded, reflash it by downloading the firmware file from here - https://iroboteducation.github.io/create3_docs/releases/overview/ and uploading it to the Create3
Following the firmware update perform a factory reset using the About tab in the webserver - https://iroboteducation.github.io/create3_docs/webserver/about/

Following the above process let us know if the Turtlebot 4 unit still exhibits the erratic driving behaviour.
Looking forward to hearing from you soon.
Best Regards,
Saif

Hello @alexswerner ,
It has been quite some time since I last heard from you. Do you have any updates to share? Looking forward to hearing from you soon.
Best Regards,
Saif

Hello @alexswerner ,
This issue is being closed due to inactivity. If you are still experiencing the issue, feel free to reopen this ticket when you are ready to continue the troubleshooting process.
Best Regards,
Saif


[FLINK-9436][state] Remove generic parameter namespace from InternalTimeServiceManager

Brief change log
This PR removes the misleading generic parameter N from InternalTimerServiceManager<K, N>.
Please notice that this PR is only about commit 4fc3715 and already sits on top of PR #6062.
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

+1

Thanks for the reviews. Will merge this.


Context does not apply through

Hello,
I'm currently using material-ui in my app. I'm taking advantage of pages/_document.js, along with :
// pages/_document.js

render() {
    return (

            <MuiThemeProvider muiTheme={{ ... ]}>

            </MuiThemeProvider>
          <NextScript />

    );
}

Then the page being loaded:
// pages/index.js
render() {
    console.log(this.context.muiTheme) // undefined
    return (...);
}
...
Index.contextTypes = {
    muiTheme: React.PropTypes.object.isRequired
};

So normally, the context would be passed through and I'd have access to the theme properties, and so would any material-ui components. However, in this case the context is not being applied.
Logging out the context in the Main source code works.

Is this expected?
Is there any work around?

@Ehesp can I have a sample repo. So, I could work on this pretty fast.

Sure, should hopefully be able to slap something up in the next couple of
hours.
On 24 Jan 2017 7:53 pm, "Arunoda Susiripala"<EMAIL_ADDRESS>wrote:
@Ehesp https://github.com/Ehesp can I have a sample repo. So, I could
work on this pretty fast.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zeit/next.js/issues/873#issuecomment-274918824, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAzZXiaxLrsVrtxGgaZyea1Z3e7EK3pJks5rVlacgaJpZM4Lsscv
.

@arunoda Here you go: https://github.com/Ehesp/next-mui-context
Install modules and just npm run dev. So basically the _default.js file wraps the entire application in MuiThemeProvider. Under the hood this just provides context to the app. The MUI component within index.js (<RaisedButton ...>) then uses this context to apply the theme. Currently it errors with TypeError: Cannot read property 'prepareStyles' of undefined, which means there's no context (https://github.com/callemall/material-ui/issues/5330#issuecomment-251843011).
In Index, if you comment out render and uncomment the currently commented ones, it works.

@Ehesp hey, I checked it and unfortunately that's something you can't do.
The idea behind the _document.js is to customize the base HTML document of the app.
Although it uses React, it's something only runs on the server. So, React is just an API to customize the base HTML page.
Actual, Next.js app is runs inside the . So, basically that's where the react's root element lives.
So, you need to provide your MUI context in the page's render method.

Also there's a problem with the SSR when doing styles. Check the console.
That's because of the userAgent mismatch in the server and client.
Here's a easy and ugly fix: https://github.com/callemall/material-ui/pull/3009#issuecomment-177713403
But here's the proper way to do it:
import React from 'react';
import RaisedButton from 'material-ui/RaisedButton';

import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import getMuiTheme from 'material-ui/styles/getMuiTheme';
import darkBaseTheme from 'material-ui/styles/baseThemes/darkBaseTheme';

export default class extends React.Component {

    static getInitialProps = ({ req }) => {
        const userAgent = req? req.headers['user-agent'] : navigator.userAgent
        return { userAgent }
    }

    render() {
        const { userAgent } = this.props
        return (

                <MuiThemeProvider muiTheme={getMuiTheme(darkBaseTheme, { userAgent })}>

Render a styled MUI Button:

                        <RaisedButton label="Button" primary style={{ margin: 12 }} />

                </MuiThemeProvider>

        );
    }
}

I use material-ui in my app. I created a layout component that will just wrap whatever is passed into the layout component. Is that what your trying to accomplish?

Hey. Thanks for checking that out.
That's fine then, I'll make a decorator to contain each of the pages. I'm
assuming this is going to be the same as Redux then using Provide.
Cheers
On 25 Jan 2017 3:25 am, "Tyler Knipfer"<EMAIL_ADDRESS>wrote:

I use material-ui in my app. I created a layout component that will just
wrap whatever is passed into the layout component. Is that what your trying
to accomplish?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zeit/next.js/issues/873#issuecomment-275009300, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAzZXjsgrkktK37JGYjglSTNAbMW4T9Pks5rVsCkgaJpZM4Lsscv
.

@arunoda https://github.com/zeit/next.js/issues/590
I believe this is a similar issue. If wrapping each page item in Provider, which provides store context is rerendered on each page load how is state supposed to be persisted? Each page would have a fresh store.
It's almost as if there needs to be a React wrapper for every page?

For those interested, here's the solution we took, handles both Redux & Material-UI:
// pages/index.js
function Index() {
    ...
}

export default Page(connect()(Index));

Every page is wrapped in a Page decorator/HOC, which does the following:
const decorator = (ComposedComponent) => {
  return class extends Component {

    static async getInitialProps(ctx) {
      const { req } = ctx;
      const isServer = !!req;
      const userAgent = req ? req.headers['user-agent'] : navigator.userAgent;

      // Second param here is initial redux state on the server
      const store = initStore(reducers, {}, isServer);

      let pageProps = {};

      if (ComposedComponent.getInitialProps) {
        pageProps = await ComposedComponent.getInitialProps(ctx);
      }

      return {
        ...pageProps,
        initialState: store.getState(),
        isServer,
        userAgent,
      };
    }

    constructor(props) {
      super(props);
      this.store = initStore(reducers, props.initialState, props.isServer)
    }

    render() {
      return (

          <Provider store={this.store}>
            <MuiThemeProvider muiTheme={getMuiTheme({ userAgent: this.props.userAgent })}>
              <ComposedComponent
                {...this.props}
              />
            </MuiThemeProvider>
          </Provider>

      )
    }
  };
};

export default decorator;

This now provides Redux & MUI throughout every page. It also allows the actual page file to use getInitialProps as well, using the following lines in the decorator:
      if (ComposedComponent.getInitialProps) {
        pageProps = await ComposedComponent.getInitialProps(ctx);
      }

These are then applied into the props of the contained page/component.

@arunoda should we create an example showing how to use material-ui with next.js? We've had questions about material-ui multiple times 😄

@timneutkens why not :)

The code with the page decorator works great. I'm still getting this error

React attempted to reuse markup in a container but the checksum was invalid

Maybe it's just something I'm doing wrong but it would be great if there is something anyone knows about this. I also can't find the cleanest way to add injectTapEventPlugin() where it just gets run once.

Hey @arunoda, really like the library but this is a main issue in my opinion.
It looks like there is currently no way for a component to live globally in the app ?
Would be nice to have a place to declare components outside the pages.

A solution that I just wrote and havent fully tested out but seems to be working is
HOC
`
import { compose } from 'redux';
import withRedux from 'next-redux-wrapper';
import store from '../../store/index';
import { userAgent, withMuiTheme } from './withMUITheme';
// compose higher order Component
export default compose(withMuiTheme(userAgent), withRedux(store));
withMuiThemeimport React from 'react';
import getMuiTheme from 'material-ui/styles/getMuiTheme';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
export const userAgent = getMuiTheme({ userAgent: false });
export const withMuiTheme = userAgent => Component => () =>

;
`
then my page can be exported
`
import withMUITheme from '../MaterialHOC/index';
const Board = () =>

;
export default withMUITheme(Board);
`


Mq/mongo capped

A simple Mongo capped collection & tailable cursor based queue.
This is still a WIP, tasks left to do:

[ ] prepare different test configurations
[ ] introduce node-scoped cursor state (right now all nodes use the same 'last seen doc' property)

Looks good :) The only thing that concerns me is the Option allocation, could you compare if it affects results in any significant way?

Will check 👍


[WIN M5] WIN (ZIP/MSI) Installation

Tasks(ZIP)
Tasks(MSI)
Estimate
Status(ZIP)
Status(MSI)
Notes

Test whether WIN artifact can install on Windows 10 Machines, more details on the validation section.
Same
1
Completed
TBA

Users download the WIN artifact directly through the links we provide on website download page
Same
3
Completed
TBA

Users extract the zip install the package on host
Users double-click the MSI to install the package on host
3
Completed
N/A
TBA

User use batch scripts or custom scripts to manage their service
User use batch scripts or Windows Service directly to manage their service
3
Completed
N/A
TBA

We will put MSI steps in another issue, ZIP is released now so it is partially completed.


Remove modal prop from ComboboxPopover

Current behavior
Clicking on the input more than once makes the popup flash.
Steps to reproduce the bug

Open sandbox: https://codesandbox.io/s/1f0t72?module=src/combobox.tsx
Click on the input
Click again

Expected behavior
Popover to keep open.
Possible solutions
No response

We need to render the popup on a portal to avoid issues related to zindex and overflow hidden.

We need to render the popup on a portal to avoid issues related to zindex and overflow hidden.

Got it. In that case you want <ComboboxPopover portal>

Oh, I remember using modal with some early Reakit component versions. I guess it has changed at some point, right?


Allow streaming in constant space

Closes #275
Closes #181
Adds [scan|query]To and [scan|query]toPaged that thread in an effect type with monoid properties (Alternative <: Applicative with MonoidK). Actually we need a stronger constraint, MonadPlus, as this is required in the interpreter, but that class is missing in cats.

[x] add default F ~> G for the various interpreters
[x] add more tests
[x] add documentation
rewrite scan and query with [scan|query]To

Nitpicking: it might be good to mark such PR as draft until they are ready for review. I always wonder if I should review it or not.

Yeah totally... how do I do that? 😅

I don't know if you can move a PR back to draft state. https://github.blog/2019-02-14-introducing-draft-pull-requests/
Next time though

Ah yeah, that's useful! Will @ you when ready ✌

I won't rewrite scan as it requires to have a functor for ScanamoOpsA, and I'm not going there in this PR.

@TBonnin ready for review ✌

why the name scan|queryTo? The To make me think there is a target/destination/something to reach. Am I missing something?

how about scanM and queryM?

I vote scanM, queryM and ScanPaginatedM / queryPaginatedM.
Up to you though

All done!


Cannot insert duplicate key in unique index '_id'.

I get this error after shrink DB. I use the 4.1.4 version of LiteDB.
I guess the sequence information of the collection has been reset, after the shrink.
The last _id is 11018 in the collection as physically. But the sequence number is 6897 in collection cache info. This number is same count of the document in the collection.

Hi @serkaneksi78, thanks for explanaition and prints. I will review all shrink method this weekend.

Hi @mbdavid!
I have the same problem, are there any news?


Clarify behaviour of reversion timers

Hi @bobfox ,
in #213 you stated, that the Ena-Register of e.g. model 704 has an impact on the reversion timer.
Chapter 3.2 of SunSpec DER Information Model Specification (issued 2021-04-22) references an Ena-register in a figure and a paragraph:

Is this the Ena register of the function (e.g. WMaxLimPctEna) or of the reversion timer (e.g. WMaxLimPctEnaRvrt)?
What is meant with "if a function setting is changed, ..."? Model 704 contains several reversion timers, this should be clarified.
We would love to see a simplification here: reset the reversion timer only, if the associated setpoint is written.
Best regards
Ferdinand

The Ena reference is for the function. If there is a reversion timer set for a function and the function is not enabled, the reversion timer has no effect because the function is disabled. If the function is enabled with the reversion timer set, the reversion timer becomes active. Not enabling and resetting the reversion timer on function enable when a reversion time has been specified does not seem correct. Each of functions in the model operate independently based on their functionality. Each of the reversion timers is applicable to its respective function.

If the Ena reference in figure 1 is for the function (WMaxLimPctEna), could you please help me understand why a separate register is required to enable the reversion timer (WMaxLimPctEnaRvrt)?

The enable associated with each of the reversion timers is the value for the function enable on reversion. For the immediate control functions in this model both the function enable and the setpoint are updated on reversion expiration. For example, if the reversion timer is active for WMaxLimPct and it expires, the value in WMaxLimPctEnaRvrt should be applied to WMaxLimPctEna and the value in WMaxLimPctRvrt should be applied to WMaxLimPct.

The wording of the description of the enables associated with reversion for this model in the DER information model specification is not clear. We will update it to be more clear.

Is this update/clarification still in progress?


No-loc metadata for "char" is causing translation issue

No-loc metadata for "char" is causing unlocalized terms like "character" and "chart", so for the term "char", please remove it from the no-loc metadata and either use in-line code or in-line no-loc syntax.

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

ID: a6cf7421-fbd2-0ca0-7385-4df65531fd66
Version Independent ID: d53a0764-9f27-16b3-c40a-9627dd1bcc0d
Content: Introduction to character encoding in .NET
Content Source: docs/standard/base-types/character-encoding-introduction.md
Product: dotnet-fundamentals
GitHub Login: @adegeo
Microsoft Alias: adegeo

Following up to see if this can be fixed as bug to the no-loc feature, so closing.


bump golang to 1.13.4

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "patch-1" git@github.com:ducksecops/distribution.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.


hhs hosp state daily: makefile and production params

Description
Adds a Makefile target for running the indicator, and updates the production params to include the AWS credentials.
The delphi_hhs folder has been added to delphi-covidcast-indicator-output in S3.
Changelog
Itemize code/test/documentation changes and files added/removed.

Makefile - new target
params.json.template - new keys (blanked for dev environments)
ansible template params - new keys (with templated constants for credentials)

will automation run make run instead of the usual python -m ...

That's correct; the cmd entry for this step is
sudo -u indicators -s bash -c "cd /[absolute/path/to]/hhs_hosp && make run"

is there anything that determines if it's in the pipeline code vs run after like in this case?

No. We are currently in the middle of a long development process for a modular indicator runner that will coordinate running the indicator, running the validator, running the archive differ, and dropping the files off in receiving. Including the archive differ in the indicator code itself has created problems for folks trying to run indicators outside the production environment, so rather than add that code, plus conditional handling for running without AWS keys, and then having to remove that code later when Indicator Runner is ready, this seemed less of a hassle

will automation run make run instead of the usual python -m ...

That's correct; the cmd entry for this step is
sudo -u indicators -s bash -c "cd /[absolute/path/to]/hhs_hosp && make run"

is there anything that determines if it's in the pipeline code vs run after like in this case?

No. We are currently in the middle of a long development process for a modular indicator runner that will coordinate running the indicator, running the validator, running the archive differ, and dropping the files off in receiving. Including the archive differ in the indicator code itself has created problems for folks trying to run indicators outside the production environment, so rather than add that code, plus conditional handling for running without AWS keys, and then having to remove that code later when Indicator Runner is ready, this seemed less of a hassle


set SSL_CERT_DIR to get gcr docker-credential-helper working

Adds SSL_CERT_DIR to the dockerfiles to make GCR credential helper working without extra work.
See also https://github.com/uber/makisu/issues/204#issuecomment-484111846

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

LGTM, could you also add a few comments in the readme?


ppwater: Watch (?-i:lEljmD3jODM)(?#youtu.be)

ppwater requests the watch of the watch_keyword (?-i:lEljmD3jODM)(?#youtu\.be). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

(?-i:lEljmD3jODM)(?#youtu\.be) has been seen in 1 true positive, 0 false positives, and 0 NAAs.

(?-i:lEljmD3jODM)(?#youtu\.be) has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ

Approved by tripleee in Charcoal HQ


Proper Noun name sorting mixes up when there is no family name.

The name sorting code generates a value like this.
{family}_{given}
But if there is no family name, it generates.
_{given}
Which puts given name monickers at the top of the sorted list every time.  The code should be adjusted to remove the leading underscore.

Related issues in other repositories:
https://github.com/cjcodeproj/vtmedia-schema/issues/31
Not a blocker, but the schema regarding names could change down the road, meaning that the actual fields used to put together the sort name may change.

Related code for this issue:
https://github.com/cjcodeproj/medialibrary/blob/226747af68f5f5a625b6b3d9b643c53b2e61b4ec/src/media/data/nouns.py#L163-L173

Commit.
https://github.com/cjcodeproj/medialibrary/commit/3a45a7534f26d42766b387b88ee4d2d209c1da8e

Proven against large test data set that includes single named actors like Awkwafina, Ludacris, and Zendaya.

Additional note:
This also resolved a different bug relating to actors with similar names.  The larger tests dataset included both "Robert Downey Jr", and "Robert Downey Sr", which the software previously believed were identical.

Addendum:  Unit tests up to 73.
$ PYTHONPATH=src python -m unittest
.........................................................................
Ran 73 tests in 0.015s
OK


Implement methods 'unsqueeze()' and 'cat()'

This revision includes:

Implement methods 'unsequeeze()' and 'cat()'

unsqueeze: Expand a tensor's dimension
cat: Concatenate multiple tensors along a desired axis

No problemo


allow constants for string literals types

const vow = 'will never change';
let promise: vow;

We can't do this since it would be a breaking change -- vow has not previously introduced an entry in the type namespace, so doing so now would mean random types would start getting shadowed.
typeof vow should do what you want here (if we made consts be of their string literal type  @DanielRosenwasser please confirm?).

typeof vow should do what you want here (if we made consts be of their string literal type

in the expression context typeof vow gets me "string"
in the type expression context it gets me "will never change", but it's a type which I cannot assign to a variable

Like @RyanCavanaugh said, in order to do typeof vow, you'd need #5796. That said, I don't know if that PR will go in. The behavior isn't entirely ideal because it's not clear when you want the literal type and not string.

Here is the proposal: https://github.com/Microsoft/TypeScript/issues/6167#issuecomment-171455369

What about allowing interpolated strings as string literal types.  So:
const vow = "will never change";
let promise: `${vow}`;

The issue in the OP should be fixed by https://github.com/Microsoft/TypeScript/pull/10676
Allowing string interpolation, or any form of string manipulation in type positions is not something we are looking to allow.
for this specific example, use typeof operator, e.g. let promise: typeof vow;  and this should be "will never change".

@aleksey-bykov do you agree this proposal is covered by #10676 and typeof?

yes, it's solved, please clise


Maps Only Occupy Lower Left Quadrant of Pane

Title says it all. See attached screenshot.
Specs:
Windows 11 x64
All required pre-requisites per Unidata install guide
Intel i5 evo integrated graphics

Try following these steps to fix your issue:

Right-click on the CAVE.exe (or shortcut) icon, select Properties
Select the Compatibility tab
Click "Change High DPI Settings"
At the bottom enable "Override High DPI scaling behavior"
Change the dropdown from Application to System


Add Araxis Merge 2024.6002

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

This PR is part of a set with the following additional PRs, which remove Araxis.Merge manifests for older versions of the product: PR #176092, PR #176093, PR #176094. Please do not proceed with those removal PRs unless this PR to add Araxis.Merge 2024.6002 is also approved.
Many thanks in advance.

Hi @gjmatthews,
This manifest adds a DisplayVersion to the AppsAndFeaturesEntries that isn't present in previous manifest versions. This entry should be added to the previous versions, or removed from this version.
(Automated response - build 896.)

@stephengillie Please see the comment above – we have requested the removal of the existing manifests precisely to avoid this problem.
Many thanks.


Use PRId_CHRPOS to printf CHRPOS values

The recent PR #880's print_record() converted some iostreams code to use printf instead. It's printing CHRPOS values, and on macOS or with Clang this type is based on long long rather than long, so %ld produces warnings (and possibly failures on other platforms) and the code needs to use PRId_CHRPOS instead.
It needs an extra #include to use that, so it was easier to fix it in a PR than to describe what needed to be done to best make the PRId_CHRPOS definition available :smile:

Good catch, thanks as always @jmarshall !


Fix star-repo-hotkey

This feature has been broken from who-knows-when since the "Security" tab occupies the same g s shortcut. I indented to drop it (🤫), hence the branch name.
Buuuuuuuuuut that shortcut is a waste for the security tab, so here is a fix instead.
Note this does not really give you the ability to "toggle" starring status (but the button will appear to be toggled if you press the shortcut multiple times), since nobody is going to do that and it would need a more complex solution to check the current state.
P.S. if not counting meta/lint/tree-wide refactors, this feature is literally unmodified since added in #1612 😄
Test URLs
Here
Screenshot

Wellllllllllllllllllllllllllllllllllllll this means our shortcut changes a native one.

This feature has been broken from who-knows-when

Goes to show that probably this isn't a very useful/used feature to begin with. I'd say go forth with your original intent

Wellllllllllllllllllllllllllllllllllllll this means our shortcut changes a native one.

But I doubt any people would go to Security page that often, unlike our more useful feature.

This feature has been broken from who-knows-when

Goes to show that probably this isn't a very useful/used feature to begin with. I'd say go forth with your original intent

It's fine to me personally, but too bad this mnemonic is wasted on some infrequent action for most people (or perhaps GitHub just want every tab to have a shortcut assigned 🥲


ENH: improve new seq / alignment moltype interconversion

Summary by Sourcery
Enhance the sequence and alignment modules by introducing a method for converting sequence arrays between different alphabets, and refactor dtype determination logic. Update tests to cover new functionality and exception handling changes.
Enhancements:

Add a method to convert sequence arrays between different alphabets, improving interconversion capabilities.
Refactor the logic for determining the smallest numpy integer dtype to include boundary values.

Tests:

Add tests for the new sequence array conversion method, including validation checks for input and output sequences.
Update tests to reflect changes in exception handling, replacing ValueError with more specific AlphabetError and MolTypeError.

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

33 of 33 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.004%) to 92.239%

Totals

Change from base Build<PHONE_NUMBER>8:
0.004%

Covered Lines:
34216

Relevant Lines:
37095

💛  - Coveralls


SingleChildScrollView going belly-up, apparently

======= Exception caught by rendering library =====================================================
The following assertion was thrown during performLayout():
'package:flutter/src/rendering/object.dart': Failed assertion: line 2058 pos 12: '!_debugDoingThisLayout': is not true.
Steps to Reproduce
The offending code is below. It crashes on hot reload.
import 'package:dmk_mobile/dimokas/app/ItemLists.dart';
import 'package:dmk_mobile/dimokas/app/LocalUserPreferences.dart';
import 'package:dmk_mobile/dimokas/app/dbobj/HerdIllnessIncident.dart';
import 'package:dmk_mobile/dimokas/animal/illness/AnimalIllnessProgress_Edit.dart';
import 'package:dmk_mobile/tkf/ui/TKF_Styles.dart';
import 'package:dmk_mobile/tkf/ui/TKF_Widgets.dart';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:intl/intl.dart';

// ignore_for_file: non_constant_identifier_names
// ignore_for_file: camel_case_types
class AnimalIllnessIncident_Edit extends StatefulWidget {
  final DB_HerdIllnessIncident? target;
  AnimalIllnessIncident_Edit(this.target);

  static Future<void> show(BuildContext context,
      {DB_HerdIllnessIncident? target}) async {
    await Navigator.of(context).push(
      MaterialPageRoute(
        builder: (context) => AnimalIllnessIncident_Edit(target),
        fullscreenDialog: true,
      ),
    );
  }

  @override
  _AnimalIllnessIncident_EditState createState() =>
      _AnimalIllnessIncident_EditState();
}

class _AnimalIllnessIncident_EditState
    extends State<AnimalIllnessIncident_Edit> {
  int? illness;
  DateTime dateOutbreak = DateTime.now();

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        leading: IconButton(
          icon: Icon(Icons.arrow_back),
          onPressed: () {
            Navigator.pop(context);
          },
        ),
        title: Text(AppLocalizations.of(context)!.hdr_illness),
        actions: [
          IconButton(
            onPressed: () {},
            icon: FaIcon(FontAwesomeIcons.check),
          ),
        ],
      ),
      body: SafeArea(
        child: SingleChildScrollView(
          scrollDirection: Axis.vertical,
          child: Padding(
            padding: const EdgeInsets.all(8.0),
            child: ListView(
              shrinkWrap: true,
              physics: NeverScrollableScrollPhysics(),
              children: [
                TKF_Widgets.textLabelPaddedTB(
                    AppLocalizations.of(context)!.hdr_illness),
                Flex(
                  direction: Axis.horizontal,
                  children: [
                    Expanded(
                      child: DropdownButton<int>(
                        value: illness,
                        isExpanded: true,
                        onChanged: (int? val) {
                          setState(() {
                            illness = val;
                          });
                        },
                        items: ItemLists.illnesses(
                            lang: LocalUserPreferences.lang),
                      ),
                    ),
                  ],
                ),
                TKF_Widgets.textLabelPaddedTB(
                    AppLocalizations.of(context)!.lbl_first_day_outbreak),
                Container(
                  decoration: TKF_Styles.borderRound_Box,
                  height: 40,
                  child: Padding(
                    padding: const EdgeInsets.all(4.0),
                    child: Column(
                      mainAxisAlignment: MainAxisAlignment.center,
                      children: [
                        GestureDetector(
                          child: Text(
                            DateFormat(
                                    'EEE, d MMM yyyy',
                                    Localizations.localeOf(context)
                                        .languageCode)
                                .format(dateOutbreak),
                            style: TextStyle(),
                            textAlign: TextAlign.center,
                          ),
                          onTap: () async {
                            DateTime aDate = await showDatePicker(
                                  context: context,
                                  firstDate: DateTime.now()
                                      .subtract(Duration(days: 10)),
                                  lastDate:
                                      DateTime.now().add(Duration(days: 1)),
                                  initialDate: DateTime.now(),
                                  locale: Localizations.localeOf(context),
                                ) ??
                                DateTime.now();
                            setState(() {
                              dateOutbreak = aDate;
                            });
                          },
                        ),
                      ],
                    ),
                  ),
                ),
                TKF_Widgets.paddedTextFormField(
                  AppLocalizations.of(context)!.lbl_description,
                  maxLines: 6,
                ),
                TKF_Widgets.heading3(
                    AppLocalizations.of(context)!.lbl_illness_log),
                TKF_Widgets.infoMessage(AppLocalizations.of(context)!
                    .info_illness_is_regarded_closed_when),
                TKF_CustomRaisedButton(
                    child: Text(AppLocalizations.of(context)!.btn_add_record),
                    color: TKF_Styles.color_Blue,
                    textColor: Colors.white,
                    onPressed: () {
                      AnimalIllnessProgress_Edit.show(context, target: null);
                    }),
              ],
            ),
          ),
        ),
      ),
    );
  }
}

Logs

======== Exception caught by rendering library =====================================================
The following assertion was thrown during performResize():
Vertical viewport was given unbounded height.

Viewports expand in the scrolling direction to fill their container. In this case, a vertical viewport was given an unlimited amount of vertical space in which to expand. This situation typically happens when a scrollable widget is nested inside another scrollable widget.

If this widget is always nested in a scrollable widget there is no need to use a viewport because there will always be enough vertical space for the children. In this case, consider using a Column or Wrap instead. Otherwise, consider using a CustomScrollView to concatenate arbitrary slivers into a single scrollable.

The relevant error-causing widget was:
  ListView ListView:file:///Users/trian/Documents/svn/personal/dmk-mobile/lib/dimokas/herd/feedmilk/HerdFeedingMilking_Edit.dart:40:20
When the exception was thrown, this was the stack:
#0      RenderViewport.computeDryLayout.<anonymous closure> (package:flutter/src/rendering/viewport.dart:1393:15)
#1      RenderViewport.computeDryLayout (package:flutter/src/rendering/viewport.dart:1454:6)
#2      RenderBox.performResize (package:flutter/src/rendering/box.dart:2429:12)
#3      RenderObject.layout (package:flutter/src/rendering/object.dart:2114:9)
#4      RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#5      RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#6      RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#7      RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#8      RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#9      RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#10     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#11     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#12     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#13     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#14     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#15     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#16     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#17     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#18     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#19     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#20     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#21     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#22     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#23     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#24     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#25     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#26     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#27     RenderCustomPaint.performLayout (package:flutter/src/rendering/custom_paint.dart:552:11)
#28     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#29     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#30     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#31     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#32     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#33     RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:249:12)
#34     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#35     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#36     _RenderSingleChildViewport.performLayout (package:flutter/src/widgets/single_child_scroll_view.dart:517:14)
#37     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#38     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#39     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#40     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#41     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#42     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#43     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#44     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#45     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#46     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#47     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#48     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#49     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#50     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#51     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#52     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#53     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#54     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#55     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#56     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#57     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#58     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#59     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#60     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#61     RenderCustomPaint.performLayout (package:flutter/src/rendering/custom_paint.dart:552:11)
#62     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#63     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#64     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#65     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#66     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#67     RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:249:12)
#68     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#69     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#70     MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:171:12)
#71     _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:1055:7)
#72     MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:240:7)
#73     RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:410:14)
#74     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#75     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#76     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#77     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#78     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#79     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#80     _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1467:11)
#81     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#82     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#83     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#84     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#85     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#86     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#87     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#88     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#89     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#90     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#91     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#92     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#93     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#94     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#95     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#96     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#97     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#98     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#99     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#100    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#101    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#102    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#103    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#104    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#105    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#106    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#107    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#108    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#109    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#110    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#111    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#112    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#113    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#114    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#115    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#116    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#117    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#118    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#119    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#120    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#121    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#122    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#123    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#124    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#125    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#126    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#127    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#128    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#129    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#130    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#131    RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:3740:14)
#132    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#133    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#134    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#135    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#136    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#137    _RenderTheatre.performLayout (package:flutter/src/widgets/overlay.dart:804:15)
#138    RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1973:7)
#139    PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:999:18)
#140    RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:513:19)
#141    WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:884:13)
#142    RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:378:5)
#143    SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1175:15)
#144    SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1104:9)
#145    SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1015:5)
#146    _invoke (dart:ui/hooks.dart:148:13)
#147    PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:318:5)
#148    _drawFrame (dart:ui/hooks.dart:115:31)
The following RenderObject was being processed when the exception was fired: RenderViewport#bcaf5 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...  needs compositing
...  parentData: <none> (can use size)
...  constraints: BoxConstraints(0.0<=w<=376.7, 0.0<=h<=Infinity)
...  size: MISSING
...  axisDirection: down
...  crossAxisDirection: right
...  offset: ScrollPositionWithSingleContext#27fa2(offset: 0.0, range: null..null, viewport: null, ScrollableState, AlwaysScrollableScrollPhysics -> ClampingScrollPhysics -> RangeMaintainingScrollPhysics, IdleScrollActivity#a5b09, ScrollDirection.idle)
...  anchor: 0.0
RenderObject: RenderViewport#bcaf5 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
  needs compositing
  parentData: <none> (can use size)
  constraints: BoxConstraints(0.0<=w<=376.7, 0.0<=h<=Infinity)
  size: MISSING
  axisDirection: down
  crossAxisDirection: right
  offset: ScrollPositionWithSingleContext#27fa2(offset: 0.0, range: null..null, viewport: null, ScrollableState, AlwaysScrollableScrollPhysics -> ClampingScrollPhysics -> RangeMaintainingScrollPhysics, IdleScrollActivity#a5b09, ScrollDirection.idle)
  anchor: 0.0
...  center child: RenderSliverPadding#e5c02 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...    parentData: paintOffset=Offset(0.0, 0.0)
...    constraints: MISSING
...    geometry: null
...    padding: EdgeInsets.zero
...    textDirection: ltr
...    child: RenderSliverList#832a2 NEEDS-LAYOUT NEEDS-PAINT
...      parentData: paintOffset=Offset(0.0, 0.0)
...      constraints: MISSING
...      geometry: null
...      no children current live
====================================================================================================

======== Exception caught by rendering library =====================================================
The following assertion was thrown during performLayout():
RenderBox was not laid out: RenderViewport#bcaf5 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
'package:flutter/src/rendering/box.dart':
Failed assertion: line 2001 pos 12: 'hasSize'

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=2_bug.md

The relevant error-causing widget was:
  ListView ListView:file:///Users/trian/Documents/svn/personal/dmk-mobile/lib/dimokas/herd/feedmilk/HerdFeedingMilking_Edit.dart:40:20
When the exception was thrown, this was the stack:
#2      RenderBox.size (package:flutter/src/rendering/box.dart:2001:12)
#3      RenderViewport.performLayout (package:flutter/src/rendering/viewport.dart:1471:39)
#4      RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#5      RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#6      RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#7      RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#8      RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#9      RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#10     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#11     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#12     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#13     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#14     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#15     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#16     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#17     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#18     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#19     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#20     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#21     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#22     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#23     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#24     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#25     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#26     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#27     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#28     RenderCustomPaint.performLayout (package:flutter/src/rendering/custom_paint.dart:552:11)
#29     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#30     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#31     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#32     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#33     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#34     RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:249:12)
#35     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#36     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#37     _RenderSingleChildViewport.performLayout (package:flutter/src/widgets/single_child_scroll_view.dart:517:14)
#38     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#39     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#40     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#41     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#42     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#43     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#44     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#45     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#46     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#47     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#48     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#49     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#50     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#51     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#52     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#53     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#54     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#55     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#56     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#57     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#58     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#59     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#60     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#61     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#62     RenderCustomPaint.performLayout (package:flutter/src/rendering/custom_paint.dart:552:11)
#63     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#64     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#65     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#66     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#67     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#68     RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:249:12)
#69     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#70     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#71     MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:171:12)
#72     _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:1055:7)
#73     MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:240:7)
#74     RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:410:14)
#75     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#76     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#77     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#78     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#79     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#80     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#81     _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1467:11)
#82     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#83     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#84     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#85     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#86     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#87     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#88     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#89     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#90     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#91     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#92     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#93     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#94     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#95     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#96     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#97     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#98     RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#99     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#100    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#101    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#102    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#103    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#104    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#105    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#106    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#107    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#108    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#109    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#110    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#111    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#112    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#113    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#114    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#115    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#116    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#117    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#118    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#119    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#120    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#121    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#122    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#123    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#124    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#125    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#126    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#127    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#128    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#129    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#130    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#131    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#132    RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:3740:14)
#133    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#134    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#135    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#136    RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
#137    RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
#138    _RenderTheatre.performLayout (package:flutter/src/widgets/overlay.dart:804:15)
#139    RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1973:7)
#140    PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:999:18)
#141    RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:513:19)
#142    WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:884:13)
#143    RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:378:5)
#144    SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1175:15)
#145    SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1104:9)
#146    SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1015:5)
#147    _invoke (dart:ui/hooks.dart:148:13)
#148    PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:318:5)
#149    _drawFrame (dart:ui/hooks.dart:115:31)
(elided 2 frames from class _AssertionError)
The following RenderObject was being processed when the exception was fired: RenderViewport#bcaf5 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...  needs compositing
...  parentData: <none> (can use size)
...  constraints: BoxConstraints(0.0<=w<=376.7, 0.0<=h<=Infinity)
...  size: MISSING
...  axisDirection: down
...  crossAxisDirection: right
...  offset: ScrollPositionWithSingleContext#27fa2(offset: 0.0, range: null..null, viewport: null, ScrollableState, AlwaysScrollableScrollPhysics -> ClampingScrollPhysics -> RangeMaintainingScrollPhysics, IdleScrollActivity#a5b09, ScrollDirection.idle)
...  anchor: 0.0
RenderObject: RenderViewport#bcaf5 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
  needs compositing
  parentData: <none> (can use size)
  constraints: BoxConstraints(0.0<=w<=376.7, 0.0<=h<=Infinity)
  size: MISSING
  axisDirection: down
  crossAxisDirection: right
  offset: ScrollPositionWithSingleContext#27fa2(offset: 0.0, range: null..null, viewport: null, ScrollableState, AlwaysScrollableScrollPhysics -> ClampingScrollPhysics -> RangeMaintainingScrollPhysics, IdleScrollActivity#a5b09, ScrollDirection.idle)
  anchor: 0.0
...  center child: RenderSliverPadding#e5c02 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...    parentData: paintOffset=Offset(0.0, 0.0)
...    constraints: MISSING
...    geometry: null
...    padding: EdgeInsets.zero
...    textDirection: ltr
...    child: RenderSliverList#832a2 NEEDS-LAYOUT NEEDS-PAINT
...      parentData: paintOffset=Offset(0.0, 0.0)
...      constraints: MISSING
...      geometry: null
...      no children current live
====================================================================================================

======== Exception caught by rendering library =====================================================
The following assertion was thrown during performLayout():
RenderBox was not laid out: RenderViewport#bcaf5 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
'package:flutter/src/rendering/box.dart':
Failed assertion: line 2001 pos 12: 'hasSize'

...
...
...

ad infinitum

(only info messages were produced by _flutter analyze_)

[✓] Flutter (Channel stable, 3.3.0, on macOS 12.5.1 21G83 darwin-x64, locale en-GB)
    • Flutter version 3.3.0 on channel stable at /Users/trian/Applications/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffccd96b62 (11 days ago), 2022-08-29 17:28:57 -0700
    • Engine revision 5e9e0e0aa8
    • Dart version 2.18.0
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/trian/Library/Android/sdk
    • Platform android-33, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13F100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 59.0.4
    • Dart plugin version 212.4746.57

[✓] Connected device (3 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • macOS (desktop)                    • macos         • darwin-x64     • macOS 12.5.1 21G83 darwin-x64
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 105.0.5195.102

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

This is an issue with how you have set up your widget tree.
Please give this a read: https://docs.flutter.dev/development/ui/layout/constraints
In the error logs we can see the widget that caused your error is found here:
  ListView ListView:file:///Users/trian/Documents/svn/personal/dmk-mobile/lib/dimokas/herd/feedmilk/HerdFeedingMilking_Edit.dart:40:20

ListViews need to be constrainted or shrinkWrapped to function properly.
The issue tracker is for framework bugs and not support though.
You can find online spaces that help you developing in the community section of the flutter site:
https://flutter.dev/community

@triankar
In order to properly analyze the issue, we would need minimal code sample without any third party plugins that triggers the error you are reporting. Currently it seems an issue with your code implementation and also based on above comment. I suggest you to ask this on support channels like StackOverflow.
Closing from here.


Feature: add new q filter interface

Summary
Add new custom filtering Interface
related issue #399
@strawberry_django.filters.filter(models.Fruit)
class QFilter:
    search: Optional[str]

    def q_search(self, value: str) -> Q:
        return Q(name=value)

usage.
### Fruits = ["strawberry", "raspberry", "banana"]
def test_q_filter_method_with_nested_not_filter(query, fruits):
    result = query(
        '{ fruits: qFilter(filters: { NOT : { search: "strawberry" }}) { id name } }'
    )
    assert result.data["fruits"] == [
        {"id": "2", "name": "raspberry"},
        {"id": "3", "name": "banana"},
    ]

Description
In my project, i implement many custom filters.
Now, custom filters not working with NOT, AND, OR
This change allow user using custom filter with NOT, AND, OR
and user don't have to change custom filter_{} method.
Q() style filters are used in other projects also.
https://django-ninja.dev/guides/input/filtering/
Types of Changes

[ ] Core
[ ] Bugfix
[x] New feature
[ ] Enhancement/optimization
[ ] Documentation

Issues Fixed or Closed by This PR

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] I have tested the changes and verified that they work and don't break anything (as well as I can manage).

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

Comparison is base (433ceeb) 87.73% compared to head (baf7996) 87.74%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #451      +/-   ##
==========================================
+ Coverage   87.73%   87.74%   +0.01%
==========================================
  Files          37       37
  Lines        3130     3134       +4
==========================================
+ Hits         2746     2750       +4
  Misses        384      384

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

Hey @OdysseyJ ,
This seems nice! Can we have a small example in the docs, similar to the custom filter ones?

Hi @bellini666
Thanks for reading my PR.
Sure. I will do it.

@bellini666 finished.


AttributeError: 'deepforest' object has no attribute 'prediction_model'

Hello,
I'm trying to simply predict an image (but I have the same error with predict_tile) and I get the following error:
Traceback (most recent call last):   File "C:/Users/lleg/PycharmProjects/DeepForest/DeepForest.py", line 9, in <module>     predicted_raster = test_model.predict_image(image_path=raster_path, show=False, return_plot = False)   File "C:\Users\lleg\Anaconda3\envs\test\lib\site-packages\deepforest\deepforest.py", line 359, in predict_image     if (self.prediction_model is None): AttributeError: 'deepforest' object has no attribute 'prediction_model
Any idea?
Thanks,
Ludovic

Can I see a full set of code, hard to guess at. I am guessing you did load or train any model.
from deepforest import deepforest
import matplotlib.pyplot as plt
model = deepforest.deepforest()
model.use_release()
img=model.predict_image("/Users/ben/Documents/NeonTreeEvaluation/evaluation/RGB/JERC_019.tif",return_plot=True)

#predict_image returns plot in BlueGreenRed (opencv style), but matplotlib likes RedGreenBlue, switch the channel order.
plt.imshow(img[:,:,::-1])

Actually, when I use the code on deepforest.readthedocs.io to predict the provided test images I got the same error:
from deepforest import deepforest
from deepforest import get_data

test_model = deepforest.deepforest()
test_model.use_release()

# Find the tutorial data using the get data function.
# For non-tutorial images, you do not need the get_data function,
# provide the full path to the data anywhere on your computer.

raster_path = get_data("OSBS_029.tif")
# Window size of 300px with an overlap of 25% among windows for this small tile.
predicted_raster = test_model.predict_tile(raster_path, return_plot = True, patch_size=300,patch_overlap=0.25)

Error:
Traceback (most recent call last):
  File "C:/Users/lleg/PycharmProjects/DeepForest/DeepForest.py", line 23, in <module>
    predicted_raster = test_model.predict_tile(raster_path, return_plot = True, patch_size=300,patch_overlap=0.25)
  File "C:\Users\lleg\Anaconda3\envs\test\lib\site-packages\deepforest\deepforest.py", line 442, in predict_tile
    score_threshold=self.config["score_threshold"])
  File "C:\Users\lleg\Anaconda3\envs\test\lib\site-packages\deepforest\deepforest.py", line 359, in predict_image
    if (self.prediction_model is None):
AttributeError: 'deepforest' object has no attribute 'prediction_model'

Very interesting, I've never seen that before. This would suggest the release model is not actually being downloaded. I can see you are inside of an Anaconda environment, did you pip or conda install?
The prediction model is created on use_release()
https://github.com/weecology/DeepForest/blob/58bd85de2d180dc27ba2f3fee369ea16161bcb34/deepforest/deepforest.py#L178
I'm looking now to see how we can debug this.

Actually, with the use_release() function I have an error, but I thought it was because the model had already been downloaded. Here's what I get:
C:\Users\lleg\Anaconda3\envs\test\python.exe C:/Users/lleg/PycharmProjects/DeepForest/DeepForest.py
Using TensorFlow backend.
 To perform prediction, either train or load an existing model.
Model from DeepForest release https://github.com/weecology/DeepForest/releases/tag/v0.3.0 was already downloaded. Loading model from file.
Loading pre-built model: https://github.com/weecology/DeepForest/releases/tag/v0.3.0
Traceback (most recent call last):
  File "C:/Users/lleg/PycharmProjects/DeepForest/DeepForest.py", line 15, in <module>
    test_model.use_release()
  File "C:\Users\lleg\Anaconda3\envs\test\lib\site-packages\deepforest\deepforest.py", line 170, in use_release
    self.model = utilities.read_model(self.weights, self.config)
  File "C:\Users\lleg\Anaconda3\envs\test\lib\site-packages\deepforest\utilities.py", line 49, in read_model
    model = models.load_model(model_path, backbone_name='resnet50')
  File "C:\Users\lleg\Anaconda3\envs\test\lib\site-packages\deepforest\keras_retinanet\models\__init__.py", line 83, in load_model
    return keras.models.load_model(filepath, custom_objects=backbone(backbone_name).custom_objects)
  File "C:\Users\lleg\Anaconda3\envs\test\lib\site-packages\keras\engine\saving.py", line 492, in load_wrapper
    return load_function(*args, **kwargs)
  File "C:\Users\lleg\Anaconda3\envs\test\lib\site-packages\keras\engine\saving.py", line 584, in load_model
    model = _deserialize_model(h5dict, custom_objects, compile)
  File "C:\Users\lleg\Anaconda3\envs\test\lib\site-packages\keras\engine\saving.py", line 273, in _deserialize_model
    model_config = json.loads(model_config.decode('utf-8'))
AttributeError: 'str' object has no attribute 'decode'

Thanks for your help!

Nope thats the real error. That feels like a python versioning issue. Python version? It shouldn't have let you install on python 3.8 or 2.*

I have a 3.7 version. Deepforest installed with the following command:
conda create --name test python=3.7
conda activate test
conda install -c conda-forge deepforest

I just did it from without a problem, let me try conda. I'm sure this is very recent and very small. Thanks for reporting.

Yup, this is upstream (and nasty huge) of DeepForest. The new version of h5py breaks keras. Well known and being fixed. I'll update all the pins.

For the moment you should easily be able to do.
conda install h5py==2.10.0

Please confirm and close when ready.

Pushed tag 0.33 that pins, should be up on pypi in about an hour, doing conda feedstock now.

Yup, this is upstream (and nasty huge) of DeepForest. The new version of h5py breaks keras. Well known and being fixed. I'll update all the pins.
here
For the moment you should easily be able to do.
conda install h5py==2.10.0

Please confirm and close when ready.

It worked. Thanks!

Hi I am still getting this issue
model = deepforest.deepforest()
^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'deepforest' has no attribute 'deepforest'
not sure how to fix it. could anyone help me on it ASAP

This is a really outdated command. What version of deepforest are you using? The current version of this:
from deepforest import main
model = main.deepforest()
model.use_release()

I'd recommend updating to the current version (based on Pytorch) and following the Getting Started guide

It worked thank you :_)

Great! Glad it helped!


Handle more name attributes

Also some addr2line output changes to make it easier to compare against other tools.

Coverage decreased (-0.05%) to 3.252% when pulling eb23e8ae5d3c9380853809e84e2d3365af23b25c on philipc:specification into 5020e02c22904855a13e7f00feda0ef766ed1287 on gimli-rs:master.


[FEATURE] Application Gateway support

Have you guys tested this application behind an Azure Application Gateway?

We have not. Are you running into an issue? Can you elaborate? Thanks!


Add Simian Army

I recognize that you may want to make some changes to this (i.e.: add your LICENSE prefix to the Dockerfile). It may also be good to have this track a 2.5.0 branch instead of master. Feel free to modify as you see fit.

@johnjelinek thanks for the submission.  I am working to locate someone who knows simian army to help with reviewing this.

I'd like to see the Simian Army do a code release so we can pull artifacts from maven central instead of building the code in the ZeroToDocker build.  We are actively trying not to lead the NetflixOSS projects with SNAPSHOT releases on DockerHub.   Once I get help from a Simian Army expert, we'll work on that.


[PLT-7389] Make vm.max_map_count more robust for Elasticsearch

Jira: https://mattermost.atlassian.net/browse/PLT-7389
GitHub: https://github.com/mattermost/mattermost-server/issues/7332

@grundleborg yep you right, will remove that.

@cpanato apologies, posted this comment in the other PR by mistake - I actually meant to post it here:
I tried running this branch and it didn't work:
╰─$ make install
helm install dist/mattermost-helm*.*
Error: release singed-bronco failed: DaemonSet.apps "singed-bronco-mattermost-elasticsearch-ds" is invalid: spec.template.metadata.labels: Invalid value: map[string]string{"name":"singed-bronco-mattermost-elasticsearch-ds"}: `selector` does not match template `labels`
Makefile:34: recipe for target 'install' failed
make: *** [install] Error 1

Any ideas what's up?

@grundleborg I made a fix, I guess 😄  the label name was wrong in one part. can you please try again?

Tested and verified this is working. Thanks @cpanato

that's cool!! thanks!!!

@coreyhulen @crspeller please can one of you guys do a second review on this when you have a moment? I'd really like to get this merged.


Support RECORD columns in PostgreSQL

Example schema and query (fiddle):
CREATE TABLE location (
  id bigint primary key,
  name text
);

CREATE TABLE book (
  id bigint primary key,
  location_id bigint references location(id),
  name text
);

INSERT INTO location (id, name) VALUES (1, 'The nearby one');
INSERT INTO location (id, name) VALUES (2, 'The one across town');

INSERT INTO book (id, location_id, name) VALUES (1, 1, 'The Hitchhiker''s Guide to the Galaxy');
INSERT INTO book (id, location_id, name) VALUES (2, 1, 'The Restaurant at the End of the Universe');
INSERT INTO book (id, location_id, name) VALUES (3, 2, 'Life, the Universe and Everything');
INSERT INTO book (id, location_id, name) VALUES (4, 2, 'So Long, and Thanks for All the Fish');
INSERT INTO book (id, location_id, name) VALUES (5, 2, 'Mostly Harmless');

SELECT location.id, location.name, books_at_location.bal
FROM location
LEFT JOIN LATERAL (
    SELECT ARRAY_AGG(ROW(book.id, book.name)) bal
    FROM book
    WHERE location.id = book.location_id
) books_at_location ON true;

id
name
bal

1
The nearby one
{"(1,"The Hitchhiker's Guide to the Galaxy")","(2,"The Restaurant at the End of the Universe")"}

2
The one across town
{"(3,"Life, the Universe and Everything")","(4,"So Long, and Thanks for All the Fish")","(5,"Mostly Harmless")"}

Currently sqlx gives the error message
error: unsupported type RECORD[] of column #3 ("bal")

I don't see a way we could make this work with the macros because Postgres doesn't tell us the expected subtypes of a RECORD column; from my understanding, it could be an entirely different set of columns per row.
If you converted the bal column to a custom typedef, that would work with #148.

In the meantime you could try aggregating the subquery to a JSON array instead, using jsonb_agg() instead of array_agg.

Sadly this isn't possible because we don't receive enough information at compile time.


image-types/rhel84: add rhel-edge-container

This is an alternative to rhel-edge-commit, which has the same payload, but in 8.4 it
supports embedding ssh keys, which rhel-edge-commit does not. The Edge API would
like to use this, so add the image type to the allow-list.
cc @aaronh88

@teg Hi Tom, I think this pr is just to add the image type to the allow-list, and there will be follow up tasks to implement the Rest API in image-builder to build container image, right?

@teg Hi Tom, I think this pr is just to add the image type to the allow-list, and there will be follow up tasks to implement the Rest API in image-builder to build container image, right?

This adds it to the allow-list, and as it already is implemented in composer that should be all we need for container building to work. Does that answer your question, or did I misunderstand?

@teg Hi Tom, I think this pr is just to add the image type to the allow-list, and there will be follow up tasks to implement the Rest API in image-builder to build container image, right?

This adds it to the allow-list, and as it already is implemented in composer that should be all we need for container building to work. Does that answer your question, or did I misunderstand?

Hi @teg ,
Sorry if I didn't make myself clear.
Yes, I know that osbuild-composer can build commit, container and iso. And as I know, image-builder can build commit and iso, which were implemented by Achilleas, so actually my question is:

Is there any extra work need to be done in image-builder to build container image?
Is there any clear requirement from edge team that they need to use container image? cause I didn't see they use container in last edge demo meeting.

Thanks a lot if you can answer these questions :) , I may need to add test cases for container in image-builder.
Thanks,
Yi

Hi @yih-redhat!
I'm sorry, I missed your question. In case it is still relevant:

No, this is all.
This turned out not to be needed by them, as they found another work-around.
I would not put any more work into this as it is now, as I don't think it is used. We may want to revisit this when we can actually push these artefacts to container registries, then they would bring real benefit over the commit tarballs.


Exit status 1

When I use moul dev to preview the site, I get an "exit status 1" message, and localhost:3000 does not resolve. Is there a tutorial somewhere that I could follow?

I tried the most stable release, and everything works now


cant reset title bug fixed

https://github.com/jnotnull/react-popupbox/commit/03323b95437c19003d76c8f79929b9968ace107c#diff-5ff4271987a818b0c204f39835d7d20f

I've add a new method named update, feel free to reopen this issue if it can't solve your case. :)


Fixing capitalization and a typo

Spotted a typo to fix
All errors should start with the same capitalization and most started with lowercase, so I changed all occurrences in this file

👍


Frontend

This merge ads the ability to create envelopes and view them at their respective urls! Woohoo!

fixed netlify issue caused by backend in separate branch. lgtm.


Question: Ruff + Black

Is Black still needed when using Ruff?

Looking here: https://astral.sh/blog/the-ruff-formatter, it is now drop-in replacement for black from end of Oct 2023, you are correct, ruff format should work just fine without black.
Thanks for creating an issue, I'm not sure if I'll be doing this in current 5.0 release of this repo, or just do it along with 6.0 branch that I'm working on (not very intensively to be honest, but now I will have few free weeks so definitely it will be looking at it).

done in https://github.com/rafsaf/minimal-fastapi-postgres-template/pull/44
black removed from dependencies


Bump go to v1.22.4

Summary
Update go version in go.mod and dockerfiles.
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[x] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[x] Checked that related changes are merged.

coverage: 53.323%. remained the same
when pulling fdf10d5e8d38e59013b7b64f1b2bee106183aca9 on eleftherias:go-1.22.4
into 663d163a0b64350dbb1e652c52488c1a0b8387e2 on stacklok:main.


About interpretability

Hi, thanks for this implementation.
I'm curious about the interpretability. Can this Fourier layer be integrated into the original KAN and its interpretation tools?

It has a lot of parameters, so interpretability is hindered.
The high number of parameters allows for more efficient search for the right structure without getting stuck in local minimas.
When you stack them like MLP, they also probably like MLP discover hierarchical features ranging from low level to high level depending on their height in the stack.
As it is just KAN with functions expressed in an other basis, Fourier should have the same representation power that KAN.
KAN have full learnability of the activation functions, so it's one less prior inductive bias (aka you don't have to choose which activation function you would use), and the learned activation may be meaningful functions although expressed with a lot of parameters.
One area of research one can explore is the potential of KAN, (or fourier KAN) for grokking, aka finding the exact right structure.
One can experiment by generating synthetic data of a specific form, and try to recover the structure with a KAN.
Once the structure is recovered, one can then try to reduce the number of parameters by regularization, to gain some interpretability.

That makes sense! Thanks for answering. Again, nice work :)