Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 05:20

    ejsmith on master

    Fix deploy secrets (compare)

  • 05:06

    ejsmith on v6.0.0-rc1

    Try a different condition (compare)

  • 05:06

    ejsmith on master

    Try a different condition (compare)

  • 04:53

    ejsmith on v6.0.0-rc1

    (compare)

  • 04:53

    ejsmith on master

    Fix deploy condition (compare)

  • 04:28

    ejsmith on master

    Always login to docker hub (compare)

  • 04:15

    ejsmith on master

    Deploy to dev env (compare)

  • 03:59

    ejsmith on master

    Login to docker consistently (compare)

  • 03:50

    ejsmith on master

    Deploy docker images to GPR (compare)

  • 03:32

    ejsmith on master

    Fix docker image names (compare)

  • 03:25

    ejsmith on master

    More build updates (compare)

  • 01:21

    ejsmith on master

    ES 7.5.2, cleanup vscode tasks (compare)

  • 00:54

    dependabot-preview[bot] on nuget

    (compare)

  • 00:54
    dependabot-preview[bot] closed #487
  • 00:54
    dependabot-preview[bot] edited #487
  • 00:54
    dependabot-preview[bot] commented #487
  • 00:54

    dependabot-preview[bot] on nuget

    (compare)

  • 00:54
    dependabot-preview[bot] closed #484
  • 00:53
    dependabot-preview[bot] edited #484
  • 00:53
    dependabot-preview[bot] commented #484
Sander Rijken
@srijken
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
lol
Eric J. Smith
@ejsmith
haha
Blake Niemyjski
@niemyjski
why not just use markdown?