Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 18 13:28
    niemyjski synchronize #452
  • Oct 18 13:28

    niemyjski on elastic7

    Added improved request logging … (compare)

  • Oct 18 12:59
    niemyjski synchronize #452
  • Oct 18 12:59

    niemyjski on elastic7

    Improved logging of retention l… REVIEW - only discard event ind… (compare)

  • Oct 18 12:36
    niemyjski commented #459
  • Oct 18 12:25
    niemyjski synchronize #452
  • Oct 18 12:25

    niemyjski on elastic7

    Removed serializer test Updated deps and added authoriz… (compare)

  • Oct 18 11:52
    niemyjski closed #460
  • Oct 18 11:52
    niemyjski commented #460
  • Oct 18 05:46
    tinylit opened #460
  • Oct 17 10:04
    xaxingyun starred exceptionless/Exceptionless
  • Oct 17 07:17
    Myosotissylvatica36 starred exceptionless/Exceptionless
  • Oct 17 01:59
    j717273419 starred exceptionless/Exceptionless
  • Oct 16 15:15
    ejsmith synchronize #452
  • Oct 16 15:15

    ejsmith on elastic7

    Update README.md (compare)

  • Oct 16 13:58

    niemyjski on elastic7

    (compare)

  • Oct 16 13:39
    niemyjski synchronize #452
  • Oct 16 13:39

    niemyjski on elastic7

    Simplified token logic and adde… Revert "Replaced NewtonSoft.Jso… (compare)

  • Oct 15 07:29
Jamie Clarke
@jamie94bc
yeah - was getting some logs that didn't make sense!
Blake Niemyjski
@niemyjski
:)
Blake Niemyjski
@niemyjski
@frankebersoll have you ever saw this with bower
bower exceptionless#1.3.2 install exceptionless#1.3.2
bower skipped exceptionless was not installed because there is already a non-bower directory with that name in the components directory (bower_components/exceptionless). You can force installation with --force.
I’ve always installed it via bower
so not sure why I get that
Eric J. Smith
@ejsmith
so another flakey test?
Jamie Clarke
@jamie94bc
yeah!
Eric J. Smith
@ejsmith
yay
at least the logging helps a lot for tracking those down.
Blake Niemyjski
@niemyjski
just thought of something
var valueMap = new Dictionary<string, CacheValue<T>>();
we could put the old dictionary length in the constructor so if it’s a huge existing dictionary we won’t be changing the size internally every 2^nth
Eric J. Smith
@ejsmith
where is that for?
Blake Niemyjski
@niemyjski
in the scoped cache client
I’m going to make that change real quick
Eric J. Smith
@ejsmith
that only works for in memory implementations, no?
Blake Niemyjski
@niemyjski
no
all of them
hmm
ToDictionary overload doesn’t look at the count
when creating it
Eric J. Smith
@ejsmith
how would you know how many items are in reds?
redis
Blake Niemyjski
@niemyjski
it does a getall
and then iterates over that..
Eric J. Smith
@ejsmith
huh???
Blake Niemyjski
@niemyjski
    public async Task<IDictionary<string, CacheValue<T>>> GetAllAsync<T>(IEnumerable<string> keys) {
        var scopedDictionary = await UnscopedCache.GetAllAsync<T>(GetScopedCacheKeys(keys)).AnyContext();
        return scopedDictionary.ToDictionary(kvp => UnscopeCacheKey(kvp.Key), kvp => kvp.Value);
    }
Eric J. Smith
@ejsmith
ohhh
the getall method
Blake Niemyjski
@niemyjski
hmm
Eric J. Smith
@ejsmith
you really think someone is calling that with that many items?
Blake Niemyjski
@niemyjski
eh by default it’s all keys
Eric J. Smith
@ejsmith
pretty sure the default size will cover it.
Blake Niemyjski
@niemyjski
but the ToDictionary doesn’t set it so I guess when someone hits that issue we’ll fix it
I think it starts really low
like 4, and then resizes by a base 2
if I remember correctly
doubles every resize
Blake Niemyjski
@niemyjski
build just failed and I was looking at the logs
I just noticed the last version of grunt was released in 2014
Jamie Clarke
@jamie94bc
good call @niemyjski
that's why i'm using gulp ;)
Blake Niemyjski
@niemyjski
was picked up by jQuery foundation. and they got like 5 new contributors and just released an rc of 1.0
so that’s good
eh when I started gulp was pretty new
kinda pissed
got 70% done with the ui rewrite and aurelia and gulp really took off
Jamie Clarke
@jamie94bc
        public static Dictionary<TKey, TElement> ToDictionary<TSource, TKey, TElement>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer) {
            if (source == null) throw Error.ArgumentNull("source");
            if (keySelector == null) throw Error.ArgumentNull("keySelector");
            if (elementSelector == null) throw Error.ArgumentNull("elementSelector");
            Dictionary<TKey, TElement> d = new Dictionary<TKey, TElement>(comparer);
            foreach (TSource element in source) d.Add(keySelector(element), elementSelector(element));
            return d;
        }
Blake Niemyjski
@niemyjski
yeah