Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 18 19:42
    claassistantio commented #484
  • Jan 18 19:42
    dependabot-preview[bot] labeled #484
  • Jan 18 19:42
    dependabot-preview[bot] opened #484
  • Jan 18 19:42

    dependabot-preview[bot] on nuget

    Bump YamlDotNet from 8.0.0 to 8… (compare)

  • Jan 18 01:05
  • Jan 17 23:05
    claassistantio commented #483
  • Jan 17 23:04
    dependabot-preview[bot] labeled #483
  • Jan 17 23:04
    dependabot-preview[bot] opened #483
  • Jan 17 23:04

    dependabot-preview[bot] on nuget

    Bump Stripe.net from 34.15.0 to… (compare)

  • Jan 17 14:45
    ChiefLegend commented #477
  • Jan 17 14:17
    niemyjski commented #477
  • Jan 17 03:18

    niemyjski on master

    Updates to latest stable founda… (compare)

  • Jan 17 03:06

    dependabot-preview[bot] on nuget

    (compare)

  • Jan 17 03:06

    niemyjski on master

    Bump Microsoft.Extensions.Loggi… Merge pull request #481 from ex… (compare)

  • Jan 17 03:06
    niemyjski closed #481
  • Jan 17 03:06
    dependabot-preview[bot] synchronize #481
  • Jan 17 03:06

    dependabot-preview[bot] on nuget

    Bump Microsoft.Extensions.Loggi… (compare)

  • Jan 17 03:06
    dependabot-preview[bot] edited #481
  • Jan 17 03:05
    claassistantio commented #479
  • Jan 17 03:05
    dependabot-preview[bot] edited #481
Blake Niemyjski
@niemyjski
@skoub, for simple errors just look at the SimpleError known data key and then the stack trace is just a string :)
Jamie Clarke
@jamie94bc
@niemyjski any chance the settings base class in Exceptionless could become part of Foundatio? Seems like something most projects end up with!
Eric J. Smith
@ejsmith
@jamie94bc yeah, we were talking about that the other day. The problem is that in .net core the configuration stuff they have is better. I kind of don't want to include things that will be covered by the framework. What are your thoughts?
Blake Niemyjski
@niemyjski
:)]
dang
feel honored :D
Eric J. Smith
@ejsmith
so what is the status of the issues that you ran into with them though?
did they just release anyway?
Blake Niemyjski
@niemyjski
yeah
they have elasticcon with them next week
Eric J. Smith
@ejsmith
LOL
Blake Niemyjski
@niemyjski
they are going to meet up with me and continue when they get some time
they said the core functionality is working and they had to get it out
@inlineAsm found an issue with our clients: exceptionless/Exceptionless#190
        Target.Geo = latitude + "," + longitude;
looks like we have to do a to lower invariant
because it’s formatting them for eu strings
which blows up elastic search
        Target.Geo = latitude.ToString("G", CultureInfo.InvariantCulture) + "," + longitude.ToString("G", CultureInfo.InvariantCulture);
Eric J. Smith
@ejsmith
well we don’t want any formatting on the numbet
we just want the number
Blake Niemyjski
@niemyjski
for lat and long you want the full thing
Eric J. Smith
@ejsmith
so we need to specifiy the formatting
Blake Niemyjski
@niemyjski
because you have minutes and seconds
invariant will give us what we want right
The invariant culture is culture-insensitive; it is associated with the English language but not with any country/region. You specify the invariant culture by name by using an empty string ("") in the call to a CultureInfo instantiation method. CultureInfo.InvariantCulture also retrieves an instance of the invariant culture.
Eric J. Smith
@ejsmith
need to look and see what format we are wanting.
I think it’s just 22.3333,33.3545
Blake Niemyjski
@niemyjski
yeah
I think invariant culture is what we want
Eric J. Smith
@ejsmith
no, we want to control the formatting ourselves.
Blake Niemyjski
@niemyjski
Target.Geo = latitude.ToString("G", CultureInfo.InvariantCulture) + "," + longitude.ToString("G", CultureInfo.InvariantCulture);
return this;
Eric J. Smith
@ejsmith
culture is only used for controlling commas and other friendly formats
Blake Niemyjski
@niemyjski
yes..
and we are saying convert this decimal to english based culture
with the periods
"The invariant culture is culture-insensitive; it is associated with the English language but not with any country/region"
// Use standard numeric format specifiers.
specifier = "G";
Console.WriteLine(value.ToString(specifier, CultureInfo.InvariantCulture));
// Displays: 16325.62
Eric J. Smith
@ejsmith
b.ToString("#0.0000"
Eric J. Smith
@ejsmith
probably something like that.
not sure how many decimals.
Blake Niemyjski
@niemyjski
90.090.ToString("G", System.Globalization.CultureInfo.InvariantCulture)
"90.09"
think that’s what we want
Eric J. Smith
@ejsmith
Why would we want that? We don’t wany any culture involved and we don’t want any friendly formatting.
we know exactly what format we want.
so you specify it.
Blake Niemyjski
@niemyjski
G is general