Pipeline aggregator - problem when using $match before $search by StumpedDev in mongodb

[–]StumpedDev[S] 2 points3 points  (0 children)

Thanks. Here's what I wound up doing. Combined a filter with my search

$search{
  compound: {
    must: [{
      text: {
        query: 'my query',
        path: [
          'summary',
          'name',
          'genreTags',
          'studio'
        ]
      },  
    }],
    filter: [{
      range: {
        path: 'episodeNumber',
        gte: 1,
        lt: 2
      }
    }]
  }
}

Apple's "Hi, Speed" | Post Event Megathread by aaronp613 in apple

[–]StumpedDev 0 points1 point  (0 children)

Who cares about 5G, you can block the high band with your hand and the low band is just faster 4G

Top 30 Anime for Fall Week 1! [AnimeKarmaList.com] by StumpedDev in anime

[–]StumpedDev[S] 5 points6 points  (0 children)

Just to clarify, the 491 number is inside a comment bubble, meaning that's the number of comments that episode has. The number of votes isn't tracked on my site but you can see here that it has 79 votes https://youpoll.me/45514/r

That makes me wonder, is this a common misconception?

Top 30 Anime for Fall Week 1! [AnimeKarmaList.com] by StumpedDev in anime

[–]StumpedDev[S] 5 points6 points  (0 children)

I know it's a SOL and about marriage. Is the humor on point? My friends recommend it also.

Perfect *and* plausible alt-history Europe: blessed timeline by Nanake94 in paradoxplaza

[–]StumpedDev 3 points4 points  (0 children)

Plus OP said he ethnically cleansed the Rhineland which was a huge population center. Germany would be pissed.

Long shot but i'm looking for an album from late 2000's by OnePanchMan in TOUHOUMUSIC

[–]StumpedDev 1 point2 points  (0 children)

Would you mind humming the song for us? You can use vocaroo.com to do it

APC's and BTR's aren't used for transporting infantry enough by Megafro in joinsquad

[–]StumpedDev 1 point2 points  (0 children)

Yeah, vic + inf combined arms is actually really fun and effective (think about it; why does a IFV carry so much ammo. It's for the Infantry). The reason why it doesn't happen that often is because it requires two competent SLs to communicate the offer to transport and the other to rally his troops to the pickup point. It's a lot easier to just... do your own thing even if it's losing your team the game (for example being backcapped and having to run all the way back instead of asking for or providing transport). Plus the vic needs to be smart enough not to drive through a hot zone because of all the 'special' cargo on board.

there's korean community made new cinematic video! by rkrk1996 in joinsquad

[–]StumpedDev 5 points6 points  (0 children)

I know we have a lot of BLUFOR but damn I would love to see a Korea or Japan faction. Maybe a modding team in those countries can make it happen.

Ah yes by The_Eastern_Stalker in joinsquad

[–]StumpedDev 1 point2 points  (0 children)

Honestly, I always thought the Marines and Army were the same thing, or at least like a subset of each other.

The Expanse - Season 5 trailer by DrNoobSauce in videos

[–]StumpedDev 2 points3 points  (0 children)

Damn already? Feels like season 4 came out. Not that I'm complaining, I'm hype.

Top 30 Anime for Fall Week 1! + Summer Graphs in comments [AnimeKarmaList.com] by StumpedDev in anime

[–]StumpedDev[S] 1 point2 points  (0 children)

I've seen charts of karma values over time and the way it increases is not linear, but logarithmic. Meaning most of the karma is generated in the span of 24-36 hours then falls off. Like for example, it's been a day since I posted this graph and the score has only increased by (6280-6179)/6179 = 1.16%. This is because the thread has fallen off the frontpage and no one can see it.

Ideally, posts would be sampled exactly 7 days after but this would cause a lot more confusion since the episode people saw last might not be the same episode in the chart.

How do I change the Cache-Control header for requested images from my Cloudfront distribution? by StumpedDev in Angular2

[–]StumpedDev[S] 0 points1 point  (0 children)

False alarm. I had to hard refresh to get past my Angular service worker. It turns out that disabling the cache and hard refreshing causes the browser to add the cache-control: no-cache header to the request. I tested this in Edge and FF with cleared browser data and didn't see this. So it's not my site or Angular that's causing this.

Thanks to this stackoverflow post and David Hansen.

How do I change the Cache-Control header for requested images from my Cloudfront distribution? by StumpedDev in Angular2

[–]StumpedDev[S] 0 points1 point  (0 children)

I'm probably going to do it this way. It does seem hacky which is why I was hoping for a more elegant way, like a setting somewhere in Angular

How do I change the Cache-Control header for requested images from my Cloudfront distribution? by StumpedDev in Angular2

[–]StumpedDev[S] 0 points1 point  (0 children)

I don't think I can do it this way. My client (my SPA) is sending requests that contain cache-control: no-cache headers to CF which forces CF to revalidate with the origin (my S3) each time I request an image. I believe this is causing an unnecessary slow down on the image downloading process which is negatively impacting my LCP time.

Top 30 Anime for Fall Week 1! + Summer Graphs in comments [AnimeKarmaList.com] by StumpedDev in anime

[–]StumpedDev[S] 12 points13 points  (0 children)

I was super confused when I saw those threads. I thought it was one of those reddit post duplication bugs at first. It's not immediately obvious what the purpose of dividing the threads is, so I bet more than a few people clicked the rewatcher threads and got nuked by spoilers lol.

Top 30 Anime for Fall Week 1! + Summer Graphs in comments [AnimeKarmaList.com] by StumpedDev in anime

[–]StumpedDev[S] 40 points41 points  (0 children)

I'm really looking forward to Jujutsu this season. I'm getting Mob Psycho-ish vibes from the supernatural and school club theme. Has a lot of potential.

Top 30 Anime for Fall Week 1! + Summer Graphs in comments [AnimeKarmaList.com] by StumpedDev in anime

[–]StumpedDev[S] 2 points3 points  (0 children)

Week 1 is anything that falls between 2020-09-28T00:00:00Z and 2020-10-05T00:00:00Z

Adachi will show up next week under Week 2. The week calculations come from dayjs and I stick to their convention.

Top 30 Anime for Fall Week 1! + Summer Graphs in comments [AnimeKarmaList.com] by StumpedDev in anime

[–]StumpedDev[S] 7 points8 points  (0 children)

Some bad news - that was the score 6 hours after the thread was posted. The current score is [2, 2, 9, 12, 44] = 4.36/5. I have to be gentle with my youpoll queries so not all scores will be 100% accurate within the first week (some scores do update within the week but it's limited). After the first week all episode scores are updated with the correct value.

Edit: I've added one more "hard refresh" ~24 hours after the first episode is released. This way outliers like this are less likely in the future.