Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Apr 13 08:00
  • Apr 12 15:23
    ejsmith edited #825
  • Apr 12 15:19
    ejsmith synchronize #825
  • Apr 12 15:19

    ejsmith on new-stack-count

    Status409Conflict -> Status429T… Update to Elasticsearch 7.11 Core: Remove boxing and params … and 3 more (compare)

  • Apr 12 12:49

    dependabot-preview[bot] on nuget

    (compare)

  • Apr 12 12:49
    dependabot-preview[bot] closed #865
  • Apr 12 12:49
    CLAassistant commented #869
  • Apr 12 12:49
    dependabot-preview[bot] commented #865
  • Apr 12 12:49
    dependabot-preview[bot] labeled #869
  • Apr 12 12:49
    dependabot-preview[bot] opened #869
  • Apr 12 12:49

    dependabot-preview[bot] on nuget

    Bump YamlDotNet from 9.1.0 to 1… (compare)

  • Apr 12 12:46

    dependabot-preview[bot] on nuget

    (compare)

  • Apr 12 12:46
    dependabot-preview[bot] closed #862
  • Apr 12 12:46
    CLAassistant commented #868
  • Apr 12 12:46
    dependabot-preview[bot] commented #862
  • Apr 12 12:46
    dependabot-preview[bot] labeled #868
  • Apr 12 12:46
    dependabot-preview[bot] opened #868
  • Apr 12 12:45

    dependabot-preview[bot] on nuget

    Bump FluentValidation from 9.3.… (compare)

  • Apr 12 12:44

    dependabot-preview[bot] on nuget

    (compare)

Sander Rijken
@srijken
oh wait like that
hmm
but that makes things more complicated
let’s first measure things
Frank Ebersoll
@frankebersoll
Yes, i dont want to prematurely optimize either.
Just saying, because GetHashCode itself is already trying to be an optimization
Eric J. Smith
@ejsmith
problem is that you need a hash that covers the entire object in order to find matches later
Sander Rijken
@srijken
you could in theory use a quick hash to determine that it’s different for sure
like if the event message is different.. there’s no need to do a full hashcode
Eric J. Smith
@ejsmith
So like have 2 levels of hashes?
Frank Ebersoll
@frankebersoll
Yes, but those could be calculated on demand if the fail-fast-hash matched
Which would only happen rarely
Eric J. Smith
@ejsmith
Yeah
Let's test
Frank Ebersoll
@frankebersoll
With on demand i mean lazily
Sander Rijken
@srijken
well you need it right away, so I don’t get the lazily
it does save calculating them a lot though
I wonder if System.String save the hashcode internally after requesting
Frank Ebersoll
@frankebersoll
With lazy i mean the real hash
Sander Rijken
@srijken
it can safely do so as it’s immutable
Frank Ebersoll
@frankebersoll
It didnt when i looked at the code today
Sander Rijken
@srijken
that’s.. strange
Eric J. Smith
@ejsmith
Could do a GetQuickHashcode that just includes the base event level properties plus includes all the data key names
Frank Ebersoll
@frankebersoll
But i can
Sander Rijken
@srijken
if they do that, you have a very good change that it’s lightning fast, because most string that are generated by throw new Exception(“Somemessage”) are interned anyway
Frank Ebersoll
@frankebersoll
Have a look again*
Jon Skeet says its a performance / memory question, and memory wins here.
Sander Rijken
@srijken
it’s 4 bytes.. well anyway :)
I guess there’s a lot of strings on the heap and it adds up
@niemyjski C#6 stuff has been removed, pushed
Frank Ebersoll
@frankebersoll
Bedtime. See you!
Sander Rijken
@srijken
can you see if it succeeds this time, as it’s also bedtime for me?
looks like
:)
Eric J. Smith
@ejsmith
Good night guys!
Blake Niemyjski
@niemyjski
Eric J. Smith
@ejsmith
yeah, we are using that.
Blake Niemyjski
@niemyjski
work pretty good?
Eric J. Smith
@ejsmith
yeah
James Connor
@megakid
hi quick question that you might know off the top of your head - whats the url to get the ping json response from exceptionless, e.g. "message": "All Systems Check",
Eric J. Smith
@ejsmith
/api/v2/status
I believe
James Connor
@megakid
thanks
that works :)
Eric J. Smith
@ejsmith
cool :-)
Blake Niemyjski
@niemyjski
:)
Frank Ebersoll
@frankebersoll
tgif
building our own Markdown dialect and integrating it into studio via NuGet only. a mess.
Blake Niemyjski
@niemyjski
yeah
I wouldn’t do that