• 1 Post
  • 36 Comments
Joined 10 months ago
cake
Cake day: September 2nd, 2023

help-circle


  • I don’t think the problem is in the closure itself, since pstmt isn’t used inside the closure. To me, it looks like rec_iter has the lifetime of pstmt.

    pstmt is dropped at the end of the function. However, rec_iter isn’t dropped at the end of the function (it is returned). You should either pass pstmt from outside the function as a reference and have zknotestream a lifetime smaller than pstmt, or return pstmt along with rec_iter. Idk if the last option is detected by rust though.









  • Well, one could argue that since this community is called “work reform”, the point of this infographic is to make workers aware of how much more companies would pay them. This infographic does not accomplish that.

    If your company buys a chair for 1000€ and you sell it for 1001€, the company got a revenue of 1001€. You cannot ask more than 1€ to be paid to you for it though, since the company would be losing money. That’s what is called a profit margin.

    This infographic shows companies from a wide range of sectors, and a wide range of profit margins as if they were comparable. You cannot compare the wage/revenue ratio of a supermarket to a tech company, since they operate at different profit margins.

    You can compare wage/(profit+wage) ratio though, as it measures which part of the pie goes to the workers and which to the company, and that is universal.

    It is true that it’s hard to measure “profit”, but that fact doesn’t make this infographic any better.