Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 24 18:06
    StevenLiekens commented #59
  • Mar 24 18:05
    StevenLiekens closed #59
  • Mar 24 18:05
    StevenLiekens commented #59
  • Mar 24 17:47
    StevenLiekens closed #58
  • Mar 24 17:47
    StevenLiekens commented #58
  • Mar 19 13:02
    Friesinator edited #59
  • Mar 19 13:01
    Friesinator opened #59
  • Mar 18 12:38
    StevenLiekens commented #58
  • Mar 15 15:19
    GHOSCHT commented #58
  • Mar 14 22:01
    Seeker1437 commented #58
  • Mar 14 20:08
    GHOSCHT commented #58
  • Mar 12 15:40
    StevenLiekens commented #58
  • Mar 10 15:46
    GHOSCHT opened #58
  • Apr 15 2018 16:43

    Ruhrpottpatriot on ServiceClient

    Remove superfluous compression … Add simple caching to Core proj… Move files into different folde… and 8 more (compare)

  • Apr 10 2018 21:09

    Ruhrpottpatriot on ServiceClient

    Add fluent api to create HttpRe… Fix Stylecop errors Remove dead code and 3 more (compare)

  • Mar 29 2018 13:11

    Ruhrpottpatriot on NetCore2.0

    Remove disabled and superseded … Delete unused leftover code fro… Move V1.Guild test to appropria… and 8 more (compare)

  • Mar 29 2018 12:17

    Ruhrpottpatriot on NetCore2.0

    Update .gitignore to exclude St… Add Api builder class (compare)

  • Feb 01 2018 09:33

    Ruhrpottpatriot on master

    Refactorize ServiceClient.GetHt… Merge pull request #57 from Kor… (compare)

  • Feb 01 2018 09:33
    Ruhrpottpatriot closed #57
  • Dec 27 2017 17:37
    Korjam opened #57
Steven Liekens
@StevenLiekens
It doesn't quite work like that
Robert Logiewa
@Ruhrpottpatriot
how does it worK?
Steven Liekens
@StevenLiekens
You create a set of rules for each string of values that you want to recognize
A rule can be something like DIGIT = any number between 0 and 9
A rule can also build on existing rules
Robert Logiewa
@Ruhrpottpatriot
yeah BNF
i know those
Steven Liekens
@StevenLiekens
So after you configure all the rules, you feed a string into the highest level rule
And it will give you your string back, chopped into pieces and rearranged as a linked list of individual elements in the text
Robert Logiewa
@Ruhrpottpatriot
on another note: How would you store coordinates in an app?
Steven Liekens
@StevenLiekens
Tuple<T,T> of course
Jk
Robert Logiewa
@Ruhrpottpatriot
I was thinking about DbGeography. But that is putting a reference to EF in my project, which I don't use for anything other
Can you think of an alternative?
Robert Logiewa
@Ruhrpottpatriot
I'm a little bit torn here.
This message was deleted
I'm seriusly thinking of throwing the DictionaryRange<TKey, TValue> out of the window and replace it with a HashSet<T>
Steven Liekens
@StevenLiekens
sorry I don't even know what DbGeography is used for
let alone what you should use to replace it
about hashset: I wouldn't use that because it doesn't have TryGetValue
and the API doesn't guarantee that the response contains values for every key
returns
[
{
id: "summer",
url: "https://static.staticwars.com/quaggans/summer.jpg"
},
{
id: "aloha",
url: "https://static.staticwars.com/quaggans/aloha.jpg"
}
]
Steven Liekens
@StevenLiekens
if you want to write safe code, it's easier with a dictionary
object result;
if (dictionary.TryGetValue("foo", out result))
{
    // result != null
}
else
{
    // result == null
}
it's very relevant to what we're trying to do
Steven Liekens
@StevenLiekens
turns out it's possible to make PCLs in the new project system
but it's very tricky
you have to use the full name of the PCL profile in the frameworks section of project.json
and explicitly list each assembly that you want to use
".NETPortable,Version=v4.6,Profile=Profile151": {
      "frameworkAssemblies": {
        "mscorlib": "",
        "System": "",
        "System.Core": "",
        "System.Runtime": "",
        "System.Linq": "",
        "System.Collections": ""
      }
    }
which is nuts because how can you know which assemblies you need?
Robert Logiewa
@Ruhrpottpatriot
This message was deleted
Robert Logiewa
@Ruhrpottpatriot
Because PCL is a mess. In my eyes it should die fast and painful
you have a fuckton of profiles which you could target -- in theory -- but end up not using
the new PlatformStandard is way better and ASP.NET5 handles versioning and references much better, too

sorry I don't even know what DbGeography is used for

It's a type for storing coordinates in a geodetic system inside a database.
see https://msdn.microsoft.com/en-gb/library/system.data.spatial.dbgeography%28v=vs.110%29.aspx

Steven Liekens
@StevenLiekens
PCLs have their place
And they're not going away
They simply renamed them
not entirely true, but almost true
the .NET platform standard are the new PCLs
Robert Logiewa
@Ruhrpottpatriot
My bad: Didn't mean Portable Class Libraries per se, but the system whcih indicated for what targeting framework they are intended
In my free university time I played around with MEF2 a bit. And while it's better than MEF1 in many regards I still can't wrap my head around it just yet. But I'll get there
Steven Liekens
@StevenLiekens
oh yeah the framework monikers?
the portable-net45-win-something-something stuff?
tbh it's still the most flexible solution even if it's ugly and there are way too many profiles