HackerTrans
TopNewTrendsCommentsPastAskShowJobs

breischl

no profile record

comments

breischl
·7 bulan yang lalu·discuss
I read the article as saying it ignores all upper-bounds, and 4.0 is just an example. I could be wrong though - it seems ambiguous to me.

But if we accept that it currently ignores any upper-bounds checks greater than v3, that's interesting. Does that imply that once Python 4 is available, uv will slow down due to needing to actually run those checks?
breischl
·9 bulan yang lalu·discuss
He's calculating EV above cost. If you look at the calculation, the first term is -1000 to account for the initial investment. So the final value is tell you that you got back the initial money plus 900 more.
breischl
·3 tahun yang lalu·discuss
I was not trolling, I actually dislike MongoDB aggregation syntax and it seems like PRQL is something that could potentially replace it or go on top. Admittedly I only took a quick glance at PRQL though, so perhaps I misunderstood something or it's not applicable to this case.

There are examples on Mongo's page, eg https://www.mongodb.com/docs/manual/core/aggregation-pipelin...

eg:

  db.orders.aggregate( [
   // Stage 1: Filter pizza order documents by pizza size
   {
      $match: { size: "medium" }
   },
   // Stage 2: Group remaining documents by pizza name and calculate total quantity
   {
      $group: { _id: "$name", totalQuantity: { $sum: "$quantity" } }
   }
  ] )
breischl
·3 tahun yang lalu·discuss
Having spent more time in MongoDB aggregations than I'd like to lately, I really wish they'd support this. So much more sensible than the madness they've got going on.